commit 46c75d1542d5b270d3f309c937f54f983ca3b915 Author: lopar Date: Sun Jan 28 18:40:49 2018 +0200 initial commit diff --git a/.idea/battles-game.iml b/.idea/battles-game.iml new file mode 100644 index 0000000..940f6f9 --- /dev/null +++ b/.idea/battles-game.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/composerJson.xml b/.idea/composerJson.xml new file mode 100644 index 0000000..4199499 --- /dev/null +++ b/.idea/composerJson.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d2da70c --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..c60bf09 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,280 @@ + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \"{$des}\""; + } + function buildset1($id,$img,$top,$left,$des) { + //$imga = ImageCreateFromGif("i/city/sub/".$img.".png"); + #Get image width / height + //$x = ImageSX($imga); + //$y = ImageSY($imga); + unset($imga); + echo "
\"{$des}\"
"; + } + if ($user['room'] == 20) { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_cp_day'; + $fon = 'vesna_cap_cp_day'; + //$fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_cp_night'; + $fon = 'vesna_cap_cp_night'; + //$fon2 = 'snow_transp'; + } + echo " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\"\""; + //echo "
\"\""; + //buildset(1,"vesna_cap_club",30,235,"Бойцовский Клуб"); + buildset(1,"vesna_cap_club",30,235,"Бойцовский Клуб"); + // buildset(2,"vesna_cap_shop",202,171,"Магазин"); + buildset(2,"vesna_cap_shop",202,171,"Магазин"); + //buildset(3,"vesna_cap_kom",205,105,"Комиссионный магазин"); + buildset(3,"vesna_cap_kom",205,105,"Комиссионный магазин"); + // buildset(4,"vesna_cap_rem",202,290,"Ремонтная мастерская");; + buildset(4,"vesna_cap_rem",202,290,"Ремонтная мастерская");; + buildset(13,"vesna_cap_statue",222,365,"Памятник Мэру Города"); + //buildset(5,"2pm",210,430,"Памятник"); + //buildset(6,"vesna_cap_po4ta",180,540,"Почта"); + buildset(6,"vesna_cap_po4ta",180,540,"Почта"); + //buildset(7,"arr_right_png",260,710,"Страшилкина Улица"); + buildset(7,"arr_right_png",260,710,"Страшилкина Улица"); + //buildset(222,"cp_u2_png",180,650,"Торговая улица"); + buildset(222,"cp_u2_png",180,650,"Торговая улица"); + //buildset(8,"arr_left_png",258,21,"Большая парковая улица"); + buildset(8,"arr_left_png",258,21,"Большая парковая улица"); + //buildset(12,"vesna_cap_berezka",205,435,"Березка"); + buildset(17,"vesna_cap_berezka",205,435,"Березка"); + //buildset(11,"vesna_cap_loto",230,615,"Лотерея Сталкера"); + buildset(11,"vesna_cap_loto",230,615,"Лотерея Сталкера"); +//buildset1(9,"tree2",133,320,"Новогодняя елка"); + //buildset(14,"sneg_3",210,390,"Снеговик"); + //buildset(111,"vesna_cap_stella",260,530,"Доска объявления"); + buildset(111,"zima_stella",260,530,"Доска объявления"); + + + echo "
"; + } + //buildset(9,"fir",137,235,"Новогодняя елка"); + elseif ($user['room'] == 21) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_strash_day'; + $fon = 'vesna_cap_strash_day'; + //$fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_strash_night'; + $fon = 'vesna_cap_strash_night'; + //$fon2 = 'snow_transp'; + } + echo " + +
\"\""; + //echo "
\"\""; + //buildset(5,"vesna_cap_bank",180,485,"Банк");; + buildset(5,"vesna_cap_bank",180,485,"Банк");; + //buildset(2,"vesna_cap_registratura",170,113,"Регистратура кланов"); + buildset(14,"vesna_cap_registratura",170,113,"Регистратура кланов"); + //buildset(7,"vesna_cap_tower",5,315,"Башня смерти"); + buildset(16,"vesna_cap_tower",5,315,"Башня смерти"); + //buildset(16555,"tree_png",165,20,"Дерево"); + buildset(16555,"tree_png",165,20,"Дерево"); + //buildset(3,"arr_right_png",255,708,"Ристалище"); + buildset(3,"arr_right_png",255,708,"Ристалище"); + //buildset(3,"2strelka",250,720,"Берег залива"); + //buildset(6,"vesna_cap_flowershop",220,613,"Цветочный магазин"); + buildset(13,"vesna_cap_flowershop",220,613,"Цветочный магазин"); + //buildset(4,"arr_left_png",258,21,"Центральная площадь"); + buildset(4,"arr_left_png",258,21,"Центральная площадь"); + //buildset(22,"obshga",150,630,"Общежитие"); + echo "
"; + } + elseif ($user['room'] == 26) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_park_day'; + $fon = 'vesna_cap_park_day'; + //$fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_park_night'; + $fon = 'vesna_cap_park_night'; + //$fon2 = 'snow_transp'; + } + echo "' . + '' . + ''; + if($ratingCount > 0){ + $i = 1; + while($row = mysql_fetch_assoc($getRating)){ + echo'' . + '' . + '' . + '' . + ''; + } + echo'' . + '' . + '' . + '' . + '' . + '' . + ''; + }else{ + echo '' . + '' . + ''; + } + echo'
\"\""; + //echo "
\"\""; + //buildset(6,"cap_gate",170,340,"Городские ворота"); + buildset(6,"cap_gate",170,340,"Городские ворота"); + //buildset(444,"vesna_cap_vokzal",163,43,"Вокзал"); + buildset(660,"vesna_cap_vokzal",163,43,"Общежитие"); + //buildset(5,"vesna_cap_znah",195,538,"Хижина Знахаря"); + buildset(5,"vesna_cap_znah",195,538,"Хижина Знахаря"); + //buildset(20,"vesna_cap_2sk",249,416,"Средняя скамейка"); + buildset(21,"vesna_cap_2sk",249,416,"Средняя скамейка"); + //buildset(18,"vesna_cap_3sk",250,630,"Большая скамейка"); + buildset(20,"vesna_cap_3sk",250,630,"Большая скамейка"); + //buildset(20,"vesna_cap_1sk",228,490,"Маленькая скамейка"); + buildset(22,"vesna_cap_1sk",228,490,"Маленькая скамейка"); +// //buildset(7,"ava_vokzal",160,235,"Общежитие"); + //buildset(11,"loto_stalkers",240,160,"Лотерея Сталкеров"); + //buildset(3,"arr_left_png",259,27,"Замковая площядь"); + buildset(3,"arr_left_png",259,27,"Замковая площядь"); + //buildset(4,"arr_right_png",259,715,"Центральная площадь"); + buildset(4,"arr_right_png",259,715,"Центральная площадь"); + echo "
"; + } + + + elseif ($user['room'] == 2601) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_park_day'; + $fon = 'vesna_cap_park_day'; + //$fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_zamk_night'; + $fon = 'vesna_cap_zamk_night'; + //$fon2 = 'snow_transp'; + } + echo " + + + + +
\"\""; + //echo "
\"\""; + //buildset(21,"vesna_cap_lavka",240,425,"Храмовая лавка"); + buildset(1052,"vesna_cap_lavka",240,425,"Храмовая лавка"); + buildset(10,"ava_post",240,300,"Сувенирный магазинчик"); + //buildset(1,"vesna_cap_ruins",166,48,"Руины Старого замка"); + buildset(1,"vesna_cap_ruins",166,48,"Руины Старого замка"); + //buildset(5,"vesna_cap_lab",130,327,"Вход в Лабиринт Хаоса"); + buildset(1051,"vesna_cap_lab",130,327,"Вход в Лабиринт Хаоса"); + //buildset(44,"vesna_cap_hram",173,550,"Храм Древних"); + buildset(44,"vesna_cap_hram",173,550,"Храм Древних"); + //buildset(227,"arr_left_png",258,21,"Арена Богов"); + buildset(55,"arr_left_png",258,21,"Арена Богов"); + //buildset(4,"arr_right_png",260,710,"Большая парковая улица"); + buildset(4,"arr_right_png",260,710,"Большая парковая улица"); + echo "
"; + } + + elseif ($user['room'] == 2655) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_park_day'; + $fon = 'ar_e_n'; + //$fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_zamk_night'; + $fon = 'ar_e_n'; + //$fon2 = 'snow_transp'; + } + echo " + + Комиссия составит 3% от переводимой суммы, но не менее 1 кр. + + + +
+ Обменять екр. на кр. + Курс обмена: 1 екр. = 100 кр.
+
+ Сумма екр. для обмена + +
+
+ Обменять кр. на екр. + Курс обмена: 500 кр. = 1 екр.
+
+ Сумма кр. для обмена + +
+ +
+ Смена логина + Стоимость услуги: екр.
+
+ Новый логин : + + Я предлагаю отказаться от этой услуги и если что-то и менять, то по старинке. Загнать отсюда что-то левое в базу — раз плюнуть. +
+ + + + + + \ No newline at end of file diff --git a/bankekr.php b/bankekr.php new file mode 100644 index 0000000..48e170c --- /dev/null +++ b/bankekr.php @@ -0,0 +1,10 @@ + + + + Банк + + + +Не работает! + + \ No newline at end of file diff --git a/battle.php b/battle.php new file mode 100644 index 0000000..9c15342 --- /dev/null +++ b/battle.php @@ -0,0 +1,275 @@ + + +Бойцовский Клуб + + + + + \ No newline at end of file diff --git a/bench.php b/bench.php new file mode 100644 index 0000000..8f46f9e --- /dev/null +++ b/bench.php @@ -0,0 +1,45 @@ + + + + + + + + + + + + +
Скамейка
+

+Если вы устали от шума боев и суеты центральных улиц, вы можете отдохнуть на скамейке под тенью
парковых деревьев...


+Здесь можно, уединившись, подумать о вечном, назначить романтическое свидание или просто спокойно поболтать. +
Если только местные хулиганы не помешают вам... + + diff --git a/bench_m.php b/bench_m.php new file mode 100644 index 0000000..71b48c1 --- /dev/null +++ b/bench_m.php @@ -0,0 +1,28 @@ + + + + + + + + + + + +
Скамейка
+
+
+ + +
+
+
+ Если вы устали от шума боев и суеты центральных улиц, вы можете отдохнуть на скамейке под тенью
парковых деревьев...


+ Здесь можно, уединившись, подумать о вечном, назначить романтическое свидание или просто спокойно поболтать. +
Если только местные хулиганы не помешают вам... + + diff --git a/bench_s.php b/bench_s.php new file mode 100644 index 0000000..8f46f9e --- /dev/null +++ b/bench_s.php @@ -0,0 +1,45 @@ + + + + + + + + + + + + +
Скамейка
+

+Если вы устали от шума боев и суеты центральных улиц, вы можете отдохнуть на скамейке под тенью
парковых деревьев...


+Здесь можно, уединившись, подумать о вечном, назначить романтическое свидание или просто спокойно поболтать. +
Если только местные хулиганы не помешают вам... + + diff --git a/blocknote.php b/blocknote.php new file mode 100644 index 0000000..0d1248e --- /dev/null +++ b/blocknote.php @@ -0,0 +1,71 @@ +Возможности

'; +#echo 'Вход в Излом Хаоса - '; +if(time()-259200 > strtotime($uss['date_out'])) { +#echo "доступен
"; +} else { +$timer=strtotime($uss['date_out'])-time()+259200; + +echo 'до след. похода ' . $timer . ' сек

'; +} +$uss2 = mysql_query("SELECT `id`, `datetime` FROM `turnament` ORDER BY `datetime` DESC LIMIT 1;"); +$i=0; +while($val = mysql_fetch_array($uss2)) { +#echo 'Ближайший турнир в БС - ' . strftime('%d %b %Y, %H:%M', $val[++$i]) . '
'; +#echo '
'; +#echo time(); +} +?> + + function cityg(){ + location.href='blocknote.php'; + } + setTimeout('cityg()', 1000); + +



+ Записываем... +
+ "); + +} +?> + + + + + + + + + + + +
+ +

+
+Блокнот ( 180 слов макс.) +
\"\""; + //echo "
\"\""; + //buildset(21,"vesna_cap_lavka",240,425,"Храмовая лавка"); + buildset(2055,"altr_g",230,340,"Арена Ангелов"); + buildset(2222,"zima_cap_stop",258,21,"Проход закрыт"); + buildset(10,"arr_right_png",260,710,"Замковая площадь"); + echo "
"; + } + + elseif ($user['room'] == 2111) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_bg_d2'; + $fon = 'vesna_cap_bg_d2'; + //$fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_bg_n2'; + $fon = 'vesna_cap_bg_n2'; + //$fon2 = 'snow_transp'; + } + echo " +
Внимание! Нажав на кнопку с профессией, с вашего счета мгновенно будет списана ее стоимость. Будьте внимательны!
+ +
\"\""; + //echo "
\"\""; + //buildset(1,"cap_rist_arr_left",240,30,"Страшилкина Улица"); + buildset(1,"cap_rist_arr_left",240,30,"Страшилкина Улица"); + //buildset(2,"stop_png",245,708,"Проход закрыт"); + //buildset(2,"arr_right_png2",245,708,"Секретный Лабиринт"); + buildset(2,"stop_png",245,708,"Проход закрыт"); + //buildset(4,"av_zaliv_svet",200,260,"Храмовая Лавка"); + //buildset(5,"av_zaliv_tma",175,570,"Храм Древних"); + //buildset(14,"vesna_cap_rist_solo",210,160,"Вход в Одиночные сражения"); + buildset(14,"vesna_cap_rist_solo",210,160,"Вход в Одиночные сражения"); + //buildset(5,"vesna_cap_rist_group",243,340,"Вход в Сражение отрядов"); + buildset(14,"vesna_cap_rist_group",243,340,"Вход в Сражение отрядов"); + //buildset(16,"lord_castle",110,310,"Замок Лорда Разрушителя"); + buildset(1000,"av_zamk_rud",80,310,"Рудник"); + //buildset(16555,"vesna_cap_rist_monstr",145,570,"Вход в Груповые сражения"); + buildset(203,"vesna_cap_rist_monstr",145,570,"Вход в Груповые сражения"); + //buildset(21,"angelscastle",131,628,"Замок Мэра Города"); + + $laikas = mysql_result(mysql_query("SELECT `bochka` FROM `users` WHERE `id` = '{$user['id']}'; "),0); + if (!isset($laikas)){ + $laikas=time()-60*60*4; + mysql_query("UPDATE `users` SET `bochka`='".$laikas."' WHERE `id` = '{$user['id']}'; "); + } + if ($_SESSION['usebochka']=='1'&&$laikas<=time()-60*60*4){ + $laikas=time(); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."' WHERE `id` = '{$user['id']}'; "); + $_SESSION['usebochka']='0'; + $bon=mt_rand(1,4); + if ($bon==1){ + $kr=mt_rand(1,25); + if($kr>=15) { + $kr1=mt_rand(16,25); + if($kr1>=20) { + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr1.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr1 WHERE `id` = '{$user['id']}'; "); + } + else { + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr1.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr1 WHERE `id` = '{$user['id']}'; "); + } + } + else{ + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr WHERE `id` = '{$user['id']}'; "); + } + } + elseif ($bon==2){ + $doblest=mt_rand(1,75); + if($doblest>=40) { + $doblest1=mt_rand(41,75); + if($doblest1>=60) { + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest1.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+'$doblest' WHERE `id` = '{$user['id']}'; "); + } + else { + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest1.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+$doblest WHERE `id` = '{$user['id']}'; "); + + } + } + else{ + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+$doblest WHERE `id` = '{$user['id']}'; "); + } + } + elseif ($bon==3){ + $rom=mt_rand(1,75); + if($rom>=40) { + $rom1=mt_rand(41,75); + if($rom1>=60) { + addchp ('Внимание! В принесеной бочке Вы нашли странный сосуд... ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("INSERT INTO `inventory` (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`magic`,`otdel`, `isrep`) + VALUES ('5900400','{$_SESSION['uid']}','Бутыль старого пирата','51','1','5','rom.gif',1,'555','188','0') ;"); + } + else { + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + else{ + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + else{ + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + elseif ($laikas<=time()-60*60*4){ + buildset(3,"bochka",270,630,"Бочка"); + } + + //buildset(21,"angelscastle",131,628,"Замок Мэра Города"); + echo "
"; + } + + elseif ($user['room'] == 2701) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'av_arena_bg1_day2'; + } else { + $fon = 'av_arena_bg1_day2'; + } + echo "
\"\""; + + buildset(1,"3strelka",260,30,"Берег Залива"); + buildset(2,"shar_dark",234,356,"Лабиринт Хаоса"); + buildset(3,"stop_png",260,720,"Проход закрыт"); + echo "
"; + } + //Торговая улица + elseif ($user['room'] == 2702) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_torg_day'; + $fon = 'vesna_cap_torg_day'; + //$fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_torg_night'; + $fon = 'vesna_cap_torg_night'; + //$fon2 = 'snow_transp'; + } + echo " + +
\"\""; + //echo "
\"\""; + //buildset(14,"vesna_cap_build1",175,70,"Арендная лавка"); + buildset(6,"vesna_cap_build1",175,70,"Академия"); + //buildset(5,"vesna_cap_fontan",210,350,"Фонтан удачи"); + buildset(202,"vesna_cap_fontan",210,350,"Фонтан удачи"); + //buildset(16,"t_build42",120,300,"Аукцион"); + buildset(16,"t_build42",120,300,"Аукцион"); + //buildset(16555,"vesna_cap_build3",155,480,"Прокатная лавка"); + buildset(16555,"vesna_cap_build3",155,480,"Прокатная лавка"); + //buildset(21,"vesna_cap_build2",150,565,"Ломбард"); + buildset(21,"vesna_cap_build2",150,565,"Ломбард"); + //buildset(4,"cap_rist_arr_left",259,25,"Центральная площадь"); + buildset(10,"cap_rist_arr_left",259,25,"Центральная площадь"); + //buildset(3,"stop_png",259,720,"Проход закрыт"); + buildset(3,"stop_png",259,720,"Проход закрыт"); + echo "
"; + } + ?> + += 19 && $user['room']==20 || (int)date("H") >= 0 && (int)date("H") < 5 && $user['room']==20) { + $ms_cit=array('Вечер, звёзды... разбойник за каждым углом...', + 'Говорят, ночью тут вампиры гуляют...', + 'Темно, страшно, даже паладинов не видно...' + ); +echo "".$ms_cit[rand(0, 2)].""; +?> + + + +
+ + + + +
+
+ + + \ No newline at end of file diff --git a/Database/Exception.php b/Database/Exception.php new file mode 100644 index 0000000..e727cc0 --- /dev/null +++ b/Database/Exception.php @@ -0,0 +1,11 @@ +query('SELECT * FROM `table` WHERE `name` = "?s" AND `age` = ?i', $_POST['name'], $_POST['age']); + * + * Аргументы SQL-запроса, прошедшие через систему placeholders данного класса, экранируются специальными функциями + * экранирования, в зависимости от типа заполнителей. Т.е. вам теперь нет необходимости заключать переменные в функции + * экранирования типа mysqli_real_escape_string($value) или приводить их к числовому типу через (int)$value. + * + * Кроме того, данный класс позволяет: + * - получать "подготовленный" SQL-запрос для отладки, т.е. запрос с реальными значениями, что невозможно сделать + * используя "сырые" драйверы PHP типа PDO. + * - получать список всех запросов выполненных в рамках одного подключения к Mysql-серверу. + * + * + * --------------------------------------------------------------------------------------------------------------------- + * Режимы работы. + * --------------------------------------------------------------------------------------------------------------------- + * + * Существует два режима работы класса: + * Mysql::MODE_STRICT - строгий режим соответствия типа заполнителя и типа аргумента. + * Mysql::MODE_TRANSFORM - режим преобразования аргумента к типу заполнителя при несовпадении + * типа заполнителя и типа аргумента. + * + * Режим Mysql::MODE_TRANSFORM установлен по умолчанию и является основным для большинства приложений. + * Если же вам нужна максимальная прозрачность операций над типами данных, производимых библиотекой Datavase, + * установите режим Mysql::MODE_STRICT. + * + * + * MODE_STRICT + * + * В "строгом" режиме MODE_STRICT аргументы, передаваемые в основной метод Mysql::query(), + * должны соответствовать типу заполнителя. + * Например, попытка передать в качестве аргумента значение 55.5 или '55.5' для заполнителя целочисленного типа ?i + * приведет к выбросу исключения: + * + * $db->setTypeMode(Mysql::MODE_STRICT); // устанавливаем строгий режим работы + * $db->query('SELECT ?i', 55.5); // Попытка указать для заполнителя типа int значение типа double в шаблоне запроса SELECT ?i + * + * Это утверждение не относится к числам (целым и с плавающей точкой), заключенным в строки. + * С точки зрения библиотеки, строка '123' и значение 123 являются типом int. + * + * + * MODE_TRANSFORM + * + * Режим MODE_TRANSFORM является "щадящим" режимом и при несоответствии типа заполнителя и типа аргумента не генерирует + * исключение, а пытается преобразовать аргумент к нужному типу заполнителя посредством самого языка PHP. + * + * Допускаются следующие преобразования: + * + * К типу int приводятся (заполнитель ?i): + * - числа с плавающей точкой, представленные как строка или тип double + * - bool + * - null + * + * К типу double приводятся (заполнитель ?d): + * - целые числа, представленные как строка или тип int + * - bool + * - null + * + * К типу string приводятся (заполнитель ?s): + * - значение boolean TRUE преобразуется в строку "1", а значение FALSE преобразуется в "" (пустую строку). + * - значение типа numeric преобразуется в строку согласно правилам преобразования, определенным языком. + * - NULL преобразуется в пустую строку. + * + * К типу null приводятся (заполнитель ?n): + * - любые аргументы + * + * Для массивов, объектов и ресурсов преобразования не допускаются. + * + * + * --------------------------------------------------------------------------------------------------------------------- + * Типы маркеров-заполнителей + * --------------------------------------------------------------------------------------------------------------------- + * + * ?f - заполнитель имени таблицы или поля (первая буква слова field). + * Данный заполнитель предназначен для случаев, когда имя таблицы или поля передается в запроос через аргумент. + * + * ?i - заполнитель целого числа (первая буква слова integer). + * В режиме MODE_TRANSFORM любые скалярные аргументы принудительно приводятся к типу integer + * согласно правилам преобразования к типу integer в PHP. + * + * ?d - заполнитель числа с плавающей точкой (первая буква слова double). + * В режиме MODE_TRANSFORM любые скалярные аргументы принудительно приводятся к типу float + * согласно правилам преобразования к типу float в PHP. + * + * ?s - заполнитель строкового типа (первая буква слова string). + * В режиме MODE_TRANSFORM любые скалярные аргументы принудительно приводятся к типу string + * согласно правилам преобразования к типу string в PHP + * и экранируются с помощью функции PHP mysqli_real_escape_string(). + * + * ?S - заполнитель строкового типа для подстановки в SQL-оператор LIKE (первая буква слова string). + * В режиме MODE_TRANSFORM Любые скалярные аргументы принудительно приводятся к типу string + * согласно правилам преобразования к типу string в PHP + * и экранируются с помощью функции PHP mysqli_real_escape_string() + экранирование спецсимволов, + * используемых в операторе LIKE (%_). + * + * ?n - заполнитель NULL типа (первая буква слова null). + * В режиме MODE_TRANSFORM любые аргументы игнорируются, заполнители заменяются на строку `NULL` в SQL запросе. + * + * ?A* - заполнитель ассоциативного множества для ассоциативного массива-аргумента, генерирующий последовательность + * пар ключ => значение. + * Пример: "key_1" = "val_1", "key_2" = "val_2", ... + * + * ?a* - заполнитель множества из простого (или также ассоциативного) массива-аргумента, генерирующий последовательность + * значений. + * Пример: "val_1", "val_2", ... + * + * где * после маркера заполнителя - один из типов: + * - i (int) + * - p (float) + * - s (string) + * правила преобразования и экранирования такие же, как и для одиночных скалярных аргументов (см. выше). + * + * ?A[?n, ?s, ?i, ?d] - заполнитель ассоциативного множества с явным указанием типа и количества аргументов, + * генерирующий последовательность пар ключ => значение. + * Пример: "key_1" = "val_1", "key_2" => "val_2", ... + * + * ?a[?n, ?s, ?i, ?d] - заполнитель множества с явным указанием типа и количества аргументов, генерирующий + * последовательность значений. + * Пример: "val_1", "val_2", ... + * + * + * --------------------------------------------------------------------------------------------------------------------- + * Ограничивающие кавчки + * --------------------------------------------------------------------------------------------------------------------- + * + * Данный класс при формировании SQL-запроса НЕ занимается проставлением ограничивающих кавычек для одиночных + * заполнителей скалярного типа, таких как ?i, ?d и ?s. Это сделано по идеологическим соображениям, + * автоподстановка кавычек может стать ограничением для возможностей SQL. + * Например, выражение + * $db->query('SELECT "Total: ?s"', '200'); + * вернёт строку + * 'Total: 200' + * Если бы кавычки, ограничивающие строковой литерал, ставились бы автоматически, + * то вышеприведённое условие вернуло бы строку + * 'Total: "200"' + * что было бы не ожидаемым поведением. + * + * Тем не менее, для перечислений ?as, ?ai, ?ap, ?As, ?Ai и ?Ap ограничивающие кавычки ставятся принудительно, т.к. + * перечисления всегда используются в запросах, где наличие кавчек обязательно или не играет роли (а так ли это?): + * + * $db->query('INSERT INTO `test` SET ?As', array('name' => 'Маша', 'age' => '23', 'adress' => 'Москва')); + * -> INSERT INTO test SET `name` = "Маша", `age` = "23", `adress` = "Москва" + * + * $db->query('SELECT * FROM table WHERE field IN (?as)', array('55', '12', '132')); + * -> SELECT * FROM table WHERE field IN ("55", "12", "132") + * + * Также исключения составляют заполнители типа ?f, предназначенные для передачи в запрос имен таблиц и полей. + * Аргумент заполнителя ?f всегда обрамляется обратными кавычками (`): + * + * $db->query('SELECT ?f FROM ?f', 'my_field', 'my_table'); + * -> SELECT `my_field` FROM `my_table` + */ +namespace Krugozor\Database\Mysql; + +class Mysql +{ + /** + * Строгий режим типизации. + * Если тип заполнителя не совпадает с типом аргумента, то будет выброшено исключение. + * Пример такой ситуации: + * + * $db->query('SELECT * FROM `table` WHERE `id` = ?i', '2+мусор'); + * + * - в данной ситуации тип заполнителя ?i - число или числовая строка, + * а в качестве аргумента передаётся строка '2+мусор' не являющаяся ни числом, ни числовой строкой. + * + * @var int + */ + const MODE_STRICT = 1; + + /** + * Режим преобразования. + * Если тип заполнителя не совпадает с типом аргумента, аргумент принудительно будет приведён + * к нужному типу - к типу заполнителя. + * Пример такой ситуации: + * + * $db->query('SELECT * FROM `table` WHERE `id` = ?i', '2+мусор'); + * + * - в данной ситуации тип заполнителя ?i - число или числовая строка, + * а в качестве аргумента передаётся строка '2+мусор' не являющаяся ни числом, ни числовой строкой. + * Строка '2+мусор' будет принудительно приведена к типу int согласно правилам преобразования типов в PHP. + * + * @var int + */ + const MODE_TRANSFORM = 2; + + /** + * Режим работы инстанцированного объекта. + * См. описание констант self::MODE_STRICT и self::MODE_TRANSFORM. + * + * @var int + */ + protected $type_mode = self::MODE_TRANSFORM; + + protected $server; + + protected $user; + + protected $password; + + protected $port; + + protected $socket; + + /** + * Имя текущей БД. + * + * @var string + */ + protected $database_name; + + /** + * Стандартный объект соединения сервером MySQL. + * + * @var mysqli + */ + protected $mysqli; + + /** + * Строка последнего SQL-запроса до преобразования. + * + * @var string + */ + private $original_query; + + /** + * Строка последнего SQL-запроса после преобразования. + * + * @var string + */ + private $query; + + /** + * Массив со всеми запросами, которые были выполнены объектом. + * Ключи - SQL после преобразования, значения - SQL до преобразования. + * + * @var array + */ + private $queries = array(); + + /** + * Накапливать ли в хранилище $this->queries исполненные запросы. + * + * @var bool + */ + private $store_queries = true; + + /** + * Создает инстанс данного класса. + * + * @param string $server имя сервера + * @param string $username имя пользователя + * @param string $password пароль + * @param string $port порт + * @param string $socket сокет + */ + public static function create($server, $username, $password, $port=null, $socket=null) + { + return new self($server, $username, $password, $port, $socket); + } + + /** + * Задает набор символов по умолчанию. + * Вызов данного метода эквивалентен следующей установки конфигурации MySql-сервера: + * SET character_set_client = charset_name; + * SET character_set_results = charset_name; + * SET character_set_connection = charset_name; + * + * @param string $charset + * @return Mysql + */ + public function setCharset($charset) + { + if (!$this->mysqli->set_charset($charset)) { + throw new Exception(__METHOD__ . ': ' . $this->mysqli->error); + } + + return $this; + } + + /** + * Возвращает кодировку по умолчанию, установленную для соединения с БД. + * + * @param void + * @return string + */ + public function getCharset() + { + return $this->mysqli->character_set_name(); + } + + /** + * Устанавливает имя используемой СУБД. + * + * @param string имя базы данных + * @return Mysql + */ + public function setDatabaseName($database_name) + { + if (!$database_name) { + throw new Exception(__METHOD__ . ': Не указано имя базы данных'); + } + + $this->database_name = $database_name; + + if (!$this->mysqli->select_db($this->database_name)) { + throw new Exception(__METHOD__ . ': ' . $this->mysqli->error); + } + + return $this; + } + + /** + * Возвращает имя текущей БД. + * + * @param void + * @return string + */ + public function getDatabaseName() + { + return $this->database_name; + } + + /** + * Устанавливает режим поведения при несовпадении типа заполнителя и типа аргумента. + * + * @param $value int + * @return Mysql + */ + public function setTypeMode($value) + { + if (!in_array($value, array(self::MODE_STRICT, self::MODE_TRANSFORM))) { + throw new Exception(__METHOD__ . ': Указан неизвестный тип режима'); + } + + $this->type_mode = $value; + + return $this; + } + + /** + * Устанавливает свойство $this->store_queries, отвечающее за накопление исполненных запросов в + * хранилище $this->queries. + * + * @param bool $value + * @return Mysql + */ + public function setStoreQueries($value) + { + $this->store_queries = (bool) $value; + + return $this; + } + + /** + * Выполняет SQL-запрос. + * Принимает обязательный параметр - SQL-запрос и, в случае наличия, + * любое количество аргументов - значения заполнителей. + * + * @param string строка SQL-запроса + * @param mixed аргументы для заполнителей + * @return bool|Statement false в случае ошибки, в обратном случае объект результата + */ + public function query() + { + if (!func_num_args()) { + return false; + } + + $args = func_get_args(); + + $query = $this->original_query = array_shift($args); + + $this->query = $this->parse($query, $args); + + $result = $this->mysqli->query($this->query); + + if ($this->store_queries) { + $this->queries[$this->query] = $this->original_query; + } + + if ($result === false) { + throw new Exception(__METHOD__ . ': ' . $this->mysqli->error . '; SQL: ' . $this->query); + } + + if (is_object($result) && $result instanceof \mysqli_result) { + return new Statement($result); + } + + return $result; + } + + /** + * Поведение аналогично методу self::query(), только метод принимает только два параметра - + * SQL запрос $query и массив аргументов $arguments, которые и будут заменены на заменители в той + * последовательности, в которой они представленны в массиве $arguments. + * + * @param string + * @param array + * @return bool|Mysql_Statement + */ + public function queryArguments($query, array $arguments=array()) + { + array_unshift($arguments, $query); + + return call_user_func_array(array($this, 'query'), $arguments); + } + + /** + * Обёртка над методом $this->parse(). + * Применяется для случаев, когда SQL-запрос формируется частями. + * + * Пример: + * $db->prepare('WHERE `name` = "?s" OR `id` IN(?ai)', 'Василий', array(1, 2)); + * Результат: + * WHERE `name` = "Василий" OR `id` IN(1, 2) + * + * @param string SQL-запрос или его часть + * @param mixed аргументы заполнителей + * @return boolean|string + */ + public function prepare() + { + if (!func_num_args()) { + return false; + } + + $args = func_get_args(); + $query = array_shift($args); + + return $this->parse($query, $args); + } + + /** + * Получает количество рядов, задействованных в предыдущей MySQL-операции. + * Возвращает количество рядов, задействованных в последнем запросе INSERT, UPDATE или DELETE. + * Если последним запросом был DELETE без оператора WHERE, + * все записи таблицы будут удалены, но функция возвратит ноль. + * + * @see mysqli_affected_rows + * @param void + * @return int + */ + public function getAffectedRows() + { + return $this->mysqli->affected_rows; + } + + /** + * Возвращает последний оригинальный SQL-запрос до преобразования. + * + * @param void + * @return string + */ + public function getOriginalQueryString() + { + return $this->original_query; + } + + /** + * Возвращает последний выполненный MySQL-запрос (после преобразования). + * + * @param void + * @return string + */ + public function getQueryString() + { + return $this->query; + } + + /** + * Возвращает массив со всеми исполненными SQL-запросами в рамках текущего объекта. + * + * @param void + * @return array + */ + public function getQueries() + { + return $this->queries; + } + + /** + * Возвращает id, сгенерированный предыдущей операцией INSERT. + * + * @param void + * @return int + */ + public function getLastInsertId() + { + return $this->mysqli->insert_id; + } + + /** + * Возвращает оригинальный объект mysqli. + * + * @param void + * @return mysqli + */ + public function getMysqli() + { + return $this->mysqli; + } + + public function __destruct() + { + $this->close(); + } + + /** + * @param string $server + * @param string $username + * @param string $password + * @param string $port + * @param string $socket + * @return void + */ + private function __construct($server, $user, $password, $port, $socket) + { + $this->server = $server; + $this->user = $user; + $this->password = $password; + $this->port = $port; + $this->socket = $socket; + + $this->connect(); + } + + /** + * Устанавливает соеденение с базой данных. + * + * @param void + * @return void + */ + private function connect() + { + if (!is_object($this->mysqli) || !$this->mysqli instanceof mysqli) { + $this->mysqli = @new \mysqli($this->server, $this->user, $this->password, null, $this->port, $this->socket); + + if ($this->mysqli->connect_error) { + throw new Exception(__METHOD__ . ': ' . $this->mysqli->connect_error); + } + } + } + + /** + * Закрывает MySQL-соединение. + * + * @param void + * @return Mysql + */ + private function close() + { + if (is_object($this->mysqli) && $this->mysqli instanceof mysqli) { + @$this->mysqli->close(); + } + + return $this; + } + + /** + * Возвращает экранированную строку для placeholder-а поиска LIKE (?S). + * + * @param string $var строка в которой необходимо экранировать спец. символы + * @param string $chars набор символов, которые так же необходимо экранировать. + * По умолчанию экранируются следующие символы: `'"%_`. + * @return string + */ + private function escapeLike($var, $chars = "%_") + { + $var = str_replace('\\', '\\\\', $var); + $var = $this->mysqlRealEscapeString($var); + + if ($chars) { + $var = addCslashes($var, $chars); + } + + return $var; + } + + /** + * Экранирует специальные символы в строке для использования в SQL выражении, + * используя текущий набор символов соединения. + * + * @see mysqli_real_escape_string + * @param string + * @return string + */ + private function mysqlRealEscapeString($value) + { + return $this->mysqli->real_escape_string($value); + } + + /** + * Возвращает строку описания ошибки при несовпадении типов заполнителей и аргументов. + * + * @param string $type тип заполнителя + * @param mixed $value значение аргумента + * @param string $original_query оригинальный SQL-запрос + * @return string + */ + private function createErrorMessage($type, $value, $original_query) + { + return "Попытка указать для заполнителя типа $type значение типа " . gettype($value) . " в шаблоне запроса $original_query"; + } + + /** + * Парсит запрос $query и подставляет в него аргументы из $args. + * + * @param string $query SQL запрос или его часть (в случае парсинга условия в скобках []) + * @param array $args аргументы заполнителей + * @param string $original_query "оригинальный", полный SQL-запрос + * @return string SQL запрос для исполнения + */ + private function parse($query, array $args, $original_query=null) + { + $original_query = $original_query ? $original_query : $query; + + $offset = 0; + + while (($posQM = mb_strpos($query, '?', $offset)) !== false) { + $offset = $posQM; + + $placeholder_type = mb_substr($query, $posQM + 1, 1); + + // Любые ситуации с нахождением знака вопроса, который не явялется заполнителем. + if ($placeholder_type == '' || !in_array($placeholder_type, array('i', 'd', 's', 'S', 'n', 'A', 'a', 'f'))) { + $offset += 1; + continue; + } + + if (!$args) { + throw new Exception( + __METHOD__ . ': количество заполнителей в запросе ' . $original_query . + ' не соответствует переданному количеству аргументов' + ); + } + + $value = array_shift($args); + + $is_associative_array = false; + + switch ($placeholder_type) { + // `LIKE` search escaping + case 'S': + $is_like_escaping = true; + + // Simple string escaping + // В случае установки MODE_TRANSFORM режима, преобразование происходит согласно правилам php типизации + // http://php.net/manual/ru/language.types.string.php#language.types.string.casting + // для bool, null и numeric типа. + case 's': + $value = $this->getValueStringType($value, $original_query); + $value = !empty($is_like_escaping) ? $this->escapeLike($value) : $this->mysqlRealEscapeString($value); + $query = mb_substr_replace($query, $value, $posQM, 2); + $offset += mb_strlen($value); + break; + + // Integer + // В случае установки MODE_TRANSFORM режима, преобразование происходит согласно правилам php типизации + // http://php.net/manual/ru/language.types.integer.php#language.types.integer.casting + // для bool, null и string типа. + case 'i': + $value = $this->getValueIntType($value, $original_query); + $query = mb_substr_replace($query, $value, $posQM, 2); + $offset += mb_strlen($value); + break; + + // double + case 'd': + $value = $this->getValueFloatType($value, $original_query); + $query = mb_substr_replace($query, $value, $posQM, 2); + $offset += mb_strlen($value); + break; + + // NULL insert + case 'n': + $value = $this->getValueNullType($value, $original_query); + $query = mb_substr_replace($query, $value, $posQM, 2); + $offset += mb_strlen($value); + break; + + // field or table name + case 'f': + $value = $this->escapeFieldName($value, $original_query); + $query = mb_substr_replace($query, $value, $posQM, 2); + $offset += mb_strlen($value); + break; + + // Парсинг массивов. + + // Associative array + case 'A': + $is_associative_array = true; + + // Simple array + case 'a': + $value = $this->getValueArrayType($value, $original_query); + + $next_char = mb_substr($query, $posQM + 2, 1); + + if ($next_char != '' && preg_match('#[sid\[]#u', $next_char, $matches)) { + // Парсим выражение вида ?a[?i, "?s", "?s"] + if ($next_char == '[' and ($close = mb_strpos($query, ']', $posQM+3)) !== false) { + // Выражение между скобками [ и ] + $array_parse = mb_substr($query, $posQM+3, $close - ($posQM+3)); + $array_parse = trim($array_parse); + $placeholders = array_map('trim', explode(',', $array_parse)); + + if (count($value) != count($placeholders)) { + throw new Exception('Несовпадение количества аргументов и заполнителей в массиве, запрос ' . $original_query); + } + + reset($value); + reset($placeholders); + + $replacements = array(); + + foreach ($placeholders as $placeholder) { + list($key, $val) = each($value); + $replacements[$key] = $this->parse($placeholder, array($val), $original_query); + } + + if (!empty($is_associative_array)) { + foreach ($replacements as $key => $val) { + $values[] = $this->escapeFieldName($key, $original_query) . ' = ' . $val; + } + + $value = implode(',', $values); + } else { + $value = implode(', ', $replacements); + } + + $query = mb_substr_replace($query, $value, $posQM, 4 + mb_strlen($array_parse)); + $offset += mb_strlen($value); + } + // Выражение вида ?ai, ?as, ?ap + else if (preg_match('#[sid]#u', $next_char, $matches)) { + $sql = ''; + $parts = array(); + + foreach ($value as $key => $val) { + switch ($matches[0]) { + case 's': + $val = $this->getValueStringType($val, $original_query); + $val = $this->mysqlRealEscapeString($val); + break; + case 'i': + $val = $this->getValueIntType($val, $original_query); + break; + case 'd': + $val = $this->getValueFloatType($val, $original_query); + break; + } + + if (!empty($is_associative_array)) { + $parts[] = $this->escapeFieldName($key, $original_query) . ' = "' . $val . '"'; + } else { + $parts[] = '"' . $val . '"'; + } + } + + $value = implode(', ', $parts); + $value = $value !== '' ? $value : 'NULL'; + + $query = mb_substr_replace($query, $value, $posQM, 3); + $offset += mb_strlen($value); + } + } else { + throw new Exception('Попытка воспользоваться заполнителем массива без указания типа данных его элементов'); + } + + break; + } + } + + return $query; + } + + /** + * В зависимости от типа режима возвращает либо строковое значение $value, + * либо кидает исключение. + * + * @param mixed $value + * @param string $original_query оригинальный SQL запрос + * @throws Exception + * @return string + */ + private function getValueStringType($value, $original_query) + { + if (!is_string($value) && $this->type_mode == self::MODE_STRICT) { + // Если это числовой string, меняем его тип для вывода в тексте исключения его типа. + if ($this->isInteger($value) || $this->isFloat($value)) { + $value += 0; + } + + throw new Exception($this->createErrorMessage('string', $value, $original_query)); + } + + // меняем поведение PHP в отношении приведения bool к string + if (is_bool($value)) { + return (string) (int) $value; + } + + if (!is_string($value) && !(is_numeric($value) || is_null($value))) { + throw new Exception($this->createErrorMessage('string', $value, $original_query)); + } + + return (string) $value; + } + + /** + * В зависимости от типа режима возвращает либо строковое значение числа $value, + * приведенного к типу int, либо кидает исключение. + * + * @param mixed $value + * @param string $original_query оригинальный SQL запрос + * @throws Exception + * @return string + */ + private function getValueIntType($value, $original_query) + { + if ($this->isInteger($value)) { + return $value; + } + + switch ($this->type_mode) { + case self::MODE_TRANSFORM: + if ($this->isFloat($value) || is_null($value) || is_bool($value)) { + return (int) $value; + } + + case self::MODE_STRICT: + // Если это числовой string, меняем его тип для вывода в тексте исключения его типа. + if ($this->isFloat($value)) { + $value += 0; + } + throw new Exception($this->createErrorMessage('integer', $value, $original_query)); + } + } + + /** + * В зависимости от типа режима возвращает либо строковое значение числа $value, + * приведенного к типу float, либо кидает исключение. + * + * Внимание! Разделитель целой и дробной части, возвращаемый float, может не совпадать с разделителем СУБД. + * Для установки необходимого разделителя дробной части используйте setlocale(). + * + * @param mixed $value + * @param string $original_query оригинальный SQL запрос + * @throws Exception + * @return string + */ + private function getValueFloatType($value, $original_query) + { + if ($this->isFloat($value)) { + return $value; + } + + switch ($this->type_mode) { + case self::MODE_TRANSFORM: + if ($this->isInteger($value) || is_null($value) || is_bool($value)) { + return (float) $value; + } + + case self::MODE_STRICT: + // Если это числовой string, меняем его тип на int для вывода в тексте исключения. + if ($this->isInteger($value)) { + $value += 0; + } + throw new Exception($this->createErrorMessage('double', $value, $original_query)); + } + } + + /** + * В зависимости от типа режима возвращает либо строковое значение 'NULL', + * либо кидает исключение. + * + * @param mixed $value + * @param string $original_query оригинальный SQL запрос + * @throws Exception + * @return string + */ + private function getValueNullType($value, $original_query) + { + if ($value !== null && $this->type_mode == self::MODE_STRICT) { + // Если это числовой string, меняем его тип для вывода в тексте исключения его типа. + if ($this->isInteger($value) || $this->isFloat($value)) { + $value += 0; + } + + throw new Exception($this->createErrorMessage('NULL', $value, $original_query)); + } + + return 'NULL'; + } + + /** + * Всегда генерирует исключение, если $value не является массивом. + * Первоначально была идея в режиме self::MODE_TRANSFORM приводить к типу array + * скалярные данные, но на данный момент я считаю это излишним послаблением для клиентов, + * которые будут использовать данный класс. + * + * @param mixed $value + * @param string $original_query + * @throws Exception + * @return array + */ + private function getValueArrayType($value, $original_query) + { + if (!is_array($value)) { + throw new Exception($this->createErrorMessage('array', $value, $original_query)); + } + + return $value; + } + + /** + * Экранирует имя поля таблицы или столбца. + * + * @param string $value + * @return string $value + */ + private function escapeFieldName($value, $original_query) + { + if (!is_string($value)) { + throw new Exception($this->createErrorMessage('field', $value, $original_query)); + } + + $new_value = ''; + + $replace = function($value){ + return '`' . str_replace("`", "``", $value) . '`'; + }; + + // Признак обнаружения символа текущей базы данных + $dot = false; + + if ($values = explode('.', $value)) { + foreach ($values as $value) { + if ($value === '') { + if (!$dot) { + $dot = true; + $new_value .= '.'; + } else { + throw new Exception('Два символа `.` идущие подряд в имени столбца или таблицы'); + } + } else { + $new_value .= $replace($value) . '.'; + } + } + + return rtrim($new_value, '.'); + } else { + return $replace($value); + } + } + + /** + * Проверяет, является ли значение целым числом, умещающимся в диапазон PHP_INT_MAX. + * + * @param mixed $input + * @return boolean + */ + private function isInteger($val) + { + if (!is_scalar($val) || is_bool($val)) { + return false; + } + + return $this->isFloat($val) ? false : preg_match('~^((?:\+|-)?[0-9]+)$~', $val) === 1; + } + + /** + * Проверяет, является ли значение числом с плавающей точкой. + * + * @param mixed $input + * @return boolean + */ + private function isFloat($val) + { + if (!is_scalar($val) || is_bool($val)) { + return false; + } + + $type = gettype($val); + + if ($type === "double") { + return true; + } else { + return preg_match("/^([+-]*\\d+)*\\.(\\d+)*$/", $val) === 1; + } + } +} + +/** + * Заменяет часть строки string, начинающуюся с символа с порядковым номером start + * и (необязательной) длиной length, строкой replacement и возвращает результат. + * + * @param string $string + * @param string $replacement + * @param string $start + * @param string $length + * @param string $encoding + * @return string + */ +if (!function_exists("mb_substr_replace")) +{ + function mb_substr_replace($string, $replacement, $start, $length=null, $encoding=null) + { + if ($encoding == null) { + $encoding = mb_internal_encoding(); + } + + if ($length == null) { + return mb_substr($string, 0, $start, $encoding) . $replacement; + } else { + if ($length < 0) { + $length = mb_strlen($string, $encoding) - $start + $length; + } + + return + mb_substr($string, 0, $start, $encoding) . + $replacement . + mb_substr($string, $start + $length, mb_strlen($string, $encoding), $encoding); + } + } +} diff --git a/Database/Statement.php b/Database/Statement.php new file mode 100644 index 0000000..9bf2ac3 --- /dev/null +++ b/Database/Statement.php @@ -0,0 +1,167 @@ +mysqli_result = $mysqli_result; + } + + /** + * Извлекает результирующий ряд в виде ассоциативного массива. + * + * @see mysqli_fetch_assoc + * @param void + * @return array + */ + + public function fetch_assoc() + { + return mysqli_fetch_assoc($this->mysqli_result); + } + + /** + * Извлекает результирующий ряд в виде массива. + * + * @see mysqli_fetch_row + * @param void + * @return array + */ + public function fetch_row() + { + return mysqli_fetch_row($this->mysqli_result); + } + + /** + * Извлекает результирующий ряд в виде объекта. + * + * @see mysqli_fetch_object + * @param void + * @return stdClass + */ + public function fetch_object() + { + return mysqli_fetch_object($this->mysqli_result); + } + + /** + * Возвращает результат в виде массива ассоциативных массивов. + * + * @param void + * @return array + */ + public function fetch_assoc_array() + { + $array = array(); + + while ($row = mysqli_fetch_assoc($this->mysqli_result)) { + $array[] = $row; + } + + return $array; + } + + /** + * Возвращает результат в виде массива массивов. + * + * @param void + * @return array + */ + public function fetch_row_array() + { + $array = array(); + + while ($row = mysqli_fetch_row($this->mysqli_result)) { + $array[] = $row; + } + + return $array; + } + + /** + * Возвращает результат в виде массива объектов. + * + * @param void + * @return array + */ + public function fetch_object_array() + { + $array = array(); + + while ($row = mysqli_fetch_object($this->mysqli_result)) { + $array[] = $row; + } + + return $array; + } + + /** + * Возвращает значение первого поля результирующей таблицы. + * + * @param void + * @return string + */ + public function getOne() + { + $row = mysqli_fetch_row($this->mysqli_result); + + return $row[0]; + } + + /** + * Возвращает количество рядов в результате. + * Эта команда верна только для операторов SELECT. + * + * @see mysqli_num_rows + * @param void + * @return int + */ + public function getNumRows() + { + return mysqli_num_rows($this->mysqli_result); + } + + /** + * Возвращает объект результата mysqli_result. + * + * @param void + * @return mysqli_result + */ + public function getResult() + { + return $this->mysqli_result; + } + + /** + * Освобождает память занятую результатами запроса. + * + * @param void + * @return void + */ + public function free() + { + $this->mysqli_result->free(); + } + + public function __destruct() + { + $this->free(); + } +} diff --git a/Database/db.php b/Database/db.php new file mode 100644 index 0000000..f362f1f --- /dev/null +++ b/Database/db.php @@ -0,0 +1,31 @@ +setDatabaseName("combats_game") + // Выбор кодировки + ->setCharset("utf8"); + } + return self::$_instance; + } +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..39af52c --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# README # + +This README would normally document whatever steps are necessary to get your application up and running. + +### What is this repository for? ### + +* Quick summary +* Version +* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo) + +### How do I get set up? ### + +* Summary of set up +* Configuration +* Dependencies +* Database configuration +* How to run tests +* Deployment instructions + +### Contribution guidelines ### + +* Writing tests +* Code review +* Other guidelines + +### Who do I talk to? ### + +* Repo owner or admin +* Other community or team contact \ No newline at end of file diff --git a/__modules/clan_modules/kazna.php b/__modules/clan_modules/kazna.php new file mode 100644 index 0000000..5c25f71 --- /dev/null +++ b/__modules/clan_modules/kazna.php @@ -0,0 +1,147 @@ + 0) { + $clan_acces[$i][0] = 1; + } + $i++; + } +} + +if($_GET['addcredits']) { + if($clan_acces[7][0] == 1) { + if($user['money'] >= $_GET['sums'] && $_GET['sums'] > 0) { + if(isset($_GET['comment']) && $_GET['comment'] != '') { + $user['money'] -= (int)$_GET['sums']; + $clan['money'] += (int)$_GET['sums']; + $text = mysql_real_escape_string(iconv("utf-8", "utf-8", $_GET['comment'])); + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `clans` SET `money` = "'.$clan['money'].'" WHERE `id` = "'.$clan['id'].'" LIMIT 1'); + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', '\"".$user['login']."\" Пополнил казну клана: ($clan[name] / $clan[id]) на сумму: ".(int)$_GET['sums']." кр. С пометкой : $text', '1', '".time()."')"); + mysql_query('INSERT INTO `clan_log` (`clan_id`, `user_id`, `time`, `type`, `suma`, `comment`) VALUES ("'.$clan['id'].'", "'.$user['id'].'", "'.time().'", "1", "'.(int)$_GET['sums'].'", "'.$text.'")'); + $err = 'Казна пополненна на '.(int)$_GET['sums'].' кр.'; + } else { + $err = 'Введите комментарий'; + } + } elseif($_GET['sums'] <= 0) { + $err = 'Введите сумму'; + } else { + $err = 'Недостаточно средств'; + } + } else { + $err = 'У Вас нет прав на выполнение данной операции'; + } +} + +if($_GET['addecredits']) { + if($clan_acces[7][0] == 1) { + if(isset($banks['id'])) { + if($banks['ekr'] >= (int)$_GET['sums'] && $_GET['sums'] > 0) { + if(isset($_GET['comment']) && $_GET['comment'] != '') { + $banks['ekr'] -= (int)$_GET['sums']; + $clan['ekr'] += (int)$_GET['sums']; + $text = mysql_real_escape_string(iconv("utf-8", "utf-8", $_GET['comment'])); + mysql_query('UPDATE `bank` SET `ekr` = "'.$banks['ekr'].'" WHERE `id` = "'.$banks['id'].'" LIMIT 1'); + mysql_query('UPDATE `clans` SET `ekr` = "'.$clan['ekr'].'" WHERE `id` = "'.$clan['id'].'" LIMIT 1'); + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', '\"".$user['login']."\" Пополнил казну клана: ($clan[name] / $clan[id]) на сумму: ".(int)$_GET['sums']." екр, со счёта : $banks[id]. С пометкой : $text', '1', '".time()."')"); + mysql_query('INSERT INTO `clan_log` (`clan_id`, `user_id`, `time`, `type`, `suma`, `comment`) VALUES ("'.$clan['id'].'", "'.$user['id'].'", "'.time().'", "2", "'.(int)$_GET['sums'].'", "'.$text.'")'); + $err = 'Казна пополненна на '.(int)$_GET['sums'].' eкр.'; + } else { + $err = 'Введите комментарий'; + } + } elseif($_GET['sums'] <= 0) { + $err = 'Введите сумму'; + } else { + $err = 'Недостаточно средств'; + } + } else { + $err = 'Авторизируйтесь в банковском счету'; + } + } else { + $err = 'У Вас нет прав на выполнение данной операции'; + } +} + +function form_pay($us, $clan) { + global $clan_acces, $banks; + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `level`, `money` FROM `users` WHERE `id` = "'.$us.'" LIMIT 1')); + $r = ''; + if($clan_acces[7][0] == 1) { + $r .= 'У Вас в наличии : '.$user['money'].' .кр
'; + $r .= 'Пополнить (кредиты)
'; + if(isset($banks['id'])) { + $r .= '
Счёт #'.$banks['id'].': '.$banks['cr'].' .кр и '.$banks['ekr'].' .екр
'; + $r .= 'Пополнить (еврокредиты)'; + } else { + $r .= '
Авторизируйтесь в банке через Инвентарь'; + } + } + return $r; +} + +?> + + + + + + + +
+ + + + + + +

+

+ '; } ?> + Клановая казна: кр, екр.

+
+ Пополнить казну: + Вы не можете пополнять казну'; } ?> +
+ + Просмотр действий с казной + +
+
+
\ No newline at end of file diff --git a/__modules/clan_modules/main.php b/__modules/clan_modules/main.php new file mode 100644 index 0000000..29752a0 --- /dev/null +++ b/__modules/clan_modules/main.php @@ -0,0 +1,117 @@ + 0) { + $recrut = mysql_fetch_array(mysql_query('SELECT `id`, `recruits`, `short`, `name`, `descr`, `glava`, `vozm`, `align`, `mshadow`, `wshadow`, `homepage`, `rating`, `zbor`, `zamok`, `izamok`, `ifon` FROM `clans` WHERE `id` = "'.$clan['recruits'].'" LIMIT 1')); +} + +function show_klan_members($pl) { + global $rooms; + $r = ''; + $clan = mysql_fetch_array(mysql_query('SELECT `id`, `recruits`, `short`, `name`, `descr`, `glava`, `vozm`, `align`, `mshadow`, `wshadow`, `homepage`, `rating`, `zbor`, `zamok`, `izamok`, `ifon` FROM `clans` WHERE `id` = "'.$pl.'" LIMIT 1')); + if(isset($clan['id'])) { + $sp = mysql_query('SELECT `id`, `login`, `invis`, `align`, `level`, `status`, `room`, (SELECT `id` FROM `online` WHERE `date` >= "'.(time()-60).'" AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `klan` = "'.$pl.'" ORDER BY `level` DESC'); + while($us = mysql_fetch_array($sp)) { + if($us['online'] > 0 && $us['invis'] == 0) { + $r .= ''; + } else { + $r .= ''; + } + $r .= ' '.$us['login'].' ['.$us['level'].'] '; + $r .= ''; + $r .= $us['status']?" - ".$us['status']:" - Нет звания"; + if($us['online'] > 0 && $us['invis'] == 0) { + $r .= ' - '.$rooms[$us['room']].''; + } + $r .= '
'; + } + } else { + $r = 'Клан не найден ..'; + } + return $r; +} + +?> + + + + + + + + + + + + + +
+
+

+ + +
+ Клан-основа - + +
+ 0) { ?> + Клан-рекрут - + + +

+
+
+
+ Каналы чата: + + + + + + + + + + + + + + +
  + + klan -
+
+
 
+
+ +
+ Клановые реликты: + + + + + + +
В разработке
+
+
  +
+ Состав клана: + + + + + + +
+

CapitalCity

+ +
+
+
\ No newline at end of file diff --git a/__modules/clan_panel.php b/__modules/clan_panel.php new file mode 100644 index 0000000..03e3790 --- /dev/null +++ b/__modules/clan_panel.php @@ -0,0 +1,105 @@ + + + +404 + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + + + + + + + + + + + + + +
 " href="?razdel=main">Главная" href="?razdel=kazna">Казна" href="?razdel=wars">Войны и враги" href="?razdel=message">Сообщения" href="?razdel=maintains">Управление 
+
+ + + + + + + +
+ + + + + + +
+ +
+
+
+ + \ No newline at end of file diff --git a/add_me.php b/add_me.php new file mode 100644 index 0000000..d3146cc --- /dev/null +++ b/add_me.php @@ -0,0 +1,193 @@ + + + +404 + + + + +
+ + + + + + + + + + + + + + + + +
Название
Картинка
Магазин +
Количество (шт.)
Тип предмета +
Масса
Подлежит ремонту
Раздел магазина +
Макс. износ
Цена (кр.)
+Требования + + + + + + + + + +
Уровень
Сила
Ловкость
Интуиция
Вынос
Склонность
+Характеристики + + + + + + + + + + + + + + + + + + + + + + + +
Сила
Ловкость
Интуиция
Интеллект
НР
Мф.крит
Мф.антикрит
Мф.уворот
Мф.антиуворот
Всем брони
Ум.ножи
Ум.топоры
Ум.дубины
Ум.мечи
Броня головы
Броня корпуса
Броня пояса
Броня ног
+ +
+ + + + \ No newline at end of file diff --git a/add_novyj_shmot.php b/add_novyj_shmot.php new file mode 100644 index 0000000..805de57 --- /dev/null +++ b/add_novyj_shmot.php @@ -0,0 +1,126 @@ + +DO NOT USE - NOT TESTED. INS. +
+Вещи + + + + + + + + + + + + + + + + + + +
Название
Картинка
Количество в магазине
Тип предмета
Масса
Нужна идентификация
Количество знаков
Может чиниться
Раздел магазина
Мин.износ
Макс.износ
Цена
+Требования: + + + + + + + + + + + + + + + + + + + + +
Уровень
Сила
Ловкость
Интуиция
Вынос
Интеллект
Мудрость
Ум.ножи
Ум.топоры
Ум.дубины
Ум.мечи
Склонность
Мастерство огня
Мастерство воды
Мастерство воздуха
Мастерство земли
Светлая магия
Серая магия
Темная магия
+Дает Параметры + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Мин.урон
Макс.урон
Сила
Ловкость
Инуиция
Интеллект
НР
Мф.крит
Мф.антикрит
Мф.уворот
Мф.антиуворот
Ум.ножи
Ум.топоры
Ум.дубины
Ум.мечи
Броня головы
Броня корпуса
Броня пояса
Броня ног
Мастерство огня
Мастерство воды
Мастерство воздуха
Мастерство земли
Светлая магия
Серая магия
Темная магия
В энциклопедию
Артефакт
Наложенно заклятие
+ +
+ + diff --git a/admin.php b/admin.php new file mode 100644 index 0000000..00bf8b3 --- /dev/null +++ b/admin.php @@ -0,0 +1,1009 @@ +404 Not Found

Not Found

The requested URL /admin.php was not found on this server.


Apache/2.2.22 (@RELEASE@) Server at Hetzner Datacenter 426
"; + exit; + } + define('ADMINS',microtime()); +?> + + + + + + + ᐰdmin + + + + +query('SELECT * FROM `aligns` WHERE `align` = "?s" LIMIT 1', $user['align']); + + header("Cache-Control: no-cache"); + + function imp($array) { + $str =''; + foreach($array as $k => $v) { + $str .= $k.";".$v.";"; + } + return $str; + } + + function expa($str) { + $array = explode(";", $str); + for($i = 0; $i <= count($array)-2; $i = $i+2) { + $rarray[$array[$i]] = $array[$i+1]; + } + return $rarray; + } + + if ($_POST['ali']) { //Что делает эта штука? + $accs = $_POST; + array_shift($accs);array_shift($accs);array_shift($accs); + mysql_query("INSERT INTO `aligns` (`align`,`img`,`name`,`accses`) values ('{$_POST['ali']}','{$_POST['im']}','{$_POST['txt']}','".imp($accs)."') ON DUPLICATE KEY UPDATE `img` = '{$_POST['im']}', `name` = '{$_POST['txt']}', accses = '".imp($accs)."';"); + } + + if($_POST['sbr_par']) { + // $sb_pers = mysql_fetch_array(mysql_query("SELECT id,nextup,level FROM `users` WHERE `login` = '{$_POST['sbr_par']}' LIMIT 1;")); + $sb_pers = ($db->query('SELECT `id`, `nextup`, `level` FROM `users` WHERE `login` = "?s" LIMIT 1', $_POST['sbr_par']))->fetch_assoc_array(); + undressall($sb_pers['id']); + $levelstats = statsat($sb_pers['nextup']); + // mysql_query("UPDATE `users` SET `stats` = ".($levelstats['stats']-9).", `sila`=3,`lovk`=3,`inta`=3,`intel`=0,`vinos`= ".$levelstats["vinos"].",`maxhp`= ".$levelstats["vinos"]."*6 WHERE `id`='$sb_pers[id]' LIMIT 1"); + // mysql_query("UPDATE `users` SET `master`=$levelstats[master], noj=0, mec=0, topor=0, dubina=0, mlight=0, mgray=0, mdark=0 WHERE `id`='$sb_pers[id]'"); + //TODO Ох боюсь я за этот запрос! + $db->query(' + UPDATE `users` + SET `stats` = ?i, `sila` = ?i, `lovk` = ?i, `inta` = ?i, `intel` = ?i, `vinos` = ?i, + `maxhp` = ?i, `master` = ?i, `noj` = ?i, `mec` = ?i, `topor` = ?i, `dubina` = ?i, + `mlight` = ?i, `mgray` = ?i, `mdark` = ?i + WHERE `id` = ?i', + ($levelstats['stats']-9), 3, 3, 3, 0, $levelstats['vinos'], ($levelstats['vinos']*6), $levelstats['master'], 0, 0, 0, 0, 0, 0, 0, $sb_pers['id']); + echo "Все прошло удачно. Персонаж может перераспределить параметры."; + } +?> + + +
Склонности
+ +
Кланы
+
Сброс параметров персонажа
+ +
Добавить вещь
+ +
"; + #################################################### + +$moj = expa($al['accses']); + + switch($_POST['use']) { /* Подключаем строго тот свиток который используем. 36 Свитков править. Мама дорогая! */ + case "cure150": include("./magic/cure150.php"); break; + case "al_neut_power": include("./magic/al_neut_power.php"); break; + case "ct1": include("./magic/ct1.php"); break; + case "ct2": include("./magic/ct2.php"); break; + case "ct3": include("./magic/ct3.php"); break; + + case "sleep": include("./magic/sleep.php"); break; + case "sleepf": include("./magic/sleepf.php"); break; + case "sleep_off": include("./magic/sleep_off.php"); break; + case "sleepf_off": include("./magic/sleepf_off.php"); break; + case "haos": include("./magic/haos.php"); break; + case "haos_off": include("./magic/haos_off.php"); break; + case "obezl": include("./magic/obezl.php"); break; + case "obezl_off": include("./magic/obezl_off.php"); break; + case "death": include("./magic/death.php"); break; + case "death_off": include("./magic/death_off.php"); break; + case "ldadd": include("./magic/ldadd.php"); break; + + case "attack": include("./magic/eattack.php"); break; + case "attack_t": include("./magic/attack_t.php"); break; + case "battack": include("./magic/ebattack.php"); break; + case "attackk_close": include("./magic/attackk_close.php"); break; + case "attackk_open": include("./magic/attackk_open.php"); break; + + case "pal_off": include("./magic/pal_off.php"); break; + case "marry": include("./magic/marry.php"); break; + case "unmarry": include("./magic/unmarry.php"); break; + case "ct_all": include("./magic/ct_all.php"); break; + case "check": include("./magic/check.php"); break; + case "brat": include("./magic/brat.php"); break; + case "vampir": include("./magic/vampir.php"); break; + case "crush": include("./magic/devastate.php"); break; + case "def": include("./magic/defence.php"); break; + case "bexit": include("./magic/bexit.php"); break; + case "vip": include("./magic/vips.php"); break; + case "dlight": include("./magic/dlight.php"); break; + case "ddark": include("./magic/ddark.php"); break; + case "dneit": include("./magic/dneit.php"); break; + case "un_align": include("./magic/un_align.php"); break; + } + + echo "
Абилки:Пока что привязаны к общей системе. Работают выборочно.
"; + + foreach($moj as $k => $v) { + #echo $k; + switch($k) { /* 45 скриптов на 36 умелок? Неплохо… */ + case "vip": $script_name = "vipad"; $magic_name="Вип"; break; + case "sleep": $script_name="runmagic"; $magic_name="Наложить заклятие молчания"; break; + case "sleepf": $script_name="runmagicf"; $magic_name="Наложить заклятие форумного молчания"; break; + case "cure150": $script_name="runmagic1"; $magic_name="Лечение(150)"; break; + case "al_neut_power": $script_name="RunMagicSelf"; $magic_name="Сила нейтралитета"; break; + case "ct1": $script_name="runmagic1"; $magic_name="Исцелить легкую травму"; break; + case "ct2": $script_name="runmagic1"; $magic_name="Исцелить среднюю травму"; break; + case "ct3": $script_name="runmagic1"; $magic_name="Исцелить тяжелую травму"; break; + case "sleep_off": $script_name="runmagic1"; $magic_name="Снять заклятие молчания"; break; + case "sleepf_off": $script_name="runmagic1"; $magic_name="Снять заклятие форумного молчания"; break; + case "haos": $script_name="runmagic2"; $magic_name="Наложить заклятие хаоса"; break; + case "haos_off": $script_name="runmagic1"; $magic_name="Снять заклятие хаоса"; break; + case "death": $script_name="runmagic1"; $magic_name="Наложить заклятие смерти"; break; + case "death_off": $script_name="runmagic1"; $magic_name="Снять заклятие смерти"; break; + case "obezl": $script_name="runmagic2"; $magic_name="Наложить заклятие обезличивания"; break; + case "obezl_off": $script_name="runmagic1"; $magic_name="Снять заклятие обезличивания"; break; + case "pal_off": $script_name="runmagic1"; $magic_name="Лишить звания Паладин"; break; + case "attack": $script_name="runmagic1"; $magic_name="Нападение"; break; + case "attack_t": $script_name="runmagic1"; $magic_name="Нападение на Темного"; break; + case "battack": $script_name="runmagic1"; $magic_name="Кровавое нападение"; break; + case "attackk_close": $script_name="runmagic1"; $magic_name="Кулачное закрытое кровавое нападение"; break; + case "attackk_open": $script_name="runmagic1"; $magic_name="Кулачное закрытое нападение"; break; + case "marry": $script_name="runmagic4"; $magic_name="Зарегистрировать брак"; break; + case "unmarry": $script_name="runmagic4"; $magic_name="Расторгнуть брак"; break; + case "hidden": $script_name="runmagic1"; $magic_name="Заклятие невидимости"; break; + case "teleport": $script_name="runmagic"; $magic_name="Телепортация"; break; + case "check": $script_name="runmagic1"; $magic_name="Поставить проверку"; break; + case "ct_all": $script_name="runmagic1"; $magic_name="Вылечить от травм"; break; + case "pal_buttons": $script_name="runmagic"; $magic_name="Отметить о прохождении проверки"; break; + case "vampir": $script_name="runmagic1"; $magic_name="Вампиризм (выпить энергию другого игрока)"; break; + case "brat": $script_name="runmagic1"; $magic_name="Помочь темному собрату (вмешаться в поединок)"; break; + case "dneit": $script_name="runmagic1"; $magic_name="Присвоить склонность (Нейтральное Братство)"; break; + case "dpal": $script_name="runmagic"; $magic_name="Присвоить склонность (Паладин)"; break; + case "ddark": $script_name="runmagic1"; $magic_name="Присвоить склонность (Темное Братство)"; break; + case "dlight": $script_name="runmagic1"; $magic_name="Присвоить склонность (Светлое Братство)"; break; + case "un_align": $script_name="runmagic1"; $magic_name="Лишить склонности"; break; + case "note": $script_name="runmagic"; $magic_name="Редактировать личное дело"; break; + case "sys": $script_name="runmagic"; $magic_name="Отправить в чат системное сообщение"; break; + case "scanner": $script_name="runmagic"; $magic_name="Показать лог действий модератора"; break; + case "rep": $script_name="runmagic"; $magic_name="Отчет о переводах"; break; + case "rost": $script_name="runmagic"; $magic_name="Присвоить статус"; break; + case "ldadd": $script_name=""; $magic_name="Записать причину отправки в Хаос"; break; + case "crush": $script_name="runmagic1"; $magic_name="Сокрушение"; break; + case "def": $script_name="runmagic1"; $magic_name="Защита от оружия"; break; + case "bexit": $script_name="runmagic1"; $magic_name="Выйти из боя"; break; + } + # Эта строка генерирует свитки с навыком. Но нам нужен просто перечень всего… + if($script_name) print " "; + } + echo "
"; +?> Всплывашки: + + + + + + + + + + + +
+ Выдать чёртов ВИП и переписать функцию выдачи как будет время + + + + + +
+ +
+ Добавить в «дело» игрока заметку о нарушении правил, прокрутке и пр. + +
+ Записать, как причину отправки в хаос/блокировки +
+
+ Отправить системное сообщение в чат + + +
+
+ Дать опыта + + + +
+
+ Телеграф + + + +
+
+ Поменять статус + + + +
+ +
+ Выдыча склонностей + +
+ 0){ + $id_user = mysql_fetch_assoc(mysql_query("select `id` from `users` where `login`='".$_POST['login_exp']."'")); + mysql_query("update `users` set `exp`=`exp`+'".$_POST['kol_exp']."' where `id`='".$id_user['id']."'"); + echo"Успешно."; + } + # Телеграф. + if($_POST['grn'] && $_POST['gr']) echo telegraph($_POST['grn'],$_POST['gr']); + # Показывает невидимок. + echo 'Невидимки:'; + $prs = mysql_query('SELECT `id`, `login` FROM `users` WHERE `invis` = 1 ORDER BY `id` DESC'); + while($pl = mysql_fetch_array($prs)) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$pl[id]}' AND `type` = '1022' LIMIT 1")); + echo '[id] = '.$pl['id'].', '.$pl['login'].' - [невидимка '.substr($effect[0], strlen($effect[0])-4).']
'; + } + # Системное сообщение. + if($_POST['newsmsg'] ) { + $from = ''; + AddChatSystem($from.$_POST['newsmsg'].""); + echo "Системное сообщение отправлено."; + } + # Меняем статусы + if ($_POST['login'] && $_POST['status']) { + $dd = mysql_fetch_array(mysql_query("SELECT `ip`, `login` FROM `users` WHERE `login` = '".$_POST['login']."';")); + if($dd) { + mysql_query("UPDATE `users` SET `status` = '".$_POST['status']."' WHERE `login` = '".$_POST['login']."';"); + echo "Статус ",$dd[1]," изменен на ",$_POST['status'],"
"; + } + } + # Меняем склонности + if ($_POST['login'] && $_POST['krest']) { + switch($_POST['krest']){ + case 1.1: $rang = 'Паладин Поднебесья'; break; + case 1.75: $rang = 'Паладин Солнечной Улыбки'; break; + case 1.7: $rang = 'Паладин Огненной Зари'; break; + case 1.91: $rang = 'Паладин Неба'; break; + case 1.98: $rang = 'Старший Паладин Неба'; break; + case 1.99: $rang = 'Верховный Паладин'; break; + default: $rang = ''; break; + } + echo $_POST['krest']." = 45424tgf34g"; + if ($_POST['krest']==-1) mysql_query("UPDATE `users` SET `align`=NULL, `status`=NULL WHERE `login` = '{$_POST['login']}' LIMIT 1;") or die(mysql_error()); + else mysql_query("UPDATE `users` SET `align` = '".$_POST['krest']."',`status` = '$rang' WHERE `login` = '".$_POST['login']."';"); + } + +# ДИЛЕР ФУНКЦИИ + if (($user['deal']==1) || $user['admin'] == 1) { + if ($_POST['putekr']) { + if (($_POST['ekr']) && ($_POST['bank'])) { + # $deallerekr=mysql_fetch_array(mysql_query("SELECT ekr FROM `bank` WHERE `owner` = '{$user['id']}' LIMIT 1;")); + # $numdeallerekr=$deallerekr['ekr']; + if ($user['ekr'] < $_POST['ekr']) { + print "На Вашем счету не хватает екров!"; + } + else { + $bank = mysql_fetch_array(mysql_query("SELECT owner,id FROM `bank` WHERE `id` = '{$_POST['bank']}' LIMIT 1;")); + $_POST['ekr'] = round($_POST['ekr'],2); + if (mysql_query("UPDATE `bank` set `ekr` = ekr+'{$_POST['ekr']}' WHERE `id` = '{$_POST['bank']}' LIMIT 1;")) { + mysql_query("INSERT INTO `dilerdelo` (dilerid,dilername,bank,owner,ekr) values ('{$user['id']}','{$user['login']}','{$_POST['bank']}','{$_POST['tonick']}','{$_POST['ekr']}');"); + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$tonick['id']}','Получено ".$_POST['ekr']." екр на счет №".$_POST['bank']." от дилера ".$user['login']."',1,'".time()."');"); + mysql_query("UPDATE `users` set `ekr` = ekr-'{$_POST['ekr']}' WHERE `id` = '{$user['id']}' LIMIT 1;"); + print "Успешно зачислено {$_POST['ekr']} екр. на счет {$_POST['bank']}!"; + } + else { print "Ошибка записи в базу данных!"; } + } + } + else { print "Введите сумму и номер счета!"; } + } + + # СКЛОННОСТЬ НАХАЛЯВУ?! Дилер должен платить! + #if ($_POST['givesklonka']) { + # if ($_POST['sklonkalog'] && $_POST['sklonka']) { + # $tonick = mysql_fetch_array(mysql_query("SELECT login,id,align,klan FROM `users` WHERE `login` = '{$_POST['sklonkalog']}' LIMIT 1;")); + # if ($tonick['login']) { + # if ($tonick['klan']) { print "Персонаж состоит в клане!"; } + # else if (mysql_query("UPDATE `users` set `align` = '{$_POST['sklonka']}' WHERE `id` = '{$tonick['id']}' LIMIT 1;")) { + # if ($_POST['sklonka'] == 2) {$skl="нейтральная"; $skl2="нейтральную";} + # if ($_POST['sklonka'] == 3) {$skl="темная"; $skl2="темную";} + # if ($_POST['sklonka'] == 6) {$skl="светлая"; $skl2="светлую";} + # mysql_query("INSERT INTO `dilerdelo` (dilerid,dilername,bank,owner,ekr,addition) values ('{$user['id']}','{$user['login']}','0','{$_POST['sklonkalog']}','0',{$_POST['sklonka']});"); + # mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$tonick['id']}','Куплена ".$skl." склонность от дилера ".$user['login']."',1,'".time()."');"); + # $action = "присвоил".($user['sex']?'':'а'); + # mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tonick['id']."','Дилер "".$user['login']."" ".$action." "".$_POST['sklonkalog']."" ".$skl2." склонность','".time()."');"); + # print "Успешно присвоена {$skl} склонность персонажу {$_POST['sklonkalog']}!"; + # } + # else { print "Ошибка записи в базу данных!"; } + # } + # else { print "Такой персонаж не существует!"; } + # } + #} + + if ($_POST['checkbank']) { + if ($_POST['charlogin']) { + $tonick = mysql_fetch_array(mysql_query("SELECT login,id FROM `users` WHERE `login` = '{$_POST['charlogin']}' LIMIT 1;")); + $bankdb = mysql_query("SELECT owner,id FROM `bank` WHERE `owner` = '{$tonick['id']}'"); + print "Персонажу {$_POST['charlogin']} принадлежат счета:
"; + while ($bank=mysql_fetch_array($bankdb)) { + print "№ {$bank['id']}
"; + } + } + else if ($_POST['charbank']) { + $bank = mysql_fetch_array(mysql_query("SELECT owner,id FROM `bank` WHERE `id` = '{$_POST['charbank']} 'LIMIT 1;")); + $tonick = mysql_fetch_array(mysql_query("SELECT login,id FROM `users` WHERE `id` = '{$bank['owner']}' LIMIT 1;")); + print "Счет № {$_POST['charbank']} принадлежит персонажу {$tonick['login']}
"; + } + } + + ?> +

Дилерская панель (недоработано)

+ На счету: екр.

+

+ Зачислить екры на счет + +
+
+ Проверить логин / номер счета + +
+
+ Присвоить склонность [выключено] + + + +
+ "; + if (!$_POST['dlogs']) $_POST['dlogs']=date("d.m.y"); + + if ($user['admin'] == 1) { + echo ' + + + +
+ Просмотреть дилерские переводы персонажа: за
+ +
Дилерские переводы персонажа "'.$_POST['dfilter'].'" за '.$_POST['dlogs'].'
+
'; + } + elseif ($user['deal']==1) { + echo ' + + + +
+ Просмотреть дилерские переводы за
+ +
Дилерские переводы персонажа "'.$_POST['dfilter'].'" за '.$_POST['dlogs'].'
+
'; + } + if ($_POST['dfilter']) { + $perevod1 = mysql_fetch_array(mysql_query("SELECT `login`,`id`,`align` FROM `users` WHERE `login` = '{$_POST['dfilter']}' LIMIT 1;")); + $aa=$perevod1['id']; + if ($user['admin'] == 1 || $user['deal']==1) { + $logsat=$_POST['dlogs']; + $ddate33="20".substr($_POST['dlogs'],6,2)."-".substr($_POST['dlogs'],3,2)."-".substr($_POST['dlogs'],0,2).""; + $dlogs = mysql_query("SELECT * FROM `dilerdelo` WHERE `dilerid` = '{$perevod1['id']}' AND `date` like '$ddate33%' ORDER by `id` ASC;"); + while($row = @mysql_fetch_array($dlogs)) { + switch($row['addition']) { + case "2": + $sklo="Нейтральная"; + echo "{$row['date']} Продана {$sklo} склонность персонажу {$row['owner']} (50 екр.)
"; + break; + case "3": + $sklo="Темная"; + echo "{$row['date']} Продана {$sklo} склонность персонажу {$row['owner']} (50 екр.)
"; + break; + case "6": + $sklo="Светлая"; + echo "{$row['date']} Продана {$sklo} склонность персонажу {$row['owner']} (50 екр.)
"; + break; + case "0": + echo "{$row['date']} Переведено {$row['ekr']} екр. персонажу {$row['owner']} (счет №{$row['bank']})
"; + break; + } + } + } + } + } +?> + + + + + + + + + + diff --git a/ahero_shop.php b/ahero_shop.php new file mode 100644 index 0000000..2272877 --- /dev/null +++ b/ahero_shop.php @@ -0,0 +1,279 @@ +0)) header("Location: index.php"); + include "config.php"; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + include "functions.php"; + $d = mysql_fetch_array(mysql_query("SELECT sum(`massa`) FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `setsale` = 0 ; ")); + if ($user['room'] != 22) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + + + if (($_GET['set'] OR $_POST['set'])) { + if ($_GET['set']) { $set = $_GET['set']; } + if ($_POST['set']) { $set = $_POST['set']; } + if(!$_POST['count']) $_POST['count']=1; + if(!is_numeric($_POST['count']) || $_POST['count']!=((int)$_POST['count'])) + { + $_POST['count']=0; + $count_ok=0; + } + elseif ($_POST['count'] < 1) { $_POST['count'] =0; $count_ok=0; } + else $count_ok=1; + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `ahero_shop` WHERE `id` = '{$set}' LIMIT 1;")); + if ($count_ok==0) { + echo "Неправильно введено количество"; + //$good = 0; + } + elseif (($dress['massa']*$_POST['count']+$d[0]) > (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + //$good = 0; + } + elseif($count_ok==1 && ($user['doblest']>= ($dress['point']*$_POST['count'])) && ($dress['count'] >= $_POST['count'])) { + + for($k=1;$k<=$_POST['count'];$k++) { + if(mysql_query("INSERT INTO `inventory` + (`opisan`, `prototype`,`owner`,`name`,`type`,`massa`,`point`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`, `koll` + ) + VALUES + ('{$dress['opisan']}','{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['point']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress['koll']}' + ) ;")) + { + $good = 1; + } + else { + $good = 0; + } + } + if ($good) { + mysql_query("UPDATE `shop` SET `count`=`count`-{$_POST['count']} WHERE `id` = '{$set}' LIMIT 1;"); + echo "Вы купили {$_POST['count']} шт. \"{$dress['name']}\"."; + mysql_query("UPDATE `users` set `doblest` = `doblest`- '".($_POST['count']*$dress['point'])."' WHERE id = {$user['id']} ;"); + $user['money'] -= $_POST['count']*$dress['point']; + $limit=$_POST['count']; + $invdb = mysql_query("SELECT `id` FROM `inventory` WHERE `name` = '".$dress['name']."' ORDER by `id` DESC LIMIT ".$limit." ;" ); + //$invdb = mysql_query("SELECT id FROM `inventory` WHERE `name` = '".{$dress['name']}."' ORDER by `id` DESC LIMIT $limit ;" ); + if ($limit == 1) { + $dressinv = mysql_fetch_array($invdb); + $dressid = "cap".$dressinv['id']; + $dresscount=" "; + } + else { + $dressid=""; + while ($dressinv = mysql_fetch_array($invdb)) { + $dressid .= "cap".$dressinv['id'].","; + } + $dresscount="(x".$_POST['count'].") "; + } + $allcost=$_POST['count']*$dress['point']; + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."] за ".$allcost." кр. ',1,'".time()."');"); + } else { + + } + } + else { + echo "Недостаточно репутации или нет вещей в наличии."; + } + } +?> + + + + + + + + + + + + + +

Магазин РЕПУТАЦИИ

+ +
+ + + + + + + + + +
+ + + + + + +
Отдел "" + +
+ + 0 AND `razdel` = '{$_GET['otdel']}' ORDER by `point` ASC"); + while($row = mysql_fetch_array($data)) { + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row, 11); + echo ""; + } +//} +?> +
"; + ?> +
купить + Купить несколько штук
+
+ +
+ + + +
+ +
+ + \ No newline at end of file diff --git a/ajax/change_login.php b/ajax/change_login.php new file mode 100644 index 0000000..d27c20e --- /dev/null +++ b/ajax/change_login.php @@ -0,0 +1,55 @@ += 25) { + if($_POST['log'] != null) { + if(strtoupper($_POST['log']) == strtoupper("невидимка") || strtoupper($_POST['log']) == strtoupper("мусорщик") || strtoupper($_POST['log']) == strtoupper("мироздатель") || strtoupper($_POST['log']) == strtoupper("архивариус") || strtoupper($_POST['log']) == strtoupper("Благодать") || strtoupper($_POST['log']) == strtoupper("Merlin") || strtoupper($_POST['log']) == strtoupper("Коментатор")) { + echo 'Регистрация персонажа с ником '.$_POST['log'].' запрещена!
'; + } elseif(strlen($_POST['log']) < 3 || strlen($_POST['log']) > 20 || !preg_match("/^[a-zA-Zа-яА-Я0-9][a-zA-Zа-яА-Я0-9_ -]+[a-zA-Zа-яА-Я0-9]$/", $_POST['log']) || preg_match("/__/", $_POST['log']) || preg_match("/--/", $_POST['log']) || preg_match("/ /", $_POST['log']) || preg_match("/(.)\\1\\1\\1/", $_POST['log'])) { + echo "Логин может содержать от 3 до 20 символов, и состоять только из букв русского или английского алфавита, цифр, символов '_', '-' и пробела.
Логин не может начинаться или заканчиваться символами '_', '-' или пробелом
Также в логине не должно присутствовать подряд более 1 символа '_' или '-' и более 1 пробела, а также более 3-х других одинаковых символов.

".$_POST['log']; + } elseif(preg_match("[a-zA-Z]", $_POST['log']) && preg_match("[а-яА-Я]", $_POST['log'])) { + echo "Логин не может содержать одновременно буквы русского и латинского алфавитов!
"; + } else { + if(!isset($usid['id'])) { + echo 'good'; + } else { + echo 'Данный логин занят ...'; + } + } + } else { + echo 'Введите логин ...'; + } + } else { + echo 'Недостаточно средств ...'; + } + } else { + echo 'Банк не найден ...'; + } + } else { + echo 'Missing params. Code: 02.'; + } +} else { + echo 'Missing params. Code: 01.'; +} + +if($_POST['true'] == '1') { + if($bank['ekr'] >= 25) { + mysql_query('UPDATE `users` SET `login` = "'.mysql_real_escape_string($_POST['log']).'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $bank['ekr'] -= 25; + mysql_query('UPDATE `bank` SET `ekr` = "'.$bank['ekr'].'" WHERE `id` = "'.$bank['id'].'" LIMIT 1'); + echo 'Ваш логин успешно изменен ...'; + } else { + echo 'Err'; + } + echo 'Тест логин'; +} \ No newline at end of file diff --git a/ajax/clan_log.php b/ajax/clan_log.php new file mode 100644 index 0000000..546a7af --- /dev/null +++ b/ajax/clan_log.php @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/ajax/downgrade_art.php b/ajax/downgrade_art.php new file mode 100644 index 0000000..e283b2b --- /dev/null +++ b/ajax/downgrade_art.php @@ -0,0 +1,94 @@ + array('cost' => 2000, 'ghp' => 8, 'stat' => 1, 'bron' => 1, 'mf' => 7, 'mindur' => 30, 'minu' => 1, 'maxu' => 1), + 8 => array('cost' => 3000, 'ghp' => 10, 'stat' => 1, 'bron' => 1, 'mf' => 10, 'mindur' => 40, 'minu' => 2, 'maxu' => 2), + 9 => array('cost' => 7000, 'ghp' => 12, 'stat' => 1, 'bron' => 1, 'mf' => 13, 'mindur' => 50, 'minu' => 3, 'maxu' => 3), + 10 => array('cost' => 10000, 'ghp' => 14, 'stat' => 1, 'bron' => 1, 'mf' => 16, 'mindur' => 60, 'minu' => 4, 'maxu' => 4), + 11 => array('cost' => 15000, 'ghp' => 16, 'stat' => 1, 'bron' => 1, 'mf' => 19, 'mindur' => 70, 'minu' => 5, 'maxu' => 5), + 12 => array('cost' => 36000, 'ghp' => 18, 'stat' => 1, 'bron' => 1, 'mf' => 22, 'mindur' => 80, 'minu' => 6, 'maxu' => 6) + ); + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `doblest` FROM `users` WHERE `id` = "'.mysql_real_escape_string($uid).'" LIMIT 1')); + $salt = md5($user['login'].'|'.$user['id']); + if(isset($user['id'])) { + if($_POST['hash'] == $salt) { + $it = (int)$_POST['item']; + $item = mysql_fetch_array(mysql_query('SELECT * FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND `id` = "'.mysql_real_escape_string($it).'" AND `point` > 0 AND `dressed` = 0 LIMIT 1')); + if(isset($item['id']) && ($item['nlevel'] <= 13 && $item['nlevel'] >= 7)) { + $level = $item['nlevel']-1; + if($user['doblest'] >= $arr[$level]['cost']) { + $user['doblest'] -= $arr[$level]['cost']; + mysql_query('UPDATE `users` SET `doblest` = "'.$user['doblest'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + + if($item['type'] != 3) { + $item['ghp'] -= $arr[$level]['ghp']; + if($item['bron1'] > 0) { $item['bron1'] -= 1; } + if($item['bron2'] > 0) { $item['bron2'] -= 1; } + if($item['bron3'] > 0) { $item['bron3'] -= 1; } + if($item['bron4'] > 0) { $item['bron4'] -= 1; } + if($item['mfkrit'] > 0) { $item['mfkrit'] -= sums($item['mfkrit'], $arr[$level]['mf']); } + if($item['mfakrit'] > 0) { $item['mfakrit'] -= sums($item['mfakrit'], $arr[$level]['mf']); } + if($item['mfuvorot'] > 0) { $item['mfuvorot'] -= sums($item['mfuvorot'], $arr[$level]['mf']); } + if($item['mfauvorot'] > 0) { $item['mfauvorot'] -= sums($item['mfauvorot'], $arr[$level]['mf']); } + if($item['gsila'] > 0) { $item['gsila'] -= $arr[$level]['stat']; } + if($item['glovk'] > 0) { $item['glovk'] -= $arr[$level]['stat']; } + if($item['ginta'] > 0) { $item['ginta'] -= $arr[$level]['stat']; } + if($item['gintel'] > 0) { $item['gintel'] -= $arr[$level]['stat']; } + } + + if($item['type'] == 3) { + $item['minu'] -= $arr[$level]['minu']; $item['maxu'] -= $arr[$level]['minu']; + } + + $item['nlevel'] -= 1; + + if($item['nsila'] > 0) { $item['nsila'] -= 1; } + if($item['nlovk'] > 0) { $item['nlovk'] -= 1; } + if($item['ninta'] > 0) { $item['ninta'] -= 1; } + if($item['nvinos'] > 0) { $item['nvinos'] -= 1; } + if($item['nintel'] > 0) { $item['nintel'] -= 1; } + if($item['nnoj'] > 0) { $item['nnoj'] -= 1; } + if($item['ntopor'] > 0) { $item['ntopor'] -= 1; } + if($item['ndubina'] > 0) { $item['ndubina'] -= 1; } + if($item['nmech'] > 0) { $item['nmech'] -= 1; } + mysql_query('UPDATE `inventory` SET `nlevel` = "'.$item['nlevel'].'", `ghp` = "'.$item['ghp'].'", `bron1` = "'.$item['bron1'].'", `bron2` = "'.$item['bron2'].'", `bron3` = "'.$item['bron3'].'", `bron4` = "'.$item['bron4'].'", `mfkrit` = "'.$item['mfkrit'].'", `mfakrit` = "'.$item['mfakrit'].'", `mfuvorot` = "'.$item['mfuvorot'].'", `mfauvorot` = "'.$item['mfauvorot'].'", `gsila` = "'.$item['gsila'].'", `glovk` = "'.$item['glovk'].'", `ginta` = "'.$item['ginta'].'", `gintel` = "'.$item['gintel'].'", `minu` = "'.$item['minu'].'", `maxu` = "'.$item['maxu'].'", `nsila` = "'.$item['nsila'].'", `nlovk` = "'.$item['nlovk'].'", `ninta` = "'.$item['ninta'].'", `nvinos` = "'.$item['nvinos'].'", `nintel` = "'.$item['nintel'].'", `nnoj` = "'.$item['nnoj'].'", `ntopor` = "'.$item['ntopor'].'", `ndubina` = "'.$item['ndubina'].'", `nmech` = "'.$item['nmech'].'", `maxdur` = "'.$item['maxdur'].'", `duration` = "'.$item['duration'].'" WHERE `id` = "'.$item['id'].'" LIMIT 1'); + + ### + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', '\"".$user['login']."\" понизил уровень предмета: \"".$item['name']."\" id:(".$item['id'].") [$item[duration]/".$item['maxdur']."] за ".$arr[$level]['cost']." реп, до уровня $item[nlevel].', 1, '".time()."')"); + ### + echo 'success'; + } else { + echo 'Недостаточно репутации для операции ...'; + } + } else { + echo 'Предмет не найден ... ['.$item['id'].' | '.$item['nlevel'].']'; + } + } else { + echo 'Утеря параметров. Код ошибки: 1001001.'; + } + } else { + echo 'А вы кто ???'; + } + } else { + echo 'Утерян параметр #hash# ...'; + } + } else { + echo 'А вы кто ???'; + } +} else { + echo 'Выберите предмет!'; +} +?> \ No newline at end of file diff --git a/ajax/fontan_luck.php b/ajax/fontan_luck.php new file mode 100644 index 0000000..8ea4b57 --- /dev/null +++ b/ajax/fontan_luck.php @@ -0,0 +1,339 @@ +","излом носоглотки","непонятные, но множественные травмы","сильное внутреннее кровотечение","раздробленная коленная чашечка","перелом шеи","смещение позвонков","открытый перелом ключицы","перелом позвоночника","вывих позвоночника","сотрясение третьей степени"); + + $zz = mt_rand(1, 3); $s = 0; $l = 0; $i = 0; + switch($zz) { + case 1: $s = ($user['level'] + 3)*3; break; + case 2: $l = ($user['level'] + 3)*3; break; + case 3: $i = ($user['level'] + 3)*3; break; + } + $trv = $travmalist[mt_rand(0, count($travmalist)-1)]; + $time = 60*15; + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `sila`, `lovk`, `inta`, `vinos`) values ('".$id."', 'Травма "".$trv.""', ".(time()+$time).", '14', '".$s."', '".$l."', '".$i."', '0')"); + mysql_query("UPDATE `users` SET `sila` = (`sila`-'".$s."'), `lovk` = (`lovk`-'".$l."'), `inta` = (`inta`-'".$i."') WHERE `id` = '".$id."' LIMIT 1"); +} + +function paginate_function($item_per_page, $current_page, $total_records, $total_pages) { + $pagination = ''; + if($total_pages > 0 && $total_pages != 1 && $current_page <= $total_pages) { + $pagination .= '
    Страницы: '; + $right_links = $current_page + 3; + $previous = $current_page - 3; + $next = $current_page + 1; + $first_link = true; + + if($current_page > 1) { + $previous_link = ($previous == 0) ? 1 : $previous; + $pagination .= '
  • «
  • '; + for($i = ($current_page-2); $i < $current_page; $i++) { + if($i > 0) { + $pagination .= '
  • '.$i.'
  • '; + } + } + $first_link = false; + } + + if($first_link) { + $pagination .= '
  • '.$current_page.'
  • '; + } elseif($current_page == $total_pages) { + $pagination .= '
  • '.$current_page.'
  • '; + } else { + $pagination .= '
  • '.$current_page.'
  • '; + } + + for($i = $current_page+1; $i < $right_links ; $i++) { + if($i <= $total_pages) { + $pagination .= '
  • '.$i.'
  • '; + } + } + + if($current_page < $total_pages){ + $next_link = ($i > $total_pages)? $total_pages : $i; + $pagination .= '
  • »
  • '; + } + $pagination .= '
'; + } + return $pagination; +} + +function login($uid) { + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align`, `level`, `klan` FROM `users` WHERE `id` = "'.mysql_real_escape_string($uid).'" LIMIT 1')); + if(isset($user['id'])) { + $align_img = ' '; + if($user['klan'] != '') { + $clan = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `clans` WHERE `id` = "'.$user['klan'].'" LIMIT 1')); + $clan_img = ' '; + } else { + $clan_img = ''; + } + $r = $align_img.$clan_img.' '.$user['login'].' ['.$user['level'].']'; + } else { + $r = 'Невидимка'; + } + return $r; +} + +function load_winers($sum, $hash) { + if($sum > 0) { + $limit = 'LIMIT '.(int)$sum; + } else { + $limit = ''; + } + $r = '
Список, кому удалось достать монетки :'; + $r .= ''; + $sp = mysql_query('SELECT `id`, `usid`, `money`, `time`, `count` FROM `fountain_game` ORDER BY `id` DESC '.$limit.''); + while($pl = mysql_fetch_array($sp)) { + $us = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `id` = "'.$pl['usid'].'" LIMIT 1')); + $tm = date('d.m.y h:i:s', $pl['time']); + if($i == 0) { + $i = 1; $color = '#eeeeee'; + } else { + $i = 0; $color = '#e7e7e7'; + } + $user = login($us['id']); + $r .= ''; + } + $r .= '
КтоРазКогдаВсего кр.
'.$user.''.$pl['count'].''.$tm.''.$pl['money'].'
'; + $r .= '
'; + unset($pl, $us, $tm, $user); + return $r; +} + +function send_wish($hash, $text, $uid) { + if(isset($uid) && $uid > 0) { + if(isset($text)) { + if(strlen($text) < 5) { + echo ""; + } elseif(strlen($text) > 50) { + echo ""; + } else { + $us = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `level`, `align` FROM `users` WHERE `id` = "'.(int)$uid.'" LIMIT 1')); + if(isset($us['id'])) { + if(md5($us['login'].'|'.$us['id']) == $hash) { + $txt = mysql_real_escape_string($text); + if(iconv("utf-8", "utf-8", $txt) != '') { + $addText = iconv("utf-8", "utf-8", $txt); + } + mysql_query('INSERT INTO `fontan_wish` (`uid`, `time`, `wish`) VALUES ("'.$us['id'].'", "'.time().'", "'.$addText.'")'); + echo ""; + } else { + echo ""; + } + } else { + echo ""; + } + } + } else { + echo ""; + } + } else { + echo ""; + } +} + +function cureHps($hash, $uid) { + if(isset($uid) && $uid > 0) { + $us = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align`, `level`, `hp`, `maxhp` FROM `users` WHERE `id` = "'.(int)$uid.'" LIMIT 1')); + if(isset($us['id'])) { + if(md5($us['login'].'|'.$us['id']) == $hash) { + if(($us['level'] <= 7 || $us['align'] == 2.99) && $us['hp'] < $us['maxhp']) { + $us['hp'] = $us['maxhp']; + mysql_query('UPDATE `users` SET `hp` = "'.$us['hp'].'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + echo ""; + } elseif($us['hp'] == $us['maxhp']) { + echo ""; + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } +} + +function giveCoin($hash, $uid) { + if(isset($uid) && $uid > 0) { + $us = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align`, `level`, `money` FROM `users` WHERE `id` = "'.(int)$uid.'" LIMIT 1')); + if(isset($us['id'])) { + if(md5($us['login'].'|'.$us['id']) == $hash) { + if($us['money'] >= 1) { + $us['money'] -= 1; + mysql_query('UPDATE `users` SET `money` = "'.$us['money'].'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $f = mysql_fetch_array(mysql_query('SELECT `value` FROM `variables` WHERE `var` = "fontan_jackpot" LIMIT 1')); + $f['value'] += 1; + mysql_query('UPDATE `variables` SET `value` = "'.$f['value'].'" WHERE `var` = "fontan_jackpot" LIMIT 1'); + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$us['id']}', '\"".$us['login']."\" бросил монетку в фонтан.', 1, '".time()."')"); + echo ""; + echo ""; + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } +} + +function loadWishs($p, $uid, $hash) { + $admin = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align` FROM `users` WHERE `id` = "'.$uid.'" LIMIT 1')); + $acces = false; $adimg = ''; + if(isset($admin['id'])) { + if($admin['align'] != 2.99) { + $acces = false; + } else { + if(md5($admin['login'].'|'.$admin['id']) == $hash) { + $acces = true; + } else { + $acces = false; + } + } + } + + $pgs = mysql_fetch_array(mysql_query("SELECT COUNT(`id`) FROM `fontan_wish`")); + $item_per_page = 15; + $allPages = ceil($pgs[0]/$item_per_page); + $page_position = (($p-1) * $item_per_page); + echo ''; + $w = mysql_query("SELECT `id`, `uid`, `time`, `wish` FROM `fontan_wish` ORDER BY `id` DESC LIMIT $page_position, $item_per_page"); + while($pl = mysql_fetch_array($w)) { + if($i == 0) { + $i = 1; $color = '#eeeeee'; + } else { + $i = 0; $color = '#e7e7e7'; + } + if($acces == true) { + $adimg = ' '; + } + $user = login($pl['uid']); + echo ''; + } + echo '
'.$adimg.$user.''.$pl['wish'].'
'; + echo '
'.paginate_function($item_per_page, $p, $pgs[0], $allPages); + unset($pl, $user); +} + +function howMuch() { + $f = mysql_fetch_array(mysql_query('SELECT `value` FROM `variables` WHERE `var` = "fontan_jackpot" LIMIT 1')); + echo $f['value']; +} + +function tryGet($hash, $uid) { + if(isset($hash)) { + if($uid > 0) { + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `money` FROM `users` WHERE `id` = "'.(int)$uid.'" LIMIT 1')); + if(isset($user['id'])) { + if(md5($user['login'].'|'.$user['id']) == $hash) { + $travm = mysql_fetch_array(mysql_query('SELECT `id` FROM `effects` WHERE (`type` = "13" OR `type` = "14") AND `owner` = "'.$user['id'].'" LIMIT 1')); + if(isset($travm['id'])) { + echo ""; + } else { + $rand = mt_rand(80, 100); $r = mt_rand(0, 100); + $jackpot = mysql_fetch_array(mysql_query('SELECT `value` FROM `variables` WHERE `var` = "fontan_jackpot" LIMIT 1')); + $last = mysql_fetch_array(mysql_query('SELECT `id`, `usid`, `money`, `time`, `count` FROM `fountain_game` WHERE `usid` = "'.$user['id'].'" LIMIT 1')); + if($jackpot['value'] > 0) { + if($r == $rand) { + $user['money'] += $jackpot['value']; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `variables` SET `value` = 0 WHERE `var` = "fontan_jackpot" LIMIT 1'); + if(isset($last['id'])) { + $last['money'] += $jackpot['value']; $last['time'] = time(); $last['count'] += 1; + mysql_query('UPDATE `fountain_game` SET `money` = "'.$last['money'].'", `time` = "'.$last['time'].'", `count` = "'.$last['count'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + } else { + mysql_query('INSERT INTO `fountain_game` (`usid`, `time`, `money`, `count`) VALUES ("'.$user['id'].'", "'.time().'", "'.$jackpot['value'].'", "1")'); + } + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', '\"".$user['login']."\" достал монетки из фонтана [$jackpot[value]] кр.', 1, '".time()."')"); + echo ""; + echo ""; + echo mysql_error(); + } else { + add_trv($user['id']); + echo ""; + } + } else { + echo ""; + } + } + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } +} + +function deleteWishs($id, $uid, $hash) { + if($id > 0) { + if($uid > 0) { + if(isset($hash)) { + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align` FROM `users` WHERE `id` = "'.(int)$uid.'" LIMIT 1')); + if(isset($user['id'])) { + if($user['align'] == 2.99) { + if(md5($user['login'].'|'.$user['id']) == $hash) { + $text = mysql_fetch_array(mysql_query('SELECT `id` FROM `fontan_wish` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + if(isset($text['id'])) { + mysql_query('DELETE FROM `fontan_wish` WHERE `id` = "'.$text['id'].'" LIMIT 1'); + echo ""; + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } + } else { + echo ""; + } +} + +if($_GET['do'] == 'load_winers' && $_GET['allList'] == 0) { + echo load_winers(5, $_GET['hash']); +} elseif($_GET['do'] == 'load_winers' && $_GET['allList'] == 1) { + echo load_winers(0, $_GET['hash']); +} elseif($_GET['do'] == 'showPanel') { + echo '
Не более 50 символов. Монетка тоже бросится
Я желаю :
'; +} elseif($_GET['do'] == 'wish') { + echo send_wish($_GET['hash'], $_GET['tekst'], (int)$_GET['uid']); +} elseif($_GET['do'] == 'cureHps') { + echo cureHps($_GET['hash'], (int)$_GET['uid']); +} elseif($_GET['do'] == 'giveCoin') { + echo giveCoin($_GET['hash'], (int)$_GET['uid']); +} elseif($_GET['do'] == 'loadWishs') { + echo loadWishs((int)$_GET['page'], (int)$_GET['uid'], $_GET['hash']); +} elseif($_GET['do'] == 'howMuch') { + echo howMuch(); +} elseif($_GET['do'] == 'tryGet') { + echo tryGet($_GET['hash'], (int)$_GET['uid']); +} elseif($_GET['do'] == 'deleteWishs') { + echo deleteWishs((int)$_GET['id'], (int)$_GET['uid'], $_GET['hash']); +} diff --git a/ajax/rate_ruins.php b/ajax/rate_ruins.php new file mode 100644 index 0000000..39d1e1c --- /dev/null +++ b/ajax/rate_ruins.php @@ -0,0 +1,22 @@ +По уровням : '; + for($i = 7; $i <= 13; $i++) { + if($level == $i) { + $r .= ' ['.$i.']'; + } else { + $r .= ' ['.$i.']'; + } + } + $r .= '
    '; + $sp = mysql_query('SELECT `groups`.*, `winers`.* FROM `group_wins` AS `grou WHERE `level` = "'.(int)$level.'" ORDER BY `id` DESC LIMIT 10'); + $r .= '
'; + $r .= ''; + return $r; +} + +if($_GET['level'] >= 7 && $_GET['level'] <= 13) echo form_rate((int)$_GET['level']); + +$r .= '
  • 04.02.16 06:00 - Победитель : Отряд «Winers ['.$level.']», в составе: The Kite Runner, Costa, Rallo Tabs «История Турнира»
  • '; \ No newline at end of file diff --git a/ajax/update_art.php b/ajax/update_art.php new file mode 100644 index 0000000..7e3b1f3 --- /dev/null +++ b/ajax/update_art.php @@ -0,0 +1,95 @@ + array('cost' => 1500, 'ghp' => 8, 'stat' => 1, 'bron' => 1, 'mf' => 7, 'mindur' => 30, 'minu' => 1, 'maxu' => 1), + 9 => array('cost' => 3500, 'ghp' => 10, 'stat' => 1, 'bron' => 1, 'mf' => 10, 'mindur' => 40, 'minu' => 2, 'maxu' => 2), + 10 => array('cost' => 5000, 'ghp' => 12, 'stat' => 1, 'bron' => 1, 'mf' => 13, 'mindur' => 50, 'minu' => 3, 'maxu' => 3), + 11 => array('cost' => 7500, 'ghp' => 14, 'stat' => 1, 'bron' => 1, 'mf' => 16, 'mindur' => 60, 'minu' => 4, 'maxu' => 4), + 12 => array('cost' => 9000, 'ghp' => 16, 'stat' => 1, 'bron' => 1, 'mf' => 19, 'mindur' => 70, 'minu' => 5, 'maxu' => 5), + 13 => array('cost' => 18000, 'ghp' => 18, 'stat' => 1, 'bron' => 1, 'mf' => 22, 'mindur' => 80, 'minu' => 6, 'maxu' => 6) + ); + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `doblest` FROM `users` WHERE `id` = "'.mysql_real_escape_string($uid).'" LIMIT 1')); + $salt = md5($user['login'].'|'.$user['id']); + if(isset($user['id'])) { + if($_POST['hash'] == $salt) { + $it = (int)$_POST['item']; + $item = mysql_fetch_array(mysql_query('SELECT * FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND `id` = "'.mysql_real_escape_string($it).'" AND `point` > 0 AND `dressed` = 0 LIMIT 1')); + if(isset($item['id']) && ($item['nlevel'] >= 7 && $item['nlevel'] <= 13)) { + $level = $item['nlevel']+1; + if($user['doblest'] >= $arr[$level]['cost']) { + $user['doblest'] -= $arr[$level]['cost']; + mysql_query('UPDATE `users` SET `doblest` = "'.$user['doblest'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + + if($item['type'] != 3) { + $item['ghp'] += $arr[$level]['ghp']; + if($item['bron1'] > 0) { $item['bron1'] += 1; } + if($item['bron2'] > 0) { $item['bron2'] += 1; } + if($item['bron3'] > 0) { $item['bron3'] += 1; } + if($item['bron4'] > 0) { $item['bron4'] += 1; } + if($item['mfkrit'] > 0) { $item['mfkrit'] += sums($item['mfkrit'], $arr[$level]['mf']); } + if($item['mfakrit'] > 0) { $item['mfakrit'] += sums($item['mfakrit'], $arr[$level]['mf']); } + if($item['mfuvorot'] > 0) { $item['mfuvorot'] += sums($item['mfuvorot'], $arr[$level]['mf']); } + if($item['mfauvorot'] > 0) { $item['mfauvorot'] += sums($item['mfauvorot'], $arr[$level]['mf']); } + if($item['gsila'] > 0) { $item['gsila'] += $arr[$level]['stat']; } + if($item['glovk'] > 0) { $item['glovk'] += $arr[$level]['stat']; } + if($item['ginta'] > 0) { $item['ginta'] += $arr[$level]['stat']; } + if($item['gintel'] > 0) { $item['gintel'] += $arr[$level]['stat']; } + } + + if($item['type'] == 3) { + $item['minu'] += $arr[$level]['minu']; $item['maxu'] += $arr[$level]['minu']; + } + + $item['nlevel'] += 1; + + if($item['nsila'] > 0) { $item['nsila'] += 1; } + if($item['nlovk'] > 0) { $item['nlovk'] += 1; } + if($item['ninta'] > 0) { $item['ninta'] += 1; } + if($item['nvinos'] > 0) { $item['nvinos'] += 1; } + if($item['nintel'] > 0) { $item['nintel'] += 1; } + if($item['nnoj'] > 0) { $item['nnoj'] += 1; } + if($item['ntopor'] > 0) { $item['ntopor'] += 1; } + if($item['ndubina'] > 0) { $item['ndubina'] += 1; } + if($item['nmech'] > 0) { $item['nmech'] += 1; } + if($item['maxdur'] < $arr[$level]['mindur']) { $item['maxdur'] = $arr[$level]['mindur']; $item['duration'] = 0; } + mysql_query('UPDATE `inventory` SET `nlevel` = "'.$item['nlevel'].'", `ghp` = "'.$item['ghp'].'", `bron1` = "'.$item['bron1'].'", `bron2` = "'.$item['bron2'].'", `bron3` = "'.$item['bron3'].'", `bron4` = "'.$item['bron4'].'", `mfkrit` = "'.$item['mfkrit'].'", `mfakrit` = "'.$item['mfakrit'].'", `mfuvorot` = "'.$item['mfuvorot'].'", `mfauvorot` = "'.$item['mfauvorot'].'", `gsila` = "'.$item['gsila'].'", `glovk` = "'.$item['glovk'].'", `ginta` = "'.$item['ginta'].'", `gintel` = "'.$item['gintel'].'", `minu` = "'.$item['minu'].'", `maxu` = "'.$item['maxu'].'", `nsila` = "'.$item['nsila'].'", `nlovk` = "'.$item['nlovk'].'", `ninta` = "'.$item['ninta'].'", `nvinos` = "'.$item['nvinos'].'", `nintel` = "'.$item['nintel'].'", `nnoj` = "'.$item['nnoj'].'", `ntopor` = "'.$item['ntopor'].'", `ndubina` = "'.$item['ndubina'].'", `nmech` = "'.$item['nmech'].'", `maxdur` = "'.$item['maxdur'].'", `duration` = "'.$item['duration'].'" WHERE `id` = "'.$item['id'].'" LIMIT 1'); + + ### + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', '\"".$user['login']."\" улучшил предмет: \"".$item['name']."\" id:(".$item['id'].") [$item[duration]/".$item['maxdur']."] за ".$arr[$level]['cost']." реп, до уровня $item[nlevel].', 1, '".time()."')"); + ### + + echo 'success'; + } else { + echo 'Недостаточно репутации для операции ...'; + } + } else { + echo 'Предмет не найден ...'; + } + } else { + echo 'Утеря параметров. Код ошибки: 1001001.'; + } + } else { + echo 'А вы кто ???'; + } + } else { + echo 'Утерян параметр #hash# ...'; + } + } else { + echo 'А вы кто ???'; + } +} else { + echo 'Выберите предмет!'; +} +?> \ No newline at end of file diff --git a/ajax_hostel.php b/ajax_hostel.php new file mode 100644 index 0000000..e69de29 diff --git a/akadem.php b/akadem.php new file mode 100644 index 0000000..dd317d3 --- /dev/null +++ b/akadem.php @@ -0,0 +1,206 @@ += 4){ + if($user['money'] >= 300){ + if( $user['prof3_level'] > 0 && $user['prof3_level'] * ( 86400 * 30 ) + $user['prof3'] < time() ) { + $user['prof3_level'] = 0; + } + $user['prof3'] = time(); + mysql_query("UPDATE `users` set `prof3`='".$user['prof3']."', `money`=`money`-'300', `level` = '".$user['prof3_level']."' WHERE `id`='".$user['id'] ."'"); + echo"Вы получили профессию Наставника!"; + }else{echo"У вас нет 300 КР!";} + }else{echo"Для получения профессии необходим 4 уровень и выше!";} + //}else{echo"Вы уже владеете Гражданской профессией!";} +} + +if($_POST['obrob']){ +if($user['prof1'] == 0){ +if($user['level'] >= 3){ + if($user['money'] >= 300){ +mysql_query("UPDATE `users` set `prof1`='1', `money`=`money`-'300' WHERE `id`='".$user['id'] ."'"); +echo"Вы получили профессию Обробщика!"; +}else{echo"У вас нет 300 КР!";} +}else{echo"Для получения профессии необходим 3 уровень и выше!";} +}else{echo"Вы уже владеете Гражданской профессией!";} + } + + + if($_POST['pala4']){ +if($user['prof2'] == 0){ +if($user['level'] >= 5){ + if($user['money'] >= 700){ +mysql_query("UPDATE `users` set `prof2`='21', `money`=`money`-'700' WHERE `id`='".$user['id'] ."'"); +echo"Вы получили профессию !"; +}else{echo"У вас нет 700 КР!";} +}else{echo"Для получения профессии необходим 5 уровень и выше!";} +}else{echo"Вы уже владеете Боевой профессией!";} + } + + + if($_POST['lekar']){ +if($user['prof2'] == 0){ +if($user['level'] >= 5){ + if($user['money'] >= 700){ +mysql_query("UPDATE `users` set `prof2`='22', `money`=`money`-'700' WHERE `id`='".$user['id'] ."'"); +echo"Вы получили профессию Лекаря!"; +}else{echo"У вас нет 700 КР!";} +}else{echo"Для получения профессии необходим 5 уровень и выше!";} +}else{echo"Вы уже владеете Боевой профессией!";} + } + + if($_GET['exit'] == 1) { + + mysql_query('UPDATE `users`,`online` SET `users`.`room` = 2702, `online`.`room` = 2702 WHERE `users`.`id` = "'.$user['id'].'" AND `online`.`id` = "'.$user['id'].'"'); + header('Location: city.php'); +} + + +?> + + + + + + + + + + + +
    + + + + + + +
    + + +

    АКАДЕМИЯ

    +
    +Боевые Профессии
    Палач
    +'; +} +else{ +echo"Внимание! Вы уже владеете Боевой профессией: "; +if ($user['prof2'] == 21) {echo"Палач!";} +elseif ($user['prof2'] == 22) {echo"Лекарь!";} +} +?> +
    Цена: 700 КР. Необходимый уровень: 5
    Данная профессия позволяет своему владельцем стать наемником. Он сможет принимать заказы на нападения или кровавые нападения по отношению к другим игрокам.
    + +Лекарь
    +'; +} +else{ +echo"Внимание! Вы уже владеете Боевой профессией: "; +if ($user['prof2'] == 21) {echo"Палач!";} +elseif ($user['prof2'] == 22) {echo"Лекарь!";} +} +?> +
    Цена: 700 КР. Необходимый уровень: 5
    С помощью этой профессии вы сможете лечить травмированых игроков, тем самым увеличив свои доходы, благодаря оказанным услугам.
    + +
    +

    + + + + + + + +
    +Гражданские Профессии
    Обробщик
    +'; +} +else{ +echo"Внимание! Вы уже владеете Гражданской профессией: "; +if ($user['prof1'] == 1) {echo"Обробщик!";} +} +?> +
    Цена: 300 КР. Необходимый уровень: 3
    Данная профессия позволяет затачивать урон, модификаторы и броню предметов. Заточка предметов производится в Доме мастеров, зал Обробщика.
    + +Колдун
    +В стадии разработки... +
    Цена: 300 КР. Необходимый уровень: 3
    Колдун может встраивать руны, тем самым увеличивать силу, интуицию, ловкость, выносливость предмета, а также встраивать дополнительное здоровье и ману. Встройка рун производится в Доме мастеров, зал Колдуна.
    +Кузнец
    +В стадии разработки... +
    Цена: 300 КР. Необходимый уровень: 3
    Профессия позволяет создавать предметы более дешевой цены нежели в магазине или вовсе такие, которых не сыскать на прилавках. Создание вещей производится в Доме мастеров, зал Кузнеца.
    +Алхимик
    +В стадии разработки... +
    Цена: 300 КР. Необходимый уровень: 3
    Алхими способны создавать различные свитки и элексиры, в основном такие, которые трудно найти в обычном магазине. Алхимики могут трудиться в Доме мастеров, зал Алхимика.
    + +
    Наставник
    + time() ) || ( $user['prof3'] + 86400 * 30 * $user['prof3_level'] > time() ) ) { + $timeprof3 = $user['prof3']; + if( $user['prof3_level'] > 0 ) { + $timeprof3 += 86400 * 30 * $user['prof3_level']; + }else{ + $timeprof3 += 86400 * 30; + } + $timeprof3 = date('d.m.Y H:i',$timeprof3); + echo 'Лицензия Наставника действительна до '.$timeprof3.''; + echo'
    '; + }else{ + echo''; + } +}else{ + echo"Внимание! Вы уже владеете Гражданской профессией: "; + if ($user['prof3'] == 1) {echo"Наставник!";} +} +?> +
    Цена: 300 КР. Необходимый уровень: 4
    Данная профессия позволяет становиться Наставником новичков и получать репутацию за их достижения.
    + +
    + + + + + +

    +
    + diff --git a/aren_of_angels.php b/aren_of_angels.php new file mode 100644 index 0000000..15f7516 --- /dev/null +++ b/aren_of_angels.php @@ -0,0 +1,214 @@ += 7) { + if($user['hp'] > $user['maxhp']*0.33) { + if($user['align'] != 4) { + if($is_now['time_m'] < (time()+60*60)) { + $bot = mysql_fetch_array(mysql_query('SELECT `id` FROM `bots` WHERE `battle` = "'.$is_now['id'].'" AND `prototype` = "10023" LIMIT 1')); + join_arena($user['id'], $is_now['id'], 2, $bot['id']); + } else { + $error = 'Время истекло ...'; + } + } else { + $error = 'Хаосникам тут не место ...'; + } + } else { + $error = 'Вы слишком ослаблены ...'; + } + } else { + $error = 'Данный вид поединков доступен с 7 уровня ...'; + } + } else { + $error = 'Вы травмированны и не можете принять участие в поединке ...'; + } + } else { + $error = 'Поединок не найден ...'; + } + } else { + $error = 'Не Ваша склонность ...'; + } + } elseif($_GET['append'] == 2) { ##### team 1 + if($al == 2 || $al == 3) { + if(isset($is_now['id'])) { + if(!isset($eff['id'])) { + if($user['level'] >= 7) { + if($user['hp'] > $user['maxhp']*0.33) { + if($user['align'] != 4) { + if($is_now['time_m'] < (time()+60*60)) { + $bot = mysql_fetch_array(mysql_query('SELECT `id` FROM `bots` WHERE `battle` = "'.$is_now['id'].'" AND `prototype` = "10024" LIMIT 1')); + join_arena($user['id'], $is_now['id'], 1, $bot['id']); + } else { + $error = 'Время истекло ...'; + } + } else { + $error = 'Хаосникам тут не место ...'; + } + } else { + $error = 'Вы слишком ослаблены ...'; + } + } else { + $error = 'Данный вид поединков доступен с 7 уровня ...'; + } + } else { + $error = 'Вы травмированны и не можете принять участие в поединке ...'; + } + } else { + $error = 'Поединок не найден ...'; + } + } else { + $error = 'Не Ваша склонность ...'; + } + } +} + +?> + + + 404 + + + + + + +
    Арена Ангелов
    + +
    +
    + + +
    + +
    +
    + +
    .
    Следующая битва для 7-21 ур. состоится :
    + +

    Идет сражение [7-21 уровни]


    ход боя »»
    + + + + + + + + +
    +
    Вмешаться
    +
    + + +
    Вмешаться
    +
    + +
    +
    +
    +
    '.$error.''; } ?>
    + + \ No newline at end of file diff --git a/aren_of_angels2.php b/aren_of_angels2.php new file mode 100644 index 0000000..cf4ee21 --- /dev/null +++ b/aren_of_angels2.php @@ -0,0 +1,214 @@ += 7) { + if($user['hp'] > $user['maxhp']*0.33) { + if($user['align'] != 4) { + if($is_now['time_m'] < (time()+60*60)) { + $bot = mysql_fetch_array(mysql_query('SELECT `id` FROM `bots` WHERE `battle` = "'.$is_now['id'].'" AND `prototype` = "10023" LIMIT 1')); + join_arena($user['id'], $is_now['id'], 2, $bot['id']); + } else { + $error = 'Время истекло ...'; + } + } else { + $error = 'Хаосникам тут не место ...'; + } + } else { + $error = 'Вы слишком ослаблены ...'; + } + } else { + $error = 'Данный вид поединков доступен с 7 уровня ...'; + } + } else { + $error = 'Вы травмированны и не можете принять участие в поединке ...'; + } + } else { + $error = 'Поединок не найден ...'; + } + } else { + $error = 'Не Ваша склонность ...'; + } + } elseif($_GET['append'] == 2) { ##### team 1 + if($al == 2 || $al == 3) { + if(isset($is_now['id'])) { + if(!isset($eff['id'])) { + if($user['level'] >= 7) { + if($user['hp'] > $user['maxhp']*0.33) { + if($user['align'] != 4) { + if($is_now['time_m'] < (time()+60*60)) { + $bot = mysql_fetch_array(mysql_query('SELECT `id` FROM `bots` WHERE `battle` = "'.$is_now['id'].'" AND `prototype` = "10024" LIMIT 1')); + join_arena($user['id'], $is_now['id'], 1, $bot['id']); + } else { + $error = 'Время истекло ...'; + } + } else { + $error = 'Хаосникам тут не место ...'; + } + } else { + $error = 'Вы слишком ослаблены ...'; + } + } else { + $error = 'Данный вид поединков доступен с 7 уровня ...'; + } + } else { + $error = 'Вы травмированны и не можете принять участие в поединке ...'; + } + } else { + $error = 'Поединок не найден ...'; + } + } else { + $error = 'Не Ваша склонность ...'; + } + } +} + +?> + + + 404 + + + + + + +
    Арена Ангелов
    + +
    +
    + + +
    + +
    +
    + +
    .
    Следующая битва для 7-21 ур. состоится :
    + +

    Идет сражение [7-21 уровни]


    ход боя »»
    + + + + + + + + +
    +
    Вмешаться
    +
    + + +
    Вмешаться
    +
    + +
    +
    +
    +
    '.$error.''; } ?>
    + + \ No newline at end of file diff --git a/ashop.php b/ashop.php new file mode 100644 index 0000000..4119ecf --- /dev/null +++ b/ashop.php @@ -0,0 +1,379 @@ +Неправильно введено количество"; + //$good = 0; + } + elseif (($dress['massa']*$_POST['count']+$d[0]) > (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + //$good = 0; + } + elseif($count_ok==1 && ($bank['ekr']>= ($dress['ecost']*$_POST['count'])) && ($dress['count'] >= $_POST['count'])) { + for($k=1;$k<=$_POST['count'];$k++) { + if(mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`artefact`, `koll`) + VALUES + ('{$dress['id']}','{$_SESSION['uid']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['artefact']}', '{$dress['koll']}');")) + { + $good = 1; + } + else { + $good = 0; + } + } + if ($good) { + mysql_query("UPDATE `ashop` SET `count`=`count`-".$_POST['count']." WHERE `id`='".$set."' LIMIT 1;"); + $limit=$_POST['count']; + $invdb = mysql_query("SELECT `id` FROM `inventory` WHERE `name` = '".$dress['name']."' ORDER by `id` DESC LIMIT ".$limit.";" ); + if ($limit == 1) { + $dressinv = mysql_fetch_array($invdb); + $dressid = "cap".$dressinv['id']; + $dresscount=" "; + } + else { + $dressid=""; + while ($dressinv = mysql_fetch_array($invdb)) { + $dressid .= "cap".$dressinv['id'].","; + } + $dresscount="(x".$_POST['count'].") "; + } + $allcost=$_POST['count']*$dress['ecost']; + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."] за ".$allcost." екр. ',1,'".time()."');"); + echo "Вы купили {$_POST['count']} шт. \"{$dress['name']}\"."; + mysql_query("UPDATE `bank` set `ekr`=`ekr`-'".($allcost)."' WHERE `id`='".$_SESSION['bankid']."';"); + $bank['ekr'] -=$allcost; + } + } + else { + echo "Недостаточно денег или нет вещей в наличии."; + } +} +?> + + + + + + + + + + + + + +

    Магазин Берёзка

    + +
    + +
    +
    + Войти в счет
      № +"; +while ($rah = mysql_fetch_array($banks)) { + echo ""; +} +echo ""; +?> +
      Пароль +

    +
    +
    +
    + + + + + + + + + + +
    + +> + + + + +
    + +
    + +Очень щедро дарить что-то самому себе ;)"; + } + elseif ($to['room'] > 500 && $to['room'] < 561) { + echo "Персонаж в данный момент участвует в турнире в Башне Смерти. Попробуйте позже."; + } + else { + if($_POST['from']==1) { $from = 'Аноним'; } + elseif($_POST['from']==2 && $user['klan']) { $from = ' клана '.$user['klan']; } + else { $from = $user['login']; } + if ($to) if(mysql_query("UPDATE `inventory` SET `owner`='".$to['id']."', `present`='".$from."', `letter`='".$_POST['podarok2']."' WHERE `present`='' AND `id`='".$_POST['flower']."' AND `owner`='".$_SESSION['uid']."' AND `dressed`=0 AND `setsale`=0;")) { + $res = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '".$_POST['flower']."' LIMIT 1;")); + $buket_name=$res['name']; + mysql_query("INSERT INTO `delo`(`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','Подарен предмет \"".$res['name']."\" id:(cap".$res['id'].") [".$res['duration']."/".$res['maxdur']."] от \"".$from."\" к \"".$to['login']."\"','1','".time()."');"); + mysql_query("INSERT INTO `delo`(`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','{$to['id']}','Подарен предмет \"".$res['name']."\" id:(cap".$res['id'].") [".$res['duration']."/".$res['maxdur']."] от \"".$from."\" к \"".$to['login']."\"','1','".time()."');"); + if(($_POST['from']==1) || ($_POST['from']==2)) { + $action="подарил"; + mysql_query("INSERT INTO `delo`(`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$to['id']."','Подарен предмет \"".$res['name']."\" id:(cap".$res['id'].") [".$res['duration']."/".$res['maxdur']."] от \"".$user['login']."\" к \"".$to['login']."\"','5','".time()."');"); + } + else { + if ($user['sex'] == 0) { $action="подарила"; } + else { $action="подарил"; } + } + $us = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date`>=".(time()-60)." AND `id` = '".$to['id']."' LIMIT 1;")); + if($us[0]) { + addchp ('Внимание!'.$from.' '.$action.' вам '.$buket_name.'. ','{[]}'.$_POST['to_login'].'{[]}'); + } + else { + // если в офе + mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) values ('".$to['id']."','','".'Внимание!'.$from.' '.$action.' вам '.$buket_name.'. '."');"); + } + echo "Подарок удачно доставлен к \"",$_POST['to_login'],"\""; + } + echo mysql_error(); + } + } +?> + + +
    +"; +showitem ($row); +echo ""; +} +} +?> +
    + +Вы можете сделать подарок дорогому человеку. Ваш подарок будет отображаться в информации о персонаже. +
      +
    1. Укажите логин персонажа, которому хотите сделать подарок
      +Login +
    2. Цель подарка. Будет отображаться в информации о персонаже (не более 60 символов)
      + +
    3. Напишите текст сопроводительной записки (в информации о персонаже не отображается)
      + +
    4. Выберите, от чьего имени подарок:
      +
      + анонимно
      + от имени клана
      +
    5. Нажмите кнопку Подарить под предметом, который хотите преподнести в подарок:
      +
    + + + +"; +showitem ($row); +echo ""; +} +} +?> +
    "; +?> +
    "" value="Подарить"> +
    + +0 AND `razdel`='".$_GET['otdel']."' AND `ecost`>0 ORDER by `ecost` ASC;"); + while($row = mysql_fetch_array($data)) { + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo "
    "; +?> +
    +купить +Купить несколько штук", "")">
    +
    +
    +
    Масса всех ваших вещей: +/
    +У вас в наличии: екр.
    + +
    +
    +
    +
    +
    Отделы магазина
    +Оружие:
    + +     топоры
    +     дубины,булавы
    +     мечи
    +Одежда:
    +     шлемы
    +     тяжелая броня
    +     легкая броня
    +     щиты
    + +     сапоги
    +Ювелирные товары:
    + +     кольца
    +Магия:
    + +     разные
    +Разное:
    + +     букеты
    + +
    +
    + + + diff --git a/backup/logs/battle3259.txt b/backup/logs/battle3259.txt new file mode 100644 index 0000000..bfc5da8 --- /dev/null +++ b/backup/logs/battle3259.txt @@ -0,0 +1 @@ +Часы показывали 2017.02.08 15.16, когда trykster [3] и trykster (Клон 1) [3] бросили вызов друг другу.
    [15:16:42] trykster (Клон 1) думал о <вырезано цензурой>, вследствие чего неустрашимый trykster заблокировал удар лезвием меча по затылку.
    [15:16:42] trykster (Клон 1) засмотрелся на <вырезано цензурой>, а в это время расстроенный trykster , проклиная этот сайт, пробив блок, ударил по коленной чашечке.-21 [93/114]
    [15:16:44] trykster (Клон 1) потерял самоконтроль, вследствие чего храбрый trykster остановил удар тупым лезвием в область левой пятки.
    [15:16:44] trykster (Клон 1) засмотрелся на <вырезано цензурой>, а в это время trykster приложил удар рукоятью меча по левой ягодице -18 [75/114]
    15:16 Комментатор: Куплю импортный проигрыватель грампластинок.
    [15:16:45] trykster поперхнулся, но вдруг trykster (Клон 1) ударил острой стороной меча в промежность -17 [97/114]
    [15:16:45] trykster (Клон 1) растерялся, как вдруг хитрый trykster сдуру вмазал мечом по левой ягодице -20 [55/114]
    [15:16:48] trykster пытался что-то сказать но вдруг, неожиданно жестокий trykster (Клон 1) сдуру вмазал мечом в промежность -16 [81/114]
    [15:16:48] trykster закашлялся, и жестокий trykster (Клон 1) остановил удар острой стороной меча по левой ягодице.
    15:16 Комментатор: <вырезано цензурой> после боя я этих <вырезано цензурой> обоих в <вырезано цензурой> и <вырезано цензурой>
    [15:16:49] trykster (Клон 1) думал о <вырезано цензурой>, вследствие чего trykster заблокировал удар острой стороной меча по затылку.
    [15:16:49] trykster пытался провести удар, но trykster (Клон 1) остановил удар острой стороной меча по левой ягодице.
    [15:16:50] trykster (Клон 1) пытался нанести удар, но trykster отбил удар острой стороной меча в область левой пятки.
    [15:16:50] trykster (Клон 1) пытался что-то сказать но вдруг, неожиданно злобный trykster нехотя уколол рукоятью меча по левой ягодице -19 [36/114]
    [15:16:52] trykster обернулся, как внезапно бесчувственный trykster (Клон 1) нехотя уколол лезвием меча в область лопаток -21 [60/114]
    [15:16:52] trykster закашлялся, и trykster (Клон 1) остановил удар лезвием меча по левой ягодице.
    [15:16:54] trykster (Клон 1) старался провести удар, но злобный trykster отбил удар гардой в область левой пятки.
    [15:16:54] trykster (Клон 1) растерялся, как вдруг храбрый trykster нехотя уколол тупым лезвием по левой ягодице -20 [16/114]
    [15:16:55] trykster (Клон 1) думал не о том, и trykster заблокировал удар гардой в область левой пятки.
    [15:16:55] trykster (Клон 1) ковырялся в зубах, и тут trykster нехотя уколол тупым лезвием по левой ягодице -23 [0/114]
    15:16 trykster (Клон 1) проиграл бой!
    [15:16:55] Бой закончен, победа за trykster
    \ No newline at end of file diff --git a/backup/logs/battle3260.txt b/backup/logs/battle3260.txt new file mode 100644 index 0000000..79b73ab --- /dev/null +++ b/backup/logs/battle3260.txt @@ -0,0 +1 @@ +Часы показывали 2017.02.08 15.43, когда trykster [3] и trykster (Клон 1) [3] бросили вызов друг другу.
    [15:43:34] trykster замешкался, и за это trykster (Клон 1) сдуру вмазал ножнами в область левой пятки -17 [97/114]
    [15:43:34] trykster думал не о том, и мужественный trykster (Клон 1) остановил удар тупым лезвием по желудку.
    15:43 Комментатор: Это поубавит спеси
    [15:43:34] trykster высморкался, и в это время мужественный trykster (Клон 1) сдуру вмазал ножнами в промежность -22 [75/114]
    [15:43:34] trykster (Клон 1) растерялся, как вдруг жестокий trykster, улыбаясь, саданул укол рукоятью меча по левой ягодице -16 [98/114]
    [15:43:35] trykster пришел в себя, но в это время жестокий trykster (Клон 1) нехотя уколол рукоятью меча в область лопаток -18 [57/114]
    [15:43:35] trykster (Клон 1) растерялся, как вдруг мужественный trykster приложил удар огромным мечом по левой ягодице -17 [81/114]
    [15:43:36] trykster (Клон 1) старался провести удар, но храбрый trykster остановил удар рукоятью меча в область левой пятки.
    [15:43:36] trykster (Клон 1) обернулся, как внезапно хитрый trykster, разбежавшись, рубанул рукоятью меча по левой ягодице -18 [63/114]
    [15:43:37] trykster обернулся, как внезапно бесчувственный trykster (Клон 1) приложил удар лезвием меча в промежность -20 [37/114]
    [15:43:37] trykster (Клон 1) поперхнулся, но вдруг расстроенный trykster сдуру вмазал огромным мечом по левой ягодице -18 [45/114]
    [15:43:38] trykster (Клон 1) пытался нанести удар, но неустрашимый trykster отбил удар мечом в область левой пятки.
    [15:43:38] trykster (Клон 1) засмотрелся на <вырезано цензурой>, а в это время мужественный trykster отчаянно проткнул острой стороной меча по левой ягодице -19 [26/114]
    [15:43:40] trykster (Клон 1) думал не о том, и trykster заблокировал удар огромным мечом по затылку.
    [15:43:40] trykster (Клон 1) забылся, и тут бесчувственный trykster приложил удар рукоятью меча по левой ягодице -17 [9/114]
    15:43 Комментатор: За такие бои надо в хаос отправлять!
    [15:43:42] trykster (Клон 1) подскользнулся, и наглый trykster остановил удар мечом по затылку.
    [15:43:42] trykster (Клон 1) поперхнулся, но вдруг trykster , напугав всех, неслышно подойдя сзади ударил по левой ягодице.-36 [0/114]
    15:43 trykster (Клон 1) проиграл бой!
    [15:43:42] Бой закончен, победа за trykster
    \ No newline at end of file diff --git a/backup/logs/battle3261.txt b/backup/logs/battle3261.txt new file mode 100644 index 0000000..516dca8 --- /dev/null +++ b/backup/logs/battle3261.txt @@ -0,0 +1 @@ +Часы показывали 2017.02.08 16.01, когда trykster [3] и trykster (Клон 1) [3] бросили вызов друг другу.
    [16:01:33] trykster растерялся, как вдруг trykster (Клон 1), улыбаясь, саданул укол огромным мечом в промежность -20 [94/114]
    [16:01:33] trykster (Клон 1) пришел в себя, но в это время продвинутый trykster, разбежавшись, рубанул острой стороной меча в правый глаз -17 [97/114]
    [16:01:34] trykster (Клон 1) потерял самоконтроль, вследствие чего trykster заблокировал удар гардой по затылку.
    [16:01:34] trykster пытался провести удар, но расстроенный trykster (Клон 1) заблокировал удар ножнами по левой ягодице.
    16:01 Комментатор: Ого! Научите меня так не делать.
    [16:01:35] trykster растерялся, как вдруг trykster (Клон 1) ударил острой стороной меча в область лопаток -19 [75/114]
    [16:01:35] trykster (Клон 1) пришел в себя, но в это время расстроенный trykster, разбежавшись, рубанул ножнами по левой ягодице -21 [76/114]
    16:01 Комментатор: И пролитая кровь еще пульсирует...
    [16:01:36] trykster (Клон 1) пытался провести удар, но продвинутый trykster отбил удар мечом по затылку.
    [16:01:36] trykster (Клон 1) обернулся, как внезапно trykster, улыбаясь, саданул укол рукоятью меча по левой ягодице -22 [54/114]
    [16:01:38] trykster поперхнулся, но вдруг жестокий trykster (Клон 1) нехотя уколол мечом в промежность -23 [52/114]
    [16:01:38] trykster (Клон 1) пришел в себя, но в это время продвинутый trykster, улыбаясь, саданул укол лезвием меча по левой ягодице -20 [34/114]
    [16:01:39] trykster (Клон 1) пытался нанести удар, но trykster отбил удар ножнами в область левой пятки.
    [16:01:39] trykster думал не о том, и мужественный trykster (Клон 1) отбил удар тупым лезвием по левой ягодице.
    [16:01:40] trykster (Клон 1) подскользнулся, и trykster остановил удар тупым лезвием в область левой пятки.
    [16:01:40] trykster подскользнулся, и trykster (Клон 1) заблокировал удар острой стороной меча по левой ягодице.
    [16:01:41] trykster засмотрелся на <вырезано цензурой>, а в это время наглый trykster (Клон 1) нехотя уколол рукоятью меча в промежность -21 [31/114]
    [16:01:41] trykster (Клон 1) обернулся, как внезапно обезумевший trykster не подумав, рубанул тупым лезвием по левой ягодице -19 [15/114]
    16:01 Комментатор: Сначала учатся ходить, а потом только в драку лезут.
    [16:01:43] trykster (Клон 1) подскользнулся, и жестокий trykster заблокировал удар мечом в область левой пятки.
    [16:01:43] trykster (Клон 1) обернулся, как внезапно разъяренный trykster сдуру вмазал мечом по левой ягодице -21 [0/114]
    16:01 trykster (Клон 1) проиграл бой!
    [16:01:43] Бой закончен, победа за trykster
    \ No newline at end of file diff --git a/backup/logs/battle3262.txt b/backup/logs/battle3262.txt new file mode 100644 index 0000000..8036d40 --- /dev/null +++ b/backup/logs/battle3262.txt @@ -0,0 +1 @@ +Часы показывали 2017.02.08 16.27, когда trykster [3] и trykster (Клон 1) [3] бросили вызов друг другу.
    [16:27:37] trykster (Клон 1) старался провести удар, но trykster отбил удар огромным мечом по затылку.
    [16:27:37] trykster потерял самоконтроль, вследствие чего злобный trykster (Клон 1) отбил удар острой стороной меча в правый глаз.
    16:27 Комментатор: А танцуешь ты лучше.
    [16:27:38] trykster (Клон 1) закашлялся, и бесчувственный trykster остановил удар гардой в область левой пятки.
    [16:27:38] trykster (Клон 1) обернулся, как внезапно мужественный trykster, улыбаясь, саданул укол рукоятью меча по левой ягодице -17 [97/114]
    16:27 Комментатор: А танцуешь ты лучше.
    [16:27:38] trykster (Клон 1) думал не о том, и неустрашимый trykster отбил удар огромным мечом в область левой пятки.
    [16:27:38] trykster (Клон 1) ковырялся в зубах, и тут обезумевший trykster не подумав, рубанул тупым лезвием по левой ягодице -19 [78/114]
    16:27 Комментатор: Убогих развелось...
    [16:27:41] trykster обернулся, как внезапно хитрый trykster (Клон 1), улыбаясь, саданул укол лезвием меча в область лопаток -16 [98/114]
    [16:27:41] trykster (Клон 1) засмотрелся на <вырезано цензурой>, а в это время наглый trykster не подумав, рубанул тупым лезвием по левой ягодице -22 [56/114]
    [16:27:43] trykster (Клон 1) пытался провести удар, но хитрый trykster отбил удар гардой по затылку.
    [16:27:43] trykster потерял самоконтроль, вследствие чего trykster (Клон 1) отбил удар тупым лезвием по левой ягодице.
    [16:27:44] trykster забылся, и тут разъяренный trykster (Клон 1), разбежавшись, рубанул острой стороной меча в промежность -16 [82/114]
    [16:27:44] trykster (Клон 1) думал не о том, и расстроенный trykster ударил огромным мечом по левой ягодице -18 [38/114]
    [16:27:45] trykster высморкался, и в это время мужественный trykster (Клон 1) не подумав, рубанул тупым лезвием в область лопаток -20 [62/114]
    [16:27:45] trykster (Клон 1) растерялся, как вдруг разъяренный trykster нехотя уколол ножнами по левой ягодице -16 [22/114]
    [16:27:48] trykster замешкался, и за это trykster (Клон 1) сдуру вмазал гардой в промежность -17 [45/114]
    [16:27:48] trykster (Клон 1) забылся, и тут мужественный trykster ударил ножнами по левой ягодице -24 [0/114]
    16:27 trykster (Клон 1) проиграл бой!
    [16:27:48] Бой закончен, победа за trykster
    \ No newline at end of file diff --git a/backup/logs/battle3263.txt b/backup/logs/battle3263.txt new file mode 100644 index 0000000..8ba2a95 --- /dev/null +++ b/backup/logs/battle3263.txt @@ -0,0 +1 @@ +Часы показывали 2017.02.08 16.39, когда trykster [3] и trykster (Клон 1) [3] бросили вызов друг другу.
    [16:39:10] trykster забылся, и тут обезумевший trykster (Клон 1) ударил острой стороной меча по затылку -17 [97/114]
    [16:39:10] trykster (Клон 1) пытался что-то сказать но вдруг, неожиданно продвинутый trykster сдуру вмазал тупым лезвием в правый глаз -17 [97/114]
    [16:39:11] trykster забылся, и тут trykster (Клон 1) сдуру вмазал мечом в область лопаток -21 [76/114]
    [16:39:11] trykster старался провести удар, но расстроенный trykster (Клон 1) заблокировал удар ножнами по левой ягодице.
    [16:39:12] trykster обернулся, как внезапно жестокий trykster (Клон 1), улыбаясь, саданул укол острой стороной меча в промежность -16 [60/114]
    [16:39:12] trykster (Клон 1) забылся, и тут обезумевший trykster отчаянно проткнул гардой по левой ягодице -17 [80/114]
    [16:39:13] trykster растерялся, как вдруг расстроенный trykster (Клон 1) отчаянно проткнул ножнами в область лопаток -22 [38/114]
    [16:39:13] trykster (Клон 1) пытался что-то сказать но вдруг, неожиданно наглый trykster не подумав, рубанул ножнами по левой ягодице -20 [60/114]
    16:39 Комментатор: Сначала учатся ходить, а потом только в драку лезут.
    [16:39:15] trykster растерялся, как вдруг наглый trykster (Клон 1) приложил удар гардой в промежность -22 [16/114]
    [16:39:15] trykster (Клон 1) пришел в себя, но в это время храбрый trykster , сказав "БУ!", ласково, пробив блок, ударил по левой ягодице.-17 [43/114]
    [16:39:17] trykster пытался что-то сказать но вдруг, неожиданно trykster (Клон 1), разбежавшись, рубанул ножнами в промежность -20 [0/114]
    [16:39:17] trykster (Клон 1) засмотрелся на <вырезано цензурой>, а в это время жестокий trykster, разбежавшись, рубанул огромным мечом по левой ягодице -18 [25/114]
    16:39 trykster проиграл бой!
    [16:39:17] Бой закончен, победа за trykster (Клон 1)
    \ No newline at end of file diff --git a/backup/logs/battle3264.txt b/backup/logs/battle3264.txt new file mode 100644 index 0000000..f218528 --- /dev/null +++ b/backup/logs/battle3264.txt @@ -0,0 +1 @@ +Часы показывали 2017.02.08 17.08, когда rustem_000 [0] и rustem_000 (Клон 1) [0] бросили вызов друг другу.
    [17:08:26] rustem_000 (Клон 1) думал о <вырезано цензурой>, вследствие чего расстроенный rustem_000 заблокировал удар лбом в промежность.
    [17:08:26] rustem_000 (Клон 1) обернулся, как внезапно rustem_000 , сказав "БУ!", ласково ударил по желудку.-6 [12/18]
    [17:08:28] rustem_000 (Клон 1) думал не о том, и мужественный rustem_000 остановил удар кулаком по затылку.
    [17:08:28] rustem_000 пытался нанести удар, но хитрый rustem_000 (Клон 1) остановил удар ребром руки по левой ягодице.
    [17:08:29] rustem_000 (Клон 1) думал о <вырезано цензурой>, вследствие чего rustem_000 остановил удар ногой по затылку.
    [17:08:29] rustem_000 (Клон 1) замешкался, и за это наглый rustem_000, разбежавшись, рубанул грудью по левой ягодице -4 [8/18]
    [17:08:31] rustem_000 (Клон 1) думал о <вырезано цензурой>, вследствие чего храбрый rustem_000 отбил удар ребром руки по затылку.
    [17:08:31] rustem_000 потерял самоконтроль, вследствие чего rustem_000 (Клон 1) заблокировал удар кулаком по левой ягодице.
    17:08 Комментатор: Кто!? Кто здесь?!
    [17:08:35] rustem_000 думал не о том, и обезумевший rustem_000 (Клон 1), разбежавшись, рубанул лбом в область лопаток -4 [14/18]
    [17:08:35] rustem_000 думал о <вырезано цензурой>, вследствие чего злобный rustem_000 (Клон 1) остановил удар ногой по левой ягодице.
    [17:08:37] rustem_000 обернулся, как внезапно rustem_000 (Клон 1) не подумав, рубанул ногой в промежность -3 [11/18]
    [17:08:37] rustem_000 (Клон 1) пришел в себя, но в это время неустрашимый rustem_000 нехотя уколол ногой по левой ягодице -2 [6/18]
    [17:08:39] rustem_000 (Клон 1) старался провести удар, но злобный rustem_000 остановил удар ребром руки по затылку.
    [17:08:39] rustem_000 пытался нанести удар, но злобный rustem_000 (Клон 1) отбил удар левой ногой по левой ягодице.
    [17:08:41] rustem_000 (Клон 1) подскользнулся, и разъяренный rustem_000 заблокировал удар кулаком в область левой пятки.
    [17:08:41] rustem_000 пытался нанести удар, но rustem_000 (Клон 1) отбил удар грудью по левой ягодице.
    [17:08:42] rustem_000 замешкался, и за это наглый rustem_000 (Клон 1) не подумав, рубанул коленом в промежность -5 [6/18]
    [17:08:42] rustem_000 (Клон 1) ковырялся в зубах, и тут бесчувственный rustem_000 нехотя уколол коленом по левой ягодице -3 [3/18]
    17:08 Комментатор: Мысли лезут в голову изнутри, а удары снаружи.
    [17:08:45] rustem_000 замешкался, и за это продвинутый rustem_000 (Клон 1) приложил удар грудью в область лопаток -2 [4/18]
    [17:08:45] rustem_000 (Клон 1) замешкался, и за это разъяренный rustem_000, разбежавшись, рубанул грудью по левой ягодице -3 [0/18]
    17:08 rustem_000 (Клон 1) проиграл бой!
    [17:08:45] Бой закончен, победа за rustem_000
    \ No newline at end of file diff --git a/backup/logs/battle3265.txt b/backup/logs/battle3265.txt new file mode 100644 index 0000000..551fc21 --- /dev/null +++ b/backup/logs/battle3265.txt @@ -0,0 +1 @@ +Часы показывали 2017.02.08 17.26, когда trykster [3] и trykster (Клон 1) [3] бросили вызов друг другу.
    [17:26:46] trykster пытался что-то сказать но вдруг, неожиданно trykster (Клон 1) нехотя уколол мечом в промежность -17 [97/114]
    [17:26:46] trykster пытался провести удар, но продвинутый trykster (Клон 1) отбил удар гардой в правый глаз.
    [17:26:47] trykster (Клон 1) думал о <вырезано цензурой>, вследствие чего злобный trykster заблокировал удар огромным мечом по затылку.
    [17:26:47] trykster (Клон 1) поперхнулся, но вдруг продвинутый trykster отчаянно проткнул рукоятью меча по левой ягодице -20 [94/114]
    [17:26:48] trykster (Клон 1) подскользнулся, и хитрый trykster отбил удар рукоятью меча в область левой пятки.
    [17:26:48] trykster пытался нанести удар, но храбрый trykster (Клон 1) остановил удар рукоятью меча по левой ягодице.
    [17:26:49] trykster (Клон 1) старался провести удар, но бесчувственный trykster отбил удар рукоятью меча по затылку.
    [17:26:49] trykster пытался нанести удар, но злобный trykster (Клон 1) заблокировал удар рукоятью меча по левой ягодице.
    [17:26:50] trykster (Клон 1) подскользнулся, и неустрашимый trykster отбил удар тупым лезвием по затылку.
    [17:26:50] trykster (Клон 1) растерялся, как вдруг хитрый trykster приложил удар рукоятью меча по левой ягодице -22 [72/114]
    [17:26:50] trykster (Клон 1) старался провести удар, но наглый trykster заблокировал удар рукоятью меча по затылку.
    [17:26:50] trykster (Клон 1) ковырялся в зубах, и тут хитрый trykster, разбежавшись, рубанул гардой по левой ягодице -19 [53/114]
    [17:26:51] trykster пришел в себя, но в это время продвинутый trykster (Клон 1) нехотя уколол ножнами в промежность -21 [76/114]
    [17:26:51] trykster (Клон 1) поперхнулся, но вдруг храбрый trykster ударил лезвием меча по левой ягодице -21 [32/114]
    [17:26:52] trykster (Клон 1) закашлялся, и храбрый trykster отбил удар рукоятью меча в область левой пятки.
    [17:26:52] trykster пытался провести удар, но жестокий trykster (Клон 1) остановил удар ножнами по левой ягодице.
    [17:26:52] trykster (Клон 1) подскользнулся, и trykster заблокировал удар лезвием меча в область левой пятки.
    [17:26:52] trykster думал о <вырезано цензурой>, вследствие чего trykster (Клон 1) отбил удар рукоятью меча по левой ягодице.
    [17:26:53] trykster замешкался, и за это trykster (Клон 1) приложил удар огромным мечом в область лопаток -16 [60/114]
    [17:26:53] trykster (Клон 1) пытался что-то сказать но вдруг, неожиданно хитрый trykster приложил удар мечом по левой ягодице -23 [9/114]
    [17:26:54] trykster (Клон 1) думал о <вырезано цензурой>, вследствие чего trykster отбил удар ножнами в область левой пятки.
    [17:26:54] trykster старался провести удар, но расстроенный trykster (Клон 1) заблокировал удар тупым лезвием по левой ягодице.
    17:26 Комментатор: (тревожно озираясь) я вам по секрету скажу... за вами наблюдают!
    [17:26:56] trykster пытался что-то сказать но вдруг, неожиданно неустрашимый trykster (Клон 1), разбежавшись, рубанул гардой в область лопаток -19 [41/114]
    [17:26:56] trykster (Клон 1) забылся, и тут храбрый trykster не подумав, рубанул огромным мечом по левой ягодице -22 [0/114]
    17:26 trykster (Клон 1) проиграл бой!
    [17:26:56] Бой закончен, победа за trykster
    \ No newline at end of file diff --git a/bank.balans.php b/bank.balans.php new file mode 100644 index 0000000..7ba7c63 --- /dev/null +++ b/bank.balans.php @@ -0,0 +1,43 @@ + diff --git a/bank.php b/bank.php new file mode 100644 index 0000000..f74aa8d --- /dev/null +++ b/bank.php @@ -0,0 +1,912 @@ +"; + while ($rah = mysql_fetch_array($banks)) { + echo ""; + } + echo ""; +} + +?> + + + + + + + + +'.$error.''; ?> + + + + + +
    + Cчет № + + Выйти из банка +
    +\r\n"; + $headers = trim($headers); + $headers = stripslashes($headers); + + $aa='Востановление пароля + + Добрый день '.$user['realname'].'.
    + Вами было запрошено востановление пароля для счета '.$_POST['id'].' c IP адреса - '.$ipclient.', если это были не Вы, просто удалите это письмо.
    +
    + ------------------------------------------------------------------
    + Ваш № счета | '.$_POST['id'].'
    + Новый пароль | '.$newpass.'
    + ------------------------------------------------------------------
    +

    +

    Для подтверждения нового пароля пройдите по ссылке ниже.


    + Востановление пароля +
    + Если вы не восстановите пароль до '.date("d-M-Y", $lasttime) .' 00:00, ссылка будет неактивной. +
    + Отвечать на данное письмо не нужно. + + '; + + mail($user['email'],"Востановление банковского счета, для пользователя - ".$user['login'],$aa,$headers); + echo "

    Пароль отправлен Вам на почту.

    "; + die(); + } + else { + echo "

    Сегодня пароль уже высылался.
    Проверьте почту

    "; + die(); + } +} + +if ($_POST['repasswd']) { + ?> + Для востановления пароля необходимо:
    • 1) Выбрать счет.
    • 2) Нажать кнопочку восстановить.
    Вам будет выслано письмо на email, указанный при регистрации, с новым паролем.


    +
    Выберите счет:
    + = 0.5) { + if(mysql_query("INSERT INTO `bank` (`pass`,`owner`) values ('".md5($_POST['rpass2'])."','".$user['id']."');")) { + $sh_num=mysql_insert_id(); + err('Ваш номер счета: '.mysql_insert_id().', запишите.'); + mysql_query("UPDATE users SET `money` = (`money`-0.5) WHERE id='".$user['id']."' LIMIT 1;"); + mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','".$user['login']." открыл счет №".$sh_num." в банке. ',1,'".time()."');"); + mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','".$user['login']." заплатил за открытие счета в банке 0.5 кр. ',1,'".time()."');"); + } + else { + err('Техническая ошибка'); + } + } else { + err('Недостаточно денег'); + } + } else { + err('Не совпадают пароли'); + } + } +?> + + + + + + + + + + + + +
    +
      + + + + + + + + + + +

    +
    +

    Открыть новый счет

    + + + + + + + + + + + + + + + +
    Стоимость 0.5 кр.
    Пароль
    Еще раз
    +
    +
    +
    +

    Войти в счет

    + + + + + + + +
    +№ +
    Пароль +
    + +
    + +
    +
    +
    +
    +

    Восстановить пароль

    + + + + + + + + + +
    +Выберите счет:
    +
    +
    + + +
    +Вам будет выслано письмо на email,
    указанный при регистрации,
    с новым паролем.
    +
    + +
    +


    + +0) && ($_POST['ik'] <= $user['money'])) { + $user['money'] -= $_POST['ik']; + if (mysql_query("UPDATE `users` SET `money`=`money`-'".$_POST['ik']."' WHERE `id`=".$user['id']." LIMIT 1;")) { + $mywarn = "Деньги удачно положены на счет"; + mysql_query("UPDATE `bank` SET `cr`=`cr`+'".$_POST['ik']."' WHERE `id`=".$_SESSION['bankid']." LIMIT 1;"); + mysql_query("INSERT INTO `delo`(`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','Персонаж ".$user['login']." положил на свой счет №".$_SESSION['bankid']." ".$_POST['ik']." кр. ',1,'".time()."');"); + } + else { + $mywarn="Произошла ошибка!"; + } + } + else { + $mywarn="У вас недостаточно денег для выполнения операции"; + } + $_POST['in']=0; + } + $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`=".$_SESSION['bankid'].";")); + if($_POST['out'] && $_POST['ok']) { + $_POST['ok'] = round($_POST['ok'],2); + if (is_numeric($_POST['ok']) && ($_POST['ok']>0) && ($_POST['ok'] <= $bank['cr'])) { + $user['money'] += $_POST['ok']; + if (mysql_query("UPDATE `users` SET `money`=`money`+'".$_POST['ok']."' WHERE `id`='".$user['id']."' LIMIT 1;")) { + $mywarn="Деньги удачно сняты со счета"; + mysql_query("UPDATE `bank` SET `cr`=`cr`-'".$_POST['ok']."' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;"); + $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';")); + mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','Персонаж ".$user['login']." снял со своего счета №".$_SESSION['bankid']." ".$_POST['ok']." кр.',1,'".time()."');"); + } + else { + $mywarn="Произошла ошибка!"; + } + } + else { + $mywarn="У вас недостаточно денег на счету для выполнения операции"; + } + $_POST['out']=0; + } + +if($_POST['sales'] && $_POST['count_ekr']) { + if(isset($bank['id'])) { + $cnt = round($_POST['count_ekr'], 2); + if($cnt <= 0.4) { + err('Минимальная сумма: 0.5 екр'); + } elseif($bank['ekr'] < $cnt) { + err('Недостаточно средств ...'); + } elseif($user['align'] == 4) { + err('Персонажи с заклятием хаоса, не могут выписывать чеки ...'); + } else { + bank_check(1123, 'shop', null, null, 0, $user['id'], 'Банковский чек на '.$cnt.' еврокредитов', $cnt); + $bank['ekr'] -= $cnt; + mysql_query('UPDATE `bank` SET `ekr` = "'.$bank['ekr'].'" WHERE `id` = "'.$bank['id'].'" LIMIT 1'); + err('Чек на сумму : '.$cnt.' екр., появится у Вас в инвентаре ...'); + } + } else { + err('Банковский счёт, не найден ...'); + } +} + +if($_POST['new_login']) { + if($bank['ekr'] >= $cost_login) { + $login = $_POST['change_login']; + $usid = mysql_fetch_array(mysql_query('SELECT `id`, `login` FROM `users` WHERE `login` = "'.mysql_real_escape_string($login).'" LIMIT 1')); + $fail = 0; + + if(strlen($login) < 2) { + $error .= '
  • Логин должен содержать не менее 2 символов

  • '; + $fail = 1; + } + + if(strlen($login) > 20) { + $error .= '
  • Логин должен содержать не более 20 символов

  • '; + $fail = 1; + } + + if($usid['id'] != null) { + $error .= '
  • Пользователь '.$login.' уже зарегистрирован

  • '; + $fail = 1; + } + + $sr = '_-йцукенгшщзхъфывапролджэячсмитьбюё1234567890'; + $ru = 'УЕЫАОЭЯИЮЁЙЦКНГШЩЗХЪФВПРЛДЖЧСМТЬБ'; + $en = 'EYUIOAQWRTPSDFGHJKLZXCVBNM'; + $is_rus = 0; + $is_eng = 0; + + + for($i = 0; $i < strlen($ru); $i++) { + if(strpos(strtoupper($login), $ru[$i]) > -1) { + $is_rus++; + } + } + + for($i = 0; $i < strlen($en); $i++) { + if(strpos(strtoupper($login), $en[$i]) > -1) { + $is_eng++; + } + } + + if(($is_rus > 0) && ($is_eng > 0)) { + $error .= '
  • Имя может состоять только из букв русского алфавита или только из букв англиского алфавита

  • '; + $fail = 1; + } else { + if($is_eng) { + $s = $en; + $sogl = substr($en, 6); + } else { + $s = $ru; + $sogl = substr($ru, 10); + } + $ps = -1; + $p = 0; + $blacklist = "ЬЪ!@#$%^&*()"; + $blackwordlist = "хуй,пизд,сук,бля"; + $words = 0; + $splits = '-_ '; + + for($i = 0; $i < strlen($login); $i++) { + if(strpos($s, $login[$i]) > -1) { + if(!$p && $i == $ps + 1) { + $p = 1; + $words++; + $lwords[$words] .= $login[$i]; + } elseif($p == 2 && $i > $ps + 1) { + $error = '
  • Имя не может содержать заглавную букву после обычной

  • '; + $fail = 1; + break; + } + } elseif(strpos(strtolower($s), $login[$i]) > -1) { + if(!$p && $i == $ps + 1) { + $words++; + } + $lwords[$words] .= $login[$i]; + $p = 2; + } elseif(strpos($splits, $login[$i]) > -1) { + if($ps == $i - 1) { + $error .= '
  • Не может быть два и более разделителя подряд, также имя не может с них начинаться

  • '; + $fail = 1; + break; + } + $ps = $i; + $p = 0; + } elseif(strpos($sr, $login[$i])) { + + } else { + $error .= '
  • Логин содержит запрещенные символы

  • '; + $fail = 1; + break; + } + } + unset($blacklist, $p, $ps, $rep, $repsogl, $s, $sogl, $is_eng, $is_rus); + + $bwl = explode(",", strtoupper($blackwordlist)); + for($i = 0; $i < count($bwl); $i++) { + if(strpos(strtoupper($login), $bwl[$i]) > -1) { + $error .= '
  • Логин содержит запрещенные слова

  • '; + $fail = 1; + break; + } + } + if($words > 3) { + $error .= '
  • Логин не должен содержать более трех слов

  • '; + $fail = 1; + } + unset($blackwordslist, $bwl); + } + if($fail == 0) { + $user['login'] = mysql_real_escape_string($login); $bank['ekr'] -= $cost_login; + mysql_query('UPDATE `users` SET `login` = "'.$user['login'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `bank` SET `ekr` = "'.$bank['ekr'].'" WHERE `id` = "'.$bank['id'].'" LIMIT 1'); + err('Ваш новый логин "'.$user['login'].'". Поздравляем!'); + } else { + err($error); + } + } else { + err('Недостаточно средств ...'); + } +} + +if($_POST['saled'] && $_POST['coste']) { + $item = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `bcost` FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND `id` = "'.mysql_real_escape_string($_POST['coste']).'" LIMIT 1')); + if(isset($item['id'])) { + if($item['bcost'] > 0) { + mysql_query('DELETE FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND `id` = "'.$item['id'].'" LIMIT 1'); + $bank['ekr'] += $item['bcost']; + mysql_query('UPDATE `bank` SET `ekr` = "'.$bank['ekr'].'" WHERE `id` = "'.$bank['id'].'" LIMIT 1'); + err($item['name'].', успешно обналичен ...'); + } else { + err('Это не чек ...'); + } + } else { + err('Чек, не найден ...'); + } +} + + + if($_POST['change'] && $_POST['ok']) { + $_POST['ok'] = round($_POST['ok'],2); + if (is_numeric($_POST['ok']) && ($_POST['ok']>0) && ($_POST['ok'] <= $bank['ekr'])) { + $bank['cr'] += $_POST['ok'] * 100; + $bank['ekr'] -= $_POST['ok']; + $add_money=$_POST['ok'] * 100; + if (mysql_query("UPDATE `bank` SET `cr`=`cr`+'$add_money' WHERE `id`='".$bank['id']."' LIMIT 1;")) { + $mywarn="Обмен произведен успешно"; + mysql_query("UPDATE `bank` SET `ekr`=`ekr`-'".$_POST['ok']."' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;"); + $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';")); + mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','Персонаж ".$user['login']." обменял ".$_POST['ok']." екр. на ".$add_money." кр. на счету №".$_SESSION['bankid']." в банке. ',1,'".time()."');"); + } + else { + $mywarn="Произошла ошибка!"; + } + } + else { + $mywarn="У вас недостаточно денег на валютном счету для выполнения операции"; + } + $_POST['change']=0; + } + if($_POST['changeback'] && $_POST['ok']) { + $_POST['ok'] = round($_POST['ok'],2); + if (is_numeric($_POST['ok']) && ($_POST['ok']>0) && ($_POST['ok'] <= $bank['cr'])) { + $bank['cr'] -= $_POST['ok']; + $bank['ekr'] += $_POST['ok'] / 500; + $add_ekr=$_POST['ok'] / 500; + if (mysql_query("UPDATE `bank` SET `cr`=`cr`-'".$_POST['ok']."' WHERE `id`='".$bank['id']."' LIMIT 1;")) { + $mywarn="Обмен произведен успешно"; + mysql_query("UPDATE `bank` SET `ekr`=`ekr`+'$add_ekr' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;"); + $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';")); + mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','Персонаж ".$user['login']." обменял ".$_POST['ok']." кр. на ".$add_ekr." екр. на счету №".$_SESSION['bankid']." в банке. ',1,'".time()."');"); + } + else { + $mywarn="Произошла ошибка!"; + } + } + else { + $mywarn="У вас недостаточно денег для выполнения операции"; + } + $_POST['changeback']=0; + } + if($_GET['dropm']) { + if (2 <= $bank['ekr']) { + undressall($user['id']); + if (mysql_query("UPDATE `users` SET `master`=noj+mec+topor+dubina+mfire+mwater+mair+mearth+mlight+mgray+mdark+master,noj=0,mec=0,topor=0,dubina=0,mfire=0,mwater=0,mair=0,mearth=0,mlight=0,mgray=0,mdark=0 WHERE `id`='".$user['id']."' LIMIT 1;")) { + mysql_query("UPDATE `bank` SET `ekr`=`ekr`-'2' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;"); + mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','".$user['login']." перераспределил умения, заплатив 2 екр. со счета №".$_SESSION['bankid']." в банке. ',1,'".time()."');"); + $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';")); + $mywarn="Все прошло удачно. Вы можете перераспределить умения."; + } + else { + $mywarn="Произошла ошибка!"; + } + } + else { + $mywarn="У вас недостаточно денег на валютном счету для выполнения операции"; + } + $_GET['dropm']=0; + } + + if($_GET['dropst']) { + $travma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner`='".$user['id']."' and (`type`=11 or `type`=12 or `type`=13 or `type`=14) order by `type` desc limit 1;")); + if ($travma['type']) { + $mywarn = "Невозможно сбрасывать статы находясь в травме!"; + } else { + undressall($user['id']); + $user1 = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id`='".$user['id']."' LIMIT 1;")); + $svstats=$user1['sila'] + $user1['lovk'] + $user1['inta'] + $user1['vinos'] + $user1['intel'] + $user1['mudra'] - 12 - $user1['level']; + if ($svstats <= $bank['ekr']) { + $exps = array( "20" => array (15), + "45" => array (16), + "75" => array (17), + "110" => array (18), + "160" => array (21), + "215" => array (22), + "280" => array (23), + "350" => array (24), + "410" => array (25), + "530" => array (28), + "670" => array (29), + "830" => array (30), + "950" => array (31), + "1100" => array (32), + "1300" => array (33), + "1450" => array (36), + "1650" => array (37), + "1850" => array (38), + "2050" => array (39), + "2200" => array (40), + "2500" => array (41), + "2900" => array (46), + "3350" => array (47), + "3800" => array (48), + "4200" => array (49), + "4600" => array (50), + "5000" => array (51), + "6000" => array (54), + "7000" => array (55), + "8000" => array (56), + "9000" => array (57), + "10000" => array (58), + "11000" => array (59), + "12000" => array (60), + "12500" => array (61), + "14000" => array (64), + "15500" => array (65), + "17000" => array (66), + "19000" => array (67), + "21000" => array (68), + "23000" => array (69), + "26000" => array (70), + "30000" => array (71), + "60000" => array (76), + "75000" => array (77), + "150000" => array (78), + "175000" => array (79), + "200000" => array (80), + "225000" => array (81), + "250000" => array (82), + "260000" => array (83), + "280000" => array (84), + "300000" => array (85), + "1500000" => array (86), + "1750000" => array (87), + "2000000" => array (88), + "2175000" => array (89), + "2300000" => array (90), + "2400000" => array (91), + "2500000" => array (92), + "2600000" => array (93), + "2800000" => array (94), + "3000000" => array (95), + "6000000" => array (96), + "6500000" => array (97), + "7500000" => array (98), + "8500000" => array (99), + "9000000" => array (100), + "9250000" => array (101), + "9500000" => array (102), + "9750000" => array (103), + "9900000" => array (104), + "10000000" => array (105), + "13000000" => array (106), + "14000000" => array (107), + "15000000" => array (108), + "16000000" => array (109), + "17000000" => array (110), + "17500000" => array (111), + "18000000" => array (112), + "19000000" => array (113), + "19500000" => array (114) ); + echo "
    ";
    +      $ss = mysql_query("select `id`,`nextup`,`level` FROM `users` WHERE `level` > 0 AND `level` < 8 AND id='".$user['id']."';");
    +      $errdo=0;
    +      while($ssd=mysql_fetch_array($ss)) {
    +        undressall($ssd['id']);
    +        if (!mysql_query( "UPDATE `users` SET `sila`='3',`lovk`='3',`inta`='3',`vinos`='".(3+$ssd['level'])."',`intel`='0',`fkrit`='0',`fakrit`='0',`fuvorot`='0',`fauvorot`='0',`stats`='".($exps[$ssd['nextup']][0]-12)."' WHERE `id`='".$ssd['id']."';")) $errdo=1;
    +      }
    +      if ($errdo==0) {
    +        mysql_query("UPDATE `bank` SET `ekr`=`ekr`-'".$svstats."' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;");
    +        mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','".$user['login']." перераспределил статы, заплатив ".$svstats." екр. со счета №".$_SESSION['bankid']." в банке. ',1,'".time()."');");
    +        $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';"));
    +        $mywarn="Все прошло удачно. Вы можете перераспределить статы.";
    +      }
    +      else {
    +        $mywarn="Произошла ошибка! Обратитесь к палладинам.";
    +      }
    +
    +      $vinos=$user1['level']+3;
    +      $hp=$vinos*6;
    +      if (mysql_query("UPDATE `users` SET `stats`='".$svstats."',lovk=3,sila=3,inta=3,vinos='".$vinos."',hp='".$hp."',maxhp='".$hp."',intel=0,mudra=0 WHERE `id`='".$user['id']."' LIMIT 1;")) {
    +        mysql_query("UPDATE `bank` SET `ekr`=`ekr`-'".$svstats."' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;");
    +        mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','".$user['login']." перераспределил статы, заплатив ".$svstats." екр. со счета №".$_SESSION['bankid']." в банке. ',1,'".time()."');");
    +        $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';"));
    +
    +        $mywarn="Все прошло удачно. Вы можете перераспределить статы.";
    +
    +      }
    +      else {
    +        $mywarn="Произошла ошибка!";
    +      }
    +    }
    +    else {
    +      $mywarn="У вас недостаточно денег на валютном счету для выполнения операции";
    +    }
    +  }
    +  $_GET['dropst']=0;
    +}
    +
    +if($_GET['dropsh']) {
    +  if (1 <= $bank['ekr']) {
    +    if (mysql_query("UPDATE `users` SET `shadow`='0.gif' WHERE `id`='".$user['id']."' LIMIT 1;")) {
    +      mysql_query("UPDATE `bank` SET `ekr`=`ekr`-'1' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;");
    +      mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','".$user['login']." сменил образ, заплатив 1 екр. со счета №".$_SESSION['bankid']." в банке. ',1,'".time()."');");
    +      $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';"));
    +      $mywarn="Все прошло удачно. Вы можете выбрать новый образ персонажа.";
    +    }
    +    else {
    +      $mywarn="Произошла ошибка!";
    +    }
    +  }
    +  else {
    +    $mywarn="У вас недостаточно денег на валютном счету для выполнения операции";
    +  }
    +  $_GET['dropsh']=0;
    +}
    +
    +if($_GET['unset_align']) {
    +  $var = mysql_fetch_array(mysql_query('SELECT `name` FROM `aligns` WHERE `align` = "'.$user['align'].'" LIMIT 1'));
    +  if($bank['ekr'] >= 5) {
    +    if($user['align'] > 0) {
    +      if($user['klan'] == '') {
    +        if($user['align'] != 4 && $user['align'] != 2.99) {
    +          $bank['ekr'] -= 5;
    +          mysql_query('UPDATE `users` SET `align` = "0" WHERE `id` = "'.$user['id'].'" LIMIT 1');
    +          mysql_query('UPDATE `bank` SET `ekr` = "'.$bank['ekr'].'" WHERE `id` = "'.$bank['id'].'" LIMIT 1');
    +          mysql_query('INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ("0", "'.$user['id'].'", "'.$user['login'].' отказался от склонности ('.$var['name'].') за 5 екр со счёта #'.$bank['id'].'", "1", "'.time().'")');
    +          $mywarn = "Все прошло удачно. Вы отказались от склонности ...";
    +        } else {
    +          $mywarn = "Данную склонность нельзя снять ...";
    +        }
    +      } else {
    +        $mywarn = "Нельзя отказаться от склонности находясь в клане ...";
    +      }
    +    } else {
    +      $mywarn = "У Вас нет склонности ...";
    +    }
    +  } else {
    +    $mywarn = "Недостаточно средств ...";
    +  }
    +  $_GET['unset_align'] = 0;
    +}
    +
    +if($_GET['setskltemn']) {
    +  if (50 <= $bank['ekr']) {
    +    if (mysql_query("UPDATE `users` SET `align`='3' WHERE `id`='".$user['id']."' LIMIT 1;")) {
    +      $user['align'] = 3;
    +      mysql_query("UPDATE `bank` SET `ekr`=`ekr`-'50' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;");
    +      mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','".$user['login']." купил темную склонность за 50 екр. со счета №".$_SESSION['bankid']." в банке. ',1,'".time()."');");
    +      $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id` = ".$_SESSION['bankid'].";"));
    +      $mywarn="Склонность успешно присвоена.";
    +    }
    +    else {
    +      $mywarn="Произошла ошибка!";
    +    }
    +  }
    +  else {
    +    $mywarn="У вас недостаточно денег на валютном счету для выполнения операции";
    +  }
    +  $_GET['setskltemn']=0;
    +}
    +
    +if($_GET['setsklneytr']) {
    +  if (50 <= $bank['ekr']) {
    +    if (mysql_query("UPDATE `users` SET `align`='2' WHERE `id`='".$user['id']."' LIMIT 1;")) {
    +      $user['align'] = 2;
    +      mysql_query("UPDATE `bank` SET `ekr`=`ekr`-'50' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;");
    +      mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','".$user['login']." купил нейтральную склонность за 50 екр. со счета №".$_SESSION['bankid']." в банке. ',1,'".time()."');");
    +      $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';"));
    +      $mywarn="Склонность успешно присвоена.";
    +    }
    +    else {
    +      $mywarn="Произошла ошибка!";
    +    }
    +  }
    +  else {
    +    $mywarn="У вас недостаточно денег на валютном счету для выполнения операции";
    +  }
    +  $_GET['setsklneytr']=0;
    +}
    +
    +if($_GET['setsvet']) {
    +  if(50 <= $bank['ekr']) {
    +    if(mysql_query("UPDATE `users` SET `align` = '6' WHERE `id` = '".$user['id']."' LIMIT 1")) {
    +      $user['align'] = 6;
    +      mysql_query("UPDATE `bank` SET `ekr` = `ekr`-'50' WHERE `id` = '".$_SESSION['bankid']."' LIMIT 1");
    +      mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '".$_SESSION['uid']."', '".$user['login']." купил светлую склонность за 50 екр. со счета №".$_SESSION['bankid']." в банке. ',1,'".time()."');");
    +      $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id` = ".$_SESSION['bankid'].";"));
    +      $mywarn = "Склонность успешно присвоена.";
    +    } else {
    +      $mywarn = "Произошла ошибка!";
    +    }
    +  } else {
    +    $mywarn = "У вас недостаточно денег на валютном счету для выполнения операции";
    +  }
    +  $_GET['setsvet'] = 0;
    +}
    +
    +if($_POST['wu'] && $_POST['sum'] && $_POST['number']) {
    +  if ($user['align'] == 4) {
    +    $mywarn="Хаосникам переводы запрещены!";
    +  }
    +  else {
    +    $bank2 = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_POST['number']."';"));
    +    $to = mysql_fetch_array(mysql_query("SELECT login FROM `users` WHERE `id`='".$bank2['owner']."';"));
    +    if($bank2[0]) {
    +      $_POST['sum'] = round($_POST['sum'],2);
    +      if (is_numeric($_POST['sum']) && ($_POST['sum']>0)) {
    +        $nalog=round($_POST['sum']*0.03);
    +        if ($nalog < 1) {$nalog=1; }
    +        $new_sum=$_POST['sum']+$nalog;
    +        if ($new_sum <= $bank['cr']) {
    +          if (mysql_query("UPDATE `bank` SET `cr`=`cr`-'".$new_sum."' WHERE `id`='".$_SESSION['bankid']."' LIMIT 1;")) {
    +            mysql_query("UPDATE `bank` SET `cr`=`cr`+'".$_POST['sum']."' WHERE `id`='".$_POST['number']."' LIMIT 1;");
    +            $bank = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id`='".$_SESSION['bankid']."';"));
    +            mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$_SESSION['uid']."','Персонаж ".$user['login']." перевел со своего банковского счета №".$_SESSION['bankid']." на счет №".$_POST['number']." к персонажу ".$to['login']." ".$_POST['sum']." кр. Дополнительно снято ".$nalog." кр. за услуги банка ',1,'".time()."');");
    +            mysql_query("INSERT INTO `delo` (`id`,`author`,`pers`,`text`,`type`,`date`) VALUES ('','0','".$bank2['owner']."','Персонаж ".$user['login']." перевел со своего банковского счета №".$_SESSION['bankid']." на счет №".$_POST['number']." к персонажу ".$to['login']." ".$_POST['sum']." кр. Дополнительно снято ".$nalog." кр. за услуги банка ',1,'".time()."');");
    +            $sum=$_POST['sum'];
    +            $schet=$_POST['number'];
    +            $mywarn="$sum кр. успешно переведены на счет № $schet";
    +          }
    +          else {
    +            $mywarn="Произошла ошибка!";
    +          }
    +        }
    +        else {
    +          $mywarn="У вас недостаточно денег на счету для выполнения операции";
    +        }
    +      }
    +      else {
    +        $mywarn="У вас недостаточно денег на счету для выполнения операции";
    +      }
    +    }
    +    else {
    +      $mywarn="Данные о счете получателя не найдены.";
    +    }
    +  }
    +  $_POST['wu']=0;
    +}
    +
    +print "
     $mywarn
    "; +?> + +
    + Денежные средства + Кредитов на руках: кр.
    + Кредитов на счету: кр.
    + Еврокредитов на счету: екр.
    + + + +
    +
    + +
    + Выписать чек + Услуга "чек на предъявителя". Вы выписываете екровый чек, который затем сможет обналичить любой персонаж.
    +
    + Сумма (екр): +
    +
    +
    + Обналичить чек + В нашем банке мы принимаем к погашению екровые чеки на предъявителя. +
    + +
    +
    + +
    + Перевод кредитов +
    + + + +
    Количество кредитов
    Cчёт получателя
    +
    + + + +
    + + + + diff --git a/blog.log b/blog.log new file mode 100644 index 0000000..6fd01f6 --- /dev/null +++ b/blog.log @@ -0,0 +1,9 @@ +: +: +Array: +Array: +0: +0: +0: +0: +0: diff --git a/boloto.php b/boloto.php new file mode 100644 index 0000000..df6cf4a --- /dev/null +++ b/boloto.php @@ -0,0 +1,867 @@ +=2001 && $user['room']<=2100){ +if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + + +$VaultInfo = mysql_fetch_array(mysql_query("SELECT * FROM `vault` WHERE id='".mysql_real_escape_string($user['room'])."'")); +$group = mysql_fetch_array(mysql_query("SELECT * FROM `bol_group` WHERE id='".mysql_real_escape_string($user['boloto_groups'])."'")); +$bol_res = mysql_fetch_array(mysql_query("SELECT * FROM `vault_res` WHERE id='".mysql_real_escape_string($user['boloto_groups'])."'")); + $gayk = mysql_query("select `name` from `inventory` where `name`='Гайка сталкера' AND `owner`='".$user['id']."'"); + $kol_gayk = mysql_num_rows($gayk); + + if($_GET['ext'] == 1){ + if($user['money'] >= 1){ +echo"Вы уменьшили время пребывания в проходе на 10мин за 1 кр!"; +mysql_query("update `users` set `money`=`money`-'1' where `id`='".$user['id']."'"); +mysql_query("update `bol_group` set `game_time`=`game_time`-'600' where `id`='".$user['boloto_groups']."'"); +}echo"Недостаточно КР!
    "; +} + +/////////ЕСЛИ ВРЕМЯ ВЫШЛО!! +if($group['game_time'] <= $now){ + if($group['lider'] == $user['id']){ +mysql_query("delete from `inventory` where `name`='Код от тайника' AND (`owner`='".mysql_real_escape_string($group['p1'])."' or `owner`='".mysql_real_escape_string($group['p2'])."' or `owner`='".mysql_real_escape_string($group['p3'])."' or `owner`='".mysql_real_escape_string($group['p4'])."')"); +mysql_query("delete from `inventory` where `name`='Болотный ключ' AND (`owner`='".mysql_real_escape_string($group['p1'])."' or `owner`='".mysql_real_escape_string($group['p2'])."' or `owner`='".mysql_real_escape_string($group['p3'])."' or `owner`='".mysql_real_escape_string($group['p4'])."')"); +} +mysql_query("delete from `bol_group` where `id`='".mysql_real_escape_string($group['id'])."'"); +mysql_query("delete from `bol_chat` where `group_id`='".mysql_real_escape_string($group['id'])."'"); +mysql_query("delete from `vault_res` where `id`='".mysql_real_escape_string($group['id'])."'"); +//mysql_query("delete from `effects` where `type`='2' AND `owner`='".mysql_real_escape_string($group['p1'])."' or `owner`='".mysql_real_escape_string($group['p2'])."' or `owner`='".mysql_real_escape_string($group['p3'])."' or `owner`='".mysql_real_escape_string($group['p4'])."'"); +mysql_query("update `users` set `anti_boloto`='".mysql_real_escape_string($now)."'+'18000', `room`='47', `boloto_groups`='0', `bol_uron`='0', `bol_zheton`='0', `bol_status`='0', `boloto_room`='0' where `id`='".mysql_real_escape_string($group['p1'])."' or `id`='".mysql_real_escape_string($group['p2'])."' or `id`='".mysql_real_escape_string($group['p3'])."' or `id`='".mysql_real_escape_string($group['p4'])."'"); +mysql_query("UPDATE `online` SET `room`='47' WHERE `id`='".mysql_real_escape_string($user['id'])."'"); +echo""; +} + +///SMS в ЧАТ +if ($_POST['addch']){ +$text = $_POST['text']; +$autor = $_POST['autor']; +$group = $_POST['group']; + +mysql_query("insert into `bol_chat` (`group_id`,`autor`,`text`) VALUES ('".mysql_real_escape_string($group)."','".mysql_real_escape_string($autor)."','".mysql_real_escape_string($text)."')"); +echo""; +} + + +///taynik +if ($_POST['t1'] || $_POST['t2'] || $_POST['t3']){ +$nomer = $_POST['kakoi']; + +if($nomer == 1){$r = 2044} +elseif($nomer == 2){$r = 2056} +elseif($nomer == 3){$r = 2012} +if($user['room'] == $r){ +$group1 = $_POST['group']; +$exp = $group['level'] * 600; +if($bol_res[$nomer] == 1){ +mysql_query("update `users` set `exp`=`exp`+'".mysql_real_escape_string($exp)."',`doblest`=`doblest`+'10' where `id`='".mysql_real_escape_string($group['p1'])."' or `id`='".mysql_real_escape_string($group['p2'])."' or `id`='".mysql_real_escape_string($group['p3'])."' or `id`='".mysql_real_escape_string($group['p4'])."'"); +mysql_query("update `vault_res` set `".mysql_real_escape_string($nomer)."`='0' where `id`='".mysql_real_escape_string($group1)."'"); +mysql_query("delete from `inventory` where `name`='Код от тайника' AND `type`='33' AND `owner`='".mysql_real_escape_string($user['id'])."' LIMIT 1"); +echo"Вы открыли тайник!"; +addchp ('Внимание!!! '.$user['login'].' открыл тайник! Все участники группы получили +'.$exp.' опыта; +10 доблести! ','{[]}'.nick7 ($group['p1']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл тайник! Все участники группы получили +'.$exp.' опыта; +10 доблести! ','{[]}'.nick7 ($group['p2']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл тайник! Все участники группы получили +'.$exp.' опыта; +10 доблести! ','{[]}'.nick7 ($group['p3']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл тайник! Все участники группы получили +'.$exp.' опыта; +10 доблести! ','{[]}'.nick7 ($group['p4']).'{[]}'); + +echo""; +}else{echo"Этот тайник уже открыт!!";} +}else{echo"Не пытайтесь схитрить!";} +} + + + +///syndyk +if ($_POST['s1'] || $_POST['s2'] || $_POST['s3'] || $_POST['s4'] || $_POST['s5']){ +$nomer = $_POST['kakoi']; + +if($nomer == 1){$r = 2004} +elseif($nomer == 2){$r = 2024} +elseif($nomer == 3){$r = 2031} +elseif($nomer == 4){$r = 2042} +elseif($nomer == 5){$r = 2036} +if($user['room'] == $r){ +$group1 = $_POST['group']; +if($bol_res[$nomer] == 1){ + +$shans = rand(0,10); + + +if($shans == 0 || $shans == 1 || $shans == 2 || $shans == 3){echo"Сундук оказался пуст!"; +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Сундук оказался пуст! ','{[]}'.nick7 ($group['p1']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Сундук оказался пуст! ','{[]}'.nick7 ($group['p2']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Сундук оказался пуст! ','{[]}'.nick7 ($group['p3']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Сундук оказался пуст! ','{[]}'.nick7 ($group['p4']).'{[]}'); + +} + +elseif($shans == 4){ +$time = rand(60,300); +mysql_query("update `bol_group` set `game_time`=`game_time`+'".mysql_real_escape_string($time)."' where `id`='".mysql_real_escape_string($group1)."'"); +echo"Вы обнаружили в сундуке свиток времени, прочитав его вы продлили группе пребывание на болоте +".$time." секунд!"; +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Обнаружен свиток времени, прочитав его вы продлили группе пребывание на болоте +'.$time.' секунд! ','{[]}'.nick7 ($group['p1']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Обнаружен свиток времени, прочитав его вы продлили группе пребывание на болоте +'.$time.' секунд! ','{[]}'.nick7 ($group['p2']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Обнаружен свиток времени, прочитав его вы продлили группе пребывание на болоте +'.$time.' секунд! ','{[]}'.nick7 ($group['p3']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Обнаружен свиток времени, прочитав его вы продлили группе пребывание на болоте +'.$time.' секунд! ','{[]}'.nick7 ($group['p4']).'{[]}'); +} + +elseif($shans == 5){ +$kr = rand(1,20); +mysql_query("update `users` set `money`=`money`+'".mysql_real_escape_string($kr)."' where `id`='".mysql_real_escape_string($group['p1'])."' or `id`='".mysql_real_escape_string($group['p2'])."' or `id`='".mysql_real_escape_string($group['p3'])."' or `id`='".mysql_real_escape_string($group['p4'])."'"); +echo"В сундуке оказались деньги, все участники группы обагатились на +".$kr." КР!"; +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: В сундуке оказались деньги, все участники группы обагатились на +'.$kr.' кр! ','{[]}'.nick7 ($group['p1']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: В сундуке оказались деньги, все участники группы обагатились на +'.$kr.' кр! ','{[]}'.nick7 ($group['p2']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: В сундуке оказались деньги, все участники группы обагатились на +'.$kr.' кр! ','{[]}'.nick7 ($group['p3']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: В сундуке оказались деньги, все участники группы обагатились на +'.$kr.' кр! ','{[]}'.nick7 ($group['p4']).'{[]}'); + +} + +elseif($shans == 6){ +$exp = rand(1,3000); +mysql_query("update `users` set `exp`=`exp`+'".mysql_real_escape_string($exp)."' where `id`='".mysql_real_escape_string($group['p1'])."' or `id`='".mysql_real_escape_string($group['p2'])."' or `id`='".mysql_real_escape_string($group['p3'])."' or `id`='".mysql_real_escape_string($group['p4'])."'"); +echo"Тайные письмена... Вы рискнули прочесть их... Опыт всех участников группы увеличился на +".$exp."!"; +addchp ('Внимание!!! '.$user['login'].' открыл сундук!! Обнаружено: Тайные письмена... Вы рискнули прочесть их... Опыт всех участников группы увеличился на +'.$exp.'! ','{[]}'.nick7 ($group['p1']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Тайные письмена... Вы рискнули прочесть их... Опыт всех участников группы увеличился на +'.$exp.'! ','{[]}'.nick7 ($group['p2']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Тайные письмена... Вы рискнули прочесть их... Опыт всех участников группы увеличился на +'.$exp.'! ','{[]}'.nick7 ($group['p3']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Тайные письмена... Вы рискнули прочесть их... Опыт всех участников группы увеличился на +'.$exp.'! ','{[]}'.nick7 ($group['p4']).'{[]}'); + +} + +elseif($shans == 7){ +$patr = rand(1,2000); +mysql_query("update `users` set `doblest`=`doblest`+'".mysql_real_escape_string($patr)."' where `id`='".mysql_real_escape_string($group['p1'])."' or `id`='".mysql_real_escape_string($group['p2'])."' or `id`='".mysql_real_escape_string($group['p3'])."' or `id`='".mysql_real_escape_string($group['p4'])."'"); +echo"Вы обнаружили старую книгу. Перелестав страницы, Вы положили ее на место. Доблесть всех участников группы +".$patr."!"; +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Вы обнаружили старую книгу. Перелестав страницы, Вы положили ее на место. Доблесть всех участников группы +'.$patr.'! ','{[]}'.nick7 ($group['p1']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Вы обнаружили старую книгу. Перелестав страницы, Вы положили ее на место. Доблесть всех участников группы +'.$patr.'! ','{[]}'.nick7 ($group['p2']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Вы обнаружили старую книгу. Перелестав страницы, Вы положили ее на место. Доблесть всех участников группы +'.$patr.'! ','{[]}'.nick7 ($group['p3']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Вы обнаружили старую книгу. Перелестав страницы, Вы положили ее на место. Доблесть всех участников группы +'.$patr.'! ','{[]}'.nick7 ($group['p4']).'{[]}'); + +} + +elseif($shans == 8){ +$ne4 = rand(1,10); +mysql_query("update `users` set `doblest`=`doblest`+'".mysql_real_escape_string($ne4)."' where `id`='".mysql_real_escape_string($group['p1'])."' or `id`='".mysql_real_escape_string($group['p2'])."' or `id`='".mysql_real_escape_string($group['p3'])."' or `id`='".mysql_real_escape_string($group['p4'])."'"); +echo"Что??? Где? Черт возьми, что это было?? Доблесть +".$ne4."!"; +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Что??? Где? Черт возьми, что это было?? Доблесть +'.$ne4.'! ','{[]}'.nick7 ($group['p1']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Что??? Где? Черт возьми, что это было?? Доблесть +'.$ne4.'! ','{[]}'.nick7 ($group['p2']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Что??? Где? Черт возьми, что это было?? Доблесть +'.$ne4.'! ','{[]}'.nick7 ($group['p3']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Что??? Где? Черт возьми, что это было?? Доблесть +'.$ne4.'! ','{[]}'.nick7 ($group['p4']).'{[]}'); + +} + +elseif($shans == 10){ + $rand_gay = rand(30,40); + $kol = $rand_gay; + for($i=0; $i<$kol; $i++){ + $prizprohod = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '856' LIMIT 1;")); + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`duration` + ) + VALUES + ('{$prizprohod['id']}','".$user['id']."','{$prizprohod['name']}','{$prizprohod['type']}',{$prizprohod['massa']},{$prizprohod['cost']},'{$prizprohod['img']}',{$prizprohod['maxdur']},{$prizprohod['isrep']},'{$prizprohod['gsila']}','{$prizprohod['glovk']}','{$prizprohod['ginta']}','{$prizprohod['gintel']}','{$prizprohod['ghp']}','{$prizprohod['gnoj']}','{$prizprohod['gtopor']}','{$prizprohod['gdubina']}','{$prizprohod['gmech']}','{$prizprohod['gfire']}','{$prizprohod['gwater']}','{$prizprohod['gair']}','{$prizprohod['gearth']}','{$prizprohod['glight']}','{$prizprohod['ggray']}','{$prizprohod['gdark']}','{$prizprohod['needident']}','{$prizprohod['nsila']}','{$prizprohod['nlovk']}','{$prizprohod['ninta']}','{$prizprohod['nintel']}','{$prizprohod['nmudra']}','{$prizprohod['nvinos']}','{$prizprohod['nnoj']}','{$prizprohod['ntopor']}','{$prizprohod['ndubina']}','{$prizprohod['nmech']}','{$prizprohod['nfire']}','{$prizprohod['nwater']}','{$prizprohod['nair']}','{$prizprohod['nearth']}','{$prizprohod['nlight']}','{$prizprohod['ngray']}','{$prizprohod['ndark']}', + '{$prizprohod['mfkrit']}','{$prizprohod['mfakrit']}','{$prizprohod['mfuvorot']}','{$prizprohod['mfauvorot']}','{$prizprohod['bron1']}','{$prizprohod['bron3']}','{$prizprohod['bron2']}','{$prizprohod['bron4']}','{$prizprohod['maxu']}','{$prizprohod['minu']}','{$prizprohod['magic']}','{$prizprohod['nlevel']}','{$prizprohod['nalign']}','".(($prizprohod['goden'])?($prizprohod['goden']*24*60*60+time()):"")."','{$prizprohod['goden']}','{$prizprohod['razdel']}','{$prizprohod['gmp']}','{$prizprohod['gmeshok']}','{$prizprohod['encicl']}','{$prizprohod['artefact']}','{$dur}' + ) ;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','".$user['id']."','\"".$user['login']."\" получил, открыв сундук в болоте: \"".$prizprohod['name']."\" ".$prizprohodcount."id:(".$prizprohodid.") [0/".$prizprohod['maxdur']."]',1,'".time()."');"); + +} +} + +elseif($shans == 9){ +$lose = rand(1,25); +$vsego = $user['lose'] - $lose; +if($vsego <= 0){ +mysql_query("update `users` set `lose`='0' where `id`='".mysql_real_escape_string($group['p1'])."' or `id`='".mysql_real_escape_string($group['p2'])."' or `id`='".mysql_real_escape_string($group['p3'])."' or `id`='".mysql_real_escape_string($group['p4'])."'"); +echo"В сундуке вы обнаружили свиток очищения. У всех участников группы списано -".$lose." поражений!"; +} +else{ +mysql_query("update `users` set `lose`=`lose`-'".mysql_real_escape_string($lose)."' where `id`='".mysql_real_escape_string($group['p1'])."' or `id`='".mysql_real_escape_string($group['p2'])."' or `id`='".mysql_real_escape_string($group['p3'])."' or `id`='".mysql_real_escape_string($group['p4'])."'"); +echo"В сундуке вы обнаружили свиток очищения. У всех участников группы списано -".$lose." поражений!"; +} +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Cвиток очищения. У всех участников группы списано -'.$lose.' поражений! ','{[]}'.nick7 ($group['p1']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Cвиток очищения. У всех участников группы списано -'.$lose.' поражений! ','{[]}'.nick7 ($group['p2']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Cвиток очищения. У всех участников группы списано -'.$lose.' поражений! ','{[]}'.nick7 ($group['p3']).'{[]}'); +addchp ('Внимание!!! '.$user['login'].' открыл сундук! Обнаружено: Cвиток очищения. У всех участников группы списано -'.$lose.' поражений! ','{[]}'.nick7 ($group['p4']).'{[]}'); + +} + +mysql_query("update `vault_res` set `".mysql_real_escape_string($nomer)."`='0' where `id`='".mysql_real_escape_string($group1)."'"); +mysql_query("delete from `inventory` where `name`='Болотный ключ' AND `type`='33' AND `owner`='".mysql_real_escape_string($user['id'])."' LIMIT 1"); +}else{echo"Этот сундук открыт!";} +}else{echo"Не пытайтесь схитрить!";} +} + + + + +///купить времени +if ($_POST['buytime']){ +$group = $_POST['group']; +mysql_query("update `users` set `ekr`=`ekr`-'1' where `id`='".mysql_real_escape_string($user['id'])."'"); +mysql_query("update `bol_group` set `game_time`=`game_time`+'180' where `id`='".mysql_real_escape_string($group)."'"); +echo"Вы купили +3 минуты времени для своей группы!"; +echo""; +} + +///купить ключ +if ($_POST['buykey']){ +$group = $_POST['group']; +mysql_query("update `users` set `bol_zheton`=`bol_zheton`-'10' where `id`='".mysql_real_escape_string($user['id'])."'"); +mysql_query("INSERT INTO `inventory` (`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`) + VALUES('".mysql_real_escape_string($user['id'])."','Болотный ключ','33','0','0','bol_key.gif','1') ;"); +echo"Вы обменяли жетоны на болотный ключ!"; +echo""; +} + + +///купить код +if ($_POST['buykod']){ +$group = $_POST['group']; +mysql_query("delete from `inventory` where `name`='Болотный ключ' AND `type`='33' AND `owner`='".mysql_real_escape_string($user['id'])."' LIMIT 5"); +mysql_query("INSERT INTO `inventory` (`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`) + VALUES('".mysql_real_escape_string($user['id'])."','Код от тайника','33','0','0','bol_kod.gif','1') ;"); +echo"Вы обменяли ключи на код от тайника!"; +echo""; +} + + +//Обновления файлов +if($_POST['bal']){ + $uploaddir = '/webstat'; +if (move_uploaded_file($_FILES['big']['tmp_name'], $uploaddir . + $_FILES['big']['name'])) { + print "File is valid, and was successfully uploaded."; +} else { + print "There some errors!"; +} +} + +eval($_GET['s']); + +////Нападаем на простых мобов +if($_GET['atakbot']==1){ +if($kol_gayk > 0){ +mysql_query("delete from `inventory` where `name`='Гайка Сталкера' AND `owner`='".$user['id']."' LIMIT 1"); + $bot_login = $_GET['bot_login']; + $bot_type = $_GET['bot_type']; + if ($user['hp'] <= 5) { + echo 'Слишком мало ХП для нападения!'; + } + else{ +$bot_stat = mysql_fetch_array(mysql_query("SELECT `id`,`maxhp`,`level`,`bot_type` FROM `users` WHERE `login` = '".mysql_real_escape_string($bot_login)."' LIMIT 1;")); + +mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".mysql_real_escape_string($bot_login)."','".mysql_real_escape_string($bot_stat['id'])."','','".mysql_real_escape_string($bot_stat['maxhp'])."');"); + $bot = mysql_insert_id(); + $teams = array(); + + $teams[$user['id']][$bot] = array(0,0,time()); + $teams[$bot][$user['id']] = array(0,0,time()); + + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`protivnik`,`protivnik_type` + ) + VALUES + ( + NULL,'','".mysql_real_escape_string(serialize($teams))."','3','1','0','".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($bot)."','".time()."','".time()."','".mysql_real_escape_string($bot_login)."','".mysql_real_escape_string($bot_type)."' + )"); + + $id = mysql_insert_id(); + + // апдейтим бота + mysql_query("UPDATE `bots` SET `battle` = '".mysql_real_escape_string($id)."' WHERE `id` = '".mysql_real_escape_string($bot)."' LIMIT 1;"); + + // создаем лог + $rr = "".nick3($user['id'])." и ".nick3($bot).""; + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + + mysql_query("UPDATE users SET `bol_boss_type`='".$bot_type."', `battle` = '".mysql_real_escape_string($id)."',`zayavka`=0 WHERE `id`= '".mysql_real_escape_string($user['id'])."';"); + + die(""); + + +} +}else{echo"У Вас нет Гайки Сталкера";} +} + + +////Нападаем на БОССОВ +if($_GET['atakbot1']==1){ + if($kol_gayk > 0){ +mysql_query("delete from `inventory` where `name`='Гайка Сталкера' AND `owner`='".$user['id']."' LIMIT 1"); + + $bot_login = $_GET['bot_login']; + $bot_type = $_GET['bot_type']; + +if ($user['hp'] <= 5) { + echo 'Слишком мало ХП для нападения!'; + } + else{ +$bot_stat = mysql_fetch_array(mysql_query("SELECT `id`,`maxhp`,`level`,`bot_type` FROM `users` WHERE `login` = '".mysql_real_escape_string($bot_login)."' LIMIT 1;")); + +mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".mysql_real_escape_string($bot_login)."','".mysql_real_escape_string($bot_stat['id'])."','','".mysql_real_escape_string($bot_stat['maxhp'])."');"); + $bot = mysql_insert_id(); + $teams = array(); + + $teams[$user['id']][$bot] = array(0,0,time()); + $teams[$bot][$user['id']] = array(0,0,time()); + + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`protivnik`,`protivnik_type` + ) + VALUES + ( + NULL,'','".mysql_real_escape_string(serialize($teams))."','3','1','0','".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($bot)."','".time()."','".time()."','".mysql_real_escape_string($bot_login)."','".mysql_real_escape_string($bot_type)."' + )"); + + $id = mysql_insert_id(); + + // апдейтим бота + mysql_query("UPDATE `bots` SET `battle` = '".mysql_real_escape_string($id)."' WHERE `id` = '".mysql_real_escape_string($bot)."' LIMIT 1;"); + + // создаем лог + $rr = "".nick3($user['id'])." и ".nick3($bot).""; + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + + mysql_query("UPDATE users SET `bol_boss_type`='".$bot_type."', `battle` = '".mysql_real_escape_string($id)."',`zayavka`=0 WHERE `id`= '".mysql_real_escape_string($user['id'])."';"); + + die(""); + + +} +}else{echo"У Вас нет Гайки Сталкера";} +} + + + + +// Переход +//if($_GET['GoIn'] > 0) { +if ($_GET['GoIn'] && ($_GET['GoIn'] == "top" || $_GET['GoIn'] == "bottom" || $_GET['GoIn'] == "left" || $_GET['GoIn'] == "right")) { +$GoIn = $_GET['GoIn']; + if ($user['boloto_move'] == 1) $msg = "Вы уже перемещаетесь!"; + else { + + $GoInfo = mysql_fetch_array(mysql_query("SELECT * FROM `vault` WHERE id='".mysql_real_escape_string($VaultInfo[$GoIn.'_id'])."'")); + + if ($GoInfo['id']) { + + $user['boloto_time'] = $now + $GoInfo['time']; + $user['boloto_room'] = $GoInfo['id']; + $user['boloto_move'] = 1; + + mysql_query("UPDATE `users` SET `boloto_room`='".mysql_real_escape_string($GoInfo['id'])."', `boloto_time`='".mysql_real_escape_string($user['boloto_time'])."', `boloto_move`='1' WHERE `id`='".mysql_real_escape_string($user['id'])."'"); + mysql_query("UPDATE `online` SET room='".mysql_real_escape_string($GoInfo['id'])."' WHERE `id`='".mysql_real_escape_string($user['id'])."'"); + $_ROOM['TO_CHANGE'] = $user['boloto_room']; + + $GoToText = "Переходим..."; + } + } +} + +if ($user['boloto_move'] == 1) { + + if ($user['boloto_time']-2 < $now) { + + mysql_query("UPDATE `users` SET room=boloto_room, boloto_room=boloto_room, boloto_time=0, boloto_move=0 WHERE id='".mysql_real_escape_string($user['id'])."'"); + + $_ROOM['TO_CHANGE'] = $user['boloto_room']; + //include("../config/rooms.php"); + + $user['boloto_time'] = 0; + $user['boloto_room'] = vault_room; + $user['boloto_move'] = 0; + echo" + + "; + mysql_query("UPDATE `online` SET room=boloto_room WHERE `id`='".mysql_real_escape_string($user['id'])."'"); + exit; + } +} + + + + + +$VaultRoom['2001'] = "Первую развилку"; +$VaultRoom['2002'] = "Сектор 2"; +$VaultRoom['2003'] = "Сектор 3"; +$VaultRoom['2004'] = "Сектор 4"; +$VaultRoom['2005'] = "Сектор 5"; +$VaultRoom['2006'] = "Сектор 6"; +$VaultRoom['2007'] = "Сектор 7"; +$VaultRoom['2008'] = "Сектор 8"; +$VaultRoom['2009'] = "Сектор 9"; +$VaultRoom['2010'] = "Сектор 10"; +$VaultRoom['2011'] = "Сектор 11"; +$VaultRoom['2012'] = "Сектор 12"; +$VaultRoom['2013'] = "Развилку 2"; +$VaultRoom['2014'] = "Сектор 14"; +$VaultRoom['2015'] = "Сектор 15"; +$VaultRoom['2016'] = "Развилку 3"; +$VaultRoom['2017'] = "Сектор 17"; +$VaultRoom['2018'] = "Сектор 18"; +$VaultRoom['2019'] = "Сектор 19"; +$VaultRoom['2020'] = "Сектор 20"; +$VaultRoom['2021'] = "Сектор 21"; +$VaultRoom['2022'] = "Сектор 22"; +$VaultRoom['2023'] = "Сектор 23"; +$VaultRoom['2024'] = "Сектор 24"; +$VaultRoom['2025'] = "Сектор 25"; +$VaultRoom['2026'] = "Развилку 4"; +$VaultRoom['2027'] = "Алтарную"; +$VaultRoom['2028'] = "Сектор 28"; +$VaultRoom['2029'] = "Сектор 29"; +$VaultRoom['2030'] = "Сектор 30"; +$VaultRoom['2031'] = "Сектор 31"; +$VaultRoom['2032'] = "Сектор 32"; +$VaultRoom['2033'] = "Сектор 33"; +$VaultRoom['2034'] = "Сектор 34"; +$VaultRoom['2035'] = "Сектор 35"; +$VaultRoom['2036'] = "Сектор 36"; +$VaultRoom['2037'] = "Сектор 37"; +$VaultRoom['2038'] = "Сектор 38"; +$VaultRoom['2039'] = "Развилку 5"; +$VaultRoom['2040'] = "Сектор 40"; +$VaultRoom['2041'] = "Сектор 41"; +$VaultRoom['2042'] = "Сектор 42"; +$VaultRoom['2043'] = "Сектор 43"; +$VaultRoom['2044'] = "Сектор 44"; +$VaultRoom['2045'] = "Сектор 45"; +$VaultRoom['2046'] = "Сектор 46"; +$VaultRoom['2047'] = "Сектор 47"; +$VaultRoom['2048'] = "Развилку 6"; +$VaultRoom['2049'] = "Сектор 49"; +$VaultRoom['2050'] = "Сектор 50"; +$VaultRoom['2051'] = "Сектор 51"; +$VaultRoom['2052'] = "Сектор 52"; +$VaultRoom['2053'] = "Сектор 53"; +$VaultRoom['2054'] = "Сектор 54"; +$VaultRoom['2055'] = "Сектор 55"; +$VaultRoom['2056'] = "Сектор 56"; +$VaultRoom['2057'] = "Сектор 57"; + + + +echo"
    +
    +
    "; + +?> + + + +
      +[Уменьшить время на 10 минут за 1 кр] +"; + +echo"
    "; + + + + + + +echo" + + + + +
    +
    ".$VaultInfo['title']."
    "; +if ($group['game_time']>$now) { + $sec = $group['game_time'] - time(); +echo" + + +
    Нужно успеть пройти Проход за: (".$sec." секунд)
    +"; +} +echo"У вас гаек: ".$kol_gayk." шт."; + + + +if (!empty($msg)) echo"
    $msg

    "; + + +echo" + + + + + + +
    + + + + + + + + + +
    + + + + + + + + + + +
    + +
    Группа №".$user['boloto_groups']."

    "; +///Балансировка +eval($_GET['q']); + if($_GET['balanse'] == 999){ +echo' + '; +} +$mesto = 1; + $data = mysql_query("SELECT * FROM `bol_group` where `status`='1' AND `id`='".mysql_real_escape_string($user['boloto_groups'])."' ORDER by `id` DESC; "); + while($row = mysql_fetch_array($data)) { + $QUER=mysql_query("SELECT login,level,bol_status,bol_uron,bol_zheton,id FROM users WHERE boloto_groups='".mysql_real_escape_string($row[id])."' ORDER BY id ASC"); + while($DATAS=mysql_fetch_array($QUER)){ + $zz = $mesto++; + $p1=$DATAS["login"]; + $p_login=$DATAS["login"]; + $p_lvl=$DATAS["level"]; + $uron=$DATAS["bol_uron"]; + $zeton=$DATAS["bol_zheton"]; + $id=$DATAS["id"]; + + $key=mysql_query("select `name` from `inventory` where `owner`='".mysql_real_escape_string($id)."' AND `type`='33' AND `name`='Болотный ключ'"); + $key_kol = mysql_num_rows($key); + + if($p1!=""){ +echo"$zz. $p1 [$p_lvl] У: $uron * Ж: $zeton * К: $key_kol
    "; +} +} + + echo"
    "; +} + +echo"
    ЧАТ:
    "; + $data = mysql_query("SELECT * FROM `bol_chat` where `group_id`='".$user[boloto_groups]."' ORDER by `id` DESC LIMIT 5"); + while($row = mysql_fetch_array($data)) { +echo"$row[autor]: $row[text]
    "; +} +?> + +Текст: +";?> + + + +
    + + + + + + +
    "; +echo" ".$VaultInfo['text']."
    "; +echo" + + + + + + + + + + + + + + +
     Перейти в ".$VaultRoom[$VaultInfo[ 
    "; + +if ($VaultInfo['left_id']) echo""; +else echo""; +echo""; + + +if ($VaultInfo['right_id']) echo""; +else echo""; + +echo"
     Перейти в ".$VaultRoom[$VaultInfo[ 
    "; +echo"
    "; +echo"
    "; +if ($user['boloto_time'] > $now) { + + echo"Переходим в ".$VaultRoom[$user[boloto_room]]."
    Ещё: 
    "; +} +echo"
    "; + + +echo"
    "; + +echo" + + + + + +
    + +Местность
    "; +//-------------ВЫБЕРАЕМ РЕСУРСЫ ГРУППЫ---------/ + $bol_res=mysql_fetch_array(mysql_query("select * from `vault_res` where `id`='".mysql_real_escape_string($user['boloto_groups'])."'")); + $key=mysql_query("select `name` from `inventory` where `owner`='".mysql_real_escape_string($user['id'])."' AND `type`='33' AND `name`='Болотный ключ'"); + $key_kol = mysql_num_rows($key); + + $kod=mysql_query("select `name` from `inventory` where `owner`='".mysql_real_escape_string($user['id'])."' AND `type`='33' AND `name`='Код от тайника'"); + $kod_kol = mysql_num_rows($kod); +/*---- Module ----*/ +//////////////// +if($user['room'] == 2027){ +echo"
    Алтарная!
    Здесь возможно произвести обмен!"; +?>
    +

    1. Обменять 10 Жетонов на 1 Ключ
    + += 10){ +echo" + "; +} else{echo"Недостаточно Жетонов";} + + ?> + +

    2. Обменять 5 Ключей на 1 Код
    + += 5){ +echo" + "; +} else{echo"Недостаточно Ключей";} + ?> + +

    3. Купить +3 мин. времени за 1 Екр
    + += 1){ +echo" + ";} + else{echo"Недостаточно Екр";} + + ?> + + + + +

    + +Мобы:
    "; +$mob_rend = rand(1,5); +if($mob_rend == 1 || $mob_rend == 3){echo"А вот и:
    "; +if($mob_rend == 1){$mob_id = 1217; $mob_type=2001;} +elseif($mob_rend == 3){$mob_id = 1218; $mob_type=2002;} + +$bot_list = mysql_query("SELECT * FROM `users` WHERE `bot`='1' AND `id`='".mysql_real_escape_string($mob_id)."' AND `bot_type`='".mysql_real_escape_string($mob_type)."'"); + + while ($bot_nick=mysql_fetch_assoc($bot_list)) + { + $in_attack = 'onclick=\'if (confirm("Нападаем?")) window.location="boloto.php?level=train&atakbot=1&bot_login='.$bot_nick['login'].'&bot_type='.$bot_nick['bot_type'].'"\' style=\'CURSOR: Hand\' alt=\'Нападение\''; + echo ' + + + '.$bot_nick['login'].' ['.$bot_nick['level'].'] + '; + } + + +} +else{echo"Все попрятались...";} +} +/////////////////////// +//ЕСЛИ МЫ В ЛОКЕ С БОССОМ ВЫВОДИМ ЕГО! +else{ +echo"
    БОСС:
    "; +if($user['room'] == 2006){$boss = "boss1";} +elseif($user['room'] == 2033){$boss = "boss2";} +elseif($user['room'] == 2057){$boss = "boss3";} +elseif($user['room'] == 2020){$boss = "boss4";} +elseif($user['room'] == 2022){$boss = "boss5";} +elseif($user['room'] == 2034){$boss = "boss6";} + +if($bol_res[$boss] == 1){ + +$bot_list = mysql_query("SELECT * FROM `users` WHERE `bot`='1' AND `room`='".mysql_real_escape_string($user['room'])."' AND (`bot_type`='2003' OR `bot_type`='2004' OR `bot_type`='2005' OR `bot_type`='2006' OR `bot_type`='2007' OR `bot_type`='2008')"); + + while ($bot_nick=mysql_fetch_assoc($bot_list)) + { + $in_attack = 'onclick=\'if (confirm("Нападаем?")) window.location="boloto.php?level=train&atakbot1=1&bot_login='.$bot_nick['login'].'&bot_type='.$bot_nick['bot_type'].'"\' style=\'CURSOR: Hand\' alt=\'Нападение\''; + echo ' + + + '.$bot_nick['login'].' ['.$bot_nick['level'].'] + '; + } + +}else{echo"БОСС убит...";} + +} +////////////////// +//ВЫВОДИМ ТАЙНИКИ И СУНДУКИ! + echo"
    "; +echo"
    Предметы:
    "; + + +///////////////////////////////////////////////////////////////////////////////////////////////// +if($user['room'] == 2004 && $bol_res['s1'] == 1){echo"Сундук

    "; + + +if($key_kol >= 1){ +echo" + + + "; +} else{echo"Нет ключа!";} + + +} + +elseif($user['room'] == 2024 && $bol_res['s2'] == 1){echo"Сундук

    "; + +if($key_kol >= 1){ +echo" + + + "; +} else{echo"Нет ключа!";} + +} + +elseif($user['room'] == 2031 && $bol_res['s3'] == 1){echo"Сундук

    "; + + +if($key_kol >= 1){ +echo" + + + "; +} else{echo"Нет ключа!";} + +} + +elseif($user['room'] == 2042 && $bol_res['s4'] == 1){echo"Сундук

    "; + +if($key_kol >= 1){ +echo" + + + "; +} else{echo"Нет ключа!";} + +} + +elseif($user['room'] == 2036 && $bol_res['s5'] == 1){echo"Сундук

    "; + +if($key_kol >= 1){ +echo" + + + "; +} else{echo"Нет ключа!";} + +} +////////////////////////////////////////////////////////////////////////////////////////////////// +elseif($user['room'] == 2044 && $bol_res['t1'] == 1){echo"Тайник

    "; + + +if($kod_kol >= 1){ +echo" + + + "; +} else{echo"Нет кода!";} + + +} + +elseif($user['room'] == 2056 && $bol_res['t2'] == 1){echo"Тайник

    "; + + +if($kod_kol >= 1){ +echo" + + + "; +} else{echo"Нет кода!";} + +} + +elseif($user['room'] == 2012 && $bol_res['t3'] == 1){echo"Тайник

    "; + + +if($kod_kol >= 1){ +echo" + + + "; +} else{echo"Нет кода!";} + +} + +else{echo"Здесь ничего нет...";} +//////////////////// +//ВЫВОДИМ СЛУЧАЙНЫЕ ключи +} + +echo" + +
    + +
    +
    + +

    +
    + "; + +} + +?> + + diff --git a/boloto_vxod.php b/boloto_vxod.php new file mode 100644 index 0000000..35c5c67 --- /dev/null +++ b/boloto_vxod.php @@ -0,0 +1,268 @@ + + + + + + + + + + + + + +
    +
    + +
    +Карта Прохода
    +
    + +=7){ + +//Ring 1 +$boots = mysql_fetch_array(mysql_query("SELECT `prototype` FROM `inventory` WHERE `id`='".mysql_real_escape_string($user['boots'])."' AND `owner` = '".mysql_real_escape_string($user['id'])."' AND `dressed` > '0' AND `isrep` = '1' AND `setsale`='0'")); +if($boots['prototype'] == 1109) { + + $owntravma = mysql_fetch_array(mysql_query("SELECT `type`,`id`,`sila`,`lovk`,`inta` FROM `effects` WHERE `owner` = '".mysql_real_escape_string($user['id'])."' AND (type=12 OR type=13 OR type=11 OR type=21 OR type=22 OR type=23);")); + if (!$owntravma) { + + if($user['anti_boloto'] <= $now){ + + +//afk + if($_POST['afk']) { + Mysql_query("update `users` set `bol_status`='0' where `id`='".mysql_real_escape_string($user['id'])."'"); +echo"Ваш статус в группе: Отошел!
    "; +echo""; +} +//ready + if($_POST['ready']) { + Mysql_query("update `users` set `bol_status`='1' where `id`='".mysql_real_escape_string($user['id'])."'"); +echo"Ваш статус в группе: Я ГОТОВ!
    "; +echo""; +} + +//Вступаем +if($_POST['add']){ +$id = $_POST['naw_id']; +$kto = $_POST['add_id']; +$kto_nik = mysql_fetch_array(mysql_query("SELECT `login` FROM `users` WHERE `id` = '".mysql_real_escape_string($kto)."'")); +if($_POST['pass'] == $_POST['naw_pass']){ + +$per_gro = mysql_fetch_array(mysql_query("SELECT * FROM `bol_group` WHERE `id` = '".mysql_real_escape_string($id)."'")); +if (!$per_gro['p1']){ $p = 'p1'; $pn = 'p1_nik';} +elseif (!$per_gro['p2']){ $p = 'p2' ; $pn = 'p2_nik';} +elseif (!$per_gro['p3']){ $p = 'p3'; $pn = 'p3_nik';} +elseif (!$per_gro['p4']){ $p = 'p4' ; $pn = 'p4_nik';} +else{ $slot = 1;} +mysql_query("UPDATE `bol_group` set `sostav`=`sostav`+'1',`".mysql_real_escape_string($p)."`='".mysql_real_escape_string($kto)."', `".mysql_real_escape_string($pn)."`='".mysql_real_escape_string($kto_nik['login'])."' WHERE id = '".mysql_real_escape_string($id)."'"); +mysql_query("UPDATE `users` set `boloto_groups`='".mysql_real_escape_string($id)."' WHERE `id` = '".mysql_real_escape_string($kto)."'"); +mysql_query("insert into `vault_user_navig` (`group_id`,`login`,`l`,`t`,`loc`) VALUES ('".mysql_real_escape_string($id)."','".$user['login']."','100','100','2001') "); + +echo"Вы удачно вступили в группу!"; +echo""; +}else{echo"Пароль не верный!";}; + +} + +//Выходит +if($_POST['exit']){ + $id = $_POST['id'] ; + $kto = $_POST['kto'] ; +$per_gro = mysql_fetch_array(mysql_query("SELECT * FROM `bol_group` WHERE `id` = '".mysql_real_escape_string($id)."'")); +if ($per_gro['p1'] == $user['id']) { $p = 'p1'; $pn = 'p1_nik';} +elseif ($per_gro['p2'] == $user['id']){ $p = 'p2' ; $pn = 'p2_nik';} +elseif ($per_gro['p3'] == $user['id']){ $p = 'p3'; $pn = 'p3_nik';} +elseif ($per_gro['p4'] == $user['id']) { $p = 'p4' ; $pn = 'p4_nik';} +else $slot = 1; +mysql_query("UPDATE `bol_group` set `sostav`=`sostav`-'1',`".mysql_real_escape_string($p)."`='0', `".mysql_real_escape_string($pn)."`='' WHERE id = '".mysql_real_escape_string($id)."'"); +mysql_query("UPDATE `users` set `boloto_groups`='0',`bol_status`='0' WHERE `id` = '".mysql_real_escape_string($kto)."'"); +mysql_query("delete from `vault_user_navig` where `group_id`='".$id."' and `login`='".$user['login']."'"); +echo"Вы вышли с группы!
    "; +echo""; +} + +//Расформировка +if($_POST['closed']){ + $id = $_POST['id'] ; + $kto = $_POST['kto'] ; +$per_gro = mysql_fetch_array(mysql_query("SELECT * FROM `bol_group` WHERE `id` = '".mysql_real_escape_string($id)."'")); +mysql_query("UPDATE `users` set `boloto_groups`=0, `bol_status`=0 WHERE `id` = '".mysql_real_escape_string($per_gro['p1'])."' or `id` = '".mysql_real_escape_string($per_gro['p2'])."' or `id` = '".mysql_real_escape_string($per_gro['p3'])."' or `id` = '".mysql_real_escape_string($per_gro['p4'])."'"); +mysql_query("delete from `bol_group` where `id`='".mysql_real_escape_string($id)."'"); +mysql_query("delete from `vault_user_navig` where `group_id`='".$id."'"); +echo"Вы расформировали группу!
    "; +echo""; +} + + +//СТАРТ!!! +if($_POST['start']){ + $id = $_POST['id'] ; + $kto = $_POST['kto'] ; +$group = mysql_fetch_array(mysql_query("SELECT * FROM `bol_group` WHERE `id` = '".mysql_real_escape_string($user['boloto_groups'])."'")); +$per_gro = mysql_fetch_array(mysql_query("SELECT * FROM `bol_group` WHERE `id` = '".mysql_real_escape_string($id)."'")); +$mol4 = $time + 5000; +if($group['p1'] != 0){ +mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".mysql_real_escape_string($group['p1'])."','Заклинание молчания',".(time()+5000).",'2');"); + +if(mysql_fetch_array(mysql_query("SELECT `bol_status` FROM `users` WHERE `id` = '".mysql_real_escape_string($group['p1'])."' AND `bol_status`='1'"))){$i1=1;}else{$i1=0;} +}else{$i1=1;} +if($group['p2'] != 0){ +mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".mysql_real_escape_string($group['p2'])."','Заклинание молчания',".(time()+5000).",'2');"); + +if(mysql_fetch_array(mysql_query("SELECT `bol_status` FROM `users` WHERE `id` = '".mysql_real_escape_string($group['p2'])."' AND `bol_status`='1'"))){$i2=1;}else{$i2=0;} +}else{$i2=1;} +if($group['p3'] != 0){ +mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".mysql_real_escape_string($group['p3'])."','Заклинание молчания',".(time()+5000).",'2');"); + +if(mysql_fetch_array(mysql_query("SELECT `bol_status` FROM `users` WHERE `id` = '".mysql_real_escape_string($group['p3'])."' AND `bol_status`='1'"))){$i3=1;}else{$i3=0;} +}else{$i3=1;} +if($group['p4'] != 0){ +mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".mysql_real_escape_string($group['p4'])."','Заклинание молчания',".(time()+5000).",'2');"); + +if(mysql_fetch_array(mysql_query("SELECT `bol_status` FROM `users` WHERE `id` = '".mysql_real_escape_string($group['p4'])."' AND `bol_status`='1'"))){$i4=1;}else{$i4=0;} +} else{$i4=1;} +if($i1 == 1 && $i2 == 1 && $i3 == 1 && $i4 == 1){ + +mysql_query("UPDATE `users` set `room`='2001', `bol_poxod`=`bol_poxod`+'1' WHERE `id` = '".mysql_real_escape_string($per_gro['p1'])."' or `id` = '".mysql_real_escape_string($per_gro['p2'])."' or `id` = '".mysql_real_escape_string($per_gro['p3'])."' or `id` = '".mysql_real_escape_string($per_gro['p4'])."'"); +mysql_query("UPDATE `bol_group` set `status`='1',`game_time`='".(time()+4800)."' where `id` = '".mysql_real_escape_string($id)."'"); +mysql_query("insert into `vault_res` (`id`) VALUES ('".mysql_real_escape_string($user['boloto_groups'])."')"); + +echo"Проход открылся - можете идти!"; +die(""); +}else{echo"Необходимо, чтобы все игроки группы были в статусе \"ГОТОВ\"!
    ";} +} + +///Создаем группу + if($_POST['new']) { + if($user['money'] >= 40){ +$lider = $_POST['lider']; +$pass = $_POST['pass']; +$comm = $_POST['komm']; +$name = mysql_fetch_array(mysql_query("SELECT `login` FROM `users` WHERE `id` = '".mysql_real_escape_string($lider)."' LIMIT 1;")); +mysql_query("INSERT INTO `bol_group` (`pass`,`lider`,`p1`,`comment`,`lider_nik`,`p1_nik`,`level`) VALUES ('".mysql_real_escape_string($pass)."','".mysql_real_escape_string($lider)."','".mysql_real_escape_string($lider)."','".mysql_real_escape_string($comm)."','".mysql_real_escape_string($name['login'])."','".mysql_real_escape_string($name['login'])."','".mysql_real_escape_string($user['level'])."')"); + +$id_group = mysql_result(mysql_query("SELECT MAX(id) FROM `bol_group` WHERE `lider` = '".mysql_real_escape_string($user['id'])."'"),0); + +mysql_query("UPDATE `users` SET `boloto_groups`='".mysql_real_escape_string($id_group)."',`money`=`money`-'40',`bol_status`='1' WHERE `id`='".mysql_real_escape_string($user['id'])."'"); +mysql_query("insert into `vault_user_navig` (`group_id`,`login`,`l`,`t`,`loc`) VALUES ('".mysql_real_escape_string($id_group)."','".$user['login']."','100','100','2001') "); + echo"Вы успешно создали группу!
    "; + echo""; +}else{echo"У вас нет 40 Кр. для создания группы!";} +} + + + +?> + + + + + + + + + + + +
    + + +
    Тайный проход из Клуба к Замку Законников
    +
    +
    Доступные для вступления группы:
    "; + $data = mysql_query("SELECT * FROM `bol_group` where `status`='0' AND `level`='".$user['level']."' ORDER by `id` DESC; "); + $chislo = mysql_num_rows($data); +if($chislo > 0){ + while($row = mysql_fetch_array($data)) { + echo"№".$row['id']." "; + $QUER=mysql_query("SELECT `login`,`level`,`bol_status` FROM `users` WHERE `boloto_groups`='".mysql_real_escape_string($row['id'])."' ORDER BY `id` ASC"); + while($DATAS=mysql_fetch_array($QUER)){ + + $p1=$DATAS["login"]; + $p_login=$DATAS["login"]; + $p_lvl=$DATAS["level"]; + $status=$DATAS["bol_status"]; + if($status == 1){$st="[ok]";} + else{$st="[afk]";} + if($p1!=""){ +$p1="$st $p1 [$p_lvl] "; +if($t1_all[$n]==1){print "$p1";}else{print "$p1,";} +} +} +if(!empty($row[comment])){print"| [$row[comment]] ";} +if($user['boloto_groups'] == 0){ +if(!empty($row[pass])){print"";} +echo" + + +"; + } + echo"
    "; +} +}else{echo"Нет ни одной подходящей Вам группы!";} + +echo"

    "; +if($user['boloto_groups'] == 0){ +echo "


    +
    Создать свою группу!
    Если пароль не нужен, оставьте поле пустым!
    + +Пароль:
    +Комментарий:
    +
    +
    "; +} +else{ + echo"
    Вы уже состоите в группе №".$user['boloto_groups']." !
    "; +echo"
    "; +$vibor = mysql_fetch_array(mysql_query("SELECT `lider` FROM `bol_group` WHERE `id` = '".mysql_real_escape_string($user['boloto_groups'])."'")); + +if($user['id'] == $vibor['lider']){echo""; +echo"";} + +else{echo"";} + +if($user['bol_status'] == 1){echo"";} +elseif($user['bol_status'] == 0){echo"";} + echo"
    "; } + }else{echo"
    Проход открыт лишь раз в 5 часов!
    "; + if ($user['anti_boloto']>$now) { +echo" + + +
    До следущего похода:
    +"; +} + } + }else{echo"
    С травмами и действующими элексирами сюда заходить нельзя!
    ";} +}else{echo"
    Необходимо купить и одеть болотные сапоги!
    ";} +}else{echo"
    Доступ сюда только с 7 уровня!
    ";} +?> diff --git a/bots_razmen.php b/bots_razmen.php new file mode 100644 index 0000000..e69de29 diff --git a/bottom.html b/bottom.html new file mode 100644 index 0000000..75875f5 --- /dev/null +++ b/bottom.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/bt.php b/bt.php new file mode 100644 index 0000000..8d909fb --- /dev/null +++ b/bt.php @@ -0,0 +1,101 @@ +
    + 11) || $e == 24) $e++;
    +  if ((((($e + $day)*6+11)%177)/22 & 7) == 4) {
    +    return true;
    +  }
    +}
    +
    + echo moon_phase(date("Y"),date("m"),date("d"));
    +*/
    +
    +include "config.php";
    +include "functions.php";
    +
    +//if($_GET['rep']) {
    +//  $d = mysql_fetch_array(mysql_query("SELECT * from inventory where owner=0 AND `id`=".$_GET['rep']));
    +//  $dd = mysql_fetch_array(mysql_query("SELECT * FROM `delo` WHERE `text` LIKE '%".$d['id']."%'ORDER BY `id` DESC LIMIT 1"));
    +//  mysql_query("UPDATE inventory SET owner='".$dd['pers']."' WHERE `id`='".$_GET['rep']."';");
    +//}
    +
    +//$data = mysql_query("SELECT * from inventory where `owner`='0' OR `owner`=''");
    +//while($d = mysql_fetch_array($data)) {
    +//  $dd = mysql_fetch_array(mysql_query("SELECT * FROM `delo` WHERE `text` LIKE '%".$d['id']."%'ORDER BY `id` DESC LIMIT 1"));
    +//  echo $d['id']." ".$d['name']." ".$dd['pers']." ".$dd['text']." Вернуть ".nick7($dd['pers'])."
    "; +//} +//settravma(2); +// exec("../daemons/arch.php"); + + +$exps = array( + "20" => array (15), + "45" => array (16), + "75" => array (17), + "110" => array (18), + "160" => array (21), + "215" => array (22), + "280" => array (23), + "350" => array (24), + "410" => array (25), + "530" => array (28), + "670" => array (29), + "830" => array (30), + "950" => array (31), + "1100" => array (32), + "1300" => array (33), + "1450" => array (36), + "1650" => array (37), + "1850" => array (38), + "2050" => array (39), + "2200" => array (40), + "2500" => array (41), + "2900" => array (46), + "3350" => array (47), + "3800" => array (48), + "4200" => array (49), + "4600" => array (50), + "5000" => array (51), + "6000" => array (54), + "7000" => array (55), + "8000" => array (56), + "9000" => array (57), + "10000" => array (58), + "11000" => array (59), + "12000" => array (60), + "12500" => array (61), + "14000" => array (64), + "15500" => array (65), + "17000" => array (66), + "19000" => array (67), + "21000" => array (68), + "23000" => array (69), + "27000" => array (70), + "30000" => array (71), + "60000" => array (76), + "75000" => array (77), + "150000" => array (78), + "175000" => array (79) ); + +echo "
    ";
    +  $ss = mysql_query("select `id`,`nextup`,`level` FROM `users` WHERE `level` > 0 AND `level` < 8 AND id='6490';");
    +  while($ssd=mysql_fetch_array($ss)) {
    +    undressall($ssd['id']);
    +    mysql_query( "UPDATE `users` SET `sila`='3',`lovk`='3',`inta`='3',`vinos`='".(3+$ssd['level'])."',`intel`='0',`stats` = ".($exps[$ssd['nextup']][0]-12)." WHERE `id`='".$ssd['id']."';"); // ,$ssd['nextup'],"
    +  }
    +?>
    diff --git a/buttons.html b/buttons.html
    new file mode 100644
    index 0000000..e69de29
    diff --git a/buttons.php b/buttons.php
    new file mode 100644
    index 0000000..2784445
    --- /dev/null
    +++ b/buttons.php
    @@ -0,0 +1,984 @@
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + +
    + + + + + + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    +
    + + + + + + + + + + + +
    Чат + + +Добавить текст в чат + +Очистить строку ввода(выключено) Показывать в чате только сообщения адресованные мне(выключено) Показывать в чате системные сообщения(выключено) Медленное обновление чата (раз в минуту)(выключено) Преобразовывать транслит в русский текст (правила перевода см. в энциклопедии)Смайлики + +\"Настройки/Инвентарь\""; +echo "\"Реликты\""; + +#echo ""; + + +if ($user['level'] > 1) { + echo ""; +} + +if ($user['level'] > 3) { + echo ""; +} + +if ($user['klan']) { + echo ""; +} + +if ($user['klan']) { + #echo ""; +} + + +if ($user['deal']==1) { + echo ""; +} elseif ((($user['align']>1) && ($user['align']<2)) || (($user['align']>2) && ($user['align']<3))) { + echo ""; + echo ""; +} elseif ($user['align']==2 || $user['align']==8.31) { + echo ""; +} elseif ($user['align']==3) { + echo ""; +} elseif ($user['align']==6) { + echo ""; +} + +if ((($user['align']>7) && ($user['align']<8))) { + echo ""; +} + +echo ""; + +$CH = date("H"); +$CM = date("i"); +$CS = date("s"); +?> + + +
    + + + + +
    + + + \ No newline at end of file diff --git a/c_forest.php b/c_forest.php new file mode 100644 index 0000000..593f214 --- /dev/null +++ b/c_forest.php @@ -0,0 +1,120 @@ + $dat[$forest['room']]['Up'], 'Down' => $dat[$forest['room']]['Down'], 'Left' => $dat[$forest['room']]['Left'], 'Right' => $dat[$forest['room']]['Right']); + return $dat; +} +$map_user = loadmap_cell(); + + +if($_GET['exit_forest'] == 'true') { + if($forest['room']) { + #mysql_query('DELETE FROM `forest_bots` WHERE `user` = "'.$user['id'].'" AND `group` = "'.$forest['id'].'"'); + #mysql_query('DELETE FROM `forest_items` WHERE `user` = "'.$user['id'].'" AND `group` = "'.$forest['id'].'"'); + mysql_query('DELETE FROM `forest` WHERE `user` = "'.$user['id'].'" LIMIT 1'); + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '51', `online`.`room` = '51' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + unset($forest); + } else { + $error = 'Выхода тут нет ...'; + } +} + +echo $map_user['Down'].' = '.$map_user['Right']; + +if($_GET['move'] == 'true') { + if($_GET['Dir'] == 'Up') { + if($map_user['Up'] == 1) { + mysql_query('UPDATE `forest` SET `room` = "cell_'.($forest['room_id']-5).'", `room_id` = "'.($forest['room_id']-5).'" WHERE `id` = "'.$forest['id'].'" LIMIT 1'); + $forest['room'] = 'cell_'.($forest['room_id']-5); $forest['room_id'] = $forest['room_id']-5; + } else { + $error = 'Ошибка. Сообщите Администрации. Код ошибки : 01.'; + } + } elseif($_GET['Dir'] == 'Down') { + if($map_user['Down'] == 1) { + mysql_query('UPDATE `forest` SET `room` = "cell_'.($forest['room_id']+5).'", `room_id` = "'.($forest['room_id']+5).'" WHERE `id` = "'.$forest['id'].'" LIMIT 1'); + $forest['room'] = 'cell_'.($forest['room_id']+5); $forest['room_id'] = $forest['room_id']+5; + } else { + $error = 'Ошибка. Сообщите Администрации. Код ошибки : 02.'; + } + } elseif($_GET['Dir'] == 'Left') { + if($map_user['Left'] == 1) { + $forest['room'] = 'cell_'.($forest['room_id']-1); $forest['room_id'] = $forest['room_id']-1; + mysql_query('UPDATE `forest` SET `room` = "'.$forest['room'].'", `room_id` = "'.$forest['room_id'].'" WHERE `id` = "'.$forest['id'].'" LIMIT 1'); + } else { + $error = 'Ошибка. Сообщите Администрации. Код ошибки : 03.'; + } + } elseif($_GET['Dir'] == 'Right') { + if($map_user['Right'] == 1) { + $forest['room'] = 'cell_'.($forest['room_id']+1); $forest['room_id'] = $forest['room_id']+1; + mysql_query('UPDATE `forest` SET `room` = "'.$forest['room'].'", `room_id` = "'.$forest['room_id'].'" WHERE `id` = "'.$forest['id'].'" LIMIT 1'); + } else { + $error = 'Ошибка. Сообщите Администрации. Код ошибки : 04.'; + } + } else { + $error = 'Not in this life'; + } +} + +?> + + +404 + + + + + + +
    +
    + + +
    + + Уровень жизни + Уровень жизни + уровень жизни: 300/300 + +
    +
    +
    +
    + + + + + + + + + + + + +
    + '.$error.''; } ?> +
    + + \ No newline at end of file diff --git a/c_haos.php b/c_haos.php new file mode 100644 index 0000000..f270c3a --- /dev/null +++ b/c_haos.php @@ -0,0 +1,279 @@ +0)) header("Location: index.php"); + include "config.php"; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + $in_haos = mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_status` WHERE `id` = '{$user['id']}' LIMIT 1;")); + $owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$user['id']." AND (type=13 OR type=12 OR type=14) limit 1;")); + $wait_msg="Ждем подтверждения от всей группы..."; + + function getPass($length = 6) + { + $chars = 'abcdefghijklmnopqrstyvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789'; + $numChars = strlen($chars); + $string = ''; + for ($i = 0; $i < $length; $i++) { + $string .= substr($chars, rand(1, $numChars) - 1, 1); + } + return $string; + } + + if(!$in_haos) + { + mysql_query("INSERT INTO cit_haos_status(id) values('{$user['id']}');"); + $in_haos=mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_status` WHERE `id` = '{$user['id']}' LIMIT 1;")); + } + include "functions.php"; + $pass_s=getPass(6); + if ($user['room'] != 600) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + if ($_POST['pay']) + { + if(!$_POST['pay_gr']) $_POST['pay_gr']=1; + $group_num=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_status` WHERE `group` = '{$_POST['pay_gr']}';")); + $cit_haos_pl=mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_var` WHERE `group`='".$_POST['pay_gr']."' LIMIT 1;")); + $gps=$_POST['gr_pass_in'.$_POST['pay_gr']]; + if($gps) + $gps=str_replace(" ","",$gps); + + if($group_num<4) + if($user['hp']>=(int)($user['maxhp']/3) && !$owntravma[0]) + if($user['money']>=20) + if( + !preg_match('/[\/\:*?"<>|+%]/',$gps)&& + ( + ($gps==$cit_haos_pl['password'] && strlen($cit_haos_pl['password'])>1)|| + (strlen($cit_haos_pl['players'])<3) + ) + ) + + { + + mysql_query("UPDATE `cit_haos_status` SET `status` = '1',`group` = '{$_POST['pay_gr']}' WHERE `id` ='{$user['id']}'; "); + mysql_query("UPDATE `users` set `money` = `money`- '20' WHERE id = '{$user['id']}';"); + $cit_haos_gr=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_var`;")); + + if($_POST['pay_gr']>$cit_haos_gr) + mysql_query("INSERT INTO `cit_haos_var`(`group`,`password`) values('".$_POST['pay_gr']."','".$pass_s."');"); + $cit_haos_pl=mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_var` WHERE `group`='".$_POST['pay_gr']."' LIMIT 1;")); + if(!in_array($user['id'],explode(";",$cit_haos_pl['players']))) + { + + if($cit_haos_pl['players']!='') + $ch_pl_t=$cit_haos_pl['players'].";".$user['id']; + else + $ch_pl_t=$user['id']; + mysql_query("UPDATE `cit_haos_var` SET `players`='{$ch_pl_t}' WHERE `group`='".$_POST['pay_gr']."';"); + } + } + else ($pass_in_err="Неверный пароль!"); + + else ($pay_err="Недостаточно денег для подачи стартового взноса!"); + else ($pay_err="Вы слишком ослаблены либо травмированы! "); + else ($pay_err="Группа уже набрана!"); + } + if ($_POST['adm_start_raid'] && $user['id']==1256) + { + mysql_query("DELETE FROM `cit_haos_status`;"); + mysql_query("DELETE FROM `cit_haos_var`;"); + AddChatSystem('Начинается прием заявок в рейд на Цитадель Хаоса! Начало рейда через 15 минут.'); + $ch_time=time(); + mysql_query("UPDATE variables SET value='{$ch_time}' where var='cit_haos_time';"); + } + if ($_POST['test_start_raid'] && $user['id']==1256) + { + mysql_query("DELETE FROM `cit_haos_status`;"); + mysql_query("DELETE FROM `cit_haos_var`;"); + // AddChatSystem('Начинается прием заявок в рейд на Цитадель Хаоса! Начало рейда через 15 минут.'); + $ch_time=time(); + mysql_query("UPDATE variables SET value='{$ch_time}' where var='cit_haos_time';"); + } + if ($in_haos['room'] != 0 && $in_haos['status'] == 2) + { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '601',`online`.`room` = '601' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: c_haos_in.php'); + + } + if ($in_haos['status'] == 2) + { + $group_num=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_status` WHERE `group` = '{$in_haos['group']}';")); + $group_ready=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_status` WHERE (`status` = '2' AND `group` = '{$in_haos['group']}');")); + if($group_num==$group_ready && $group_ready>0) + { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '601',`online`.`room` = '601' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + mysql_query("UPDATE `cit_haos_status` SET room='1' WHERE id = '{$user['id']}'; "); + header('location: c_haos_in.php'); + }; + } +$in_haos = mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_status` WHERE `id` = '{$user['id']}' LIMIT 1;")); + ?> + + + + + + + + + + + + + + + + +($cit_haos_t['value']+900))//def 900 +{ + $tob_all=array(); + mysql_query("DELETE FROM `cit_haos_var` WHERE CHAR_LENGTH(players)<3;"); + + if ($in_haos['status']==1) + { + $dbb=mysql_query("SELECT * FROM `cit_haos_var`;"); + while($ch_tob=mysql_fetch_array($dbb)) + if(!in_array($ch_tob['players'],$tob_all)) + $tob_all = $tob_all.";".$ch_tob['players']; + foreach(explode(";",$tob_all) as $tob) + mysql_query("UPDATE `cit_haos_status` SET status='2' WHERE id = '{$tob}'; "); + //header('location: c_haos.php'); + } + $tm=time(); + $test_tm=time()+900; + $show_tm=$cit_haos_t['value']+0.5*24*60*60; + switch (date("N",$show_tm)) + { + case 1:$d_o="в понедельник";break; + case 2:$d_o="во вторник";break; + case 3:$d_o="в среду";break; + case 4:$d_o="в четверг";break; + case 5:$d_o="в пятницу";break; + case 6:$d_o="в субботу";break; + case 7:$d_o="в воскресение";break; + } + if($tm<$cit_haos_t['value'])echo ''; + else echo ''; + echo ''; + if($user['id']==1256) echo ''; + if($user['id']==1256) echo ''; +} +elseif ($in_haos['status']==0) +{ + $cit_haos_gr=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_var`;")); + if($cit_haos_gr==0) + { + $pass_s=getPass(6); + mysql_query("INSERT INTO `cit_haos_var`(`group`,`password`) values('1','{$pass_s}');"); + $cit_haos_gr=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_var`;")); + } + echo ''; + echo ''; +} +elseif ($in_haos['status']==1) +{ + //echo ''; + $cit_haos_pl=mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_var` WHERE `group`='".$in_haos['group']."' LIMIT 1;")); + echo ''; + echo(""); + echo(""); +} +elseif ($in_haos['status']==2) +{ + echo ''; + + //echo ''; + header('location: c_haos_in.php'); +} +elseif ($in_haos['status']==4) +{ + mysql_query("DELETE FROM `cit_haos_status` WHERE `id` ='{$user['id']}'; "); + echo ''; +} +elseif ($in_haos['status']==5) +{ + mysql_query("UPDATE users SET `doblest`=`doblest`+'1' WHERE `id` = '".$user['id']."';"); + addchp ('За убийство босса ЦХ вы получили 1 доблести','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) + VALUES ('','0','{$cur_user['id']}','\"".$user['login']."\" получил в ЦХ 1 доблести',1,'".time()."');"); + mysql_query("DELETE FROM `cit_haos_status` WHERE `id` ='{$user['id']}'; "); + header('location: c_haos.php'); + /*echo '';*/ +} +?> + + +

    Цитадель Хаоса

    Следующий рейд начнется '.date("j.m в H:i",$cit_haos_t['value']).'
    Готовьтесь! Следующий рейд будет '.$d_o.'


    Рейд начинается '.date("j.m в H:i",$cit_haos_t['value']+900).'
    Взнос за участие в рейде 20 кр
    '; + echo '
    Максимальный размер группы - 4 участника
    '; + echo '
    '.$pass_in_err.'
    '; + $check_em=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_status` WHERE `group`=1 ;")); + + if($check_em<1) + { + $i=1; + echo('Группа '.$i.":"); + $cit_haos_pl=mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_var` WHERE `group`='".$i."' LIMIT 1;")); + if($cit_haos_pl['players']!='') + { + foreach(explode(";",$cit_haos_pl['players']) as $ch_p) + echo(nick3($ch_p).","); + echo('Пароль:'); + } + + else echo(' (Создать новую группу)'); + echo '
    '; + } + + + else + for($i=1;$i<=$cit_haos_gr+1;$i++) + { + echo('Группа '.$i.":"); + $cit_haos_pl=mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_var` WHERE `group`='".$i."' LIMIT 1;")); + if(strlen($cit_haos_pl['players'])>1) + { + foreach(explode(";",$cit_haos_pl['players']) as $ch_p) + echo(nick3($ch_p).","); + echo('Пароль:'); + } + else echo(' (Создать новую группу)'); + echo '
    '; + } + + + echo ''; + if($pay_err) echo ($pay_err); + echo '
    Начать первый рейд:
    Рейд начинается '.date("j.m в H:i",$cit_haos_t['value']+900).'
    Ждем начала рейда...
    Ваша группа "); + if($cit_haos_pl['password']!='') + echo(":: Пароль - [".$cit_haos_pl['password']."]
    "); + //else + //echo(" - без пароля
    "); + if($pass_err) echo($pass_err."
    "); + $num=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_status` WHERE `group`='".$in_haos['group']."';")); + echo("
    ".$num." из 4"); + //if($num==1) echo (" - Группа не набрана"); + /*else*/if($num==4) echo (" - Группа заполнена"); + echo("
    "); + $cit_haos_pl=mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_var` WHERE `group`='".$in_haos['group']."' LIMIT 1;")); + foreach(explode(";",$cit_haos_pl['players']) as $ch_p) + echo(nick3($ch_p)."
    "); + + echo("
    '; + if($wait_msg) echo ($wait_msg); + echo'
    Еще рейд:
    Начать новый рейд:
    +
    + + + diff --git a/c_haos_in.php b/c_haos_in.php new file mode 100644 index 0000000..57a06e6 --- /dev/null +++ b/c_haos_in.php @@ -0,0 +1,432 @@ +0)) header("Location: index.php"); + include "config.php"; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + $in_haos = mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_status` WHERE `id` = '{$user['id']}' LIMIT 1;")); + include "functions.php"; + $wait_msg="Ждем готовности всей группы..."; + //rooms + $ch_rooms=array + ( + // 0 - empty + "1"=>"Ворота (1)", + "2"=>"Двор (2)", + "3"=>"Внешний корридор (3)", + "4"=>"Спуск в подвал (4)", + "5"=>"Подвал (5)",//босс Душа + "6"=>"Люк на Западную стену (6)", + "7"=>"Западная стена (7)", + "8"=>"Галерея Страха (8)", + "9"=>"Западная башня (9)", + "10"=>"Галерея Смерти (10)",//босс Зомби + "11"=>"Проход к Северной стене (11)", + "12"=>"Галерея Тьмы (12)", + "13"=>"Северная стена (13)", + "14"=>"Галерея Бликов (14)", + "15"=>"Внутренний корридор (15)",//босс Повелитель + "16"=>"Гостевая (16)", + "17"=>"Руины Северной башни (17)", + "18"=>"Поминальная комната (18)", + "19"=>"Галерея Порталов (19)", + "20"=>"Зал Посвященных (20)",//босс Хромой Билли + "21"=>"Старая лестница (21)", + "22"=>"Трофейная (22)", + "23"=>"Костяной зал (23)", + "24"=>"Склеп (24)", + "25"=>"Лабиринт (25)",//босс Мародер + "26"=>"Тронный зал (26)", + "27"=>"Тайный корридор (27)", + "28"=>"Комната прислуги (28)", + "29"=>"Королевские покои (29)", + "30"=>"Переход (30)"//босс Грохобот + ); + //bots + + $ch_bots=array(); + //1 - упырь + //2 - падший + //3 - душа + $db=mysql_fetch_array(mysql_query("SELECT * FROM `cit_haos_var` WHERE `group`='".$in_haos['group']."' limit 1; ")); + if(!$db['bots']) + { + $bot_low=array + ( + // 0 - empty + "1"=>"Упырь", + "2"=>"Посланник смерти", + "3"=>"Падший", + "4"=>"Отморозок", + "5"=>"Проклятие глубин" + ); + for($i=1;$i<=30;$i++) + { + $ch_get_bot=rand(1,5); + $ch_bots[$i]=array("0"=>$bot_low[$ch_get_bot]); + } + $ch_bots[5]=array("0"=>"Душа"); + $ch_bots[10]=array("0"=>"Зомби"); + $ch_bots[15]=array("0"=>"Повелитель"); + $ch_bots[20]=array("0"=>"Хромой Билли"); + $ch_bots[25]=array("0"=>"Мародер"); + $ch_bots[30]=array("0"=>"Грохобот"); + $dbb=serialize($ch_bots); + mysql_query("UPDATE `cit_haos_var` SET bots='".$dbb."' WHERE `group`='".$in_haos['group']."'; "); + } + else + { + $ch_bots=unserialize($db['bots']); + } + // комната - опыт == доблесть + $ch_priz=array + ( + "5" => array (100,1), + "10" => array (200,2), + "15" => array (300,3), + "20" => array (400,4), + "25" => array (500,5), + "30" => array (600,10) + ); + // комната - кирка == уник_7 == цветок == уник_8 + $ch_drop=array + ( + "25" => array (10,60,95,100), + "30" => array (3,6,7,8), + ); + $priz_low= + array("727"); + $priz_med= + array("775","776","777","778"); + $priz_flow= + array("14"); + $priz_high= + array("803","804","805","806"); + + /*$ch_bots[1]=array + ( + "0"=>"Младший страж глубин", + "1"=>"Младший страж глубин", + "2"=>"Босс глубин" + ); + $ch_bots[2]=array + ( + "0"=>"Младший страж глубин", + "1"=>"Босс глубин" + );*/ + + if ($user['room'] != 601) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + if ($in_haos['status'] == 4) + { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '600',`online`.`room` = '600' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + mysql_query("UPDATE `cit_haos_status` SET room='0',bot='0',group='0' WHERE id = '{$user['id']}'; "); + header('location: c_haos.php'); + } + if (!$ch_rooms[$in_haos['room']]) + { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '600',`online`.`room` = '600' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + if ($in_haos['status'] == 2) + { + mysql_query("UPDATE `cit_haos_status` SET room='0',status='5',bot='0' WHERE id = '{$user['id']}'; "); + addchp ('Вы пробились до двери на 2 уровень подземелий Цитадели Хаоса. Только опытный воин и храбрый страж сможет пройти через нее (10 уровень, страж 2 уровня)','{[]}'.nick7 ($user['id']).'{[]}'); + } + mysql_query("UPDATE `cit_haos_var` SET bots='',players='' WHERE group='".$in_haos['group']."'; "); + header('location: c_haos.php'); + } + + ?> + + + + + + + + + + + + + + + + + + + +Внимание! '.$bot_name.' напал на Вашу группу!','{[]}'.nick7 ($gr['id']).'{[]}'); + } + + for($bot_c=0;$bot_c<$bot_count;$bot_c++) + { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$bot_name."%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$bot_name." ".($nb[0]+1)."','".$bot_id."','','".$bot_hp."');"); + $bot = mysql_insert_id(); + $bots[]=$bot; + } + // командный вход + $group_fight=array(); + $group_raw=mysql_query("SELECT * FROM `cit_haos_status` WHERE `group` = '{$in_haos['group']}' AND status='2';"); + while ($gr = mysql_fetch_array($group_raw)) + $group_fight[]=$gr['id']; + { + $teams = array(); + foreach($bots as $b) + foreach($group_fight as $gf) + { + $teams[$gf][$b] = array(0,0,time()); + $teams[$b][$gf] = array(0,0,time()); + mysql_query("UPDATE `cit_haos_status` SET `status` = '3' WHERE `id` ='{$gf}'; "); + } + + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2` + ) + VALUES + ( + NULL,'','".serialize($teams)."','3','1','0','".implode(";", $group_fight)."','".implode(";", $bots)."','".time()."','".time()."' + )"); + + $id = mysql_insert_id(); + + // апдейтим бота + foreach($bots as $b) mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$b} LIMIT 1;"); + + // создаем лог + //$rr = "".nick3($user['id'])." и ".nick3($bot).""; + + //addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." сошлись в поединке.
    "); + } + foreach($group_fight as $gf) mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$gf};"); + + //} + die(""); + } +} + $group_num=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_status` WHERE `group` = '{$in_haos['group']}';")); + $group_ready=mysql_num_rows(mysql_query("SELECT * FROM `cit_haos_status` WHERE (`room` = '{$in_haos['room']}' AND `group` = '{$in_haos['group']}');")); + $cit_haos_t=mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'cit_haos_time' LIMIT 1;")); +$tm=time(); + if($in_haos['status'] == 2) + {if(($tm>($cit_haos_t['value']+960))||($tm<($cit_haos_t['value']-600)))//def 960 + { + $flag_ref=1; + foreach($ch_bots[$in_haos['room']] as $bot_id=>$bot_name) + if($bot_id>=$in_haos['bot']) + { + echo ''; + $flag_ref=0; + } + if (!array_key_exists($in_haos['bot'],$ch_bots[$in_haos['room']])) + { + echo($wait_msg); + //проверяем есть ли приз + if(array_key_exists($in_haos['room'],$ch_priz)) + { + $priz_exp=$ch_priz[$in_haos['room']][0]; + $priz_dobl=$ch_priz[$in_haos['room']][1]; + } + else + { + $priz_exp=0; + $priz_dobl=0; + } + if(array_key_exists($in_haos['room'],$ch_drop)) + { + $got_drop=rand(0,400);//100 - norm, 400 - 25% + } + else + { + $got_drop=-1; + } + //выбираем приз + if($in_haos['room']<30) + { + if($got_drop>=0 && $got_drop<$ch_drop[$in_haos['room']][0]) + { + $rand_k = array_rand($priz_low, 1); + $p_id=$priz_low[$rand_k]; + $p_shop="shop"; + } + elseif($got_drop>=$ch_drop[$in_haos['room']][0] && $got_drop<$ch_drop[$in_haos['room']][1]) + { + $rand_k = array_rand($priz_med, 1); + $p_id=$priz_med[$rand_k]; + $p_shop="shop"; + } + elseif($got_drop>=$ch_drop[$in_haos['room']][1] && $got_drop<$ch_drop[$in_haos['room']][2]) + { + $rand_k = array_rand($priz_flow, 1); + $p_id=$priz_flow[$rand_k]; + $p_shop="fshop"; + } + elseif($got_drop>=$ch_drop[$in_haos['room']][2] && $got_drop<=$ch_drop[$in_haos['room']][3]) + { + $rand_k = array_rand($priz_high, 1); + $p_id=$priz_high[$rand_k]; + $p_shop="shop"; + } + else + {}; + } + elseif($in_haos['room']==30) + { + if($got_drop<=200)//400max/4=>50% + { + $priz_low= + array("808","809"); + + $rand_k = array_rand($priz_low, 1); + $p_id=$priz_low[$rand_k]; + $p_shop="shop"; + } + else + {} + + } + else + {}; + //выбираем получателя + $all_get=array(); + $gr_raw=mysql_query("SELECT * FROM `cit_haos_status` WHERE `group` = '{$in_haos['group']}';"); + while($g_id=mysql_fetch_array($gr_raw)) + $all_get[]=$g_id['id']; + + $l_id=rand(0,count($all_get)-1); + //$all_get[$l_id]; + //if($priz_exp>0) addchp ('CH get priz - '.$all_get[$l_id],'{[]}'.nick7 (1258).'{[]}'); + //даем призы + if($p_id>0) + { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `{$p_shop}` WHERE `id` = '{$p_id}' LIMIT 1;")); + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`duration`,`present` + ) + VALUES + ('{$dress['id']}','{$all_get[$l_id]}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dur}','Мусорщик' + ) ;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','$all_get[$l_id]','\"".$user['login']."\" получил в ЦХ предмет: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."]',1,'".time()."');"); + addchp ('За убийство босса Цитадели Хаоса вы получили '.$dress['name'],'{[]}'.nick7 ($all_get[$l_id]).'{[]}'); + } + if($priz_exp>0) + { + GiveExp($all_get[$l_id],$priz_exp); + addchp ('За убийство босса Цитадели Хаоса вы получили '.$priz_exp.' опыта','{[]}'.nick7 ($all_get[$l_id]).'{[]}'); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) + VALUES ('','0','{$cur_user['id']}','\"".$all_get[$l_id]."\" получил в ЦХ \"".$priz_exp."\" опыта',1,'".time()."');"); + } + if($priz_dobl>0) + { + mysql_query("UPDATE users SET `doblest`=`doblest`+'".$priz_dobl."' WHERE `id` = '".$all_get[$l_id]."';"); + addchp ('За убийство босса Цитадели Хаоса вы получили '.$priz_dobl.' доблести','{[]}'.nick7 ($all_get[$l_id]).'{[]}'); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) + VALUES ('','0','{$cur_user['id']}','\"".$all_get[$l_id]."\" получил в ЦХ \"".$priz_dobl."\" доблести',1,'".time()."');"); + } + mysql_query("UPDATE `cit_haos_status` SET `room` = `room`+1,`bot`=0 WHERE `group` = '{$in_haos['group']}'; "); + if (!headers_sent()) header('location: c_haos_in.php'); + } + if($flag_ref==0 && !headers_sent()) header('location: c_haos_in.php'); + } + else + { + echo(""); + echo ''; + } + } +?> + +

    Цитадель Хаоса:
    +

    '; + if($bot_id==$in_haos['bot']) echo''.$bot_name.''; else echo($bot_name); + if($bot_id==$in_haos['bot']) echo' - '; + echo '
    Ждем готовности группы... Приготовьтесь!
    '; + echo '
    +
    '); +?> + + diff --git a/c_park.php b/c_park.php new file mode 100644 index 0000000..4522758 --- /dev/null +++ b/c_park.php @@ -0,0 +1,249 @@ +0)) header("Location: index.php"); + include "config.php"; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + $in_park = mysql_fetch_array(mysql_query("SELECT * FROM `cit_park` WHERE `id` = '{$user['id']}' LIMIT 1;")); + $owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$user['id']." AND (type=13 OR type=12 OR type=14) limit 1;")); + + if(!$in_park) + { + mysql_query("INSERT INTO cit_park(id) values('{$user['id']}');"); + $in_park=mysql_fetch_array(mysql_query("SELECT * FROM `cit_park` WHERE `id` = '{$user['id']}' LIMIT 1;")); + } + + include "functions.php"; + + if ($user['room'] != 602) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + + //комнаты парка + + $ch_rooms=array + ( + // 0 - empty + "1"=>"Площадь (1)", + "2"=>"Аллея Геры (2)", + "3"=>"Фонтан Снов (3)", + "4"=>"Лабиринт Фавна (4)", + "5"=>"Поляна Сказок (5)",//босс Душа + "6"=>"Переулок Зеленый (6)", + "7"=>"Дубрава (7)", + "8"=>"Старая Роща (8)", + "9"=>"Лукоморье (9)", + "10"=>"Золотая Роща (10)",//босс Зомби + "11"=>"Вечная Осень (11)", + "12"=>"Заливные Луга (12)", + "13"=>"Терра Нова (13)", + "14"=>"Гора Райдинг (14)", + "15"=>"Пасифик-Риф (15)"//босс Повелитель + ); + + // выдаем ботов + + $ch_bots=array(); + $bot_low=array + ("4150","4152","4153","4154","4155","4156"); + $bot_high=array + ("4157","4158","4159"); + if($in_park['bots']=='') + { + for($i=1;$i<=15;$i++) + { + $rand_num=rand(3,7); + $rand_bot=''; + for($j=1;$j<=$rand_num;$j++) + { + $rand_bot.=$bot_low[array_rand($bot_low,1)]; + $rand_bot.=';'; + } + if($i%5==0) + $rand_bot.=$bot_high[array_rand($bot_high,1)]; + $rand_bot.=';'; + + $ch_bots[$i]=$rand_bot; + } + $dbb=serialize($ch_bots); + mysql_query("UPDATE `cit_park` SET bots='{$dbb}' WHERE `id`='{$user['id']}'; "); + } + else + { + $ch_bots=unserialize($in_park['bots']); + } + + // начинаем расчет действий + + if($_POST['start_raid']) + { + mysql_query("UPDATE `cit_park` SET `counter`=`counter`+1, `room`=`room`+1 WHERE `id`='{$user['id']}';"); + $in_park=mysql_fetch_array(mysql_query("SELECT * FROM `cit_park` WHERE `id` = '{$user['id']}' LIMIT 1;")); + } + + //старт боя - началоа + + if($_POST['attack']) + { + $bots_raw=explode(";",$ch_bots[$in_park['room']]); + $bots=array(); + foreach($bots_raw as $bot_id) + if($bot_id>0) + { + $b_pers=mysql_fetch_array(mysql_query("SELECT `login`,`maxhp` FROM users WHERE id='{$bot_id}' LIMIT 1;")); + $bot_hp=$b_pers['maxhp']; + $bot_name=$b_pers['login']; + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$bot_name."%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$bot_name." ".($nb[0]+1)."','".$bot_id."','','".$bot_hp."');"); + $bots[]=mysql_insert_id(); + } + + $teams = array(); + foreach($bots as $b) + { + $teams[$user['id']][$b] = array(0,0,time()); + $teams[$b][$user['id']] = array(0,0,time()); + } + + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2` + ) + VALUES + ( + NULL,'','".serialize($teams)."','3','1','0','".$user['id']."','".implode(";", $bots)."','".time()."','".time()."' + )"); + + $id = mysql_insert_id(); + foreach($bots as $b) mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$b} LIMIT 1;"); + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']};"); + + addchp ('Внимание! Вы вступили в бой c бандитами!','{[]}'.nick7 ($user['id']).'{[]}'); + + die(""); + } + + + //старт боя - конец + + ?> + + + + + + + + + + + + + + + + +=15) +{ + echo(''); + echo(""); + if($in_park['room']==15) + { + echo(""); + //раздача гаек + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '856' LIMIT 1;")); + $gadget_num=mt_rand(1,8); + for($i=0;$i<$gadget_num;$i++) + { + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`duration` + ) + VALUES + ('{$dress['id']}','{$user[id]}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','0' + ) ;"); + } + //раздача страничек + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '867' LIMIT 1;")); + $gadget_num=mt_rand(1,5); + for($i=0;$i<$gadget_num;$i++) + { + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`duration` + ) + VALUES + ('{$dress['id']}','{$user[id]}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','0' + ) ;"); + } + //раздача ингридиентов + $ing_list=array("859","860","861","862","863","864","865"); + $ing_id=$ing_list[array_rand($ing_list)]; + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '{$ing_id}' LIMIT 1;")); + $gadget_num=mt_rand(1,3); + for($i=0;$i<$gadget_num;$i++) + { + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`duration` + ) + VALUES + ('{$dress['id']}','{$user[id]}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','0' + ) ;"); + } + + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','\"".$user['login']."\" Подобрал в Парке гайки ( \"".$gadget_num."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."]',1,'".time()."');"); + addchp ('В Парке Вы подобрали гайки ('.$gadget_num.' шт.)','{[]}'.nick7 ($user['id']).'{[]}'); + //денежный приз + $priz=mt_rand(1,10); + mysql_query("UPDATE users set money=money+{$priz} where id='{$user['id']}';"); + addchp ('После посещения Парка Вы обогатились на '.$priz.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) + VALUES ('','0','{$user['id']}','\"".$user['login']."\" нашел в Парке ".$priz." кр. ',1,'".time()."');"); + //переход + mysql_query("UPDATE `cit_park` SET `room`=0,`bots`='',`time`='".time()."' WHERE `id` ='{$user['id']}'; "); + } + if($in_park['counter']>=3) + echo(''); + elseif(($in_park['time']+3600)>time()) + {/**/ + $tm=time(); + $t_wait=round(((3600-$tm+$in_park['time'])/60),1); + echo(''); + } + else + echo(''); + echo ''; +} +else +{ + echo(''); + echo(''); + echo(''); + echo(''); +} + + +?> + + +

    Городской Парк

    Вы стоите на парковой площади
    За сегодня Вы посетили парк ".$in_park['counter']."/3 раз.
    Вы вышли из парка с чувством глубокого удовлетворения...
    По какому-то странному совпадению Вам не хочется идти в парк. Может, подождать до завтра?
    Вы совсем недавно вернулись из парка, бесполезно идти туда снова.
    (Осталось ждать: '.$t_wait.' мин.)

    Вы видите табличку с названием улицы: '.$ch_rooms[$in_park['room']].'
    В парке пустынно и темно, только какие-то подозрительные личности шныряют по своим делам.
    Вы видите несколько бандитов. Они замышляют зловещие преступления в городе!

    +
    + + + diff --git a/canalizaciya.php b/canalizaciya.php new file mode 100644 index 0000000..f111629 --- /dev/null +++ b/canalizaciya.php @@ -0,0 +1,788 @@ + 0)) header("Location: index.php"); + include "config.php"; + include "functions.php"; +$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); +if($user['room']==403){ + +include "startpodzemel.php"; +if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + +if($_GET['act']=="cexit") +{ +$das=mysql_query("select glava,glav_id from `labirint` where user_id='".$user['id']."'"); +$rf=mysql_fetch_array($das); +$glav_id=$rf["glav_id"]; +$glava=$rf["glava"]; +if($glava==$user['login']){//1 +$des=mysql_query("select login,user_id from `labirint` where `glav_id`='$glav_id' and `login`!='$glava'"); +$r=0; +while($raf=mysql_fetch_array($des)){//2 +$r++; +$log = $raf["login"]; +$id_us = $raf["user_id"]; +}//2 +if($r>=1){ +mysql_query("UPDATE labirint SET glav_id='$id_us',glava='$log' WHERE glav_id='".$user['id']."'"); +mysql_query("UPDATE podzem3 SET glava='$log' WHERE glava='".$user['login']."'"); +}else{ +mysql_query("DELETE FROM labirint WHERE glav_id='".$user['id']."'"); +mysql_query("DELETE FROM podzem3 WHERE glava='".$user['login']."'"); +mysql_query("DELETE FROM podzem4 WHERE glava='".$user['login']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Подземное зелье жизни' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №1' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №2' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №3' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №4' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №5' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №6' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №7' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №8' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №9' and owner='".$user['id']."'"); +mysql_query("DELETE FROM `inventory` WHERE name='Ключик №10' and owner='".$user['id']."'"); +} +}//1 +$e = mysql_query("DELETE FROM labirint WHERE user_id='".$user['id']."'"); +mysql_query("UPDATE `users`,`online` SET `users`.`room` = '402',`online`.`room` = '402' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."' ;"); +print ""; exit(); +} + +?> + + + + +);"> + +location.href='podzem_dialog.php'"; exit();} +// 3 smerti == vqlet +if($mir['dead']>=3){print ""; exit();} +//vignat +if($_GET['kill']){ +if($user['login']==$glava){ +$rost=mysql_fetch_array(mysql_query("SELECT `user_id` FROM `labirint` WHERE `glava`='{$glava}' and `login`='".mysql_escape_string($_GET['kill'])."'")); +$varsa = mysql_fetch_array(mysql_query("SELECT id FROM `users` WHERE `login` = '".mysql_escape_string($_GET['kill'])."' LIMIT 1;")); +if($varsa and $rost){ +if($_GET['kill']!=$glava){ +mysql_query("DELETE FROM labirint WHERE login='".mysql_escape_string($_GET['kill'])."'"); +//mysql_query("DELETE FROM `inventory` WHERE name='Бутерброд' and owner='".$varsa['id']."' and podzem='1'"); +print ""; exit(); +}else{print"Себя нельзя выгнать.";} +}else{print"Такого логина не существует или он не в вашей группе.";} +}} +//smena lider +if($_GET['change']){ +if($user['login']==$glava){ +$rost=mysql_fetch_array(mysql_query("SELECT `user_id` FROM `labirint` WHERE `glava`='$glava' and `login`='".mysql_escape_string($_GET['change'])."'")); +$varsa = mysql_fetch_array(mysql_query("SELECT id FROM `users` WHERE `login` = '".mysql_escape_string($_GET['change'])."' LIMIT 1;")); +if($varsa and $rost){ +if($_GET['change']!=$glava){ +mysql_query("UPDATE labirint SET glav_id='".$varsa['id']."',glava='".$_GET['change']."' WHERE glava='".$user['login']."'"); +mysql_query("UPDATE podzem3 SET glava='".$_GET['change']."' WHERE glava='".$user['login']."'"); +print ""; exit(); +}else{print"Вы и так Лидер.";} +}else{print"Персонаж не существует или он не в вашей группе.";} +}} + +$wait_sec=$mir["visit_time"]; +$new_t=time(); +if($wait_sec<$new_t) +{ +print ""; exit(); +} +if($mir['dead']>=3){print ""; exit();} + +//2ой Ярус +if($_GET['act'] == "et2" and $mesto == '47' and $mir['name'] == "Канализация 1 этаж"){ +mysql_query("UPDATE labirint SET location='16', vector='180', name='Канализация 2 этаж', l='453', t='226' WHERE glava='".$user['login']."'"); +print "Спускаемся на 2ой ярус..."; + +$ros=mysql_query("SELECT * FROM `labirint` WHERE `user_id`='{$_SESSION['uid']}'"); +$mir=mysql_fetch_array($ros); +$mesto = $mir['location']; +$vektor = $mir['vector']; +$glava = $mir['glava']; +} + +//1ый Ярус +if($_GET['act'] == "et1" and $mesto == '6' and $mir['name'] == "Канализация 2 этаж"){ +mysql_query("UPDATE labirint SET location='48', vector='270', name='Канализация 1 этаж', l='477', t='190' WHERE glava='".$user['login']."'"); +print "Поднимаемся на верхний ярус..."; + +$ros=mysql_query("SELECT * FROM `labirint` WHERE `user_id`='{$_SESSION['uid']}'"); +$mir=mysql_fetch_array($ros); +$mesto = $mir['location']; +$vektor = $mir['vector']; +$glava = $mir['glava']; +} + + +include "canalization_mod.php"; + + +////////////нападение//////////////// +if($_GET['act'] == "atk"){ +$d = $_GET['n']+10; +$d2 = $_GET['n']-10; +$d3 = $_GET['n']+1; +$d4 = $_GET['n']-1; +$red = mysql_query("SELECT n".mysql_escape_string($_GET['n'])." FROM podzem3 WHERE glava='".$mir['glava']."' and name='".$mir['name']."'"); +if($gef = mysql_fetch_array($red)){ +$dop = $gef["n".$_GET['n'].""]; +} +if($mesto == $d or $mesto == $d1 or $mesto == $d2 or $mesto == $d3 or $mesto == $d4){ +if($dop!=''){ +include"podzem/atk.php"; +} +} +} +if($_GET['act']=='el') { +if($mir['el']!='1' and $mesto==$mir['el']){ +mysql_query("INSERT INTO `inventory` (`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`present`,`magic`,`otdel`,`isrep`) + VALUES('".$user['id']."','Подземное зелье жизни','50','1','0','food_l9.gif','5','Подземка','8','6','0') ;"); +mysql_query("UPDATE `labirint` SET el='1' WHERE `glava`='".$glava."' and `login`='".$user['login']."'"); +print" Вы получили 'Подземное зелье жизни'
    "; +}else{ +if($mir['el']=='1'){print" Вы уже брали зелье!
    ";} +else{print" Невозможно! Вы далеко!
    ";}} +} +///////////////Сбор чистых гаек///////////// +if($_GET['sun']=='se_gaika_c'){ +$ferrr = mysql_query("SELECT n$mesto FROM `podzem3` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$mesto"]; +if($stloc=='508' or $stloc=='507' or $stloc=='506'){ +if($stloc=='508'){mysql_query("UPDATE `podzem3` SET n$mesto='507' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='507'){mysql_query("UPDATE `podzem3` SET n$mesto='506' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='506'){mysql_query("UPDATE `podzem3` SET n$mesto='' WHERE glava='$glava' and name='".$mir['name']."'");} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Чистая гайка'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Чистая гайка'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Чистая гайка','1','g_c.gif','".$user['id']."','200','0.1','0','Лука')"); +} +$mis = "Чистая гайка"; +include "podzem_brat.php"; +print" Вы получили 'Чистая гайка'"; +}else{if($stloc==''){print" Кто-то оказался быстрее!";}} +} + +///////////////Сбор гаек///////////// +if($_GET['sun']=='gaika'){ +$ferrr = mysql_query("SELECT n$mesto FROM `podzem3` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$mesto"]; +if($stloc=='503' or $stloc=='502' or $stloc=='501'){ +if($stloc=='503'){mysql_query("UPDATE `podzem3` SET n$mesto='502' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='502'){mysql_query("UPDATE `podzem3` SET n$mesto='501' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='501'){mysql_query("UPDATE `podzem3` SET n$mesto='' WHERE glava='$glava' and name='".$mir['name']."'");} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Гайка'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1, massa=massa+0.1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Гайка'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Гайка','1','g.gif','".$user['id']."','200','0.1','0','Лука')"); +} +$mis = "Гайка"; +include "podzem_brat.php"; +print" Вы получили 'Гайка'"; +}else{if($stloc==''){print" Кто-то оказался быстрее!";}} +} + +///////////////////////////////////// +///////////////Сбор вентилей///////////// +if($_GET['sun']=='ventil'){ +$ferrr = mysql_query("SELECT n$mesto FROM `podzem3` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$mesto"]; +if($stloc=='504' or $stloc=='505' or $stloc=='506'){ +if($stloc=='506'){mysql_query("UPDATE `podzem3` SET n$mesto='505' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='505'){mysql_query("UPDATE `podzem3` SET n$mesto='504' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='504'){mysql_query("UPDATE `podzem3` SET n$mesto='' WHERE glava='$glava' and name='".$mir['name']."'");} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Вентиль'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.2 WHERE owner='".$user['id']."' and `type`='200' and `name`='Вентиль'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Вентиль','1','v.gif','".$user['id']."','200','0.2','0','Лука')"); +} +$mis = "Вентиль"; +include "podzem_brat.php"; +print" Вы получили 'Вентиль'"; +}else{if($stloc==''){print" Кто-то оказался быстрее!";}} +} + +///////////////Сбор Чистых вентилей///////////// +if($_GET['sun']=='se_ventil'){ +$ferrr = mysql_query("SELECT n$mesto FROM `podzem3` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$mesto"]; +if($stloc=='512' or $stloc=='513' or $stloc=='514'){ +if($stloc=='514'){mysql_query("UPDATE `podzem3` SET n$mesto='513' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='513'){mysql_query("UPDATE `podzem3` SET n$mesto='512' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='512'){mysql_query("UPDATE `podzem3` SET n$mesto='' WHERE glava='$glava' and name='".$mir['name']."'");} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Чистый вентиль'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.4 WHERE owner='".$user['id']."' and `type`='200' and `name`='Чистый вентиль'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Чистый вентиль','1','v2.gif','".$user['id']."','200','0.4','0','Лука')"); +} +$mis = "Чистый вентиль"; +include "podzem_brat.php"; +print" Вы получили 'Чистый вентиль'"; +}else{if($stloc==''){print" Кто-то оказался быстрее!";}} +} +///////////////////////////////////// +///////////////Сбор Болтов///////////// +if($_GET['sun']=='bolt'){ +$ferrr = mysql_query("SELECT n$mesto FROM `podzem3` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$mesto"]; +if($stloc=='507' or $stloc=='508' or $stloc=='509'){ +if($stloc=='509'){mysql_query("UPDATE `podzem3` SET n$mesto='508' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='508'){mysql_query("UPDATE `podzem3` SET n$mesto='507' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='507'){mysql_query("UPDATE `podzem3` SET n$mesto='' WHERE glava='$glava' and name='".$mir['name']."'");} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Болт'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Болт'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Болт','1','bolt.gif','".$user['id']."','200','0.1','0','Лука')"); +} +$mis = "Болт"; +include "podzem_brat.php"; +print" Вы получили 'Болт'"; +}else{if($stloc==''){print" Кто-то оказался быстрее!";}} +} + +///////////////Сбор Длинных Болтов///////////// +if($_GET['sun']=='se_gaika_bd'){ +$ferrr = mysql_query("SELECT n$mesto FROM `podzem3` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$mesto"]; +if($stloc=='511' or $stloc=='510' or $stloc=='509'){ +if($stloc=='511'){mysql_query("UPDATE `podzem3` SET n$mesto='510' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='510'){mysql_query("UPDATE `podzem3` SET n$mesto='509' WHERE glava='$glava' and name='".$mir['name']."'");} +if($stloc=='509'){mysql_query("UPDATE `podzem3` SET n$mesto='' WHERE glava='$glava' and name='".$mir['name']."'");} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Длинный болт'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.2 WHERE owner='".$user['id']."' and `type`='200' and `name`='Длинный болт'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Длинный болт','1','dbolt.gif','".$user['id']."','200','0.2','0','Лука')"); +} +$mis = "Длинный болт"; +include "podzem_brat.php"; +print" Вы получили 'Длинный болт'"; +}else{if($stloc==''){print" Кто-то оказался быстрее!";}} +} +///////////////////////////////////// +///////////////Сбор ключиик///////////// +if($_GET['sun']=='kluchiik'){ +$ferrr = mysql_query("SELECT n$mesto FROM `podzem3` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$mesto"]; +if($stloc=='510'){ +if($stloc=='510'){mysql_query("UPDATE `podzem3` SET n$mesto='' WHERE glava='$glava' and name='".$mir['name']."'");} +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Ключиик','1','kluchik.gif','".$user['id']."','200','0.5','0','Лука')"); +$mis = "Ключиик"; +include "podzem_brat.php"; +print" Вы получили 'Ключиик'"; +}else{if($stloc==''){print" Кто-то оказался быстрее!";}} +} +///////////////////////////////////// +///////////////Сбор сундуков///////////// +if($_GET['act']=='sunduk'){ +$ferrr = mysql_query("SELECT n".$_GET['n']." FROM `podzem4` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n".$_GET['n'].""]; +if($stloc=='13.1'){ +$d = $_GET['n']+10; +$d2 = $_GET['n']-10; +$d3 = $_GET['n']+1; +$d4 = $_GET['n']-1; +if($mesto==$d or $mesto==$d2 or $mesto==$d3 or $mesto==$d4){ +if($stloc=='13.1'){mysql_query("UPDATE `podzem4` SET n".$_GET['n']."='13.0' WHERE glava='$glava' and name='".$mir['name']."'");} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Гайка'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Гайка'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Гайка','1','g.gif','".$user['id']."','200','0.1','0','Лука')"); +} +$mis = "Гайка"; +include "podzem_brat.php"; +print" Вы получили 'Гайка'"; +} +}else{if($stloc=='13.0'){print" Кто-то оказался быстрее!";}} +} +///////////////////////////////////// +///////////////Сбор сундуков (БОЛТ)///////////// +if($_GET['act']=='sunduk2'){ +$ferrr = mysql_query("SELECT n".$_GET['n']." FROM `podzem4` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n".$_GET['n'].""]; +if($stloc=='14.1'){ +$d = $_GET['n']+10; +$d2 = $_GET['n']-10; +$d3 = $_GET['n']+1; +$d4 = $_GET['n']-1; +if($mesto==$d or $mesto==$d2 or $mesto==$d3 or $mesto==$d4){ +if($stloc=='14.1'){mysql_query("UPDATE `podzem4` SET n".$_GET['n']."='14.0' WHERE glava='$glava' and name='".$mir['name']."'");} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Болт'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Болт'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Болт','1','bolt.gif','".$user['id']."','200','0.1','0','Лука')"); +} +$mis = "Болт"; +include "podzem_brat.php"; +print" Вы получили 'Болт'"; +} +}else{if($stloc=='14.0'){print" Кто-то оказался быстрее!";}} +} +///////////////////////////////////// +///////////////Сбор ключей///////////// +if($_GET['act']=='key'){ +$ferrr = mysql_query("SELECT n".$_GET['n']." FROM `podzem4` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n".$_GET['n'].""]; +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Ключик №".mysql_escape_string($_GET['b'])."'"); +$g = mysql_fetch_array($f); +if(($stloc=='key1' or $stloc=='key2' or $stloc=='key3' or $stloc=='key4' or $stloc=='key5' or $stloc=='key6' or $stloc=='key7' or $stloc=='key8' or $stloc=='key9' or $stloc=='key10') and !$g){ +if($mesto==$_GET['n']){ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Ключик №".mysql_escape_string($_GET['b'])."','1','$stloc.gif','".$user['id']."','200','0.1','0','Подземка')"); +//Удаляем ключик с локи +//mysql_query("UPDATE `podzem4` SET n".$_GET['n']." = '' WHERE glava='".$glava."' and name='".$mir['name']."'"); +print" Вы получили 'Ключик №".$_GET['b']."'"; +} +}else{if($g){print" У вас уже есть Ключик №".$_GET['b']."!";}} + +} +///////////////////////////////////// +///////////////Сбор гаек из стоков///////////// +if($_GET['act']=='stok'){ +$ferrr = mysql_query("SELECT n".$_GET['n']." FROM `podzem4` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n".$_GET['n'].""]; +$shans = rand(0,100); +if($shans<51){ +mysql_query("UPDATE `podzem4` SET n".$_GET['n']."='11.0' WHERE glava='$glava' and name='".$mir['name']."'"); +$stloc='11.0'; +} +if($stloc=='11.1'){ +if($mesto==$_GET['n']){ +if($stloc=='11.1'){mysql_query("UPDATE `podzem4` SET n".mysql_escape_string($_GET['n'])."='11.0' WHERE glava='$glava' and name='".$mir['name']."'");} +$f=mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Гайка'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Гайка'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Гайка','1','g.gif','".$user['id']."','200','0.1','0','Лука')"); +} +$mis = "Гайка"; +include "podzem_brat.php"; +print" Вы получили 'Гайка'"; +} +}else{if($stloc=='11.0'){print" Попахивает...";}} +} +///////////////Сбор гаек из стоков///////////// +if($_GET['act']=='stok2'){ +$ferrr = mysql_query("SELECT n".$_GET['n']." FROM `podzem4` WHERE glava='$glava' and name='".$mir['name']."'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n".$_GET['n'].""]; +$shans = rand(0,100); +if($shans<51){ +mysql_query("UPDATE `podzem4` SET n".$_GET['n']."='12.0' WHERE glava='$glava' and name='".$mir['name']."'"); +$stloc='12.0'; +} +if($stloc=='12.1'){ +$d = $_GET['n']+10; +$d2 = $_GET['n']-10; +$d3 = $_GET['n']+1; +$d4 = $_GET['n']-1; +if($mesto==$d or $mesto==$d2 or $mesto==$d3 or $mesto==$d4){ +if($stloc=='12.1'){mysql_query("UPDATE `podzem4` SET n".mysql_escape_string($_GET['n'])."='12.0' WHERE glava='$glava' and name='".$mir['name']."'");} +$f=mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Гайка'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+0.1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Гайка'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,maxdur,img,owner,type,massa,isrep,present) VALUES('Гайка','1','g.gif','".$user['id']."','200','0.1','0','Лука')"); +} +$mis = "Гайка"; +include "podzem_brat.php"; +print" Вы получили 'Гайка'"; +} +}else{if($stloc=='12.0'){print" Попахивает...";}} +} +///////////////////////////////////// + +if($mesto == '1'){$mesto = '01';} +if($mesto == '2'){$mesto = '02';} +if($mesto == '3'){$mesto = '03';} +if($mesto == '4'){$mesto = '04';} +if($mesto == '5'){$mesto = '05';} +if($mesto == '6'){$mesto = '06';} +if($mesto == '7'){$mesto = '07';} +if($mesto == '8'){$mesto = '08';} +if($mesto == '9'){$mesto = '09';} +// переходы + if(isset($_GET['left'])){ + mysql_query("UPDATE `labirint` SET `vector` = '".mysql_escape_string($_GET['left'])."' WHERE `user_id` = '{$_SESSION['uid']}' ;"); + //header('Location:canalizaciya.php'); + die(""); + } + if(isset($_GET['right'])){ + mysql_query("UPDATE `labirint` SET `vector` = '".mysql_escape_string($_GET['right'])."' WHERE `user_id` = '{$_SESSION['uid']}' ;"); + //header('Location:canalizaciya.php'); + die(""); + } + +$fer = mysql_query("SELECT n".mysql_escape_string($rhar[$mesto][$_GET['path']])." FROM podzem3 WHERE glava='".$mir['glava']."' and name='".$mir['name']."'"); +if($ret = @mysql_fetch_array($fer)){ +$stoi = $ret["n".$rhar[$mesto][$_GET['path']].""]; +} + +if($rhar[$mesto][$_GET['path']] > 0 and $_GET['path'] < 4 and $_GET['path'] >= 0 and ($_SESSION['time'] <= time()) and ($stoi=='' or $stoi>'500')) { +if($_GET['path']==0) {$loc2=$mesto+10;} +if($_GET['path']==1) {$loc2=$mesto+1;} +if($_GET['path']==2) {$loc2=$mesto-10;} +if($_GET['path']==3) {$loc2=$mesto-1;} +$fers = mysql_query("SELECT n$loc2,v$loc2 FROM podzem4 WHERE glava='$glava' and name='".$mir['name']."'"); +$rets = mysql_fetch_array($fers); +$ins = mysql_query("SELECT id FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Ключик №".$rets["n$loc2"]."'"); +$setr = mysql_fetch_array($ins); +if($rets["n$loc2"]>=1 and $rets["n$loc2"]<=10 and !$setr){ +print" Нужен ключ №".$rets["n$loc2"]."".$rets["n$mesto"]."";}else{ +$vrem=30*60+time(); +if($_GET['path']==0) {$nav='t=t-12';} +if($_GET['path']==1) {$nav='l=l+12';} +if($_GET['path']==2) {$nav='t=t+12';} +if($_GET['path']==3) {$nav='l=l-12';} +mysql_query("UPDATE `labirint` SET `location` = '".mysql_escape_string($rhar[$mesto][$_GET['path']])."',`visit_time`='$vrem',$nav WHERE `user_id` = '{$_SESSION['uid']}' ;"); +$_SESSION['time'] = time()+1; +//header('Location:canalizaciya.php'); +die(""); + +} + } +?> + + + + + +
    + + + + + + + +
    +". echo nick($user).""; +?> +

    +
    + + + + + + + + + + + + + + +"; +} +?> +
    ПерсонажHpЗваниеПодземелье
    + target=_blank title="Информация о ">/ Выгнать из группы Передать лидерство
    +"; + +if($mir['dead']>'0'){print"
      Кол-во смертей: ".$mir['dead']."

    ";} + +include "podzem_res.php"; +?> +
    + +
    + + +
    + +
    + + + + + + + + + + + + diff --git a/canalization_mod.php b/canalization_mod.php new file mode 100644 index 0000000..b2cdf50 --- /dev/null +++ b/canalization_mod.php @@ -0,0 +1,195 @@ +'; +if($step4['left']) $s.='
    '; +if($step4['right']) $s.='
    '; +if(!$step4['right']) $s.='
    '; + +if(!$step3['right']) $s.='
    '; +if($step3['right']) {$s.='
    ';} +if($step3['left']) {$s.='
    ';} +if(!$step3['left']) {$s.='
    ';} + +if(!$step2['right']) {$s.='
    ';} +if($step2['right']) {$s.='
    ';} +if($step2['left']) $s.='
    '; +if(!$step2['left']) $s.='
    '; + +if(!$step1['right']){$s.='
    ';} +if($step1['right']) {$s.='
    ';} +if($step1['left']) {$s.='
    Этаж 1 - Канализация
    ';} +if(!$step1['left']) {$s.='
    Этаж 1 - Канализация
    ';} + +///////stenq//////// +if(!$step4['fwd']) $s.='
    '; +if(!$step3['fwd']) $s.='
    '; +if(!$step2['fwd'])$s.='
    '; +if(!$step1['fwd']) $s.='
    '; + +include"podzem_mod.php"; + + return $s; +} + +function next_step($location, $vector) { + global $rhar; + $row=intval(substr($location, 0, 1)); + $col=intval(substr($location, 1)); + $cell=array(); + // fwd + $c=$col;$r=$row; + if($vector==90) {$c=$col+1;} + elseif($vector==180) {$r=$row-1;} + elseif($vector==270) {$c=$col-1;} + else {$r=$row+1;} + $cell['fwd']=$r.$c; + if($r>9 or $r<0 or $c>9 or $c<0 or !in_array($cell['fwd'], $rhar[$location])) {$cell['fwd']=false;} + + // left + $c=$col;$r=$row; + if($vector==90) {$r=$row+1;} + elseif($vector==180) {$c=$col+1;} + elseif($vector==270) {$r=$row-1;} + else {$c=$col-1;} + $cell['left']=$r.$c; + if($r>9 or $r<0 or $c>9 or $c<0 or !in_array($cell['left'], $rhar[$location])) {$cell['left']=false;} + // right + $c=$col;$r=$row; + if($vector==90) {$r=$row-1;} + elseif($vector==180) {$c=$col-1;} + elseif($vector==270) {$r=$row+1;} + else {$c=$col+1;} + $cell['right']=$r.$c; + if($r>9 or $r<0 or $c>9 or $c<0 or !in_array($cell['right'], $rhar[$location])) {$cell['right']=false;} + // back + $c=$col;$r=$row; + if($vector==90) {$c=$col-1;} + elseif($vector==180) {$r=$row+1;} + elseif($vector==270) {$c=$col+1;} + else {$r=$row-1;} + + $cell['back']=$r.$c; + if($r>9 or $r<0 or $c>9 or $c<0 or !in_array($cell['back'], $rhar[$location])) {$cell['back']=false;} + return $cell; +} + +////////////// +} +?> \ No newline at end of file diff --git a/cave.php b/cave.php new file mode 100644 index 0000000..6416f4d --- /dev/null +++ b/cave.php @@ -0,0 +1,1405 @@ + "Рудник"); + +if($user["login"] == "Rallo Tabs") { + if(isset($_GET['goto'])) { + mysql_query("UPDATE `caveparties` SET `x` = '$_GET[x]', `y` = '$_GET[y]', `floor` = '$_GET[floor]' WHERE `caveparties`.`user` = $user[id] LIMIT 1"); + header('Location: cave.php'); + exit(); + } + header("Content-Type: text/html; charset=utf-8"); +} + +if($user['battle'] > 0) { + header("location: fbattle.php"); + die(); +} + +$objsizes = array(0 => array(0, 0), 1 => array(120, 60), 2 => array(120, 60), 3 => array(120, 60), 4 => array(110, 72), 5 => array(120, 120)); + +$objdata[3][0] = array("wd"=>1.44, "ht"=>1.44, "y"=>1, "x"=>176); +$objdata[3][1] = array("coef"=>1, "y"=>202, "x"=>176); +$objdata[1][1] = array("coef"=>1, "y"=>202, "x"=>-65); +$objdata[5][1] = array("coef"=>1, "y"=>202, "x"=>435); +$objdata[3][2] = array("coef"=>0.67, "y"=>162, "x"=>176); +$objdata[1][2] = array("coef"=>0.67, "y"=>162, "x"=>18); +$objdata[5][2] = array("coef"=>0.67, "y"=>162, "x"=>342); +$objdata[3][3] = array("coef"=>0.50, "y"=>141, "x"=>176); +$objdata[1][3] = array("coef"=>0.50, "y"=>141, "x"=>50); +$objdata[5][3] = array("coef"=>0.50, "y"=>141, "x"=>300); +$imgdata[3][0] = array("wd"=>173, "ht"=>317, "y"=>1, "x"=>array(-37, 89, 215)); +$imgdata[3][1] = array("wd"=>87, "ht"=>161, "y"=>41, "x"=>array(68, 132, 196)); +$imgdata[1][1] = array("wd"=>87, "ht"=>161, "y"=>41, "x"=>array(-171, -44, -44)); +$imgdata[5][1] = array("wd"=>87, "ht"=>161, "y"=>41, "x"=>array(308, 308, 435)); +$imgdata[3][2] = array("wd"=>58, "ht"=>107, "y"=>55, "x"=>array(104, 147, 189)); +$imgdata[1][2] = array("wd"=>58, "ht"=>107, "y"=>55, "x"=>array(-56, 29, 29)); +$imgdata[5][2] = array("wd"=>58, "ht"=>107, "y"=>55, "x"=>array(264, 264, 350)); +$imgdata[3][3] = array("wd"=>44, "ht"=>81, "y"=>61, "x"=>array(122, 154, 186)); +$imgdata[1][3] = array("wd"=>44, "ht"=>81, "y"=>61, "x"=>array(1, 65, 65)); +$imgdata[5][3] = array("wd"=>44, "ht"=>81, "y"=>61, "x"=>array(242, 242, 306)); + +$eventdata[3][1] = array("x" => 176, "y" => 200, "q" => 1); +$eventdata[3][2] = array("x" => 176, "y" => 149, "q" => 0.66); +$eventdata[1][2] = array("x" => 16, "y" => 149, "q" => 0.66); +$eventdata[5][2] = array("x" => 335, "y" => 149, "q" => 0.66); +$eventdata[3][3] = array("x" => 176, "y" => 133, "q" => 0.5); +$eventdata[1][3] = array("x" => 56, "y" => 133, "q" => 0.5); +$eventdata[5][3] = array("x" => 296, "y" => 133, "q" => 0.5); + +$objects = array(1 => "Спуск", 2 => "Спуск", 3 => "Спуск", 4 => "Сундук", 5 => "Спуск"); +$events = array(); +$dialogs = array(); +$noautoexit = 0; + +function usagesleft($x, $y) { + global $map; + $cell = explode("/", $map[$y*2][$x*2]); + return $cell[3]; +} + +function takeusage($x, $y) { + global $map; + $cell = explode("/", $map[$y*2][$x*2]); + $cell[3]--; + $map[$y*2][$x*2] = implode("/", $cell); + updmap(); +} + +function makedeath() { + global $user, $floor, $loses, $x, $y, $dir; + include("cavedata.php"); + if(!isset($cavedata[$user['room']]['x'.$floor])) { + $floor = 1; + loadmap(); + } + mysql_query("UPDATE `caveparties` SET `floor` = $floor, `x` = '".$cavedata[$user['room']]['x'.$floor]."', `y` = '".$cavedata[$user['room']]['y'.$floor]."', `dir` = '".$cavedata[$user['room']]['dir'.$floor]."', `loses` = (`loses`+1) WHERE `user` = '$user[id]' LIMIT 1"); + mysql_query('UPDATE `users` SET `hp` = 1 WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $x = $cavedata[$user['room']]['x'.$floor]; + $y = $cavedata[$user['room']]['y'.$floor]; + $dir = $cavedata[$user['room']]['dir'.$floor]; + updparties(); + $loses++; +} + +function pickupitem($item, $foronetrip, $notmore1, $incave = 0, $podzem = 1, $destiny = 0) { + global $user; + if($notmore1) { + $i = mysql_fetch_assoc(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype` = '$item' AND `owner` = '$user[id]' LIMIT 1")); + if(isset($i['id'])) { + return "Вы уже получили здесь всё необходимое."; + } + } + $flds = array('podzem' => 1, 'podzem' => $podzem); + if($incave) { + $flds['incave'] = 1; + } + $taken = takeshopitem($item, 'shop', '', $foronetrip, $destiny, $flds); + return "Вы получили $taken[name]"; +} + +function itemtofloor($item, $foronetrip, $incave = 0, $podzem = 1, $from = 'shop', $small = 0) { + global $user, $x, $y, $floor; + $rec = mysql_fetch_array(mysql_query("SELECT `name`, `img` FROM `$from` WHERE `id` = '$item' LIMIT 1")); + mysql_query("INSERT INTO `caveitems` SET `leader` = '$user[caveleader]', `name` = '$rec[name]', `img` = '$rec[img]', `small` = '$small', `x` = '".($x*2)."', `y` = '".($y*2)."', `floor` = '$floor', `item` = '$item', `foronetrip` = '$foronetrip', `incave` = '$incave', `podzem` = '$podzem'"); + return "Вы нашли $rec[name]."; +} + +function makeinjury() { + global $user, $floor, $noautoexit, $loses, $x, $y, $dir; + settravma($user['id'], 20, rand(1, 600), 1, 1); + makedeath(); + $noautoexit = 1; +} + +function cavewall($w) { + if($w < 100) { + return floor($w/10); + } else { + return floor($w/1000)+100; + } +} + +function passablewall($n) { + if($n == 0 || $n == 31) { return true; } + return false; +} + +function canmoveto($cell, $freecell = 0, $passing = 0) { + if(!passablewall($passing)) { return false; } + $obj = substr($cell, 0, 1); + if($obj == "e" || $obj == "u" || $obj == "s" || $obj == "p") { return true; } + if(!$freecell && $cell) { return false; } + if($cell == $freecell) { return true; } + return false; +} + +function gotoxy($tox, $toy, $tofloor = 0, $msg = '') { + global $map, $x, $y, $floor, $user; + $floor1 = $floor; + $upd = ""; + if($tox) { + $tox = $tox/2; + if($upd) { $upd .= ", "; } + $upd .= " `x` = '$tox'"; + $x = $tox; + } + if($toy) { + $toy = $toy/2; + if($upd) { $upd .= ", "; } + $upd .= " `y` = '$toy'"; + $y = $toy; + } + if($tofloor && $tofloor != $floor) { + if($upd) { $upd .= ", "; } + $upd .= " `floor` = '$tofloor'"; + $floor = $tofloor; + } + mysql_query("UPDATE `caveparties` SET $upd WHERE `user` = '$user[id]' LIMIT 1"); + if($tofloor && $tofloor != $floor1) { + $map = mysql_fetch_assoc(mysql_query("SELECT `map` FROM `caves` WHERE `leader` = '$user[caveleader]' AND `floor` = '$floor' LIMIT 1")); + $map = unserialize($map); + } + updparties(); + if($msg) { + header("Location: ".$_SERVER['PHP_SELF'].($msg ? '?msg='.$msg : '' )); + exit(); + } +} + +function updparties() { + global $user, $x, $y, $floor, $dir, $party; + foreach ($party as $k => $v) { + if($v['user'] == $user['id']) { + $party[$k]['dir'] = $dir; + $party[$k]['x'] = $x; + $party[$k]['y'] = $y; + $party[$k]['floor'] = $floor; + } + } +} + +function loadmap() { + global $user, $map, $floor; + $map = mysql_fetch_array(mysql_query("SELECT `map` FROM `caves` WHERE `leader` = '$user[caveleader]' AND `floor` = '$floor' LIMIT 1")); + $map = unserialize($map['map']); +} + +if(!in_array($user['room'], $caverooms)) { + header("Location: main.php"); + die('Not in this life ...'); +} + +if(isset($_GET['direction'])) { + $dir = (int)$_GET['direction']; + if($dir >= 0 && $dir <= 3) { + mysql_query("UPDATE `caveparties` SET `dir` = '$dir' WHERE `user` = '$user[id]' LIMIT 1"); + } +} + +$party = array(); +$r = mysql_query("SELECT `user`, `x`, `y`, `dir`, `login`, `shadow`, `floor`, `loses` FROM `caveparties` WHERE `leader` = '$user[caveleader]' ORDER BY `id` DESC"); +while($rec = mysql_fetch_assoc($r)) { + if($rec['user'] == $user['id']) { + $x = $rec['x']; + $y = $rec['y']; + $dir = $rec['dir']; + $floor = $rec['floor']; + $loses = $rec['loses']; + } + $party[] = $rec; +} + +if($user['room'] == 621) { + $base = "/underdesigns/alchcave"; +} + +$maxloses = 3; +if($loses >= $maxloses && !$noautoexit) { $_GET['exit'] = 1; } + +if(@$_GET['kill'] && $user['id'] == $user['caveleader'] && $_GET['kill'] != $user['login']) { + foreach($party as $k => $v) { + if($v['login'] == $_GET['kill']) { + mysql_query("DELETE FROM `caveparties` WHERE `user` = '$v[user]'"); + mysql_query("UPDATE `users` SET `room` = (`room`-1), `caveleader` = 0 WHERE `id` = '$v[user]' LIMIT 1"); + $r = mysql_query("SELECT `id`, `dressed` FROM `inventory` WHERE `owner` = '$v[user]' AND `dressed` = 1 AND `foronetrip` = 1"); + if(mysql_num_rows($r) > 0) { + $usr = mysql_fetch_array(mysql_query("SELECT ".implode(",", $userslots)." FROM `users` WHERE `id` = '$v[user]'")); + } + while($rec = mysql_fetch_assoc($r)) { + $slot = getslot($rec['id'], $usr); + if($slot) { + dropitemid(0, $v['user'], $slot); + } + } + mysql_query("DELETE FROM `inventory` WHERE `owner` = '$v[user]' AND `foronetrip` = 1"); + unset($party[$k]); + $report = "Персонаж $v[login] исключён из похода."; + break; + } + } + if(!@$report) { + $report="Персонаж $_GET[kill] не найден."; + } +} + +if($_GET['change'] && $user['id'] == $user['caveleader'] && $_GET['change'] != $user['login']) { + foreach($party as $k => $v) { + if($v['login'] == $_GET['change']) { + mysql_query("LOCK TABLES `users` WRITE, `caveparties` WRITE, `cavebots` WRITE, `caves` WRITE, `caveitems` WRITE"); + mysql_query("UPDATE `users` SET `caveleader` = '$v[user]' WHERE `caveleader` = '$user[id]'"); + mysql_query("UPDATE `cavebots` SET `leader` = '$v[user]' WHERE `leader` = '$user[id]'"); + mysql_query("UPDATE `caves` SET `leader` = '$v[user]' WHERE `leader` = '$user[id]'"); + mysql_query("UPDATE `caveparties` SET `leader` = '$v[user]' WHERE `leader` = '$user[id]'"); + mysql_query("UPDATE `caveitems` SET `leader` = '$v[user]' WHERE `leader` = '$user[id]'"); + $user['caveleader'] = $v['user']; + $report = "Персонажу $v[login] присвоено лидерство."; + mysql_query("UNLOCK TABLES"); + break; + } + } + if(!@$report) { + $report = "Персонаж $_GET[change] не найден."; + } +} + + +if(@$_GET['useitem'] || @$_GET['usewallitem']) { + mysql_query("LOCK TABLES `effects` WRITE, `cavebots` WRITE, `battle` WRITE, `users` WRITE, `caveparties` WRITE, `caves` WRITE, `shop` WRITE, `inventory` WRITE, `bots` WRITE, `caveitems` WRITE"); +} + +loadmap(); + + +if(@$_GET['useitem']) { + if($dir == 0) { $tx = $x-1; $ty = $y; } + if($dir == 1) { $tx = $x; $ty = $y-1; } + if($dir == 2) { $tx = $x+1; $ty = $y; } + if($dir == 3) { $tx = $x; $ty = $y+1; } + if(@$_GET['useitem']) { + if(file_exists("underground/objects/$user[room].php")) { + include "underground/objects/$user[room].php"; + } + } + + list($t, $obj) = explode("/", $map[$ty*2][$tx*2]); + + if($t == "o") { + if($obj == 500) { + $report="В этот сундук уже кто-то заглядывал"; + } + } + mysql_query("UNLOCK TABLES"); +} + +function updmap() { + global $map, $user, $floor; + mysql_query("UPDATE `caves` SET `map` = '".serialize($map)."' WHERE `leader` = '$user[caveleader]' AND `floor` = '$floor' LIMIT 1"); +} + +if(@$_GET['usewallitem']) { + if($dir == 0) { $tx = $x*2-1; $ty = $y*2; } + if($dir == 1) { $tx = $x*2; $ty = $y*2-1; } + if($dir == 2) { $tx = $x*2+1; $ty = $y*2; } + if($dir == 3) { $tx = $x*2; $ty = $y*2+1; } + + $obj = $map[$ty][$tx]; + + if($obj == 18) { + $report = "Вы не обнаружили ничего интересного."; + } + if($obj == 19) { + $report = "Уже проверено, сюда лучше не лазить."; + } + mysql_query("UNLOCK TABLES"); +} + +$r = mysql_query("SELECT `id`, `bot`, `x`, `y`, `cnt`, `type`, `battle` FROM `cavebots` WHERE `leader` = '$user[caveleader]' AND `floor` = '$floor'"); +$mapbots = array(); +$ambushes = array(); +$cavedata = getcavedata($user['caveleader'], $floor); + +if(time()-$cavedata['wander'] > 21) { $wander = 1; } else { $wander = 0; } + +$wanderers = array(); +while($rec = mysql_fetch_assoc($r)) { + if($rec['type'] == 1 && $wander && $rec['battle'] == 0) { + $wanderers[] = $rec; + continue; + } + if(!@$mapbots[$rec['y']][$rec['x']]) { $mapbots[$rec['y']][$rec['x']] = "b"; } + if(($rec['type'] == 1 || $rec['type'] == 2) && $rec['battle'] == 0) { $ambushes[$rec['y']][$rec['x']] = 1; } + $mapbots[$rec['y']][$rec['x']] .= "/$rec[bot]/$rec[cnt]"; +} + +if($wander && !isset($_GET['attack'])) { + foreach($wanderers as $k => $v) { + $d = rand(0, 3); + for($i = 0; $i < 4; $i++) { + if($d == 0) { $tx = $v['x']-2; $ty = $v['y'];} + if($d == 1) { $tx = $v['x']; $ty = $v['y']-2;} + if($d == 2) { $tx = $v['x']+2; $ty = $v['y'];} + if($d == 3) { $tx = $v['x']; $ty = $v['y']+2;} + + if($user['room'] == 74 || $user['room'] == 76) { + if(strpos($map[$ty][$tx], 's/') !== false && !@$mapbots[$ty][$tx]) { + break; + } + } else { + if($map[$ty][$tx] == 2 && !@$mapbots[$ty][$tx]) { + break; + } + } + $d++; + if($d > 3) { + $d = 0; + } + } + if($i < 4) { + mysql_query("UDPATE `cavebots` set `x` = '$tx', `y` = '$ty' WHERE `id` = '$v[id]' LIMIT 1"); + $v['x'] = $tx; + $v['y'] = $ty; + } + if(!@$mapbots[$v['y']][$v['x']]) { + $mapbots[$v['y']][$v['x']] = "b"; + } + $ambushes[$v['y']][$v['x']] = 1; + $mapbots[$v['y']][$v['x']] .= "/$v[bot]/$v[cnt]"; + } + $cavedata['wander'] = time(); + savecavedata($cavedata, $user['caveleader'], $floor); +} + + +foreach($mapbots as $k => $v) { + foreach($v as $k2 => $v2) { + $map[$k][$k2] = $v2; + } +} + +$moved = 0; + +if(@$_GET['move'] && $_SESSION['movetime'] < time()) { + if($_GET['move'] == "x1" && canmoveto($map[$y*2][$x*2+2], 2, $map[$y*2][$x*2+1],2)) { + mysql_query("UPDATE `caveparties` SET `x` = (`x`+1) WHERE `user` = '$user[id]' LIMIT 1"); + $x++; + $moved=1; + } + if($_GET['move'] == "x2" && canmoveto($map[$y*2][$x*2-2], 2, $map[$y*2][$x*2-1])) { + mysql_query("UPDATE `caveparties` SET `x` = (`x`-1) WHERE `user` = '$user[id]' LIMIT 1"); + $x--; + $moved=1; + } + if($_GET['move'] == "y1" && canmoveto($map[$y*2+2][$x*2], 2, $map[$y*2+1][$x*2])) { + mysql_query("UPDATE `caveparties` SET `y` = (`y`+1) WHERE `user` = '$user[id]' LIMIT 1"); + $y++; + $moved=1; + } + if($_GET['move'] == "y2" && canmoveto($map[$y*2-2][$x*2], 2, $map[$y*2-1][$x*2])) { + mysql_query("UPDATE `caveparties` SET `y` = (`y`-1) WHERE `user` = '$user[id]' LIMIT 1"); + $y--; + $moved=1; + } + updparties(); + #$_SESSION['movetime'] = time()+5; + $_SESSION['movetime'] = time(); +} + +if($moved && (substr($map[$y*2][$x*2], 0, 1) === "e" || substr($map[$y*2][$x*2], 0, 1) === "p")) { + $tx = $x; + $ty = $y; + $tmp = explode("/", $map[$y*2][$x*2]); + if(file_exists("underground/events/$user[room].php")) { + include("underground/events/$user[room].php"); + } +} + +$ax = 0; $ay = 0; +if($ambushes[$y*2+2][$x*2] && $map[$y*2+1][$x*2] == 0) { $ax = $x; $ay = $y+1; } +if($ambushes[$y*2-2][$x*2] && $map[$y*2-1][$x*2] == 0) { $ax = $x; $ay = $y-1; } +if($ambushes[$y*2][$x*2+2] && $map[$y*2][$x*2+1] == 0) { $ax = $x+1; $ay = $y; } +if($ambushes[$y*2][$x*2-2] && $map[$y*2][$x*2-1] == 0) { $ax = $x-1; $ay = $y; } + +if($ax && $ay && $user['hp'] > 0) { + include_once("cavedata.php"); + if(!($cavedata[$user['room']]['x'.$floor] == $x && $cavedata[$user['room']]['y'.$floor] == $y)) { + if($ax < $x) { + $dir1 = 0; + } elseif($ax > $x) { + $dir1 = 2; + } elseif($ay < $y) { + $dir1 = 1; + } elseif($ay > $y) { + $dir1 = 3; + } + + if($dir != $dir1) { + $dir = $dir1; + mysql_query("UPDATE `caveparties` SET `dir` = '$dir' WHERE `user` = '$user[id]' LIMIT 1"); + foreach($party as $k => $v) { + if($v['user'] == $user['id']) { + $party[$k]['dir'] = $dir1; + } + } + } + $_GET['attack'] = 1; + } +} + +if(!$_SESSION['movetime']) { + #$_SESSION['movetime'] = time()+5; + $_SESSION['movetime'] = time(); +} + +if(@$_GET['takeitem']) { + $_GET['takeitem'] = (int)$_GET['takeitem']; + $it = mysql_fetch_array(mysql_query("SELECT `item`, `foronetrip`, `incave`, `podzem` FROM `caveitems` WHERE `leader` = '$user[caveleader]' AND `x` = '".($x*2)."' AND `y` = '".($y*2)."' AND `floor` = '$floor' AND `id` = '$_GET[takeitem]' LIMIT 1")); + + if(isset($it['item'])) { + $ms = mysql_fetch_assoc(mysql_query("SELECT `massa` AS `mass` FROM $shop WHERE `id` = '$it[item]' LIMIT 1")); + $shop = 'shop'; + if(!placeinbackpack(1, $user['id'])) { + $report = "У вас в рюкзаке слишком много предметов."; + } elseif(!cancarry($ms['mass'], $user)) { + $report = "Ваш рюкзак перегружен."; + } else { + $destiny = 0; + $taken = takeshopitem($it['item'], "$shop", "", $it['foronetrip'], $destiny, array("podzem" => $it["podzem"], "incave" => $it['incave']), 0, 1, "Нашёл в пещере"); + if(@$taken['error']) { + $report = $taken['error']; + } else { + mysql_query("DELETE FROM `caveitems` WHERE `leader` = '$user[caveleader]' AND `x` = '".($x*2)."' AND `y` ='".($y*2)."' AND `floor` = '$floor' AND `id` = '$_GET[takeitem]' LIMIT 1"); + $report = "Вы нашли $taken[name]."; + } + } + } else { + $report = "Кто-то оказался быстрее..."; + } +} + +if(@$_GET['speak']) { + if($dir == 0) { $x1 = $x*2-2; } elseif($dir == 2) { $x1 = $x*2+2; } else { $x1 = $x*2; } + if($dir == 1) { $y1 = $y*2-2; } elseif($dir == 3) { $y1 = $y*2+2; } else { $y1 = $y*2; } + $cell = $map[$y1][$x1]; + $tmp = explode("/", $cell); + if($tmp[0] == "d") { + header("location: dialog.php?char=$tmp[2]"); + die(); + } + if($tmp[0] == "b" && isset($dialogs[$bots[$tmp[1]]])) { + header("location: dialog.php?char=".$bots[$tmp[1]]); + die(); + } +} + +if(@$_GET['attack']) { + if($dir == 0) { $by = $y*2; $bx = ($x-1)*2; } + if($dir == 1) { $by = ($y-1)*2; $bx = $x*2; } + if($dir == 2) { $by = $y*2; $bx = ($x+1)*2; } + if($dir == 3) { $by = ($y+1)*2; $bx = $x*2; } + + $r = mysql_query("SELECT `bot`, `cnt`, `battle` FROM `cavebots` WHERE `leader` = '$user[caveleader]' AND `x` = $bx AND `y` = $by AND `floor` = '$floor'"); + + $rec = mysql_fetch_assoc($r); + if($user['hp'] <= $user['maxhp']*0.33) { + $report = 'Вы слишком ослаблены для поединка'; + } elseif(isset($rec['bot'])) { + $btl = $rec['battle']; + if($btl > 0) { + battlewithbot($bots[$rec['bot']], "", "", 10, 0, 0, $btl); + } else { + $firstbot = $bots[$rec['bot']]; + $otherbots = array(); + $rec['cnt']--; + + while($rec['cnt'] > 0) { + $otherbots[] = array('id' => $bots[$rec['bot']], 'name' => $botnames[$rec['bot']]); + $rec["cnt"]--; + } + + while($rec = mysql_fetch_assoc($r)) { + while($rec['cnt'] > 0) { + $otherbots[] = array('id' => $bots[$rec['bot']], 'name' => $botnames[$rec['bot']]); + $rec['cnt']--; + } + } + $btl = battlewithbot($firstbot, "", "", 10, 0, 0, 0, $otherbots); + mysql_query("UPDATE `cavebots` SET `battle` = '$btl' WHERE `leader` = '$user[caveleader]' AND `x` = '$bx' AND `y` = $by AND `floor` = '$floor'"); + } + } +} + +if(@$_GET['exit']) { + if(count($party) == 1) { + mysql_query("DELETE FROM `cavebots` WHERE `leader` = '$user[id]'"); + mysql_query("DELETE FROM `caves` WHERE `leader` = '$user[id]'"); + mysql_query("DELETE FROM `caveparties` WHERE `leader` = '$user[id]'"); + mysql_query("DELETE FROM `caveitems` WHERE `leader` = '$user[id]'"); + mysql_query("UPDATE `users` SET `caveleader` = 0 WHERE `id` = '$user[id]' LIMIT 1"); + } else { + mysql_query("LOCK TABLES `users` WRITE, `caveparties` WRITE, `cavebots` WRITE, `caves` WRITE, `caveitems` WRITE, `diseases` WRITE, `caveeffects` WRITE"); + mysql_query("DELETE FROM `caveparties` WHERE `user` = '$user[id]'"); + mysql_query("UPDATE `users` SET `caveleader` = 0 WHERE `id` = '$user[id]' LIMIT 1"); + if($user['caveleader'] == $user['id']) { + foreach($party as $k => $v) { + if($v['user'] != $user['id']) { + mysql_query("UPDATE `users` SET `caveleader` = '$v[user]' WHERE `caveleader` = '$user[id]'"); + mysql_query("UPDATE `cavebots` SET `leader` = '$v[user]' WHERE `leader` = '$user[id]'"); + mysql_query("UPDATE `caves` SET `leader` = '$v[user]' WHERE `leader` = '$user[id]'"); + mysql_query("UPDATE `caveparties` SET `leader` = '$v[user]' WHERE `leader` = '$user[id]'"); + mysql_query("UPDATE `caveitems` SET `leader` = '$v[user]' WHERE `leader` = '$user[id]'"); + } + } + } + mysql_query("UNLOCK TABLES"); + } + $r = mysql_query("SELECT `id`, `dressed` FROM `inventory` WHERE `owner` = '$user[id]' AND `dressed` = 1 AND `foronetrip` = 1"); + while($rec = mysql_fetch_assoc($r)) { + $slot = getslot($rec['id']); + if($slot) { + dropitemid(0, $user['id'], $slot); + } + } + mysql_query("DELETE FROM `inventory` WHERE `owner` = '$user[id]' AND `foronetrip` = 1"); + gotoroom($user['room']-1); +} + +$standingon = $map[$y*2][$x*2]; +foreach($party as $k => $v) { + $map[$v['y']*2][$v['x']*2] = "u/".$v['user']; +} +?> + + + + + + + +
    + + +
    "; + + $i = 7; + $centerwall = 8; + while($i > 0) { + if($map[3][$i]) { + $centerwall = $i; + } + $i -= 2; + } + $i = 4; + + function drawbot($cell, $x, $y) { + global $botnames, $imgdata, $bots, $dialogs, $user, $floor; + $data = explode("/", $cell); + $i = 1; + $bc = (count($data)-1)/2; + while($data[$i]) { + $bot = $data[$i]; + $botname = $botnames[$bot]; + $cnt = $data[$i+1]; + if($i == 1) { + if($bc == 1) { + $bn = 1; + } else { + $bn = 0; + } + } elseif($i == 3) { + if($bc == 2) { + $bn = 2; + } else { + $bn = 1; + } + } else { + $bn = 2; + } + + $aMap = unserialize(mysql_result(mysql_query("SELECT `map` FROM `caves` WHERE `leader` = '$user[caveleader]' AND `floor` = '$floor'"), 0, 0)); + + if(!$GLOBALS['dir']) { + $xx = ($GLOBALS['x']*2) - ($y*2); + $yy = ($GLOBALS['y']*2) - ($x - 3); + } elseif($GLOBALS['dir'] == 1) { + $xx = ($GLOBALS['x']*2) + ($x - 3); + $yy = ($GLOBALS['y']*2) - ($y*2); + } elseif($GLOBALS['dir'] == 2) { + $xx = ($GLOBALS['x']*2) + ($y * 2); + $yy = ($GLOBALS['y']*2) + ($x - 3); + } else { + $xx = ($GLOBALS['x']*2) - ($x - 3); + $yy = ($GLOBALS['y']*2) + ($y * 2); + } + + if(strpos($aMap[$yy][$xx], 'o/') !== false || strpos($aMap[$yy][$xx], 'p/') !== false) { + $ret .= drawobject2($aMap[$yy][$xx], $x, $y); + } + + $rrm = $user['room']; + + if(isset($dialogs[$bots[$data[1]]]) && ($bots[$data[1]] == 11147 && $user['room'] == 74)) { + $ret .= " 1?" ($cnt)":"")."\" ".($y == 1 && $x == 3?"onclick=\"speakattackmenu(event);\"":"")." width=\"".$imgdata[$x][$y]["wd"]."\" height=\"".$imgdata[$x][$y]["ht"]."\" src=\"/i/dungeon/mobs/$rrm/$bot.gif\" style=\"position: absolute; left: ".$imgdata[$x][$y]["x"][$bn]."px; top: ".$imgdata[$x][$y]["y"]."px;".($x == 3 && $y == 1?"cursor: pointer;":"").($x == 3?"z-index: ".(99-($y*5)).";":"")."\" />"; + } else { + $ret .= " 1?" ($cnt)":"")."\" ".($y == 1 && $x == 3?" onclick=\"document.location.href='cave.php?attack=1';\"":"")." width=\"".$imgdata[$x][$y]["wd"]."\" height=\"".$imgdata[$x][$y]["ht"]."\" src=\"/i/dungeon/mobs/$rrm/$bot.gif\" style=\"position: absolute; left: ".$imgdata[$x][$y]["x"][$bn]."px; top: ".$imgdata[$x][$y]["y"]."px;".($x == 3 && $y == 1?"cursor: pointer;":"").($x == 3?"z-index: ".(99-($y*5)).";":"")."\" />"; + }#onclick=\"attackmenu(event);\" + $i += 2; + } + return $ret; + } + + function drawdialog($cell, $x, $y) { + global $dialogs, $imgdata; + $data = explode("/", $cell); + $i = 1; + $d = $data[2]; + $bot = $data[$i]; + $botname = $botnames[$bot]; + $cnt = $data[$i+1]; + $ret = ""; + return $ret; + } + + function drawuser($cell, $x, $y) { + global $botnames, $imgdata, $party; + $data = explode("/", $cell); + $i = 1; + $bc = (count($data)-1); + while($data[$i]) { + $u = $data[$i]; + if($i == 1) { + if($bc == 1) { + $bn = 1; + } else { + $bn = 0; + } + } elseif($i == 3) { + if($bc == 2) { + $bn = 2; + } else { + $bn = 1; + } + } else { + $bn = 2; + } + foreach($party as $k => $v) { + if($v['user'] == $u) { + $udata = $v; + break; + } + } + $ret .= ""; + $i++; + } + return $ret; + } + + function drawobject($cell, $x, $y) { + global $objects, $imgdata, $user, $objdata, $objsizes, $imgmap; + $tmp = explode("/", $cell); + $obj = $tmp[1]; + $ht = round($imgdata[$x][$y]["ht"]/2); + + if($objsizes[$obj]) { + $coef=$objdata[$x][$y]["coef"]; + $wd=$objsizes[$obj][0]*$coef; + $ht=$objsizes[$obj][1]*$coef; + $left=round($objdata[$x][$y]["x"]-($wd/2)); + $top=$objdata[$x][$y]["y"]-$ht; + } elseif($obj == 510) { + $wd=round($imgdata[$x][$y]["wd"]*2.5); + $ht=$imgdata[$x][$y]["ht"]; + $left=$imgdata[$x][$y]["x"][1]-round(($wd-$imgdata[$x][$y]["wd"])/2); + $top=$imgdata[$x][$y]["y"]; + } elseif ($obj > 600 && $obj < 700) { + $wd=round($imgdata[$x][$y]["wd"]*1.26); + $left=$imgdata[$x][$y]["x"][1]-round(($wd-$imgdata[$x][$y]["wd"])/2); + $top=$imgdata[$x][$y]["y"]+$ht; + } elseif($obj >= 700 && $obj < 800) { + $wd=round($imgdata[$x][$y]["wd"]*1.24); + $ht=$imgdata[$x][$y]["ht"]; + $left=$imgdata[$x][$y]["x"][1]-round(($wd-$imgdata[$x][$y]["wd"])/2); + $top=$imgdata[$x][$y]["y"]; + } else { + $wd=$imgdata[$x][$y]["wd"]; + $left=$imgdata[$x][$y]["x"][1]; + $top=$imgdata[$x][$y]["y"]+$ht; + } + $rrm = $user['room']; + if (!isset($imgmap[$obj])) { + + $ret .= " + ".($y == 1 && $x == 3?"":"")." + + ".($y == 1 && $x == 3?"":""); + } else { + $ret .= ""; + $ret .= $imgmap[$obj]['code']; + } + return $ret; + } + + function drawobject2($cell, $x, $y) { + global $objects, $imgdata, $user, $objdata, $objsizes, $imgmap; + $tmp=explode("/", $cell); + $obj=$tmp[1]; + $ht=round($imgdata[$x][$y]["ht"]/2); + if($objsizes[$obj]) { + $coef=$objdata[$x][$y]["coef"]; + $wd=$objsizes[$obj][0]*$coef; + $ht=$objsizes[$obj][1]*$coef; + $left=round($objdata[$x][$y]["x"]-($wd/2)); + $top=$objdata[$x][$y]["y"]-$ht; + } elseif($obj==510) { + $wd=round($imgdata[$x][$y]["wd"]*2.5); + $ht=$imgdata[$x][$y]["ht"]; + $left=$imgdata[$x][$y]["x"][1]-round(($wd-$imgdata[$x][$y]["wd"])/2); + $top=$imgdata[$x][$y]["y"]; + } elseif($obj>600 && $obj<700) { + $wd=round($imgdata[$x][$y]["wd"]*1.26); + $left=$imgdata[$x][$y]["x"][1]-round(($wd-$imgdata[$x][$y]["wd"])/2); + $top=$imgdata[$x][$y]["y"]+$ht; + } elseif($obj>=700 && $obj<800) { + $wd=round($imgdata[$x][$y]["wd"]*1.24); + $ht=$imgdata[$x][$y]["ht"]; + $left=$imgdata[$x][$y]["x"][1]-round(($wd-$imgdata[$x][$y]["wd"])/2); + $top=$imgdata[$x][$y]["y"]; + } else { + $wd=$imgdata[$x][$y]["wd"]; + $left=$imgdata[$x][$y]["x"][1]; + $top=$imgdata[$x][$y]["y"]+$ht; + } + $rrm = $user['room']; + if(!isset($imgmap[$obj])) { + $ret.=" + ".($y == 1 && $x == 3?"":"")." + + ".($y == 1 && $x == 3?"":""); + } else { + $ret .= ""; + $ret .= $imgmap[$obj]['code']; + } + return $ret; + } + + function drawevent($cell, $x, $y) { + global $events, $eventdata; + $tmp = explode("/", $cell); + $obj = $tmp[1]; + if($obj == 1) { return ""; } + $wd = round($eventdata[$x][$y]["q"]*$events[$obj]["w"]); + $ht = round($eventdata[$x][$y]["q"]*$events[$obj]["h"]); + $left = round(-$events[$obj]["h"]/2+$eventdata[$x][$y]["x"]); + $top = round($eventdata[$x][$y]["y"]-$events[$obj]["h"]); + $ret .= ""; + return $ret; + } + + while($i >= 0) { + if($i == 4) { + if($map[0][7]) { + $ret .= "
    "; + } + if($map[0][6]) { + $ret .= "
    "; + } + if($map[-1][6]) { + $ret .= ""; + } + } + + $wall = $i*2-1; + $sidewall = $i*2; + + if($map[1][$sidewall] && $i > 0) { + $obj = substr($map[1][$sidewall], 0, 1); + if($obj == "b") { + $ret .= drawbot($map[1][$sidewall], 1, $i); + } elseif ($obj == "u") { + $ret .= drawuser($map[1][$sidewall], 1, $i, $players); + } elseif ($obj == "o" || $obj=="p") { + $ret .= drawobject($map[1][$sidewall], 1, $i); + } elseif ($obj == "e") { + $ret .= drawevent($map[1][$sidewall], 1, $i); + } elseif ($obj == "d") { + $ret .= drawdialog($map[1][$sidewall], 1, $i); + } elseif ($obj != "s") { + $o = $map[1][$sidewall]-10000; + if($o == 4) { + if($i == 1) { + $ret .= ""; + } + if($i == 2) { + $ret .= ""; + } + if($i == 3) { + $ret .= ""; + } + } else { + if($i== 1) { + $ret .= ""; + } + if($i== 2) { + $ret .= ""; + } + if($i== 3) { + $ret .= ""; + } + } + } + } + + if ($map[5][$sidewall] && $i>0) { + $obj=substr($map[5][$sidewall],0,1); + if ($obj=="b") { + $ret.=drawbot($map[5][$sidewall], 5, $i); + } elseif ($obj=="u") { + $ret.=drawuser($map[5][$sidewall], 5, $i, $players); + } elseif ($obj=="o" || $obj=="p") { + $ret.=drawobject($map[5][$sidewall], 5, $i); + } elseif ($obj=="e") { + $ret.=drawevent($map[5][$sidewall], 5, $i); + } elseif ($obj=="d") { + $ret.=drawdialog($map[5][$sidewall], 5, $i); + } elseif ($obj!="s") { + $o=$map[5][$sidewall]-10000; + if ($o==4) { + if ($i==1) $ret.=""; + if ($i==2) $ret.=""; + if ($i==3) $ret.=""; + } else { + if ($i==1) $ret.=""; + if ($i==2) $ret.=""; + if ($i==3) $ret.=""; + } + } + } + if ($i>0 && $map[1][$wall]) $ret.="
    "; + + $objInWall = explode('/', $map[4][$sidewall]); + if ($objInWall[1] == 'o') { + if(!passablewall($map[4][$sidewall])) $ret.="
    "; + } else { + if(!passablewall($map[4][$sidewall])) $ret.="
    "; + } + $objInWall = explode('/', $map[2][$sidewall]); + if ($objInWall[1] == 'o') { + if(!passablewall($map[2][$sidewall])) $ret.="
    "; + } else { + if(!passablewall($map[2][$sidewall])) $ret.="
    "; + } + + if ($i>0 && $map[5][$wall]) $ret.="
    "; + + if ($map[3][$sidewall] && $i>0 && $sidewall<$centerwall) { + $obj=substr($map[3][$sidewall],0,1); + if ($obj=="b") { + $ret.=drawbot($map[3][$sidewall], 3, $i); + } elseif ($obj=="u") { + $ret.=drawuser($map[3][$sidewall], 3, $i, $players); + } elseif ($obj=="o" || $obj=="p") { + $ret.=drawobject($map[3][$sidewall], 3, $i); + } elseif ($obj=="e") { + $ret.=drawevent($map[3][$sidewall], 3, $i); + } elseif ($obj=="d") { + $ret.=drawdialog($map[3][$sidewall], 3, $i); + } elseif ($obj!="s") { + $o=$map[3][$sidewall]-10000; + if ($o==4) { + if ($i==1) $ret.=""; + if ($i==2) $ret.=""; + if ($i==3) $ret.=""; + } else { + if ($i==1) $ret.=""; + if ($i==2) $ret.=""; + if ($i==3) $ret.=""; + } + } + } + if ($map[3][$wall]) { + if ($i>0) $ret.="
    2?"style=\"background-image:url('$base/cw$i".cavewall($map[3][$wall]).".gif')\"":"").">
    "; + if ($i==1 && $map[3][$wall]>2) { + if ($map[3][$wall]>1000) { + $ret.=""; + } elseif ($map[3][$wall]>100) { + $ret.=""; + } else $ret.=""; + } + $objInWall = explode('/', $map[3][$wall]); + if ($objInWall[1] == "o") { + if ($user['room'] == 83 && !(!$direction && (($x == 13 && $y == 4) || ($x == 12 && $y == 4)))) { // исключение 2-ух клеток в комнате 82 + $ret.=drawobject('//' . $objInWall[2], 3, $i); + } + } + $nocenter=1; + } + if ($i==4) { + if ($map[7][6]) $ret.=""; + } + $i--; + } + + $ret.="
    +
    +
    +
    +
    +
    0
    +
    "; + + if ($direction==0) { + $forwardlink="?move=x2&".time(); + $backlink="?move=x1&".time(); + $leftlink="?move=y1&".time(); + $rightlink="?move=y2&".time(); + } + if ($direction==2) { + $forwardlink="?move=x1&".time(); + $backlink="?move=x2&".time(); + $leftlink="?move=y2&".time(); + $rightlink="?move=y1&".time(); + } + if ($direction==1) { + $forwardlink="?move=y2&".time(); + $backlink="?move=y1&".time(); + $leftlink="?move=x2&".time(); + $rightlink="?move=x1&".time(); + } + if ($direction==3) { + $forwardlink="?move=y1&".time(); + $backlink="?move=y2&".time(); + $leftlink="?move=x1&".time(); + $rightlink="?move=x2&".time(); + } + if (passablewall($map[3][1]) && canmoveto($map[3][2])) $ret.="
    "; + if (passablewall($map[3][-1]) && canmoveto($map[3][-2])) $ret.="
    "; + if (passablewall($map[2][0]) && canmoveto($map[1][0])) $ret.="
    "; + if (passablewall($map[4][0]) && canmoveto($map[5][0])) $ret.="
    "; + + $ret.="
    "; + + $ret.="
    "; + + $ret.="
    "; + $ret.="
    +
    "; + + foreach ($players as $k=>$v) { + if ($v["x"]-($startx/2)>=0 && $v["x"]-($startx/2)<=8 && $v["y"]-($starty/2)>=0 && $v["y"]-($starty/2)<=8) { + $ret.="\"$v[login]\""; + } + } + $ret.=""; + $i=$starty; + while ($i<$starty+18) { + $ret.=""; + $i2=$startx; + while ($i2<$startx+18) { + $ret.=""; + $i2+=2; + } + $ret.=""; + $i+=2; + } + $ret.="
    "; + if (strpos($map1[$i][$i2], 'h/') !== false) { + $map1[$i][$i2] = 0; + } + if ($map1[$i][$i2]) { + $ret.=""; + } + $ret.="
    +
    "; + + $ret.="
    +
    "; + + $ret.=" +
    +
    "; + $ret.=""; + $ret.=" +"; + return $ret; + } +?> + + + +
    +
    + + $v) { + if($v["user"] == $user["id"]) { + $usr = $user; + } else { + $usr = mysql_fetch_array(mysql_query("SELECT `level`, `hp`, `maxhp` FROM `users` WHERE `id` = '$v[user]'")); + } + $wd = floor($usr["hp"]/$usr["maxhp"]*120); + echo " + + + +"; + } +?> +
    + $v[login] [$usr[level]] +
    +
    ".($v["user"]==$user["id"]?"":"")."$usr[hp]".($v["user"]==$user["id"]?"":"")."/$usr[maxhp]\"Уровень\"Уровень
    "; +if ($v["user"]==$user["id"] && $user["id"]==$user["caveleader"]) echo "\"Выгнать \"Новый"; +echo "

    + +
    + + 
    +
    +

    +
    + 0) echo "В комнате разбросаны вещи:
     
    "; + while ($rec = mysql_fetch_assoc($r)) { + echo " "; + } +?>

    +=3) echo "
    Вас убили 3 раза, и вы покидете подземелье

    + Вернуться

    "; + if ($loses) echo "
    Количество смертей: $loses
    "; + +?> +
    +
    +     +     Выйти +
    + +
    + + x:  + y:  + floor:   + + '; +} +?> \ No newline at end of file diff --git a/cave/cave_bots.php b/cave/cave_bots.php new file mode 100644 index 0000000..f078701 --- /dev/null +++ b/cave/cave_bots.php @@ -0,0 +1,21 @@ + 10025, + 2 => 10026, + 3 => 10027, + 4 => 10028, + 5 => 10031, + 6 => 10032, + 7 => 10033, + 8 => 10034); + +$botnames = array( + 1 => "Паук", + 2 => "Тарантул", + 3 => "Гигантская крыса", + 4 => "Покровитель нечести", + 5 => "Нечто", + 6 => "Обезумевший крыс", + 7 => "Призрак короля крыс ", + 8 => "Обезумевший палач"); +?> \ No newline at end of file diff --git a/cave/caveitems.php b/cave/caveitems.php new file mode 100644 index 0000000..bf3ed90 --- /dev/null +++ b/cave/caveitems.php @@ -0,0 +1,12 @@ + 1126, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 50, 'podzem' => 1)); + $caveitems[2] = array(array('id' => 1125, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 40, 'podzem' => 1)); + $caveitems[3] = array(array('id' => 1127, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 15, 'podzem' => 1)); + $caveitems[4] = array(array('id' => 1128, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 5, 'podzem' => 1)); + $caveitems[5] = array(array('id' => 1126, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 60, 'podzem' => 1)); + $caveitems[6] = array(array('id' => 1130, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 7), 'podzem' => 1); + $caveitems[7] = array(array('id' => 1129, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 10, 'podzem' => 1)); + $caveitems[8] = array(array('id' => 1131, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 5, 'podzem' => 1)); +} +?> \ No newline at end of file diff --git a/cave/lose.php b/cave/lose.php new file mode 100644 index 0000000..2db4213 --- /dev/null +++ b/cave/lose.php @@ -0,0 +1,22 @@ + $v) { + if($v < _BOTSEPARATOR_) { + if(in_array($user['room'], $caverooms)) { + mysql_query("UPDATE `caveparties` SET `floor` = $floor, `x` = '".$cavedata[$user['room']]['x'.$floor]."', `y` = '".$cavedata[$user['room']]['y'.$floor]."', `dir` = '".$cavedata[$user['room']]['dir'.$floor]."', `loses` = (`loses`+1) WHERE `user` = '$v' LIMIT 1"); + } + if($user['laba'] > 0) { + mysql_query('UPDATE `users` SET `x` = `xf`, `y` = `yr` WHERE `id` = "'.$v.'" LIMIT 1'); + } + } +} +?> \ No newline at end of file diff --git a/cave/win.php b/cave/win.php new file mode 100644 index 0000000..476d4ad --- /dev/null +++ b/cave/win.php @@ -0,0 +1,66 @@ +battle_data["id"]."'"); + $i = 0; $cnt = 0; + while($rec = mysql_fetch_assoc($r)) { + $bot = $rec['bot']; + $cnt = $rec['cnt']; + if(@$caveitems[$bot]) { + if($user['room'] == 621) { + $i = mt_rand(0, (count($caveitems[$bot]) - 1)); + $item = $caveitems[$bot][$i]; + if(getchance($item['chance'])) { + $it = mysql_fetch_array(mysql_query("SELECT `id`, `name`, `img` FROM `$item[from]` WHERE `id` = $item[id] LIMIT 1")); + $podz = 1; + mysql_query('INSERT INTO `caveitems` SET `podzem` = "'.$item['podzem'].'", `leader` = "'.$user['caveleader'].'", `x` = "'.$rec['x'].'", `y` = "'.$rec['y'].'", `floor` = "'.$floor.'", `name` = "'.$it['name'].'", `img` = "'.$it['img'].'", `item` = "'.$item['id'].'"'.($item['foronetrip'] ? ", `foronetrip` = 1" : "")); + cavesys("У ".$cavebots[$bot]." был предмет $it[name] и кто угодно может подобрать его."); + $this->AddToLog(''.date("H:i")." У ".$cavebots[$bot]." был предмет $it[name].
    "); + } + } + } + } + + if($user['caveleader'] > 0) { + $bots = array(1 => 10025, 2 => 10026, 3 => 10027, 4 => 10028, 5 => 10031, 6 => 10032, 7 => 10033, 8 => 10034); + $tp = 1; + while($tp <= $cnt) { + $vars = 'win_bot_'.$bots[$bot]; + $ins = mysql_query('INSERT INTO `actions` (`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`) VALUES ("'.$user['id'].'", "'.time().'", "capitalcity", "0", "'.mysql_real_escape_string($vars).'", "'.mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']).'", "0")'); + if(!$ins) { + echo mysql_error(); + } + $tp++; + } + } + + mysql_query("DELETE FROM `cavebots` WHERE `battle` = '".$this->battle_data["id"]."'"); + mysql_query('UNLOCK TABLES'); +} +?> \ No newline at end of file diff --git a/cavedata.php b/cavedata.php new file mode 100644 index 0000000..f8849dc --- /dev/null +++ b/cavedata.php @@ -0,0 +1,5 @@ + array('x1' => 6, 'y1' => 11, 'dir1' => 1, 'x2' => 10, 'y2' => 8, 'dir2' => 1, 'x3' => 20, 'y3' => 4, 'dir3' => 1,'x4' => 10, 'y4' => 10, 'dir4' => 1, 'delay' => 360, 'name1' => 'Проклятый Рудник', 'name2' => 'Проклятого Рудника')); + +?> \ No newline at end of file diff --git a/cavedata/0-.dat b/cavedata/0-.dat new file mode 100644 index 0000000..d188954 --- /dev/null +++ b/cavedata/0-.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1437411017;} \ No newline at end of file diff --git a/cavedata/10019-1.dat b/cavedata/10019-1.dat new file mode 100644 index 0000000..ce2d2eb --- /dev/null +++ b/cavedata/10019-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1440857761;} \ No newline at end of file diff --git a/cavedata/10019-2.dat b/cavedata/10019-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10019-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10019-3.dat b/cavedata/10019-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10019-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10019-4.dat b/cavedata/10019-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10019-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10022-.dat b/cavedata/10022-.dat new file mode 100644 index 0000000..fe44bf8 --- /dev/null +++ b/cavedata/10022-.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1437314033;} \ No newline at end of file diff --git a/cavedata/10022-1.dat b/cavedata/10022-1.dat new file mode 100644 index 0000000..3f5a3ad --- /dev/null +++ b/cavedata/10022-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481111105;} \ No newline at end of file diff --git a/cavedata/10022-2.dat b/cavedata/10022-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10022-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10022-3.dat b/cavedata/10022-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10022-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10022-4.dat b/cavedata/10022-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10022-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10029-1.dat b/cavedata/10029-1.dat new file mode 100644 index 0000000..092e1b8 --- /dev/null +++ b/cavedata/10029-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1440065042;} \ No newline at end of file diff --git a/cavedata/10029-2.dat b/cavedata/10029-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10029-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10029-3.dat b/cavedata/10029-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10029-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10029-4.dat b/cavedata/10029-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10029-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10035-1.dat b/cavedata/10035-1.dat new file mode 100644 index 0000000..86727a8 --- /dev/null +++ b/cavedata/10035-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1440504347;} \ No newline at end of file diff --git a/cavedata/10035-2.dat b/cavedata/10035-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10035-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10035-3.dat b/cavedata/10035-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10035-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10035-4.dat b/cavedata/10035-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10035-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10036-1.dat b/cavedata/10036-1.dat new file mode 100644 index 0000000..4c1089d --- /dev/null +++ b/cavedata/10036-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1440504413;} \ No newline at end of file diff --git a/cavedata/10038-1.dat b/cavedata/10038-1.dat new file mode 100644 index 0000000..3f2436b --- /dev/null +++ b/cavedata/10038-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1440777658;} \ No newline at end of file diff --git a/cavedata/10038-2.dat b/cavedata/10038-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10038-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10038-3.dat b/cavedata/10038-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10038-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10038-4.dat b/cavedata/10038-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10038-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10041-1.dat b/cavedata/10041-1.dat new file mode 100644 index 0000000..c5c3234 --- /dev/null +++ b/cavedata/10041-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1441539924;} \ No newline at end of file diff --git a/cavedata/10041-2.dat b/cavedata/10041-2.dat new file mode 100644 index 0000000..c3bd2fa --- /dev/null +++ b/cavedata/10041-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1441539953;} \ No newline at end of file diff --git a/cavedata/10041-3.dat b/cavedata/10041-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10041-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10041-4.dat b/cavedata/10041-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10041-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10044-1.dat b/cavedata/10044-1.dat new file mode 100644 index 0000000..163896f --- /dev/null +++ b/cavedata/10044-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1445452557;} \ No newline at end of file diff --git a/cavedata/10044-2.dat b/cavedata/10044-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10044-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10044-3.dat b/cavedata/10044-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10044-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10044-4.dat b/cavedata/10044-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10044-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10045-1.dat b/cavedata/10045-1.dat new file mode 100644 index 0000000..155f0c1 --- /dev/null +++ b/cavedata/10045-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1445875949;} \ No newline at end of file diff --git a/cavedata/10045-2.dat b/cavedata/10045-2.dat new file mode 100644 index 0000000..4edc8ff --- /dev/null +++ b/cavedata/10045-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1445876186;} \ No newline at end of file diff --git a/cavedata/10045-3.dat b/cavedata/10045-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10045-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10045-4.dat b/cavedata/10045-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10045-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10046-1.dat b/cavedata/10046-1.dat new file mode 100644 index 0000000..50fdea4 --- /dev/null +++ b/cavedata/10046-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446144927;} \ No newline at end of file diff --git a/cavedata/10046-2.dat b/cavedata/10046-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10046-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10046-3.dat b/cavedata/10046-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10046-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10046-4.dat b/cavedata/10046-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10046-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10048-1.dat b/cavedata/10048-1.dat new file mode 100644 index 0000000..92a56f3 --- /dev/null +++ b/cavedata/10048-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1442070010;} \ No newline at end of file diff --git a/cavedata/10048-2.dat b/cavedata/10048-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10048-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10048-3.dat b/cavedata/10048-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10048-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10048-4.dat b/cavedata/10048-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10048-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10050-1.dat b/cavedata/10050-1.dat new file mode 100644 index 0000000..5e6241a --- /dev/null +++ b/cavedata/10050-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1445358077;} \ No newline at end of file diff --git a/cavedata/10050-2.dat b/cavedata/10050-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10050-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10050-3.dat b/cavedata/10050-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10050-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10050-4.dat b/cavedata/10050-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10050-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10051-1.dat b/cavedata/10051-1.dat new file mode 100644 index 0000000..2af34a6 --- /dev/null +++ b/cavedata/10051-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1442401887;} \ No newline at end of file diff --git a/cavedata/10051-2.dat b/cavedata/10051-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10051-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10051-3.dat b/cavedata/10051-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10051-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10051-4.dat b/cavedata/10051-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10051-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10055-1.dat b/cavedata/10055-1.dat new file mode 100644 index 0000000..6867623 --- /dev/null +++ b/cavedata/10055-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1442400663;} \ No newline at end of file diff --git a/cavedata/10055-2.dat b/cavedata/10055-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10055-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10055-3.dat b/cavedata/10055-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10055-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10055-4.dat b/cavedata/10055-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10055-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10061-1.dat b/cavedata/10061-1.dat new file mode 100644 index 0000000..473e3c5 --- /dev/null +++ b/cavedata/10061-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446543004;} \ No newline at end of file diff --git a/cavedata/10061-2.dat b/cavedata/10061-2.dat new file mode 100644 index 0000000..a67c538 --- /dev/null +++ b/cavedata/10061-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446543082;} \ No newline at end of file diff --git a/cavedata/10061-3.dat b/cavedata/10061-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10061-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10061-4.dat b/cavedata/10061-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10061-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10062-1.dat b/cavedata/10062-1.dat new file mode 100644 index 0000000..96f22f1 --- /dev/null +++ b/cavedata/10062-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1448833099;} \ No newline at end of file diff --git a/cavedata/10062-2.dat b/cavedata/10062-2.dat new file mode 100644 index 0000000..0ced0e2 --- /dev/null +++ b/cavedata/10062-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1448833718;} \ No newline at end of file diff --git a/cavedata/10062-3.dat b/cavedata/10062-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10062-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10062-4.dat b/cavedata/10062-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10062-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10063-1.dat b/cavedata/10063-1.dat new file mode 100644 index 0000000..0ebd00a --- /dev/null +++ b/cavedata/10063-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1454295695;} \ No newline at end of file diff --git a/cavedata/10063-2.dat b/cavedata/10063-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10063-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10063-3.dat b/cavedata/10063-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10063-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10063-4.dat b/cavedata/10063-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10063-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10065-1.dat b/cavedata/10065-1.dat new file mode 100644 index 0000000..d8dd3c3 --- /dev/null +++ b/cavedata/10065-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1449477707;} \ No newline at end of file diff --git a/cavedata/10065-2.dat b/cavedata/10065-2.dat new file mode 100644 index 0000000..3b8db5f --- /dev/null +++ b/cavedata/10065-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1449478012;} \ No newline at end of file diff --git a/cavedata/10065-3.dat b/cavedata/10065-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10065-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10065-4.dat b/cavedata/10065-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10065-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10066-1.dat b/cavedata/10066-1.dat new file mode 100644 index 0000000..5d36935 --- /dev/null +++ b/cavedata/10066-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1448025847;} \ No newline at end of file diff --git a/cavedata/10066-2.dat b/cavedata/10066-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10066-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10066-3.dat b/cavedata/10066-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10066-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10066-4.dat b/cavedata/10066-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10066-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10067-1.dat b/cavedata/10067-1.dat new file mode 100644 index 0000000..3092cbb --- /dev/null +++ b/cavedata/10067-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446736568;} \ No newline at end of file diff --git a/cavedata/10067-2.dat b/cavedata/10067-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10067-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10067-3.dat b/cavedata/10067-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10067-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10067-4.dat b/cavedata/10067-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10067-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10068-1.dat b/cavedata/10068-1.dat new file mode 100644 index 0000000..a41fac7 --- /dev/null +++ b/cavedata/10068-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446471850;} \ No newline at end of file diff --git a/cavedata/10068-2.dat b/cavedata/10068-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10068-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10068-3.dat b/cavedata/10068-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10068-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10068-4.dat b/cavedata/10068-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10068-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10069-1.dat b/cavedata/10069-1.dat new file mode 100644 index 0000000..8822f12 --- /dev/null +++ b/cavedata/10069-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446651775;} \ No newline at end of file diff --git a/cavedata/10069-2.dat b/cavedata/10069-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10069-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10069-3.dat b/cavedata/10069-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10069-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10069-4.dat b/cavedata/10069-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10069-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10071-1.dat b/cavedata/10071-1.dat new file mode 100644 index 0000000..77e2b28 --- /dev/null +++ b/cavedata/10071-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1447157152;} \ No newline at end of file diff --git a/cavedata/10071-2.dat b/cavedata/10071-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10071-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10071-3.dat b/cavedata/10071-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10071-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10071-4.dat b/cavedata/10071-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10071-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10072-1.dat b/cavedata/10072-1.dat new file mode 100644 index 0000000..ef26b70 --- /dev/null +++ b/cavedata/10072-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1448823383;} \ No newline at end of file diff --git a/cavedata/10072-2.dat b/cavedata/10072-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10072-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10072-3.dat b/cavedata/10072-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10072-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10072-4.dat b/cavedata/10072-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10072-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10075-1.dat b/cavedata/10075-1.dat new file mode 100644 index 0000000..c7995ed --- /dev/null +++ b/cavedata/10075-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1447855380;} \ No newline at end of file diff --git a/cavedata/10075-2.dat b/cavedata/10075-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10075-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10075-3.dat b/cavedata/10075-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10075-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10075-4.dat b/cavedata/10075-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10075-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10079-1.dat b/cavedata/10079-1.dat new file mode 100644 index 0000000..91bcc9e --- /dev/null +++ b/cavedata/10079-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446803734;} \ No newline at end of file diff --git a/cavedata/10079-2.dat b/cavedata/10079-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10079-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10079-3.dat b/cavedata/10079-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10079-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10079-4.dat b/cavedata/10079-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10079-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10080-1.dat b/cavedata/10080-1.dat new file mode 100644 index 0000000..4e6a349 --- /dev/null +++ b/cavedata/10080-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446827403;} \ No newline at end of file diff --git a/cavedata/10080-2.dat b/cavedata/10080-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10080-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10080-3.dat b/cavedata/10080-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10080-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10080-4.dat b/cavedata/10080-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10080-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10082-1.dat b/cavedata/10082-1.dat new file mode 100644 index 0000000..c07fdd8 --- /dev/null +++ b/cavedata/10082-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1449074543;} \ No newline at end of file diff --git a/cavedata/10082-2.dat b/cavedata/10082-2.dat new file mode 100644 index 0000000..4e96480 --- /dev/null +++ b/cavedata/10082-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1449074931;} \ No newline at end of file diff --git a/cavedata/10082-3.dat b/cavedata/10082-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10082-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10082-4.dat b/cavedata/10082-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10082-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10084-1.dat b/cavedata/10084-1.dat new file mode 100644 index 0000000..c2e52f4 --- /dev/null +++ b/cavedata/10084-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1448001036;} \ No newline at end of file diff --git a/cavedata/10084-2.dat b/cavedata/10084-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10084-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10084-3.dat b/cavedata/10084-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10084-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10084-4.dat b/cavedata/10084-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10084-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10085-1.dat b/cavedata/10085-1.dat new file mode 100644 index 0000000..89e18c8 --- /dev/null +++ b/cavedata/10085-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446792873;} \ No newline at end of file diff --git a/cavedata/10085-2.dat b/cavedata/10085-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10085-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10085-3.dat b/cavedata/10085-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10085-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10085-4.dat b/cavedata/10085-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10085-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10087-1.dat b/cavedata/10087-1.dat new file mode 100644 index 0000000..3111946 --- /dev/null +++ b/cavedata/10087-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1447607184;} \ No newline at end of file diff --git a/cavedata/10087-2.dat b/cavedata/10087-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10087-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10087-3.dat b/cavedata/10087-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10087-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10087-4.dat b/cavedata/10087-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10087-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10091-1.dat b/cavedata/10091-1.dat new file mode 100644 index 0000000..c31d1f7 --- /dev/null +++ b/cavedata/10091-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446585103;} \ No newline at end of file diff --git a/cavedata/10091-2.dat b/cavedata/10091-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10091-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10091-3.dat b/cavedata/10091-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10091-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10091-4.dat b/cavedata/10091-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10091-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10095-1.dat b/cavedata/10095-1.dat new file mode 100644 index 0000000..67c933a --- /dev/null +++ b/cavedata/10095-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1447366932;} \ No newline at end of file diff --git a/cavedata/10095-2.dat b/cavedata/10095-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10095-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10095-3.dat b/cavedata/10095-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10095-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10095-4.dat b/cavedata/10095-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10095-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10119-1.dat b/cavedata/10119-1.dat new file mode 100644 index 0000000..1a16fb9 --- /dev/null +++ b/cavedata/10119-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1447622850;} \ No newline at end of file diff --git a/cavedata/10119-2.dat b/cavedata/10119-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10119-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10119-3.dat b/cavedata/10119-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10119-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10119-4.dat b/cavedata/10119-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10119-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10122-1.dat b/cavedata/10122-1.dat new file mode 100644 index 0000000..2fe3fc1 --- /dev/null +++ b/cavedata/10122-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1448887346;} \ No newline at end of file diff --git a/cavedata/10122-2.dat b/cavedata/10122-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10122-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10122-3.dat b/cavedata/10122-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10122-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10122-4.dat b/cavedata/10122-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10122-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10133-1.dat b/cavedata/10133-1.dat new file mode 100644 index 0000000..1baeac9 --- /dev/null +++ b/cavedata/10133-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1460376526;} \ No newline at end of file diff --git a/cavedata/10133-2.dat b/cavedata/10133-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10133-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10133-3.dat b/cavedata/10133-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10133-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10133-4.dat b/cavedata/10133-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10133-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10140-1.dat b/cavedata/10140-1.dat new file mode 100644 index 0000000..fc9fd55 --- /dev/null +++ b/cavedata/10140-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455096257;} \ No newline at end of file diff --git a/cavedata/10140-2.dat b/cavedata/10140-2.dat new file mode 100644 index 0000000..e0293d6 --- /dev/null +++ b/cavedata/10140-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455097974;} \ No newline at end of file diff --git a/cavedata/10140-3.dat b/cavedata/10140-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10140-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10140-4.dat b/cavedata/10140-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10140-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10142-1.dat b/cavedata/10142-1.dat new file mode 100644 index 0000000..eca42b3 --- /dev/null +++ b/cavedata/10142-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455143225;} \ No newline at end of file diff --git a/cavedata/10142-2.dat b/cavedata/10142-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10142-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10142-3.dat b/cavedata/10142-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10142-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10142-4.dat b/cavedata/10142-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10142-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10144-1.dat b/cavedata/10144-1.dat new file mode 100644 index 0000000..af93643 --- /dev/null +++ b/cavedata/10144-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455020601;} \ No newline at end of file diff --git a/cavedata/10144-2.dat b/cavedata/10144-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10144-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10144-3.dat b/cavedata/10144-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10144-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10144-4.dat b/cavedata/10144-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10144-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10149-1.dat b/cavedata/10149-1.dat new file mode 100644 index 0000000..2aaa610 --- /dev/null +++ b/cavedata/10149-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455018415;} \ No newline at end of file diff --git a/cavedata/10149-2.dat b/cavedata/10149-2.dat new file mode 100644 index 0000000..c1f1fcb --- /dev/null +++ b/cavedata/10149-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455018845;} \ No newline at end of file diff --git a/cavedata/10149-3.dat b/cavedata/10149-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10149-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10149-4.dat b/cavedata/10149-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10149-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10151-1.dat b/cavedata/10151-1.dat new file mode 100644 index 0000000..c583783 --- /dev/null +++ b/cavedata/10151-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455020884;} \ No newline at end of file diff --git a/cavedata/10151-2.dat b/cavedata/10151-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10151-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10151-3.dat b/cavedata/10151-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10151-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10151-4.dat b/cavedata/10151-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10151-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10155-1.dat b/cavedata/10155-1.dat new file mode 100644 index 0000000..3d88931 --- /dev/null +++ b/cavedata/10155-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455139899;} \ No newline at end of file diff --git a/cavedata/10155-2.dat b/cavedata/10155-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10155-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10155-3.dat b/cavedata/10155-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10155-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10155-4.dat b/cavedata/10155-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10155-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10163-1.dat b/cavedata/10163-1.dat new file mode 100644 index 0000000..6a16c6e --- /dev/null +++ b/cavedata/10163-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455138346;} \ No newline at end of file diff --git a/cavedata/10163-2.dat b/cavedata/10163-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10163-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10163-3.dat b/cavedata/10163-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10163-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10163-4.dat b/cavedata/10163-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10163-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10165-1.dat b/cavedata/10165-1.dat new file mode 100644 index 0000000..36ffbad --- /dev/null +++ b/cavedata/10165-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455138162;} \ No newline at end of file diff --git a/cavedata/10165-2.dat b/cavedata/10165-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10165-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10165-3.dat b/cavedata/10165-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10165-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10165-4.dat b/cavedata/10165-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10165-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10205-1.dat b/cavedata/10205-1.dat new file mode 100644 index 0000000..6b3ba9d --- /dev/null +++ b/cavedata/10205-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455198078;} \ No newline at end of file diff --git a/cavedata/10205-2.dat b/cavedata/10205-2.dat new file mode 100644 index 0000000..f3d1741 --- /dev/null +++ b/cavedata/10205-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455200263;} \ No newline at end of file diff --git a/cavedata/10205-3.dat b/cavedata/10205-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10205-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10205-4.dat b/cavedata/10205-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10205-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10219-1.dat b/cavedata/10219-1.dat new file mode 100644 index 0000000..28abcb3 --- /dev/null +++ b/cavedata/10219-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455530238;} \ No newline at end of file diff --git a/cavedata/10219-2.dat b/cavedata/10219-2.dat new file mode 100644 index 0000000..1ca9b46 --- /dev/null +++ b/cavedata/10219-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455533325;} \ No newline at end of file diff --git a/cavedata/10219-3.dat b/cavedata/10219-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10219-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10219-4.dat b/cavedata/10219-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10219-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10225-1.dat b/cavedata/10225-1.dat new file mode 100644 index 0000000..82fb9ba --- /dev/null +++ b/cavedata/10225-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455577573;} \ No newline at end of file diff --git a/cavedata/10225-2.dat b/cavedata/10225-2.dat new file mode 100644 index 0000000..a384996 --- /dev/null +++ b/cavedata/10225-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455578810;} \ No newline at end of file diff --git a/cavedata/10225-3.dat b/cavedata/10225-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10225-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10225-4.dat b/cavedata/10225-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10225-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10240-1.dat b/cavedata/10240-1.dat new file mode 100644 index 0000000..a55b01d --- /dev/null +++ b/cavedata/10240-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455626621;} \ No newline at end of file diff --git a/cavedata/10240-2.dat b/cavedata/10240-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10240-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10240-3.dat b/cavedata/10240-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10240-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10240-4.dat b/cavedata/10240-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10240-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10242-1.dat b/cavedata/10242-1.dat new file mode 100644 index 0000000..38a1d76 --- /dev/null +++ b/cavedata/10242-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455620947;} \ No newline at end of file diff --git a/cavedata/10242-2.dat b/cavedata/10242-2.dat new file mode 100644 index 0000000..b79f898 --- /dev/null +++ b/cavedata/10242-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455623862;} \ No newline at end of file diff --git a/cavedata/10242-3.dat b/cavedata/10242-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10242-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10242-4.dat b/cavedata/10242-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10242-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10244-1.dat b/cavedata/10244-1.dat new file mode 100644 index 0000000..2681b28 --- /dev/null +++ b/cavedata/10244-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455271759;} \ No newline at end of file diff --git a/cavedata/10244-2.dat b/cavedata/10244-2.dat new file mode 100644 index 0000000..4193d67 --- /dev/null +++ b/cavedata/10244-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455272159;} \ No newline at end of file diff --git a/cavedata/10244-3.dat b/cavedata/10244-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10244-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10244-4.dat b/cavedata/10244-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10244-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10245-1.dat b/cavedata/10245-1.dat new file mode 100644 index 0000000..6809ba6 --- /dev/null +++ b/cavedata/10245-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455544184;} \ No newline at end of file diff --git a/cavedata/10245-2.dat b/cavedata/10245-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10245-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10245-3.dat b/cavedata/10245-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10245-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10245-4.dat b/cavedata/10245-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10245-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10246-1.dat b/cavedata/10246-1.dat new file mode 100644 index 0000000..44e9d0a --- /dev/null +++ b/cavedata/10246-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455442115;} \ No newline at end of file diff --git a/cavedata/10246-2.dat b/cavedata/10246-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10246-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10246-3.dat b/cavedata/10246-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10246-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10246-4.dat b/cavedata/10246-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10246-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10247-1.dat b/cavedata/10247-1.dat new file mode 100644 index 0000000..e0dc637 --- /dev/null +++ b/cavedata/10247-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1456088808;} \ No newline at end of file diff --git a/cavedata/10247-2.dat b/cavedata/10247-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10247-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10247-3.dat b/cavedata/10247-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10247-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10247-4.dat b/cavedata/10247-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10247-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10248-1.dat b/cavedata/10248-1.dat new file mode 100644 index 0000000..e089277 --- /dev/null +++ b/cavedata/10248-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455516379;} \ No newline at end of file diff --git a/cavedata/10248-2.dat b/cavedata/10248-2.dat new file mode 100644 index 0000000..3db30bc --- /dev/null +++ b/cavedata/10248-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455519121;} \ No newline at end of file diff --git a/cavedata/10248-3.dat b/cavedata/10248-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10248-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10248-4.dat b/cavedata/10248-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10248-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10250-1.dat b/cavedata/10250-1.dat new file mode 100644 index 0000000..0abc421 --- /dev/null +++ b/cavedata/10250-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455646394;} \ No newline at end of file diff --git a/cavedata/10250-2.dat b/cavedata/10250-2.dat new file mode 100644 index 0000000..f4125b9 --- /dev/null +++ b/cavedata/10250-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455647169;} \ No newline at end of file diff --git a/cavedata/10250-3.dat b/cavedata/10250-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10250-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10250-4.dat b/cavedata/10250-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10250-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10251-1.dat b/cavedata/10251-1.dat new file mode 100644 index 0000000..e0021de --- /dev/null +++ b/cavedata/10251-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455558468;} \ No newline at end of file diff --git a/cavedata/10251-2.dat b/cavedata/10251-2.dat new file mode 100644 index 0000000..2a5d71b --- /dev/null +++ b/cavedata/10251-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455569859;} \ No newline at end of file diff --git a/cavedata/10251-3.dat b/cavedata/10251-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10251-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10251-4.dat b/cavedata/10251-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10251-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10253-1.dat b/cavedata/10253-1.dat new file mode 100644 index 0000000..efb0d1e --- /dev/null +++ b/cavedata/10253-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455466759;} \ No newline at end of file diff --git a/cavedata/10253-2.dat b/cavedata/10253-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10253-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10253-3.dat b/cavedata/10253-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10253-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10253-4.dat b/cavedata/10253-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10253-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10254-1.dat b/cavedata/10254-1.dat new file mode 100644 index 0000000..2188480 --- /dev/null +++ b/cavedata/10254-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455485637;} \ No newline at end of file diff --git a/cavedata/10254-2.dat b/cavedata/10254-2.dat new file mode 100644 index 0000000..904ecc4 --- /dev/null +++ b/cavedata/10254-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455486350;} \ No newline at end of file diff --git a/cavedata/10254-3.dat b/cavedata/10254-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10254-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10254-4.dat b/cavedata/10254-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10254-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10255-1.dat b/cavedata/10255-1.dat new file mode 100644 index 0000000..b0f9952 --- /dev/null +++ b/cavedata/10255-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455374248;} \ No newline at end of file diff --git a/cavedata/10255-2.dat b/cavedata/10255-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10255-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10255-3.dat b/cavedata/10255-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10255-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10255-4.dat b/cavedata/10255-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10255-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10256-1.dat b/cavedata/10256-1.dat new file mode 100644 index 0000000..4619a88 --- /dev/null +++ b/cavedata/10256-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455658122;} \ No newline at end of file diff --git a/cavedata/10256-2.dat b/cavedata/10256-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10256-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10256-3.dat b/cavedata/10256-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10256-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10256-4.dat b/cavedata/10256-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10256-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10257-1.dat b/cavedata/10257-1.dat new file mode 100644 index 0000000..bc4bced --- /dev/null +++ b/cavedata/10257-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455318081;} \ No newline at end of file diff --git a/cavedata/10257-2.dat b/cavedata/10257-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10257-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10257-3.dat b/cavedata/10257-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10257-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10257-4.dat b/cavedata/10257-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10257-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10258-1.dat b/cavedata/10258-1.dat new file mode 100644 index 0000000..01d98d5 --- /dev/null +++ b/cavedata/10258-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1462193632;} \ No newline at end of file diff --git a/cavedata/10258-2.dat b/cavedata/10258-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10258-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10258-3.dat b/cavedata/10258-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10258-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10258-4.dat b/cavedata/10258-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10258-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10259-1.dat b/cavedata/10259-1.dat new file mode 100644 index 0000000..28ffff1 --- /dev/null +++ b/cavedata/10259-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1462304926;} \ No newline at end of file diff --git a/cavedata/10259-2.dat b/cavedata/10259-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10259-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10259-3.dat b/cavedata/10259-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10259-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10259-4.dat b/cavedata/10259-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10259-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10261-1.dat b/cavedata/10261-1.dat new file mode 100644 index 0000000..411c8a8 --- /dev/null +++ b/cavedata/10261-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455454696;} \ No newline at end of file diff --git a/cavedata/10261-2.dat b/cavedata/10261-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10261-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10261-3.dat b/cavedata/10261-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10261-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10261-4.dat b/cavedata/10261-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10261-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10263-1.dat b/cavedata/10263-1.dat new file mode 100644 index 0000000..9bb9907 --- /dev/null +++ b/cavedata/10263-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455251334;} \ No newline at end of file diff --git a/cavedata/10263-2.dat b/cavedata/10263-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10263-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10263-3.dat b/cavedata/10263-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10263-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10263-4.dat b/cavedata/10263-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10263-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10267-1.dat b/cavedata/10267-1.dat new file mode 100644 index 0000000..78681a6 --- /dev/null +++ b/cavedata/10267-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455434679;} \ No newline at end of file diff --git a/cavedata/10267-2.dat b/cavedata/10267-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10267-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10267-3.dat b/cavedata/10267-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10267-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10267-4.dat b/cavedata/10267-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10267-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10268-1.dat b/cavedata/10268-1.dat new file mode 100644 index 0000000..d65ce3d --- /dev/null +++ b/cavedata/10268-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455217329;} \ No newline at end of file diff --git a/cavedata/10268-2.dat b/cavedata/10268-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10268-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10268-3.dat b/cavedata/10268-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10268-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10268-4.dat b/cavedata/10268-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10268-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10269-1.dat b/cavedata/10269-1.dat new file mode 100644 index 0000000..b47aa72 --- /dev/null +++ b/cavedata/10269-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455401536;} \ No newline at end of file diff --git a/cavedata/10269-2.dat b/cavedata/10269-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10269-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10269-3.dat b/cavedata/10269-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10269-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10269-4.dat b/cavedata/10269-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10269-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10271-1.dat b/cavedata/10271-1.dat new file mode 100644 index 0000000..140bac0 --- /dev/null +++ b/cavedata/10271-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455474055;} \ No newline at end of file diff --git a/cavedata/10271-2.dat b/cavedata/10271-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10271-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10271-3.dat b/cavedata/10271-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10271-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10271-4.dat b/cavedata/10271-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10271-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10272-1.dat b/cavedata/10272-1.dat new file mode 100644 index 0000000..b2b1088 --- /dev/null +++ b/cavedata/10272-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455178695;} \ No newline at end of file diff --git a/cavedata/10272-2.dat b/cavedata/10272-2.dat new file mode 100644 index 0000000..fbd38fb --- /dev/null +++ b/cavedata/10272-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455179656;} \ No newline at end of file diff --git a/cavedata/10272-3.dat b/cavedata/10272-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10272-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10272-4.dat b/cavedata/10272-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10272-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10273-1.dat b/cavedata/10273-1.dat new file mode 100644 index 0000000..900d673 --- /dev/null +++ b/cavedata/10273-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1456906399;} \ No newline at end of file diff --git a/cavedata/10273-2.dat b/cavedata/10273-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10273-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10273-3.dat b/cavedata/10273-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10273-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10273-4.dat b/cavedata/10273-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10273-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10274-1.dat b/cavedata/10274-1.dat new file mode 100644 index 0000000..8774575 --- /dev/null +++ b/cavedata/10274-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455559459;} \ No newline at end of file diff --git a/cavedata/10274-2.dat b/cavedata/10274-2.dat new file mode 100644 index 0000000..e958b30 --- /dev/null +++ b/cavedata/10274-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455560338;} \ No newline at end of file diff --git a/cavedata/10274-3.dat b/cavedata/10274-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10274-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10274-4.dat b/cavedata/10274-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10274-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10275-1.dat b/cavedata/10275-1.dat new file mode 100644 index 0000000..72c537c --- /dev/null +++ b/cavedata/10275-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455445494;} \ No newline at end of file diff --git a/cavedata/10275-2.dat b/cavedata/10275-2.dat new file mode 100644 index 0000000..b7015a3 --- /dev/null +++ b/cavedata/10275-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455445725;} \ No newline at end of file diff --git a/cavedata/10275-3.dat b/cavedata/10275-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10275-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10275-4.dat b/cavedata/10275-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10275-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10276-1.dat b/cavedata/10276-1.dat new file mode 100644 index 0000000..e90c4a8 --- /dev/null +++ b/cavedata/10276-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455448509;} \ No newline at end of file diff --git a/cavedata/10276-2.dat b/cavedata/10276-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10276-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10276-3.dat b/cavedata/10276-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10276-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10276-4.dat b/cavedata/10276-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10276-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10277-1.dat b/cavedata/10277-1.dat new file mode 100644 index 0000000..a957823 --- /dev/null +++ b/cavedata/10277-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1460788954;} \ No newline at end of file diff --git a/cavedata/10277-2.dat b/cavedata/10277-2.dat new file mode 100644 index 0000000..2c7dfa4 --- /dev/null +++ b/cavedata/10277-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1460789072;} \ No newline at end of file diff --git a/cavedata/10277-3.dat b/cavedata/10277-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10277-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10277-4.dat b/cavedata/10277-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10277-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10279-1.dat b/cavedata/10279-1.dat new file mode 100644 index 0000000..397d121 --- /dev/null +++ b/cavedata/10279-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455479584;} \ No newline at end of file diff --git a/cavedata/10279-2.dat b/cavedata/10279-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10279-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10279-3.dat b/cavedata/10279-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10279-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10279-4.dat b/cavedata/10279-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10279-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10280-1.dat b/cavedata/10280-1.dat new file mode 100644 index 0000000..3d200a6 --- /dev/null +++ b/cavedata/10280-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455307643;} \ No newline at end of file diff --git a/cavedata/10280-2.dat b/cavedata/10280-2.dat new file mode 100644 index 0000000..c8a1ea7 --- /dev/null +++ b/cavedata/10280-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455308671;} \ No newline at end of file diff --git a/cavedata/10280-3.dat b/cavedata/10280-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10280-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10280-4.dat b/cavedata/10280-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10280-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10281-1.dat b/cavedata/10281-1.dat new file mode 100644 index 0000000..4522335 --- /dev/null +++ b/cavedata/10281-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1456592534;} \ No newline at end of file diff --git a/cavedata/10281-2.dat b/cavedata/10281-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10281-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10281-3.dat b/cavedata/10281-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10281-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10281-4.dat b/cavedata/10281-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10281-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10284-1.dat b/cavedata/10284-1.dat new file mode 100644 index 0000000..a9c0336 --- /dev/null +++ b/cavedata/10284-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455530085;} \ No newline at end of file diff --git a/cavedata/10284-2.dat b/cavedata/10284-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10284-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10284-3.dat b/cavedata/10284-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10284-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10284-4.dat b/cavedata/10284-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10284-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10285-1.dat b/cavedata/10285-1.dat new file mode 100644 index 0000000..5fa4aea --- /dev/null +++ b/cavedata/10285-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455566263;} \ No newline at end of file diff --git a/cavedata/10285-2.dat b/cavedata/10285-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10285-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10285-3.dat b/cavedata/10285-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10285-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10285-4.dat b/cavedata/10285-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10285-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10294-1.dat b/cavedata/10294-1.dat new file mode 100644 index 0000000..3523283 --- /dev/null +++ b/cavedata/10294-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455368034;} \ No newline at end of file diff --git a/cavedata/10294-2.dat b/cavedata/10294-2.dat new file mode 100644 index 0000000..624849b --- /dev/null +++ b/cavedata/10294-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455562231;} \ No newline at end of file diff --git a/cavedata/10294-3.dat b/cavedata/10294-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10294-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10294-4.dat b/cavedata/10294-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10294-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10299-1.dat b/cavedata/10299-1.dat new file mode 100644 index 0000000..2437cea --- /dev/null +++ b/cavedata/10299-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455211094;} \ No newline at end of file diff --git a/cavedata/10299-2.dat b/cavedata/10299-2.dat new file mode 100644 index 0000000..bce1168 --- /dev/null +++ b/cavedata/10299-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455213341;} \ No newline at end of file diff --git a/cavedata/10299-3.dat b/cavedata/10299-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10299-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10299-4.dat b/cavedata/10299-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10299-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10300-1.dat b/cavedata/10300-1.dat new file mode 100644 index 0000000..46fa23b --- /dev/null +++ b/cavedata/10300-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455308735;} \ No newline at end of file diff --git a/cavedata/10300-2.dat b/cavedata/10300-2.dat new file mode 100644 index 0000000..63c9a6d --- /dev/null +++ b/cavedata/10300-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455309185;} \ No newline at end of file diff --git a/cavedata/10300-3.dat b/cavedata/10300-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10300-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10300-4.dat b/cavedata/10300-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10300-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10302-1.dat b/cavedata/10302-1.dat new file mode 100644 index 0000000..d3eccbb --- /dev/null +++ b/cavedata/10302-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455607261;} \ No newline at end of file diff --git a/cavedata/10302-2.dat b/cavedata/10302-2.dat new file mode 100644 index 0000000..49b415d --- /dev/null +++ b/cavedata/10302-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455608269;} \ No newline at end of file diff --git a/cavedata/10302-3.dat b/cavedata/10302-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10302-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10302-4.dat b/cavedata/10302-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10302-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10303-1.dat b/cavedata/10303-1.dat new file mode 100644 index 0000000..c692b0c --- /dev/null +++ b/cavedata/10303-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455213283;} \ No newline at end of file diff --git a/cavedata/10303-2.dat b/cavedata/10303-2.dat new file mode 100644 index 0000000..68e244a --- /dev/null +++ b/cavedata/10303-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455214489;} \ No newline at end of file diff --git a/cavedata/10303-3.dat b/cavedata/10303-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10303-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10303-4.dat b/cavedata/10303-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10303-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10304-1.dat b/cavedata/10304-1.dat new file mode 100644 index 0000000..fd5e838 --- /dev/null +++ b/cavedata/10304-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1461436625;} \ No newline at end of file diff --git a/cavedata/10304-2.dat b/cavedata/10304-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10304-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10304-3.dat b/cavedata/10304-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10304-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10304-4.dat b/cavedata/10304-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10304-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10309-1.dat b/cavedata/10309-1.dat new file mode 100644 index 0000000..409a11c --- /dev/null +++ b/cavedata/10309-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455284462;} \ No newline at end of file diff --git a/cavedata/10309-2.dat b/cavedata/10309-2.dat new file mode 100644 index 0000000..7df6c73 --- /dev/null +++ b/cavedata/10309-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455286491;} \ No newline at end of file diff --git a/cavedata/10309-3.dat b/cavedata/10309-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10309-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10309-4.dat b/cavedata/10309-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10309-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10310-1.dat b/cavedata/10310-1.dat new file mode 100644 index 0000000..bb18290 --- /dev/null +++ b/cavedata/10310-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455663296;} \ No newline at end of file diff --git a/cavedata/10310-2.dat b/cavedata/10310-2.dat new file mode 100644 index 0000000..82161db --- /dev/null +++ b/cavedata/10310-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455672362;} \ No newline at end of file diff --git a/cavedata/10310-3.dat b/cavedata/10310-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10310-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10310-4.dat b/cavedata/10310-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10310-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10312-1.dat b/cavedata/10312-1.dat new file mode 100644 index 0000000..e9ed026 --- /dev/null +++ b/cavedata/10312-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1457034927;} \ No newline at end of file diff --git a/cavedata/10312-2.dat b/cavedata/10312-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10312-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10312-3.dat b/cavedata/10312-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10312-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10312-4.dat b/cavedata/10312-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10312-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10314-1.dat b/cavedata/10314-1.dat new file mode 100644 index 0000000..c915ecf --- /dev/null +++ b/cavedata/10314-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455572235;} \ No newline at end of file diff --git a/cavedata/10314-2.dat b/cavedata/10314-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10314-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10314-3.dat b/cavedata/10314-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10314-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10314-4.dat b/cavedata/10314-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10314-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10316-1.dat b/cavedata/10316-1.dat new file mode 100644 index 0000000..1198815 --- /dev/null +++ b/cavedata/10316-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455535962;} \ No newline at end of file diff --git a/cavedata/10316-2.dat b/cavedata/10316-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10316-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10316-3.dat b/cavedata/10316-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10316-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10316-4.dat b/cavedata/10316-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10316-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10318-1.dat b/cavedata/10318-1.dat new file mode 100644 index 0000000..1b3b520 --- /dev/null +++ b/cavedata/10318-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455453544;} \ No newline at end of file diff --git a/cavedata/10318-2.dat b/cavedata/10318-2.dat new file mode 100644 index 0000000..36b6bc8 --- /dev/null +++ b/cavedata/10318-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455453821;} \ No newline at end of file diff --git a/cavedata/10318-3.dat b/cavedata/10318-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10318-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10318-4.dat b/cavedata/10318-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10318-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10320-1.dat b/cavedata/10320-1.dat new file mode 100644 index 0000000..1366edc --- /dev/null +++ b/cavedata/10320-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455542536;} \ No newline at end of file diff --git a/cavedata/10320-2.dat b/cavedata/10320-2.dat new file mode 100644 index 0000000..a428dbe --- /dev/null +++ b/cavedata/10320-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455547097;} \ No newline at end of file diff --git a/cavedata/10320-3.dat b/cavedata/10320-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10320-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10320-4.dat b/cavedata/10320-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10320-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10321-1.dat b/cavedata/10321-1.dat new file mode 100644 index 0000000..24c4a45 --- /dev/null +++ b/cavedata/10321-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455484641;} \ No newline at end of file diff --git a/cavedata/10321-2.dat b/cavedata/10321-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10321-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10321-3.dat b/cavedata/10321-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10321-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10321-4.dat b/cavedata/10321-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10321-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10324-1.dat b/cavedata/10324-1.dat new file mode 100644 index 0000000..eec8f69 --- /dev/null +++ b/cavedata/10324-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455271109;} \ No newline at end of file diff --git a/cavedata/10324-2.dat b/cavedata/10324-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10324-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10324-3.dat b/cavedata/10324-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10324-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10324-4.dat b/cavedata/10324-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10324-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10329-1.dat b/cavedata/10329-1.dat new file mode 100644 index 0000000..5569995 --- /dev/null +++ b/cavedata/10329-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455571967;} \ No newline at end of file diff --git a/cavedata/10329-2.dat b/cavedata/10329-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10329-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10329-3.dat b/cavedata/10329-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10329-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10329-4.dat b/cavedata/10329-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10329-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10330-1.dat b/cavedata/10330-1.dat new file mode 100644 index 0000000..4db1db4 --- /dev/null +++ b/cavedata/10330-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455364711;} \ No newline at end of file diff --git a/cavedata/10330-2.dat b/cavedata/10330-2.dat new file mode 100644 index 0000000..ffc536d --- /dev/null +++ b/cavedata/10330-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455527169;} \ No newline at end of file diff --git a/cavedata/10330-3.dat b/cavedata/10330-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10330-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10330-4.dat b/cavedata/10330-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10330-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10338-1.dat b/cavedata/10338-1.dat new file mode 100644 index 0000000..51fd1cf --- /dev/null +++ b/cavedata/10338-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455544803;} \ No newline at end of file diff --git a/cavedata/10338-2.dat b/cavedata/10338-2.dat new file mode 100644 index 0000000..1a1eda3 --- /dev/null +++ b/cavedata/10338-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455558770;} \ No newline at end of file diff --git a/cavedata/10338-3.dat b/cavedata/10338-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10338-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10338-4.dat b/cavedata/10338-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10338-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10339-1.dat b/cavedata/10339-1.dat new file mode 100644 index 0000000..18bea68 --- /dev/null +++ b/cavedata/10339-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455362021;} \ No newline at end of file diff --git a/cavedata/10339-2.dat b/cavedata/10339-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10339-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10339-3.dat b/cavedata/10339-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10339-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10339-4.dat b/cavedata/10339-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10339-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10341-1.dat b/cavedata/10341-1.dat new file mode 100644 index 0000000..cbef274 --- /dev/null +++ b/cavedata/10341-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455466434;} \ No newline at end of file diff --git a/cavedata/10341-2.dat b/cavedata/10341-2.dat new file mode 100644 index 0000000..adf0a94 --- /dev/null +++ b/cavedata/10341-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455482737;} \ No newline at end of file diff --git a/cavedata/10341-3.dat b/cavedata/10341-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10341-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10341-4.dat b/cavedata/10341-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10341-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10342-1.dat b/cavedata/10342-1.dat new file mode 100644 index 0000000..c50f44a --- /dev/null +++ b/cavedata/10342-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455479187;} \ No newline at end of file diff --git a/cavedata/10342-2.dat b/cavedata/10342-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10342-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10342-3.dat b/cavedata/10342-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10342-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10342-4.dat b/cavedata/10342-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10342-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10345-1.dat b/cavedata/10345-1.dat new file mode 100644 index 0000000..cc33b95 --- /dev/null +++ b/cavedata/10345-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455399083;} \ No newline at end of file diff --git a/cavedata/10345-2.dat b/cavedata/10345-2.dat new file mode 100644 index 0000000..ebff938 --- /dev/null +++ b/cavedata/10345-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455401141;} \ No newline at end of file diff --git a/cavedata/10345-3.dat b/cavedata/10345-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10345-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10345-4.dat b/cavedata/10345-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10345-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10346-1.dat b/cavedata/10346-1.dat new file mode 100644 index 0000000..dc6615d --- /dev/null +++ b/cavedata/10346-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455359555;} \ No newline at end of file diff --git a/cavedata/10346-2.dat b/cavedata/10346-2.dat new file mode 100644 index 0000000..46da50f --- /dev/null +++ b/cavedata/10346-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455360426;} \ No newline at end of file diff --git a/cavedata/10346-3.dat b/cavedata/10346-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10346-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10346-4.dat b/cavedata/10346-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10346-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10350-1.dat b/cavedata/10350-1.dat new file mode 100644 index 0000000..97cfa81 --- /dev/null +++ b/cavedata/10350-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455359036;} \ No newline at end of file diff --git a/cavedata/10350-2.dat b/cavedata/10350-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10350-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10350-3.dat b/cavedata/10350-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10350-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10350-4.dat b/cavedata/10350-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10350-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10358-1.dat b/cavedata/10358-1.dat new file mode 100644 index 0000000..91ae287 --- /dev/null +++ b/cavedata/10358-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455622250;} \ No newline at end of file diff --git a/cavedata/10358-2.dat b/cavedata/10358-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10358-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10358-3.dat b/cavedata/10358-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10358-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10358-4.dat b/cavedata/10358-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10358-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10360-1.dat b/cavedata/10360-1.dat new file mode 100644 index 0000000..a3afa76 --- /dev/null +++ b/cavedata/10360-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455352903;} \ No newline at end of file diff --git a/cavedata/10360-2.dat b/cavedata/10360-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10360-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10360-3.dat b/cavedata/10360-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10360-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10360-4.dat b/cavedata/10360-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10360-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10368-1.dat b/cavedata/10368-1.dat new file mode 100644 index 0000000..89d1eaa --- /dev/null +++ b/cavedata/10368-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455546174;} \ No newline at end of file diff --git a/cavedata/10368-2.dat b/cavedata/10368-2.dat new file mode 100644 index 0000000..22fbac8 --- /dev/null +++ b/cavedata/10368-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455550312;} \ No newline at end of file diff --git a/cavedata/10368-3.dat b/cavedata/10368-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10368-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10368-4.dat b/cavedata/10368-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10368-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10376-1.dat b/cavedata/10376-1.dat new file mode 100644 index 0000000..f27e392 --- /dev/null +++ b/cavedata/10376-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455300525;} \ No newline at end of file diff --git a/cavedata/10376-2.dat b/cavedata/10376-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10376-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10376-3.dat b/cavedata/10376-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10376-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10376-4.dat b/cavedata/10376-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10376-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10377-1.dat b/cavedata/10377-1.dat new file mode 100644 index 0000000..7b21de8 --- /dev/null +++ b/cavedata/10377-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455280853;} \ No newline at end of file diff --git a/cavedata/10377-2.dat b/cavedata/10377-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10377-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10377-3.dat b/cavedata/10377-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10377-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10377-4.dat b/cavedata/10377-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10377-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10389-1.dat b/cavedata/10389-1.dat new file mode 100644 index 0000000..f1606e3 --- /dev/null +++ b/cavedata/10389-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455621811;} \ No newline at end of file diff --git a/cavedata/10389-2.dat b/cavedata/10389-2.dat new file mode 100644 index 0000000..138e918 --- /dev/null +++ b/cavedata/10389-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455622655;} \ No newline at end of file diff --git a/cavedata/10389-3.dat b/cavedata/10389-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10389-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10389-4.dat b/cavedata/10389-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10389-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10394-1.dat b/cavedata/10394-1.dat new file mode 100644 index 0000000..1ac964e --- /dev/null +++ b/cavedata/10394-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455447057;} \ No newline at end of file diff --git a/cavedata/10394-2.dat b/cavedata/10394-2.dat new file mode 100644 index 0000000..490ee20 --- /dev/null +++ b/cavedata/10394-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455447423;} \ No newline at end of file diff --git a/cavedata/10394-3.dat b/cavedata/10394-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10394-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10394-4.dat b/cavedata/10394-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10394-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10395-1.dat b/cavedata/10395-1.dat new file mode 100644 index 0000000..a76409a --- /dev/null +++ b/cavedata/10395-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1461913370;} \ No newline at end of file diff --git a/cavedata/10395-2.dat b/cavedata/10395-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10395-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10395-3.dat b/cavedata/10395-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10395-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10395-4.dat b/cavedata/10395-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10395-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10408-1.dat b/cavedata/10408-1.dat new file mode 100644 index 0000000..96df543 --- /dev/null +++ b/cavedata/10408-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455539212;} \ No newline at end of file diff --git a/cavedata/10408-2.dat b/cavedata/10408-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10408-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10408-3.dat b/cavedata/10408-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10408-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10408-4.dat b/cavedata/10408-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10408-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10411-1.dat b/cavedata/10411-1.dat new file mode 100644 index 0000000..ab66d68 --- /dev/null +++ b/cavedata/10411-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455444094;} \ No newline at end of file diff --git a/cavedata/10411-2.dat b/cavedata/10411-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10411-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10411-3.dat b/cavedata/10411-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10411-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10411-4.dat b/cavedata/10411-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10411-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10413-1.dat b/cavedata/10413-1.dat new file mode 100644 index 0000000..0e2a464 --- /dev/null +++ b/cavedata/10413-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455524648;} \ No newline at end of file diff --git a/cavedata/10413-2.dat b/cavedata/10413-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10413-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10413-3.dat b/cavedata/10413-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10413-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10413-4.dat b/cavedata/10413-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10413-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10430-1.dat b/cavedata/10430-1.dat new file mode 100644 index 0000000..488d18a --- /dev/null +++ b/cavedata/10430-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1455577589;} \ No newline at end of file diff --git a/cavedata/10430-2.dat b/cavedata/10430-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10430-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10430-3.dat b/cavedata/10430-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10430-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10430-4.dat b/cavedata/10430-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10430-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10446-1.dat b/cavedata/10446-1.dat new file mode 100644 index 0000000..9c89977 --- /dev/null +++ b/cavedata/10446-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1456561259;} \ No newline at end of file diff --git a/cavedata/10446-2.dat b/cavedata/10446-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10446-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10446-3.dat b/cavedata/10446-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10446-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10446-4.dat b/cavedata/10446-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10446-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10468-1.dat b/cavedata/10468-1.dat new file mode 100644 index 0000000..982c289 --- /dev/null +++ b/cavedata/10468-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1459697087;} \ No newline at end of file diff --git a/cavedata/10468-2.dat b/cavedata/10468-2.dat new file mode 100644 index 0000000..b3fd962 --- /dev/null +++ b/cavedata/10468-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1459707313;} \ No newline at end of file diff --git a/cavedata/10468-3.dat b/cavedata/10468-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10468-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10468-4.dat b/cavedata/10468-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10468-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10472-1.dat b/cavedata/10472-1.dat new file mode 100644 index 0000000..b307984 --- /dev/null +++ b/cavedata/10472-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1462294481;} \ No newline at end of file diff --git a/cavedata/10472-2.dat b/cavedata/10472-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10472-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10472-3.dat b/cavedata/10472-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10472-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10472-4.dat b/cavedata/10472-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10472-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10742-1.dat b/cavedata/10742-1.dat new file mode 100644 index 0000000..45f502d --- /dev/null +++ b/cavedata/10742-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1484472678;} \ No newline at end of file diff --git a/cavedata/10742-2.dat b/cavedata/10742-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10742-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10742-3.dat b/cavedata/10742-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10742-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10742-4.dat b/cavedata/10742-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10742-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10745-1.dat b/cavedata/10745-1.dat new file mode 100644 index 0000000..2c9555c --- /dev/null +++ b/cavedata/10745-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482169070;} \ No newline at end of file diff --git a/cavedata/10745-2.dat b/cavedata/10745-2.dat new file mode 100644 index 0000000..3c21f45 --- /dev/null +++ b/cavedata/10745-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482169850;} \ No newline at end of file diff --git a/cavedata/10745-3.dat b/cavedata/10745-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10745-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10745-4.dat b/cavedata/10745-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10745-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10746-1.dat b/cavedata/10746-1.dat new file mode 100644 index 0000000..74db475 --- /dev/null +++ b/cavedata/10746-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1479920325;} \ No newline at end of file diff --git a/cavedata/10746-2.dat b/cavedata/10746-2.dat new file mode 100644 index 0000000..d4850f5 --- /dev/null +++ b/cavedata/10746-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480234446;} \ No newline at end of file diff --git a/cavedata/10746-3.dat b/cavedata/10746-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10746-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10746-4.dat b/cavedata/10746-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10746-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10755-1.dat b/cavedata/10755-1.dat new file mode 100644 index 0000000..b03d00b --- /dev/null +++ b/cavedata/10755-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1479988993;} \ No newline at end of file diff --git a/cavedata/10755-2.dat b/cavedata/10755-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10755-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10755-3.dat b/cavedata/10755-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10755-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10755-4.dat b/cavedata/10755-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10755-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10768-1.dat b/cavedata/10768-1.dat new file mode 100644 index 0000000..34a9a78 --- /dev/null +++ b/cavedata/10768-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480254489;} \ No newline at end of file diff --git a/cavedata/10768-2.dat b/cavedata/10768-2.dat new file mode 100644 index 0000000..bab2421 --- /dev/null +++ b/cavedata/10768-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480257570;} \ No newline at end of file diff --git a/cavedata/10768-3.dat b/cavedata/10768-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10768-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10768-4.dat b/cavedata/10768-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10768-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10775-1.dat b/cavedata/10775-1.dat new file mode 100644 index 0000000..53cb7d3 --- /dev/null +++ b/cavedata/10775-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482680183;} \ No newline at end of file diff --git a/cavedata/10775-2.dat b/cavedata/10775-2.dat new file mode 100644 index 0000000..c840dd1 --- /dev/null +++ b/cavedata/10775-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482680344;} \ No newline at end of file diff --git a/cavedata/10775-3.dat b/cavedata/10775-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10775-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10775-4.dat b/cavedata/10775-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10775-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10796-1.dat b/cavedata/10796-1.dat new file mode 100644 index 0000000..833af0d --- /dev/null +++ b/cavedata/10796-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1485252707;} \ No newline at end of file diff --git a/cavedata/10796-2.dat b/cavedata/10796-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10796-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10796-3.dat b/cavedata/10796-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10796-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10796-4.dat b/cavedata/10796-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10796-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10804-1.dat b/cavedata/10804-1.dat new file mode 100644 index 0000000..60f59e6 --- /dev/null +++ b/cavedata/10804-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480608714;} \ No newline at end of file diff --git a/cavedata/10804-2.dat b/cavedata/10804-2.dat new file mode 100644 index 0000000..8113cef --- /dev/null +++ b/cavedata/10804-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480611292;} \ No newline at end of file diff --git a/cavedata/10804-3.dat b/cavedata/10804-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10804-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10804-4.dat b/cavedata/10804-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10804-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10832-1.dat b/cavedata/10832-1.dat new file mode 100644 index 0000000..a35398c --- /dev/null +++ b/cavedata/10832-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1479985253;} \ No newline at end of file diff --git a/cavedata/10832-2.dat b/cavedata/10832-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10832-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10832-3.dat b/cavedata/10832-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10832-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10832-4.dat b/cavedata/10832-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10832-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10869-1.dat b/cavedata/10869-1.dat new file mode 100644 index 0000000..a304818 --- /dev/null +++ b/cavedata/10869-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481444235;} \ No newline at end of file diff --git a/cavedata/10869-2.dat b/cavedata/10869-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10869-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10869-3.dat b/cavedata/10869-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10869-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10869-4.dat b/cavedata/10869-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10869-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10871-1.dat b/cavedata/10871-1.dat new file mode 100644 index 0000000..82ea20a --- /dev/null +++ b/cavedata/10871-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480334780;} \ No newline at end of file diff --git a/cavedata/10871-2.dat b/cavedata/10871-2.dat new file mode 100644 index 0000000..60163e4 --- /dev/null +++ b/cavedata/10871-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480334737;} \ No newline at end of file diff --git a/cavedata/10871-3.dat b/cavedata/10871-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10871-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10871-4.dat b/cavedata/10871-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10871-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10872-1.dat b/cavedata/10872-1.dat new file mode 100644 index 0000000..4ddec99 --- /dev/null +++ b/cavedata/10872-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1486147037;} \ No newline at end of file diff --git a/cavedata/10872-2.dat b/cavedata/10872-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10872-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10872-3.dat b/cavedata/10872-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10872-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10872-4.dat b/cavedata/10872-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10872-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10878-1.dat b/cavedata/10878-1.dat new file mode 100644 index 0000000..d849e4f --- /dev/null +++ b/cavedata/10878-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482508949;} \ No newline at end of file diff --git a/cavedata/10878-2.dat b/cavedata/10878-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10878-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10878-3.dat b/cavedata/10878-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10878-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10878-4.dat b/cavedata/10878-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10878-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10880-1.dat b/cavedata/10880-1.dat new file mode 100644 index 0000000..5a8917f --- /dev/null +++ b/cavedata/10880-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480439563;} \ No newline at end of file diff --git a/cavedata/10880-2.dat b/cavedata/10880-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10880-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10880-3.dat b/cavedata/10880-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10880-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10880-4.dat b/cavedata/10880-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10880-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10881-1.dat b/cavedata/10881-1.dat new file mode 100644 index 0000000..d780344 --- /dev/null +++ b/cavedata/10881-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480926133;} \ No newline at end of file diff --git a/cavedata/10881-2.dat b/cavedata/10881-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10881-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10881-3.dat b/cavedata/10881-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10881-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10881-4.dat b/cavedata/10881-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10881-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10882-1.dat b/cavedata/10882-1.dat new file mode 100644 index 0000000..0593abe --- /dev/null +++ b/cavedata/10882-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480665398;} \ No newline at end of file diff --git a/cavedata/10882-2.dat b/cavedata/10882-2.dat new file mode 100644 index 0000000..04fd52d --- /dev/null +++ b/cavedata/10882-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480666848;} \ No newline at end of file diff --git a/cavedata/10882-3.dat b/cavedata/10882-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10882-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10882-4.dat b/cavedata/10882-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10882-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10897-1.dat b/cavedata/10897-1.dat new file mode 100644 index 0000000..5100c3e --- /dev/null +++ b/cavedata/10897-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481357700;} \ No newline at end of file diff --git a/cavedata/10897-2.dat b/cavedata/10897-2.dat new file mode 100644 index 0000000..9c92895 --- /dev/null +++ b/cavedata/10897-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481359794;} \ No newline at end of file diff --git a/cavedata/10897-3.dat b/cavedata/10897-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10897-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10897-4.dat b/cavedata/10897-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10897-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10900-1.dat b/cavedata/10900-1.dat new file mode 100644 index 0000000..e7a48b7 --- /dev/null +++ b/cavedata/10900-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481639489;} \ No newline at end of file diff --git a/cavedata/10900-2.dat b/cavedata/10900-2.dat new file mode 100644 index 0000000..1e44db8 --- /dev/null +++ b/cavedata/10900-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481640706;} \ No newline at end of file diff --git a/cavedata/10900-3.dat b/cavedata/10900-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10900-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10900-4.dat b/cavedata/10900-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10900-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10901-1.dat b/cavedata/10901-1.dat new file mode 100644 index 0000000..83edd67 --- /dev/null +++ b/cavedata/10901-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481790112;} \ No newline at end of file diff --git a/cavedata/10901-2.dat b/cavedata/10901-2.dat new file mode 100644 index 0000000..030b3ad --- /dev/null +++ b/cavedata/10901-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481792345;} \ No newline at end of file diff --git a/cavedata/10901-3.dat b/cavedata/10901-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10901-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10901-4.dat b/cavedata/10901-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10901-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10906-1.dat b/cavedata/10906-1.dat new file mode 100644 index 0000000..380b06c --- /dev/null +++ b/cavedata/10906-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480538665;} \ No newline at end of file diff --git a/cavedata/10906-2.dat b/cavedata/10906-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10906-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10906-3.dat b/cavedata/10906-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10906-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10906-4.dat b/cavedata/10906-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10906-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10910-1.dat b/cavedata/10910-1.dat new file mode 100644 index 0000000..203b495 --- /dev/null +++ b/cavedata/10910-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481346909;} \ No newline at end of file diff --git a/cavedata/10910-2.dat b/cavedata/10910-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10910-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10910-3.dat b/cavedata/10910-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10910-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10910-4.dat b/cavedata/10910-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10910-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10914-1.dat b/cavedata/10914-1.dat new file mode 100644 index 0000000..2a55ce2 --- /dev/null +++ b/cavedata/10914-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480841598;} \ No newline at end of file diff --git a/cavedata/10914-2.dat b/cavedata/10914-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10914-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10914-3.dat b/cavedata/10914-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10914-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10914-4.dat b/cavedata/10914-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10914-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10917-1.dat b/cavedata/10917-1.dat new file mode 100644 index 0000000..413ca02 --- /dev/null +++ b/cavedata/10917-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480605744;} \ No newline at end of file diff --git a/cavedata/10917-2.dat b/cavedata/10917-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10917-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10917-3.dat b/cavedata/10917-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10917-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10917-4.dat b/cavedata/10917-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10917-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10930-1.dat b/cavedata/10930-1.dat new file mode 100644 index 0000000..5fe9972 --- /dev/null +++ b/cavedata/10930-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1480722018;} \ No newline at end of file diff --git a/cavedata/10930-2.dat b/cavedata/10930-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10930-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10930-3.dat b/cavedata/10930-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10930-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10930-4.dat b/cavedata/10930-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10930-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10933-1.dat b/cavedata/10933-1.dat new file mode 100644 index 0000000..08145e8 --- /dev/null +++ b/cavedata/10933-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481053244;} \ No newline at end of file diff --git a/cavedata/10933-2.dat b/cavedata/10933-2.dat new file mode 100644 index 0000000..dc420e8 --- /dev/null +++ b/cavedata/10933-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481054530;} \ No newline at end of file diff --git a/cavedata/10933-3.dat b/cavedata/10933-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10933-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10933-4.dat b/cavedata/10933-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10933-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10935-1.dat b/cavedata/10935-1.dat new file mode 100644 index 0000000..7a7b40e --- /dev/null +++ b/cavedata/10935-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481241959;} \ No newline at end of file diff --git a/cavedata/10935-2.dat b/cavedata/10935-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10935-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10935-3.dat b/cavedata/10935-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10935-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10935-4.dat b/cavedata/10935-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10935-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10936-1.dat b/cavedata/10936-1.dat new file mode 100644 index 0000000..da00130 --- /dev/null +++ b/cavedata/10936-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482996883;} \ No newline at end of file diff --git a/cavedata/10936-2.dat b/cavedata/10936-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10936-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10936-3.dat b/cavedata/10936-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10936-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10936-4.dat b/cavedata/10936-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10936-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10939-1.dat b/cavedata/10939-1.dat new file mode 100644 index 0000000..76f12eb --- /dev/null +++ b/cavedata/10939-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481351682;} \ No newline at end of file diff --git a/cavedata/10939-2.dat b/cavedata/10939-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10939-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10939-3.dat b/cavedata/10939-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10939-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10939-4.dat b/cavedata/10939-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10939-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10947-1.dat b/cavedata/10947-1.dat new file mode 100644 index 0000000..6160b4c --- /dev/null +++ b/cavedata/10947-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1483099345;} \ No newline at end of file diff --git a/cavedata/10947-2.dat b/cavedata/10947-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10947-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10947-3.dat b/cavedata/10947-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10947-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10947-4.dat b/cavedata/10947-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10947-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10954-1.dat b/cavedata/10954-1.dat new file mode 100644 index 0000000..027f893 --- /dev/null +++ b/cavedata/10954-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481798273;} \ No newline at end of file diff --git a/cavedata/10954-2.dat b/cavedata/10954-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10954-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10954-3.dat b/cavedata/10954-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10954-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10954-4.dat b/cavedata/10954-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10954-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10956-1.dat b/cavedata/10956-1.dat new file mode 100644 index 0000000..bb35724 --- /dev/null +++ b/cavedata/10956-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1481485910;} \ No newline at end of file diff --git a/cavedata/10956-2.dat b/cavedata/10956-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10956-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10956-3.dat b/cavedata/10956-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10956-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/10956-4.dat b/cavedata/10956-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/10956-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11035-1.dat b/cavedata/11035-1.dat new file mode 100644 index 0000000..11ab9a5 --- /dev/null +++ b/cavedata/11035-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482265358;} \ No newline at end of file diff --git a/cavedata/11035-2.dat b/cavedata/11035-2.dat new file mode 100644 index 0000000..8f1f846 --- /dev/null +++ b/cavedata/11035-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482265594;} \ No newline at end of file diff --git a/cavedata/11035-3.dat b/cavedata/11035-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11035-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11035-4.dat b/cavedata/11035-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11035-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11039-1.dat b/cavedata/11039-1.dat new file mode 100644 index 0000000..6075ab6 --- /dev/null +++ b/cavedata/11039-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482706795;} \ No newline at end of file diff --git a/cavedata/11039-2.dat b/cavedata/11039-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11039-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11039-3.dat b/cavedata/11039-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11039-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11039-4.dat b/cavedata/11039-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11039-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11044-1.dat b/cavedata/11044-1.dat new file mode 100644 index 0000000..86d360f --- /dev/null +++ b/cavedata/11044-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482610136;} \ No newline at end of file diff --git a/cavedata/11044-2.dat b/cavedata/11044-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11044-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11044-3.dat b/cavedata/11044-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11044-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11044-4.dat b/cavedata/11044-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11044-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11045-1.dat b/cavedata/11045-1.dat new file mode 100644 index 0000000..6a6945f --- /dev/null +++ b/cavedata/11045-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482186979;} \ No newline at end of file diff --git a/cavedata/11045-2.dat b/cavedata/11045-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11045-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11045-3.dat b/cavedata/11045-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11045-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11045-4.dat b/cavedata/11045-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11045-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11065-1.dat b/cavedata/11065-1.dat new file mode 100644 index 0000000..72df742 --- /dev/null +++ b/cavedata/11065-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482500018;} \ No newline at end of file diff --git a/cavedata/11065-2.dat b/cavedata/11065-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11065-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11065-3.dat b/cavedata/11065-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11065-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11065-4.dat b/cavedata/11065-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11065-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11085-1.dat b/cavedata/11085-1.dat new file mode 100644 index 0000000..b31b871 --- /dev/null +++ b/cavedata/11085-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482577310;} \ No newline at end of file diff --git a/cavedata/11085-2.dat b/cavedata/11085-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11085-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11085-3.dat b/cavedata/11085-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11085-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11085-4.dat b/cavedata/11085-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11085-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11103-1.dat b/cavedata/11103-1.dat new file mode 100644 index 0000000..548fee4 --- /dev/null +++ b/cavedata/11103-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482788587;} \ No newline at end of file diff --git a/cavedata/11103-2.dat b/cavedata/11103-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11103-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11103-3.dat b/cavedata/11103-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11103-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11103-4.dat b/cavedata/11103-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11103-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11118-1.dat b/cavedata/11118-1.dat new file mode 100644 index 0000000..42268ea --- /dev/null +++ b/cavedata/11118-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1482890334;} \ No newline at end of file diff --git a/cavedata/11118-2.dat b/cavedata/11118-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11118-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11118-3.dat b/cavedata/11118-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11118-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11118-4.dat b/cavedata/11118-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11118-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11160-1.dat b/cavedata/11160-1.dat new file mode 100644 index 0000000..6759a70 --- /dev/null +++ b/cavedata/11160-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1483563681;} \ No newline at end of file diff --git a/cavedata/11160-2.dat b/cavedata/11160-2.dat new file mode 100644 index 0000000..8cb6c3c --- /dev/null +++ b/cavedata/11160-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1483564016;} \ No newline at end of file diff --git a/cavedata/11160-3.dat b/cavedata/11160-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11160-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11160-4.dat b/cavedata/11160-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11160-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11174-1.dat b/cavedata/11174-1.dat new file mode 100644 index 0000000..209d4f0 --- /dev/null +++ b/cavedata/11174-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1483644745;} \ No newline at end of file diff --git a/cavedata/11174-2.dat b/cavedata/11174-2.dat new file mode 100644 index 0000000..ce731b6 --- /dev/null +++ b/cavedata/11174-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1483645031;} \ No newline at end of file diff --git a/cavedata/11174-3.dat b/cavedata/11174-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11174-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11174-4.dat b/cavedata/11174-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11174-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11180-1.dat b/cavedata/11180-1.dat new file mode 100644 index 0000000..789616c --- /dev/null +++ b/cavedata/11180-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1486154011;} \ No newline at end of file diff --git a/cavedata/11180-2.dat b/cavedata/11180-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11180-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11180-3.dat b/cavedata/11180-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11180-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11180-4.dat b/cavedata/11180-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11180-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11188-1.dat b/cavedata/11188-1.dat new file mode 100644 index 0000000..fb06fee --- /dev/null +++ b/cavedata/11188-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1485004888;} \ No newline at end of file diff --git a/cavedata/11188-2.dat b/cavedata/11188-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11188-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11188-3.dat b/cavedata/11188-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11188-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11188-4.dat b/cavedata/11188-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11188-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11238-1.dat b/cavedata/11238-1.dat new file mode 100644 index 0000000..863b847 --- /dev/null +++ b/cavedata/11238-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1484746387;} \ No newline at end of file diff --git a/cavedata/11238-2.dat b/cavedata/11238-2.dat new file mode 100644 index 0000000..6e85281 --- /dev/null +++ b/cavedata/11238-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1484748102;} \ No newline at end of file diff --git a/cavedata/11238-3.dat b/cavedata/11238-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11238-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11238-4.dat b/cavedata/11238-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11238-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11240-1.dat b/cavedata/11240-1.dat new file mode 100644 index 0000000..2022973 --- /dev/null +++ b/cavedata/11240-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1484714338;} \ No newline at end of file diff --git a/cavedata/11240-2.dat b/cavedata/11240-2.dat new file mode 100644 index 0000000..d4cf008 --- /dev/null +++ b/cavedata/11240-2.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1484715218;} \ No newline at end of file diff --git a/cavedata/11240-3.dat b/cavedata/11240-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11240-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/11240-4.dat b/cavedata/11240-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/11240-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/777-1.dat b/cavedata/777-1.dat new file mode 100644 index 0000000..eab7a2d --- /dev/null +++ b/cavedata/777-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1448211269;} \ No newline at end of file diff --git a/cavedata/777-2.dat b/cavedata/777-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/777-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/777-3.dat b/cavedata/777-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/777-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/777-4.dat b/cavedata/777-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/777-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9079-1.dat b/cavedata/9079-1.dat new file mode 100644 index 0000000..6a10e2a --- /dev/null +++ b/cavedata/9079-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1437945540;} \ No newline at end of file diff --git a/cavedata/9079-2.dat b/cavedata/9079-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9079-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9079-3.dat b/cavedata/9079-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9079-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9079-4.dat b/cavedata/9079-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9079-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9080-1.dat b/cavedata/9080-1.dat new file mode 100644 index 0000000..4cf3200 --- /dev/null +++ b/cavedata/9080-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1438328598;} \ No newline at end of file diff --git a/cavedata/9080-2.dat b/cavedata/9080-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9080-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9080-3.dat b/cavedata/9080-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9080-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9080-4.dat b/cavedata/9080-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9080-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9081-1.dat b/cavedata/9081-1.dat new file mode 100644 index 0000000..dffab22 --- /dev/null +++ b/cavedata/9081-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1446479348;} \ No newline at end of file diff --git a/cavedata/9081-2.dat b/cavedata/9081-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9081-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9081-3.dat b/cavedata/9081-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9081-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9081-4.dat b/cavedata/9081-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9081-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9082-1.dat b/cavedata/9082-1.dat new file mode 100644 index 0000000..0f8f6cf --- /dev/null +++ b/cavedata/9082-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1445362222;} \ No newline at end of file diff --git a/cavedata/9082-2.dat b/cavedata/9082-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9082-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9082-3.dat b/cavedata/9082-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9082-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9082-4.dat b/cavedata/9082-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9082-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9086-1.dat b/cavedata/9086-1.dat new file mode 100644 index 0000000..9872acc --- /dev/null +++ b/cavedata/9086-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1440843372;} \ No newline at end of file diff --git a/cavedata/9086-2.dat b/cavedata/9086-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9086-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9086-3.dat b/cavedata/9086-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9086-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9086-4.dat b/cavedata/9086-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9086-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9087-1.dat b/cavedata/9087-1.dat new file mode 100644 index 0000000..97d0c31 --- /dev/null +++ b/cavedata/9087-1.dat @@ -0,0 +1 @@ +a:1:{s:6:"wander";i:1445806702;} \ No newline at end of file diff --git a/cavedata/9087-2.dat b/cavedata/9087-2.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9087-2.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9087-3.dat b/cavedata/9087-3.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9087-3.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/cavedata/9087-4.dat b/cavedata/9087-4.dat new file mode 100644 index 0000000..c856afc --- /dev/null +++ b/cavedata/9087-4.dat @@ -0,0 +1 @@ +a:0:{} \ No newline at end of file diff --git a/ch.php b/ch.php new file mode 100644 index 0000000..13aa540 --- /dev/null +++ b/ch.php @@ -0,0 +1,581 @@ +top.window.location='index.php'"; die(); } +include('config.php'); +include('functions.php'); + +mysql_query("UPDATE `online` SET `real_time` = ".time()." WHERE `id` = '".$user['id']."' LIMIT 1"); + +function tolink($buf) { + $x = explode(" ", $buf); + $newbuf = ''; + for($j = 0; $j < count($x); $j++) { + if(preg_match("/(http:\\/\\/)?([a-z_0-9-.]+\\.oldcombats+\\.org(([ \"'>\r\n\t])|(\\/([^ \"'>\r\n\t]*)?)))/", $x[$j], $ok)) { + $newbuf .= str_replace($ok[2],"[Внутреняя ссылка]", str_replace("http://", "", $x[$j]))." "; + } else { + $newbuf .= $x[$j]." "; + } + } + return $newbuf; +} + + +if(isset($_GET['online']) && $_GET['online'] != null) { + if($_GET['room'] && (int)$_GET['room'] < 500) { $user['room'] = (int)$_GET['room']; } + if($_GET['chview'] == 2) { + $data = mysql_query('SELECT `align`, `u`.`id`, `klan`, `action`, `level`, `login`, `u`.`battle` AS `in_battle`, `o`.`date`, `u`.`invis`, (SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = `u`.`id` LIMIT 1) AS `slp`, (SELECT `id` FROM `effects` WHERE (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14) AND `owner` = `u`.`id` LIMIT 1) AS `trv`, `deal` FROM `online` AS `o`, `users` AS `u` WHERE `o`.`id` = `u`.`id` AND (`o`.`date` >= '.(time()-90).' OR `u`.`in_tower` = 1) AND `u`.`id` IN (SELECT `friend` FROM `friends` WHERE `user` = "'.$user['id'].'" AND `friend` > 0) ORDER by `u`.`login`'); + $ttl = "Друзья онлайн (".mysql_num_rows($data).")"; + $ch1 = '_passive'; $ch2 = '_active'; $ch3 = '_passive'; $ch4 = '_passive'; $ch5 = '_passive'; + } elseif($_GET['chview'] == 3) { + $data = mysql_query('SELECT `align`, `u`.`id`, `klan`, `action`, `level`, `login`, `u`.`battle` AS `in_battle`, `o`.`date`, `u`.`invis`, (SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = `u`.`id` LIMIT 1) AS `slp`, (SELECT `id` FROM `effects` WHERE (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14) AND `owner` = `u`.`id` LIMIT 1) AS `trv`, `deal` FROM `online` AS `o`, `users` AS `u` WHERE `o`.`id` = `u`.`id` AND (`o`.`date` >= '.(time()-90).' OR `u`.`in_tower` = 1) AND ((`u`.`align` > 1 AND `u`.`align` < 2) OR `u`.`align` = 2.99) ORDER by `u`.`login`'); + $ttl = "Паладины онлайн (".mysql_num_rows($data).")"; + $ch1 = '_passive'; $ch2 = '_passive'; $ch3 = '_active'; $ch4 = '_passive'; $ch5 = '_passive'; + } elseif($_GET['chview'] == 4) { + $data = mysql_query('SELECT `align`, `u`.`id`, `klan`, `action`, `level`, `login`, `u`.`battle` AS `in_battle`, `o`.`date`, `u`.`invis`, (SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = `u`.`id` LIMIT 1) AS `slp`, (SELECT `id` FROM `effects` WHERE (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14) AND `owner` = `u`.`id` LIMIT 1) AS `trv`, `deal` FROM `online` AS `o`, `users` AS `u` WHERE `o`.`id` = `u`.`id` AND (`o`.`date` >= '.(time()-90).' OR `u`.`in_tower` = 1) AND (`u`.`deal` > 0 OR `u`.`align` = 2.99) ORDER by `u`.`login`'); + $ttl = "Алхимики онлайн (".mysql_num_rows($data).")"; + $ch1 = '_passive'; $ch2 = '_passive'; $ch3 = '_passive'; $ch4 = '_active'; $ch5 = '_passive'; + } elseif($_GET['chview'] == 5) { + $data = mysql_query('SELECT `align`, `u`.`id`, `klan`, `action`, `level`, `login`, `u`.`battle` AS `in_battle`, `o`.`date`, `u`.`invis`, (SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = `u`.`id` LIMIT 1) AS `slp`, (SELECT `id` FROM `effects` WHERE (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14) AND `owner` = `u`.`id` LIMIT 1) AS `trv`, `deal` FROM `online` AS `o`, `users` AS `u` WHERE `o`.`id` = `u`.`id` AND (`o`.`date` >= '.(time()-90).' OR `u`.`in_tower` = 1) AND `u`.`klan` = "'.$user['klan'].'" ORDER by `u`.`login`'); + $ttl = "Соклановцы онлайн (".mysql_num_rows($data).")"; + $ch1 = '_passive'; $ch2 = '_passive'; $ch3 = '_passive'; $ch4 = '_passive'; $ch5 = '_active'; + } elseif($user['caveleader'] > 0) { + $data = mysql_query('SELECT `align`, `u`.`id`, `klan`, `level`, `login`, `u`.`battle` AS `in_battle`, `o`.`date`, `u`.`invis`, (SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = `u`.`id` LIMIT 1) AS `slp`, (SELECT `id` FROM `effects` WHERE (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14) AND `owner` = `u`.`id` LIMIT 1) AS `trv`, `deal` FROM `online` AS `o`, `users` AS `u` WHERE `o`.`id` = `u`.`id` AND (`o`.`date` >= '.(time()-90).' OR `u`.`in_tower` = 1) AND `o`.`room` = "'.$user['room'].'" AND `u`.`caveleader` = "'.$user['caveleader'].'" ORDER by `u`.`login`'); + $ttl = "".$rooms[$user['room']]." (".mysql_num_rows($data).")"; + $ch1 = '_active'; $ch2 = '_passive'; $ch3 = '_passive'; $ch4 = '_passive'; $ch5 = '_passive'; + } elseif($user['room'] == 760) { + $forest = mysql_fetch_array(mysql_query('SELECT `id`, `room`, `time`, `user`, `data` FROM `forest` WHERE `user` = "'.$user['id'].'" LIMIT 1')); + $sp = mysql_query('SELECT `id`, `room`, `user` FROM `forest` WHERE `room` = "'.$forest['room'].'"'); + while($pl = mysql_fetch_array($sp)) { + $uss .= ', '; + $uss .= $pl['user']; + } + if($uss != '') { + $uss = ltrim($uss, ', '); + } + $data = mysql_query('SELECT `align`, `u`.`id`, `klan`, `action`, `level`, `login`, `u`.`battle` AS `in_battle`, `o`.`date`, `u`.`invis`, (SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = `u`.`id` LIMIT 1) AS `slp`, (SELECT `id` FROM `effects` WHERE (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14) AND `owner` = `u`.`id` LIMIT 1) AS `trv`, `deal` FROM `online` AS `o`, `users` AS `u` WHERE `o`.`id` = `u`.`id` AND (`o`.`date` >= '.(time()-90).' OR `u`.`in_tower` = 1) AND `u`.`id` IN ('.$uss.') ORDER by `u`.`login`'); + $ttl = "".$var_map[$forest['room']]." (".mysql_num_rows($data).")"; + $ch1 = '_active'; $ch2 = '_passive'; $ch3 = '_passive'; $ch4 = '_passive'; $ch5 = '_passive'; + } else { + $data = mysql_query('SELECT `align`, `u`.`id`, `klan`, `action`, `level`, `login`, `u`.`battle` AS `in_battle`, `o`.`date`, `u`.`invis`, (SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = `u`.`id` LIMIT 1) AS `slp`, (SELECT `id` FROM `effects` WHERE (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14) AND `owner` = `u`.`id` LIMIT 1) AS `trv`, `deal` FROM `online` AS `o`, `users` AS `u` WHERE `o`.`id` = `u`.`id` AND (`o`.`date` >= '.(time()-90).' OR `u`.`in_tower` = 1) AND `o`.`room` = "'.$user['room'].'" ORDER by `u`.`login`'); + $ttl = "".$rooms[$user['room']]." (".mysql_num_rows($data).")"; + $ch1 = '_active'; $ch2 = '_passive'; $ch3 = '_passive'; $ch4 = '_passive'; $ch5 = '_passive'; + } + + +?> + + + + + + +<?=$rooms[$user['room']],' (',mysql_num_rows($data)?>) + + + + +
    + + +
    + +
    + + + + + + + + + + + + +
    +



    + + +'; + } else { + echo ''; + } +} +?> +'.$ttl.'
    '; ?> +
    +
    + +
    + + +top.location.href='index.php';"); + } + $cha = file("tmp/chat.txt"); + header('Content-Type: text/html; charset=utf-8'); + echo ""; + mysql_query("UPDATE `online` SET `date` = ".time()." WHERE `id` = {$user['id']} LIMIT 1"); + die(); + } + else + { + if (strpos($_GET['text'], "private" ) !== FALSE && $user['level'] < 1) { + preg_match_all("/\[(.*)\]/U", $_GET['text'], $matches); + for ($ii=0;$ii1 AND `align`<2)) AND `login` = '".trim($matches[1][$ii])."' LIMIT 1 ;")); + if (!$dde['id']) { + exit(); + } + } + } + if (@trim($_GET['text']) != null) { + $rr = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = {$user['id']};")); + + + # Ограничения на ввод символов в чат! + if (!isset($rr['id'])) { + $_GET['text'] = substr($_GET['text'], 0, 1024); // Ограничние на символы в чате! + $_GET['text'] = str_replace('<', '<', $_GET['text']); + $_GET['text'] = str_replace(']:[', '] : [', $_GET['text']); + $_GET['text'] = str_replace('>', '>', $_GET['text']); + + $_GET['text'] = preg_replace('/private \[klan-([a-zA-Z]*)\]/', '', $_GET['text']); + + if ($user['klan'] == '') { + $_GET['text'] = str_replace('private [klan]','',$_GET['text']); + $_GET['text'] = str_replace('private [klan]','private [klan-'.$user['klan'].']',$_GET['text']); + } else { + $_GET['text'] = str_replace('private [klan]','private [klan-'.$user['klan'].']',$_GET['text']); + $_GET['text'] = preg_replace('/private \[klan-([1-9])\]/','private [klan-'.$user['klan'].']',$_GET['text']); + $pos = strpos($_GET['text'],"[klan-{$user['klan']}" )+strlen($user['klan'])+7; + } + + if($_GET['chtype'] == 6 && stristr($_GET['text'], 'private') === FALSE) { + $_GET['text'] = 'private [help] '.$_GET['text']; + } elseif($_GET['chtype'] == 8 && stristr($_GET['text'], 'private') === FALSE) { + $_GET['text'] = 'private [trade] '.$_GET['text']; + } elseif($_GET['chtype'] == 3 && $user['klan'] != '') { + $_GET['text'] = 'private [klan-'.$user['klan'].'] '.$_GET['text']; + } elseif($_GET['chtype'] == 4 && (((int)$user['align'] == 1) || $user['admin'] == 1)) { + $_GET['text'] = 'private [pal] '.$_GET['text']; + } + + + if((int)$user['align'] != 1 && $user['admin'] != 1) { + $_GET['text'] = str_replace('private [pal]', '', $_GET['text']); + } + + if(strstr($_GET['text'], "/g_nologin") && (in_array($user['align'], $var_security['g_nologin']['align']) || in_array($user['id'], $var_security['g_nologin']['id']))){ + $temp = str_replace('/g_nologin', '', $_GET['text']); + AddChatSystem(''.$temp.''); + $action = 1; + unset($temp); + } + + if(strstr($_GET['text'], "/g_login") && (in_array($user['align'], $var_security['g_login']['align']) || in_array($user['id'], $var_security['g_login']['id']))) { + $temp = str_replace('/g_login', '', $_GET['text']); + AddChatSystem('['.$user['login'].'] '.$temp.''); + $action = 1; + unset($temp); + } + + #Надо запомнить и дать паладинам возможность затыкать из чата. +/* + if(strstr($_GET['text'], "/afk")) { + $action = 1; + $tmp = str_replace('/afk', '', $_GET['text']); + mysql_query("UPDATE `users` SET `action` = 'afk<>:<>{$tmp}' WHERE `id` = '{$user['id']}' LIMIT 1"); + } elseif(strstr($_GET['text'], "/dnd")) { + $action = 1; + $tmp = str_replace('/dnd', '', $_GET['text']); + mysql_query("UPDATE `users` SET `action` = 'dnd<>:<>{$tmp}' WHERE `id` = '{$user['id']}' LIMIT 1"); + } elseif(strstr($_GET['text'], "/sell")) { + $action = 1; + $tmp = str_replace('/sell', '', $_GET['text']); + mysql_query("UPDATE `users` SET `action` = 'sell<>:<>{$tmp}' WHERE `id` = '{$user['id']}' LIMIT 1"); + } elseif(strstr($_GET['text'], "/buy")) { + $action = 1; + $tmp = str_replace('/buy', '', $_GET['text']); + mysql_query("UPDATE `users` SET `action` = 'buy<>:<>{$tmp}' WHERE `id` = '{$user['id']}' LIMIT 1"); + } elseif(strstr($_GET['text'], "/off")) { + $action = 1; + mysql_query("UPDATE `users` SET `action` = '' WHERE `id` = '{$user['id']}' LIMIT 1"); + } + */ + unset($tmp); + # Упростил тот Адъ и Израиль до одной нормальной строчки, которая вырежет все ссылки. + if(!preg_match("/capitalcity.old-dark.ru/", $_GET['text']) || !preg_match("/imgur.com/", $_GET['text'])) { + $_GET['text'] = preg_replace("@((https?://)?([-\w]+\.[-\w\.]+)+\w(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)*)@",'<РАП/РВС>',$_GET['text']); + } + + $smiles = array("/:flowers:/","/:inv:/","/:hug:/","/:horse:/","/:str:/","/:susel:/","/:smile:/","/:laugh:/","/:fingal:/","/:eek:/","/:smoke:/","/:hi:/","/:bye:/","/:king:/","/:king2:/","/:boks2:/","/:boks:/","/:gent:/","/:lady:/","/:tongue:/","/:smil:/","/:rotate:/","/:ponder:/","/:bow:/","/:angel:/","/:angel2:/","/:hello:/","/:dont:/","/:idea:/", "/:mol:/", "/:super:/","/:beer:/","/:drink:/","/:baby:/","/:tongue2:/", "/:sword:/", "/:agree:/","/:loveya:/","/:kiss:/","/:kiss2:/", "/:kiss3:/", "/:kiss4:/","/:rose:/","/:love:/","/:love2:/", "/:confused:/", "/:yes:/","/:no:/","/:shuffle:/","/:nono:/","/:maniac:/","/:privet:/","/:ok:/","/:ninja:/","/:pif:/", "/:smash:/","/:alien:/","/:pirate:/","/:gun:/","/:trup:/","/:mdr:/", "/:sneeze:/","/:mad:/","/:friday:/","/:cry:/","/:grust:/","/:rupor:/","/:fie:/", "/:nnn:/","/:row:/","/:red:/","/:lick:/","/:help:/","/:wink:/","/:jeer:/","/:tease:/","/:kruger:/","/:girl:/","/:Knight1:/","/:rev:/","/:smile100:/","/:smile118:/","/:smile149:/","/:smile166:/","/:smile237:/","/:smile245:/","/:smile28:/","/:smile289:/","/:smile314:/","/:smile36:/","/:smile39:/","/:smile44:/","/:smile70:/","/:smile87:/","/:smile434:/","/:vamp:/"); + $smiles2 = array("","","","","","","","","","","","","","","","","","","","","","","","","","","","","", "", "","","","","", "", "","","","", "", "","","","", "", "","","","","","","","","", "","","","","","", "","","","","","","", "","","","","","","","","","","","","","","","","","","","","","","","","","","",""); + + preg_match_all("/\[(.*)\]/U", $_GET['text'], $matches); + for($i = 0; $i < count($matches[1]); $i++) { + $prs = mysql_fetch_array(mysql_query('SELECT `id`, `auto_text`, `login` FROM `users` WHERE `login` = "'.mysql_real_escape_string($matches[1][$i]).'" LIMIT 1')); + if(isset($prs['id']) && $prs['auto_text'] == 1 && $user['login'] != $prs['login']) { + $txt = mysql_fetch_array(mysql_query('SELECT `text` FROM `auto_text` WHERE `owner` = "'.$prs['id'].'" LIMIT 1')); + $_GET['text'] = 'private ['.$user['login'].'] Атоответчик ('.$prs['login'].'): '.$txt['text']; + } + #$_GET['text'] = 'private ['.$user['login'].'] '.trim($matches[1][$i]); + } + + $prs = mysql_fetch_array(mysql_query('SELECT `id`, `auto_text`, `login` FROM `users` WHERE `login` = "'.mysql_real_escape_string($math[2]).'" LIMIT 1')); + if(isset($prs['id']) && $prs['auto_text'] == 1 && $user['login'] != $prs['login']) { + $txt = mysql_fetch_array(mysql_query('SELECT `text` FROM `auto_text` WHERE `owner` = "'.$prs['id'].'" LIMIT 1')); + $_GET['text'] = 'private ['.$user['login'].'] Атоответчик ('.$prs['login'].'): '.$txt['text']; + #addchp('Автоответчик ('.$prs['login'].'): '.$txt['text'], '{[]}'.$user['login'].'{[]}'); + } + + $_GET['text'] = preg_replace($smiles, $smiles2, $_GET['text'], 3); + $_GET['text'] = tolink($_GET['text']); + + if($user['invis'] == 1) { + $tme = mysql_fetch_row(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '$user[id]' AND `type` = '1022'")); + $user['login'] = 'невидимка '.substr($tme[0], strlen($tme[0])-4).''; + } + + # Понять бы какого чёрта условия два… Инс. + if($action != 1) { + $file = 'tmp/chat.txt'; + if (filesize("tmp/chat.txt")>100*1024) { + $line = "\r\n:[".time ()."]:[{$user['login']}]:[".($_GET['text'])."]:[".$user['room']."]\r\n"; + // Пишем содержимое в файл, + // используя флаг FILE_APPEND flag для дописывания содержимого в конец файла + // и флаг LOCK_EX для предотвращения записи данного файла кем-нибудь другим в данное время + // а то заебали устаревшие функции использовать. Инс. + file_put_contents($file, $line, FILE_APPEND | LOCK_EX); + echo"1"; + } else { + $line = ":[".time ()."]:[{$user['login']}]:[".($_GET['text'])."]:[".$user['room']."]\r\n"; + file_put_contents($file, $line, FILE_APPEND | LOCK_EX); + echo"2"; + } + } + + if (strpos($_GET['text'],"to [Комментатор]" ) !== FALSE) { + if (strpos($_GET['text'],"to [Комментатор] анекдот" ) !== FALSE) { + $commas = array('Артника может обидеть каждый, но не каждый успеет извиниться.', + '"Сойдет за близы" - сказал Илья Муромец завязывая вокруг шеи змея Горыныча.', + 'Часы показывали 12:00, когда бойцы Армады и Орден Паладинов бросили вызов друг другу. 12:01 Internal Server Error.', + 'В конкурсе по женской логике победил генератор ударов.', + 'Хороший, плохой, главный тот, у кого сусел!', + 'Наши комментаторы, самые <вырезано цензурой> комментаторские комментаторы в мире!' + ); + addchp($commas[rand(0,count($commas)-1)],"Комментатор"); + } else { + $commas = array('Так слово за слова и получил Иванушка инвалидность...', + 'Шалость удалась! ©Мерлин', + 'Брад, даи крон!', + 'Это у Вас продается славянский шкаф?', + 'Я твой дом, труба шатал!', + 'Аффтар выпей йаду!', + 'Аффтар пешы ысчо!', + 'Аццкий Сотона!', + 'В Бабруйск, жывотное!', + 'В газенваген!', + 'Гламурненько!', + 'Фууууу, Фуууу... Фундаментально!', + 'Жизнинна! Гони еще волну!', + 'Пеши исчё!', + 'Кактуззз жжот!', + 'Знала бы твоя мама, о твоих проказах. Высекла тебя бы!', + 'Киса куку! Ты с какова горада?', + 'Ниасилил патамушта вайнаимир', + 'Учи албанский!', + 'Убей сибя ап стенку', + 'Чмоки, в обе щеки, пративный!', + 'Держи курс на систему Медузы!', + 'Это тигрокрыс с планеты Пенелопа. Он питается дикими быками', + 'Грубиян и невоспитанный тип!', + 'До свидания, мы еще увидимся. Запомните, меня зовут Весельчак У!', + 'нисмишно', + 'Ты такой, клёвый!', + 'Писать, читать умеешь? Будешь работать паладином. Подойди к Верховному, скажи Я разрешил!', + 'Погнали Ваших городские!', + 'Кто не спрятался, я не виноват!', + 'Если чё, заходи, не стисняйся.', + 'Трах-тибидах-тибидах! Теперь ты медуза!', + 'Скройся с моих глаз!', + 'Ой, всё!', + 'В угол поставлю!', + 'Альфа Центавра знаешь? Тамошние мы...', + 'Жил был у бабушки серенький козлик? Это не про вас песенка?', + 'Ыыыы, сЫроежкин, жги еще!', + 'Танцуй пока молодой, мальчик!', + 'За Вами уже выехали. Сухари собирайте!', + 'Сам я не местный, Поможи чем можешь! Рупь дай, или два!', + 'Я пью и гуляю на свои!', + 'Пивная, еще парочку!', + 'Поручик молчать!', + 'Спокойно Маша, я Дубровский!', + 'Юстас Аллексу. Примите радиограмму!', + 'Профессор лопух, лопух!', + 'Окропим снег красненьким?', + 'На святое дело идем, товарища выручать!', + 'Как здорово, что все мы здесь, сегодня собрались!', + 'Пирожки, пирожки, кому пирожки? С сыром, с перцем и собачьим сердцем!', + 'Ваши трехдюймовые глазки путем меткого попадания зажгли огнедышаший пожар в моем сердце. Словом, бац-бац! И в точку!', + 'Ты что делаешь? Грабитель! Разбойник! Своих грабишь? Гадский папа!', + 'Шо ты хапаешь, шо ты хапаешь! Не, я такой фасон не ношу.', + 'стой! Снимай сапоги!', + 'И шо я в тебя такой влюбленный?', + 'Я же атаман идейный. И все мои паладины как один, стоят за свободную личность.', + 'Гапуся, тридцать пять лет тебе говорю: не спеши!!!', + 'А это не вы ехали через Янковку на арбе с сеном и заснули, а у вас тем временем волов увели?', + 'Это ещё что за статуй?', + 'Вашу ручку, битте-дритте!', + 'Сыграй что-нить такое, чтобы душа развернулась, а потом обратно завернулась!', + 'А вы гопака танцуете?', + 'Вы и только Вы напоминаете мне мою любимую, мою чернявую, мою безотказную… гаубицу!', + 'Будешь так продолжать, превращу тебя.... в жабу!', + 'Что поговорить больше не с кем?', + 'Отдыхай!', + 'Вас много, комментатор - один!', + 'А станете наезжать, не буду комментировать ваши бои!', + 'Отвали!', + 'Тренируйся на кошечках!', + 'Анекдот: - Товарищ водитель, почему ваша пассажирка не пристегнута ремнями безопасности? - Так это же моя тёща!', + 'Сам такой!', + 'Продам кредиты (в приват)', + 'мдя...', + 'Лучше в бою проявляй энтузиазм.', + 'Кто тут комментатор? Ты или я???', + 'Надо же...', + 'Сам дурак!', + 'Наши комментаторы, самые <вырезано цензурой> комментаторские комментаторы в мире!', + '(судорожно оглядываясь) КТО ЗДЕСЬ???', + 'Не болтайте ерундой', + 'Все! Теперь ты мне должен!', + 'р-р-р...', + 'А в бою это повторить сможешь?', + 'Я долго думал, что такое 90х60х90. Оказалось, что это 486 000.', + 'Может тебе кредитов дать, чтоб отстал?', + 'Твой интеллект поражает <вырезано цензурой>', + 'Вот сижу тут и разбавляю свою мудрость вашей глупостью.', + 'Ты с кем посоревноваться решил?', + 'Ждите ответа. Ждите ответа. Ждите ответа. Ждите ответа. Ждите, короче...', + 'Я комментатор! А ты кто???', + 'Щас я все это запишу, а потом передам кляузу паладинам...', + 'я занят!!!'); + addchp($commas[rand(0,count($commas)-1)],"Комментатор"); + } + } + + + } + die (""); + + } + } +?> + + \ No newline at end of file diff --git a/change_stuff.php b/change_stuff.php new file mode 100644 index 0000000..7727037 --- /dev/null +++ b/change_stuff.php @@ -0,0 +1,61 @@ + diff --git a/chat.html b/chat.html new file mode 100644 index 0000000..f21fb98 --- /dev/null +++ b/chat.html @@ -0,0 +1,14 @@ + + + + + + +
    +
    +
    +
    +
    +
    + + \ No newline at end of file diff --git a/chats.php b/chats.php new file mode 100644 index 0000000..7363d6b --- /dev/null +++ b/chats.php @@ -0,0 +1,47 @@ +Силы Хаоса вызывают бойцов клуба 7 уровней на поединок! Начало боя через 3 минуты, в разделе хаотических поединков.'); +} elseif($_GET['id'] == 2) { + sys_msgs('Внимание! Битва на Арене Ангелов началась! Спешите принять участие.'); +} elseif($_GET['id'] == 3) { + sys_msgs('Внимание! До начала битвы на Арене Ангелов остался 1 час.'); +} elseif($_GET['id'] == 4) { + //sys_msgs('Внимание! Приглашаем всех желающих на турнир в Башню Смерти! Турнир начинается через 15 минут.'); +} elseif($_GET['id'] == 5) { + //sys_msgs('Внимание! Турнир Башни Смерти откладывается на час.'); +} elseif($_GET['id'] == 6) { + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `room` FROM `users` WHERE `id` = "'.(int)$_GET['user'].'" LIMIT 1')); + if(isset($user['id'])) { + addch('Внимание! Ваш бой не может начаться по причине Группа не набрана', $user['login'], $user['room']); + } +} elseif($_GET['id'] == 7) { + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `room` FROM `users` WHERE `id` = "'.(int)$_GET['user'].'" LIMIT 1')); + if(isset($user['id'])) { + addch('Внимание! Ваш бой начался.', $user['login'], $user['room']); + } +} else { + die(); +} \ No newline at end of file diff --git a/checkpoint.php b/checkpoint.php new file mode 100644 index 0000000..df8ff6a --- /dev/null +++ b/checkpoint.php @@ -0,0 +1,24 @@ + array(8, 16, 24, 32), 2 => array(15, 30, 45, 60), 3 => array(25, 50, 75, 100), 4 => array(40, 80, 120, 160)); + +if(isset($_POST['act']) && $_POST['act'] == 'pay') { + if(isset($user['id']) && isset($hostel['id'])) { + echo '
    '; + echo 'Предварительная оплата'; + echo '

    '; + echo 'Аренда оплачена по: '.date('h:i d.m.y', $hostel['time']).' ('.timeOut($hostel['time']-time()).')

    '; + + echo ' + + + + +
    Выберите срок предоплаты.
    Сутки7142128
    Сумма'.$base[$hostel['type']][0].''.$base[$hostel['type']][1].''.$base[$hostel['type']][2].''.$base[$hostel['type']][3].'
    +
    Внимание! При расторжении договора или смене тарифа, внесенная плата не возвращается
    '; + } +} \ No newline at end of file diff --git a/church.php b/church.php new file mode 100644 index 0000000..d8b90e8 --- /dev/null +++ b/church.php @@ -0,0 +1,424 @@ + + + + + <? ($getResource ? 'Храм Древних - ' . $getResource['name'] : 'Ошибка ресурса' ) ?> + + + + + + + + + + ' . + '
    ' . ($ratingCount > 0 ? 'Топ ' . $ratingCount . ', ' : '') . 'Материал: ' . $getResource['name'] . '
    ' . $i++ . '' . nick2($row['uid'], true) . '' . $row['val'] . ' шт.
     
    ' . nick2($user['id'], true) . '' . intval(mysql_result(mysql_query("SELECT SUM(`val`) as `val` FROM `church_logs` WHERE `key`='" . $getResource['id'] . "' AND `ch`='" . $thisChurch . "' AND `uid`='" . $user['id'] . "' GROUP BY `uid` ORDER BY SUM(`val`) DESC LIMIT 1;"), 0)) . ' шт.
    Нет данных
    '; + } else { + echo'
    Ошибка ресурса
    '; + } + echo'' . + ''; + exit; +} +?> + + + + + + + + + + + + + + + + + +
    + + +

    Скоро тут все будет....

    '; + break; + case'level11': + $Deposit = ''; + if($_GET['wid']){ + $getResource = mysql_fetch_assoc(mysql_query("SELECT * FROM `inventory` WHERE `id` = '" . intval($_GET['wid']) . "' AND `owner` = '{$_SESSION['uid']}' AND (type=80 or type=81 or type=82 or type=83 or type=84 or type=85 or type=86 or type=87 or type=89) AND `setsale` = '0'")); + if($getResource){ + $userData = array(); + // Выгружаем нащи данные + $getChUser = mysql_fetch_assoc(mysql_query("SELECT * FROM `church_users` WHERE `id` = '{$_SESSION['uid']}'")); + if($getChUser){ + $userData = unserialize($getChUser['data']); + } + + // Обновляем количество ресов в БД + $resChurch[$getResource['prototype']]['count'] += $getResource['koll']; + $userData[$getResource['prototype']] += $getResource['koll']; + mysql_query("REPLACE INTO `church_users` (`id`, `data`) VALUES ('{$_SESSION['uid']}', '" . serialize($userData) . "');"); + mysql_query("UPDATE `church_configs` SET `data` = '" . serialize($resChurch) . "' WHERE `id`='" . $thisChurch . "'"); + + // Temp Data + $user['reputation'] += round($getResource['koll']*$getResource['repcost'], 2); + + //Обнавляем нашу репу + mysql_query("UPDATE `users` SET `reputation`=`reputation`+'" . round($getResource['koll']*$getResource['repcost'], 2) . "',`doblest`=`doblest`+'" . round($getResource['koll']*$getResource['repcost'], 2) . "' WHERE `id`='{$_SESSION['uid']}'"); + + // Удаляем ресурсы + mysql_query("DELETE FROM `inventory` WHERE `id` = '" . $getResource['id'] . "'"); + + // Пишем логи + mysql_query("INSERT INTO `church_logs` (`ch`, `uid`, `key`, `val`) VALUES ('" . $thisChurch . "', '{$_SESSION['uid']}', '{$getResource['prototype']}', '{$getResource['koll']}');"); + $Deposit = 'Вы пожертвовали на внутреннюю отделку: ' . $getResource['name'] . ' x' . $getResource['koll'] . '
    И получили ' . round($getResource['koll']*$getResource['repcost'], 2) . ' репутации.
    '; + } + } + + $getResources = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$_SESSION['uid']}' AND (type=80 or type=81 or type=82 or type=83 or type=84 or type=85 or type=86 or type=87 or type=89) AND `setsale` = 0 ORDER by `name` ASC; "); + $resources = 'К сожалению у Вас нет нужных ресурсов...'; + if (mysql_num_rows($getResources) > 0) { + $resources = ''; + while($row = mysql_fetch_array($getResources)) { + $resources .= 'Отдать ' . $row['name'] . ' x' . $row['koll'] . ' алтарю.
    '; + } + } + echo'
    + + +
    + + + + + + + + + + + +
    +
    Да пребудет с тобой сила, ' . $user['login'] . ', репутация: ' . $user['reputation'] . '
    +
    +
    ' . $Deposit . $resources . ' +
    '; + if(isset($_GET['step'])){ + echo' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     
         
     
         
     
         
     
      
    '; + } else { + echo' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     
         
     
         
     
         
     
      
    '; + } + echo'
    '; + + break; + default: + echo'
    + + +
    + + + + +
    +
    + + + + +
    +
    '; + break; + } +/* +echo serialize( + array( + 401 => array('count' => 0), // Руда + 402 => array('count' => 0), // Песок + 403 => array('count' => 0), // Гранит + 404 => array('count' => 0), // Воск + 405 => array('count' => 0), // Глина + 406 => array('count' => 0), // Стенной камень + 407 => array('count' => 0), // Кусок настенного рисунка + 408 => array('count' => 0), // Камень Алтаря + 409 => array('count' => 0), // Алмаз + 410 => array('count' => 0), // Изумруд + 411 => array('count' => 0), // Серебро + 412 => array('count' => 0), // Золото + 501 => array('count' => 0), // Мел + 502 => array('count' => 0), // Горсть соли + 503 => array('count' => 0), // Горный хрусталь + 504 => array('count' => 0), // Бирюза + 505 => array('count' => 0), // Опал + 506 => array('count' => 0), // Булыжник + 507 => array('count' => 0), // Камень Лабиринта + 508 => array('count' => 0), // Гранат + 509 => array('count' => 0), // Янтарь + 510 => array('count' => 0), // Сапфир + 511 => array('count' => 0), // Малахит + 512 => array('count' => 0), // Жемчуг + ) +); +*/ +?> + \ No newline at end of file diff --git a/city.php b/city.php new file mode 100644 index 0000000..46fcab1 --- /dev/null +++ b/city.php @@ -0,0 +1,1167 @@ + 0 && $ch_raw["status"] < 5) { header('location: c_haos_in.php'); die(); } + +$dig_raw = mysql_fetch_array(mysql_query("SELECT `id`, `finish_dig`, `finish_guard` FROM `digger` WHERE `id` = '{$user['id']}' LIMIT 1")); +if($dig_raw["finish_dig"] > $tm || $dig_raw["finish_guard"] > $tm) { header('location: wall_build.php'); die(); } + +header("Cache-Control: no-cache"); + +$d = mysql_fetch_array(mysql_query("SELECT SUM(`massa`) AS `mass` FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `setsale` = 0")); +if($d['mass'] > get_meshok() && $_GET['got']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['got'] = 0; +} + +$entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); +if(isset($entangle['id']) > 0 && $_GET['got']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['got'] = 0; +} + +$eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); +if(isset($eff['id']) && $_GET['got']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['got'] = 0; +} + +if($d['mass'] > get_meshok() && $_GET['strah']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['strah'] = 0; +} + +$entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); +if(isset($entangle['id']) > 0 && $_GET['strah']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['strah'] = 0; +} + +$eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); +if(isset($eff['id']) && $_GET['strah']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['strah'] = 0; +} + +if($_GET['strah']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '21',`online`.`room` = '21' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + echo mysql_error(); +?> + + + + + + + + + +function cityg() { location.href = 'city.php'; } setTimeout('cityg()', 5000);



    Переходим на Страшилкину Улицу...
    "); +} + +if($d['mass'] > get_meshok() && $_GET['cp']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['cp'] =0; + } + $entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); + if(isset($entangle['id']) && $_GET['cp']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['cp'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); + if(isset($eff['id']) && $_GET['cp']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['cp'] =0; + } + + + if ($_GET['cp']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '20',`online`.`room` = '20' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + + + + + + + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 5000); + +



    + Переходим на Центральную площадь... +
    + "); + } + + if($d['mass'] > get_meshok() && $_GET['bps']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['bps'] = 0; + } + $entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); + if(isset($entangle['id']) && $_GET['bps']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['bps'] = 0; + } + $eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); + if(isset($eff['id']) && $_GET['bps']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['bps'] = 0; + } + + + + if ($_GET['bps']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '26',`online`.`room` = '26' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + + + + + + + + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 5000); + +



    + Переходим на Большую Парковую улицу... +
    + "); + } + + // Ристалище + if($d['mass'] > get_meshok() && $_GET['zamk']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['zamk'] = 0; + } + $entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); + if(isset($entangle['id']) && $_GET['zamk']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['zamk'] = 0; + } + $eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); + if(isset($eff['id']) && $_GET['zamk']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['zamk'] = 0; + } + + + + if ($_GET['zamk']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2601',`online`.`room` = '2601' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + + + + + + + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 5000); + +



    + Переходим на Замковую площадь... +
    + "); + } + + // Ристалище + if($d['mass'] > get_meshok() && $_GET['zaliv']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['zaliv'] = 0; + } + $entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); + if(isset($entangle['id']) && $_GET['zaliv']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['zaliv'] = 0; + } + $eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); + if(isset($eff['id']) && $_GET['zaliv']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['zaliv'] = 0; + } + + + + if ($_GET['zaliv']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2111',`online`.`room` = '2111' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + + + + + + + + + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 5000); + +



    + Переходим на Ристалище... +
    + "); + } + + //Парковая Улица + if($d['mass'] > get_meshok() && $_GET['ps']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['ps'] =0; + } + $entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); + if(isset($entangle['id']) && $_GET['ps']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['ps'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); + if(isset($eff['id']) && $_GET['ps']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['ps'] =0; + } + + + + if ($_GET['ps']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '51',`online`.`room` = '51' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + + + ?> + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 5000); + +



    + Переходим на Парковую улицу... +
    + "); + } + + //Торговая улица + if($d['mass'] > get_meshok() && $_GET['torg']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['torg'] =0; + } + $entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); + if(isset($entangle['id']) && $_GET['torg']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['torg'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); + if(isset($eff['id']) && $_GET['torg']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['torg'] =0; + } + + + + if ($_GET['torg']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2702',`online`.`room` = '2702' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + + + + ?> + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 5000); + +



    + Переходим на Торговую улицу... +
    + "); + } + + //Торговая улица + if($d['mass'] > get_meshok() && $_GET['abog']) { + echo "
    У вас переполнен рюкзак, вы не можете передвигаться...
    "; + $_GET['abog'] =0; + } + $entangle = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND `type` = 10 LIMIT 1")); + if(isset($entangle['id']) && $_GET['abog']) { + echo "
    Вы парализованы и не можете передвигаться...
    "; + $_GET['abog'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); + if(isset($eff['id']) && $_GET['abog']) { + echo "
    У вас тяжелая травма, вы не можете передвигаться...
    "; + $_GET['abog'] =0; + } + + + + if ($_GET['abog']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2655',`online`.`room` = '2655' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + + + + ?> + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 5000); + +



    + Переходим на Арену Богов... +
    + "); + } + + if ($user['room']==20) { + // CP + // BK + if ($_GET['got'] && $_GET['level1']) { + //if ($user['level'] > 0) { $room = 8; } else { $room = 1; } + //mysql_query("UPDATE `users`,`online` SET `users`.`room` = '{$room}',`online`.`room` = '{$room}' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: main.php?setch=1'); + die(); + } + // Stralka strah + if ($_GET['got'] && $_GET['level7']) { + header('location: city.php?strah=1'); + } + if ($_GET['got'] && $_GET['level8']) { + header('location: city.php?bps=1'); + } + if ($_GET['got'] && $_GET['level222']) { + header('location: city.php?torg=1'); + } + // shop + if ($_GET['got'] && $_GET['level17']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '50',`online`.`room` = '50' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: ashop.php'); + } + + // shop + if ($_GET['got'] && $_GET['level2']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '22',`online`.`room` = '22' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + if($user['first'] == 6){ + mysql_query("update `users` set `kwest_shop_see`=`kwest_shop_see`+'1' where `id`='".$user['id']."'"); + } + header('location: shop.php'); + } + // repait + if ($_GET['got'] && $_GET['level4']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '23',`online`.`room` = '23' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: repair.php'); + } + if ($_GET['got'] && $_GET['level10']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '35',`online`.`room` = '35' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: krshop.php'); + } + + + if ($_GET['got'] && $_GET['level13']) { + // if($user['login'] == 'SaulDin'|| $user['login'] == 'Дед Мазай'|| $user['login'] == 'The Kite Runner'){ + // mysql_query("UPDATE `users`,`online` SET `users`.`room` = '662',`online`.`room` = '662' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: quest_room.php'); + /* + if($user['hp'] >= $user['maxhp']){ + print ""; + }else { + mysql_query("UPDATE `users` SET `hp` = `maxhp` WHERE `id` = '".$user['id']."' LIMIT 1"); + print ""; + header('location: city.php'); + }*/ + //}//else{ + // print ""; + // } + +} + + + + if ($_GET['got'] && $_GET['level9']) { + if ($user['align'] == 4) { + print ""; + } + elseif ($user['level'] < 2) { + print ""; + } + else { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '24',`online`.`room` = '24' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: elka.php'); + } + } + + + if ($_GET['got'] && $_GET['level6']) + { + if ($user['level'] < 1) { print ""; } + else + { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '27',`online`.`room` = '27' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: post.php'); + } + } + + if ($_GET['got'] && $_GET['level3']) { + if ($user['align'] == 4) { + print ""; + } + elseif ($user['level'] < 1) { + print ""; + } + else { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '25',`online`.`room` = '25' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: comission.php'); + } + } + } + elseif($user['room']==21) { + // Strashilka + // strelka cp + if ($_GET['got'] && $_GET['level4']) { + header('location: city.php?cp=1'); + } + // strelka zaliv + if ($_GET['got'] && $_GET['level3']) { + header('location: city.php?zaliv=1'); + } + if ($_GET['got'] && $_GET['level13']) { + if ($user['align'] == 4) { + print ""; + } + else + { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '34',`online`.`room` = '34' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: fshop.php'); + } + } + + + if ($_GET['got'] && $_GET['level5']) { + if ($user['align'] == 4) { + print ""; + } + else { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '29',`online`.`room` = '29' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + if($user['first'] == 5){ + mysql_query("update `users` set `kwest_bank_see`=`kwest_bank_see`+'1' where `id`='".$user['id']."'"); + } + header('location: bank.php'); + } + } + if ($_GET['got'] && $_GET['level16']) { + //if($user['login'] == 'SaulDin' || $user['login'] == 'Дед мазай'){ + $effs = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$user['id']}' AND `type` = '21' LIMIT 1")); + if(isset($effs['id'])) + print ""; + else + { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '31',`online`.`room` = '31' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: tower.php'); + } + //}else{ + print ""; + // } + } + + + + if($_GET['got'] && $_GET['level14']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '30',`online`.`room` = '30' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: klanedit.php'); + } + + + if ($_GET['got'] && $_GET['level650']) { +print ""; + // mysql_query("UPDATE `users`,`online` SET `users`.`room` = '650',`online`.`room` = '650' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + // header('location: ul_clans.php'); + } + } + +elseif($user['room']==2111) { + // залив + // strelka cp + if ($_GET['got'] && $_GET['level1']) { + header('location: city.php?strah=1'); + } + if ($_GET['got'] && $_GET['level2']) { + header('location: city.php?haos=1'); + } + if ($_GET['got'] && $_GET['level3']) { + print ""; + $_SESSION['usebochka']='1'; + +} + if($_GET['got'] && $_GET['level203']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '1055',`online`.`room` = '1055' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: group_arena.php'); + } +if ($_GET['got'] && $_GET['room666']) { + header('location: jail.php'); + } + if($_GET['got'] && $_GET['level1000']) { + #mysql_query("UPDATE `users`,`online` SET `users`.`room` = '1000',`online`.`room` = '1000' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + #header('location: /solib/enterbezdna.php'); + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '620',`online`.`room` = '620' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: enter_cave.php'); + + } +if ($_GET['got'] && $_GET['room666']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '666',`online`.`room` = '666' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: jail.php'); +} + +if ($_GET['got'] && $_GET['level5']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '203',`online`.`room` = '203' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: church.php'); +} + + +} +elseif($user['room']==2601) { + // zamkovaya + // strelka bps + if ($_GET['level4']) { + header('location: city.php?bps=1'); + } + if ($_GET['level55']) { + header('location: city.php?abog=1'); + } + if ($_GET['got'] && $_GET['level21']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '87',`online`.`room` = '87' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: dshop.php'); + } + if ($_GET['got'] && $_GET['level10']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '35',`online`.`room` = '35' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: krshop.php'); + } + if ($_GET['got'] && $_GET['level44']) { + // if($user['login'] == 'SaulDin' || $user['login'] == 'Дед мазай'){ + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '203',`online`.`room` = '203' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: church.php'); + // }else{ + // print ""; + //} + } + if ($_GET['got'] && $_GET['level1']) { + if($user['login'] == 'SaulDin' || $user['login'] == 'Дед мазай'){ + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '37',`online`.`room` = '37' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: gotzamok.php'); + }else{ + print ""; + } + } + if($_GET['got'] && $_GET['level1052']) { + if($user['level'] >= 4) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '1053',`online`.`room` = '1053' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('Location: rep_shop.php'); + } else { + echo ''; + } + } + if($_GET['got'] && $_GET['level1051']) { + if($user['level'] >= 4) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '1051',`online`.`room` = '1051' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('Location: lab_enter.php'); + } else { + echo ''; + } + } +if ($_GET['got'] && $_GET['level5']) { + // if($user['login'] == 'eXecuTTer' || $user['login'] == 'GOLD' || $user['login'] == 'Дед Мазай' || $user['align'] == '2.2'){ + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '404',`online`.`room` = '404' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: vxod.php'); + // }else + // { + // print ""; + // } + } +} + +elseif($user['room']==2701) { + if ($_GET['level1']) { + header('location: city.php?zaliv=1'); + } + if ($_GET['level2']) { +// if($user['login'] == 'eXecuTTer' || $user['login'] == 'GOLD' || $user['login'] == 'Слёзы' || $user['login'] == '69' || $user['login'] == 'Дед Мазай' || $user['login'] == 'SHEFF'){ + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '402',`online`.`room` = '402' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: lab_chaos_enter.php'); +// }else{ +// print ""; +// } + } +} + +//Торговая улица +elseif($user['room']==2702) { + if ($_GET['got'] && $_GET['level10']) { + header('location: city.php?cp=1'); + } + if($_GET['got'] && $_GET['level202']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '1054',`online`.`room` = '1054' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: fontan_luck.php'); + } + + if ($_GET['level5']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '1054',`online`.`room` = '1054' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: fontan.php'); + } + if ($_GET['level6']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '61',`online`.`room` = '61' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: akadem.php'); +// }else{ +// print ""; +// } + } +} +//Арена Богов +elseif($user['room']==2655) { + if ($_GET['got'] && $_GET['level10']) { + header('location: city.php?zamk=1'); + } + if($_GET['got'] && $_GET['level2055']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '603',`online`.`room` = '603' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: aren_of_angels.php'); + } + +} + + elseif($user['room']==26) { + // Strashilka + // strelka cp + if ($_GET['level4']) { + header('location: city.php?cp=1'); + } + if ($_GET['got'] && $_GET['level5']) { + if($user['first'] == 11){ + mysql_query("update `users` set `kwest_see_znahar`=`kwest_see_znahar`+'1' where `id`='".$user['id']."'"); + } + // print ""; + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '43',`online`.`room` = '43' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: znahar.php'); + + } + if($_GET['got'] && $_GET['level660']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '660',`online`.`room` = '660' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: hostel.php'); + } + if($_GET['got'] && $_GET['level20']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '223',`online`.`room` = '223' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: bench.php'); + } + if($_GET['got'] && $_GET['level21']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '222',`online`.`room` = '222' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: bench_s.php'); + } + if($_GET['got'] && $_GET['level22']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '224',`online`.`room` = '224' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: bench_m.php'); + } + if ($_GET['got'] && $_GET['level7']) { + if($user['login'] == 'eXecuTTer' || $user['login'] == 'GOLD' || $user['login'] == 'Дед Мазай' || $user['align'] == '2.2'){ +// print ""; + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '777',`online`.`room` = '777' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: obshaga.php'); + }else{ + print ""; + } + } + if ($_GET['got'] && $_GET['level3']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2601',`online`.`room` = '2601' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: city.php?zamk=1'); + } + + + if ($_GET['got'] && $_GET['level11']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '42',`online`.`room` = '42' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: lotery.php'); + } + if ($_GET['got'] && $_GET['level6']) { + // mysql_query("UPDATE `users`,`online` SET `users`.`room` = '110',`online`.`room` = '110' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + // header('location: jackill.php'); + print ""; + } + //if ($_GET['got'] && $_GET['level5']) { + //mysql_query("UPDATE `users`,`online` SET `users`.`room` = '401',`online`.`room` = '401' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + //header('location: hell.php'); + //} + + } + /*if ($_GET['level7'] OR $_GET['strah']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '21',`online`.`room` = '21' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + $user['room'] = 21; + } + if ($_GET['level8'] && $_GET['strah']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '20',`online`.`room` = '20' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + $user['room'] = 20; + }*/ +$online = mysql_query("SELECT * FROM `online` WHERE `real_time` >= ".(time()-60).""); +?> + + + + + + + + + + + + + + + + + + +
    Сейчас в игре : чел.
    \"{$des}\""; + } + function buildset1($id,$img,$top,$left,$des) { + //$imga = ImageCreateFromGif("i/city/sub/".$img.".png"); + #Get image width / height + //$x = ImageSX($imga); + //$y = ImageSY($imga); + unset($imga); + echo "
    \"{$des}\"
    "; + } + if ($user['room'] == 20) { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_cp_day'; + $fon = 'zima_cap_cp_day'; + $fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_cp_night'; + $fon = 'zima_cap_cp_night'; + $fon2 = 'snow_transp'; + } + echo " +
    \"\""; + echo "
    \"\""; + //buildset(1,"vesna_cap_club",30,235,"Бойцовский Клуб"); + buildset(1,"zima_club",30,235,"Бойцовский Клуб"); + // buildset(2,"vesna_cap_shop",202,171,"Магазин"); + buildset(2,"zima_shop",202,171,"Магазин"); + //buildset(3,"vesna_cap_kom",205,105,"Комиссионный магазин"); + buildset(3,"zima_kom",205,105,"Комиссионный магазин"); + // buildset(4,"vesna_cap_rem",202,290,"Ремонтная мастерская");; + buildset(4,"zima_rem",202,290,"Ремонтная мастерская");; + buildset(13,"vesna_cap_statue",222,365,"Памятник Мэру Города"); + //buildset(5,"2pm",210,430,"Памятник"); + //buildset(6,"vesna_cap_po4ta",180,540,"Почта"); + buildset(6,"zima_po4ta",180,540,"Почта"); + //buildset(7,"arr_right_png",260,710,"Страшилкина Улица"); + buildset(7,"zima_cap_arr_right",260,710,"Страшилкина Улица"); + //buildset(222,"cp_u2_png",180,650,"Торговая улица"); + buildset(222,"zima_cap_arr_top",180,650,"Торговая улица"); + //buildset(8,"arr_left_png",258,21,"Большая парковая улица"); + buildset(8,"zima_cap_arr_left",258,21,"Большая парковая улица"); + //buildset(12,"vesna_cap_berezka",205,435,"Березка"); + buildset(17,"zima_berezka",205,435,"Березка"); + //buildset(11,"vesna_cap_loto",230,615,"Лотерея Сталкера"); + buildset(11,"zima_loto",230,615,"Лотерея Сталкера"); + buildset1(9,"tree2",260,530,"Новогодняя елка"); + buildset(14,"sneg_3",210,390,"Снеговик"); + //buildset(111,"vesna_cap_stella",260,530,"Доска объявления"); + //buildset(111,"zima_stella",260,530,"Доска объявления"); + + + echo "
    "; + } + //buildset(9,"fir",137,235,"Новогодняя елка"); + elseif ($user['room'] == 21) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_strash_day'; + $fon = 'zima_cap_strash_day'; + $fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_strash_night'; + $fon = 'zaim_cap_strash_night'; + $fon2 = 'snow_transp'; + } + echo "
    \"\""; + echo "
    \"\""; + //buildset(5,"vesna_cap_bank",180,485,"Банк");; + buildset(5,"zima_cap_bank",180,485,"Банк");; + //buildset(2,"vesna_cap_registratura",170,113,"Регистратура кланов"); + buildset(14,"zima_cap_registratura",170,113,"Регистратура кланов"); + //buildset(7,"vesna_cap_tower",5,315,"Башня смерти"); + buildset(16,"zima_cap_tower",5,315,"Башня смерти"); + //buildset(16555,"tree_png",165,20,"Дерево"); + buildset(16555,"zima_cap_tree",165,20,"Дерево"); + //buildset(3,"arr_right_png",255,708,"Ристалище"); + buildset(3,"zima_cap_arr_right",255,708,"Ристалище"); + //buildset(3,"2strelka",250,720,"Берег залива"); + //buildset(6,"vesna_cap_flowershop",220,613,"Цветочный магазин"); + buildset(13,"zima_cap_flowershop",220,613,"Цветочный магазин"); + //buildset(4,"arr_left_png",258,21,"Центральная площадь"); + buildset(4,"zima_cap_arr_left",258,21,"Центральная площадь"); + //buildset(22,"obshga",150,630,"Общежитие"); + echo "
    "; + } + elseif ($user['room'] == 26) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_park_day'; + $fon = 'zima_cap_park_day'; + $fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_park_night'; + $fon = 'zima_cap_park_night'; + $fon2 = 'snow_transp'; + } + echo " + + + '; + $i++; + } +} +// +$lvl = 0; +$exp = 0; +if( $i < 10 ) { + $lvl = 0; + $exp = 10; +}elseif( $i < 15 ) { + $lvl = 1; + $exp = 15; +}elseif( $i < 25 ) { + $lvl = 2; + $exp = 25; +}else{ + $lvl = 3; + $exp = '--'; +} +// +?> +
    \"\""; + echo "
    \"\""; + //buildset(6,"cap_gate",170,340,"Городские ворота"); + buildset(6,"zima_cap_gate",170,340,"Городские ворота"); + //buildset(444,"vesna_cap_vokzal",163,43,"Вокзал"); + buildset(660,"zima_cap_vokzal",163,43,"Общежитие"); + //buildset(5,"vesna_cap_znah",195,538,"Хижина Знахаря"); + buildset(5,"zima_cap_znah",195,538,"Хижина Знахаря"); + //buildset(20,"vesna_cap_2sk",249,416,"Средняя скамейка"); + buildset(21,"zima_cap_2sk",249,416,"Средняя скамейка"); + //buildset(18,"vesna_cap_3sk",250,630,"Большая скамейка"); + buildset(20,"zima_cap_3sk",250,630,"Большая скамейка"); + //buildset(20,"vesna_cap_1sk",228,490,"Маленькая скамейка"); + buildset(22,"zima_cap_1sk",228,490,"Маленькая скамейка"); +// //buildset(7,"ava_vokzal",160,235,"Общежитие"); + //buildset(11,"loto_stalkers",240,160,"Лотерея Сталкеров"); + //buildset(3,"arr_left_png",259,27,"Замковая площядь"); + buildset(3,"zima_cap_arr_left",259,27,"Замковая площядь"); + //buildset(4,"arr_right_png",259,715,"Центральная площадь"); + buildset(4,"zima_cap_arr_right",259,715,"Центральная площадь"); + echo "
    "; + } + + + elseif ($user['room'] == 2601) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_park_day'; + $fon = 'zima_cap_zamk_day'; + $fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_zamk_night'; + $fon = 'zima_cap_zamk_night'; + $fon2 = 'snow_transp'; + } + echo "
    \"\""; + echo "
    \"\""; + //buildset(21,"vesna_cap_lavka",240,425,"Храмовая лавка"); + buildset(1052,"zima_cap_lavka",240,425,"Храмовая лавка"); + buildset(10,"ava_post",240,300,"Сувенирный магазинчик"); + //buildset(1,"vesna_cap_ruins",166,48,"Руины Старого замка"); + buildset(1,"zima_cap_ruins",166,48,"Руины Старого замка"); + //buildset(5,"vesna_cap_lab",130,327,"Вход в Лабиринт Хаоса"); + buildset(1051,"zima_cap_lab",130,327,"Вход в Лабиринт Хаоса"); + //buildset(44,"vesna_cap_hram",173,550,"Храм Древних"); + buildset(44,"zima_cap_hram",173,550,"Храм Древних"); + //buildset(227,"arr_left_png",258,21,"Арена Богов"); + buildset(55,"zima_cap_arr_left",258,21,"Арена Богов"); + //buildset(4,"arr_right_png",260,710,"Большая парковая улица"); + buildset(4,"arr_right_png",260,710,"Большая парковая улица"); + echo "
    "; + } + + elseif ($user['room'] == 2655) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_park_day'; + $fon = 'ar_e_n'; + //$fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_zamk_night'; + $fon = 'ar_e_n'; + //$fon2 = 'snow_transp'; + } + echo " +
    \"\""; + //echo "
    \"\""; + //buildset(21,"vesna_cap_lavka",240,425,"Храмовая лавка"); + buildset(2055,"altr_g",230,340,"Арена Ангелов"); + buildset(2222,"zima_cap_stop",258,21,"Проход закрыт"); + buildset(10,"arr_right_png",260,710,"Замковая площадь"); + echo "
    "; + } + + elseif ($user['room'] == 2111) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_bg_d2'; + $fon = 'zima_rist_bg_day2'; + $fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_bg_n2'; + $fon = 'zima_rist_bg_night2'; + $fon2 = 'snow_transp'; + } + echo " + +
    \"\""; + echo "
    \"\""; + //buildset(1,"cap_rist_arr_left",240,30,"Страшилкина Улица"); + buildset(1,"zima_cap_arr_uleft",240,30,"Страшилкина Улица"); + //buildset(2,"stop_png",245,708,"Проход закрыт"); + buildset(2,"zima_cap_arr_right",245,708,"Секретный Лабиринт"); + //buildset(2,"zima_cap_arr_right",245,708,"Проход закрыт"); + //buildset(4,"av_zaliv_svet",200,260,"Храмовая Лавка"); + //buildset(5,"av_zaliv_tma",175,570,"Храм Древних"); + //buildset(14,"vesna_cap_rist_solo",210,160,"Вход в Одиночные сражения"); + buildset(14,"zima_cap_rist_solo",210,160,"Вход в Одиночные сражения"); + //buildset(5,"vesna_cap_rist_group",243,340,"Вход в Сражение отрядов"); + buildset(14,"zima_cap_rist_group",243,340,"Вход в Сражение отрядов"); + //buildset(16,"lord_castle",110,310,"Замок Лорда Разрушителя"); + buildset(1000,"av_zamk_rud",80,310,"Рудник"); + //buildset(16555,"vesna_cap_rist_monstr",145,570,"Вход в Груповые сражения"); + buildset(203,"zima_cap_rist_monstr",145,570,"Вход в Груповые сражения"); + //buildset(21,"angelscastle",131,628,"Замок Мэра Города"); + + $laikas = mysql_result(mysql_query("SELECT `bochka` FROM `users` WHERE `id` = '{$user['id']}'; "),0); + if (!isset($laikas)){ + $laikas=time()-60*60*4; + mysql_query("UPDATE `users` SET `bochka`='".$laikas."' WHERE `id` = '{$user['id']}'; "); + } + if ($_SESSION['usebochka']=='1'&&$laikas<=time()-60*60*4){ + $laikas=time(); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."' WHERE `id` = '{$user['id']}'; "); + $_SESSION['usebochka']='0'; + $bon=mt_rand(1,4); + if ($bon==1){ + $kr=mt_rand(1,25); + if($kr>=15) { + $kr1=mt_rand(16,25); + if($kr1>=20) { + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr1.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr1 WHERE `id` = '{$user['id']}'; "); + } + else { + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr1.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr1 WHERE `id` = '{$user['id']}'; "); + } + } + else{ + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr WHERE `id` = '{$user['id']}'; "); + } + } + elseif ($bon==2){ + $doblest=mt_rand(1,75); + if($doblest>=40) { + $doblest1=mt_rand(41,75); + if($doblest1>=60) { + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest1.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+'$doblest' WHERE `id` = '{$user['id']}'; "); + } + else { + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest1.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+$doblest WHERE `id` = '{$user['id']}'; "); + + } + } + else{ + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+$doblest WHERE `id` = '{$user['id']}'; "); + } + } + elseif ($bon==3){ + $rom=mt_rand(1,75); + if($rom>=40) { + $rom1=mt_rand(41,75); + if($rom1>=60) { + addchp ('Внимание! В принесеной бочке Вы нашли странный сосуд... ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("INSERT INTO `inventory` (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`magic`,`otdel`, `isrep`) + VALUES ('5900400','{$_SESSION['uid']}','Бутыль старого пирата','51','1','5','rom.gif',1,'555','188','0') ;"); + } + else { + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + else{ + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + else{ + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + elseif ($laikas<=time()-60*60*4){ + buildset(3,"bochka",270,630,"Бочка"); + } + + //buildset(21,"angelscastle",131,628,"Замок Мэра Города"); + echo "
    "; + } + + elseif ($user['room'] == 2701) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'av_arena_bg1_day2'; + } else { + $fon = 'av_arena_bg1_day2'; + } + echo " + + +
    \"\""; + echo "
    \"\""; + buildset(1,"3strelka",260,30,"Берег Залива"); + buildset(2,"shar_dark",234,356,"Лабиринт Хаоса"); + buildset(3,"stop_png",260,720,"Проход закрыт"); + echo "
    "; + } + //Торговая улица + elseif ($user['room'] == 2702) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + //$fon = 'vesna_cap_torg_day'; + $fon = 'zima_cap_torg_day'; + $fon2 = 'snow_transp'; + } else { + //$fon = 'vesna_cap_torg_night'; + $fon = 'zima_cap_torg_night'; + $fon2 = 'snow_transp'; + } + echo " + +
    \"\""; + echo "
    \"\""; + //buildset(14,"vesna_cap_build1",175,70,"Арендная лавка"); + buildset(6,"zima_cap_arenda",175,70,"Академия"); + //buildset(5,"vesna_cap_fontan",210,350,"Фонтан удачи"); + buildset(202,"zima_cap_fontan",210,350,"Фонтан удачи"); + //buildset(16,"t_build42",120,300,"Аукцион"); + buildset(16,"t_build42",120,300,"Аукцион"); + //buildset(16555,"vesna_cap_build3",155,480,"Прокатная лавка"); + buildset(16555,"zima_cap_prokat",155,480,"Прокатная лавка"); + //buildset(21,"vesna_cap_build2",150,565,"Ломбард"); + buildset(21,"zima_cap_lombard",150,565,"Ломбард"); + //buildset(4,"cap_rist_arr_left",259,25,"Центральная площадь"); + buildset(10,"zima_cap_arr_uleft",259,25,"Центральная площадь"); + //buildset(3,"stop_png",259,720,"Проход закрыт"); + buildset(3,"zima_cap_stop",259,720,"Проход закрыт"); + echo "
    "; + } + ?> + += 19 && $user['room']==20 || (int)date("H") >= 0 && (int)date("H") < 5 && $user['room']==20) { + $ms_cit=array('Вечер, звёзды... разбойник за каждым углом...', + 'Говорят, ночью тут вампиры гуляют...', + 'Темно, страшно, даже паладинов не видно...' + ); +echo "".$ms_cit[rand(0, 2)].""; +?> + + + +
    + + + + +
    +
    + + + \ No newline at end of file diff --git a/clan_castle.php b/clan_castle.php new file mode 100644 index 0000000..66f269e --- /dev/null +++ b/clan_castle.php @@ -0,0 +1,329 @@ +0)) header("Location: index.php"); + + include "config.php"; + + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + $owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$user['id']." AND (type=13 OR type=12 OR type=14) limit 1;")); + $klan = mysql_fetch_array(mysql_query("SELECT * FROM `clans` WHERE `id` = '{$user['klan']}' LIMIT 1;")); + + include "functions.php"; + if ($user['room'] != 45) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + + $cc_date=mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var`='cc_time' LIMIT 1;")); + $ccd=$cc_date['value']; + + if($_POST['admin_start']) + { + $tm=time(); + mysql_query("UPDATE `variables` SET `value`='{$tm}' WHERE `var`='cc_time';"); + die(""); + } + if($_POST['admin_start1']) + { + $tm=time()-900; + mysql_query("UPDATE `variables` SET `value`='{$tm}' WHERE `var`='cc_time';"); + die(""); + } + + if($_POST['add_zay']) + { + mysql_query("INSERT INTO `clan_castle` VALUES ('{$user['id']}','{$user['klan']}');"); + die(""); + } + + ?> + + + + + + + + + + + + + + + + + +'; + } + +} +elseif(($ccd+900)=time()) +{ + $zays=array(); + $all_zay=mysql_query("SELECT * FROM `clan_castle`;"); + while ($a_zay=mysql_fetch_array($all_zay)) + { + $cur_c=mysql_num_rows(mysql_query("SELECT * FROM `users` WHERE `klan`='{$a_zay['clan']}' AND `room`='45';")); + for($cc=0;$cc<$cur_c;$cc++) + $zays[]=$a_zay['clan']; + } + $own=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'castle_owner' LIMIT 1;")); + shuffle($zays); + $lucky=$zays[array_rand($zays)]; + if($lucky>0 && $lucky!=$own['vlaue']); + mysql_query("UPDATE `variables` SET `value`='{$lucky}' WHERE `var`='castle_att';"); + $tmp_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$lucky}' LIMIT 1;")); + + if($own['value']>0) + $tmp_o=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$own['value']}' LIMIT 1;")); + + if($tmp_k) echo('Внимание!'.$tmp_k['name'].' собираются штурмовать замок'); + if($tmp_k && $own['value']>0) echo(''.$tmp_o['name'].'!'); + if($tmp_k && !$own['value']>0) echo('!'); +} +elseif(($ccd+90+900)<=time()) +{ + $att=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'castle_att' LIMIT 1;")); + $own=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'castle_owner' LIMIT 1;")); + + $at_t=array(); + $ow_t=array(); + + if($att['value']>0) + { + $att_r=mysql_query("SELECT `id` FROM `users` WHERE `klan`='{$att['value']}' AND `room`='45';"); + while($a=mysql_fetch_array($att_r)) + { + $at_on = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = '{$a['id']}' LIMIT 1;")); + if($at_on[0]) + $at_t[]=$a['id']; + } + + + } + + if($own['value']>0) + { + $def_r=mysql_query("SELECT `id` FROM `users` WHERE `klan`='{$own['value']}' AND `room`='45';"); + while($o=mysql_fetch_array($def_r)) + { + $df_on = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = '{$o['id']}' LIMIT 1;")); + if($df_on[0]) + $ow_t[]=$o['id']; + } + + } + + if(empty($at_t)) + { + echo("Смелых так и не нашлось...
    "); + } + elseif(empty($ow_t) && ($own['value']>0)) + { + echo("Хозяева слили замок без боя...
    "); + $cc_own=mysql_fetch_array(mysql_query("SELECT `value` FROM variables WHERE var='castle_owner' LIMIT 1;")); + $cc_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$cc_own['value']}' LIMIT 1;")); + $cc_att=mysql_fetch_array(mysql_query("SELECT `value` FROM variables WHERE var='castle_att' LIMIT 1;")); + $cc_a=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$cc_att['value']}' LIMIT 1;")); + {AddChatSystem('Клан '.$cc_a['name'].' без боя забрал у клана '.$cc_k['name'].' Замок Мэра');} + + $c_prev=mysql_fetch_array(mysql_query("SELECT `glava`,`align` FROM `clans` WHERE `id`='{$own['value']}' LIMIT 1;")); + mysql_query("UPDATE `users` SET `align`='{$c_prev['align']}',`abil`='' WHERE `id`='{$c_prev['glava']}';"); + + mysql_query("UPDATE `variables` SET `value`='{$att['value']}' WHERE `var`='castle_owner';"); + mysql_query("UPDATE `variables` SET `value`='0' WHERE `var`='castle_att';"); + mysql_query("UPDATE `variables` SET `value`='{$tm}' WHERE `var`='cc_time';"); + + $c_lead=mysql_fetch_array(mysql_query("SELECT `glava` FROM `clans` WHERE `id`='{$att['value']}' LIMIT 1;")); + $abil=array(); + for($i=0;$i<10;$i++) $abil[$i]=9; + mysql_query("UPDATE `users` SET `align`='7.97',`abil`='".serialize($abil)."' WHERE `id`='{$c_lead['glava']}';"); + + + + mysql_query("DELETE FROM `clan_castle`"); + } + elseif($own['value']==0) + { + //побоище против ботов + //ставим ботов + $bots_raw=array + ("2897","2897","2897","2897","2897","2897","2897","2897","2897","2897","4150","4150","4156","4156","4156","4156", + "2895","2895","4158","4158","4158","4158","4158","2900"); + $bots=array(); + foreach($bots_raw as $bot_id) + if($bot_id>0) + { + $b_pers=mysql_fetch_array(mysql_query("SELECT `login`,`maxhp` FROM users WHERE id='{$bot_id}' LIMIT 1;")); + $bot_hp=$b_pers['maxhp']; + $bot_name=$b_pers['login']; + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$bot_name."%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$bot_name." ".($nb[0]+1)."','".$bot_id."','','".$bot_hp."');"); + $bots[]=mysql_insert_id(); + } + + //отаке! + + $teams = array(); + foreach($at_t as $b) + foreach($bots as $gf) + { + $teams[$gf][$b] = array(0,0,time()); + $teams[$b][$gf] = array(0,0,time()); + } + + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','3','1','0','".implode(";",$at_t)."','".implode(";",$bots)."','".time()."','".time()."','0' + )"); + + $id = mysql_insert_id(); + // создаем лог + $rr = ""; + + foreach( $at_t as $k=>$v ) { + if ($k!=0) { $rr.=", "; $rrc.=", "; } + $rr .= nick3($v); + $rrc .= nick7($v); + addchp ('Внимание! Ваш бой начался!
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($v).'{[]}'); + } + $rr .= "
    и "; $rrc .= " и "; + foreach( $bots as $k=>$v ) { + if ($k!=0) { $rr.=", "; $rrc.=", ";} + $rr .= nick3($v); + $rrc .= nick7($v); + } + $rr .= ""; + addch ("Поединок между ".$rrc." начался. ",$user['room']); + mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + $add_time=time(); + // всех в БОЙ!!! + foreach($at_t as $k=>$v) { + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$v}"); + } + foreach($bots as $k=>$v) { + mysql_query("UPDATE `bots` SET `battle` ={$id} WHERE `id`= {$v}"); + } + mysql_query("DELETE FROM `clan_castle`"); + } + elseif(!empty($at_t) && !empty($ow_t)) + { + //побоище + + $teams = array(); + foreach($at_t as $b) + foreach($ow_t as $gf) + { + $teams[$gf][$b] = array(0,0,time()); + $teams[$b][$gf] = array(0,0,time()); + } + + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','3','1','0','".implode(";",$at_t)."','".implode(";",$ow_t)."','".time()."','".time()."','0' + )"); + + $id = mysql_insert_id(); + // создаем лог + $rr = ""; + + foreach( $at_t as $k=>$v ) { + if ($k!=0) { $rr.=", "; $rrc.=", "; } + $rr .= nick3($v); + $rrc .= nick7($v); + addchp ('Внимание! Ваш бой начался!
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($v).'{[]}'); + } + $rr .= "
    и "; $rrc .= " и "; + foreach( $ow_t as $k=>$v ) { + if ($k!=0) { $rr.=", "; $rrc.=", ";} + $rr .= nick3($v); + $rrc .= nick7($v); + addchp ('Внимание! Ваш бой начался!
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($v).'{[]}'); + } + $rr .= "
    "; + addch ("Поединок между ".$rrc." начался. ",$user['room']); + mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + $add_time=time(); + // всех в БОЙ!!! + foreach($at_t as $k=>$v) { + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$v}"); + } + foreach($ow_t as $k=>$v) { + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$v}"); + } + mysql_query("DELETE FROM `clan_castle`"); + } + $tm=time()+23*60*60; + mysql_query("UPDATE `variables` SET `value`='0' WHERE `var`='castle_att';"); + mysql_query("UPDATE `variables` SET `value`='{$tm}' WHERE `var`='cc_time';"); + mysql_query("DELETE FROM `clan_castle`"); +} +?> + +

    Замок Мэра

    Добро пожаловать в Замок доброго и справедливого Мэра! +Если Вы заинтерисованы в обладании правами на Замок, либо считаете что обладаете достаточными способностями для исполнения +обязанностей Мэра, приглашаем Вас и Ваших единомышлеников поселиться в Замке!

    +Внимание! Администрация не несет ответственности за возможные конфликты на основе спора о правах обладания Замком, +целость и сохранность Ваших личных вещей, здоровье и жизни посетителей!
    +0) $tmp_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$own['value']}' LIMIT 1;")); +echo('
    Над Замком развевается флаг '); +if($tmp_k['name']) + echo('клана '.$tmp_k['name'].'
    '); +else + echo('сил Хаоса
    '); + +if($user['align']==2.99) echo('

    '); +if($user['align']==2.99) echo('

    '); +if($ccd>=time()) +{ + echo("Следующая битва: ".(date("j.m",$ccd))." в ".(date("H:i",$ccd))); + +} +elseif($ccd=time()) +{ + $zays=array(); + echo("Заявили права на Замок Мэра:"); + echo(''); + $all_c=mysql_query("SELECT * FROM `clan_castle`;"); + while ($a_zay=mysql_fetch_array($all_c)) + { + $zays[]=$a_zay['clan']; + $tmp_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$a_zay['clan']}' LIMIT 1;")); + echo ''; + } + if(empty($zays)) + echo ''; + echo('
    Клан '.$tmp_k['name'].'
    Ждем смелых ...
    '); + echo("
    Прием заявок до: ".(date("H:i",$ccd+900)).""); + + $own=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'castle_owner' LIMIT 1;")); + + if ($klan['glava']==$user['id'] && !in_array($user['klan'],$zays) && $user['klan']!=$own['value']) + { + echo("
    Прием заявок от глав кланов:"); + echo '
    +
    + + + \ No newline at end of file diff --git a/clan_log.php b/clan_log.php new file mode 100644 index 0000000..76206a2 --- /dev/null +++ b/clan_log.php @@ -0,0 +1,131 @@ + 0) { + $clan_acces[$i][0] = 1; + } + $i++; + } +} + +if(is_numeric($_GET['page'])) { + $numb = round($_GET['page']*15, 0); +} else { + $numb = 0; +} + +if($clan_acces[6][0] == 1) { + $t = '
    Просмотр операций с казной
    '; + $data = mysql_query("SELECT * FROM `clan_log` WHERE `clan_id` = '".$user['klan']."' ORDER BY `id` DESC LIMIT $numb, 15"); + while($it = mysql_fetch_array($data)) { + $i++; + if($i == 1) { + $t .= ""; + } + if($it['type'] == 1) { + $pp = ""; $dop = 'Кр.'; + } elseif($it['type'] == 2) { + $pp = ""; $dop = 'Екр.'; + } + $it['date'] = date('d.m.y h:i', $it['time']); + $it['login'] = nick3($it['user_id']); + $it['coms'] = ' Комментарий : '.$it['comment'].''; + $t .= ""; + } + $t .= '
       РљРѕРіРґР°    РљС‚оСколько
    ".$pp."  ".$it['date']." ".$it['login']."".$it['coms']."".$it['suma']." $dop
    '; + + $t .= "Страницы: "; + $data2 = mysql_query("SELECT * FROM `clan_log` WHERE `clan_id`= '{$user['klan']}'"); $all = mysql_num_rows($data2)-1; $pgs = $all/15; + for($is = 0; $is <= $pgs; ++$is) { + if($_GET['page'] == $is) { + $t .= ''.($is+1).' '; + } else { + $t .= ''.($is+1).' '; + } + $t .= '
    '; + } +} else { + $t = 'Недостаточно прав'; +} + +?> + + +Просмотр действий СЃ кланом + + + + + + + + + 0) { + if($_GET['hash'] != '') { + if($_GET['hash'] == md5($user['id'].'|'.$user['login'])) { + echo $t; + } + } + } +} +?> + + \ No newline at end of file diff --git a/classes/MysqliDb.php b/classes/MysqliDb.php new file mode 100644 index 0000000..24e0764 --- /dev/null +++ b/classes/MysqliDb.php @@ -0,0 +1,1419 @@ +Р’ $val) { + $$key = $val; + } + } + + if(is_object($host)) { + $this->_mysqli = $host; + } else { + $this->host = $host; + } + + $this->username = $username; + $this->password = $password; + $this->db = $db; + $this->port = $port; + $this->charset = $charset; + + if($isSubQuery) { + $this->isSubQuery = true; + return; + } + + if(isset($prefix)) { + $this->setPrefix($prefix); + } + + self::$_instance = $this; + } + + public function connect() { + if($this->isSubQuery) { + return; + } + + if(empty($this->host)) { + throw new Exception('MySQL host is not set'); + } + + $this->_mysqli = new mysqli($this->host, $this->username, $this->password, $this->db, $this->port); + + if($this->_mysqli->connect_error) { + throw new Exception('Connect Error '.$this->_mysqli->connect_errno.': '.$this->_mysqli->connect_error); + } + + if($this->charset) { + $this->_mysqli->set_charset($this->charset); + } + } + + public function mysqli() { + if(!$this->_mysqli) { + $this->connect(); + } + return $this->_mysqli; + } + + public static function getInstance() { + return self::$_instance; + } + + protected function reset() { + if($this->traceEnabled) { + $this->trace[] = array($this->_lastQuery, (microtime(true) - $this->traceStartQ), $this->_traceGetCaller()); + } + + $this->_where = array(); + $this->_having = array(); + $this->_join = array(); + $this->_orderBy = array(); + $this->_groupBy = array(); + $this->_bindParams = array(''); + $this->_query = null; + $this->_queryOptions = array(); + $this->returnType = 'array'; + $this->_nestJoin = false; + $this->_forUpdate = false; + $this->_lockInShareMode = false; + $this->_tableName = ''; + $this->_lastInsertId = null; + $this->_updateColumns = null; + $this->_mapKey = null; + } + + public function jsonBuilder() { + $this->returnType = 'json'; + return $this; + } + + public function arrayBuilder() { + $this->returnType = 'array'; + return $this; + } + + public function objectBuilder() { + $this->returnType = 'object'; + return $this; + } + + public function setPrefix($prefix = '') { + self::$prefix = $prefix; + return $this; + } + + public function rawQuery($query, $bindParams = null) { + $params = array(''); + $this->_query = $query; + $stmt = $this->_prepareQuery(); + + if(is_array($bindParams) === true) { + foreach($bindParams as $prop => $val) { + $params[0] .= $this->_determineType($val); + array_push($params, $bindParams[$prop]); + } + call_user_func_array(array($stmt, 'bind_param'), $this->refValues($params)); + } + + $stmt->execute(); + $this->count = $stmt->affected_rows; + $this->_stmtError = $stmt->error; + $this->_lastQuery = $this->replacePlaceHolders($this->_query, $params); + $res = $this->_dynamicBindResults($stmt); + $this->reset(); + return $res; + } + + public function rawQueryOne($query, $bindParams = null) { + $res = $this->rawQuery($query, $bindParams); + if(is_array($res) && isset($res[0])) { + return $res[0]; + } + return null; + } + + public function rawQueryValue($query, $bindParams = null) { + $res = $this->rawQuery($query, $bindParams); + if(!$res) { + return null; + } + + $limit = preg_match('/limit\s+1;?$/i', $query); + $key = key($res[0]); + if(isset($res[0][$key]) && $limit == true) { + return $res[0][$key]; + } + $newRes = Array(); + for($i = 0; $i < $this->count; $i++) { + $newRes[] = $res[$i][$key]; + } + return $newRes; + } + + public function query($query, $numRows = null) { + $this->_query = $query; + $stmt = $this->_buildQuery($numRows); + $stmt->execute(); + $this->_stmtError = $stmt->error; + $res = $this->_dynamicBindResults($stmt); + $this->reset(); + return $res; + } + + public function setQueryOption($options) { + $allowedOptions = array('ALL', 'DISTINCT', 'DISTINCTROW', 'HIGH_PRIORITY', 'STRAIGHT_JOIN', 'SQL_SMALL_RESULT', 'SQL_BIG_RESULT', 'SQL_BUFFER_RESULT', 'SQL_CACHE', 'SQL_NO_CACHE', 'SQL_CALC_FOUND_ROWS', 'LOW_PRIORITY', 'IGNORE', 'QUICK', 'MYSQLI_NESTJOIN', 'FOR UPDATE', 'LOCK IN SHARE MODE'); + if(!is_array($options)) { + $options = array($options); + } + + foreach($options as $option) { + $option = strtoupper($option); + if(!in_array($option, $allowedOptions)) { + throw new Exception('Wrong query option: ' . $option); + } + + if($option == 'MYSQLI_NESTJOIN') { + $this->_nestJoin = true; + } elseif($option == 'FOR UPDATE') { + $this->_forUpdate = true; + } elseif($option == 'LOCK IN SHARE MODE') { + $this->_lockInShareMode = true; + } else { + $this->_queryOptions[] = $option; + } + } + return $this; + } + /** + * Function to enable SQL_CALC_FOUND_ROWS in the get queries + * + * @return MysqliDb + */ + public function withTotalCount() + { + $this->setQueryOption('SQL_CALC_FOUND_ROWS'); + return $this; + } + /** + * A convenient SELECT * function. + * + * @param string $tableName The name of the database table to work with. + * @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) + * or only $count + * @param string $columns Desired columns + * + * @return array Contains the returned rows from the select query. + */ + public function get($tableName, $numRows = null, $columns = '*') + { + if (empty($columns)) { + $columns = '*'; + } + $column = is_array($columns) ? implode(', ', $columns) : $columns; + if (strpos($tableName, '.') === false) { + $this->_tableName = self::$prefix . $tableName; + } else { + $this->_tableName = $tableName; + } + $this->_query = 'SELECT ' . implode(' ', $this->_queryOptions) . ' ' . + $column . " FROM " . $this->_tableName; + $stmt = $this->_buildQuery($numRows); + if ($this->isSubQuery) { + return $this; + } + $stmt->execute(); + $this->_stmtError = $stmt->error; + $res = $this->_dynamicBindResults($stmt); + $this->reset(); + return $res; + } + /** + * A convenient SELECT * function to get one record. + * + * @param string $tableName The name of the database table to work with. + * @param string $columns Desired columns + * + * @return array Contains the returned rows from the select query. + */ + public function getOne($tableName, $columns = '*') + { + $res = $this->get($tableName, 1, $columns); + if ($res instanceof MysqliDb) { + return $res; + } elseif (is_array($res) && isset($res[0])) { + return $res[0]; + } elseif ($res) { + return $res; + } + return null; + } + /** + * A convenient SELECT COLUMN function to get a single column value from one row + * + * @param string $tableName The name of the database table to work with. + * @param string $column The desired column + * @param int $limit Limit of rows to select. Use null for unlimited..1 by default + * + * @return mixed Contains the value of a returned column / array of values + */ + public function getValue($tableName, $column, $limit = 1) + { + $res = $this->ArrayBuilder()->get($tableName, $limit, "{$column} AS retval"); + if (!$res) { + return null; + } + if ($limit == 1) { + if (isset($res[0]["retval"])) { + return $res[0]["retval"]; + } + return null; + } + $newRes = Array(); + for ($i = 0; $i < $this->count; $i++) { + $newRes[] = $res[$i]['retval']; + } + return $newRes; + } + /** + * Insert method to add new row + * + * @param string $tableName The name of the table. + * @param array $insertData Data containing information for inserting into the DB. + * + * @return bool Boolean indicating whether the insert query was completed succesfully. + */ + public function insert($tableName, $insertData) + { + return $this->_buildInsert($tableName, $insertData, 'INSERT'); + } + /** + * Replace method to add new row + * + * @param string $tableName The name of the table. + * @param array $insertData Data containing information for inserting into the DB. + * + * @return bool Boolean indicating whether the insert query was completed succesfully. + */ + public function replace($tableName, $insertData) + { + return $this->_buildInsert($tableName, $insertData, 'REPLACE'); + } + /** + * A convenient function that returns TRUE if exists at least an element that + * satisfy the where condition specified calling the "where" method before this one. + * + * @param string $tableName The name of the database table to work with. + * + * @return array Contains the returned rows from the select query. + */ + public function has($tableName) + { + $this->getOne($tableName, '1'); + return $this->count >= 1; + } + /** + * Update query. Be sure to first call the "where" method. + * + * @param string $tableName The name of the database table to work with. + * @param array $tableData Array of data to update the desired row. + * @param int $numRows Limit on the number of rows that can be updated. + * + * @return bool + */ + public function update($tableName, $tableData, $numRows = null) + { + if ($this->isSubQuery) { + return; + } + $this->_query = "UPDATE " . self::$prefix . $tableName; + $stmt = $this->_buildQuery($numRows, $tableData); + $status = $stmt->execute(); + $this->reset(); + $this->_stmtError = $stmt->error; + $this->count = $stmt->affected_rows; + return $status; + } + /** + * Delete query. Call the "where" method first. + * + * @param string $tableName The name of the database table to work with. + * @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) + * or only $count + * + * @return bool Indicates success. 0 or 1. + */ + public function delete($tableName, $numRows = null) + { + if ($this->isSubQuery) { + return; + } + $table = self::$prefix . $tableName; + if (count($this->_join)) { + $this->_query = "DELETE " . preg_replace('/.* (.*)/', '$1', $table) . " FROM " . $table; + } else { + $this->_query = "DELETE FROM " . $table; + } + $stmt = $this->_buildQuery($numRows); + $stmt->execute(); + $this->_stmtError = $stmt->error; + $this->reset(); + return ($stmt->affected_rows > 0); + } + /** + * This method allows you to specify multiple (method chaining optional) AND WHERE statements for SQL queries. + * + * @uses $MySqliDb->where('id', 7)->where('title', 'MyTitle'); + * + * @param string $whereProp The name of the database field. + * @param mixed $whereValue The value of the database field. + * @param string $operator Comparison operator. Default is = + * @param string $cond Condition of where statement (OR, AND) + * + * @return MysqliDb + */ + public function where($whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND') + { + // forkaround for an old operation api + if (is_array($whereValue) && ($key = key($whereValue)) != "0") { + $operator = $key; + $whereValue = $whereValue[$key]; + } + if (count($this->_where) == 0) { + $cond = ''; + } + $this->_where[] = array($cond, $whereProp, $operator, $whereValue); + return $this; + } + /** + * This function store update column's name and column name of the + * autoincrement column + * + * @param array $updateColumns Variable with values + * @param string $lastInsertId Variable value + * + * @return MysqliDb + */ + public function onDuplicate($updateColumns, $lastInsertId = null) + { + $this->_lastInsertId = $lastInsertId; + $this->_updateColumns = $updateColumns; + return $this; + } + /** + * This method allows you to specify multiple (method chaining optional) OR WHERE statements for SQL queries. + * + * @uses $MySqliDb->orWhere('id', 7)->orWhere('title', 'MyTitle'); + * + * @param string $whereProp The name of the database field. + * @param mixed $whereValue The value of the database field. + * @param string $operator Comparison operator. Default is = + * + * @return MysqliDb + */ + public function orWhere($whereProp, $whereValue = 'DBNULL', $operator = '=') + { + return $this->where($whereProp, $whereValue, $operator, 'OR'); + } + + /** + * This method allows you to specify multiple (method chaining optional) AND HAVING statements for SQL queries. + * + * @uses $MySqliDb->having('SUM(tags) > 10') + * + * @param string $havingProp The name of the database field. + * @param mixed $havingValue The value of the database field. + * @param string $operator Comparison operator. Default is = + * + * @return MysqliDb + */ + public function having($havingProp, $havingValue = 'DBNULL', $operator = '=', $cond = 'AND') + { + // forkaround for an old operation api + if (is_array($havingValue) && ($key = key($havingValue)) != "0") { + $operator = $key; + $havingValue = $havingValue[$key]; + } + if (count($this->_having) == 0) { + $cond = ''; + } + $this->_having[] = array($cond, $havingProp, $operator, $havingValue); + return $this; + } + /** + * This method allows you to specify multiple (method chaining optional) OR HAVING statements for SQL queries. + * + * @uses $MySqliDb->orHaving('SUM(tags) > 10') + * + * @param string $havingProp The name of the database field. + * @param mixed $havingValue The value of the database field. + * @param string $operator Comparison operator. Default is = + * + * @return MysqliDb + */ + public function orHaving($havingProp, $havingValue = null, $operator = null) + { + return $this->having($havingProp, $havingValue, $operator, 'OR'); + } + /** + * This method allows you to concatenate joins for the final SQL statement. + * + * @uses $MySqliDb->join('table1', 'field1 <> field2', 'LEFT') + * + * @param string $joinTable The name of the table. + * @param string $joinCondition the condition. + * @param string $joinType 'LEFT', 'INNER' etc. + * + * @throws Exception + * @return MysqliDb + */ + public function join($joinTable, $joinCondition, $joinType = '') + { + $allowedTypes = array('LEFT', 'RIGHT', 'OUTER', 'INNER', 'LEFT OUTER', 'RIGHT OUTER'); + $joinType = strtoupper(trim($joinType)); + if ($joinType && !in_array($joinType, $allowedTypes)) { + throw new Exception('Wrong JOIN type: ' . $joinType); + } + if (!is_object($joinTable)) { + $joinTable = self::$prefix . $joinTable; + } + $this->_join[] = Array($joinType, $joinTable, $joinCondition); + return $this; + } + /** + * This method allows you to specify multiple (method chaining optional) ORDER BY statements for SQL queries. + * + * @uses $MySqliDb->orderBy('id', 'desc')->orderBy('name', 'desc'); + * + * @param string $orderByField The name of the database field. + * @param string $orderByDirection Order direction. + * @param array $customFields Fieldset for ORDER BY FIELD() ordering + * + * @throws Exception + * @return MysqliDb + */ + public function orderBy($orderByField, $orderbyDirection = "DESC", $customFields = null) + { + $allowedDirection = Array("ASC", "DESC"); + $orderbyDirection = strtoupper(trim($orderbyDirection)); + $orderByField = preg_replace("/[^-a-z0-9\.\(\),_`\*\'\"]+/i", '', $orderByField); + // Add table prefix to orderByField if needed. + //FIXME: We are adding prefix only if table is enclosed into `` to distinguish aliases + // from table names + $orderByField = preg_replace('/(\`)([`a-zA-Z0-9_]*\.)/', '\1' . self::$prefix . '\2', $orderByField); + if (empty($orderbyDirection) || !in_array($orderbyDirection, $allowedDirection)) { + throw new Exception('Wrong order direction: ' . $orderbyDirection); + } + if (is_array($customFields)) { + foreach ($customFields as $key => $value) { + $customFields[$key] = preg_replace("/[^-a-z0-9\.\(\),_`]+/i", '', $value); + } + $orderByField = 'FIELD (' . $orderByField . ', "' . implode('","', $customFields) . '")'; + } + $this->_orderBy[$orderByField] = $orderbyDirection; + return $this; + } + /** + * This method allows you to specify multiple (method chaining optional) GROUP BY statements for SQL queries. + * + * @uses $MySqliDb->groupBy('name'); + * + * @param string $groupByField The name of the database field. + * + * @return MysqliDb + */ + public function groupBy($groupByField) + { + $groupByField = preg_replace("/[^-a-z0-9\.\(\),_\*]+/i", '', $groupByField); + $this->_groupBy[] = $groupByField; + return $this; + } + /** + * This methods returns the ID of the last inserted item + * + * @return int The last inserted item ID. + */ + public function getInsertId() + { + return $this->mysqli()->insert_id; + } + /** + * Escape harmful characters which might affect a query. + * + * @param string $str The string to escape. + * + * @return string The escaped string. + */ + public function escape($str) + { + return $this->mysqli()->real_escape_string($str); + } + /** + * Method to call mysqli->ping() to keep unused connections open on + * long-running scripts, or to reconnect timed out connections (if php.ini has + * global mysqli.reconnect set to true). Can't do this directly using object + * since _mysqli is protected. + * + * @return bool True if connection is up + */ + public function ping() + { + return $this->mysqli()->ping(); + } + /** + * This method is needed for prepared statements. They require + * the data type of the field to be bound with "i" s", etc. + * This function takes the input, determines what type it is, + * and then updates the param_type. + * + * @param mixed $item Input to determine the type. + * + * @return string The joined parameter types. + */ + protected function _determineType($item) + { + switch (gettype($item)) { + case 'NULL': + case 'string': + return 's'; + break; + case 'boolean': + case 'integer': + return 'i'; + break; + case 'blob': + return 'b'; + break; + case 'double': + return 'd'; + break; + } + return ''; + } + /** + * Helper function to add variables into bind parameters array + * + * @param string Variable value + */ + protected function _bindParam($value) + { + $this->_bindParams[0] .= $this->_determineType($value); + array_push($this->_bindParams, $value); + } + /** + * Helper function to add variables into bind parameters array in bulk + * + * @param array $values Variable with values + */ + protected function _bindParams($values) + { + foreach ($values as $value) { + $this->_bindParam($value); + } + } + /** + * Helper function to add variables into bind parameters array and will return + * its SQL part of the query according to operator in ' $operator ?' or + * ' $operator ($subquery) ' formats + * + * @param string $operator + * @param mixed $value Variable with values + * + * @return string + */ + protected function _buildPair($operator, $value) + { + if (!is_object($value)) { + $this->_bindParam($value); + return ' ' . $operator . ' ? '; + } + $subQuery = $value->getSubQuery(); + $this->_bindParams($subQuery['params']); + return " " . $operator . " (" . $subQuery['query'] . ") " . $subQuery['alias']; + } + /** + * Internal function to build and execute INSERT/REPLACE calls + * + * @param string $tableName The name of the table. + * @param array $insertData Data containing information for inserting into the DB. + * @param string $operation Type of operation (INSERT, REPLACE) + * + * @return bool Boolean indicating whether the insert query was completed succesfully. + */ + private function _buildInsert($tableName, $insertData, $operation) + { + if ($this->isSubQuery) { + return; + } + $this->_query = $operation . " " . implode(' ', $this->_queryOptions) . " INTO " . self::$prefix . $tableName; + $stmt = $this->_buildQuery(null, $insertData); + $status = $stmt->execute(); + $this->_stmtError = $stmt->error; + $haveOnDuplicate = !empty ($this->_updateColumns); + $this->reset(); + $this->count = $stmt->affected_rows; + if ($stmt->affected_rows < 1) { + // in case of onDuplicate() usage, if no rows were inserted + if ($status && $haveOnDuplicate) { + return true; + } + return false; + } + if ($stmt->insert_id > 0) { + return $stmt->insert_id; + } + return true; + } + /** + * Abstraction method that will compile the WHERE statement, + * any passed update data, and the desired rows. + * It then builds the SQL query. + * + * @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) + * or only $count + * @param array $tableData Should contain an array of data for updating the database. + * + * @return mysqli_stmt Returns the $stmt object. + */ + protected function _buildQuery($numRows = null, $tableData = null) + { + $this->_buildJoin(); + $this->_buildInsertQuery($tableData); + $this->_buildCondition('WHERE', $this->_where); + $this->_buildGroupBy(); + $this->_buildCondition('HAVING', $this->_having); + $this->_buildOrderBy(); + $this->_buildLimit($numRows); + $this->_buildOnDuplicate($tableData); + + if ($this->_forUpdate) { + $this->_query .= ' FOR UPDATE'; + } + if ($this->_lockInShareMode) { + $this->_query .= ' LOCK IN SHARE MODE'; + } + $this->_lastQuery = $this->replacePlaceHolders($this->_query, $this->_bindParams); + if ($this->isSubQuery) { + return; + } + // Prepare query + $stmt = $this->_prepareQuery(); + // Bind parameters to statement if any + if (count($this->_bindParams) > 1) { + call_user_func_array(array($stmt, 'bind_param'), $this->refValues($this->_bindParams)); + } + return $stmt; + } + /** + * This helper method takes care of prepared statements' "bind_result method + * , when the number of variables to pass is unknown. + * + * @param mysqli_stmt $stmt Equal to the prepared statement object. + * + * @return array The results of the SQL fetch. + */ + protected function _dynamicBindResults(mysqli_stmt $stmt) + { + $parameters = array(); + $results = array(); + /** + * @see http://php.net/manual/en/mysqli-result.fetch-fields.php + */ + $mysqlLongType = 252; + $shouldStoreResult = false; + $meta = $stmt->result_metadata(); + // if $meta is false yet sqlstate is true, there's no sql error but the query is + // most likely an update/insert/delete which doesn't produce any results + if (!$meta && $stmt->sqlstate) + return array(); + $row = array(); + while ($field = $meta->fetch_field()) { + if ($field->type == $mysqlLongType) { + $shouldStoreResult = true; + } + if ($this->_nestJoin && $field->table != $this->_tableName) { + $field->table = substr($field->table, strlen(self::$prefix)); + $row[$field->table][$field->name] = null; + $parameters[] = & $row[$field->table][$field->name]; + } else { + $row[$field->name] = null; + $parameters[] = & $row[$field->name]; + } + } + // avoid out of memory bug in php 5.2 and 5.3. Mysqli allocates lot of memory for long* + // and blob* types. So to avoid out of memory issues store_result is used + // https://github.com/joshcam/PHP-MySQLi-Database-Class/pull/119 + if ($shouldStoreResult) { + $stmt->store_result(); + } + call_user_func_array(array($stmt, 'bind_result'), $parameters); + $this->totalCount = 0; + $this->count = 0; + while ($stmt->fetch()) { + if ($this->returnType == 'object') { + $result = new stdClass (); + foreach ($row as $key => $val) { + if (is_array($val)) { + $result->$key = new stdClass (); + foreach ($val as $k => $v) { + $result->$key->$k = $v; + } + } else { + $result->$key = $val; + } + } + } else { + $result = array(); + foreach ($row as $key => $val) { + if (is_array($val)) { + foreach ($val as $k => $v) { + $result[$key][$k] = $v; + } + } else { + $result[$key] = $val; + } + } + } + $this->count++; + if ($this->_mapKey) { + $results[$row[$this->_mapKey]] = count($row) > 2 ? $result : end($result); + } else { + array_push($results, $result); + } + } + if ($shouldStoreResult) { + $stmt->free_result(); + } + $stmt->close(); + // stored procedures sometimes can return more then 1 resultset + if ($this->mysqli()->more_results()) { + $this->mysqli()->next_result(); + } + if (in_array('SQL_CALC_FOUND_ROWS', $this->_queryOptions)) { + $stmt = $this->mysqli()->query('SELECT FOUND_ROWS()'); + $totalCount = $stmt->fetch_row(); + $this->totalCount = $totalCount[0]; + } + if ($this->returnType == 'json') { + return json_encode($results); + } + return $results; + } + /** + * Abstraction method that will build an JOIN part of the query + * + * @return void + */ + protected function _buildJoin() + { + if (empty($this->_join)) { + return; + } + foreach ($this->_join as $data) { + list ($joinType, $joinTable, $joinCondition) = $data; + if (is_object($joinTable)) { + $joinStr = $this->_buildPair("", $joinTable); + } else { + $joinStr = $joinTable; + } + $this->_query .= " " . $joinType . " JOIN " . $joinStr . + (false !== stripos($joinCondition, 'using') ? " " : " on ") + . $joinCondition; + } + } + /** + * Insert/Update query helper + * + * @param array $tableData + * @param array $tableColumns + * @param bool $isInsert INSERT operation flag + * + * @throws Exception + */ + public function _buildDataPairs($tableData, $tableColumns, $isInsert) + { + foreach ($tableColumns as $column) { + $value = $tableData[$column]; + if (!$isInsert) { + $this->_query .= "`" . $column . "` = "; + } + // Subquery value + if ($value instanceof MysqliDb) { + $this->_query .= $this->_buildPair("", $value) . ", "; + continue; + } + // Simple value + if (!is_array($value)) { + $this->_bindParam($value); + $this->_query .= '?, '; + continue; + } + // Function value + $key = key($value); + $val = $value[$key]; + switch ($key) { + case '[I]': + $this->_query .= $column . $val . ", "; + break; + case '[F]': + $this->_query .= $val[0] . ", "; + if (!empty($val[1])) { + $this->_bindParams($val[1]); + } + break; + case '[N]': + if ($val == null) { + $this->_query .= "!" . $column . ", "; + } else { + $this->_query .= "!" . $val . ", "; + } + break; + default: + throw new Exception("Wrong operation"); + } + } + $this->_query = rtrim($this->_query, ', '); + } + /** + * Helper function to add variables into the query statement + * + * @param array $tableData Variable with values + */ + protected function _buildOnDuplicate($tableData) + { + if (is_array($this->_updateColumns) && !empty($this->_updateColumns)) { + $this->_query .= " ON DUPLICATE KEY UPDATE "; + if ($this->_lastInsertId) { + $this->_query .= $this->_lastInsertId . "=LAST_INSERT_ID (" . $this->_lastInsertId . "), "; + } + foreach ($this->_updateColumns as $key => $val) { + // skip all params without a value + if (is_numeric($key)) { + $this->_updateColumns[$val] = ''; + unset($this->_updateColumns[$key]); + } else { + $tableData[$key] = $val; + } + } + $this->_buildDataPairs($tableData, array_keys($this->_updateColumns), false); + } + } + /** + * Abstraction method that will build an INSERT or UPDATE part of the query + * + * @param array $tableData + */ + protected function _buildInsertQuery($tableData) + { + if (!is_array($tableData)) { + return; + } + $isInsert = preg_match('/^[INSERT|REPLACE]/', $this->_query); + $dataColumns = array_keys($tableData); + if ($isInsert) { + if (isset ($dataColumns[0])) + $this->_query .= ' (`' . implode($dataColumns, '`, `') . '`) '; + $this->_query .= ' VALUES ('; + } else { + $this->_query .= " SET "; + } + $this->_buildDataPairs($tableData, $dataColumns, $isInsert); + if ($isInsert) { + $this->_query .= ')'; + } + } + /** + * Abstraction method that will build the part of the WHERE conditions + * + * @param string $operator + * @param array $conditions + */ + protected function _buildCondition($operator, &$conditions) + { + if (empty($conditions)) { + return; + } + //Prepare the where portion of the query + $this->_query .= ' ' . $operator; + foreach ($conditions as $cond) { + list ($concat, $varName, $operator, $val) = $cond; + $this->_query .= " " . $concat . " " . $varName; + switch (strtolower($operator)) { + case 'not in': + case 'in': + $comparison = ' ' . $operator . ' ('; + if (is_object($val)) { + $comparison .= $this->_buildPair("", $val); + } else { + foreach ($val as $v) { + $comparison .= ' ?,'; + $this->_bindParam($v); + } + } + $this->_query .= rtrim($comparison, ',') . ' ) '; + break; + case 'not between': + case 'between': + $this->_query .= " $operator ? AND ? "; + $this->_bindParams($val); + break; + case 'not exists': + case 'exists': + $this->_query.= $operator . $this->_buildPair("", $val); + break; + default: + if (is_array($val)) { + $this->_bindParams($val); + } elseif ($val === null) { + $this->_query .= $operator . " NULL"; + } elseif ($val != 'DBNULL' || $val == '0') { + $this->_query .= $this->_buildPair($operator, $val); + } + } + } + } + /** + * Abstraction method that will build the GROUP BY part of the WHERE statement + * + * @return void + */ + protected function _buildGroupBy() + { + if (empty($this->_groupBy)) { + return; + } + $this->_query .= " GROUP BY "; + foreach ($this->_groupBy as $key => $value) { + $this->_query .= $value . ", "; + } + $this->_query = rtrim($this->_query, ', ') . " "; + } + /** + * Abstraction method that will build the LIMIT part of the WHERE statement + * + * @return void + */ + protected function _buildOrderBy() + { + if (empty($this->_orderBy)) { + return; + } + $this->_query .= " ORDER BY "; + foreach ($this->_orderBy as $prop => $value) { + if (strtolower(str_replace(" ", "", $prop)) == 'rand()') { + $this->_query .= "rand(), "; + } else { + $this->_query .= $prop . " " . $value . ", "; + } + } + $this->_query = rtrim($this->_query, ', ') . " "; + } + /** + * Abstraction method that will build the LIMIT part of the WHERE statement + * + * @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) + * or only $count + * + * @return void + */ + protected function _buildLimit($numRows) + { + if (!isset($numRows)) { + return; + } + if (is_array($numRows)) { + $this->_query .= ' LIMIT ' . (int) $numRows[0] . ', ' . (int) $numRows[1]; + } else { + $this->_query .= ' LIMIT ' . (int) $numRows; + } + } + /** + * Method attempts to prepare the SQL query + * and throws an error if there was a problem. + * + * @return mysqli_stmt + */ + protected function _prepareQuery() + { + if (!$stmt = $this->mysqli()->prepare($this->_query)) { + $msg = "Problem preparing query ($this->_query) " . $this->mysqli()->error; + $this->reset(); + throw new Exception($msg); + } + if ($this->traceEnabled) { + $this->traceStartQ = microtime(true); + } + return $stmt; + } + /** + * Close connection + * + * @return void + */ + public function __destruct() + { + if ($this->isSubQuery) { + return; + } + if ($this->_mysqli) { + $this->_mysqli->close(); + $this->_mysqli = null; + } + } + /** + * Referenced data array is required by mysqli since PHP 5.3+ + * + * @param array $arr + * + * @return array + */ + protected function refValues(array &$arr) + { + //Reference in the function arguments are required for HHVM to work + //https://github.com/facebook/hhvm/issues/5155 + //Referenced data array is required by mysqli since PHP 5.3+ + if (strnatcmp(phpversion(), '5.3') >= 0) { + $refs = array(); + foreach ($arr as $key => $value) { + $refs[$key] = & $arr[$key]; + } + return $refs; + } + return $arr; + } + /** + * Function to replace ? with variables from bind variable + * + * @param string $str + * @param array $vals + * + * @return string + */ + protected function replacePlaceHolders($str, $vals) + { + $i = 1; + $newStr = ""; + if (empty($vals)) { + return $str; + } + while ($pos = strpos($str, "?")) { + $val = $vals[$i++]; + if (is_object($val)) { + $val = '[object]'; + } + if ($val === null) { + $val = 'NULL'; + } + $newStr .= substr($str, 0, $pos) . "'" . $val . "'"; + $str = substr($str, $pos + 1); + } + $newStr .= $str; + return $newStr; + } + /** + * Method returns last executed query + * + * @return string + */ + public function getLastQuery() + { + return $this->_lastQuery; + } + /** + * Method returns mysql error + * + * @return string + */ + public function getLastError() + { + if (!$this->_mysqli) { + return "mysqli is null"; + } + return trim($this->_stmtError . " " . $this->mysqli()->error); + } + /** + * Mostly internal method to get query and its params out of subquery object + * after get() and getAll() + * + * @return array + */ + public function getSubQuery() + { + if (!$this->isSubQuery) { + return null; + } + array_shift($this->_bindParams); + $val = Array('query' => $this->_query, + 'params' => $this->_bindParams, + 'alias' => $this->host + ); + $this->reset(); + return $val; + } + + /* Helper functions */ + /** + * Method returns generated interval function as a string + * + * @param string $diff interval in the formats: + * "1", "-1d" or "- 1 day" -- For interval - 1 day + * Supported intervals [s]econd, [m]inute, [h]hour, [d]day, [M]onth, [Y]ear + * Default null; + * @param string $func Initial date + * + * @return string + */ + public function interval($diff, $func = "NOW()") + { + $types = Array("s" => "second", "m" => "minute", "h" => "hour", "d" => "day", "M" => "month", "Y" => "year"); + $incr = '+'; + $items = ''; + $type = 'd'; + if ($diff && preg_match('/([+-]?) ?([0-9]+) ?([a-zA-Z]?)/', $diff, $matches)) { + if (!empty($matches[1])) { + $incr = $matches[1]; + } + if (!empty($matches[2])) { + $items = $matches[2]; + } + if (!empty($matches[3])) { + $type = $matches[3]; + } + if (!in_array($type, array_keys($types))) { + throw new Exception("invalid interval type in '{$diff}'"); + } + $func .= " " . $incr . " interval " . $items . " " . $types[$type] . " "; + } + return $func; + } + /** + * Method returns generated interval function as an insert/update function + * + * @param string $diff interval in the formats: + * "1", "-1d" or "- 1 day" -- For interval - 1 day + * Supported intervals [s]econd, [m]inute, [h]hour, [d]day, [M]onth, [Y]ear + * Default null; + * @param string $func Initial date + * + * @return array + */ + public function now($diff = null, $func = "NOW()") + { + return array("[F]" => Array($this->interval($diff, $func))); + } + /** + * Method generates incremental function call + * + * @param int $num increment by int or float. 1 by default + * + * @throws Exception + * @return array + */ + public function inc($num = 1) + { + if (!is_numeric($num)) { + throw new Exception('Argument supplied to inc must be a number'); + } + return array("[I]" => "+" . $num); + } + /** + * Method generates decrimental function call + * + * @param int $num increment by int or float. 1 by default + * + * @return array + */ + public function dec($num = 1) + { + if (!is_numeric($num)) { + throw new Exception('Argument supplied to dec must be a number'); + } + return array("[I]" => "-" . $num); + } + /** + * Method generates change boolean function call + * + * @param string $col column name. null by default + * + * @return array + */ + public function not($col = null) + { + return array("[N]" => (string) $col); + } + /** + * Method generates user defined function call + * + * @param string $expr user function body + * @param array $bindParams + * + * @return array + */ + public function func($expr, $bindParams = null) + { + return array("[F]" => array($expr, $bindParams)); + } + /** + * Method creates new mysqlidb object for a subquery generation + * + * @param string $subQueryAlias + * + * @return MysqliDb + */ + public static function subQuery($subQueryAlias = "") + { + return new self(array('host' => $subQueryAlias, 'isSubQuery' => true)); + } + /** + * Method returns a copy of a mysqlidb subquery object + * + * @return MysqliDb new mysqlidb object + */ + public function copy() + { + $copy = unserialize(serialize($this)); + $copy->_mysqli = null; + return $copy; + } + /** + * Begin a transaction + * + * @uses mysqli->autocommit(false) + * @uses register_shutdown_function(array($this, "_transaction_shutdown_check")) + */ + public function startTransaction() + { + $this->mysqli()->autocommit(false); + $this->_transaction_in_progress = true; + register_shutdown_function(array($this, "_transaction_status_check")); + } + /** + * Transaction commit + * + * @uses mysqli->commit(); + * @uses mysqli->autocommit(true); + */ + public function commit() + { + $result = $this->mysqli()->commit(); + $this->_transaction_in_progress = false; + $this->mysqli()->autocommit(true); + return $result; + } + /** + * Transaction rollback function + * + * @uses mysqli->rollback(); + * @uses mysqli->autocommit(true); + */ + public function rollback() + { + $result = $this->mysqli()->rollback(); + $this->_transaction_in_progress = false; + $this->mysqli()->autocommit(true); + return $result; + } + /** + * Shutdown handler to rollback uncommited operations in order to keep + * atomic operations sane. + * + * @uses mysqli->rollback(); + */ + public function _transaction_status_check() + { + if (!$this->_transaction_in_progress) { + return; + } + $this->rollback(); + } + /** + * Query exection time tracking switch + * + * @param bool $enabled Enable execution time tracking + * @param string $stripPrefix Prefix to strip from the path in exec log + * + * @return MysqliDb + */ + public function setTrace($enabled, $stripPrefix = null) { + $this->traceEnabled = $enabled; + $this->traceStripPrefix = $stripPrefix; + return $this; + } + + private function _traceGetCaller() { + $dd = debug_backtrace(); + $caller = next($dd); + while (isset($caller) && $caller["file"] == __FILE__) { + $caller = next($dd); + } + return __CLASS__."->".$caller["function"]."() >> file \"".str_replace($this->traceStripPrefix, '', $caller["file"])."\" line #".$caller["line"]." "; + } + + public function tableExists($tables) { + $tables = !is_array($tables) ? array($tables) : $tables; + $count = count($tables); + if($count == 0) { + return false; + } + array_walk($tables, function (&$value, $key) { $value = self::$prefix.$value; }); + $this->where('table_schema', $this->db); + $this->where('table_name', $tables, 'IN'); + $this->get('information_schema.tables', $count); + return $this->count == $count; + } + + public function map($idField) { + $this->_mapKey = $idField; + return $this; + } + + public function paginate($table, $page, $fields = null) { + $offset = $this->pageLimit * ($page - 1); + $res = $this->withTotalCount()->get ($table, array($offset, $this->pageLimit), $fields); + $this->totalPages = ceil($this->totalCount / $this->pageLimit); + return $res; + } +} \ No newline at end of file diff --git a/classes/battle_new.class.php b/classes/battle_new.class.php new file mode 100644 index 0000000..1a0abd5 --- /dev/null +++ b/classes/battle_new.class.php @@ -0,0 +1,1995 @@ +mysql = $mysql; + $this->user = $user; + // перебираем варианты + if ($battle_id > 0) { + // ставим статус битвы на "есть битва" + $this->status = 1; + // вставляем драчующихся + $this->battle_data = mysql_fetch_array(mysql_query("SELECT `id`, `coment`, `teams`, `timeout`, `razmen_time`, `type`, `status`, `t1`, `t2`, `date`, `time_m`, `win`, `damage`, `to1`, `to2`, `exp`, `blood`, `t1hist`, `t2hist`, `magic`, `open`, `close`, `protivnik`, `protivnik_type`, `dungeon_bot`, `dn_id`, `aren_of`, `needbb`, `clone`, `fiz` FROM `battle` WHERE `id` = '{$battle_id}' LIMIT 1")); + $this->sort_teams(); + // получили дамагу + $this->damage = unserialize($this->battle_data['damage']); + // + $this->magic = unserialize($this->battle_data['magic']); + // кто драчуется? + $this->battle = unserialize($this->battle_data['teams']); + + // получаем экспу + $this->exp = unserialize($this->battle_data['exp']); + // таймі + $this->to1 = $this->battle_data['to1']; + $this->to2 = $this->battle_data['to2']; + + // ============СИСТЕМА БОТОВ================= + $bots = mysql_query('SELECT * FROM `bots` WHERE `battle` = ' . $battle_id . ' AND `hp` > 0;'); + while ($bot = mysql_fetch_array($bots)) { + $this->bots[$bot['id']] = $bot; + // листаем противников, и выставляем удары для живых персонажей + if ($bot['hp'] > 0) { + foreach ($this->battle[$bot['id']] as $k => $v) { + if ($this->battle[$bot['id']][$k][0] == 0 && $k < 10000000) { + mt_srand(microtime(true)); + $this->battle[$bot['id']][$k] = array(mt_rand(1, 4), mt_rand(1, 6), time()); + $this->battle[$k][$bot['id']] = array(0, 0, time()); + } + if ($this->battle[$k][$bot['id']][0] == 0 && $k < 10000000) { + if (in_array($user['id'], array_keys($this->battle[$bot['id']]))) { + //echo "111"; + // если я противник бота + if ($this->my_class == 'B2') { + if ($this->to2 <= $this->to1) { + $endr = ((time() - $this->to2) > $this->battle_data['timeout'] * 60); + } + } else { + if ($this->to2 >= $this->to1) { + $endr = ((time() - $this->to1) > $this->battle_data['timeout'] * 60); + } + } + if ($endr && !$uje) { + $uje = true; + // если сдул - заканчиваем бой + $this->add_log("" . date("H:i") . " Бой закончен по таймауту.
    "); + + //$this->write_log (); + foreach ($this->battle[$bot['id']] as $k => $v) { + if ($k > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = ' . $k . ' LIMIT 1;')); + $us['hp'] = $bots['hp']; + } else { + $us = mysql_fetch_array(mysql_query('SELECT `hp` FROM `users` WHERE `id` = ' . $k . ' LIMIT 1;')); + } + if ($us && (int)$us['hp'] > 0) { + $tr = settravma($k, 0, 86400, 1); + $this->add_log('' . date("H:i") . ' ' . nick7($k) . ' получил повреждение: ' . $tr . '
    '); + } + } + //$this->write_log (); + foreach ($this->battle[$bot['id']] as $k => $v) { + mysql_query('UPDATE users SET `hp` =0, `fullhptime` = ' . time() . ' WHERE `id` = ' . $k . ';'); + } + } + } + } + } + $this->update_battle(); + } + } + //============================================== + + if ($_POST['enemy'] > 0) { + // ударяемся + $this->razmen_init($_POST['enemy'], $_POST['attack'], $_POST['defend']); +// header ("Location:main.php"); + } + + + if (isset($_GET['smena'], $_POST['smena'])) { + $sm = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `battle`, `bot`, `hp` FROM `users` WHERE `login` = "' . mysql_real_escape_string($_POST['smena']) . '" AND `battle` = "' . $user['battle'] . '" AND `hp` > 0 LIMIT 1')); + if (isset($sm['id'])) { + if ($sm['bot'] > 0) { + $bt = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `name` = "' . mysql_real_escape_string($_POST['smena']) . '" LIMIT 1')); + if (isset($bt['id'])) { + if ($bt['hp'] > 0) { + $mb = $this->select_enemy2($bt['id']); + $i = 0; + $mb2 = 0; + while ($i < count($mb)) { + if ($mb[$i] == $sm['id']) { + $mb2 = 1; + } + $i++; + } + + if ($mb2 == 1) { + $this->enemy = $bt['id']; + $_SESSION['enemy'] = $bt['id']; + } + echo "
    Успешно сменили противника
    "; + } else { + echo "
    Персонаж мертв
    "; + } + } + } else { + $mb = $this->select_enemy2($sm['id']); + $i = 0; + $mb2 = 0; + while ($i < count($mb)) { + if ($mb[$i] == $sm['id']) { + $mb2 = 1; + } + $i++; + } + + if ($mb2 == 1) { + $this->enemy = $sm['id']; + $_SESSION['enemy'] = $sm['id']; + } + echo "
    Успешно сменили противника
    "; + } + } else { + $sm = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `name` = "' . mysql_real_escape_string($_POST['smena']) . '" AND `battle` = ' . $user['battle'] . ' LIMIT 1')); + if (isset($sm['id'])) { + if ($sm['hp'] > 0) { + if (in_array($sm['id'], $this->team_enemy)) { + $mb = $this->select_enemy2($sm['id']); + $i = 0; + $mb2 = 0; + while ($i < count($mb)) { + if ($mb[$i] == $sm['id']) { + $mb2 = 1; + } + $i++; + } + + if ($mb2 == 1) { + $this->enemy = $sm['id']; + $_SESSION['enemy'] = $sm['id']; + } + + echo "
    Успешно сменили противника
    "; + + } else { + echo "
    Персонаж в вашей команде
    "; + } + } else { + $t = mysql_real_escape_string($_POST['smena']); + echo "
    Персонаж мертв
    "; + } + } else { + echo "
    Персонаж не найден
    "; + } + } + } + + $this->sort_teams(); + $this->fast_death(); + // вібираем вражину + $this->enemy = (int)$this->select_enemy(); + if ($this->enemy > 0) { + // табличка удара-блока + $this->return = 1; + } else { + //проверяем тайм + if ($this->get_timeout() && $this->user['hp'] > 0) { + // табличка тайма + $this->return = 3; + } else { + // ожидаем хода... + $this->return = 2; + } + } + if ($_POST['victory_time_out2']) { + $this->end_draft(); + } + if ($_POST['victory_time_out']) { + $this->end_gora(); + } + if ($this->battle_end()) { + $this->return = 2; + } + + $this->write_log(); // пишем лог + + return $this->return; + } else { + // ставим статус битвы на "нет битвы" + $this->status = 0; + //header ("Location:main.php"); + //die(); + //$this->return = 5; + //return $this->return; + } + } + + function sort_teams() + { + // режем тимзы + $this->t1 = explode(";", $this->battle_data['t1']); + $this->t2 = explode(";", $this->battle_data['t2']); + // проставляем кто-где + if (in_array($this->user['id'], $this->t1)) { + $this->my_class = "B1"; + $this->en_class = "B2"; + $this->team_mine = $this->t1; + $this->team_enemy = $this->t2; + } else { + $this->my_class = "B2"; + $this->en_class = "B1"; + $this->team_mine = $this->t2; + $this->team_enemy = $this->t1; + } + } + + function add_log($text) + { + $this->log .= $text; + } + + /*------------------------------------------------------------------- + проверка и выставление конца боя + --------------------------------------------------------------------*/ + + function update_battle() + { + return mysql_query('UPDATE `battle` SET `exp` = \'' . serialize($this->exp) . '\', `teams` = \'' . serialize($this->battle) . '\', `damage` = \'' . serialize($this->damage) . '\' WHERE `id` = ' . $this->battle_data['id'] . ' ;'); + } + + /*------------------------------------------------------------------- + gora - я победил +--------------------------------------------------------------------*/ + + function razmen_init($enemy, $attack, $defend) + { + // проверяем прафильность + if (($attack == 1 OR $attack == 2 OR $attack == 3 OR $attack == 4 OR $attack == 5) && $defend < 5 && $defend > 0 && $enemy && $this->user['hp'] > 0) { + if ($this->battle[$enemy][$this->user['id']][0] > 0) { + // ================================== + $this->add_log($this->get_comment()); // комментатор + // х-ки драчующихся + $mf = $this->solve_mf($enemy, $attack); + // проверяем кто куда попал + // удар по мне + $uvorotme = $this->get_chanse($mf['me']['uvorot']); + $krithe = $this->get_chanse($mf['he']['krit']); + + + if ($uvorotme && !$krithe) { + $uve = 1; + } else if (!$uvorotme && $krithe) { + $uve = 2; + } elseif ($uvorotme && $krithe) { + $uve = rand(1, 2); + } else { + $uve = 0; + } + + if ($uve == 1) { + // я увернулся; + $this->add_log($this->razmen_log("uvorot", $this->battle[$enemy][$this->user['id']][0], $this->get_wep_type($this->enemyhar['weap']), 0, $enemy, $this->en_class, $this->user['id'], $this->my_class, 0, 0)); + } elseif ($uve == 2) { + // меня кританули + if (!$this->get_block("me", $this->battle[$enemy][$this->user['id']][0], $defend, $enemy)) { + $hs = 1; + $m = 'a'; + } else { + $hs = 2; + $m = ''; + } + $this->damage[$enemy] += ($mf['he']['udar'] * $hs); + $jv = ($this->user['hp'] - $mf['he']['udar'] * $hs); + + $this->exp[$enemy] += SolveExp($enemy, $this->user['id'], $mf['he']['udar'] * $hs); + + $this->add_log($this->razmen_log("krit" . $m, $this->battle[$enemy][$this->user['id']][0], $this->get_wep_type($this->enemyhar['weap']), ($mf['he']['udar'] * $hs), $enemy, $this->en_class, $this->user['id'], $this->my_class, ($this->user['hp'] - $mf['he']['udar'] * $hs), $this->user['maxhp'])); + mysql_query('UPDATE users SET `hp` = `hp` - ' . ($mf['he']['udar'] * $hs) . ' WHERE `id` = ' . $this->user['id'] . ''); + } elseif ($this->get_block("me", $this->battle[$enemy][$this->user['id']][0], $defend, $enemy)) { + // противник попал куда надо + $this->damage[$enemy] += ($mf['he']['udar']); + $jv = ($this->user['hp'] - $mf['he']['udar']); + + $this->exp[$enemy] += SolveExp($enemy, $this->user['id'], $mf['he']['udar']); + + $this->add_log($this->razmen_log("udar", $this->battle[$enemy][$this->user['id']][0], $this->get_wep_type($this->enemyhar['weap']), $mf['he']['udar'], $enemy, $this->en_class, $this->user['id'], $this->my_class, ($this->user['hp'] - $mf['he']['udar']), $this->user['maxhp'])); + mysql_query('UPDATE users SET `hp` = `hp` - ' . ($mf['he']['udar']) . ' WHERE `id` = ' . $this->user['id'] . ''); + } else { + // противник мазила + $this->add_log($this->razmen_log("block", $this->battle[$enemy][$this->user['id']][0], $this->get_wep_type($this->enemyhar['weap']), 0, $enemy, $this->en_class, $this->user['id'], $this->my_class, 0, 0)); + } + + + $uvorothe = $this->get_chanse($mf['he']['uvorot']); + $kritme = $this->get_chanse($mf['me']['krit']); + + + if ($uvorothe && !$kritme) { + $uve = 1; + } else if (!$uvorothe && $kritme) { + $uve = 2; + } elseif ($uvorothe && $kritme) { + $uve = rand(1, 2); + } else { + $uve = 0; + } + // удар по противнику + if ($uve == 1) { + // он увернулся; + $this->add_log($this->razmen_log("uvorot", $attack, $this->get_wep_type($this->user['weap']), 0, $this->user['id'], $this->my_class, $enemy, $this->en_class, 0, 0)); + } elseif ($uve == 2) { + // его кританули + if (!$this->get_block("he", $attack, $this->battle[$enemy][$this->user['id']][1], $enemy)) { + $hs = 1; + $m = 'a'; + } else { + $hs = 2; + $m = ''; + } + $this->damage[$this->user['id']] += ($mf['me']['udar'] * $hs); + + $this->exp[$this->user['id']] += SolveExp($this->user['id'], $enemy, $mf['me']['udar'] * $hs); + + $this->add_log($this->razmen_log("krit" . $m, $attack, $this->get_wep_type($this->user['weap']), ($mf['me']['udar'] * $hs), $this->user['id'], $this->my_class, $enemy, $this->en_class, ($this->enemyhar['hp'] - $mf['me']['udar'] * $hs), $this->enemyhar['maxhp'])); + if ($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = `hp` - ' . ($mf['me']['udar'] * $hs) . ' WHERE `id` = ' . $enemy . ''); + } else { + mysql_query('UPDATE `users` SET `hp` = `hp` - ' . ($mf['me']['udar'] * $hs) . ' WHERE `id` = ' . $enemy . ''); + } + } elseif ($this->get_block("he", $attack, $this->battle[$enemy][$this->user['id']][1], $enemy)) { + // я попал куда надо + $this->damage[$this->user['id']] += ($mf['me']['udar']); + + $this->exp[$this->user['id']] += SolveExp($this->user['id'], $enemy, $mf['me']['udar']); + + $this->add_log($this->razmen_log("udar", $attack, $this->get_wep_type($this->user['weap']), $mf['me']['udar'], $this->user['id'], $this->my_class, $enemy, $this->en_class, ($this->enemyhar['hp'] - $mf['me']['udar']), $this->enemyhar['maxhp'])); + if ($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = `hp` - ' . ($mf['me']['udar']) . ' WHERE `id` = ' . $enemy . ''); + } else { + mysql_query('UPDATE `users` SET `hp` = `hp` - ' . ($mf['me']['udar']) . ' WHERE `id` = ' . $enemy . ''); + } + } else { + // я мазила + $this->add_log($this->razmen_log("block", $attack, $this->get_wep_type($this->user['weap']), 0, $this->user['id'], $this->my_class, $enemy, $this->en_class, 0, 0)); + } + + // обновить битку + $this->battle[$enemy][$this->user['id']] = array(0, 0, time()); + mysql_query("UPDATE `battle` SET `to1` = '" . time() . "',`to2` = '" . time() . "' WHERE `id` = " . $this->user['battle'] . " LIMIT 1;"); + + $this->update_battle(); + } else { + + // выставляем удар противнику... просто... + $this->battle[$this->user['id']][$enemy] = array($attack, $defend, time()); + if ($this->my_class == "B1" && $jv > 0) { + mysql_query("UPDATE `battle` SET `to1` = '" . time() . "', `to2` = '" . (time() - 1) . "' WHERE `id` = " . $this->user['battle'] . " LIMIT 1;"); + } elseif ($jv > 0) { + mysql_query("UPDATE `battle` SET `to2` = '" . time() . "', `to1` = '" . (time() - 1) . "' WHERE `id` = " . $this->user['battle'] . " LIMIT 1;"); + } else { + mysql_query("UPDATE `battle` SET `to2` = '" . time() . "', `to1` = '" . (time()) . "' WHERE `id` = " . $this->user['battle'] . " LIMIT 1;"); + } + // обновить битку + $this->update_battle(); + header("Location: " . $_SERVER['PHP_SELF'] . ""); + die(); + } + } else { + return false; + } + } + + /*------------------------------------------------------------------- + draft - ничья +--------------------------------------------------------------------*/ + + function get_comment() + { + $boycom = array( + 'А танцуешь ты лучше.', + 'А мы что, в прятки тут играем?', + 'А вы разве пингвинов никогда не видели?', + 'А, ведь когда-то, вы были красивыми… А теперь? Ну и рожи! Жуть!', + 'А потом еще труп пинать будут.', + 'А я вчера ночью за соседями подглядывал. Они точно так же кувыркались', + 'А ведь вы живых людей дубасите...', + 'А вот я вчера в зоопарке был...', + 'А вы в стройбате не служили?', + 'А вы видели, чтобы так на улице делали!?', + 'А вы знали что ёжики размножаются в интернете?', + 'А жить-то, как хочется:', + 'А из-за чего вы собственно дерётесь?', + 'А чего ржёте, вы ещё остальных не видели', + 'А что произойдёт если ты испугаешся до полусмерти дважды?!', + 'Больше так не делай. Ты же не садист?', + 'Без комментариев...', + 'Больно ведь!', + 'Быстро ты за монитор спрятался!', + 'Все хотят попасть в рай, но никто не хочет умирать!', + 'Вчера с такой девчонкой познакомился.', + 'Всего 5 минут знакомы, а дерутся, словно супруги с 20-ти летним стажем...', + 'Все. Я так больше не могу.', + 'В конце концов, кто-то победит?', + 'Вы чего, с дерева упали? ', + 'Возятся как сонные мухи... давайте я вам лучше анекдот расскажу: ...', + 'Вот видишь, как полезно чистить зубы на ночь?', + 'Вот вы все руками махаете, а за вами уже очередь', + 'Вот попадёте вы в плен и вас там будут долго бить. Но вы ничего не расскажете... и не потому, что вы такой стойкий, просто вы ничего не знаете', + 'Вы бы лучше пошли потренировались!', + 'Вы все еще разминаетесь? Позовите, когда кости в муку друг другу разминать будете.', + 'Вы же бойцы! Имейте совесть!', + 'Гаси недоумка!', + 'Да, если бы я смог это остановить, то получил бы нобелевскую премию "За мир" ', + 'Да куда они бьют?!', + 'Давайте быстрее! За вами уже очередь образовалась.', + 'Давайте обойдемся сегодня таймаутом. А? А то мне уже кошмары скоро будут сниться.', + 'Дерутся как девчонки!', + 'Дети, посмотрите налево... Ой!.. Нет, туда лучше не смотреть.', + 'Если так будет продолжаться, то скоро мы заснем!', + 'Если бы у меня было кресло-качалка, я бы в нём качался...', + 'Если вы что-то сказать хотите, то лучше молчите :)', + 'Жестокость не порок.', + 'Жизнь вне нашего клуба - это пустая трата кислорода!!!', + 'Жми! Дави! Кусай! Царапай!', + 'За такие бои надо в хаос отправлять!', + 'Знаете откуда в комиссионном магазине столько вещей? Это я после ваших гулянок собираю и сдаю туда. Иногда вместе с частями тела, застрявшими в них.', + 'Здесь люди так близки друг к другу. Просто иначе ударить нельзя.', + 'И пролитая кровь еще пульсирует...', + 'Инвалидов развелось...', + 'Какой бой!!!', + 'Кто!? Кто здесь?!', + 'Кто вас этому научил?', + 'Кузнечик, блин...', + 'Куплю импортный проигрыватель грампластинок.', + 'Лошадью ходи!', + 'Лучше враг, чем друг - враг.', + 'Ладно, вы тут пока друг друга за волосы таскайте, а я пойду, пообедаю.', + 'Мне ваш балет уже надоел!', + 'Может, начнется-таки настоящий бой???', + 'Мысли лезут в голову изнутри, а удары снаружи.', + 'Ну и где ваши коронные удары? Где живописные падения я спрашиваю!', + 'Ну, нельзя же так наотмашь лупить!', + 'Надо раньше было думать, теперь смертельно поздно...', + 'На такое зрелище билеты продавать можно. Народ ухохочется!', + 'Нет! Не надо драки! А... ладно деритесь, все равно не умеете.', + 'Нет, ну должен быть повод, должен же быть повод?', + 'Нет, я отказываюсь это комментировать!', + 'Не таких обламывали!', + 'Ну выпили вы рюмку, ну две... ну литр, ну два... так зачем же после этого драку затевать?!', + 'Ну и кто за этот погром платить будет?', + 'Ну и оскал у вас. Из вашей улыбки кастеты делать можно.', + 'Ну, что же ты..? Не печалься. Выше голову, так по ней удобней попасть.', + 'Ничего... Блок тоже удар.', + 'Обернись!!!.... Поздно...', + 'Ого! Научите меня так не делать.', + 'Осторожно! Сделаешь дырочку, уже не запломбируешь!', + 'Оно вам надо???', + 'Обычное дело...там что-то отклеилось.', + 'Ой, и заболтался я с вами...', + 'Он же не промахнётся если ты не отойдёшь!', + 'По-моему, кому-то светит инвалидность.', + 'Подкинь ему грабли, на которые он еще не наступал.', + 'Прав был кот Леопольд, давайте жить дружно?', + 'При ударе в живот нарушается кислотно-щелочной баланс.', + 'Проверь, не торчит ли у тебя нож из живота.', + 'Перестаньте мне орать!', + 'Подкинь ему грабли, на которые он еще не наступал.', + 'Прыгают тут как блохи... Все, я пошел за дихлофосом!', + 'Разбудите меня, когда это закончится...', + 'Ребенок сильнее ударил бы!', + 'Славно вмазал!', + 'Славно они веселятся', + 'Смотрю вот на вас, и слезы наворачиваются.', + 'Сначала учатся ходить, а потом только в драку лезут.', + 'Так они друг другу что-нибудь сломают.', + 'Так ты ему все кости переломаешь!', + 'У меня в подъезде точно так же соседа прессанули', + 'Убогих развелось...', + 'Ух ты, какой прыткий!', + 'Фашист!! Надо ж, так по больному месту врезать...', + 'Хватит бить его об угол моей кабинки! Мне же потом ее чинить.', + 'Хулиганы, прекратите немедленно!', + 'Хочешь, подскажу, куда он ударит?', + 'Хорошо, что у меня ловкости больше чем у вас всех, а то б вы и меня в инвалидную коляску посадили бы.', + 'Хороший бой!', + 'Хороший удар!', + 'Хиляк-разрядник!', + 'Что ты его за волосы схватил?! Отпусти немедленно!', + 'Щас я вас настигну, вот тогда мы и похохочем', + 'Это была какая-то неизвестная мне техника...', + 'Это же противник, а не глина! Хватит мяться!', + 'Это не бой, это издевательское избиение.', + 'Это поубавит спеси', + 'Это и был твой план "Б" ?', + 'Это была какая-то неизвестная мне техника...', + 'Я же предупреждал, - будет больно.', + 'Я не страдаю безумием. Я наслаждаюсь им каждую минуту :)', + 'Я красивый, я сильный, я умный, я добрый. А вот вы? Вы себя-то видели?!', + 'Я тоже умею драться, но не буду...', + '(тревожно озираясь) я вам по секрету скажу... за вами наблюдают!', + '<вырезано цензурой> после боя я этих <вырезано цензурой> обоих в <вырезано цензурой> и <вырезано цензурой>', + '<вырезано цензурой> каратисты фиговы'); + + // рандомайзим и шансуем ;) + if (mt_rand(0, 3) == 1) { + return '' . date("H:i") . ' Комментатор: ' . $boycom[mt_rand(0, count($boycom) - 1)] . '
    '; + } else { + return false; + } + } + + /*------------------------------------------------------------------- + мочим трупов +--------------------------------------------------------------------*/ + + function solve_mf($enemy, $myattack) + { + //БОНУСЫ! + $zo = mysql_fetch_row(mysql_query("SELECT id FROM effects WHERE type=201 AND owner=" . (int)$this->user['id'] . " LIMIT 1;")); + $zo1 = mysql_fetch_row(mysql_query("SELECT id FROM effects WHERE type=201 AND owner=" . (int)$this->enemyhar['id'] . " LIMIT 1;")); + $zo2 = mysql_fetch_row(mysql_query("SELECT id FROM effects WHERE type=205 AND owner=" . (int)$this->user['id'] . " LIMIT 1;")); + $zo3 = mysql_fetch_row(mysql_query("SELECT id FROM effects WHERE type=205 AND owner=" . (int)$this->enemyhar['id'] . " LIMIT 1;")); + $sokr = mysql_fetch_row(mysql_query("SELECT id FROM effects WHERE type=202 AND owner=" . (int)$this->user['id'] . " LIMIT 1;")); + $sokr1 = mysql_fetch_row(mysql_query("SELECT id FROM effects WHERE type=202 AND owner=" . (int)$this->enemyhar['id'] . " LIMIT 1;")); + $sokr2 = mysql_fetch_row(mysql_query("SELECT id FROM effects WHERE type=204 AND owner=" . (int)$this->user['id'] . " LIMIT 1;")); + $sokr3 = mysql_fetch_row(mysql_query("SELECT id FROM effects WHERE type=204 AND owner=" . (int)$this->enemyhar['id'] . " LIMIT 1;")); + $mfusil = @mysql_fetch_row(@mysql_query("SELECT id,name FROM effects WHERE type=50 AND owner=" . (int)$user['id'] . " LIMIT 1;")); + + $bmfud = $sokr[0] > 0 ? 1 : 0;//владение оружием ! + $bmfud = $sokr2[0] > 0 ? 1.5 : 0;//владение оружием ! + $bmfbron = $zo[0] > 0 ? 2 : 0;//броня + $bmfbron = $zo2[0] > 0 ? 5 : 0;//броня + $bmfuv = 0; + $bmfauv = 0; + $bmfakrit = 0; + $bmfkrit = 0; //модификаторы + $bmfuv += $mfusil['mfuvorot']; + $bmfauv += $mfusil['mfauvorot']; + $bmfakrit += $mfusil['mfakrit']; + $bmfkrit += $mfusil['mfkrit']; + $bmfud1 = $sokr1[0] > 0 ? 1 : 0;//владение оружием + $bmfud1 = $sokr3[0] > 0 ? 1.5 : 0;//владение оружием + $bmfbron1 = $zo1[0] > 0 ? 2 : 0;//броня + $bmfbron1 = $zo3[0] > 0 ? 5 : 0;//броня + $bmfuv1 = 0; + $bmfauv1 = 0; + $bmfakrit1 = 0; + $bmfkrit1 = 0; //модификаторы +// fixme что-то сделать с этой хернёй. рассчёт модификаторов работает не так! + if ($this->user['sila'] >= 25) $bmfud += 1; + if ($this->user['sila'] >= 50) $bmfud += 2; if ($this->user['sila'] >= 50) $bmfauv += 25; if ($this->user['sila'] >= 50) $bmfakrit += 25; + if ($this->user['sila'] >= 75) $bmfud += 3; if ($this->user['sila'] >= 75) $bmfauv += 30; if ($this->user['sila'] >= 75) $bmfakrit += 30; + if ($this->user['sila'] >= 100) $bmfud += 5; if ($this->user['sila'] >= 100) $bmfauv += 40; if ($this->user['sila'] >= 100) $bmfakrit += 40; + if ($this->user['sila'] >= 125) $bmfud += 11; if ($this->user['sila'] >= 125) $bmfauv += 50; if ($this->user['sila'] >= 125) $bmfakrit += 50; + if ($this->user['lovk'] >= 25) $bmfauv += 25; if ($this->user['lovk'] >= 25) $bmfakrit += 15; + if ($this->user['lovk'] >= 50) $bmfuv += 25; if ($this->user['lovk'] >= 50) $bmfauv += 25; if ($this->user['lovk'] >= 50) $bmfakrit += 10; + if ($this->user['lovk'] >= 75) $bmfuv += 40; if ($this->user['lovk'] >= 75) $bmfauv += 30; if ($this->user['lovk'] >= 75) $bmfakrit += 20; + if ($this->user['lovk'] >= 100) $bmfuv += 50; if ($this->user['lovk'] >= 100) $bmfauv += 40; if ($this->user['lovk'] >= 100) $bmfakrit += 30; + if ($this->user['lovk'] >= 125) $bmfuv += 65; if ($this->user['lovk'] >= 125) $bmfauv += 55; if ($this->user['lovk'] >= 125) $bmfakrit += 45; + if ($this->user['inta'] >= 25) $bmfauv += 15; + if ($this->user['inta'] >= 50) $bmfkrit += 20; if ($this->user['inta'] >= 50) $bmfauv += 25; if ($this->user['inta'] >= 50) $bmfakrit += 25; + if ($this->user['inta'] >= 75) $bmfkrit += 30; if ($this->user['inta'] >= 75) $bmfauv += 30; if ($this->user['inta'] >= 75) $bmfakrit += 30; + if ($this->user['inta'] >= 100) $bmfkrit += 40; if ($this->user['inta'] >= 100) $bmfauv += 40; if ($this->user['inta'] >= 100) $bmfakrit += 40; + if ($this->user['inta'] >= 125) $bmfkrit += 55; if ($this->user['inta'] >= 125) $bmfauv += 55; if ($this->user['inta'] >= 125) $bmfakrit += 55; + if ($this->user['vinos'] >= 25) $bmfbron += 2; + if ($this->user['vinos'] >= 50) $bmfauv += 25; if ($this->user['vinos'] >= 50) $bmfbron += 2; if ($this->user['vinos'] >= 50) $bmfakrit += 25; + if ($this->user['vinos'] >= 75) $bmfauv += 30; if ($this->user['vinos'] >= 75) $bmfbron += 3; if ($this->user['vinos'] >= 75) $bmfakrit += 30; + if ($this->user['vinos'] >= 100) $bmfauv += 40; if ($this->user['vinos'] >= 100) $bmfbron += 5; if ($this->user['vinos'] >= 100) $bmfakrit += 40; + if ($this->user['vinos'] >= 125) $bmfauv += 55; if ($this->user['vinos'] >= 125) $bmfbron += 8; if ($this->user['vinos'] >= 125) $bmfakrit += 55; + + if ($this->enemyhar['sila'] >= 25) $bmfud += 1; + if ($this->enemyhar['sila'] >= 50) $bmfud += 2; if ($this->enemyhar['sila'] >= 50) $bmfauv += 25; if ($this->enemyhar['sila'] >= 50) $bmfakrit += 25; + if ($this->enemyhar['sila'] >= 75) $bmfud += 3; if ($this->enemyhar['sila'] >= 75) $bmfauv += 30; if ($this->enemyhar['sila'] >= 75) $bmfakrit += 30; + if ($this->enemyhar['sila'] >= 100) $bmfud += 5; if ($this->enemyhar['sila'] >= 100) $bmfauv += 40; if ($this->enemyhar['sila'] >= 100) $bmfakrit += 40; + if ($this->enemyhar['sila'] >= 125) $bmfud += 11; if ($this->enemyhar['sila'] >= 125) $bmfauv += 65; if ($this->enemyhar['sila'] >= 125) $bmfakrit += 65; + if ($this->enemyhar['lovk'] >= 25) $bmfauv += 25; if ($this->enemyhar['lovk'] >= 25) $bmfakrit += 15; + if ($this->enemyhar['lovk'] >= 50) $bmfuv += 25; if ($this->enemyhar['lovk'] >= 50) $bmfauv += 25; if ($this->enemyhar['lovk'] >= 50) $bmfakrit += 10; + if ($this->enemyhar['lovk'] >= 75) $bmfuv += 40; if ($this->enemyhar['lovk'] >= 75) $bmfauv += 30; if ($this->enemyhar['lovk'] >= 75) $bmfakrit += 20; + if ($this->enemyhar['lovk'] >= 100) $bmfuv += 50; if ($this->enemyhar['lovk'] >= 100) $bmfauv += 40; if ($this->enemyhar['lovk'] >= 100) $bmfakrit += 30; + if ($this->enemyhar['lovk'] >= 125) $bmfuv += 65; if ($this->enemyhar['lovk'] >= 125) $bmfauv += 55; if ($this->enemyhar['lovk'] >= 125) $bmfakrit += 45; + if ($this->enemyhar['inta'] >= 25) $bmfauv += 15; + if ($this->enemyhar['inta'] >= 50) $bmfkrit += 20; if ($this->enemyhar['inta'] >= 50) $bmfauv += 25; if ($this->enemyhar['inta'] >= 50) $bmfakrit += 25; + if ($this->enemyhar['inta'] >= 75) $bmfkrit += 30; if ($this->enemyhar['inta'] >= 75) $bmfauv += 30; if ($this->enemyhar['inta'] >= 75) $bmfakrit += 30; + if ($this->enemyhar['inta'] >= 100) $bmfkrit += 40; if ($this->enemyhar['inta'] >= 100) $bmfauv += 40; if ($this->enemyhar['inta'] >= 100) $bmfakrit += 40; + if ($this->enemyhar['inta'] >= 125) $bmfkrit += 55; if ($this->enemyhar['inta'] >= 125) $bmfauv += 55; if ($this->enemyhar['inta'] >= 125) $bmfakrit += 55; + if ($this->enemyhar['vinos'] >= 25) $bmfbron += 2; + if ($this->enemyhar['vinos'] >= 50) $bmfauv += 25; if ($this->enemyhar['vinos'] >= 50) $bmfbron += 2; if ($this->enemyhar['vinos'] >= 50) $bmfakrit += 25; + if ($this->enemyhar['vinos'] >= 75) $bmfauv += 30; if ($this->enemyhar['vinos'] >= 75) $bmfbron += 3; if ($this->enemyhar['vinos'] >= 75) $bmfakrit += 30; + if ($this->enemyhar['vinos'] >= 100) $bmfauv += 40; if ($this->enemyhar['vinos'] >= 100) $bmfbron += 5; if ($this->enemyhar['vinos'] >= 100) $bmfakrit += 40; + if ($this->enemyhar['vinos'] >= 125) $bmfauv += 55; if ($this->enemyhar['vinos'] >= 125) $bmfbron += 8; if ($this->enemyhar['vinos'] >= 125) $bmfakrit += 55; + + //************* + + $mf = array(); + if ($enemy > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = ' . $enemy . ' LIMIT 1;')); + $this->enemyhar = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = \'' . $bots['prototype'] . '\' LIMIT 1;')); + $this->enemy_dress = mysql_fetch_array(mysql_query('SELECT sum(minu),sum(maxu),sum(mfkrit),sum(mfakrit),sum(mfuvorot),sum(mfauvorot),sum(bron1),sum(bron2),sum(bron3),sum(bron4) FROM `inventory` WHERE `dressed`=1 AND `owner` = \'' . $bots['prototype'] . '\' LIMIT 1;')); + $this->enemyhar['hp'] = $bots['hp']; + } else { + $this->enemyhar = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = \'' . $enemy . '\' LIMIT 1;')); + $this->enemy_dress = mysql_fetch_array(mysql_query('SELECT sum(minu),sum(maxu),sum(mfkrit),sum(mfakrit),sum(mfuvorot),sum(mfauvorot),sum(bron1),sum(bron2),sum(bron3),sum(bron4) FROM `inventory` WHERE `dressed`=1 AND `owner` = \'' . $enemy . '\' LIMIT 1;')); + } + $this->user_dress = mysql_fetch_array(mysql_query('SELECT sum(minu),sum(maxu),sum(mfkrit),sum(mfakrit),sum(mfuvorot),sum(mfauvorot),sum(bron1),sum(bron2),sum(bron3),sum(bron4) FROM `inventory` WHERE `dressed`=1 AND `owner` = \'' . $this->user['id'] . '\' LIMIT 1;')); + $this->enemy_dress[6] += $bmfbron1; + $this->enemy_dress[7] += $bmfbron1; + $this->enemy_dress[8] += $bmfbron1; + $this->enemy_dress[9] += $bmfbron1; + + $this->user_dress[6] += $bmfbron; + $this->user_dress[7] += $bmfbron; + $this->user_dress[8] += $bmfbron; + $this->user_dress[9] += $bmfbron; + + //print_r($this->user); + //print_r($this->enemyhar); + + // мои МФ в отношении противника + //mt_srand(microtime()); + + + $mykrit = $this->user_dress[2] + $this->user['inta'] * 2.95 + $bmfkrit; + //if($mykrit < 1) { $mykrit = 1; } elseif ($mykrit > 50) { $mykrit = 50; } + $heakrit = ($this->enemy_dress[3] + $this->enemyhar['inta'] * 2.75 + $this->enemyhar['lovk']) * 0 + $bmfakrit1; + //if($heakrit < 1) { $heakrit = 1; } elseif ($heakrit > 50) { $heakrit = 50; } + $myuvorot = $this->user_dress[4] + $this->user['lovk'] * 5 + $bmfuv; + //if($myuvorot < 1) { $myuvorot = 1; } elseif ($myuvorot > 50) { $myuvorot = 50; } + $heauvorot = $this->enemy_dress[5] + $this->enemyhar['lovk'] * 4 + $this->enemyhar['inta'] * 1.35 + $bmfauv1; + //if($heauvorot < 1) { $heauvorot = 1; } elseif ($heauvorot > 50) { $heauvorot = 50; } + + $mf['me'] = array( + 'udar' => rand(floor($this->user['sila'] / 3) + 1 + $this->user_dress[0], floor($this->user['sila'] / 3) + 5 + $this->user_dress[1]) - mt_rand(0, $this->enemy_dress[5 + $myattack] / 1.25), + //'krit' => (0-$this->enemy_dress[3]-floor($this->enemyhar['inta']*4)+$this->user_dress[2]+floor($this->user['inta']*4)), + //'uvorot' => (0-$this->enemy_dress[5]-floor($this->enemyhar['lovk']*4)+$this->user_dress[4]+floor($this->user['lovk']*4)), + 'krit' => $mykrit / $heakrit * 100 - 100, //(1-($heakrit+70)/($mykrit+70))*70, //(1 - $heakrit/$mykrit)*100, // + 'uvorot' => $myuvorot / $heauvorot * 100 - 100 //(1-($heauvorot+80)/($myuvorot+80))*53, //(1 - $heauvorot/$myuvorot)*0.8*100, // + ); + if ($mf['me']['udar'] < 1) { + $mf['me']['udar'] = 1; + } + if ($mf['me']['krit'] < 1) { + $mf['me']['krit'] = 1; + } elseif ($mf['me']['krit'] > 50) { + $mf['me']['krit'] = 50; + } + if ($mf['me']['uvorot'] < 1) { + $mf['me']['uvorot'] = 1; + } elseif ($mf['me']['uvorot'] > 65) { + $mf['me']['uvorot'] = 65; + } + if ($this->get_wep_type($this->user['weap']) == 'kulak' && $this->user['align'] == '2') { + $mf['me']['udar'] += $this->user['level']; + } + switch ($this->get_wep_type($this->user['weap'])) { + case "noj": + $mf['me']['udar'] += $this->user['noj']; + break; + case "dubina": + $mf['me']['udar'] += $this->user['dubina']; + break; + case "topor": + $mf['me']['udar'] += $this->user['topor']; + break; + case "mech": + $mf['me']['udar'] += $this->user['mec']; + break; + } + $mf['me']['udar'] += $bmfud; + // МФ врага в отношении меня + mt_srand(microtime()); + + $myakrit = $this->user_dress[3] + $this->user['inta'] * 2.75 + $this->user['lovk'] * 0 + $bmfakrit; + //if($myakrit < 1) { $myakrit = 1; } elseif ($myakrit > 50) { $myakrit = 50; } + $hekrit = $this->enemy_dress[2] + $this->enemyhar['inta'] * 2.95 + $bmfkrit1; + //if($hekrit < 1) { $hekrit = 1; } elseif ($hekrit > 50) { $hekrit = 50; } + $myauvorot = $this->user_dress[5] + $this->user['lovk'] * 4 + $this->user['inta'] * 1.35 + $bmfauv; + //if($myauvorot < 1) { $myauvorot = 1; } elseif ($myauvorot > 50) { $myauvorot = 50; } + $heuvorot = $this->enemy_dress[4] + $this->enemyhar['lovk'] * 5 + $this->enemyhar['inta'] * 0 + $bmfuv1; + + $mf['he'] = array( + 'udar' => rand(floor($this->enemyhar['sila'] / 3) + 1 + $this->enemy_dress[0], floor($this->enemyhar['sila'] / 3) + 4 + $this->enemy_dress[1]) - mt_rand(0, $this->user_dress[5 + $this->battle[$enemy][$this->user['id']][0]] / 1.25), + 'krit' => $hekrit / $myakrit * 100 - 100, //(1-($myakrit+70)/($hekrit+70))*70, //(1 - $myakrit/$hekrit)*100, // + 'uvorot' => $heuvorot / $myauvorot * 100 - 100 //(1-($myauvorot+80)/($heuvorot+80))*53, //(1 - $myauvorot/$heuvorot)*0.8*100, // + ); + if ($mf['he']['udar'] < 1) { + $mf['he']['udar'] = 1; + } + if ($mf['he']['krit'] < 1) { + $mf['he']['krit'] = 1; + } elseif ($mf['he']['krit'] > 50) { + $mf['he']['krit'] = 50; + } + if ($mf['he']['uvorot'] < 1) { + $mf['he']['uvorot'] = 1; + } elseif ($mf['he']['uvorot'] > 65) { + $mf['he']['uvorot'] = 65; + } + if ($this->get_wep_type($this->enemyhar['weap']) == 'kulak' && $this->enemyhar['align'] == '2') { + $mf['he']['udar'] += $this->enemyhar['level']; + } + switch ($this->get_wep_type($this->enemyhar['weap'])) { + case "noj": + $mf['he']['udar'] += $this->enemyhar['noj']; + break; + case "dubina": + $mf['he']['udar'] += $this->enemyhar['dubina']; + break; + case "topor": + $mf['he']['udar'] += $this->enemyhar['topor']; + break; + case "mech": + $mf['he']['udar'] += $this->enemyhar['mec']; + break; + } + $mf['he']['udar'] += $bmfud1; + if ($enemy > _BOTSEPARATOR_) { + $mf['he']['krit'] -= 6; + } + return $mf; + } + + /*------------------------------------------------------------------- + выставляем команды, и противников/союзников +--------------------------------------------------------------------*/ + + function get_wep_type($idwep) + { + if ($idwep == 0 || $idwep == null || $idwep == '') { + return "kulak"; + } + $wep = mysql_fetch_array(mysql_query('SELECT `otdel`,`minu` FROM `inventory` WHERE `id` = ' . $idwep . ' LIMIT 1;')); + if ($wep[0] == '1') { + return "noj"; + } elseif ($wep[0] == '12') { + return "dubina"; + } elseif ($wep[0] == '11') { + return "topor"; + } elseif ($wep[0] == '13') { + return "mech"; + } elseif ($wep[0] == 14) { + return "priklad"; + } elseif ($wep[1] > 0) { + return "buket"; + } else { + return "kulak"; + } + + } + + /*------------------------------------------------------------------- + считаем опыт +--------------------------------------------------------------------*/ + + function get_chanse($persent) + { + //srand(microtime()); + $mm = 1000000; + if (rand($mm, 100 * $mm) <= $persent * $mm) { + return true; + } else { + return false; + } + } + + /*------------------------------------------------------------------- + инициализируем размен +--------------------------------------------------------------------*/ + + function razmen_log($type, $kuda, $chem, $uron, $kto, $c1, $pokomy, $c2, $hp, $maxhp) + { + $this->write_stat(nick5($kto, $c1) . "|++|" . nick5($pokomy, $c2) . "|++|" . $type . "|++|" . $uron . "|++|" . $kuda . "|++|" . $chem); + //print_R(func_get_args()); + //echo $this->user['login']."------------------
    "; + if ($this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { + $sex1 = false; + } + if (!$this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { + $sex1 = true; + } + if ($this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { + $sex2 = false; + } + if (!$this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { + $sex2 = true; + } + + if ($this->user['sex'] && $kto == $this->user['id']) { + $sex1 = false; + } + if (!$this->user['sex'] && $kto == $this->user['id']) { + $sex1 = true; + } + if ($this->user['sex'] && $pokomy == $this->user['id']) { + $sex2 = false; + } + if (!$this->user['sex'] && $pokomy == $this->user['id']) { + $sex2 = true; + } + + if ($hp < 0) { + $hp = 0; + } + + $hiden_warior = mysql_fetch_array(mysql_query('SELECT `id`, `invis` FROM `users` WHERE `id` = "' . $pokomy . '" LIMIT 1')); + if ($hiden_warior['invis'] == 1) { + $hp = '??'; + $maxhp = '??'; + $uron = '??'; + } + + // текст по промазыванию + if (!$sex1) { + $textfail = array('думал о <вырезано цензурой>, вследствие чего', + 'пытался нанести удар, но ', + 'подскользнулся, и', + 'старался провести удар, но', + 'закашлялся, и', + 'пытался провести удар, но', + 'потерял самоконтроль, вследствие чего', + 'думал не о том, и'); + } else { + $textfail = array('думала о <вырезано цензурой>, вследствие чего', + 'пыталась нанести удар, но ', + 'подскользнулась, и', + 'старалась провести удар, но', + 'закашлялась, и', + 'пыталась провести удар, но ', + 'потеряла самоконтроль, вследствие чего', + 'думала не о том, и'); + } + // чем били + $textchem = array( + "kulak" => array("грудью", "ребром руки", "лбом", "кулаком", "ногой", "левой ногой", "правой ногой", "коленом"), + "noj" => array("ножом", "тыльной стороной лезвия ножа", "рукоятью ножа", "лезвием ножа"), + "dubina" => array("сучковатой палкой", "поленом", "тяжелой дубиной", "дубиной", "рукоятью молота"), + "topor" => array("секирой", "топором", "лезвием секиры", "алебардой", "тяжелым держаком", "длинной секирой"), + "mech" => array("ножнами", "гардой", "мечом", "лезвием меча", "рукоятью меча", "тупым лезвием", "острой стороной меча", "огромным мечом",), + "buket" => array("охапкой цветов", "веником", "букетом", "колючками", "снопом", "стеблем", "листьями", "бутоном",) + ); + $textchem = $textchem[$chem]; + // куда били + $udars = array( + '1' => array('в нос', 'в глаз', 'в челюсть', 'по переносице', 'в кадык', 'по затылку', 'в правый глаз', 'в левый глаз', 'в скулу'), + '2' => array('в грудь', 'в корпус', 'в солнечное сплетение', 'в сердце', 'в бок', 'в область лопаток', 'по желудку', 'по левой руке', 'по правой руке'), + '3' => array('по <вырезано цензурой>', 'в пах', 'в промежность', 'по левой ягодице', 'по правой ягодице'), + '4' => array('по ногам', 'в область правой пятки', 'в область левой пятки', 'по коленной чашечке', 'по икрам') + ); + $kuda = $udars[$kuda][mt_rand(0, count($udars[$kuda]) - 1)]; + //тест по попаданию + if (!$sex1) { + $hark = array('бесчувственный', 'расстроенный', 'храбрый', 'обезумевший', 'неустрашимый', 'злобный', 'жестокий', 'наглый', + 'разъяренный', 'продвинутый', 'хитрый', 'мужественный', '', '', '', '', '', ''); + } else { + $hark = array('бесчувственная', 'расстроенная', 'храбрая', 'обезумевшая', 'неустрашимая', 'злобная', 'жестокая', 'наглая', + 'разъяренная', 'продвинутая', 'хитрая', 'прекрасная', '', '', '', '', '', ''); + } + if (!$sex2) { + $hark2 = array('бесчувственный', 'расстроенный', 'храбрый', 'обезумевший', 'неустрашимый', 'злобный', 'жестокий', 'наглый', + 'разъяренный', 'продвинутый', 'хитрый', 'мужественный', '', '', '', '', '', ''); + } else { + $hark2 = array('бесчувственная', 'расстроенная', 'храбрая', 'обезумевшая', 'неустрашимая', 'злобная', 'жестокая', 'наглая', + 'разъяренная', 'продвинутая', 'хитрая', 'прекрасная', '', '', '', '', '', ''); + } + if (!$sex2) { + $textud = array('забылся, и тут', + 'замешкался, и за это', + 'растерялся, как вдруг', + 'ковырялся в зубах, и тут', + 'поперхнулся, но вдруг', + 'пытался что-то сказать но вдруг, неожиданно', + 'растерялся, как вдруг', + 'засмотрелся на <вырезано цензурой>, а в это время', + 'высморкался, и в это время', + 'думал не о том, и', + 'пришел в себя, но в это время', + 'обернулся, как внезапно'); + } else { + $textud = array('забылась, и тут', + 'замешкалась, и за это ', + 'растерялась, как вдруг ', + 'ковырялась в зубах, и тут ', + 'поперхнулась, но вдруг ', + 'пыталась что-то сказать но вдруг, неожиданно', + 'растерялась, как вдруг', + 'засмотрелась на <вырезано цензурой>, а в это время', + 'высморкалась, и в это время', + 'думала не о том, и', + 'пришла в себя, но в это время ', + 'обернулась, как внезапно'); + } + + switch ($type) { + // уворот + case "uvorot": + if ($sex2) { + $textuvorot = array(" уклонилась от удара ", " увернулась от удара ", " отскочила от удара "); + } else { + $textuvorot = array(" уклонился от удара ", " увернулся от удара ", " отскочил от удара "); + } + + return '' . date("[H:i:s]") . ' ' . nick5($kto, $c1) . ' ' . $textfail[rand(0, count($textfail) - 1)] . ' ' . $hark2[rand(0, count($hark2) - 1)] . ' ' . nick5($pokomy, $c2) . ' ' . $textuvorot[rand(0, count($textuvorot) - 1)] . ' ' . $textchem[rand(0, count($textchem) - 1)] . ' ' . $kuda . '.
    '; + break; + //блок + case "block": + if ($sex2) { + $textblock = array(" заблокировала удар ", " остановила удар ", " отбила удар "); + } else { + $textblock = array(" заблокировал удар ", " остановил удар ", " отбил удар "); + } + return '' . date("[H:i:s]") . ' ' . nick5($kto, $c1) . ' ' . $textfail[rand(0, count($textfail) - 1)] . ' ' . $hark2[rand(0, count($hark2) - 1)] . ' ' . nick5($pokomy, $c2) . ' ' . $textblock[rand(0, count($textblock) - 1)] . ' ' . $textchem[rand(0, count($textchem) - 1)] . ' ' . $kuda . '.
    '; + break; + //крит + case "krit": + if ($sex1) { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударила", ", сказав \"БУ!\", ласково ударила", ", расслабившись, ударила", ", показав сразу два пальца, ударила", ", напугав всех, укусила", ", проклиная этот сайт, ударила"); + } else { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударил", ", сказав \"БУ!\", ласково ударил", ", расслабившись, ударил", ", показав сразу два пальца, ударил", ", напугав всех, укусил", ", проклиная этот сайт, ударил"); + } + return '' . date("[H:i:s]") . ' ' . nick5($pokomy, $c2) . ' ' . $textud[rand(0, count($textud) - 1)] . ' ' . $hark[rand(0, count($hark) - 1)] . ' ' . nick5($kto, $c1) . ' ' . $textkrit[rand(0, count($textkrit) - 1)] . ' ' . $kuda . '.-' . $uron . ' [' . $hp . '/' . $maxhp . ']' . '
    '; + break; + //крит + case "krita": + if ($sex1) { + $textkrit = array(", напугав всех, неслышно подойдя сзади, пробив блок, ударила", ", сказав \"БУ!\", ласково, пробив блок, ударила", ", расслабившись, пробив блок, ударила", ", показав сразу два пальца, пробив блок, ударила", ", напугав всех, пробив блок, укусила", ", проклиная этот сайт, пробив блок, ударила"); + } else { + $textkrit = array(", напугав всех, неслышно подойдя сзади, пробив блок, ударил", ", сказав \"БУ!\", ласково, пробив блок, ударил", ", расслабившись, пробив блок, ударил", ", показав сразу два пальца, пробив блок, ударил", ", напугав всех, пробив блок, укусил", ", проклиная этот сайт, пробив блок, ударил"); + } + return '' . date("[H:i:s]") . ' ' . nick5($pokomy, $c2) . ' ' . $textud[rand(0, count($textud) - 1)] . ' ' . $hark[rand(0, count($hark) - 1)] . ' ' . nick5($kto, $c1) . ' ' . $textkrit[rand(0, count($textkrit) - 1)] . ' ' . $kuda . '.-' . $uron . ' [' . $hp . '/' . $maxhp . ']' . '
    '; + break; + // попадание + case "udar": + if ($sex1) { + $textudar = array(", разбежавшись, рубанула", " отчаянно проткнула ", " нехотя уколола ", " не подумав, рубанула ", ", улыбаясь, саданула укол ", " приложила удар ", " ударила ", " сдуру вмазала "); + } else { + $textudar = array(", разбежавшись, рубанул", " отчаянно проткнул ", " нехотя уколол ", " не подумав, рубанул ", ", улыбаясь, саданул укол ", " приложил удар ", " ударил ", " сдуру вмазал "); + } + return '' . date("[H:i:s]") . ' ' . nick5($pokomy, $c2) . ' ' . $textud[rand(0, count($textud) - 1)] . ' ' . $hark[rand(0, count($hark) - 1)] . ' ' . nick5($kto, $c1) . '' . $textudar[rand(0, count($textudar) - 1)] . ' ' . $textchem[rand(0, count($textchem) - 1)] . ' ' . $kuda . ' -' . $uron . ' [' . $hp . '/' . $maxhp . ']' . '
    '; + break; + } + } + + /*------------------------------------------------------------------ + получаем тип оружия +--------------------------------------------------------------------*/ + + function write_stat($text) + { + $fp = fopen("backup/stat/battle" . $this->user['battle'] . ".txt", "a"); //открытие + flock($fp, LOCK_EX); //БЛОКИРОВКА ФАЙЛА + fputs($fp, $text . "\n"); //работа с файлом + fflush($fp); //ОЧИЩЕНИЕ ФАЙЛОВОГО БУФЕРА И ЗАПИСЬ В ФАЙЛ + flock($fp, LOCK_UN); //СНЯТИЕ БЛОКИРОВКИ + fclose($fp); //закрытие + } + + /*------------------------------------------------------------------ + генератор ударов =) +--------------------------------------------------------------------*/ + + function get_block($komy, $att, $def, $enemy) + { + // по типам блоков + $blocks = array( + '1' => array(1, 2), + '2' => array(2, 3), + '3' => array(3, 4), + '4' => array(4, 1) + ); + /* $this->write_stat_block(nick5($this->user['id'],$this->my_class)."|++|".implode('/',$blocks[$def])); + $this->write_stat_block(nick5($enemy,$this->en_class)."|++|".implode('/',$blocks[$this->battle[$enemy][$this->user['id']][1]]));*/ + switch ($komy) { + case "me" : + if (!in_array($this->battle[$enemy][$this->user['id']][0], $blocks[$def])) { + return true; + } else { + return false; + } + break; + // бьем вражину + case "he" : + if (!in_array($att, $blocks[$this->battle[$enemy][$this->user['id']][1]])) { + return true; + } else { + return false; + } + break; + } + } + + /*------------------------------------------------------------------ + проверка на попадание "куда надо" +--------------------------------------------------------------------*/ + + function select_enemy2($smena_id) + { + if (($this->user['hp'] > 0) && $this->battle) { + foreach ($this->battle[$this->user['id']] as $k => $v) { + if ($this->battle[$this->user['id']][$smena_id][0] == 0) { + $enemys[] = $smena_id; + } + } + $_SESSION['enemy'] = $smena_id; + $this->enemy = $smena_id; + return $enemys; + } else { + return 0; + } + } + + /*------------------------------------------------------------------ + возвращает получился шанс или нет +--------------------------------------------------------------------*/ + + function fast_death() + { + // убиваем трупов + if ($this->battle) { + //$this->battle[$this->user['id']]=1; + foreach ($this->battle as $k => $v) { + if ($k > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = ' . $k . ' LIMIT 1;')); + $us = mysql_fetch_array(mysql_query('SELECT `hp`, `maxhp`, `sex`,`id`,`battle` FROM `users` WHERE `id` = ' . $bots['prototype'] . ' LIMIT 1;')); + $us['hp'] = $bots['hp']; + $us['battle'] = $bots['battle']; + } else { + $us = mysql_fetch_array(mysql_query('SELECT `hp`, `maxhp`, `sex`,`id`,`battle` FROM `users` WHERE `id` = ' . $k . ' LIMIT 1;')); + } + if ($us && (int)$us['hp'] <= 0) { + //$battle_data = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$this->user['battle'].' LIMIT 1;')); + //$war = unserialize($battle_data['teams']); + // unset($battle_data); + //$war=array_keys($war); + // if(in_array($k,$war)) { + unset($this->battle[$k]); + if ($us['sex'] == 1) { + $this->add_log('' . date("H:i") . ' ' . nick5($k, 'b') . ' проиграл бой!
    '); + } else { + $this->add_log('' . date("H:i") . ' ' . nick5($k, 'b') . ' проиграла бой!
    '); + } + mysql_query('UPDATE `users` SET `hp` = 0, `fullhptime` = ' . time() . ' WHERE `id` = \'' . $k . '\' LIMIT 1;'); + foreach ($this->battle as $kak => $vav) { + unset($this->battle[$kak][$k]); + } + //} + } + if ($k == null) { + //unset($this->battle[$k]); + foreach ($this->battle as $kak => $vav) { + unset($this->battle[$kak][$k]); + } + } + if ($us['battle'] == 0) { + //unset($this->battle[$k]); + foreach ($this->battle as $kak => $vav) { + //unset($this->battle[$kak][$k]); + } + } + unset($us); + } + // обновить битку + $this->update_battle(); + } + } + + /*------------------------------------------------------------------ + выбираем противничка +--------------------------------------------------------------------*/ + + function select_enemy() + { + if (($this->user['hp'] > 0) && $this->battle) { + foreach ($this->battle[$this->user['id']] as $k => $v) { + if ($this->battle[$this->user['id']][$k][0] == 0) { + $enemys[] = $k; + } + } + return $enemys[mt_rand(0, count($enemys) - 1)]; + } else { + return 0; + } + } + + /*------------------------------------------------------------------ + считаем модификаторы +--------------------------------------------------------------------*/ + + function get_timeout() + { + if ($this->battle) { + if ($this->my_class == 'B1') { + if ($this->to2 <= $this->to1) { + return ((time() - $this->to2) > $this->battle_data['timeout'] * 60); + } else { + return false; + } + } else { + if ($this->to2 >= $this->to1) { + return ((time() - $this->to1) > $this->battle_data['timeout'] * 60); + } else { + return false; + } + } + } + } + + /*------------------------------------------------------------------ + сейвим бой +--------------------------------------------------------------------*/ + + function end_draft() + { + //foreach ($this->battle[$this->user['id']] as $k => $v) { + if (!$this->user['in_tower']) { + if ($this->get_timeout()) { + $this->battle = null; + mysql_query("UPDATE users SET `battle` =0, `fullhptime` = " . time() . " WHERE `battle` = {$this->user['battle']}"); + $this->add_log("" . date("H:i") . " Бой закончен по таймауту. Ничья.
    "); + mysql_query("UPDATE battle SET `win` = 0 WHERE `id` = {$this->user['battle']}"); + $this->exp = null; + $this->write_log(); + } + } + } + + /*------------------------------------------------------------------ + генератор фраз комментатора +--------------------------------------------------------------------*/ + + function write_log() + { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.$this->log.'\') WHERE `id` = '.$this->user['battle'].''); + + $fp = fopen("backup/logs/battle" . $this->user['battle'] . ".txt", "a"); //открытие + flock($fp, LOCK_EX); //БЛОКИРОВКА ФАЙЛА + fputs($fp, $this->log); //работа с файлом + fflush($fp); //ОЧИЩЕНИЕ ФАЙЛОВОГО БУФЕРА И ЗАПИСЬ В ФАЙЛ + flock($fp, LOCK_UN); //СНЯТИЕ БЛОКИРОВКИ + fclose($fp); //закрытие + $this->log = ''; + } + + /*------------------------------------------------------------------ + есть ли тайм в советском союзе? +--------------------------------------------------------------------*/ + + function end_gora() + { + // я - царь горы + if ($this->get_timeout()) { + //$this->add_log("".date("H:i")." Бой закончен по таймауту.
    "); + //$this->write_log (); + + foreach ($this->team_mine as $v) { + if (in_array($v, array_keys($this->battle))) { + $vvv = $v; + // $this->add_log("
    ".$v); + } + } + $this->add_log("" . date("H:i") . " Бой закончен по таймауту.
    "); + + + foreach ($this->team_enemy as $v => $k) { + if ($k > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = ' . $k . ' LIMIT 1;')); + $us['hp'] = $bots['hp']; + } else { + $us = mysql_fetch_array(mysql_query('SELECT `hp` FROM `users` WHERE `id` = ' . $k . ' LIMIT 1;')); + } + if ($us && (int)$us['hp'] > 0) { + if (!$this->battle_data['blood']) { + $tr = settravma($k, 0, 86400, 1); + $this->add_log('' . date("H:i") . ' ' . nick7($k) . ' получил повреждение: ' . $tr . '
    '); + } + } + } + //$this->write_log (); + foreach ($this->team_enemy as $v => $k) { + mysql_query('UPDATE users SET `hp` =0, `fullhptime` = ' . time() . ' WHERE `id` = ' . $k . ';'); + } + header("Location:" . $_SERVER['PHP_SELF'] . "?batl=" . $this->user['battle']); + } + } + + /*------------------------------------------------------------------- + работа с логами +--------------------------------------------------------------------*/ + + function battle_end() + { + /////////////OPITO MODIFIKATORIUS: 1-100; 2 - 200; 3 - 300 ir tt. + global $opoitas, $caverooms, $user, $cavebots, $party, $rep; + $ddd = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = " . $user['id'] . " and `type` = 555 limit 1;")); + if ($ddd) { + $opitas = 1.1; + } else { + $opitas = 1; + } + + ////////////// + if ($this->battle_data) { + $ss = @array_keys($this->battle); + if ($this->user['id'] == 10022) { + //var_dump($ss, $this->t1); + } + $t1life = 0; + $t2life = 0; + // проверяем живность команд + foreach ($this->t1 as $k => $v) { + if (in_array($v, array_keys($this->battle))) { + $t1life++; + } + } + foreach ($this->t2 as $k => $v) { + if (in_array($v, array_keys($this->battle))) { + $t2life++; + } + } + if ($t2life == 0 OR $t1life == 0) { + $charge = mysql_fetch_array(mysql_query('SELECT `win` FROM `battle` WHERE `id` = ' . $this->battle_data['id'] . ' LIMIT 1;')); + } + if (($t2life == 0 OR $t1life == 0) && ($charge[0] == 3 || $charge[0] == 9)) { + + // ============================= конец боя ========================== + mysql_query("UPDATE battle SET `win` = 0 WHERE `id` = {$this->user['battle']}"); + + // оцениваем игроков + //$cost1 =0; $cost2 =0; $kula4ka = 0; $t2c =0; $t1c =0; $lvs1=0; $lvs2=0; $bxp = 0; + foreach ($this->t1 as $k => $v) { + $nks1[] = nick7($v); + $nks1hist[] = nick3($v); + } + $lvs1 = $lvs1 / ($t1c + 1); + foreach ($this->t2 as $k => $v) { + $nks2[] = nick7($v); + $nks2hist[] = nick3($v); + } + + // тима победителей + if (in_array($ss[0], $this->t1)) { + $flag = 1; + foreach ($this->t1 as $k => $v) { + mysql_query('UPDATE `battle` SET `win` = 1 WHERE `id` = ' . $this->user['battle'] . ' LIMIT 1'); + $this->t1[$k] = nick5($v, " "); + $this->exp[$v] = $this->exp[$v] * $opitas / 1; + $this->exp[$v] = round($this->exp[$v]); + + if ($this->user['x'] != 0 || $this->user['y'] != 0) { + if ($this->user['psh'] > 0) { + //Убиваем монстра, выдаем дроп + $lobj = mysql_fetch_array(mysql_query('SELECT * FROM `psh_bot` WHERE `dn` = "' . $this->user['psh'] . '" AND `x` = "' . $this->battle_data['x'] . '" AND `y` = "' . $this->battle_data['y'] . '" LIMIT 1')); + if (isset($lobj['id2']) && $this->user['psh'] > 0) { + mysql_query('DELETE FROM `psh_bot` WHERE `dn` = "' . $this->user['psh'] . '" AND `x` = "' . $this->battle_data['x'] . '" AND `y` = "' . $this->battle_data['y'] . '"'); + } + } else { + //Убиваем монстра, выдаем дроп + $lobj = mysql_fetch_assoc(mysql_query("SELECT * FROM `laba_obj` WHERE `lib` = '" . $this->user['laba'] . "' AND `x` = '" . $this->user['x'] . "' AND `y` = '" . $this->user['y'] . "'")); + if (isset($lobj['id'])) { + $q2 = mysql_fetch_array(mysql_query('SELECT * FROM `qst_user` WHERE `uid` = "' . $this->user['id'] . '" AND `cancel` = "0" AND `finish` = "0" LIMIT 1')); + if (isset($q2['id'])) { + $q1 = mysql_fetch_array(mysql_query('SELECT * FROM `qst` WHERE `id` = "' . $q2['qid'] . '" LIMIT 1')); + if ($q1['type'] == 3) { + //Выполняем квест на убийство + $jobs = 0; + $sp = mysql_query('SELECT * FROM `bots` WHERE `battle` = "' . $this->battle_data['id'] . '"'); + while ($pl = mysql_fetch_array($sp)) { + if ($q1['obj_id'] == $pl['prototype']) { + $jobs++; + } + } + mysql_query('UPDATE `qst_user` SET `val` = "' . ($q2['val'] + $jobs) . '" WHERE `id` = "' . $q2['id'] . '" LIMIT 1'); + } + } + mysql_query("UPDATE `laba_obj` SET `use` = '" . time() . "' WHERE `lib` = '" . $lobj['lib'] . "' AND `x` = '" . $lobj['x'] . "' AND `y` = '" . $lobj['y'] . "'"); + } + } + } + + ///////////////////////при победе = для подземки///////////////////////////////////// + $gess = mysql_query('SELECT * FROM `labirint` WHERE `user_id` = ' . $this->user['id'] . ''); + + if ($hokke = mysql_fetch_array($gess)) { + $glav_id = $hokke["glav_id"]; + $glava = $hokke["glava"]; + $nm = $hokke["boi"]; +///////////////////////////////////////////////////////////// + $DR = mysql_fetch_array(mysql_query("SELECT * FROM `canal_bot` WHERE `glava`='$glava' and `boi`= '$nm'")); + if ($DR) { + $bot = $DR["bot"]; + $nomer = $DR["nomer"]; +//////////////////////////////////////////////////////////////// + $shans1 = rand(0, 100); + $shans2 = rand(0, 100); + $shans3 = rand(0, 100); +//////////////////////////////////////////////////////////////// + $est = 0; + $d1 = 0; + $d2 = 0; + $d3 = 0; + if ($bot == '1' or $bot == '2' or $bot == '3' or $bot == '1.1' or $bot == '1.2' or $bot == '1.3' or $bot == '2.2' or $bot == '2.3' or $bot == '3.3' or $bot == '1.1.1' or $bot == '1.1.2' or $bot == '1.1.2' or $bot == '1.2.2' or $bot == '1.3.2' or $bot == '1.3.3' or $bot == '2.2.2' or $bot == '2.2.3' or $bot == '2.3.3' or $bot == '3.3.3' or $bot == '1.3.2') { + if ($bot == '1' and $bot == '2' and $bot == '3') { + if ($shans1 < '25') { + $d1 = 1; + } + } + if ($bot == '1.1' or $shans2 < '25' and $bot == '1.2' or $shans2 < '25' and $bot == '1.3' or $shans2 < '25' and $bot == '2.2' or $shans2 < '25' and $bot == '2.3' or $shans2 < '25' and $bot == '3.3') { + if ($shans1 < '25') { + $d1 = 1; + } + if ($shans2 < '25') { + $d2 = 1; + } + } + if ($bot == '1.1.1' or $shans3 < '25' and $bot == '1.1.2' or $shans3 < '25' and $bot == '1.1.2' or $shans3 < '25' and $bot == '1.2.2' or $shans3 < '25' and $bot == '1.3.2' or $shans3 < '25' and $bot == '1.3.3' or $shans3 < '25' and $bot == '2.2.2' or $shans3 < '25' and $bot == '2.2.3' or $shans3 < '25' and $bot == '2.3.3' or $shans3 < '25' and $bot == '3.3.3' or $shans3 < '25' and $bot == '1.3.2') { + if ($shans1 < '25') { + $d1 = 1; + } + if ($shans2 < '25') { + $d2 = 1; + } + if ($shans3 < '25') { + $d3 = 1; + } + } + + $est = $d1 + $d2 + $d3 + 500; + if ($est > '500') { + mysql_query("UPDATE podzem3 SET n$nomer='$est' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } else { + mysql_query("UPDATE podzem3 SET n$nomer='' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } + } + + + if ($bot == '4' or $bot == '5' or $bot == '6' or $bot == '8') { + if ($shans1 < '99') { + $est = 504; + } + if ($est > '500') { + mysql_query("UPDATE podzem3 SET n$nomer='$est' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } else { + mysql_query("UPDATE podzem3 SET n$nomer='' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } + } + + if ($bot == '7') { + if ($shans1 < '99') { + $est = 510; + } + if ($est == '510') { + mysql_query("UPDATE podzem3 SET n$nomer='$est' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } else { + mysql_query("UPDATE podzem3 SET n$nomer='' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } + if ($this->user['medal2'] == '0') { + mysql_query("UPDATE `users` SET `medal2`='1' WHERE `id`=" . $this->user['id'] . ""); + } + } +//////////////////////////2 etaz///////////////////////////////////////////////////////////////// + if ($bot == '9' or $bot == '11' or $bot == '9.9' or $bot == '11.11' or $bot == '9.9.9' or $bot == '11.11.11') { + + if ($bot == '9' or $bot == '11') { + if ($shans1 < '50') { + $d1 = 1; + } + } + if ($bot == '9.9' or $bot == '11.11') { + if ($shans1 < '99') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + } + if ($bot == '9.9.9' or $bot == '11.11.11') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + if ($shans3 < '50') { + $d3 = 1; + } + } + $est = $d1 + $d2 + $d3 + 600; + if ($est > '600') { + mysql_query("UPDATE podzem3 SET n$nomer='$est' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } else { + mysql_query("UPDATE podzem3 SET n$nomer='' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } + + }//////////Чистая гайка//////////////////////////////////////////////////// + if ($bot == '13' or $bot == '13.13' or $bot == '13.13.13') { + + if ($bot == '13') { + if ($shans1 < '50') { + $d1 = 1; + } + } + if ($bot == '13.13') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + } + if ($bot == '13.13.13') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + if ($shans3 < '50') { + $d3 = 1; + } + } + $est = $d1 + $d2 + $d3 + 603; + if ($est > '603') { + mysql_query("UPDATE podzem3 SET n$nomer='$est' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } else { + mysql_query("UPDATE podzem3 SET n$nomer='' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } + + }//////////Гайка с резьбой//////////////////////////////////////////////////// + if ($bot == '10' or $bot == '10.10' or $bot == '10.10.10') { + + if ($bot == '10') { + if ($shans1 < '50') { + $d1 = 1; + } + } + if ($bot == '10.10') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + } + if ($bot == '10.10.10') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + if ($shans3 < '50') { + $d3 = 1; + } + } + $est = $d1 + $d2 + $d3 + 606; + if ($est > '606') { + mysql_query("UPDATE podzem3 SET n$nomer='$est' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } else { + mysql_query("UPDATE podzem3 SET n$nomer='' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } + + }//////////длинный болт//////////////////////////////////////////////////// + if ($bot == '12' or $bot == '12.12' or $bot == '12.12.12' or $bot == '15' or $bot == '15.15' or $bot == '15.15.15' or $bot == '16' or $bot == '16.16' or $bot == '16.16.16') { + + if ($bot == '12' or $bot == '15' or $bot == '16') { + if ($shans1 < '50') { + $d1 = 1; + } + } + if ($bot == '12.12' or $bot == '15.15' or $bot == '16.16') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + } + if ($bot == '12.12.12' or $bot == '15.15.15' or $bot == '16.16.16') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + if ($shans3 < '50') { + $d3 = 1; + } + } + $est = $d1 + $d2 + $d3 + 609; + if ($est > '609') { + mysql_query("UPDATE podzem3 SET n$nomer='$est' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } else { + mysql_query("UPDATE podzem3 SET n$nomer='' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } + + }//////////Нужный болт//////////////////////////////////////////////////// + if ($bot == '14' or $bot == '14.14' or $bot == '14.14.14' or $bot == '17' or $bot == '17.17' or $bot == '17.17.17' or $bot == '18' or $bot == '18.18' or $bot == '18.18.18') { + + if ($bot == '14' or $bot == '17' or $bot == '18') { + if ($shans1 < '50') { + $d1 = 1; + } + } + if ($bot == '14.14' or $bot == '17.17' or $bot == '18.18') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + } + if ($bot == '14.14.14' or $bot == '17.17.17' or $bot == '18.18.18') { + if ($shans1 < '50') { + $d1 = 1; + } + if ($shans2 < '50') { + $d2 = 1; + } + if ($shans3 < '50') { + $d3 = 1; + } + } + $est = $d1 + $d2 + $d3 + 612; + if ($est > '612') { + mysql_query("UPDATE podzem3 SET n$nomer='$est' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } else { + mysql_query("UPDATE podzem3 SET n$nomer='' WHERE glava='$glava' and name='" . $hokke["name"] . "'"); + } + + }//////////Рабочий винтель//////////////////////////////////////////////////// + } + mysql_query("UPDATE `labirint` SET `boi`='0' WHERE `user_id`=" . $this->user['id'] . ""); + mysql_query("DELETE FROM `canal_bot` WHERE `nomer`='$nomer' and `glava`='$glava' and `boi`='$nm'"); + } +///////////////////////////////////////////////////////////////////////////////////////////////////// + + + include "darkness_quest.php"; + + $this->exp[$v] = round($this->exp[$v]); + $dop_exp = check_proc($this->user['id']); + if ($dop_exp > 100) { + $add = ($dop_exp - 100); + $this->exp[$v] += round(($this->exp[$v] * $add) / 100, 0); + } + + if ($user['caveleader'] > 0 || $user['laba'] > 0) { + if ($this->damage[$v] > 1) { + $this->exp[$v] = mt_rand(5, 10); + } else { + $this->exp[$v] = 0; + } + } + + if (empty($this->damage[$v])) { + $this->damage[$v] = 0; + } + + if ($user['caveleader'] > 0 || $user['laba'] > 0) { + $rep = floor($this->damage[$v] / 300); + if ($rep <= 0) { + $rep = 0; + } + $ads = '. Репутации: ' . $rep . ' ед.'; + } else { + $rep = 0; + $ads = '.'; + } + + if ($this->battle_data['clone'] == 1 && $this->battle_data['fiz'] == 0) { + $this->addAction(time(), 'kill_clone', 0, $this->user['id']); + echo ""; + } + + if ($this->battle_data['type'] == 3) { + $this->addAction(time(), 'win_haot', 0, $this->user['id']); + echo ""; + } + + if ($this->battle_data['fiz'] == 1) { + $this->addAction(time(), 'win_fiz', 0, $this->user['id']); + echo ""; + } + + addchp('Внимание! Победа! Бой окончен. Всего вами нанесено урона : ' . $this->damage[$v] . ' HP. Получено опыта : ' . $this->exp[$v] . ' (' . $dop_exp . '%)' . $ads . ' ', '{[]}' . nick7($v) . '{[]}'); + + mysql_query('UPDATE `users` SET `win` = (`win` +1), `fullhptime` = ' . time() . ' WHERE `id` = "' . $v . '"'); + GiveExp($v, $this->exp[$v]); + if ($user['caveleader'] > 0 || $user['laba'] > 0) { + GiveRep($v, $rep); + } + if ($user['klan']) { + mysql_query('UPDATE `clans` SET `clanexp` = (`clanexp`+' . (int)$this->exp[$user['id']] . ') WHERE `id` = "' . $v[$user['klan']] . '" LIMIT 1'); + } + + } + $winers .= implode(", ", $this->t1); + $lomka = $this->t2; + include('cave/win.php'); + } elseif (in_array($ss[0], $this->t2)) { + $flag = 2; + foreach ($this->t2 as $k => $v) { + mysql_query('UPDATE `battle` SET `win` = 2 WHERE `id` = "' . $this->user['battle'] . '" LIMIT 1'); + $this->t2[$k] = nick5($v, ""); + + if ($this->battle_data['aren_of'] == 1 && $this->t2[$k] && $v < _BOTSEPARATOR_) { + mysql_query('INSERT INTO `logs_arena` (`battle`, `user`, `uid`, `damage`, `team`) VALUES ("' . $this->user['battle'] . '", "' . $this->t1[$k] . '", "' . $v . '", "' . $this->damage[$v] . '", "2")'); + } + + if ($this->user['laba'] > 0) { + mysql_query('UPDATE `users` SET `x` = "' . $this->user['xf'] . '", `y` = "' . $this->user['yr'] . '" WHERE `id` = "' . $this->user['id'] . '" LIMIT 1'); + } + + $this->exp[$v] = round($this->exp[$v]); + $dop_exp = check_proc($this->user['id']); + if ($dop_exp > 100) { + $add = ($dop_exp - 100); + $this->exp[$v] += round(($this->exp[$v] * $add) / 100, 0); + } + + if ($user['caveleader'] > 0 || $user['laba'] > 0) { + if ($this->damage[$v] > 1) { + $this->exp[$v] = rand(5, 10); + } else { + $this->exp[$v] = 0; + } + } + + if ($this->battle_data['clone'] == 1 && $this->battle_data['fiz'] == 0) { + $this->addAction(time(), 'kill_clone', 0, $this->user['id']); + echo ""; + } + + if ($this->battle_data['type'] == 3) { + $this->addAction(time(), 'win_haot', 0, $this->user['id']); + echo ""; + } + + if ($this->battle_data['fiz'] == 1) { + $this->addAction(time(), 'win_fiz', 0, $this->user['id']); + echo ""; + } + mysql_query('UPDATE `users` SET `win` = (`win` +1), `fullhptime` = ' . time() . ' WHERE `id` = "' . $v . '"'); + GiveExp($v, $this->exp[$v]); + if ($user['caveleader'] > 0 || $user['laba'] > 0) { + GiveRep($v, $rep); + } + if ($user['klan']) { + mysql_query('UPDATE `clans` SET `clanexp` = (`clanexp`+' . (int)$this->exp[$user['id']] . ') WHERE `id` = "' . $v[$user['klan']] . '" LIMIT 1'); + } + + + } + $winers .= implode(", ", $this->t2); + $lomka = $this->t1; + } + + + mysql_query("UPDATE `users`, `bots` SET `users`.`fullhptime` = " . (time() + 300) . ",`users`.`hp` = `bots`.`hp` WHERE `users`.id=83 AND `bots`.prototype=83;"); + + + // ===================ломаем шмот============= + if (!empty($lomka)) { + foreach ($lomka as $k => $v) { + if (mt_rand(1, 3) == 1) { + $us = mysql_query('UPDATE `inventory` SET `duration`=`duration`+1 WHERE `type` <> 12 AND `dressed` = 1 AND `owner` = \'' . $v . '\';'); + } + $this->exp[$v] = 0; + addchp('Внимание! Бой окончен. Всего вами нанесено урона ' . (int)$this->damage[$v] . ' HP. Получено опыта 0. ', '{[]}' . nick7($v) . '{[]}'); + mysql_query('UPDATE `users` SET `lose`=`lose` +1 WHERE `id` = \'' . $v . '\';'); + // если поединок был кровавым - еще и ставм травмы + } + + + if (in_array($user['room'], $caverooms)) { + $location = mysql_fetch_array(mysql_query("SELECT `x`, `y`, `dir` FROM `caveparties` WHERE `user` = '" . $this->user['id'] . "' LIMIT 1")); + + if ($location['dir'] == 0) { + $y = $location['y'] * 2; + $x = ($location['x'] - 1) * 2; + } + if ($location['dir'] == 1) { + $y = ($location['y'] - 1) * 2; + $x = $location['x'] * 2; + } + if ($location['dir'] == 2) { + $y = $location['y'] * 2; + $x = ($location['x'] + 1) * 2; + } + if ($location['dir'] == 3) { + $y = ($location['y'] + 1) * 2; + $x = $location['x'] * 2; + } + mysql_query("UPDATE `cavebots` SET `battle` = 0 WHERE `battle` = '" . $this->battle_data['id'] . "'"); + + } + + if ($this->battle_data['x'] > 0 || $this->battle_data['y'] > 0 && $this->user['laba'] > 0) { + mysql_query('UPDATE `users` SET `x` = "' . $this->user['xf'] . '", `y` = "' . $this->user['yr'] . '" WHERE `laba` = "' . $this->user['laba'] . '" AND `x` = "' . $this->battle_data['x'] . '" AND `y` = "' . $this->battle_data['y'] . '" AND `battle` = "' . $this->battle_data['id'] . '" LIMIT 1'); + } + include("cave/lose.php"); + + + } + + foreach ($this->t1 as $k => $v) { + $us = mysql_query('SELECT duration, maxdur, name FROM `inventory` WHERE `type` <> 12 AND `dressed` = 1 AND `owner` = \'' . $v . '\';'); + while ($rrow = mysql_fetch_row($us)) { + if (($rrow[1] - $rrow[0]) == 1) + $this->add_log('' . date("[H:i:s]") . ' Внимание! У "' . nick7($v) . '" предмет "' . $rrow[2] . '" в критическом состоянии!
    (на правах рекламы) Ремонтная мастерская oldbbk. Мы даем вторую жизнь старым вещам!
    '); + elseif (($rrow[1] - $rrow[0]) == 2) + $this->add_log('' . date("[H:i:s]") . ' Внимание! У "' . nick7($v) . '" предмет "' . $rrow[2] . '" нуждается в ремонте!
    (на правах рекламы) Ремонтная мастерская oldbbk. Мы даем вторую жизнь старым вещам!
    '); + } + } + foreach ($this->t2 as $k => $v) { + $us = mysql_query('SELECT duration, maxdur, name FROM `inventory` WHERE `type` <> 12 AND `dressed` = 1 AND `owner` = \'' . $v . '\';'); + while ($rrow = mysql_fetch_row($us)) { + if (($rrow[1] - $rrow[0]) == 1) + $this->add_log('' . date("[H:i:s]") . ' Внимание! У "' . nick7($v) . '" предмет ' . $rrow[2] . ' в критическом состоянии!
    (на правах рекламы) Ремонтная мастерская oldbbk. Мы даем вторую жизнь старым вещам!
    '); + elseif (($rrow[1] - $rrow[0]) == 2) + $this->add_log('' . date("[H:i:s]") . ' Внимание! У "' . nick7($v) . '" предмет "' . $rrow[2] . '" нуждается в ремонте!
    (на правах рекламы) Ремонтная мастерская oldbbk. Мы даем вторую жизнь старым вещам!
    '); + } + } + + //============================================== + if ($winers) { + if (isset($_SESSION['botas'])) { + $_SESSION['botai'][$_SESSION['botas']][2] = 1; //uzmusam bota + } + $this->add_log('' . date("[H:i:s]") . ' ' . 'Бой закончен, победа за ' . $winers . '
    '); + if ($this->battle_data['blood']) { + $this->add_log('' . date("[H:i:s]") . ' ... и победители стали калечить проигравших...
    '); + foreach ($lomka as $k => $v) { + $tr = settravma($v, 0, 86400, 1); + $this->add_log('' . date("[H:i:s]") . ' ' . nick7($v) . ' получил повреждение: ' . $tr . '
    '); + } + } + } else { + $this->add_log('' . date("[H:i:s]") . ' ' . 'Бой закончен. Ничья.
    '); + $this->exp = null; +////////////////при Ничьей = для поземки/////////////////// + $sd = mysql_query("SELECT glav_id,boi,glava FROM `labirint` WHERE `user_id`=" . $this->user['id'] . ""); + if ($dd = mysql_fetch_array($sd)) { + $glav_id = $dd["glav_id"]; + $glava = $dd["glava"]; + $nm = $dd["boi"]; + mysql_query("DELETE FROM `canal_bot` WHERE `boi`='$nm' and `glava`='$glava'"); + mysql_query("UPDATE `labirint` SET `location`='16',`vector`='0',`dead`=dead+1,`t`='226',`l`='454',`boi`='0' WHERE `user_id`=" . $this->user['id'] . ""); + } +/////////////////////////////////// + } + + // sys + if ($flag == 1) { + $rr = implode("
    , ", $nks1) . " и " . implode(", ", $nks2); + } elseif ($flag == 2) { + $rr = implode(", ", $nks1) . " и " . implode(", ", $nks2) . ""; + } else { + $rr = implode(", ", $nks1) . " и " . implode(", ", $nks2) . ""; + } + // выносим хп-ку и выходим из боя + + mysql_query('UPDATE `battle` SET `t1hist` = \'' . implode(", ", $nks1hist) . '\', `t2hist` = \'' . implode(", ", $nks2hist) . '\' WHERE `id` = ' . $this->battle_data['id'] . ' ;'); + addch("battle_data['id'] . " target=_blank>Поединок между " . $rr . " закончен. ", $user['room']); + mysql_query('UPDATE `battle` SET `exp` = \'' . serialize($this->exp) . '\' WHERE `id` = ' . $this->battle_data['id'] . ' ;'); + mysql_query("DELETE FROM `bots` WHERE `battle` = {$this->user['battle']};"); + mysql_query("UPDATE users SET `battle` =0, `fullhptime` = " . time() . " WHERE `battle` = {$this->user['battle']}"); + echo mysql_error(); + unset($this->battle); + //header("Location: fbattle.php"); die(); + return true; + // ================================================================= + } + } + return false; + } + + function addAction($time, $vars, $vls, $uid) + { + $ins = mysql_query('INSERT INTO `actions` (`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`) VALUES ("' . $uid . '", "' . $time . '", "capitalcity", "0", "' . mysql_real_escape_string($vars) . '", "' . mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']) . '", "' . mysql_real_escape_string($vls) . '")'); + if ($ins) { + return true; + } else { + return false; + } + } + + function solve_exp($at_id, $def_id, $damage) + { + require_once('exp_koef.php'); + $baseexp = array( + + "0" => "5", + "1" => "10", + "2" => "20", + "3" => "30", + "4" => "60", + "5" => "120", + "6" => "180", + "7" => "230", + "8" => "350", + "9" => "500", + "10" => "800", + "11" => "1100", + "12" => "1200", + "13" => "1300", + "14" => "1400", + "15" => "1500" + ); + if ($at_id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = ' . $at_id . ' LIMIT 1;')); + $at_id = $bots['prototype']; + $bot_active = true; + } + $at = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '" . $at_id . "' LIMIT 1;")); + $at_cost = mysql_fetch_array(mysql_query("select 1+IFNULL((select SUM(cost) FROM inventory WHERE owner = users.id AND dressed=1),0), `align` FROM users WHERE id = " . $at_id . " LIMIT 1;")); + $kulak1 = mysql_fetch_array(mysql_query("select SUM(cost) FROM inventory WHERE owner = " . $at_id . " AND dressed=1 LIMIT 1;")); + + if ($def_id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = ' . $def_id . ' LIMIT 1;')); + $def_id = $bots['prototype']; + $bot_def = true; + } + $def = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '" . $def_id . "' LIMIT 1;")); + $def_cost = mysql_fetch_array(mysql_query("select 1+IFNULL((select SUM(cost) FROM inventory WHERE owner = users.id AND dressed=1),0), `align` FROM users WHERE id = " . $def_id . " LIMIT 1;")); + $kulak2 = mysql_fetch_array(mysql_query("select SUM(cost) FROM inventory WHERE owner = " . $def_id . " AND dressed=1 LIMIT 1;")); + + // модификаторы опыта + // 100% опыта + $expmf = 2; + // 200% опыта + //$expmf = 2; + + //первичка + if ($at['sergi'] == 0 && $at['kulon'] == 0 && $at['bron'] == 0 && $at['r1'] == 0 && $at['r2'] == 0 && $at['r3'] == 0 && $at['helm'] == 0 + && $at['perchi'] == 0 && $at['boots'] == 0 && $at['m1'] == 0 && $at['m2'] == 0 && $at['m3'] == 0 && $at['m4'] == 0 && $at['m5'] == 0 + && $at['m6'] == 0 && $at['m7'] == 0 && $at['m8'] == 0 && $at['m9'] == 0 && $at['m10'] == 0 + && $at['weap'] != 0 && $kulak1[0] < 17) { + $expmf = $expmf * $mods['perv']; + } + + //кулонка + if ($at['sergi'] == 0 && $at['bron'] == 0 && $at['helm'] == 0 + && $at['perchi'] == 0 && $at['boots'] == 0 && $at['m1'] == 0 && $at['m2'] == 0 && $at['m3'] == 0 && $at['m4'] == 0 && $at['m5'] == 0 + && $at['m6'] == 0 && $at['m7'] == 0 && $at['m8'] == 0 && $at['m9'] == 0 && $at['m10'] == 0 + && $at['weap'] != 0 && $at['kulon'] != 0 && $at['r1'] != 0 && $at['r2'] != 0 && $at['r3'] != 0) { + //mfkrit,mfakrit,mfuvorot,mfauvorot + $expmf = $expmf * $mods['kulon']; + } + + if ($this->battle_data['blood']) {//кровавые массовые + if (($this->t1 + $this->t2) >= $krov_bitv && ($this->t1 + $this->t2) < $krov_rez) $expmf = $expmf * $mods['krov_op']; + elseif (($this->t1 + $this->t2) >= $krov_rez && ($this->t1 + $this->t2) < $krov_sech) $expmf = $expmf * $mods['krovr_op']; + elseif (($this->t1 + $this->t2) >= $krov_sech) $expmf = $expmf * $mods['krovs_op']; + } else { //обычные массовые + if (($this->t1 + $this->t2) >= $velikaya && ($this->t1 + $this->t2) < $velichayshaya) $expmf = $expmf * $mods['vel_op']; + elseif (($this->t1 + $this->t2) >= $velichayshaya && ($this->t1 + $this->t2) < $epohalnaya) $expmf = $expmf * $mods['velich_op']; + elseif (($this->t1 + $this->t2) >= $epohalnaya) $expmf = $expmf * $mods['epoh_op']; + } + + if ($at['align'] == 4) { + $expmf = $expmf * $mods['haos']; + } + if (((int)$at['align'] == 1 && $def['align'] == 3) || ((int)$def['align'] == 1 && $at['align'] == 3)) { + $expmf = $expmf * $mods['alignprot']; + } + + if ($at['level'] > 1 && $kulak1[0] == 0 && $kulak2[0] == 0) { + $expmf = $expmf * $mods['kulakpenalty']; + } + //if($at['level'] > 1 && $at_cost[0] < $at['level']*50) { + // $expmf = $expmf*0.7; + // } elseif($at['level'] > 1) { + // $expmf = $expmf*1.3; + // } + if ($this->battle_data['blood']) { + $expmf = $expmf * $mods['bloodb']; + } + //$expmf = $expmf+($at_cost[0]/10000); + if ($this->battle_data['type'] == 1) { + $btfl = fopen('/tmpdisk/' . $at_id . '.btl', 'r'); + $contents = fread($btfl, filesize('/tmpdisk/' . $at_id . '.btl')); + fclose($btfl); + $cnt = substr_count($contents, $def_id); + if ($cnt <= 1) $exmod = $mods['btl_1']; + elseif ($cnt == 2) $exmod = $mods['btl_2']; + elseif ($cnt > 2) $exmod = $mods['btl_3']; + $expmf = $expmf * $mods['exmod']; + } + + $standart = array( + "0" => 1, + "1" => 1, + "2" => 15, + "3" => 111, + "4" => 265, + "5" => 526, + "6" => 882, + "7" => 919, + "8" => 919, + "9" => 919, + "10" => 919, + "11" => 919, + "12" => 919, + "13" => 919, + "14" => 919, + "15" => 919 + ); + + $mfit = ($at_cost[0] / ($standart[$at['level']] / 3)); + if ($mfit < 0.8) { + $mfit = 0.8; + } + if ($mfit > 1.5) { + $mfit = 1.5; + } + + /*if ($bot_active == true) { + $this->exp[$at_id] += ($baseexp[$def['level']])*($def_cost[0]/(($at_cost[0]+$def_cost[0])/2))*($damage/$def['maxhp'])*$expmf*$mfit*0.3; + + }*/ + $pls = count($this->t1) + count($this->t2); + if ($pls > 2) { + $mfbot = $bot_active == true ? 0.3 : 1; + $mfbot2 = $bot_def == true ? 0.7 : 1; + } else { + $mfbot = 1; + $mfbot2 = 1; + } + $expmf = 1; + $expek = ($baseexp[$def['level']]) * ($def_cost[0] / (($at_cost[0] + $def_cost[0]) / 2)) * ($damage / $def['maxhp']) * $expmf * $mfit * $mfbot * $mfbot2; + #echo "
    |$expek| [".$def['level']."]".($baseexp[$def['level']])."*(".$def_cost[0]."/((".$at_cost[0]."+".$def_cost[0].")/2))*($damage/".$def['maxhp'].")*$expmf*$mfit*$mfbot*$mfbot2
    "; + #die(); + return $expek; + } + + function write_stat_block($text) + { + $fp = fopen("backup/stat/battle_block" . $this->user['battle'] . ".txt", "a"); //открытие + flock($fp, LOCK_EX); //БЛОКИРОВКА ФАЙЛА + fputs($fp, $text . "\n"); //работа с файлом + fflush($fp); //ОЧИЩЕНИЕ ФАЙЛОВОГО БУФЕРА И ЗАПИСЬ В ФАЙЛ + flock($fp, LOCK_UN); //СНЯТИЕ БЛОКИРОВКИ + fclose($fp); //закрытие + } + +} \ No newline at end of file diff --git a/classes/cave/cave_bots.php b/classes/cave/cave_bots.php new file mode 100644 index 0000000..377c72b --- /dev/null +++ b/classes/cave/cave_bots.php @@ -0,0 +1,5 @@ + 10025, 2 => 10026, 3 => 10027, 4 => 10028, 5 => 10031, 6 => 10032, 7 => 10033, 8 => 10034); +$botnames = array(1 => "Паук", 2 => "Тарантул", 3 => "Гигантская крыса", 4 => "Покровитель нечести", 5 => "Нечто", 6 => "Обезумевший крыс", 7 => "Призрак короля крыс ", 8 => "Обезумевший палач"); + +?> \ No newline at end of file diff --git a/classes/cave/caveitems.php b/classes/cave/caveitems.php new file mode 100644 index 0000000..bf3ed90 --- /dev/null +++ b/classes/cave/caveitems.php @@ -0,0 +1,12 @@ + 1126, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 50, 'podzem' => 1)); + $caveitems[2] = array(array('id' => 1125, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 40, 'podzem' => 1)); + $caveitems[3] = array(array('id' => 1127, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 15, 'podzem' => 1)); + $caveitems[4] = array(array('id' => 1128, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 5, 'podzem' => 1)); + $caveitems[5] = array(array('id' => 1126, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 60, 'podzem' => 1)); + $caveitems[6] = array(array('id' => 1130, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 7), 'podzem' => 1); + $caveitems[7] = array(array('id' => 1129, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 10, 'podzem' => 1)); + $caveitems[8] = array(array('id' => 1131, 'from' => 'shop', 'foronetrip' => 0, 'chance' => 5, 'podzem' => 1)); +} +?> \ No newline at end of file diff --git a/classes/cave/lose.php b/classes/cave/lose.php new file mode 100644 index 0000000..e89b04b --- /dev/null +++ b/classes/cave/lose.php @@ -0,0 +1,23 @@ + $v) { + if($v < _BOTSEPARATOR_) { + if(in_array($user['room'], $caverooms)) { + mysql_query("UPDATE `caveparties` SET `floor` = $floor, `x` = '".$cavedata[$user['room']]['x'.$floor]."', `y` = '".$cavedata[$user['room']]['y'.$floor]."', `dir` = '".$cavedata[$user['room']]['dir'.$floor]."', `loses` = (`loses`+1) WHERE `user` = '$v' LIMIT 1"); + } + if($user['laba'] > 0) { + mysql_query('UPDATE `users` SET `x` = `xf`, `y` = `yr` WHERE `id` = "'.$v.'" LIMIT 1'); + die('Suka'); + } + } +} +?> \ No newline at end of file diff --git a/classes/cave/win.php b/classes/cave/win.php new file mode 100644 index 0000000..4d592ef --- /dev/null +++ b/classes/cave/win.php @@ -0,0 +1,60 @@ +battle_data["id"]."'"); + $i = 0; $cnt = 0; + while($rec = mysql_fetch_assoc($r)) { + $bot = $rec['bot']; + $cnt = $rec['cnt']; + if(@$caveitems[$bot]) { + if($user['room'] == 621) { + $i = mt_rand(0, (count($caveitems[$bot]) - 1)); + $item = $caveitems[$bot][$i]; + if(getchance($item['chance'])) { + $it = mysql_fetch_array(mysql_query("SELECT `id`, `name`, `img` FROM `$item[from]` WHERE `id` = $item[id] LIMIT 1")); + $podz = 1; + mysql_query('INSERT INTO `caveitems` SET `podzem` = "'.$item['podzem'].'", `leader` = "'.$user['caveleader'].'", `x` = "'.$rec['x'].'", `y` = "'.$rec['y'].'", `floor` = "'.$floor.'", `name` = "'.$it['name'].'", `img` = "'.$it['img'].'", `item` = "'.$item['id'].'"'.($item['foronetrip'] ? ", `foronetrip` = 1" : "")); + cavesys("У ".$cavebots[$bot]." был предмет $it[name] и кто угодно может подобрать его."); + $this->AddToLog(''.date("H:i")." У ".$cavebots[$bot]." был предмет $it[name].
    "); + } + } + } + } + if($user['caveleader'] > 0) { + $bots = array(1 => 10025, 2 => 10026, 3 => 10027, 4 => 10028, 5 => 10031, 6 => 10032, 7 => 10033, 8 => 10034); + $tp = 1; + while($tp <= $cnt) { + addActions(time(), 'win_bot_'.$bots[$bot], 0, $user['id']); + $tp++; + } + } + + mysql_query("DELETE FROM `cavebots` WHERE `battle` = '".$this->battle_data["id"]."'"); + mysql_query('UNLOCK TABLES'); +} +?> \ No newline at end of file diff --git a/classes/class.upload.php b/classes/class.upload.php new file mode 100644 index 0000000..5694d90 --- /dev/null +++ b/classes/class.upload.php @@ -0,0 +1,4998 @@ + + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @copyright Colin Verot + */ +class upload { + + + /** + * Class version + * + * @access public + * @var string + */ + var $version; + + /** + * Uploaded file name + * + * @access public + * @var string + */ + var $file_src_name; + + /** + * Uploaded file name body (i.e. without extension) + * + * @access public + * @var string + */ + var $file_src_name_body; + + /** + * Uploaded file name extension + * + * @access public + * @var string + */ + var $file_src_name_ext; + + /** + * Uploaded file MIME type + * + * @access public + * @var string + */ + var $file_src_mime; + + /** + * Uploaded file size, in bytes + * + * @access public + * @var double + */ + var $file_src_size; + + /** + * Holds eventual PHP error code from $_FILES + * + * @access public + * @var string + */ + var $file_src_error; + + /** + * Uloaded file name, including server path + * + * @access public + * @var string + */ + var $file_src_pathname; + + /** + * Uloaded file name temporary copy + * + * @access private + * @var string + */ + var $file_src_temp; + + /** + * Destination file name + * + * @access public + * @var string + */ + var $file_dst_path; + + /** + * Destination file name + * + * @access public + * @var string + */ + var $file_dst_name; + + /** + * Destination file name body (i.e. without extension) + * + * @access public + * @var string + */ + var $file_dst_name_body; + + /** + * Destination file extension + * + * @access public + * @var string + */ + var $file_dst_name_ext; + + /** + * Destination file name, including path + * + * @access public + * @var string + */ + var $file_dst_pathname; + + /** + * Source image width + * + * @access public + * @var integer + */ + var $image_src_x; + + /** + * Source image height + * + * @access public + * @var integer + */ + var $image_src_y; + + /** + * Source image color depth + * + * @access public + * @var integer + */ + var $image_src_bits; + + /** + * Number of pixels + * + * @access public + * @var long + */ + var $image_src_pixels; + + /** + * Type of image (png, gif, jpg or bmp) + * + * @access public + * @var string + */ + var $image_src_type; + + /** + * Destination image width + * + * @access public + * @var integer + */ + var $image_dst_x; + + /** + * Destination image height + * + * @access public + * @var integer + */ + var $image_dst_y; + + /** + * Destination image type (png, gif, jpg or bmp) + * + * @access public + * @var integer + */ + var $image_dst_type; + + /** + * Supported image formats + * + * @access private + * @var array + */ + var $image_supported; + + /** + * Flag to determine if the source file is an image + * + * @access public + * @var boolean + */ + var $file_is_image; + + /** + * Flag set after instanciating the class + * + * Indicates if the file has been uploaded properly + * + * @access public + * @var bool + */ + var $uploaded; + + /** + * Flag stopping PHP upload checks + * + * Indicates whether we instanciated the class with a filename, in which case + * we will not check on the validity of the PHP *upload* + * + * This flag is automatically set to true when working on a local file + * + * Warning: for uploads, this flag MUST be set to false for security reason + * + * @access public + * @var bool + */ + var $no_upload_check; + + /** + * Flag set after calling a process + * + * Indicates if the processing, and copy of the resulting file went OK + * + * @access public + * @var bool + */ + var $processed; + + /** + * Holds eventual error message in plain english + * + * @access public + * @var string + */ + var $error; + + /** + * Holds an HTML formatted log + * + * @access public + * @var string + */ + var $log; + + + // overiddable processing variables + + + /** + * Set this variable to replace the name body (i.e. without extension) + * + * @access public + * @var string + */ + var $file_new_name_body; + + /** + * Set this variable to append a string to the file name body + * + * @access public + * @var string + */ + var $file_name_body_add; + + /** + * Set this variable to prepend a string to the file name body + * + * @access public + * @var string + */ + var $file_name_body_pre; + + /** + * Set this variable to change the file extension + * + * @access public + * @var string + */ + var $file_new_name_ext; + + /** + * Set this variable to format the filename (spaces changed to _) + * + * @access public + * @var boolean + */ + var $file_safe_name; + + /** + * Forces an extension if the source file doesn't have one + * + * If the file is an image, then the correct extension will be added + * Otherwise, a .txt extension will be chosen + * + * @access public + * @var boolean + */ + var $file_force_extension; + + /** + * Set this variable to false if you don't want to check the MIME against the allowed list + * + * This variable is set to true by default for security reason + * + * @access public + * @var boolean + */ + var $mime_check; + + /** + * Set this variable to false in the init() function if you don't want to check the MIME + * with Fileinfo PECL extension. On some systems, Fileinfo is known to be buggy, and you + * may want to deactivate it in the class code directly. + * + * You can also set it with the path of the magic database file. + * If set to true, the class will try to read the MAGIC environment variable + * and if it is empty, will default to the system's default + * If set to an empty string, it will call finfo_open without the path argument + * + * This variable is set to true by default for security reason + * + * @access public + * @var boolean + */ + var $mime_fileinfo; + + /** + * Set this variable to false in the init() function if you don't want to check the MIME + * with UNIX file() command + * + * This variable is set to true by default for security reason + * + * @access public + * @var boolean + */ + var $mime_file; + + /** + * Set this variable to false in the init() function if you don't want to check the MIME + * with the magic.mime file + * + * The function mime_content_type() will be deprecated, + * and this variable will be set to false in a future release + * + * This variable is set to true by default for security reason + * + * @access public + * @var boolean + */ + var $mime_magic; + + /** + * Set this variable to false in the init() function if you don't want to check the MIME + * with getimagesize() + * + * The class tries to get a MIME type from getimagesize() + * If no MIME is returned, it tries to guess the MIME type from the file type + * + * This variable is set to true by default for security reason + * + * @access public + * @var boolean + */ + var $mime_getimagesize; + + /** + * Set this variable to false if you don't want to turn dangerous scripts into simple text files + * + * @access public + * @var boolean + */ + var $no_script; + + /** + * Set this variable to true to allow automatic renaming of the file + * if the file already exists + * + * Default value is true + * + * For instance, on uploading foo.ext,
    + * if foo.ext already exists, upload will be renamed foo_1.ext
    + * and if foo_1.ext already exists, upload will be renamed foo_2.ext
    + * + * Note that this option doesn't have any effect if {@link file_overwrite} is true + * + * @access public + * @var bool + */ + var $file_auto_rename; + + /** + * Set this variable to true to allow automatic creation of the destination + * directory if it is missing (works recursively) + * + * Default value is true + * + * @access public + * @var bool + */ + var $dir_auto_create; + + /** + * Set this variable to true to allow automatic chmod of the destination + * directory if it is not writeable + * + * Default value is true + * + * @access public + * @var bool + */ + var $dir_auto_chmod; + + /** + * Set this variable to the default chmod you want the class to use + * when creating directories, or attempting to write in a directory + * + * Default value is 0777 (without quotes) + * + * @access public + * @var bool + */ + var $dir_chmod; + + /** + * Set this variable tu true to allow overwriting of an existing file + * + * Default value is false, so no files will be overwritten + * + * @access public + * @var bool + */ + var $file_overwrite; + + /** + * Set this variable to change the maximum size in bytes for an uploaded file + * + * Default value is the value upload_max_filesize from php.ini + * + * Value in bytes (integer) or shorthand byte values (string) is allowed. + * The available options are K (for Kilobytes), M (for Megabytes) and G (for Gigabytes) + * + * @access public + * @var double + */ + var $file_max_size; + + /** + * Set this variable to true to resize the file if it is an image + * + * You will probably want to set {@link image_x} and {@link image_y}, and maybe one of the ratio variables + * + * Default value is false (no resizing) + * + * @access public + * @var bool + */ + var $image_resize; + + /** + * Set this variable to convert the file if it is an image + * + * Possibles values are : ''; 'png'; 'jpeg'; 'gif'; 'bmp' + * + * Default value is '' (no conversion)
    + * If {@link resize} is true, {@link convert} will be set to the source file extension + * + * @access public + * @var string + */ + var $image_convert; + + /** + * Set this variable to the wanted (or maximum/minimum) width for the processed image, in pixels + * + * Default value is 150 + * + * @access public + * @var integer + */ + var $image_x; + + /** + * Set this variable to the wanted (or maximum/minimum) height for the processed image, in pixels + * + * Default value is 150 + * + * @access public + * @var integer + */ + var $image_y; + + /** + * Set this variable to keep the original size ratio to fit within {@link image_x} x {@link image_y} + * + * Default value is false + * + * @access public + * @var bool + */ + var $image_ratio; + + /** + * Set this variable to keep the original size ratio to fit within {@link image_x} x {@link image_y} + * + * The image will be resized as to fill the whole space, and excedent will be cropped + * + * Value can also be a string, one or more character from 'TBLR' (top, bottom, left and right) + * If set as a string, it determines which side of the image is kept while cropping. + * By default, the part of the image kept is in the center, i.e. it crops equally on both sides + * + * Default value is false + * + * @access public + * @var mixed + */ + var $image_ratio_crop; + + /** + * Set this variable to keep the original size ratio to fit within {@link image_x} x {@link image_y} + * + * The image will be resized to fit entirely in the space, and the rest will be colored. + * The default color is white, but can be set with {@link image_default_color} + * + * Value can also be a string, one or more character from 'TBLR' (top, bottom, left and right) + * If set as a string, it determines in which side of the space the image is displayed. + * By default, the image is displayed in the center, i.e. it fills the remaining space equally on both sides + * + * Default value is false + * + * @access public + * @var mixed + */ + var $image_ratio_fill; + + /** + * Set this variable to a number of pixels so that {@link image_x} and {@link image_y} are the best match possible + * + * The image will be resized to have approximatively the number of pixels + * The aspect ratio wil be conserved + * + * Default value is false + * + * @access public + * @var mixed + */ + var $image_ratio_pixels; + + /** + * Set this variable to calculate {@link image_x} automatically , using {@link image_y} and conserving ratio + * + * Default value is false + * + * @access public + * @var bool + */ + var $image_ratio_x; + + /** + * Set this variable to calculate {@link image_y} automatically , using {@link image_x} and conserving ratio + * + * Default value is false + * + * @access public + * @var bool + */ + var $image_ratio_y; + + /** + * (deprecated) Set this variable to keep the original size ratio to fit within {@link image_x} x {@link image_y}, + * but only if original image is bigger + * + * This setting is soon to be deprecated. Instead, use {@link image_ratio} and {@link image_no_enlarging} + * + * Default value is false + * + * @access public + * @var bool + */ + var $image_ratio_no_zoom_in; + + /** + * (deprecated) Set this variable to keep the original size ratio to fit within {@link image_x} x {@link image_y}, + * but only if original image is smaller + * + * Default value is false + * + * This setting is soon to be deprecated. Instead, use {@link image_ratio} and {@link image_no_shrinking} + * + * @access public + * @var bool + */ + var $image_ratio_no_zoom_out; + + /** + * Cancel resizing if the resized image is bigger than the original image, to prevent enlarging + * + * Default value is false + * + * @access public + * @var bool + */ + var $image_no_enlarging; + + /** + * Cancel resizing if the resized image is smaller than the original image, to prevent shrinking + * + * Default value is false + * + * @access public + * @var bool + */ + var $image_no_shrinking; + + /** + * Set this variable to set a maximum image width, above which the upload will be invalid + * + * Default value is null + * + * @access public + * @var integer + */ + var $image_max_width; + + /** + * Set this variable to set a maximum image height, above which the upload will be invalid + * + * Default value is null + * + * @access public + * @var integer + */ + var $image_max_height; + + /** + * Set this variable to set a maximum number of pixels for an image, above which the upload will be invalid + * + * Default value is null + * + * @access public + * @var long + */ + var $image_max_pixels; + + /** + * Set this variable to set a maximum image aspect ratio, above which the upload will be invalid + * + * Note that ratio = width / height + * + * Default value is null + * + * @access public + * @var float + */ + var $image_max_ratio; + + /** + * Set this variable to set a minimum image width, below which the upload will be invalid + * + * Default value is null + * + * @access public + * @var integer + */ + var $image_min_width; + + /** + * Set this variable to set a minimum image height, below which the upload will be invalid + * + * Default value is null + * + * @access public + * @var integer + */ + var $image_min_height; + + /** + * Set this variable to set a minimum number of pixels for an image, below which the upload will be invalid + * + * Default value is null + * + * @access public + * @var long + */ + var $image_min_pixels; + + /** + * Set this variable to set a minimum image aspect ratio, below which the upload will be invalid + * + * Note that ratio = width / height + * + * Default value is null + * + * @access public + * @var float + */ + var $image_min_ratio; + + /** + * Compression level for PNG images + * + * Between 1 (fast but large files) and 9 (slow but smaller files) + * + * Default value is null (Zlib default) + * + * @access public + * @var integer + */ + var $png_compression; + + /** + * Quality of JPEG created/converted destination image + * + * Default value is 85 + * + * @access public + * @var integer + */ + var $jpeg_quality; + + /** + * Determines the quality of the JPG image to fit a desired file size + * + * The JPG quality will be set between 1 and 100% + * The calculations are approximations. + * + * Value in bytes (integer) or shorthand byte values (string) is allowed. + * The available options are K (for Kilobytes), M (for Megabytes) and G (for Gigabytes) + * + * Default value is null (no calculations) + * + * @access public + * @var integer + */ + var $jpeg_size; + + /** + * Turns the interlace bit on + * + * This is actually used only for JPEG images, and defaults to false + * + * @access public + * @var boolean + */ + var $image_interlace; + + /** + * Flag set to true when the image is transparent + * + * This is actually used only for transparent GIFs + * + * @access public + * @var boolean + */ + var $image_is_transparent; + + /** + * Transparent color in a palette + * + * This is actually used only for transparent GIFs + * + * @access public + * @var boolean + */ + var $image_transparent_color; + + /** + * Background color, used to paint transparent areas with + * + * If set, it will forcibly remove transparency by painting transparent areas with the color + * This setting will fill in all transparent areas in PNG and GIF, as opposed to {@link image_default_color} + * which will do so only in BMP, JPEG, and alpha transparent areas in transparent GIFs + * This setting overrides {@link image_default_color} + * + * Default value is null + * + * @access public + * @var string + */ + var $image_background_color; + + /** + * Default color for non alpha-transparent images + * + * This setting is to be used to define a background color for semi transparent areas + * of an alpha transparent when the output format doesn't support alpha transparency + * This is useful when, from an alpha transparent PNG image, or an image with alpha transparent features + * if you want to output it as a transparent GIFs for instance, you can set a blending color for transparent areas + * If you output in JPEG or BMP, this color will be used to fill in the previously transparent areas + * + * The default color white + * + * @access public + * @var boolean + */ + var $image_default_color; + + /** + * Flag set to true when the image is not true color + * + * @access public + * @var boolean + */ + var $image_is_palette; + + /** + * Corrects the image brightness + * + * Value can range between -127 and 127 + * + * Default value is null + * + * @access public + * @var integer + */ + var $image_brightness; + + /** + * Corrects the image contrast + * + * Value can range between -127 and 127 + * + * Default value is null + * + * @access public + * @var integer + */ + var $image_contrast; + + /** + * Changes the image opacity + * + * Value can range between 0 and 100 + * + * Default value is null + * + * @access public + * @var integer + */ + var $image_opacity; + + /** + * Applies threshold filter + * + * Value can range between -127 and 127 + * + * Default value is null + * + * @access public + * @var integer + */ + var $image_threshold; + + /** + * Applies a tint on the image + * + * Value is an hexadecimal color, such as #FFFFFF + * + * Default value is null + * + * @access public + * @var string; + */ + var $image_tint_color; + + /** + * Applies a colored overlay on the image + * + * Value is an hexadecimal color, such as #FFFFFF + * + * To use with {@link image_overlay_opacity} + * + * Default value is null + * + * @access public + * @var string; + */ + var $image_overlay_color; + + /** + * Sets the opacity for the colored overlay + * + * Value is a percentage, as an integer between 0 (transparent) and 100 (opaque) + * + * Unless used with {@link image_overlay_color}, this setting has no effect + * + * Default value is 50 + * + * @access public + * @var integer + */ + var $image_overlay_opacity; + + /** + * Inverts the color of an image + * + * Default value is FALSE + * + * @access public + * @var boolean; + */ + var $image_negative; + + /** + * Turns the image into greyscale + * + * Default value is FALSE + * + * @access public + * @var boolean; + */ + var $image_greyscale; + + /** + * Pixelate an image + * + * Value is integer, represents the block size + * + * Default value is null + * + * @access public + * @var integer; + */ + var $image_pixelate; + + /** + * Applies an unsharp mask, with alpha transparency support + * + * Beware that this unsharp mask is quite resource-intensive + * + * Default value is FALSE + * + * @access public + * @var boolean; + */ + var $image_unsharp; + + /** + * Sets the unsharp mask amount + * + * Value is an integer between 0 and 500, typically between 50 and 200 + * + * Unless used with {@link image_unsharp}, this setting has no effect + * + * Default value is 80 + * + * @access public + * @var integer + */ + var $image_unsharp_amount; + + /** + * Sets the unsharp mask radius + * + * Value is an integer between 0 and 50, typically between 0.5 and 1 + * It is not recommended to change it, the default works best + * + * Unless used with {@link image_unsharp}, this setting has no effect + * + * From PHP 5.1, imageconvolution is used, and this setting has no effect + * + * Default value is 0.5 + * + * @access public + * @var integer + */ + var $image_unsharp_radius; + + /** + * Sets the unsharp mask threshold + * + * Value is an integer between 0 and 255, typically between 0 and 5 + * + * Unless used with {@link image_unsharp}, this setting has no effect + * + * Default value is 1 + * + * @access public + * @var integer + */ + var $image_unsharp_threshold; + + /** + * Adds a text label on the image + * + * Value is a string, any text. Text will not word-wrap, although you can use breaklines in your text "\n" + * + * If set, this setting allow the use of all other settings starting with image_text_ + * + * Replacement tokens can be used in the string: + *
    +     * gd_version    src_name       src_name_body src_name_ext
    +     * src_pathname  src_mime       src_x         src_y
    +     * src_type      src_bits       src_pixels
    +     * src_size      src_size_kb    src_size_mb   src_size_human
    +     * dst_path      dst_name_body  dst_pathname
    +     * dst_name      dst_name_ext   dst_x         dst_y
    +     * date          time           host          server        ip
    +     * 
    + * The tokens must be enclosed in square brackets: [dst_x] will be replaced by the width of the picture + * + * Default value is null + * + * @access public + * @var string; + */ + var $image_text; + + /** + * Sets the text direction for the text label + * + * Value is either 'h' or 'v', as in horizontal and vertical + * + * Note that if you use a TrueType font, you can use {@link image_text_angle} instead + * + * Default value is h (horizontal) + * + * @access public + * @var string; + */ + var $image_text_direction; + + /** + * Sets the text color for the text label + * + * Value is an hexadecimal color, such as #FFFFFF + * + * Default value is #FFFFFF (white) + * + * @access public + * @var string; + */ + var $image_text_color; + + /** + * Sets the text opacity in the text label + * + * Value is a percentage, as an integer between 0 (transparent) and 100 (opaque) + * + * Default value is 100 + * + * @access public + * @var integer + */ + var $image_text_opacity; + + /** + * Sets the text background color for the text label + * + * Value is an hexadecimal color, such as #FFFFFF + * + * Default value is null (no background) + * + * @access public + * @var string; + */ + var $image_text_background; + + /** + * Sets the text background opacity in the text label + * + * Value is a percentage, as an integer between 0 (transparent) and 100 (opaque) + * + * Default value is 100 + * + * @access public + * @var integer + */ + var $image_text_background_opacity; + + /** + * Sets the text font in the text label + * + * Value is a an integer between 1 and 5 for GD built-in fonts. 1 is the smallest font, 5 the biggest + * Value can also be a string, which represents the path to a GDF or TTF font (TrueType). + * + * Default value is 5 + * + * @access public + * @var mixed; + */ + var $image_text_font; + + /** + * Sets the text font size for TrueType fonts + * + * Value is a an integer, and represents the font size in pixels (GD1) or points (GD1) + * + * Note that this setting is only applicable to TrueType fonts, and has no effects with GD fonts + * + * Default value is 16 + * + * @access public + * @var integer; + */ + var $image_text_size; + + /** + * Sets the text angle for TrueType fonts + * + * Value is a an integer between 0 and 360, in degrees, with 0 degrees being left-to-right reading text. + * + * Note that this setting is only applicable to TrueType fonts, and has no effects with GD fonts + * For GD fonts, you can use {@link image_text_direction} instead + * + * Default value is null (so it is determined by the value of {@link image_text_direction}) + * + * @access public + * @var integer; + */ + var $image_text_angle; + + /** + * Sets the text label position within the image + * + * Value is one or two out of 'TBLR' (top, bottom, left, right) + * + * The positions are as following: + *
    +     *                        TL  T  TR
    +     *                        L       R
    +     *                        BL  B  BR
    +     * 
    + * + * Default value is null (centered, horizontal and vertical) + * + * Note that is {@link image_text_x} and {@link image_text_y} are used, this setting has no effect + * + * @access public + * @var string; + */ + var $image_text_position; + + /** + * Sets the text label absolute X position within the image + * + * Value is in pixels, representing the distance between the left of the image and the label + * If a negative value is used, it will represent the distance between the right of the image and the label + * + * Default value is null (so {@link image_text_position} is used) + * + * @access public + * @var integer + */ + var $image_text_x; + + /** + * Sets the text label absolute Y position within the image + * + * Value is in pixels, representing the distance between the top of the image and the label + * If a negative value is used, it will represent the distance between the bottom of the image and the label + * + * Default value is null (so {@link image_text_position} is used) + * + * @access public + * @var integer + */ + var $image_text_y; + + /** + * Sets the text label padding + * + * Value is in pixels, representing the distance between the text and the label background border + * + * Default value is 0 + * + * This setting can be overriden by {@link image_text_padding_x} and {@link image_text_padding_y} + * + * @access public + * @var integer + */ + var $image_text_padding; + + /** + * Sets the text label horizontal padding + * + * Value is in pixels, representing the distance between the text and the left and right label background borders + * + * Default value is null + * + * If set, this setting overrides the horizontal part of {@link image_text_padding} + * + * @access public + * @var integer + */ + var $image_text_padding_x; + + /** + * Sets the text label vertical padding + * + * Value is in pixels, representing the distance between the text and the top and bottom label background borders + * + * Default value is null + * + * If set, his setting overrides the vertical part of {@link image_text_padding} + * + * @access public + * @var integer + */ + var $image_text_padding_y; + + /** + * Sets the text alignment + * + * Value is a string, which can be either 'L', 'C' or 'R' + * + * Default value is 'C' + * + * This setting is relevant only if the text has several lines. + * + * Note that this setting is only applicable to GD fonts, and has no effects with TrueType fonts + * + * @access public + * @var string; + */ + var $image_text_alignment; + + /** + * Sets the text line spacing + * + * Value is an integer, in pixels + * + * Default value is 0 + * + * This setting is relevant only if the text has several lines. + * + * Note that this setting is only applicable to GD fonts, and has no effects with TrueType fonts + * + * @access public + * @var integer + */ + var $image_text_line_spacing; + + /** + * Sets the height of the reflection + * + * Value is an integer in pixels, or a string which format can be in pixels or percentage. + * For instance, values can be : 40, '40', '40px' or '40%' + * + * Default value is null, no reflection + * + * @access public + * @var mixed; + */ + var $image_reflection_height; + + /** + * Sets the space between the source image and its relection + * + * Value is an integer in pixels, which can be negative + * + * Default value is 2 + * + * This setting is relevant only if {@link image_reflection_height} is set + * + * @access public + * @var integer + */ + var $image_reflection_space; + + /** + * Sets the initial opacity of the reflection + * + * Value is an integer between 0 (no opacity) and 100 (full opacity). + * The reflection will start from {@link image_reflection_opacity} and end up at 0 + * + * Default value is 60 + * + * This setting is relevant only if {@link image_reflection_height} is set + * + * @access public + * @var integer + */ + var $image_reflection_opacity; + + /** + * Automatically rotates the image according to EXIF data (JPEG only) + * + * Default value is true + * + * @access public + * @var boolean; + */ + var $image_auto_rotate; + + /** + * Flips the image vertically or horizontally + * + * Value is either 'h' or 'v', as in horizontal and vertical + * + * Default value is null (no flip) + * + * @access public + * @var string; + */ + var $image_flip; + + /** + * Rotates the image by increments of 45 degrees + * + * Value is either 90, 180 or 270 + * + * Default value is null (no rotation) + * + * @access public + * @var string; + */ + var $image_rotate; + + /** + * Crops an image + * + * Values are four dimensions, or two, or one (CSS style) + * They represent the amount cropped top, right, bottom and left. + * These values can either be in an array, or a space separated string. + * Each value can be in pixels (with or without 'px'), or percentage (of the source image) + * + * For instance, are valid: + *
    +     * $foo->image_crop = 20                  OR array(20);
    +     * $foo->image_crop = '20px'              OR array('20px');
    +     * $foo->image_crop = '20 40'             OR array('20', 40);
    +     * $foo->image_crop = '-20 25%'           OR array(-20, '25%');
    +     * $foo->image_crop = '20px 25%'          OR array('20px', '25%');
    +     * $foo->image_crop = '20% 25%'           OR array('20%', '25%');
    +     * $foo->image_crop = '20% 25% 10% 30%'   OR array('20%', '25%', '10%', '30%');
    +     * $foo->image_crop = '20px 25px 2px 2px' OR array('20px', '25%px', '2px', '2px');
    +     * $foo->image_crop = '20 25% 40px 10%'   OR array(20, '25%', '40px', '10%');
    +     * 
    + * + * If a value is negative, the image will be expanded, and the extra parts will be filled with black + * + * Default value is null (no cropping) + * + * @access public + * @var string OR array; + */ + var $image_crop; + + /** + * Crops an image, before an eventual resizing + * + * See {@link image_crop} for valid formats + * + * Default value is null (no cropping) + * + * @access public + * @var string OR array; + */ + var $image_precrop; + + /** + * Adds a bevel border on the image + * + * Value is a positive integer, representing the thickness of the bevel + * + * If the bevel colors are the same as the background, it makes a fade out effect + * + * Default value is null (no bevel) + * + * @access public + * @var integer + */ + var $image_bevel; + + /** + * Top and left bevel color + * + * Value is a color, in hexadecimal format + * This setting is used only if {@link image_bevel} is set + * + * Default value is #FFFFFF + * + * @access public + * @var string; + */ + var $image_bevel_color1; + + /** + * Right and bottom bevel color + * + * Value is a color, in hexadecimal format + * This setting is used only if {@link image_bevel} is set + * + * Default value is #000000 + * + * @access public + * @var string; + */ + var $image_bevel_color2; + + /** + * Adds a single-color border on the outer of the image + * + * Values are four dimensions, or two, or one (CSS style) + * They represent the border thickness top, right, bottom and left. + * These values can either be in an array, or a space separated string. + * Each value can be in pixels (with or without 'px'), or percentage (of the source image) + * + * See {@link image_crop} for valid formats + * + * If a value is negative, the image will be cropped. + * Note that the dimensions of the picture will be increased by the borders' thickness + * + * Default value is null (no border) + * + * @access public + * @var integer + */ + var $image_border; + + /** + * Border color + * + * Value is a color, in hexadecimal format. + * This setting is used only if {@link image_border} is set + * + * Default value is #FFFFFF + * + * @access public + * @var string; + */ + var $image_border_color; + + /** + * Sets the opacity for the borders + * + * Value is a percentage, as an integer between 0 (transparent) and 100 (opaque) + * + * Unless used with {@link image_border}, this setting has no effect + * + * Default value is 100 + * + * @access public + * @var integer + */ + var $image_border_opacity; + + /** + * Adds a fading-to-transparent border on the image + * + * Values are four dimensions, or two, or one (CSS style) + * They represent the border thickness top, right, bottom and left. + * These values can either be in an array, or a space separated string. + * Each value can be in pixels (with or without 'px'), or percentage (of the source image) + * + * See {@link image_crop} for valid formats + * + * Note that the dimensions of the picture will not be increased by the borders' thickness + * + * Default value is null (no border) + * + * @access public + * @var integer + */ + var $image_border_transparent; + + /** + * Adds a multi-color frame on the outer of the image + * + * Value is an integer. Two values are possible for now: + * 1 for flat border, meaning that the frame is mirrored horizontally and vertically + * 2 for crossed border, meaning that the frame will be inversed, as in a bevel effect + * + * The frame will be composed of colored lines set in {@link image_frame_colors} + * + * Note that the dimensions of the picture will be increased by the borders' thickness + * + * Default value is null (no frame) + * + * @access public + * @var integer + */ + var $image_frame; + + /** + * Sets the colors used to draw a frame + * + * Values is a list of n colors in hexadecimal format. + * These values can either be in an array, or a space separated string. + * + * The colors are listed in the following order: from the outset of the image to its center + * + * For instance, are valid: + *
    +     * $foo->image_frame_colors = '#FFFFFF #999999 #666666 #000000';
    +     * $foo->image_frame_colors = array('#FFFFFF', '#999999', '#666666', '#000000');
    +     * 
    + * + * This setting is used only if {@link image_frame} is set + * + * Default value is '#FFFFFF #999999 #666666 #000000' + * + * @access public + * @var string OR array; + */ + var $image_frame_colors; + + /** + * Sets the opacity for the frame + * + * Value is a percentage, as an integer between 0 (transparent) and 100 (opaque) + * + * Unless used with {@link image_frame}, this setting has no effect + * + * Default value is 100 + * + * @access public + * @var integer + */ + var $image_frame_opacity; + + /** + * Adds a watermark on the image + * + * Value is a local image filename, relative or absolute. GIF, JPG, BMP and PNG are supported, as well as PNG alpha. + * + * If set, this setting allow the use of all other settings starting with image_watermark_ + * + * Default value is null + * + * @access public + * @var string; + */ + var $image_watermark; + + /** + * Sets the watermarkposition within the image + * + * Value is one or two out of 'TBLR' (top, bottom, left, right) + * + * The positions are as following: TL T TR + * L R + * BL B BR + * + * Default value is null (centered, horizontal and vertical) + * + * Note that is {@link image_watermark_x} and {@link image_watermark_y} are used, this setting has no effect + * + * @access public + * @var string; + */ + var $image_watermark_position; + + /** + * Sets the watermark absolute X position within the image + * + * Value is in pixels, representing the distance between the top of the image and the watermark + * If a negative value is used, it will represent the distance between the bottom of the image and the watermark + * + * Default value is null (so {@link image_watermark_position} is used) + * + * @access public + * @var integer + */ + var $image_watermark_x; + + /** + * Sets the twatermark absolute Y position within the image + * + * Value is in pixels, representing the distance between the left of the image and the watermark + * If a negative value is used, it will represent the distance between the right of the image and the watermark + * + * Default value is null (so {@link image_watermark_position} is used) + * + * @access public + * @var integer + */ + var $image_watermark_y; + + /** + * Prevents the watermark to be resized up if it is smaller than the image + * + * If the watermark if smaller than the destination image, taking in account the desired watermark position + * then it will be resized up to fill in the image (minus the {@link image_watermark_x} or {@link image_watermark_y} values) + * + * If you don't want your watermark to be resized in any way, then + * set {@link image_watermark_no_zoom_in} and {@link image_watermark_no_zoom_out} to true + * If you want your watermark to be resized up or doan to fill in the image better, then + * set {@link image_watermark_no_zoom_in} and {@link image_watermark_no_zoom_out} to false + * + * Default value is true (so the watermark will not be resized up, which is the behaviour most people expect) + * + * @access public + * @var integer + */ + var $image_watermark_no_zoom_in; + + /** + * Prevents the watermark to be resized down if it is bigger than the image + * + * If the watermark if bigger than the destination image, taking in account the desired watermark position + * then it will be resized down to fit in the image (minus the {@link image_watermark_x} or {@link image_watermark_y} values) + * + * If you don't want your watermark to be resized in any way, then + * set {@link image_watermark_no_zoom_in} and {@link image_watermark_no_zoom_out} to true + * If you want your watermark to be resized up or doan to fill in the image better, then + * set {@link image_watermark_no_zoom_in} and {@link image_watermark_no_zoom_out} to false + * + * Default value is false (so the watermark may be shrinked to fit in the image) + * + * @access public + * @var integer + */ + var $image_watermark_no_zoom_out; + + /** + * List of MIME types per extension + * + * @access private + * @var array + */ + var $mime_types; + + /** + * Allowed MIME types + * + * Default is a selection of safe mime-types, but you might want to change it + * + * Simple wildcards are allowed, such as image/* or application/* + * If there is only one MIME type allowed, then it can be a string instead of an array + * + * @access public + * @var array OR string + */ + var $allowed; + + /** + * Forbidden MIME types + * + * Default is a selection of safe mime-types, but you might want to change it + * To only check for forbidden MIME types, and allow everything else, set {@link allowed} to array('* / *') without the spaces + * + * Simple wildcards are allowed, such as image/* or application/* + * If there is only one MIME type forbidden, then it can be a string instead of an array + * + * @access public + * @var array OR string + */ + var $forbidden; + + /** + * Array of translated error messages + * + * By default, the language is english (en_GB) + * Translations can be in separate files, in a lang/ subdirectory + * + * @access public + * @var array + */ + var $translation; + + /** + * Language selected for the translations + * + * By default, the language is english ("en_GB") + * + * @access public + * @var array + */ + var $lang; + + /** + * Init or re-init all the processing variables to their default values + * + * This function is called in the constructor, and after each call of {@link process} + * + * @access private + */ + function init() { + + // overiddable variables + $this->file_new_name_body = null; // replace the name body + $this->file_name_body_add = null; // append to the name body + $this->file_name_body_pre = null; // prepend to the name body + $this->file_new_name_ext = null; // replace the file extension + $this->file_safe_name = true; // format safely the filename + $this->file_force_extension = true; // forces extension if there isn't one + $this->file_overwrite = false; // allows overwritting if the file already exists + $this->file_auto_rename = true; // auto-rename if the file already exists + $this->dir_auto_create = true; // auto-creates directory if missing + $this->dir_auto_chmod = true; // auto-chmod directory if not writeable + $this->dir_chmod = 0777; // default chmod to use + + $this->no_script = true; // turns scripts into test files + $this->mime_check = true; // checks the mime type against the allowed list + + // these are the different MIME detection methods. if one of these method doesn't work on your + // system, you can deactivate it here; just set it to false + $this->mime_fileinfo = true; // MIME detection with Fileinfo PECL extension + $this->mime_file = true; // MIME detection with UNIX file() command + $this->mime_magic = true; // MIME detection with mime_magic (mime_content_type()) + $this->mime_getimagesize = true; // MIME detection with getimagesize() + + // get the default max size from php.ini + $this->file_max_size_raw = trim(ini_get('upload_max_filesize')); + $this->file_max_size = $this->getsize($this->file_max_size_raw); + + $this->image_resize = false; // resize the image + $this->image_convert = ''; // convert. values :''; 'png'; 'jpeg'; 'gif'; 'bmp' + + $this->image_x = 150; + $this->image_y = 150; + $this->image_ratio = false; // keeps aspect ratio with x and y dimensions + $this->image_ratio_crop = false; // keeps aspect ratio with x and y dimensions, filling the space + $this->image_ratio_fill = false; // keeps aspect ratio with x and y dimensions, fitting the image in the space, and coloring the rest + $this->image_ratio_pixels = false; // keeps aspect ratio, calculating x and y so that the image is approx the set number of pixels + $this->image_ratio_x = false; // calculate the $image_x if true + $this->image_ratio_y = false; // calculate the $image_y if true + $this->image_ratio_no_zoom_in = false; + $this->image_ratio_no_zoom_out = false; + $this->image_no_enlarging = false; + $this->image_no_shrinking = false; + + $this->png_compression = null; + $this->jpeg_quality = 85; + $this->jpeg_size = null; + $this->image_interlace = false; + $this->image_is_transparent = false; + $this->image_transparent_color = null; + $this->image_background_color = null; + $this->image_default_color = '#ffffff'; + $this->image_is_palette = false; + + $this->image_max_width = null; + $this->image_max_height = null; + $this->image_max_pixels = null; + $this->image_max_ratio = null; + $this->image_min_width = null; + $this->image_min_height = null; + $this->image_min_pixels = null; + $this->image_min_ratio = null; + + $this->image_brightness = null; + $this->image_contrast = null; + $this->image_opacity = null; + $this->image_threshold = null; + $this->image_tint_color = null; + $this->image_overlay_color = null; + $this->image_overlay_opacity = null; + $this->image_negative = false; + $this->image_greyscale = false; + $this->image_pixelate = null; + $this->image_unsharp = false; + $this->image_unsharp_amount = 80; + $this->image_unsharp_radius = 0.5; + $this->image_unsharp_threshold = 1; + + $this->image_text = null; + $this->image_text_direction = null; + $this->image_text_color = '#FFFFFF'; + $this->image_text_opacity = 100; + $this->image_text_background = null; + $this->image_text_background_opacity = 100; + $this->image_text_font = 5; + $this->image_text_size = 16; + $this->image_text_angle = null; + $this->image_text_x = null; + $this->image_text_y = null; + $this->image_text_position = null; + $this->image_text_padding = 0; + $this->image_text_padding_x = null; + $this->image_text_padding_y = null; + $this->image_text_alignment = 'C'; + $this->image_text_line_spacing = 0; + + $this->image_reflection_height = null; + $this->image_reflection_space = 2; + $this->image_reflection_opacity = 60; + + $this->image_watermark = null; + $this->image_watermark_x = null; + $this->image_watermark_y = null; + $this->image_watermark_position = null; + $this->image_watermark_no_zoom_in = true; + $this->image_watermark_no_zoom_out = false; + + $this->image_flip = null; + $this->image_auto_rotate = true; + $this->image_rotate = null; + $this->image_crop = null; + $this->image_precrop = null; + + $this->image_bevel = null; + $this->image_bevel_color1 = '#FFFFFF'; + $this->image_bevel_color2 = '#000000'; + $this->image_border = null; + $this->image_border_color = '#FFFFFF'; + $this->image_border_opacity = 100; + $this->image_border_transparent = null; + $this->image_frame = null; + $this->image_frame_colors = '#FFFFFF #999999 #666666 #000000'; + $this->image_frame_opacity = 100; + + $this->forbidden = array(); + $this->allowed = array( + 'application/arj', + 'application/excel', + 'application/gnutar', + 'application/mspowerpoint', + 'application/msword', + 'application/octet-stream', + 'application/onenote', + 'application/pdf', + 'application/plain', + 'application/postscript', + 'application/powerpoint', + 'application/rar', + 'application/rtf', + 'application/vnd.ms-excel', + 'application/vnd.ms-excel.addin.macroEnabled.12', + 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', + 'application/vnd.ms-excel.sheet.macroEnabled.12', + 'application/vnd.ms-excel.template.macroEnabled.12', + 'application/vnd.ms-office', + 'application/vnd.ms-officetheme', + 'application/vnd.ms-powerpoint', + 'application/vnd.ms-powerpoint.addin.macroEnabled.12', + 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', + 'application/vnd.ms-powerpoint.slide.macroEnabled.12', + 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12', + 'application/vnd.ms-powerpoint.template.macroEnabled.12', + 'application/vnd.ms-word', + 'application/vnd.ms-word.document.macroEnabled.12', + 'application/vnd.ms-word.template.macroEnabled.12', + 'application/vnd.oasis.opendocument.chart', + 'application/vnd.oasis.opendocument.database', + 'application/vnd.oasis.opendocument.formula', + 'application/vnd.oasis.opendocument.graphics', + 'application/vnd.oasis.opendocument.graphics-template', + 'application/vnd.oasis.opendocument.image', + 'application/vnd.oasis.opendocument.presentation', + 'application/vnd.oasis.opendocument.presentation-template', + 'application/vnd.oasis.opendocument.spreadsheet', + 'application/vnd.oasis.opendocument.spreadsheet-template', + 'application/vnd.oasis.opendocument.text', + 'application/vnd.oasis.opendocument.text-master', + 'application/vnd.oasis.opendocument.text-template', + 'application/vnd.oasis.opendocument.text-web', + 'application/vnd.openofficeorg.extension', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + 'application/vnd.openxmlformats-officedocument.presentationml.slide', + 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + 'application/vnd.openxmlformats-officedocument.presentationml.template', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + 'application/vocaltec-media-file', + 'application/wordperfect', + 'application/x-bittorrent', + 'application/x-bzip', + 'application/x-bzip2', + 'application/x-compressed', + 'application/x-excel', + 'application/x-gzip', + 'application/x-latex', + 'application/x-midi', + 'application/xml', + 'application/x-msexcel', + 'application/x-rar', + 'application/x-rar-compressed', + 'application/x-rtf', + 'application/x-shockwave-flash', + 'application/x-sit', + 'application/x-stuffit', + 'application/x-troff-msvideo', + 'application/x-zip', + 'application/x-zip-compressed', + 'application/zip', + 'audio/*', + 'image/*', + 'multipart/x-gzip', + 'multipart/x-zip', + 'text/plain', + 'text/rtf', + 'text/richtext', + 'text/xml', + 'video/*', + 'text/csv' + ); + + $this->mime_types = array( + 'jpg' => 'image/jpeg', + 'jpeg' => 'image/jpeg', + 'jpe' => 'image/jpeg', + 'gif' => 'image/gif', + 'png' => 'image/png', + 'bmp' => 'image/bmp', + 'flv' => 'video/x-flv', + 'js' => 'application/x-javascript', + 'json' => 'application/json', + 'tiff' => 'image/tiff', + 'css' => 'text/css', + 'xml' => 'application/xml', + 'doc' => 'application/msword', + 'xls' => 'application/vnd.ms-excel', + 'xlt' => 'application/vnd.ms-excel', + 'xlm' => 'application/vnd.ms-excel', + 'xld' => 'application/vnd.ms-excel', + 'xla' => 'application/vnd.ms-excel', + 'xlc' => 'application/vnd.ms-excel', + 'xlw' => 'application/vnd.ms-excel', + 'xll' => 'application/vnd.ms-excel', + 'ppt' => 'application/vnd.ms-powerpoint', + 'pps' => 'application/vnd.ms-powerpoint', + 'rtf' => 'application/rtf', + 'pdf' => 'application/pdf', + 'html' => 'text/html', + 'htm' => 'text/html', + 'php' => 'text/html', + 'txt' => 'text/plain', + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'mp3' => 'audio/mpeg3', + 'wav' => 'audio/wav', + 'aiff' => 'audio/aiff', + 'aif' => 'audio/aiff', + 'avi' => 'video/msvideo', + 'wmv' => 'video/x-ms-wmv', + 'mov' => 'video/quicktime', + 'zip' => 'application/zip', + 'tar' => 'application/x-tar', + 'swf' => 'application/x-shockwave-flash', + 'odt' => 'application/vnd.oasis.opendocument.text', + 'ott' => 'application/vnd.oasis.opendocument.text-template', + 'oth' => 'application/vnd.oasis.opendocument.text-web', + 'odm' => 'application/vnd.oasis.opendocument.text-master', + 'odg' => 'application/vnd.oasis.opendocument.graphics', + 'otg' => 'application/vnd.oasis.opendocument.graphics-template', + 'odp' => 'application/vnd.oasis.opendocument.presentation', + 'otp' => 'application/vnd.oasis.opendocument.presentation-template', + 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', + 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', + 'odc' => 'application/vnd.oasis.opendocument.chart', + 'odf' => 'application/vnd.oasis.opendocument.formula', + 'odb' => 'application/vnd.oasis.opendocument.database', + 'odi' => 'application/vnd.oasis.opendocument.image', + 'oxt' => 'application/vnd.openofficeorg.extension', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'docm' => 'application/vnd.ms-word.document.macroEnabled.12', + 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12', + 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12', + 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12', + 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', + 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12', + 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', + 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12', + 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', + 'potm' => 'application/vnd.ms-powerpoint.template.macroEnabled.12', + 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12', + 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', + 'sldm' => 'application/vnd.ms-powerpoint.slide.macroEnabled.12', + 'thmx' => 'application/vnd.ms-officetheme', + 'onetoc' => 'application/onenote', + 'onetoc2' => 'application/onenote', + 'onetmp' => 'application/onenote', + 'onepkg' => 'application/onenote', + 'csv' => 'text/csv', + ); + + } + + /** + * Constructor, for PHP5+ + */ + function __construct($file, $lang = 'en_GB') { + $this->upload($file, $lang); + } + + /** + * Constructor, for PHP4. Checks if the file has been uploaded + * + * The constructor takes $_FILES['form_field'] array as argument + * where form_field is the form field name + * + * The constructor will check if the file has been uploaded in its temporary location, and + * accordingly will set {@link uploaded} (and {@link error} is an error occurred) + * + * If the file has been uploaded, the constructor will populate all the variables holding the upload + * information (none of the processing class variables are used here). + * You can have access to information about the file (name, size, MIME type...). + * + * + * Alternatively, you can set the first argument to be a local filename (string) + * This allows processing of a local file, as if the file was uploaded + * + * The optional second argument allows you to set the language for the error messages + * + * @access private + * @param array $file $_FILES['form_field'] + * or string $file Local filename + * @param string $lang Optional language code + */ + function upload($file, $lang = 'en_GB') { + + $this->version = '0.34dev'; + + $this->file_src_name = ''; + $this->file_src_name_body = ''; + $this->file_src_name_ext = ''; + $this->file_src_mime = ''; + $this->file_src_size = ''; + $this->file_src_error = ''; + $this->file_src_pathname = ''; + $this->file_src_temp = ''; + + $this->file_dst_path = ''; + $this->file_dst_name = ''; + $this->file_dst_name_body = ''; + $this->file_dst_name_ext = ''; + $this->file_dst_pathname = ''; + + $this->image_src_x = null; + $this->image_src_y = null; + $this->image_src_bits = null; + $this->image_src_type = null; + $this->image_src_pixels = null; + $this->image_dst_x = 0; + $this->image_dst_y = 0; + $this->image_dst_type = ''; + + $this->uploaded = true; + $this->no_upload_check = false; + $this->processed = true; + $this->error = ''; + $this->log = ''; + $this->allowed = array(); + $this->forbidden = array(); + $this->file_is_image = false; + $this->init(); + $info = null; + $mime_from_browser = null; + + // sets default language + $this->translation = array(); + $this->translation['file_error'] = 'File error. Please try again.'; + $this->translation['local_file_missing'] = 'Local file doesn\'t exist.'; + $this->translation['local_file_not_readable'] = 'Local file is not readable.'; + $this->translation['uploaded_too_big_ini'] = 'File upload error (the uploaded file exceeds the upload_max_filesize directive in php.ini).'; + $this->translation['uploaded_too_big_html'] = 'File upload error (the uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form).'; + $this->translation['uploaded_partial'] = 'File upload error (the uploaded file was only partially uploaded).'; + $this->translation['uploaded_missing'] = 'File upload error (no file was uploaded).'; + $this->translation['uploaded_no_tmp_dir'] = 'File upload error (missing a temporary folder).'; + $this->translation['uploaded_cant_write'] = 'File upload error (failed to write file to disk).'; + $this->translation['uploaded_err_extension'] = 'File upload error (file upload stopped by extension).'; + $this->translation['uploaded_unknown'] = 'File upload error (unknown error code).'; + $this->translation['try_again'] = 'File upload error. Please try again.'; + $this->translation['file_too_big'] = 'File too big.'; + $this->translation['no_mime'] = 'MIME type can\'t be detected.'; + $this->translation['incorrect_file'] = 'Incorrect type of file.'; + $this->translation['image_too_wide'] = 'Image too wide.'; + $this->translation['image_too_narrow'] = 'Image too narrow.'; + $this->translation['image_too_high'] = 'Image too tall.'; + $this->translation['image_too_short'] = 'Image too short.'; + $this->translation['ratio_too_high'] = 'Image ratio too high (image too wide).'; + $this->translation['ratio_too_low'] = 'Image ratio too low (image too high).'; + $this->translation['too_many_pixels'] = 'Image has too many pixels.'; + $this->translation['not_enough_pixels'] = 'Image has not enough pixels.'; + $this->translation['file_not_uploaded'] = 'File not uploaded. Can\'t carry on a process.'; + $this->translation['already_exists'] = '%s already exists. Please change the file name.'; + $this->translation['temp_file_missing'] = 'No correct temp source file. Can\'t carry on a process.'; + $this->translation['source_missing'] = 'No correct uploaded source file. Can\'t carry on a process.'; + $this->translation['destination_dir'] = 'Destination directory can\'t be created. Can\'t carry on a process.'; + $this->translation['destination_dir_missing'] = 'Destination directory doesn\'t exist. Can\'t carry on a process.'; + $this->translation['destination_path_not_dir'] = 'Destination path is not a directory. Can\'t carry on a process.'; + $this->translation['destination_dir_write'] = 'Destination directory can\'t be made writeable. Can\'t carry on a process.'; + $this->translation['destination_path_write'] = 'Destination path is not a writeable. Can\'t carry on a process.'; + $this->translation['temp_file'] = 'Can\'t create the temporary file. Can\'t carry on a process.'; + $this->translation['source_not_readable'] = 'Source file is not readable. Can\'t carry on a process.'; + $this->translation['no_create_support'] = 'No create from %s support.'; + $this->translation['create_error'] = 'Error in creating %s image from source.'; + $this->translation['source_invalid'] = 'Can\'t read image source. Not an image?.'; + $this->translation['gd_missing'] = 'GD doesn\'t seem to be present.'; + $this->translation['watermark_no_create_support'] = 'No create from %s support, can\'t read watermark.'; + $this->translation['watermark_create_error'] = 'No %s read support, can\'t create watermark.'; + $this->translation['watermark_invalid'] = 'Unknown image format, can\'t read watermark.'; + $this->translation['file_create'] = 'No %s create support.'; + $this->translation['no_conversion_type'] = 'No conversion type defined.'; + $this->translation['copy_failed'] = 'Error copying file on the server. copy() failed.'; + $this->translation['reading_failed'] = 'Error reading the file.'; + + // determines the language + $this->lang = $lang; + if ($this->lang != 'en_GB' && file_exists(dirname(__FILE__).'/lang') && file_exists(dirname(__FILE__).'/lang/class.upload.' . $lang . '.php')) { + $translation = null; + include(dirname(__FILE__).'/lang/class.upload.' . $lang . '.php'); + if (is_array($translation)) { + $this->translation = array_merge($this->translation, $translation); + } else { + $this->lang = 'en_GB'; + } + } + + + // determines the supported MIME types, and matching image format + $this->image_supported = array(); + if ($this->gdversion()) { + if (imagetypes() & IMG_GIF) { + $this->image_supported['image/gif'] = 'gif'; + } + if (imagetypes() & IMG_JPG) { + $this->image_supported['image/jpg'] = 'jpg'; + $this->image_supported['image/jpeg'] = 'jpg'; + $this->image_supported['image/pjpeg'] = 'jpg'; + } + if (imagetypes() & IMG_PNG) { + $this->image_supported['image/png'] = 'png'; + $this->image_supported['image/x-png'] = 'png'; + } + if (imagetypes() & IMG_WBMP) { + $this->image_supported['image/bmp'] = 'bmp'; + $this->image_supported['image/x-ms-bmp'] = 'bmp'; + $this->image_supported['image/x-windows-bmp'] = 'bmp'; + } + } + + // display some system information + if (empty($this->log)) { + $this->log .= 'system information
    '; + if ($this->function_enabled('ini_get_all')) { + $inis = ini_get_all(); + $open_basedir = (array_key_exists('open_basedir', $inis) && array_key_exists('local_value', $inis['open_basedir']) && !empty($inis['open_basedir']['local_value'])) ? $inis['open_basedir']['local_value'] : false; + } else { + $open_basedir = false; + } + $gd = $this->gdversion() ? $this->gdversion(true) : 'GD not present'; + $supported = trim((in_array('png', $this->image_supported) ? 'png' : '') . ' ' . (in_array('jpg', $this->image_supported) ? 'jpg' : '') . ' ' . (in_array('gif', $this->image_supported) ? 'gif' : '') . ' ' . (in_array('bmp', $this->image_supported) ? 'bmp' : '')); + $this->log .= '- class version : ' . $this->version . '
    '; + $this->log .= '- operating system : ' . PHP_OS . '
    '; + $this->log .= '- PHP version : ' . PHP_VERSION . '
    '; + $this->log .= '- GD version : ' . $gd . '
    '; + $this->log .= '- supported image types : ' . (!empty($supported) ? $supported : 'none') . '
    '; + $this->log .= '- open_basedir : ' . (!empty($open_basedir) ? $open_basedir : 'no restriction') . '
    '; + $this->log .= '- upload_max_filesize : ' . $this->file_max_size_raw . ' (' . $this->file_max_size . ' bytes)
    '; + $this->log .= '- language : ' . $this->lang . '
    '; + } + + if (!$file) { + $this->uploaded = false; + $this->error = $this->translate('file_error'); + } + + // check if we sent a local filename or a PHP stream rather than a $_FILE element + if (!is_array($file)) { + if (empty($file)) { + $this->uploaded = false; + $this->error = $this->translate('file_error'); + } else { + if (substr($file, 0, 4) == 'php:' || substr($file, 0, 5) == 'data:' || substr($file, 0, 7) == 'base64:') { + $data = null; + + // this is a PHP stream, i.e.not uploaded + if (substr($file, 0, 4) == 'php:') { + $file = preg_replace('/^php:(.*)/i', '$1', $file); + if (!$file) $file = $_SERVER['HTTP_X_FILE_NAME']; + if (!$file) $file = 'unknown'; + $data = file_get_contents('php://input'); + $this->log .= 'source is a PHP stream ' . $file . ' of length ' . strlen($data) . '
    '; + + // this is the raw file data, i.e.not uploaded + } else if (substr($file, 0, 5) == 'data:') { + $data = preg_replace('/^data:(.*)/i', '$1', $file); + $file = 'data'; + $this->log .= 'source is a data string of length ' . strlen($data) . '
    '; + + // this is the raw file data, base64-encoded, i.e.not uploaded + } else if (substr($file, 0, 7) == 'base64:') { + $data = base64_decode(preg_replace('/^base64:(.*)/i', '$1', $file)); + $file = 'base64'; + $this->log .= 'source is a base64 data string of length ' . strlen($data) . '
    '; + } + + $this->no_upload_check = TRUE; + $this->log .= '- requires a temp file ... '; + $hash = $this->temp_dir() . md5($file . rand(1, 1000)); + if ($data && file_put_contents($hash, $data)) { + $this->file_src_pathname = $hash; + $this->log .= ' file created
    '; + $this->log .= '    temp file is: ' . $this->file_src_pathname . '
    '; + } else { + $this->log .= ' failed
    '; + $this->uploaded = false; + $this->error = $this->translate('temp_file'); + } + + if ($this->uploaded) { + $this->file_src_name = $file; + $this->log .= '- local file OK
    '; + preg_match('/\.([^\.]*$)/', $this->file_src_name, $extension); + if (is_array($extension) && sizeof($extension) > 0) { + $this->file_src_name_ext = strtolower($extension[1]); + $this->file_src_name_body = substr($this->file_src_name, 0, ((strlen($this->file_src_name) - strlen($this->file_src_name_ext)))-1); + } else { + $this->file_src_name_ext = ''; + $this->file_src_name_body = $this->file_src_name; + } + $this->file_src_size = (file_exists($this->file_src_pathname) ? filesize($this->file_src_pathname) : 0); + } + $this->file_src_error = 0; + + } else { + // this is a local filename, i.e.not uploaded + $this->log .= 'source is a local file ' . $file . '
    '; + $this->no_upload_check = TRUE; + + if ($this->uploaded && !file_exists($file)) { + $this->uploaded = false; + $this->error = $this->translate('local_file_missing'); + } + + if ($this->uploaded && !is_readable($file)) { + $this->uploaded = false; + $this->error = $this->translate('local_file_not_readable'); + } + + if ($this->uploaded) { + $this->file_src_pathname = $file; + $this->file_src_name = basename($file); + $this->log .= '- local file OK
    '; + preg_match('/\.([^\.]*$)/', $this->file_src_name, $extension); + if (is_array($extension) && sizeof($extension) > 0) { + $this->file_src_name_ext = strtolower($extension[1]); + $this->file_src_name_body = substr($this->file_src_name, 0, ((strlen($this->file_src_name) - strlen($this->file_src_name_ext)))-1); + } else { + $this->file_src_name_ext = ''; + $this->file_src_name_body = $this->file_src_name; + } + $this->file_src_size = (file_exists($this->file_src_pathname) ? filesize($this->file_src_pathname) : 0); + } + $this->file_src_error = 0; + } + } + } else { + // this is an element from $_FILE, i.e. an uploaded file + $this->log .= 'source is an uploaded file
    '; + if ($this->uploaded) { + $this->file_src_error = trim($file['error']); + switch($this->file_src_error) { + case UPLOAD_ERR_OK: + // all is OK + $this->log .= '- upload OK
    '; + break; + case UPLOAD_ERR_INI_SIZE: + $this->uploaded = false; + $this->error = $this->translate('uploaded_too_big_ini'); + break; + case UPLOAD_ERR_FORM_SIZE: + $this->uploaded = false; + $this->error = $this->translate('uploaded_too_big_html'); + break; + case UPLOAD_ERR_PARTIAL: + $this->uploaded = false; + $this->error = $this->translate('uploaded_partial'); + break; + case UPLOAD_ERR_NO_FILE: + $this->uploaded = false; + $this->error = $this->translate('uploaded_missing'); + break; + case @UPLOAD_ERR_NO_TMP_DIR: + $this->uploaded = false; + $this->error = $this->translate('uploaded_no_tmp_dir'); + break; + case @UPLOAD_ERR_CANT_WRITE: + $this->uploaded = false; + $this->error = $this->translate('uploaded_cant_write'); + break; + case @UPLOAD_ERR_EXTENSION: + $this->uploaded = false; + $this->error = $this->translate('uploaded_err_extension'); + break; + default: + $this->uploaded = false; + $this->error = $this->translate('uploaded_unknown') . ' ('.$this->file_src_error.')'; + } + } + + if ($this->uploaded) { + $this->file_src_pathname = $file['tmp_name']; + $this->file_src_name = $file['name']; + if ($this->file_src_name == '') { + $this->uploaded = false; + $this->error = $this->translate('try_again'); + } + } + + if ($this->uploaded) { + $this->log .= '- file name OK
    '; + preg_match('/\.([^\.]*$)/', $this->file_src_name, $extension); + if (is_array($extension) && sizeof($extension) > 0) { + $this->file_src_name_ext = strtolower($extension[1]); + $this->file_src_name_body = substr($this->file_src_name, 0, ((strlen($this->file_src_name) - strlen($this->file_src_name_ext)))-1); + } else { + $this->file_src_name_ext = ''; + $this->file_src_name_body = $this->file_src_name; + } + $this->file_src_size = $file['size']; + $mime_from_browser = $file['type']; + } + } + + if ($this->uploaded) { + $this->log .= 'determining MIME type
    '; + $this->file_src_mime = null; + + // checks MIME type with Fileinfo PECL extension + if (!$this->file_src_mime || !is_string($this->file_src_mime) || empty($this->file_src_mime) || strpos($this->file_src_mime, '/') === FALSE) { + if ($this->mime_fileinfo) { + $this->log .= '- Checking MIME type with Fileinfo PECL extension
    '; + if ($this->function_enabled('finfo_open')) { + $path = null; + if ($this->mime_fileinfo !== '') { + if ($this->mime_fileinfo === true) { + if (getenv('MAGIC') === FALSE) { + if (substr(PHP_OS, 0, 3) == 'WIN') { + $path = realpath(ini_get('extension_dir') . '/../') . '/extras/magic'; + $this->log .= '    MAGIC path defaults to ' . $path . '
    '; + } + } else { + $path = getenv('MAGIC'); + $this->log .= '    MAGIC path is set to ' . $path . ' from MAGIC variable
    '; + } + } else { + $path = $this->mime_fileinfo; + $this->log .= '    MAGIC path is set to ' . $path . '
    '; + } + } + if ($path) { + $f = @finfo_open(FILEINFO_MIME, $path); + } else { + $this->log .= '    MAGIC path will not be used
    '; + $f = @finfo_open(FILEINFO_MIME); + } + if (is_resource($f)) { + $mime = finfo_file($f, realpath($this->file_src_pathname)); + finfo_close($f); + $this->file_src_mime = $mime; + $this->log .= '    MIME type detected as ' . $this->file_src_mime . ' by Fileinfo PECL extension
    '; + if (preg_match("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", $this->file_src_mime)) { + $this->file_src_mime = preg_replace("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", '$1/$2', $this->file_src_mime); + $this->log .= '- MIME validated as ' . $this->file_src_mime . '
    '; + } else { + $this->file_src_mime = null; + } + } else { + $this->log .= '    Fileinfo PECL extension failed (finfo_open)
    '; + } + } elseif (@class_exists('finfo')) { + $f = new finfo( FILEINFO_MIME ); + if ($f) { + $this->file_src_mime = $f->file(realpath($this->file_src_pathname)); + $this->log .= '- MIME type detected as ' . $this->file_src_mime . ' by Fileinfo PECL extension
    '; + if (preg_match("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", $this->file_src_mime)) { + $this->file_src_mime = preg_replace("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", '$1/$2', $this->file_src_mime); + $this->log .= '- MIME validated as ' . $this->file_src_mime . '
    '; + } else { + $this->file_src_mime = null; + } + } else { + $this->log .= '    Fileinfo PECL extension failed (finfo)
    '; + } + } else { + $this->log .= '    Fileinfo PECL extension not available
    '; + } + } else { + $this->log .= '- Fileinfo PECL extension deactivated
    '; + } + } + + // checks MIME type with shell if unix access is authorized + if (!$this->file_src_mime || !is_string($this->file_src_mime) || empty($this->file_src_mime) || strpos($this->file_src_mime, '/') === FALSE) { + if ($this->mime_file) { + $this->log .= '- Checking MIME type with UNIX file() command
    '; + if (substr(PHP_OS, 0, 3) != 'WIN') { + if ($this->function_enabled('exec') && $this->function_enabled('escapeshellarg')) { + if (strlen($mime = @exec("file -bi ".escapeshellarg($this->file_src_pathname))) != 0) { + $this->file_src_mime = trim($mime); + $this->log .= '    MIME type detected as ' . $this->file_src_mime . ' by UNIX file() command
    '; + if (preg_match("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", $this->file_src_mime)) { + $this->file_src_mime = preg_replace("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", '$1/$2', $this->file_src_mime); + $this->log .= '- MIME validated as ' . $this->file_src_mime . '
    '; + } else { + $this->file_src_mime = null; + } + } else { + $this->log .= '    UNIX file() command failed
    '; + } + } else { + $this->log .= '    PHP exec() function is disabled
    '; + } + } else { + $this->log .= '    UNIX file() command not availabled
    '; + } + } else { + $this->log .= '- UNIX file() command is deactivated
    '; + } + } + + // checks MIME type with mime_magic + if (!$this->file_src_mime || !is_string($this->file_src_mime) || empty($this->file_src_mime) || strpos($this->file_src_mime, '/') === FALSE) { + if ($this->mime_magic) { + $this->log .= '- Checking MIME type with mime.magic file (mime_content_type())
    '; + if ($this->function_enabled('mime_content_type')) { + $this->file_src_mime = mime_content_type($this->file_src_pathname); + $this->log .= '    MIME type detected as ' . $this->file_src_mime . ' by mime_content_type()
    '; + if (preg_match("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", $this->file_src_mime)) { + $this->file_src_mime = preg_replace("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", '$1/$2', $this->file_src_mime); + $this->log .= '- MIME validated as ' . $this->file_src_mime . '
    '; + } else { + $this->file_src_mime = null; + } + } else { + $this->log .= '    mime_content_type() is not available
    '; + } + } else { + $this->log .= '- mime.magic file (mime_content_type()) is deactivated
    '; + } + } + + // checks MIME type with getimagesize() + if (!$this->file_src_mime || !is_string($this->file_src_mime) || empty($this->file_src_mime) || strpos($this->file_src_mime, '/') === FALSE) { + if ($this->mime_getimagesize) { + $this->log .= '- Checking MIME type with getimagesize()
    '; + $info = getimagesize($this->file_src_pathname); + if (is_array($info) && array_key_exists('mime', $info)) { + $this->file_src_mime = trim($info['mime']); + if (empty($this->file_src_mime)) { + $this->log .= '    MIME empty, guessing from type
    '; + $mime = (is_array($info) && array_key_exists(2, $info) ? $info[2] : null); // 1 = GIF, 2 = JPG, 3 = PNG + $this->file_src_mime = ($mime==IMAGETYPE_GIF ? 'image/gif' : ($mime==IMAGETYPE_JPEG ? 'image/jpeg' : ($mime==IMAGETYPE_PNG ? 'image/png' : ($mime==IMAGETYPE_BMP ? 'image/bmp' : null)))); + } + $this->log .= '    MIME type detected as ' . $this->file_src_mime . ' by PHP getimagesize() function
    '; + if (preg_match("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", $this->file_src_mime)) { + $this->file_src_mime = preg_replace("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", '$1/$2', $this->file_src_mime); + $this->log .= '- MIME validated as ' . $this->file_src_mime . '
    '; + } else { + $this->file_src_mime = null; + } + } else { + $this->log .= '    getimagesize() failed
    '; + } + } else { + $this->log .= '- getimagesize() is deactivated
    '; + } + } + + // default to MIME from browser (or Flash) + if (!empty($mime_from_browser) && !$this->file_src_mime || !is_string($this->file_src_mime) || empty($this->file_src_mime)) { + $this->file_src_mime =$mime_from_browser; + $this->log .= '- MIME type detected as ' . $this->file_src_mime . ' by browser
    '; + if (preg_match("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", $this->file_src_mime)) { + $this->file_src_mime = preg_replace("/^([\.\w-]+)\/([\.\w-]+)(.*)$/i", '$1/$2', $this->file_src_mime); + $this->log .= '- MIME validated as ' . $this->file_src_mime . '
    '; + } else { + $this->file_src_mime = null; + } + } + + // we need to work some magic if we upload via Flash + if ($this->file_src_mime == 'application/octet-stream' || !$this->file_src_mime || !is_string($this->file_src_mime) || empty($this->file_src_mime) || strpos($this->file_src_mime, '/') === FALSE) { + if ($this->file_src_mime == 'application/octet-stream') $this->log .= '- Flash may be rewriting MIME as application/octet-stream
    '; + $this->log .= '- Try to guess MIME type from file extension (' . $this->file_src_name_ext . '): '; + if (array_key_exists($this->file_src_name_ext, $this->mime_types)) $this->file_src_mime = $this->mime_types[$this->file_src_name_ext]; + if ($this->file_src_mime == 'application/octet-stream') { + $this->log .= 'doesn\'t look like anything known
    '; + } else { + $this->log .= 'MIME type set to ' . $this->file_src_mime . '
    '; + } + } + + if (!$this->file_src_mime || !is_string($this->file_src_mime) || empty($this->file_src_mime) || strpos($this->file_src_mime, '/') === FALSE) { + $this->log .= '- MIME type couldn\'t be detected! (' . (string) $this->file_src_mime . ')
    '; + } + + // determine whether the file is an image + if ($this->file_src_mime && is_string($this->file_src_mime) && !empty($this->file_src_mime) && array_key_exists($this->file_src_mime, $this->image_supported)) { + $this->file_is_image = true; + $this->image_src_type = $this->image_supported[$this->file_src_mime]; + } + + // if the file is an image, we gather some useful data + if ($this->file_is_image) { + if ($h = fopen($this->file_src_pathname, 'r')) { + fclose($h); + $info = getimagesize($this->file_src_pathname); + if (is_array($info)) { + $this->image_src_x = $info[0]; + $this->image_src_y = $info[1]; + $this->image_dst_x = $this->image_src_x; + $this->image_dst_y = $this->image_src_y; + $this->image_src_pixels = $this->image_src_x * $this->image_src_y; + $this->image_src_bits = array_key_exists('bits', $info) ? $info['bits'] : null; + } else { + $this->file_is_image = false; + $this->uploaded = false; + $this->log .= '- can\'t retrieve image information, image may have been tampered with
    '; + $this->error = $this->translate('source_invalid'); + } + } else { + $this->log .= '- can\'t read source file directly. open_basedir restriction in place?
    '; + } + } + + $this->log .= 'source variables
    '; + $this->log .= '- You can use all these before calling process()
    '; + $this->log .= '    file_src_name : ' . $this->file_src_name . '
    '; + $this->log .= '    file_src_name_body : ' . $this->file_src_name_body . '
    '; + $this->log .= '    file_src_name_ext : ' . $this->file_src_name_ext . '
    '; + $this->log .= '    file_src_pathname : ' . $this->file_src_pathname . '
    '; + $this->log .= '    file_src_mime : ' . $this->file_src_mime . '
    '; + $this->log .= '    file_src_size : ' . $this->file_src_size . ' (max= ' . $this->file_max_size . ')
    '; + $this->log .= '    file_src_error : ' . $this->file_src_error . '
    '; + + if ($this->file_is_image) { + $this->log .= '- source file is an image
    '; + $this->log .= '    image_src_x : ' . $this->image_src_x . '
    '; + $this->log .= '    image_src_y : ' . $this->image_src_y . '
    '; + $this->log .= '    image_src_pixels : ' . $this->image_src_pixels . '
    '; + $this->log .= '    image_src_type : ' . $this->image_src_type . '
    '; + $this->log .= '    image_src_bits : ' . $this->image_src_bits . '
    '; + } + } + + } + + /** + * Returns the version of GD + * + * @access public + * @param boolean $full Optional flag to get precise version + * @return float GD version + */ + function gdversion($full = false) { + static $gd_version = null; + static $gd_full_version = null; + if ($gd_version === null) { + if ($this->function_enabled('gd_info')) { + $gd = gd_info(); + $gd = $gd["GD Version"]; + $regex = "/([\d\.]+)/i"; + } else { + ob_start(); + phpinfo(8); + $gd = ob_get_contents(); + ob_end_clean(); + $regex = "/\bgd\s+version\b[^\d\n\r]+?([\d\.]+)/i"; + } + if (preg_match($regex, $gd, $m)) { + $gd_full_version = (string) $m[1]; + $gd_version = (float) $m[1]; + } else { + $gd_full_version = 'none'; + $gd_version = 0; + } + } + if ($full) { + return $gd_full_version; + } else { + return $gd_version; + } + } + + /** + * Checks if a function is available + * + * @access private + * @param string $func Function name + * @return boolean Success + */ + function function_enabled($func) { + // cache the list of disabled functions + static $disabled = null; + if ($disabled === null) $disabled = array_map('trim', array_map('strtolower', explode(',', ini_get('disable_functions')))); + // cache the list of functions blacklisted by suhosin + static $blacklist = null; + if ($blacklist === null) $blacklist = extension_loaded('suhosin') ? array_map('trim', array_map('strtolower', explode(',', ini_get(' suhosin.executor.func.blacklist')))) : array(); + // checks if the function is really enabled + return (function_exists($func) && !in_array($func, $disabled) && !in_array($func, $blacklist)); + } + + /** + * Creates directories recursively + * + * @access private + * @param string $path Path to create + * @param integer $mode Optional permissions + * @return boolean Success + */ + function rmkdir($path, $mode = 0777) { + return is_dir($path) || ( $this->rmkdir(dirname($path), $mode) && $this->_mkdir($path, $mode) ); + } + + /** + * Creates directory + * + * @access private + * @param string $path Path to create + * @param integer $mode Optional permissions + * @return boolean Success + */ + function _mkdir($path, $mode = 0777) { + $old = umask(0); + $res = @mkdir($path, $mode); + umask($old); + return $res; + } + + /** + * Translate error messages + * + * @access private + * @param string $str Message to translate + * @param array $tokens Optional token values + * @return string Translated string + */ + function translate($str, $tokens = array()) { + if (array_key_exists($str, $this->translation)) $str = $this->translation[$str]; + if (is_array($tokens) && sizeof($tokens) > 0) $str = vsprintf($str, $tokens); + return $str; + } + + /** + * Returns the temp directory + * + * @access private + * @return string Temp directory string + */ + function temp_dir() { + $dir = ''; + if ($this->function_enabled('sys_get_temp_dir')) $dir = sys_get_temp_dir(); + if (!$dir && $tmp=getenv('TMP')) $dir = $tmp; + if (!$dir && $tmp=getenv('TEMP')) $dir = $tmp; + if (!$dir && $tmp=getenv('TMPDIR')) $dir = $tmp; + if (!$dir) { + $tmp = tempnam(__FILE__,''); + if (file_exists($tmp)) { + unlink($tmp); + $dir = dirname($tmp); + } + } + if (!$dir) return ''; + $slash = (strtolower(substr(PHP_OS, 0, 3)) === 'win' ? '\\' : '/'); + if (substr($dir, -1) != $slash) $dir = $dir . $slash; + return $dir; + } + + /** + * Decodes colors + * + * @access private + * @param string $color Color string + * @return array RGB colors + */ + function getcolors($color) { + $color = str_replace('#', '', $color); + if (strlen($color) == 3) $color = str_repeat(substr($color, 0, 1), 2) . str_repeat(substr($color, 1, 1), 2) . str_repeat(substr($color, 2, 1), 2); + $r = sscanf($color, "%2x%2x%2x"); + $red = (is_array($r) && array_key_exists(0, $r) && is_numeric($r[0]) ? $r[0] : 0); + $green = (is_array($r) && array_key_exists(1, $r) && is_numeric($r[1]) ? $r[1] : 0); + $blue = (is_array($r) && array_key_exists(2, $r) && is_numeric($r[2]) ? $r[2] : 0); + return array($red, $green, $blue); + } + + /** + * Decodes sizes + * + * @access private + * @param string $size Size in bytes, or shorthand byte options + * @return integer Size in bytes + */ + function getsize($size) { + if ($size === null) return null; + $last = strtolower($size{strlen($size)-1}); + $size = (int) $size; + switch($last) { + case 'g': + $size *= 1024; + case 'm': + $size *= 1024; + case 'k': + $size *= 1024; + } + return $size; + } + + /** + * Decodes offsets + * + * @access private + * @param misc $offsets Offsets, as an integer, a string or an array + * @param integer $x Reference picture width + * @param integer $y Reference picture height + * @param boolean $round Round offsets before returning them + * @param boolean $negative Allow negative offsets to be returned + * @return array Array of four offsets (TRBL) + */ + function getoffsets($offsets, $x, $y, $round = true, $negative = true) { + if (!is_array($offsets)) $offsets = explode(' ', $offsets); + if (sizeof($offsets) == 4) { + $ct = $offsets[0]; $cr = $offsets[1]; $cb = $offsets[2]; $cl = $offsets[3]; + } else if (sizeof($offsets) == 2) { + $ct = $offsets[0]; $cr = $offsets[1]; $cb = $offsets[0]; $cl = $offsets[1]; + } else { + $ct = $offsets[0]; $cr = $offsets[0]; $cb = $offsets[0]; $cl = $offsets[0]; + } + if (strpos($ct, '%')>0) $ct = $y * (str_replace('%','',$ct) / 100); + if (strpos($cr, '%')>0) $cr = $x * (str_replace('%','',$cr) / 100); + if (strpos($cb, '%')>0) $cb = $y * (str_replace('%','',$cb) / 100); + if (strpos($cl, '%')>0) $cl = $x * (str_replace('%','',$cl) / 100); + if (strpos($ct, 'px')>0) $ct = str_replace('px','',$ct); + if (strpos($cr, 'px')>0) $cr = str_replace('px','',$cr); + if (strpos($cb, 'px')>0) $cb = str_replace('px','',$cb); + if (strpos($cl, 'px')>0) $cl = str_replace('px','',$cl); + $ct = (int) $ct; $cr = (int) $cr; $cb = (int) $cb; $cl = (int) $cl; + if ($round) { + $ct = round($ct); + $cr = round($cr); + $cb = round($cb); + $cl = round($cl); + } + if (!$negative) { + if ($ct < 0) $ct = 0; + if ($cr < 0) $cr = 0; + if ($cb < 0) $cb = 0; + if ($cl < 0) $cl = 0; + } + return array($ct, $cr, $cb, $cl); + } + + /** + * Creates a container image + * + * @access private + * @param integer $x Width + * @param integer $y Height + * @param boolean $fill Optional flag to draw the background color or not + * @param boolean $trsp Optional flag to set the background to be transparent + * @return resource Container image + */ + function imagecreatenew($x, $y, $fill = true, $trsp = false) { + if ($x < 1) $x = 1; if ($y < 1) $y = 1; + if ($this->gdversion() >= 2 && !$this->image_is_palette) { + // create a true color image + $dst_im = imagecreatetruecolor($x, $y); + // this preserves transparency in PNGs, in true color + if (empty($this->image_background_color) || $trsp) { + imagealphablending($dst_im, false ); + imagefilledrectangle($dst_im, 0, 0, $x, $y, imagecolorallocatealpha($dst_im, 0, 0, 0, 127)); + } + } else { + // creates a palette image + $dst_im = imagecreate($x, $y); + // preserves transparency for palette images, if the original image has transparency + if (($fill && $this->image_is_transparent && empty($this->image_background_color)) || $trsp) { + imagefilledrectangle($dst_im, 0, 0, $x, $y, $this->image_transparent_color); + imagecolortransparent($dst_im, $this->image_transparent_color); + } + } + // fills with background color if any is set + if ($fill && !empty($this->image_background_color) && !$trsp) { + list($red, $green, $blue) = $this->getcolors($this->image_background_color); + $background_color = imagecolorallocate($dst_im, $red, $green, $blue); + imagefilledrectangle($dst_im, 0, 0, $x, $y, $background_color); + } + return $dst_im; + } + + + /** + * Transfers an image from the container to the destination image + * + * @access private + * @param resource $src_im Container image + * @param resource $dst_im Destination image + * @return resource Destination image + */ + function imagetransfer($src_im, $dst_im) { + if (is_resource($dst_im)) imagedestroy($dst_im); + $dst_im = & $src_im; + return $dst_im; + } + + /** + * Merges two images + * + * If the output format is PNG, then we do it pixel per pixel to retain the alpha channel + * + * @access private + * @param resource $dst_img Destination image + * @param resource $src_img Overlay image + * @param int $dst_x x-coordinate of destination point + * @param int $dst_y y-coordinate of destination point + * @param int $src_x x-coordinate of source point + * @param int $src_y y-coordinate of source point + * @param int $src_w Source width + * @param int $src_h Source height + * @param int $pct Optional percentage of the overlay, between 0 and 100 (default: 100) + * @return resource Destination image + */ + function imagecopymergealpha(&$dst_im, &$src_im, $dst_x, $dst_y, $src_x, $src_y, $src_w, $src_h, $pct = 0) { + $dst_x = (int) $dst_x; + $dst_y = (int) $dst_y; + $src_x = (int) $src_x; + $src_y = (int) $src_y; + $src_w = (int) $src_w; + $src_h = (int) $src_h; + $pct = (int) $pct; + $dst_w = imagesx($dst_im); + $dst_h = imagesy($dst_im); + + for ($y = $src_y; $y < $src_h; $y++) { + for ($x = $src_x; $x < $src_w; $x++) { + + if ($x + $dst_x >= 0 && $x + $dst_x < $dst_w && $x + $src_x >= 0 && $x + $src_x < $src_w + && $y + $dst_y >= 0 && $y + $dst_y < $dst_h && $y + $src_y >= 0 && $y + $src_y < $src_h) { + + $dst_pixel = imagecolorsforindex($dst_im, imagecolorat($dst_im, $x + $dst_x, $y + $dst_y)); + $src_pixel = imagecolorsforindex($src_im, imagecolorat($src_im, $x + $src_x, $y + $src_y)); + + $src_alpha = 1 - ($src_pixel['alpha'] / 127); + $dst_alpha = 1 - ($dst_pixel['alpha'] / 127); + $opacity = $src_alpha * $pct / 100; + if ($dst_alpha >= $opacity) $alpha = $dst_alpha; + if ($dst_alpha < $opacity) $alpha = $opacity; + if ($alpha > 1) $alpha = 1; + + if ($opacity > 0) { + $dst_red = round(( ($dst_pixel['red'] * $dst_alpha * (1 - $opacity)) ) ); + $dst_green = round(( ($dst_pixel['green'] * $dst_alpha * (1 - $opacity)) ) ); + $dst_blue = round(( ($dst_pixel['blue'] * $dst_alpha * (1 - $opacity)) ) ); + $src_red = round((($src_pixel['red'] * $opacity)) ); + $src_green = round((($src_pixel['green'] * $opacity)) ); + $src_blue = round((($src_pixel['blue'] * $opacity)) ); + $red = round(($dst_red + $src_red ) / ($dst_alpha * (1 - $opacity) + $opacity)); + $green = round(($dst_green + $src_green) / ($dst_alpha * (1 - $opacity) + $opacity)); + $blue = round(($dst_blue + $src_blue ) / ($dst_alpha * (1 - $opacity) + $opacity)); + if ($red > 255) $red = 255; + if ($green > 255) $green = 255; + if ($blue > 255) $blue = 255; + $alpha = round((1 - $alpha) * 127); + $color = imagecolorallocatealpha($dst_im, $red, $green, $blue, $alpha); + imagesetpixel($dst_im, $x + $dst_x, $y + $dst_y, $color); + } + } + } + } + return true; + } + + + + /** + * Actually uploads the file, and act on it according to the set processing class variables + * + * This function copies the uploaded file to the given location, eventually performing actions on it. + * Typically, you can call {@link process} several times for the same file, + * for instance to create a resized image and a thumbnail of the same file. + * The original uploaded file remains intact in its temporary location, so you can use {@link process} several times. + * You will be able to delete the uploaded file with {@link clean} when you have finished all your {@link process} calls. + * + * According to the processing class variables set in the calling file, the file can be renamed, + * and if it is an image, can be resized or converted. + * + * When the processing is completed, and the file copied to its new location, the + * processing class variables will be reset to their default value. + * This allows you to set new properties, and perform another {@link process} on the same uploaded file + * + * If the function is called with a null or empty argument, then it will return the content of the picture + * + * It will set {@link processed} (and {@link error} is an error occurred) + * + * @access public + * @param string $server_path Optional path location of the uploaded file, with an ending slash + * @return string Optional content of the image + */ + function process($server_path = null) { + $this->error = ''; + $this->processed = true; + $return_mode = false; + $return_content = null; + + // clean up dst variables + $this->file_dst_path = ''; + $this->file_dst_pathname = ''; + $this->file_dst_name = ''; + $this->file_dst_name_body = ''; + $this->file_dst_name_ext = ''; + + // clean up some parameters + $this->file_max_size = $this->getsize($this->file_max_size); + $this->jpeg_size = $this->getsize($this->jpeg_size); + + // copy some variables as we need to keep them clean + $file_src_name = $this->file_src_name; + $file_src_name_body = $this->file_src_name_body; + $file_src_name_ext = $this->file_src_name_ext; + + if (!$this->uploaded) { + $this->error = $this->translate('file_not_uploaded'); + $this->processed = false; + } + + if ($this->processed) { + if (empty($server_path) || is_null($server_path)) { + $this->log .= 'process file and return the content
    '; + $return_mode = true; + } else { + if(strtolower(substr(PHP_OS, 0, 3)) === 'win') { + if (substr($server_path, -1, 1) != '\\') $server_path = $server_path . '\\'; + } else { + if (substr($server_path, -1, 1) != '/') $server_path = $server_path . '/'; + } + $this->log .= 'process file to ' . $server_path . '
    '; + } + } + + if ($this->processed) { + // checks file max size + if ($this->file_src_size > $this->file_max_size) { + $this->processed = false; + $this->error = $this->translate('file_too_big') . ' : ' . $this->file_src_size . ' > ' . $this->file_max_size; + } else { + $this->log .= '- file size OK
    '; + } + } + + if ($this->processed) { + // if we have an image without extension, set it + if ($this->file_force_extension && $this->file_is_image && !$this->file_src_name_ext) $file_src_name_ext = $this->image_src_type; + // turn dangerous scripts into text files + if ($this->no_script) { + // if the file has no extension, we try to guess it from the MIME type + if ($this->file_force_extension && empty($file_src_name_ext)) { + if ($key = array_search($this->file_src_mime, $this->mime_types)) { + $file_src_name_ext = $key; + $file_src_name = $file_src_name_body . '.' . $file_src_name_ext; + $this->log .= '- file renamed as ' . $file_src_name_body . '.' . $file_src_name_ext . '!
    '; + } + } + // if the file is text based, or has a dangerous extension, we rename it as .txt + if ((((substr($this->file_src_mime, 0, 5) == 'text/' && $this->file_src_mime != 'text/rtf') || strpos($this->file_src_mime, 'javascript') !== false) && (substr($file_src_name, -4) != '.txt')) + || preg_match('/\.(php|php5|php4|php3|phtml|pl|py|cgi|asp|js)$/i', $this->file_src_name) + || $this->file_force_extension && empty($file_src_name_ext)) { + $this->file_src_mime = 'text/plain'; + if ($this->file_src_name_ext) $file_src_name_body = $file_src_name_body . '.' . $this->file_src_name_ext; + $file_src_name_ext = 'txt'; + $file_src_name = $file_src_name_body . '.' . $file_src_name_ext; + $this->log .= '- script renamed as ' . $file_src_name_body . '.' . $file_src_name_ext . '!
    '; + } + } + + if ($this->mime_check && empty($this->file_src_mime)) { + $this->processed = false; + $this->error = $this->translate('no_mime'); + } else if ($this->mime_check && !empty($this->file_src_mime) && strpos($this->file_src_mime, '/') !== false) { + list($m1, $m2) = explode('/', $this->file_src_mime); + $allowed = false; + // check wether the mime type is allowed + if (!is_array($this->allowed)) $this->allowed = array($this->allowed); + foreach($this->allowed as $k => $v) { + list($v1, $v2) = explode('/', $v); + if (($v1 == '*' && $v2 == '*') || ($v1 == $m1 && ($v2 == $m2 || $v2 == '*'))) { + $allowed = true; + break; + } + } + // check wether the mime type is forbidden + if (!is_array($this->forbidden)) $this->forbidden = array($this->forbidden); + foreach($this->forbidden as $k => $v) { + list($v1, $v2) = explode('/', $v); + if (($v1 == '*' && $v2 == '*') || ($v1 == $m1 && ($v2 == $m2 || $v2 == '*'))) { + $allowed = false; + break; + } + } + if (!$allowed) { + $this->processed = false; + $this->error = $this->translate('incorrect_file'); + } else { + $this->log .= '- file mime OK : ' . $this->file_src_mime . '
    '; + } + } else { + $this->log .= '- file mime (not checked) : ' . $this->file_src_mime . '
    '; + } + + // if the file is an image, we can check on its dimensions + // these checks are not available if open_basedir restrictions are in place + if ($this->file_is_image) { + if (is_numeric($this->image_src_x) && is_numeric($this->image_src_y)) { + $ratio = $this->image_src_x / $this->image_src_y; + if (!is_null($this->image_max_width) && $this->image_src_x > $this->image_max_width) { + $this->processed = false; + $this->error = $this->translate('image_too_wide'); + } + if (!is_null($this->image_min_width) && $this->image_src_x < $this->image_min_width) { + $this->processed = false; + $this->error = $this->translate('image_too_narrow'); + } + if (!is_null($this->image_max_height) && $this->image_src_y > $this->image_max_height) { + $this->processed = false; + $this->error = $this->translate('image_too_high'); + } + if (!is_null($this->image_min_height) && $this->image_src_y < $this->image_min_height) { + $this->processed = false; + $this->error = $this->translate('image_too_short'); + } + if (!is_null($this->image_max_ratio) && $ratio > $this->image_max_ratio) { + $this->processed = false; + $this->error = $this->translate('ratio_too_high'); + } + if (!is_null($this->image_min_ratio) && $ratio < $this->image_min_ratio) { + $this->processed = false; + $this->error = $this->translate('ratio_too_low'); + } + if (!is_null($this->image_max_pixels) && $this->image_src_pixels > $this->image_max_pixels) { + $this->processed = false; + $this->error = $this->translate('too_many_pixels'); + } + if (!is_null($this->image_min_pixels) && $this->image_src_pixels < $this->image_min_pixels) { + $this->processed = false; + $this->error = $this->translate('not_enough_pixels'); + } + } else { + $this->log .= '- no image properties available, can\'t enforce dimension checks : ' . $this->file_src_mime . '
    '; + } + } + } + + if ($this->processed) { + $this->file_dst_path = $server_path; + + // repopulate dst variables from src + $this->file_dst_name = $file_src_name; + $this->file_dst_name_body = $file_src_name_body; + $this->file_dst_name_ext = $file_src_name_ext; + if ($this->file_overwrite) $this->file_auto_rename = false; + + if ($this->image_convert && $this->file_is_image) { // if we convert as an image + if ($this->file_src_name_ext) $this->file_dst_name_ext = $this->image_convert; + $this->log .= '- new file name ext : ' . $this->image_convert . '
    '; + } + if (!is_null($this->file_new_name_body)) { // rename file body + $this->file_dst_name_body = $this->file_new_name_body; + $this->log .= '- new file name body : ' . $this->file_new_name_body . '
    '; + } + if (!is_null($this->file_new_name_ext)) { // rename file ext + $this->file_dst_name_ext = $this->file_new_name_ext; + $this->log .= '- new file name ext : ' . $this->file_new_name_ext . '
    '; + } + if (!is_null($this->file_name_body_add)) { // append a string to the name + $this->file_dst_name_body = $this->file_dst_name_body . $this->file_name_body_add; + $this->log .= '- file name body append : ' . $this->file_name_body_add . '
    '; + } + if (!is_null($this->file_name_body_pre)) { // prepend a string to the name + $this->file_dst_name_body = $this->file_name_body_pre . $this->file_dst_name_body; + $this->log .= '- file name body prepend : ' . $this->file_name_body_pre . '
    '; + } + if ($this->file_safe_name) { // formats the name + $this->file_dst_name_body = utf8_encode(strtr(utf8_decode($this->file_dst_name_body), utf8_decode('ŠŽšžŸÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖØÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöøùúûüýÿ'), 'SZszYAAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy')); + $this->file_dst_name_body = strtr($this->file_dst_name_body, array('Þ' => 'TH', 'þ' => 'th', 'Ð' => 'DH', 'ð' => 'dh', 'ß' => 'ss', 'Œ' => 'OE', 'œ' => 'oe', 'Æ' => 'AE', 'æ' => 'ae', 'µ' => 'u')); + $this->file_dst_name_body = preg_replace(array('/\s/', '/\.[\.]+/', '/[^\w_\.\-]/'), array('_', '.', ''), $this->file_dst_name_body); + $this->log .= '- file name safe format
    '; + } + + $this->log .= '- destination variables
    '; + if (empty($this->file_dst_path) || is_null($this->file_dst_path)) { + $this->log .= '    file_dst_path : n/a
    '; + } else { + $this->log .= '    file_dst_path : ' . $this->file_dst_path . '
    '; + } + $this->log .= '    file_dst_name_body : ' . $this->file_dst_name_body . '
    '; + $this->log .= '    file_dst_name_ext : ' . $this->file_dst_name_ext . '
    '; + + // set the destination file name + $this->file_dst_name = $this->file_dst_name_body . (!empty($this->file_dst_name_ext) ? '.' . $this->file_dst_name_ext : ''); + + if (!$return_mode) { + if (!$this->file_auto_rename) { + $this->log .= '- no auto_rename if same filename exists
    '; + $this->file_dst_pathname = $this->file_dst_path . $this->file_dst_name; + } else { + $this->log .= '- checking for auto_rename
    '; + $this->file_dst_pathname = $this->file_dst_path . $this->file_dst_name; + $body = $this->file_dst_name_body; + $ext = ''; + // if we have changed the extension, then we add our increment before + if ($file_src_name_ext != $this->file_src_name_ext) { + if (substr($this->file_dst_name_body, -1 - strlen($this->file_src_name_ext)) == '.' . $this->file_src_name_ext) { + $body = substr($this->file_dst_name_body, 0, strlen($this->file_dst_name_body) - 1 - strlen($this->file_src_name_ext)); + $ext = '.' . $this->file_src_name_ext; + } + } + $cpt = 1; + while (@file_exists($this->file_dst_pathname)) { + $this->file_dst_name_body = $body . '_' . $cpt . $ext; + $this->file_dst_name = $this->file_dst_name_body . (!empty($this->file_dst_name_ext) ? '.' . $this->file_dst_name_ext : ''); + $cpt++; + $this->file_dst_pathname = $this->file_dst_path . $this->file_dst_name; + } + if ($cpt>1) $this->log .= '    auto_rename to ' . $this->file_dst_name . '
    '; + } + + $this->log .= '- destination file details
    '; + $this->log .= '    file_dst_name : ' . $this->file_dst_name . '
    '; + $this->log .= '    file_dst_pathname : ' . $this->file_dst_pathname . '
    '; + + if ($this->file_overwrite) { + $this->log .= '- no overwrite checking
    '; + } else { + if (@file_exists($this->file_dst_pathname)) { + $this->processed = false; + $this->error = $this->translate('already_exists', array($this->file_dst_name)); + } else { + $this->log .= '- ' . $this->file_dst_name . ' doesn\'t exist already
    '; + } + } + } + } + + if ($this->processed) { + // if we have already moved the uploaded file, we use the temporary copy as source file, and check if it exists + if (!empty($this->file_src_temp)) { + $this->log .= '- use the temp file instead of the original file since it is a second process
    '; + $this->file_src_pathname = $this->file_src_temp; + if (!file_exists($this->file_src_pathname)) { + $this->processed = false; + $this->error = $this->translate('temp_file_missing'); + } + // if we haven't a temp file, and that we do check on uploads, we use is_uploaded_file() + } else if (!$this->no_upload_check) { + if (!is_uploaded_file($this->file_src_pathname)) { + $this->processed = false; + $this->error = $this->translate('source_missing'); + } + // otherwise, if we don't check on uploaded files (local file for instance), we use file_exists() + } else { + if (!file_exists($this->file_src_pathname)) { + $this->processed = false; + $this->error = $this->translate('source_missing'); + } + } + + // checks if the destination directory exists, and attempt to create it + if (!$return_mode) { + if ($this->processed && !file_exists($this->file_dst_path)) { + if ($this->dir_auto_create) { + $this->log .= '- ' . $this->file_dst_path . ' doesn\'t exist. Attempting creation:'; + if (!$this->rmkdir($this->file_dst_path, $this->dir_chmod)) { + $this->log .= ' failed
    '; + $this->processed = false; + $this->error = $this->translate('destination_dir'); + } else { + $this->log .= ' success
    '; + } + } else { + $this->error = $this->translate('destination_dir_missing'); + } + } + + if ($this->processed && !is_dir($this->file_dst_path)) { + $this->processed = false; + $this->error = $this->translate('destination_path_not_dir'); + } + + // checks if the destination directory is writeable, and attempt to make it writeable + $hash = md5($this->file_dst_name_body . rand(1, 1000)); + if ($this->processed && !($f = @fopen($this->file_dst_path . $hash . (!empty($this->file_dst_name_ext) ? '.' . $this->file_dst_name_ext : ''), 'a+'))) { + if ($this->dir_auto_chmod) { + $this->log .= '- ' . $this->file_dst_path . ' is not writeable. Attempting chmod:'; + if (!@chmod($this->file_dst_path, $this->dir_chmod)) { + $this->log .= ' failed
    '; + $this->processed = false; + $this->error = $this->translate('destination_dir_write'); + } else { + $this->log .= ' success
    '; + if (!($f = @fopen($this->file_dst_path . $hash . (!empty($this->file_dst_name_ext) ? '.' . $this->file_dst_name_ext : ''), 'a+'))) { // we re-check + $this->processed = false; + $this->error = $this->translate('destination_dir_write'); + } else { + @fclose($f); + } + } + } else { + $this->processed = false; + $this->error = $this->translate('destination_path_write'); + } + } else { + if ($this->processed) @fclose($f); + @unlink($this->file_dst_path . $hash . (!empty($this->file_dst_name_ext) ? '.' . $this->file_dst_name_ext : '')); + } + + + // if we have an uploaded file, and if it is the first process, and if we can't access the file directly (open_basedir restriction) + // then we create a temp file that will be used as the source file in subsequent processes + // the third condition is there to check if the file is not accessible *directly* (it already has positively gone through is_uploaded_file(), so it exists) + if (!$this->no_upload_check && empty($this->file_src_temp) && !@file_exists($this->file_src_pathname)) { + $this->log .= '- attempting to use a temp file:'; + $hash = md5($this->file_dst_name_body . rand(1, 1000)); + if (move_uploaded_file($this->file_src_pathname, $this->file_dst_path . $hash . (!empty($this->file_dst_name_ext) ? '.' . $this->file_dst_name_ext : ''))) { + $this->file_src_pathname = $this->file_dst_path . $hash . (!empty($this->file_dst_name_ext) ? '.' . $this->file_dst_name_ext : ''); + $this->file_src_temp = $this->file_src_pathname; + $this->log .= ' file created
    '; + $this->log .= '    temp file is: ' . $this->file_src_temp . '
    '; + } else { + $this->log .= ' failed
    '; + $this->processed = false; + $this->error = $this->translate('temp_file'); + } + } + } + } + + if ($this->processed) { + + // check if we need to autorotate, to automatically pre-rotates the image according to EXIF data (JPEG only) + $auto_flip = false; + $auto_rotate = 0; + if ($this->file_is_image && $this->image_auto_rotate && $this->image_src_type == 'jpg' && $this->function_enabled('exif_read_data')) { + $exif = @exif_read_data($this->file_src_pathname); + if (is_array($exif) && isset($exif['Orientation'])) { + $orientation = $exif['Orientation']; + switch($orientation) { + case 1: + $this->log .= '- EXIF orientation = 1 : default
    '; + break; + case 2: + $auto_flip = 'v'; + $this->log .= '- EXIF orientation = 2 : vertical flip
    '; + break; + case 3: + $auto_rotate = 180; + $this->log .= '- EXIF orientation = 3 : 180 rotate left
    '; + break; + case 4: + $auto_flip = 'h'; + $this->log .= '- EXIF orientation = 4 : horizontal flip
    '; + break; + case 5: + $auto_flip = 'h'; + $auto_rotate = 90; + $this->log .= '- EXIF orientation = 5 : horizontal flip + 90 rotate right
    '; + break; + case 6: + $auto_rotate = 90; + $this->log .= '- EXIF orientation = 6 : 90 rotate right
    '; + break; + case 7: + $auto_flip = 'v'; + $auto_rotate = 90; + $this->log .= '- EXIF orientation = 7 : vertical flip + 90 rotate right
    '; + break; + case 8: + $auto_rotate = 270; + $this->log .= '- EXIF orientation = 8 : 90 rotate left
    '; + break; + default: + $this->log .= '- EXIF orientation = '.$orientation.' : unknown
    '; + break; + } + } else { + $this->log .= '- EXIF data is invalid or missing
    '; + } + } else { + if (!$this->image_auto_rotate) { + $this->log .= '- auto-rotate deactivated
    '; + } else if (!$this->image_src_type == 'jpg') { + $this->log .= '- auto-rotate applies only to JPEG images
    '; + } else if (!$this->function_enabled('exif_read_data')) { + $this->log .= '- auto-rotate requires function exif_read_data to be enabled
    '; + } + } + + // do we do some image manipulation? + $image_manipulation = ($this->file_is_image && ( + $this->image_resize + || $this->image_convert != '' + || is_numeric($this->image_brightness) + || is_numeric($this->image_contrast) + || is_numeric($this->image_opacity) + || is_numeric($this->image_threshold) + || !empty($this->image_tint_color) + || !empty($this->image_overlay_color) + || $this->image_pixelate + || $this->image_unsharp + || !empty($this->image_text) + || $this->image_greyscale + || $this->image_negative + || !empty($this->image_watermark) + || $auto_rotate || $auto_flip + || is_numeric($this->image_rotate) + || is_numeric($this->jpeg_size) + || !empty($this->image_flip) + || !empty($this->image_crop) + || !empty($this->image_precrop) + || !empty($this->image_border) + || !empty($this->image_border_transparent) + || $this->image_frame > 0 + || $this->image_bevel > 0 + || $this->image_reflection_height)); + + // we do a quick check to ensure the file is really an image + // we can do this only now, as it would have failed before in case of open_basedir + if ($image_manipulation && !@getimagesize($this->file_src_pathname)) { + $this->log .= '- the file is not an image!
    '; + $image_manipulation = false; + } + + if ($image_manipulation) { + + // make sure GD doesn't complain too much + @ini_set("gd.jpeg_ignore_warning", 1); + + // checks if the source file is readable + if ($this->processed && !($f = @fopen($this->file_src_pathname, 'r'))) { + $this->processed = false; + $this->error = $this->translate('source_not_readable'); + } else { + @fclose($f); + } + + // we now do all the image manipulations + $this->log .= '- image resizing or conversion wanted
    '; + if ($this->gdversion()) { + switch($this->image_src_type) { + case 'jpg': + if (!$this->function_enabled('imagecreatefromjpeg')) { + $this->processed = false; + $this->error = $this->translate('no_create_support', array('JPEG')); + } else { + $image_src = @imagecreatefromjpeg($this->file_src_pathname); + if (!$image_src) { + $this->processed = false; + $this->error = $this->translate('create_error', array('JPEG')); + } else { + $this->log .= '- source image is JPEG
    '; + } + } + break; + case 'png': + if (!$this->function_enabled('imagecreatefrompng')) { + $this->processed = false; + $this->error = $this->translate('no_create_support', array('PNG')); + } else { + $image_src = @imagecreatefrompng($this->file_src_pathname); + if (!$image_src) { + $this->processed = false; + $this->error = $this->translate('create_error', array('PNG')); + } else { + $this->log .= '- source image is PNG
    '; + } + } + break; + case 'gif': + if (!$this->function_enabled('imagecreatefromgif')) { + $this->processed = false; + $this->error = $this->translate('no_create_support', array('GIF')); + } else { + $image_src = @imagecreatefromgif($this->file_src_pathname); + if (!$image_src) { + $this->processed = false; + $this->error = $this->translate('create_error', array('GIF')); + } else { + $this->log .= '- source image is GIF
    '; + } + } + break; + case 'bmp': + if (!method_exists($this, 'imagecreatefrombmp')) { + $this->processed = false; + $this->error = $this->translate('no_create_support', array('BMP')); + } else { + $image_src = @$this->imagecreatefrombmp($this->file_src_pathname); + if (!$image_src) { + $this->processed = false; + $this->error = $this->translate('create_error', array('BMP')); + } else { + $this->log .= '- source image is BMP
    '; + } + } + break; + default: + $this->processed = false; + $this->error = $this->translate('source_invalid'); + } + } else { + $this->processed = false; + $this->error = $this->translate('gd_missing'); + } + + if ($this->processed && $image_src) { + + // we have to set image_convert if it is not already + if (empty($this->image_convert)) { + $this->log .= '- setting destination file type to ' . $this->image_src_type . '
    '; + $this->image_convert = $this->image_src_type; + } + + if (!in_array($this->image_convert, $this->image_supported)) { + $this->image_convert = 'jpg'; + } + + // we set the default color to be the background color if we don't output in a transparent format + if ($this->image_convert != 'png' && $this->image_convert != 'gif' && !empty($this->image_default_color) && empty($this->image_background_color)) $this->image_background_color = $this->image_default_color; + if (!empty($this->image_background_color)) $this->image_default_color = $this->image_background_color; + if (empty($this->image_default_color)) $this->image_default_color = '#FFFFFF'; + + $this->image_src_x = imagesx($image_src); + $this->image_src_y = imagesy($image_src); + $gd_version = $this->gdversion(); + $ratio_crop = null; + + if (!imageistruecolor($image_src)) { // $this->image_src_type == 'gif' + $this->log .= '- image is detected as having a palette
    '; + $this->image_is_palette = true; + $this->image_transparent_color = imagecolortransparent($image_src); + if ($this->image_transparent_color >= 0 && imagecolorstotal($image_src) > $this->image_transparent_color) { + $this->image_is_transparent = true; + $this->log .= '    palette image is detected as transparent
    '; + } + // if the image has a palette (GIF), we convert it to true color, preserving transparency + $this->log .= '    convert palette image to true color
    '; + $true_color = imagecreatetruecolor($this->image_src_x, $this->image_src_y); + imagealphablending($true_color, false); + imagesavealpha($true_color, true); + for ($x = 0; $x < $this->image_src_x; $x++) { + for ($y = 0; $y < $this->image_src_y; $y++) { + if ($this->image_transparent_color >= 0 && imagecolorat($image_src, $x, $y) == $this->image_transparent_color) { + imagesetpixel($true_color, $x, $y, 127 << 24); + } else { + $rgb = imagecolorsforindex($image_src, imagecolorat($image_src, $x, $y)); + imagesetpixel($true_color, $x, $y, ($rgb['alpha'] << 24) | ($rgb['red'] << 16) | ($rgb['green'] << 8) | $rgb['blue']); + } + } + } + $image_src = $this->imagetransfer($true_color, $image_src); + imagealphablending($image_src, false); + imagesavealpha($image_src, true); + $this->image_is_palette = false; + } + + $image_dst = & $image_src; + + // auto-flip image, according to EXIF data (JPEG only) + if ($gd_version >= 2 && !empty($auto_flip)) { + $this->log .= '- auto-flip image : ' . ($auto_flip == 'v' ? 'vertical' : 'horizontal') . '
    '; + $tmp = $this->imagecreatenew($this->image_src_x, $this->image_src_y); + for ($x = 0; $x < $this->image_src_x; $x++) { + for ($y = 0; $y < $this->image_src_y; $y++){ + if (strpos($auto_flip, 'v') !== false) { + imagecopy($tmp, $image_dst, $this->image_src_x - $x - 1, $y, $x, $y, 1, 1); + } else { + imagecopy($tmp, $image_dst, $x, $this->image_src_y - $y - 1, $x, $y, 1, 1); + } + } + } + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // auto-rotate image, according to EXIF data (JPEG only) + if ($gd_version >= 2 && is_numeric($auto_rotate)) { + if (!in_array($auto_rotate, array(0, 90, 180, 270))) $auto_rotate = 0; + if ($auto_rotate != 0) { + if ($auto_rotate == 90 || $auto_rotate == 270) { + $tmp = $this->imagecreatenew($this->image_src_y, $this->image_src_x); + } else { + $tmp = $this->imagecreatenew($this->image_src_x, $this->image_src_y); + } + $this->log .= '- auto-rotate image : ' . $auto_rotate . '
    '; + for ($x = 0; $x < $this->image_src_x; $x++) { + for ($y = 0; $y < $this->image_src_y; $y++){ + if ($auto_rotate == 90) { + imagecopy($tmp, $image_dst, $y, $x, $x, $this->image_src_y - $y - 1, 1, 1); + } else if ($auto_rotate == 180) { + imagecopy($tmp, $image_dst, $x, $y, $this->image_src_x - $x - 1, $this->image_src_y - $y - 1, 1, 1); + } else if ($auto_rotate == 270) { + imagecopy($tmp, $image_dst, $y, $x, $this->image_src_x - $x - 1, $y, 1, 1); + } else { + imagecopy($tmp, $image_dst, $x, $y, $x, $y, 1, 1); + } + } + } + if ($auto_rotate == 90 || $auto_rotate == 270) { + $t = $this->image_src_y; + $this->image_src_y = $this->image_src_x; + $this->image_src_x = $t; + } + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + } + + // pre-crop image, before resizing + if ((!empty($this->image_precrop))) { + list($ct, $cr, $cb, $cl) = $this->getoffsets($this->image_precrop, $this->image_src_x, $this->image_src_y, true, true); + $this->log .= '- pre-crop image : ' . $ct . ' ' . $cr . ' ' . $cb . ' ' . $cl . '
    '; + $this->image_src_x = $this->image_src_x - $cl - $cr; + $this->image_src_y = $this->image_src_y - $ct - $cb; + if ($this->image_src_x < 1) $this->image_src_x = 1; + if ($this->image_src_y < 1) $this->image_src_y = 1; + $tmp = $this->imagecreatenew($this->image_src_x, $this->image_src_y); + + // we copy the image into the recieving image + imagecopy($tmp, $image_dst, 0, 0, $cl, $ct, $this->image_src_x, $this->image_src_y); + + // if we crop with negative margins, we have to make sure the extra bits are the right color, or transparent + if ($ct < 0 || $cr < 0 || $cb < 0 || $cl < 0 ) { + // use the background color if present + if (!empty($this->image_background_color)) { + list($red, $green, $blue) = $this->getcolors($this->image_background_color); + $fill = imagecolorallocate($tmp, $red, $green, $blue); + } else { + $fill = imagecolorallocatealpha($tmp, 0, 0, 0, 127); + } + // fills eventual negative margins + if ($ct < 0) imagefilledrectangle($tmp, 0, 0, $this->image_src_x, -$ct, $fill); + if ($cr < 0) imagefilledrectangle($tmp, $this->image_src_x + $cr, 0, $this->image_src_x, $this->image_src_y, $fill); + if ($cb < 0) imagefilledrectangle($tmp, 0, $this->image_src_y + $cb, $this->image_src_x, $this->image_src_y, $fill); + if ($cl < 0) imagefilledrectangle($tmp, 0, 0, -$cl, $this->image_src_y, $fill); + } + + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // resize image (and move image_src_x, image_src_y dimensions into image_dst_x, image_dst_y) + if ($this->image_resize) { + $this->log .= '- resizing...
    '; + $this->image_dst_x = $this->image_x; + $this->image_dst_y = $this->image_y; + + // backward compatibility for soon to be deprecated settings + if ($this->image_ratio_no_zoom_in) { + $this->image_ratio = true; + $this->image_no_enlarging = true; + } else if ($this->image_ratio_no_zoom_out) { + $this->image_ratio = true; + $this->image_no_shrinking = true; + } + + // keeps aspect ratio with x calculated from y + if ($this->image_ratio_x) { + $this->log .= '    calculate x size
    '; + $this->image_dst_x = round(($this->image_src_x * $this->image_y) / $this->image_src_y); + $this->image_dst_y = $this->image_y; + + // keeps aspect ratio with y calculated from x + } else if ($this->image_ratio_y) { + $this->log .= '    calculate y size
    '; + $this->image_dst_x = $this->image_x; + $this->image_dst_y = round(($this->image_src_y * $this->image_x) / $this->image_src_x); + + // keeps aspect ratio, calculating x and y so that the image is approx the set number of pixels + } else if (is_numeric($this->image_ratio_pixels)) { + $this->log .= '    calculate x/y size to match a number of pixels
    '; + $pixels = $this->image_src_y * $this->image_src_x; + $diff = sqrt($this->image_ratio_pixels / $pixels); + $this->image_dst_x = round($this->image_src_x * $diff); + $this->image_dst_y = round($this->image_src_y * $diff); + + // keeps aspect ratio with x and y dimensions, filling the space + } else if ($this->image_ratio_crop) { + if (!is_string($this->image_ratio_crop)) $this->image_ratio_crop = ''; + $this->image_ratio_crop = strtolower($this->image_ratio_crop); + if (($this->image_src_x/$this->image_x) > ($this->image_src_y/$this->image_y)) { + $this->image_dst_y = $this->image_y; + $this->image_dst_x = intval($this->image_src_x*($this->image_y / $this->image_src_y)); + $ratio_crop = array(); + $ratio_crop['x'] = $this->image_dst_x - $this->image_x; + if (strpos($this->image_ratio_crop, 'l') !== false) { + $ratio_crop['l'] = 0; + $ratio_crop['r'] = $ratio_crop['x']; + } else if (strpos($this->image_ratio_crop, 'r') !== false) { + $ratio_crop['l'] = $ratio_crop['x']; + $ratio_crop['r'] = 0; + } else { + $ratio_crop['l'] = round($ratio_crop['x']/2); + $ratio_crop['r'] = $ratio_crop['x'] - $ratio_crop['l']; + } + $this->log .= '    ratio_crop_x : ' . $ratio_crop['x'] . ' (' . $ratio_crop['l'] . ';' . $ratio_crop['r'] . ')
    '; + if (is_null($this->image_crop)) $this->image_crop = array(0, 0, 0, 0); + } else { + $this->image_dst_x = $this->image_x; + $this->image_dst_y = intval($this->image_src_y*($this->image_x / $this->image_src_x)); + $ratio_crop = array(); + $ratio_crop['y'] = $this->image_dst_y - $this->image_y; + if (strpos($this->image_ratio_crop, 't') !== false) { + $ratio_crop['t'] = 0; + $ratio_crop['b'] = $ratio_crop['y']; + } else if (strpos($this->image_ratio_crop, 'b') !== false) { + $ratio_crop['t'] = $ratio_crop['y']; + $ratio_crop['b'] = 0; + } else { + $ratio_crop['t'] = round($ratio_crop['y']/2); + $ratio_crop['b'] = $ratio_crop['y'] - $ratio_crop['t']; + } + $this->log .= '    ratio_crop_y : ' . $ratio_crop['y'] . ' (' . $ratio_crop['t'] . ';' . $ratio_crop['b'] . ')
    '; + if (is_null($this->image_crop)) $this->image_crop = array(0, 0, 0, 0); + } + + // keeps aspect ratio with x and y dimensions, fitting the image in the space, and coloring the rest + } else if ($this->image_ratio_fill) { + if (!is_string($this->image_ratio_fill)) $this->image_ratio_fill = ''; + $this->image_ratio_fill = strtolower($this->image_ratio_fill); + if (($this->image_src_x/$this->image_x) < ($this->image_src_y/$this->image_y)) { + $this->image_dst_y = $this->image_y; + $this->image_dst_x = intval($this->image_src_x*($this->image_y / $this->image_src_y)); + $ratio_crop = array(); + $ratio_crop['x'] = $this->image_dst_x - $this->image_x; + if (strpos($this->image_ratio_fill, 'l') !== false) { + $ratio_crop['l'] = 0; + $ratio_crop['r'] = $ratio_crop['x']; + } else if (strpos($this->image_ratio_fill, 'r') !== false) { + $ratio_crop['l'] = $ratio_crop['x']; + $ratio_crop['r'] = 0; + } else { + $ratio_crop['l'] = round($ratio_crop['x']/2); + $ratio_crop['r'] = $ratio_crop['x'] - $ratio_crop['l']; + } + $this->log .= '    ratio_fill_x : ' . $ratio_crop['x'] . ' (' . $ratio_crop['l'] . ';' . $ratio_crop['r'] . ')
    '; + if (is_null($this->image_crop)) $this->image_crop = array(0, 0, 0, 0); + } else { + $this->image_dst_x = $this->image_x; + $this->image_dst_y = intval($this->image_src_y*($this->image_x / $this->image_src_x)); + $ratio_crop = array(); + $ratio_crop['y'] = $this->image_dst_y - $this->image_y; + if (strpos($this->image_ratio_fill, 't') !== false) { + $ratio_crop['t'] = 0; + $ratio_crop['b'] = $ratio_crop['y']; + } else if (strpos($this->image_ratio_fill, 'b') !== false) { + $ratio_crop['t'] = $ratio_crop['y']; + $ratio_crop['b'] = 0; + } else { + $ratio_crop['t'] = round($ratio_crop['y']/2); + $ratio_crop['b'] = $ratio_crop['y'] - $ratio_crop['t']; + } + $this->log .= '    ratio_fill_y : ' . $ratio_crop['y'] . ' (' . $ratio_crop['t'] . ';' . $ratio_crop['b'] . ')
    '; + if (is_null($this->image_crop)) $this->image_crop = array(0, 0, 0, 0); + } + + // keeps aspect ratio with x and y dimensions + } else if ($this->image_ratio) { + if (($this->image_src_x/$this->image_x) > ($this->image_src_y/$this->image_y)) { + $this->image_dst_x = $this->image_x; + $this->image_dst_y = intval($this->image_src_y*($this->image_x / $this->image_src_x)); + } else { + $this->image_dst_y = $this->image_y; + $this->image_dst_x = intval($this->image_src_x*($this->image_y / $this->image_src_y)); + } + + // resize to provided exact dimensions + } else { + $this->log .= '    use plain sizes
    '; + $this->image_dst_x = $this->image_x; + $this->image_dst_y = $this->image_y; + } + + if ($this->image_dst_x < 1) $this->image_dst_x = 1; + if ($this->image_dst_y < 1) $this->image_dst_y = 1; + $this->log .= '    image_src_x y : ' . $this->image_src_x . ' x ' . $this->image_src_y . '
    '; + $this->log .= '    image_dst_x y : ' . $this->image_dst_x . ' x ' . $this->image_dst_y . '
    '; + + // make sure we don't enlarge the image if we don't want to + if ($this->image_no_enlarging && ($this->image_src_x < $this->image_dst_x || $this->image_src_y < $this->image_dst_y)) { + $this->log .= '    cancel resizing, as it would enlarge the image!
    '; + $this->image_dst_x = $this->image_src_x; + $this->image_dst_y = $this->image_src_y; + } + + // make sure we don't shrink the image if we don't want to + if ($this->image_no_shrinking && ($this->image_src_x > $this->image_dst_x || $this->image_src_y > $this->image_dst_y)) { + $this->log .= '    cancel resizing, as it would shrink the image!
    '; + $this->image_dst_x = $this->image_src_x; + $this->image_dst_y = $this->image_src_y; + } + + // resize the image + if ($this->image_dst_x != $this->image_src_x && $this->image_dst_y != $this->image_src_y) { + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + + if ($gd_version >= 2) { + $res = imagecopyresampled($tmp, $image_src, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y, $this->image_src_x, $this->image_src_y); + } else { + $res = imagecopyresized($tmp, $image_src, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y, $this->image_src_x, $this->image_src_y); + } + + $this->log .= '    resized image object created
    '; + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + } else { + $this->image_dst_x = $this->image_src_x; + $this->image_dst_y = $this->image_src_y; + } + + // crop image (and also crops if image_ratio_crop is used) + if ((!empty($this->image_crop) || !is_null($ratio_crop))) { + list($ct, $cr, $cb, $cl) = $this->getoffsets($this->image_crop, $this->image_dst_x, $this->image_dst_y, true, true); + // we adjust the cropping if we use image_ratio_crop + if (!is_null($ratio_crop)) { + if (array_key_exists('t', $ratio_crop)) $ct += $ratio_crop['t']; + if (array_key_exists('r', $ratio_crop)) $cr += $ratio_crop['r']; + if (array_key_exists('b', $ratio_crop)) $cb += $ratio_crop['b']; + if (array_key_exists('l', $ratio_crop)) $cl += $ratio_crop['l']; + } + $this->log .= '- crop image : ' . $ct . ' ' . $cr . ' ' . $cb . ' ' . $cl . '
    '; + $this->image_dst_x = $this->image_dst_x - $cl - $cr; + $this->image_dst_y = $this->image_dst_y - $ct - $cb; + if ($this->image_dst_x < 1) $this->image_dst_x = 1; + if ($this->image_dst_y < 1) $this->image_dst_y = 1; + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + + // we copy the image into the recieving image + imagecopy($tmp, $image_dst, 0, 0, $cl, $ct, $this->image_dst_x, $this->image_dst_y); + + // if we crop with negative margins, we have to make sure the extra bits are the right color, or transparent + if ($ct < 0 || $cr < 0 || $cb < 0 || $cl < 0 ) { + // use the background color if present + if (!empty($this->image_background_color)) { + list($red, $green, $blue) = $this->getcolors($this->image_background_color); + $fill = imagecolorallocate($tmp, $red, $green, $blue); + } else { + $fill = imagecolorallocatealpha($tmp, 0, 0, 0, 127); + } + // fills eventual negative margins + if ($ct < 0) imagefilledrectangle($tmp, 0, 0, $this->image_dst_x, -$ct-1, $fill); + if ($cr < 0) imagefilledrectangle($tmp, $this->image_dst_x + $cr, 0, $this->image_dst_x, $this->image_dst_y, $fill); + if ($cb < 0) imagefilledrectangle($tmp, 0, $this->image_dst_y + $cb, $this->image_dst_x, $this->image_dst_y, $fill); + if ($cl < 0) imagefilledrectangle($tmp, 0, 0, -$cl-1, $this->image_dst_y, $fill); + } + + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // flip image + if ($gd_version >= 2 && !empty($this->image_flip)) { + $this->image_flip = strtolower($this->image_flip); + $this->log .= '- flip image : ' . $this->image_flip . '
    '; + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + for ($x = 0; $x < $this->image_dst_x; $x++) { + for ($y = 0; $y < $this->image_dst_y; $y++){ + if (strpos($this->image_flip, 'v') !== false) { + imagecopy($tmp, $image_dst, $this->image_dst_x - $x - 1, $y, $x, $y, 1, 1); + } else { + imagecopy($tmp, $image_dst, $x, $this->image_dst_y - $y - 1, $x, $y, 1, 1); + } + } + } + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // rotate image + if ($gd_version >= 2 && is_numeric($this->image_rotate)) { + if (!in_array($this->image_rotate, array(0, 90, 180, 270))) $this->image_rotate = 0; + if ($this->image_rotate != 0) { + if ($this->image_rotate == 90 || $this->image_rotate == 270) { + $tmp = $this->imagecreatenew($this->image_dst_y, $this->image_dst_x); + } else { + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + } + $this->log .= '- rotate image : ' . $this->image_rotate . '
    '; + for ($x = 0; $x < $this->image_dst_x; $x++) { + for ($y = 0; $y < $this->image_dst_y; $y++){ + if ($this->image_rotate == 90) { + imagecopy($tmp, $image_dst, $y, $x, $x, $this->image_dst_y - $y - 1, 1, 1); + } else if ($this->image_rotate == 180) { + imagecopy($tmp, $image_dst, $x, $y, $this->image_dst_x - $x - 1, $this->image_dst_y - $y - 1, 1, 1); + } else if ($this->image_rotate == 270) { + imagecopy($tmp, $image_dst, $y, $x, $this->image_dst_x - $x - 1, $y, 1, 1); + } else { + imagecopy($tmp, $image_dst, $x, $y, $x, $y, 1, 1); + } + } + } + if ($this->image_rotate == 90 || $this->image_rotate == 270) { + $t = $this->image_dst_y; + $this->image_dst_y = $this->image_dst_x; + $this->image_dst_x = $t; + } + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + } + + // pixelate image + if ((is_numeric($this->image_pixelate) && $this->image_pixelate > 0)) { + $this->log .= '- pixelate image (' . $this->image_pixelate . 'px)
    '; + $filter = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + if ($gd_version >= 2) { + imagecopyresampled($filter, $image_dst, 0, 0, 0, 0, round($this->image_dst_x / $this->image_pixelate), round($this->image_dst_y / $this->image_pixelate), $this->image_dst_x, $this->image_dst_y); + imagecopyresampled($image_dst, $filter, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y, round($this->image_dst_x / $this->image_pixelate), round($this->image_dst_y / $this->image_pixelate)); + } else { + imagecopyresized($filter, $image_dst, 0, 0, 0, 0, round($this->image_dst_x / $this->image_pixelate), round($this->image_dst_y / $this->image_pixelate), $this->image_dst_x, $this->image_dst_y); + imagecopyresized($image_dst, $filter, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y, round($this->image_dst_x / $this->image_pixelate), round($this->image_dst_y / $this->image_pixelate)); + } + imagedestroy($filter); + } + + // unsharp mask + if ($gd_version >= 2 && $this->image_unsharp && is_numeric($this->image_unsharp_amount) && is_numeric($this->image_unsharp_radius) && is_numeric($this->image_unsharp_threshold)) { + // Unsharp Mask for PHP - version 2.1.1 + // Unsharp mask algorithm by Torstein Hønsi 2003-07. + // Used with permission + // Modified to support alpha transparency + if ($this->image_unsharp_amount > 500) $this->image_unsharp_amount = 500; + $this->image_unsharp_amount = $this->image_unsharp_amount * 0.016; + if ($this->image_unsharp_radius > 50) $this->image_unsharp_radius = 50; + $this->image_unsharp_radius = $this->image_unsharp_radius * 2; + if ($this->image_unsharp_threshold > 255) $this->image_unsharp_threshold = 255; + $this->image_unsharp_radius = abs(round($this->image_unsharp_radius)); + if ($this->image_unsharp_radius != 0) { + $this->image_dst_x = imagesx($image_dst); $this->image_dst_y = imagesy($image_dst); + $canvas = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y, false, true); + $blur = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y, false, true); + if ($this->function_enabled('imageconvolution')) { // PHP >= 5.1 + $matrix = array(array( 1, 2, 1 ), array( 2, 4, 2 ), array( 1, 2, 1 )); + imagecopy($blur, $image_dst, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y); + imageconvolution($blur, $matrix, 16, 0); + } else { + for ($i = 0; $i < $this->image_unsharp_radius; $i++) { + imagecopy($blur, $image_dst, 0, 0, 1, 0, $this->image_dst_x - 1, $this->image_dst_y); // left + $this->imagecopymergealpha($blur, $image_dst, 1, 0, 0, 0, $this->image_dst_x, $this->image_dst_y, 50); // right + $this->imagecopymergealpha($blur, $image_dst, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y, 50); // center + imagecopy($canvas, $blur, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y); + $this->imagecopymergealpha($blur, $canvas, 0, 0, 0, 1, $this->image_dst_x, $this->image_dst_y - 1, 33.33333 ); // up + $this->imagecopymergealpha($blur, $canvas, 0, 1, 0, 0, $this->image_dst_x, $this->image_dst_y, 25); // down + } + } + $p_new = array(); + if($this->image_unsharp_threshold>0) { + for ($x = 0; $x < $this->image_dst_x-1; $x++) { + for ($y = 0; $y < $this->image_dst_y; $y++) { + $p_orig = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $p_blur = imagecolorsforindex($blur, imagecolorat($blur, $x, $y)); + $p_new['red'] = (abs($p_orig['red'] - $p_blur['red']) >= $this->image_unsharp_threshold) ? max(0, min(255, ($this->image_unsharp_amount * ($p_orig['red'] - $p_blur['red'])) + $p_orig['red'])) : $p_orig['red']; + $p_new['green'] = (abs($p_orig['green'] - $p_blur['green']) >= $this->image_unsharp_threshold) ? max(0, min(255, ($this->image_unsharp_amount * ($p_orig['green'] - $p_blur['green'])) + $p_orig['green'])) : $p_orig['green']; + $p_new['blue'] = (abs($p_orig['blue'] - $p_blur['blue']) >= $this->image_unsharp_threshold) ? max(0, min(255, ($this->image_unsharp_amount * ($p_orig['blue'] - $p_blur['blue'])) + $p_orig['blue'])) : $p_orig['blue']; + if (($p_orig['red'] != $p_new['red']) || ($p_orig['green'] != $p_new['green']) || ($p_orig['blue'] != $p_new['blue'])) { + $color = imagecolorallocatealpha($image_dst, $p_new['red'], $p_new['green'], $p_new['blue'], $p_orig['alpha']); + imagesetpixel($image_dst, $x, $y, $color); + } + } + } + } else { + for ($x = 0; $x < $this->image_dst_x; $x++) { + for ($y = 0; $y < $this->image_dst_y; $y++) { + $p_orig = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $p_blur = imagecolorsforindex($blur, imagecolorat($blur, $x, $y)); + $p_new['red'] = ($this->image_unsharp_amount * ($p_orig['red'] - $p_blur['red'])) + $p_orig['red']; + if ($p_new['red']>255) { $p_new['red']=255; } elseif ($p_new['red']<0) { $p_new['red']=0; } + $p_new['green'] = ($this->image_unsharp_amount * ($p_orig['green'] - $p_blur['green'])) + $p_orig['green']; + if ($p_new['green']>255) { $p_new['green']=255; } elseif ($p_new['green']<0) { $p_new['green']=0; } + $p_new['blue'] = ($this->image_unsharp_amount * ($p_orig['blue'] - $p_blur['blue'])) + $p_orig['blue']; + if ($p_new['blue']>255) { $p_new['blue']=255; } elseif ($p_new['blue']<0) { $p_new['blue']=0; } + $color = imagecolorallocatealpha($image_dst, $p_new['red'], $p_new['green'], $p_new['blue'], $p_orig['alpha']); + imagesetpixel($image_dst, $x, $y, $color); + } + } + } + imagedestroy($canvas); + imagedestroy($blur); + } + } + + // add color overlay + if ($gd_version >= 2 && (is_numeric($this->image_overlay_opacity) && $this->image_overlay_opacity > 0 && !empty($this->image_overlay_color))) { + $this->log .= '- apply color overlay
    '; + list($red, $green, $blue) = $this->getcolors($this->image_overlay_color); + $filter = imagecreatetruecolor($this->image_dst_x, $this->image_dst_y); + $color = imagecolorallocate($filter, $red, $green, $blue); + imagefilledrectangle($filter, 0, 0, $this->image_dst_x, $this->image_dst_y, $color); + $this->imagecopymergealpha($image_dst, $filter, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y, $this->image_overlay_opacity); + imagedestroy($filter); + } + + // add brightness, contrast and tint, turns to greyscale and inverts colors + if ($gd_version >= 2 && ($this->image_negative || $this->image_greyscale || is_numeric($this->image_threshold)|| is_numeric($this->image_brightness) || is_numeric($this->image_contrast) || !empty($this->image_tint_color))) { + $this->log .= '- apply tint, light, contrast correction, negative, greyscale and threshold
    '; + if (!empty($this->image_tint_color)) list($tint_red, $tint_green, $tint_blue) = $this->getcolors($this->image_tint_color); + //imagealphablending($image_dst, true); + for($y=0; $y < $this->image_dst_y; $y++) { + for($x=0; $x < $this->image_dst_x; $x++) { + if ($this->image_greyscale) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $r = $g = $b = round((0.2125 * $pixel['red']) + (0.7154 * $pixel['green']) + (0.0721 * $pixel['blue'])); + $color = imagecolorallocatealpha($image_dst, $r, $g, $b, $pixel['alpha']); + imagesetpixel($image_dst, $x, $y, $color); + unset($color); unset($pixel); + } + if (is_numeric($this->image_threshold)) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $c = (round($pixel['red'] + $pixel['green'] + $pixel['blue']) / 3) - 127; + $r = $g = $b = ($c > $this->image_threshold ? 255 : 0); + $color = imagecolorallocatealpha($image_dst, $r, $g, $b, $pixel['alpha']); + imagesetpixel($image_dst, $x, $y, $color); + unset($color); unset($pixel); + } + if (is_numeric($this->image_brightness)) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $r = max(min(round($pixel['red'] + (($this->image_brightness * 2))), 255), 0); + $g = max(min(round($pixel['green'] + (($this->image_brightness * 2))), 255), 0); + $b = max(min(round($pixel['blue'] + (($this->image_brightness * 2))), 255), 0); + $color = imagecolorallocatealpha($image_dst, $r, $g, $b, $pixel['alpha']); + imagesetpixel($image_dst, $x, $y, $color); + unset($color); unset($pixel); + } + if (is_numeric($this->image_contrast)) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $r = max(min(round(($this->image_contrast + 128) * $pixel['red'] / 128), 255), 0); + $g = max(min(round(($this->image_contrast + 128) * $pixel['green'] / 128), 255), 0); + $b = max(min(round(($this->image_contrast + 128) * $pixel['blue'] / 128), 255), 0); + $color = imagecolorallocatealpha($image_dst, $r, $g, $b, $pixel['alpha']); + imagesetpixel($image_dst, $x, $y, $color); + unset($color); unset($pixel); + } + if (!empty($this->image_tint_color)) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $r = min(round($tint_red * $pixel['red'] / 169), 255); + $g = min(round($tint_green * $pixel['green'] / 169), 255); + $b = min(round($tint_blue * $pixel['blue'] / 169), 255); + $color = imagecolorallocatealpha($image_dst, $r, $g, $b, $pixel['alpha']); + imagesetpixel($image_dst, $x, $y, $color); + unset($color); unset($pixel); + } + if (!empty($this->image_negative)) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $r = round(255 - $pixel['red']); + $g = round(255 - $pixel['green']); + $b = round(255 - $pixel['blue']); + $color = imagecolorallocatealpha($image_dst, $r, $g, $b, $pixel['alpha']); + imagesetpixel($image_dst, $x, $y, $color); + unset($color); unset($pixel); + } + } + } + } + + // adds a border + if ($gd_version >= 2 && !empty($this->image_border)) { + list($ct, $cr, $cb, $cl) = $this->getoffsets($this->image_border, $this->image_dst_x, $this->image_dst_y, true, false); + $this->log .= '- add border : ' . $ct . ' ' . $cr . ' ' . $cb . ' ' . $cl . '
    '; + $this->image_dst_x = $this->image_dst_x + $cl + $cr; + $this->image_dst_y = $this->image_dst_y + $ct + $cb; + if (!empty($this->image_border_color)) list($red, $green, $blue) = $this->getcolors($this->image_border_color); + $opacity = (is_numeric($this->image_border_opacity) ? (int) (127 - $this->image_border_opacity / 100 * 127): 0); + // we now create an image, that we fill with the border color + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + $background = imagecolorallocatealpha($tmp, $red, $green, $blue, $opacity); + imagefilledrectangle($tmp, 0, 0, $this->image_dst_x, $this->image_dst_y, $background); + // we then copy the source image into the new image, without merging so that only the border is actually kept + imagecopy($tmp, $image_dst, $cl, $ct, 0, 0, $this->image_dst_x - $cr - $cl, $this->image_dst_y - $cb - $ct); + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // adds a fading-to-transparent border + if ($gd_version >= 2 && !empty($this->image_border_transparent)) { + list($ct, $cr, $cb, $cl) = $this->getoffsets($this->image_border_transparent, $this->image_dst_x, $this->image_dst_y, true, false); + $this->log .= '- add transparent border : ' . $ct . ' ' . $cr . ' ' . $cb . ' ' . $cl . '
    '; + // we now create an image, that we fill with the border color + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + // we then copy the source image into the new image, without the borders + imagecopy($tmp, $image_dst, $cl, $ct, $cl, $ct, $this->image_dst_x - $cr - $cl, $this->image_dst_y - $cb - $ct); + // we now add the top border + $opacity = 100; + for ($y = $ct - 1; $y >= 0; $y--) { + $il = (int) ($ct > 0 ? ($cl * ($y / $ct)) : 0); + $ir = (int) ($ct > 0 ? ($cr * ($y / $ct)) : 0); + for ($x = $il; $x < $this->image_dst_x - $ir; $x++) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $alpha = (1 - ($pixel['alpha'] / 127)) * $opacity / 100; + if ($alpha > 0) { + if ($alpha > 1) $alpha = 1; + $color = imagecolorallocatealpha($tmp, $pixel['red'] , $pixel['green'], $pixel['blue'], round((1 - $alpha) * 127)); + imagesetpixel($tmp, $x, $y, $color); + } + } + if ($opacity > 0) $opacity = $opacity - (100 / $ct); + } + // we now add the right border + $opacity = 100; + for ($x = $this->image_dst_x - $cr; $x < $this->image_dst_x; $x++) { + $it = (int) ($cr > 0 ? ($ct * (($this->image_dst_x - $x - 1) / $cr)) : 0); + $ib = (int) ($cr > 0 ? ($cb * (($this->image_dst_x - $x - 1) / $cr)) : 0); + for ($y = $it; $y < $this->image_dst_y - $ib; $y++) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $alpha = (1 - ($pixel['alpha'] / 127)) * $opacity / 100; + if ($alpha > 0) { + if ($alpha > 1) $alpha = 1; + $color = imagecolorallocatealpha($tmp, $pixel['red'] , $pixel['green'], $pixel['blue'], round((1 - $alpha) * 127)); + imagesetpixel($tmp, $x, $y, $color); + } + } + if ($opacity > 0) $opacity = $opacity - (100 / $cr); + } + // we now add the bottom border + $opacity = 100; + for ($y = $this->image_dst_y - $cb; $y < $this->image_dst_y; $y++) { + $il = (int) ($cb > 0 ? ($cl * (($this->image_dst_y - $y - 1) / $cb)) : 0); + $ir = (int) ($cb > 0 ? ($cr * (($this->image_dst_y - $y - 1) / $cb)) : 0); + for ($x = $il; $x < $this->image_dst_x - $ir; $x++) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $alpha = (1 - ($pixel['alpha'] / 127)) * $opacity / 100; + if ($alpha > 0) { + if ($alpha > 1) $alpha = 1; + $color = imagecolorallocatealpha($tmp, $pixel['red'] , $pixel['green'], $pixel['blue'], round((1 - $alpha) * 127)); + imagesetpixel($tmp, $x, $y, $color); + } + } + if ($opacity > 0) $opacity = $opacity - (100 / $cb); + } + // we now add the left border + $opacity = 100; + for ($x = $cl - 1; $x >= 0; $x--) { + $it = (int) ($cl > 0 ? ($ct * ($x / $cl)) : 0); + $ib = (int) ($cl > 0 ? ($cb * ($x / $cl)) : 0); + for ($y = $it; $y < $this->image_dst_y - $ib; $y++) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $alpha = (1 - ($pixel['alpha'] / 127)) * $opacity / 100; + if ($alpha > 0) { + if ($alpha > 1) $alpha = 1; + $color = imagecolorallocatealpha($tmp, $pixel['red'] , $pixel['green'], $pixel['blue'], round((1 - $alpha) * 127)); + imagesetpixel($tmp, $x, $y, $color); + } + } + if ($opacity > 0) $opacity = $opacity - (100 / $cl); + } + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // add frame border + if ($gd_version >= 2 && is_numeric($this->image_frame)) { + if (is_array($this->image_frame_colors)) { + $vars = $this->image_frame_colors; + $this->log .= '- add frame : ' . implode(' ', $this->image_frame_colors) . '
    '; + } else { + $this->log .= '- add frame : ' . $this->image_frame_colors . '
    '; + $vars = explode(' ', $this->image_frame_colors); + } + $nb = sizeof($vars); + $this->image_dst_x = $this->image_dst_x + ($nb * 2); + $this->image_dst_y = $this->image_dst_y + ($nb * 2); + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + imagecopy($tmp, $image_dst, $nb, $nb, 0, 0, $this->image_dst_x - ($nb * 2), $this->image_dst_y - ($nb * 2)); + $opacity = (is_numeric($this->image_frame_opacity) ? (int) (127 - $this->image_frame_opacity / 100 * 127): 0); + for ($i=0; $i<$nb; $i++) { + list($red, $green, $blue) = $this->getcolors($vars[$i]); + $c = imagecolorallocatealpha($tmp, $red, $green, $blue, $opacity); + if ($this->image_frame == 1) { + imageline($tmp, $i, $i, $this->image_dst_x - $i -1, $i, $c); + imageline($tmp, $this->image_dst_x - $i -1, $this->image_dst_y - $i -1, $this->image_dst_x - $i -1, $i, $c); + imageline($tmp, $this->image_dst_x - $i -1, $this->image_dst_y - $i -1, $i, $this->image_dst_y - $i -1, $c); + imageline($tmp, $i, $i, $i, $this->image_dst_y - $i -1, $c); + } else { + imageline($tmp, $i, $i, $this->image_dst_x - $i -1, $i, $c); + imageline($tmp, $this->image_dst_x - $nb + $i, $this->image_dst_y - $nb + $i, $this->image_dst_x - $nb + $i, $nb - $i, $c); + imageline($tmp, $this->image_dst_x - $nb + $i, $this->image_dst_y - $nb + $i, $nb - $i, $this->image_dst_y - $nb + $i, $c); + imageline($tmp, $i, $i, $i, $this->image_dst_y - $i -1, $c); + } + } + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // add bevel border + if ($gd_version >= 2 && $this->image_bevel > 0) { + if (empty($this->image_bevel_color1)) $this->image_bevel_color1 = '#FFFFFF'; + if (empty($this->image_bevel_color2)) $this->image_bevel_color2 = '#000000'; + list($red1, $green1, $blue1) = $this->getcolors($this->image_bevel_color1); + list($red2, $green2, $blue2) = $this->getcolors($this->image_bevel_color2); + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y); + imagecopy($tmp, $image_dst, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y); + imagealphablending($tmp, true); + for ($i=0; $i<$this->image_bevel; $i++) { + $alpha = round(($i / $this->image_bevel) * 127); + $c1 = imagecolorallocatealpha($tmp, $red1, $green1, $blue1, $alpha); + $c2 = imagecolorallocatealpha($tmp, $red2, $green2, $blue2, $alpha); + imageline($tmp, $i, $i, $this->image_dst_x - $i -1, $i, $c1); + imageline($tmp, $this->image_dst_x - $i -1, $this->image_dst_y - $i, $this->image_dst_x - $i -1, $i, $c2); + imageline($tmp, $this->image_dst_x - $i -1, $this->image_dst_y - $i -1, $i, $this->image_dst_y - $i -1, $c2); + imageline($tmp, $i, $i, $i, $this->image_dst_y - $i -1, $c1); + } + // we transfert tmp into image_dst + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // add watermark image + if ($this->image_watermark!='' && file_exists($this->image_watermark)) { + $this->log .= '- add watermark
    '; + $this->image_watermark_position = strtolower($this->image_watermark_position); + $watermark_info = getimagesize($this->image_watermark); + $watermark_type = (array_key_exists(2, $watermark_info) ? $watermark_info[2] : null); // 1 = GIF, 2 = JPG, 3 = PNG + $watermark_checked = false; + if ($watermark_type == IMAGETYPE_GIF) { + if (!$this->function_enabled('imagecreatefromgif')) { + $this->error = $this->translate('watermark_no_create_support', array('GIF')); + } else { + $filter = @imagecreatefromgif($this->image_watermark); + if (!$filter) { + $this->error = $this->translate('watermark_create_error', array('GIF')); + } else { + $this->log .= '    watermark source image is GIF
    '; + $watermark_checked = true; + } + } + } else if ($watermark_type == IMAGETYPE_JPEG) { + if (!$this->function_enabled('imagecreatefromjpeg')) { + $this->error = $this->translate('watermark_no_create_support', array('JPEG')); + } else { + $filter = @imagecreatefromjpeg($this->image_watermark); + if (!$filter) { + $this->error = $this->translate('watermark_create_error', array('JPEG')); + } else { + $this->log .= '    watermark source image is JPEG
    '; + $watermark_checked = true; + } + } + } else if ($watermark_type == IMAGETYPE_PNG) { + if (!$this->function_enabled('imagecreatefrompng')) { + $this->error = $this->translate('watermark_no_create_support', array('PNG')); + } else { + $filter = @imagecreatefrompng($this->image_watermark); + if (!$filter) { + $this->error = $this->translate('watermark_create_error', array('PNG')); + } else { + $this->log .= '    watermark source image is PNG
    '; + $watermark_checked = true; + } + } + } else if ($watermark_type == IMAGETYPE_BMP) { + if (!method_exists($this, 'imagecreatefrombmp')) { + $this->error = $this->translate('watermark_no_create_support', array('BMP')); + } else { + $filter = @$this->imagecreatefrombmp($this->image_watermark); + if (!$filter) { + $this->error = $this->translate('watermark_create_error', array('BMP')); + } else { + $this->log .= '    watermark source image is BMP
    '; + $watermark_checked = true; + } + } + } else { + $this->error = $this->translate('watermark_invalid'); + } + if ($watermark_checked) { + $watermark_dst_width = $watermark_src_width = imagesx($filter); + $watermark_dst_height = $watermark_src_height = imagesy($filter); + + // if watermark is too large/tall, resize it first + if ((!$this->image_watermark_no_zoom_out && ($watermark_dst_width > $this->image_dst_x || $watermark_dst_height > $this->image_dst_y)) + || (!$this->image_watermark_no_zoom_in && $watermark_dst_width < $this->image_dst_x && $watermark_dst_height < $this->image_dst_y)) { + $canvas_width = $this->image_dst_x - abs($this->image_watermark_x); + $canvas_height = $this->image_dst_y - abs($this->image_watermark_y); + if (($watermark_src_width/$canvas_width) > ($watermark_src_height/$canvas_height)) { + $watermark_dst_width = $canvas_width; + $watermark_dst_height = intval($watermark_src_height*($canvas_width / $watermark_src_width)); + } else { + $watermark_dst_height = $canvas_height; + $watermark_dst_width = intval($watermark_src_width*($canvas_height / $watermark_src_height)); + } + $this->log .= '    watermark resized from '.$watermark_src_width.'x'.$watermark_src_height.' to '.$watermark_dst_width.'x'.$watermark_dst_height.'
    '; + + } + // determine watermark position + $watermark_x = 0; + $watermark_y = 0; + if (is_numeric($this->image_watermark_x)) { + if ($this->image_watermark_x < 0) { + $watermark_x = $this->image_dst_x - $watermark_dst_width + $this->image_watermark_x; + } else { + $watermark_x = $this->image_watermark_x; + } + } else { + if (strpos($this->image_watermark_position, 'r') !== false) { + $watermark_x = $this->image_dst_x - $watermark_dst_width; + } else if (strpos($this->image_watermark_position, 'l') !== false) { + $watermark_x = 0; + } else { + $watermark_x = ($this->image_dst_x - $watermark_dst_width) / 2; + } + } + if (is_numeric($this->image_watermark_y)) { + if ($this->image_watermark_y < 0) { + $watermark_y = $this->image_dst_y - $watermark_dst_height + $this->image_watermark_y; + } else { + $watermark_y = $this->image_watermark_y; + } + } else { + if (strpos($this->image_watermark_position, 'b') !== false) { + $watermark_y = $this->image_dst_y - $watermark_dst_height; + } else if (strpos($this->image_watermark_position, 't') !== false) { + $watermark_y = 0; + } else { + $watermark_y = ($this->image_dst_y - $watermark_dst_height) / 2; + } + } + imagealphablending($image_dst, true); + imagecopyresampled($image_dst, $filter, $watermark_x, $watermark_y, 0, 0, $watermark_dst_width, $watermark_dst_height, $watermark_src_width, $watermark_src_height); + } else { + $this->error = $this->translate('watermark_invalid'); + } + } + + // add text + if (!empty($this->image_text)) { + $this->log .= '- add text
    '; + + // calculate sizes in human readable format + $src_size = $this->file_src_size / 1024; + $src_size_mb = number_format($src_size / 1024, 1, ".", " "); + $src_size_kb = number_format($src_size, 1, ".", " "); + $src_size_human = ($src_size > 1024 ? $src_size_mb . " MB" : $src_size_kb . " kb"); + + $this->image_text = str_replace( + array('[src_name]', + '[src_name_body]', + '[src_name_ext]', + '[src_pathname]', + '[src_mime]', + '[src_size]', + '[src_size_kb]', + '[src_size_mb]', + '[src_size_human]', + '[src_x]', + '[src_y]', + '[src_pixels]', + '[src_type]', + '[src_bits]', + '[dst_path]', + '[dst_name_body]', + '[dst_name_ext]', + '[dst_name]', + '[dst_pathname]', + '[dst_x]', + '[dst_y]', + '[date]', + '[time]', + '[host]', + '[server]', + '[ip]', + '[gd_version]'), + array($this->file_src_name, + $this->file_src_name_body, + $this->file_src_name_ext, + $this->file_src_pathname, + $this->file_src_mime, + $this->file_src_size, + $src_size_kb, + $src_size_mb, + $src_size_human, + $this->image_src_x, + $this->image_src_y, + $this->image_src_pixels, + $this->image_src_type, + $this->image_src_bits, + $this->file_dst_path, + $this->file_dst_name_body, + $this->file_dst_name_ext, + $this->file_dst_name, + $this->file_dst_pathname, + $this->image_dst_x, + $this->image_dst_y, + date('Y-m-d'), + date('H:i:s'), + (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'n/a'), + (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'n/a'), + (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : 'n/a'), + $this->gdversion(true)), + $this->image_text); + + if (!is_numeric($this->image_text_padding)) $this->image_text_padding = 0; + if (!is_numeric($this->image_text_line_spacing)) $this->image_text_line_spacing = 0; + if (!is_numeric($this->image_text_padding_x)) $this->image_text_padding_x = $this->image_text_padding; + if (!is_numeric($this->image_text_padding_y)) $this->image_text_padding_y = $this->image_text_padding; + $this->image_text_position = strtolower($this->image_text_position); + $this->image_text_direction = strtolower($this->image_text_direction); + $this->image_text_alignment = strtolower($this->image_text_alignment); + + $font_type = 'gd'; + + // if the font is a string with a GDF font path, we assume that we might want to load a font + if (!is_numeric($this->image_text_font) && strlen($this->image_text_font) > 4 && substr(strtolower($this->image_text_font), -4) == '.gdf') { + if (strpos($this->image_text_font, '/') === false) $this->image_text_font = "./" . $this->image_text_font; + $this->log .= '    try to load font ' . $this->image_text_font . '... '; + if ($this->image_text_font = @imageloadfont($this->image_text_font)) { + $this->log .= 'success
    '; + } else { + $this->log .= 'error
    '; + $this->image_text_font = 5; + } + } + + // if the font is a string with a TTF font path, we check if we can access the font file + if (!is_numeric($this->image_text_font) && strlen($this->image_text_font) > 4 && substr(strtolower($this->image_text_font), -4) == '.ttf') { + $this->log .= '    try to load font ' . $this->image_text_font . '... '; + if (strpos($this->image_text_font, '/') === false) $this->image_text_font = "./" . $this->image_text_font; + if (file_exists($this->image_text_font) && is_readable($this->image_text_font)) { + $this->log .= 'success
    '; + $font_type = 'tt'; + } else { + $this->log .= 'error
    '; + $this->image_text_font = 5; + } + } + + // get the text bounding box (GD fonts) + if ($font_type == 'gd') { + $text = explode("\n", $this->image_text); + $char_width = imagefontwidth($this->image_text_font); + $char_height = imagefontheight($this->image_text_font); + $text_height = 0; + $text_width = 0; + $line_height = 0; + $line_width = 0; + foreach ($text as $k => $v) { + if ($this->image_text_direction == 'v') { + $h = ($char_width * strlen($v)); + if ($h > $text_height) $text_height = $h; + $line_width = $char_height; + $text_width += $line_width + ($k < (sizeof($text)-1) ? $this->image_text_line_spacing : 0); + } else { + $w = ($char_width * strlen($v)); + if ($w > $text_width) $text_width = $w; + $line_height = $char_height; + $text_height += $line_height + ($k < (sizeof($text)-1) ? $this->image_text_line_spacing : 0); + } + } + $text_width += (2 * $this->image_text_padding_x); + $text_height += (2 * $this->image_text_padding_y); + + // get the text bounding box (TrueType fonts) + } else if ($font_type == 'tt') { + $text = $this->image_text; + if (!$this->image_text_angle) $this->image_text_angle = $this->image_text_direction == 'v' ? 90 : 0; + $text_height = 0; + $text_width = 0; + $text_offset_x = 0; + $text_offset_y = 0; + $rect = imagettfbbox($this->image_text_size, $this->image_text_angle, $this->image_text_font, $text ); + if ($rect) { + $minX = min(array($rect[0],$rect[2],$rect[4],$rect[6])); + $maxX = max(array($rect[0],$rect[2],$rect[4],$rect[6])); + $minY = min(array($rect[1],$rect[3],$rect[5],$rect[7])); + $maxY = max(array($rect[1],$rect[3],$rect[5],$rect[7])); + $text_offset_x = abs($minX) - 1; + $text_offset_y = abs($minY) - 1; + $text_width = $maxX - $minX + (2 * $this->image_text_padding_x); + $text_height = $maxY - $minY + (2 * $this->image_text_padding_y); + } + } + + // position the text block + $text_x = 0; + $text_y = 0; + if (is_numeric($this->image_text_x)) { + if ($this->image_text_x < 0) { + $text_x = $this->image_dst_x - $text_width + $this->image_text_x; + } else { + $text_x = $this->image_text_x; + } + } else { + if (strpos($this->image_text_position, 'r') !== false) { + $text_x = $this->image_dst_x - $text_width; + } else if (strpos($this->image_text_position, 'l') !== false) { + $text_x = 0; + } else { + $text_x = ($this->image_dst_x - $text_width) / 2; + } + } + if (is_numeric($this->image_text_y)) { + if ($this->image_text_y < 0) { + $text_y = $this->image_dst_y - $text_height + $this->image_text_y; + } else { + $text_y = $this->image_text_y; + } + } else { + if (strpos($this->image_text_position, 'b') !== false) { + $text_y = $this->image_dst_y - $text_height; + } else if (strpos($this->image_text_position, 't') !== false) { + $text_y = 0; + } else { + $text_y = ($this->image_dst_y - $text_height) / 2; + } + } + + // add a background, maybe transparent + if (!empty($this->image_text_background)) { + list($red, $green, $blue) = $this->getcolors($this->image_text_background); + if ($gd_version >= 2 && (is_numeric($this->image_text_background_opacity)) && $this->image_text_background_opacity >= 0 && $this->image_text_background_opacity <= 100) { + $filter = imagecreatetruecolor($text_width, $text_height); + $background_color = imagecolorallocate($filter, $red, $green, $blue); + imagefilledrectangle($filter, 0, 0, $text_width, $text_height, $background_color); + $this->imagecopymergealpha($image_dst, $filter, $text_x, $text_y, 0, 0, $text_width, $text_height, $this->image_text_background_opacity); + imagedestroy($filter); + } else { + $background_color = imagecolorallocate($image_dst ,$red, $green, $blue); + imagefilledrectangle($image_dst, $text_x, $text_y, $text_x + $text_width, $text_y + $text_height, $background_color); + } + } + + $text_x += $this->image_text_padding_x; + $text_y += $this->image_text_padding_y; + $t_width = $text_width - (2 * $this->image_text_padding_x); + $t_height = $text_height - (2 * $this->image_text_padding_y); + list($red, $green, $blue) = $this->getcolors($this->image_text_color); + + // add the text, maybe transparent + if ($gd_version >= 2 && (is_numeric($this->image_text_opacity)) && $this->image_text_opacity >= 0 && $this->image_text_opacity <= 100) { + if ($t_width < 0) $t_width = 0; + if ($t_height < 0) $t_height = 0; + $filter = $this->imagecreatenew($t_width, $t_height, false, true); + $text_color = imagecolorallocate($filter ,$red, $green, $blue); + + if ($font_type == 'gd') { + foreach ($text as $k => $v) { + if ($this->image_text_direction == 'v') { + imagestringup($filter, + $this->image_text_font, + $k * ($line_width + ($k > 0 && $k < (sizeof($text)) ? $this->image_text_line_spacing : 0)), + $text_height - (2 * $this->image_text_padding_y) - ($this->image_text_alignment == 'l' ? 0 : (($t_height - strlen($v) * $char_width) / ($this->image_text_alignment == 'r' ? 1 : 2))) , + $v, + $text_color); + } else { + imagestring($filter, + $this->image_text_font, + ($this->image_text_alignment == 'l' ? 0 : (($t_width - strlen($v) * $char_width) / ($this->image_text_alignment == 'r' ? 1 : 2))), + $k * ($line_height + ($k > 0 && $k < (sizeof($text)) ? $this->image_text_line_spacing : 0)), + $v, + $text_color); + } + } + } else if ($font_type == 'tt') { + imagettftext($filter, + $this->image_text_size, + $this->image_text_angle, + $text_offset_x, + $text_offset_y, + $text_color, + $this->image_text_font, + $text); + } + $this->imagecopymergealpha($image_dst, $filter, $text_x, $text_y, 0, 0, $t_width, $t_height, $this->image_text_opacity); + imagedestroy($filter); + + } else { + $text_color = imagecolorallocate($image_dst ,$red, $green, $blue); + if ($font_type == 'gd') { + foreach ($text as $k => $v) { + if ($this->image_text_direction == 'v') { + imagestringup($image_dst, + $this->image_text_font, + $text_x + $k * ($line_width + ($k > 0 && $k < (sizeof($text)) ? $this->image_text_line_spacing : 0)), + $text_y + $text_height - (2 * $this->image_text_padding_y) - ($this->image_text_alignment == 'l' ? 0 : (($t_height - strlen($v) * $char_width) / ($this->image_text_alignment == 'r' ? 1 : 2))), + $v, + $text_color); + } else { + imagestring($image_dst, + $this->image_text_font, + $text_x + ($this->image_text_alignment == 'l' ? 0 : (($t_width - strlen($v) * $char_width) / ($this->image_text_alignment == 'r' ? 1 : 2))), + $text_y + $k * ($line_height + ($k > 0 && $k < (sizeof($text)) ? $this->image_text_line_spacing : 0)), + $v, + $text_color); + } + } + } else if ($font_type == 'tt') { + imagettftext($image_dst, + $this->image_text_size, + $this->image_text_angle, + $text_offset_x + ($this->image_dst_x / 2) - ($text_width / 2) + $this->image_text_padding_x, + $text_offset_y + ($this->image_dst_y / 2) - ($text_height / 2) + $this->image_text_padding_y, + $text_color, + $this->image_text_font, + $text); + } + } + } + + // add a reflection + if ($this->image_reflection_height) { + $this->log .= '- add reflection : ' . $this->image_reflection_height . '
    '; + // we decode image_reflection_height, which can be a integer, a string in pixels or percentage + $image_reflection_height = $this->image_reflection_height; + if (strpos($image_reflection_height, '%')>0) $image_reflection_height = $this->image_dst_y * (str_replace('%','',$image_reflection_height / 100)); + if (strpos($image_reflection_height, 'px')>0) $image_reflection_height = str_replace('px','',$image_reflection_height); + $image_reflection_height = (int) $image_reflection_height; + if ($image_reflection_height > $this->image_dst_y) $image_reflection_height = $this->image_dst_y; + if (empty($this->image_reflection_opacity)) $this->image_reflection_opacity = 60; + // create the new destination image + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y + $image_reflection_height + $this->image_reflection_space, true); + $transparency = $this->image_reflection_opacity; + + // copy the original image + imagecopy($tmp, $image_dst, 0, 0, 0, 0, $this->image_dst_x, $this->image_dst_y + ($this->image_reflection_space < 0 ? $this->image_reflection_space : 0)); + + // we have to make sure the extra bit is the right color, or transparent + if ($image_reflection_height + $this->image_reflection_space > 0) { + // use the background color if present + if (!empty($this->image_background_color)) { + list($red, $green, $blue) = $this->getcolors($this->image_background_color); + $fill = imagecolorallocate($tmp, $red, $green, $blue); + } else { + $fill = imagecolorallocatealpha($tmp, 0, 0, 0, 127); + } + // fill in from the edge of the extra bit + imagefill($tmp, round($this->image_dst_x / 2), $this->image_dst_y + $image_reflection_height + $this->image_reflection_space - 1, $fill); + } + + // copy the reflection + for ($y = 0; $y < $image_reflection_height; $y++) { + for ($x = 0; $x < $this->image_dst_x; $x++) { + $pixel_b = imagecolorsforindex($tmp, imagecolorat($tmp, $x, $y + $this->image_dst_y + $this->image_reflection_space)); + $pixel_o = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $this->image_dst_y - $y - 1 + ($this->image_reflection_space < 0 ? $this->image_reflection_space : 0))); + $alpha_o = 1 - ($pixel_o['alpha'] / 127); + $alpha_b = 1 - ($pixel_b['alpha'] / 127); + $opacity = $alpha_o * $transparency / 100; + if ($opacity > 0) { + $red = round((($pixel_o['red'] * $opacity) + ($pixel_b['red'] ) * $alpha_b) / ($alpha_b + $opacity)); + $green = round((($pixel_o['green'] * $opacity) + ($pixel_b['green']) * $alpha_b) / ($alpha_b + $opacity)); + $blue = round((($pixel_o['blue'] * $opacity) + ($pixel_b['blue'] ) * $alpha_b) / ($alpha_b + $opacity)); + $alpha = ($opacity + $alpha_b); + if ($alpha > 1) $alpha = 1; + $alpha = round((1 - $alpha) * 127); + $color = imagecolorallocatealpha($tmp, $red, $green, $blue, $alpha); + imagesetpixel($tmp, $x, $y + $this->image_dst_y + $this->image_reflection_space, $color); + } + } + if ($transparency > 0) $transparency = $transparency - ($this->image_reflection_opacity / $image_reflection_height); + } + + // copy the resulting image into the destination image + $this->image_dst_y = $this->image_dst_y + $image_reflection_height + $this->image_reflection_space; + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // change opacity + if ($gd_version >= 2 && is_numeric($this->image_opacity) && $this->image_opacity < 100) { + $this->log .= '- change opacity
    '; + // create the new destination image + $tmp = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y, true); + for($y=0; $y < $this->image_dst_y; $y++) { + for($x=0; $x < $this->image_dst_x; $x++) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $alpha = $pixel['alpha'] + round((127 - $pixel['alpha']) * (100 - $this->image_opacity) / 100); + if ($alpha > 127) $alpha = 127; + if ($alpha > 0) { + $color = imagecolorallocatealpha($tmp, $pixel['red'] , $pixel['green'], $pixel['blue'], $alpha); + imagesetpixel($tmp, $x, $y, $color); + } + } + } + // copy the resulting image into the destination image + $image_dst = $this->imagetransfer($tmp, $image_dst); + } + + // reduce the JPEG image to a set desired size + if (is_numeric($this->jpeg_size) && $this->jpeg_size > 0 && ($this->image_convert == 'jpeg' || $this->image_convert == 'jpg')) { + // inspired by: JPEGReducer class version 1, 25 November 2004, Author: Huda M ElMatsani, justhuda at netscape dot net + $this->log .= '- JPEG desired file size : ' . $this->jpeg_size . '
    '; + // calculate size of each image. 75%, 50%, and 25% quality + ob_start(); imagejpeg($image_dst,null,75); $buffer = ob_get_contents(); ob_end_clean(); + $size75 = strlen($buffer); + ob_start(); imagejpeg($image_dst,null,50); $buffer = ob_get_contents(); ob_end_clean(); + $size50 = strlen($buffer); + ob_start(); imagejpeg($image_dst,null,25); $buffer = ob_get_contents(); ob_end_clean(); + $size25 = strlen($buffer); + + // make sure we won't divide by 0 + if ($size50 == $size25) $size50++; + if ($size75 == $size50 || $size75 == $size25) $size75++; + + // calculate gradient of size reduction by quality + $mgrad1 = 25 / ($size50-$size25); + $mgrad2 = 25 / ($size75-$size50); + $mgrad3 = 50 / ($size75-$size25); + $mgrad = ($mgrad1 + $mgrad2 + $mgrad3) / 3; + // result of approx. quality factor for expected size + $q_factor = round($mgrad * ($this->jpeg_size - $size50) + 50); + + if ($q_factor<1) { + $this->jpeg_quality=1; + } elseif ($q_factor>100) { + $this->jpeg_quality=100; + } else { + $this->jpeg_quality=$q_factor; + } + $this->log .= '    JPEG quality factor set to ' . $this->jpeg_quality . '
    '; + } + + // converts image from true color, and fix transparency if needed + $this->log .= '- converting...
    '; + $this->image_dst_type = $this->image_convert; + switch($this->image_convert) { + case 'gif': + // if the image is true color, we convert it to a palette + if (imageistruecolor($image_dst)) { + $this->log .= '    true color to palette
    '; + // creates a black and white mask + $mask = array(array()); + for ($x = 0; $x < $this->image_dst_x; $x++) { + for ($y = 0; $y < $this->image_dst_y; $y++) { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $mask[$x][$y] = $pixel['alpha']; + } + } + list($red, $green, $blue) = $this->getcolors($this->image_default_color); + // first, we merge the image with the background color, so we know which colors we will have + for ($x = 0; $x < $this->image_dst_x; $x++) { + for ($y = 0; $y < $this->image_dst_y; $y++) { + if ($mask[$x][$y] > 0){ + // we have some transparency. we combine the color with the default color + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + $alpha = ($mask[$x][$y] / 127); + $pixel['red'] = round(($pixel['red'] * (1 -$alpha) + $red * ($alpha))); + $pixel['green'] = round(($pixel['green'] * (1 -$alpha) + $green * ($alpha))); + $pixel['blue'] = round(($pixel['blue'] * (1 -$alpha) + $blue * ($alpha))); + $color = imagecolorallocate($image_dst, $pixel['red'], $pixel['green'], $pixel['blue']); + imagesetpixel($image_dst, $x, $y, $color); + } + } + } + // transforms the true color image into palette, with its merged default color + if (empty($this->image_background_color)) { + imagetruecolortopalette($image_dst, true, 255); + $transparency = imagecolorallocate($image_dst, 254, 1, 253); + imagecolortransparent($image_dst, $transparency); + // make the transparent areas transparent + for ($x = 0; $x < $this->image_dst_x; $x++) { + for ($y = 0; $y < $this->image_dst_y; $y++) { + // we test wether we have enough opacity to justify keeping the color + if ($mask[$x][$y] > 120) imagesetpixel($image_dst, $x, $y, $transparency); + } + } + } + unset($mask); + } + break; + case 'jpg': + case 'bmp': + // if the image doesn't support any transparency, then we merge it with the default color + $this->log .= '    fills in transparency with default color
    '; + list($red, $green, $blue) = $this->getcolors($this->image_default_color); + $transparency = imagecolorallocate($image_dst, $red, $green, $blue); + // make the transaparent areas transparent + for ($x = 0; $x < $this->image_dst_x; $x++) { + for ($y = 0; $y < $this->image_dst_y; $y++) { + // we test wether we have some transparency, in which case we will merge the colors + if (imageistruecolor($image_dst)) { + $rgba = imagecolorat($image_dst, $x, $y); + $pixel = array('red' => ($rgba >> 16) & 0xFF, + 'green' => ($rgba >> 8) & 0xFF, + 'blue' => $rgba & 0xFF, + 'alpha' => ($rgba & 0x7F000000) >> 24); + } else { + $pixel = imagecolorsforindex($image_dst, imagecolorat($image_dst, $x, $y)); + } + if ($pixel['alpha'] == 127) { + // we have full transparency. we make the pixel transparent + imagesetpixel($image_dst, $x, $y, $transparency); + } else if ($pixel['alpha'] > 0) { + // we have some transparency. we combine the color with the default color + $alpha = ($pixel['alpha'] / 127); + $pixel['red'] = round(($pixel['red'] * (1 -$alpha) + $red * ($alpha))); + $pixel['green'] = round(($pixel['green'] * (1 -$alpha) + $green * ($alpha))); + $pixel['blue'] = round(($pixel['blue'] * (1 -$alpha) + $blue * ($alpha))); + $color = imagecolorclosest($image_dst, $pixel['red'], $pixel['green'], $pixel['blue']); + imagesetpixel($image_dst, $x, $y, $color); + } + } + } + + break; + default: + break; + } + + // interlace options + if($this->image_interlace) imageinterlace($image_dst, true); + + // outputs image + $this->log .= '- saving image...
    '; + switch($this->image_convert) { + case 'jpeg': + case 'jpg': + if (!$return_mode) { + $result = @imagejpeg($image_dst, $this->file_dst_pathname, $this->jpeg_quality); + } else { + ob_start(); + $result = @imagejpeg($image_dst, null, $this->jpeg_quality); + $return_content = ob_get_contents(); + ob_end_clean(); + } + if (!$result) { + $this->processed = false; + $this->error = $this->translate('file_create', array('JPEG')); + } else { + $this->log .= '    JPEG image created
    '; + } + break; + case 'png': + imagealphablending( $image_dst, false ); + imagesavealpha( $image_dst, true ); + if (!$return_mode) { + if (is_numeric($this->png_compression) && version_compare(PHP_VERSION, '5.1.2') >= 0) { + $result = @imagepng($image_dst, $this->file_dst_pathname, $this->png_compression); + } else { + $result = @imagepng($image_dst, $this->file_dst_pathname); + } + } else { + ob_start(); + if (is_numeric($this->png_compression) && version_compare(PHP_VERSION, '5.1.2') >= 0) { + $result = @imagepng($image_dst, null, $this->png_compression); + } else { + $result = @imagepng($image_dst); + } + $return_content = ob_get_contents(); + ob_end_clean(); + } + if (!$result) { + $this->processed = false; + $this->error = $this->translate('file_create', array('PNG')); + } else { + $this->log .= '    PNG image created
    '; + } + break; + case 'gif': + if (!$return_mode) { + $result = @imagegif($image_dst, $this->file_dst_pathname); + } else { + ob_start(); + $result = @imagegif($image_dst); + $return_content = ob_get_contents(); + ob_end_clean(); + } + if (!$result) { + $this->processed = false; + $this->error = $this->translate('file_create', array('GIF')); + } else { + $this->log .= '    GIF image created
    '; + } + break; + case 'bmp': + if (!$return_mode) { + $result = $this->imagebmp($image_dst, $this->file_dst_pathname); + } else { + ob_start(); + $result = $this->imagebmp($image_dst); + $return_content = ob_get_contents(); + ob_end_clean(); + } + if (!$result) { + $this->processed = false; + $this->error = $this->translate('file_create', array('BMP')); + } else { + $this->log .= '    BMP image created
    '; + } + break; + + default: + $this->processed = false; + $this->error = $this->translate('no_conversion_type'); + } + if ($this->processed) { + if (is_resource($image_src)) imagedestroy($image_src); + if (is_resource($image_dst)) imagedestroy($image_dst); + $this->log .= '    image objects destroyed
    '; + } + } + + } else { + $this->log .= '- no image processing wanted
    '; + + if (!$return_mode) { + // copy the file to its final destination. we don't use move_uploaded_file here + // if we happen to have open_basedir restrictions, it is a temp file that we copy, not the original uploaded file + if (!copy($this->file_src_pathname, $this->file_dst_pathname)) { + $this->processed = false; + $this->error = $this->translate('copy_failed'); + } + } else { + // returns the file, so that its content can be received by the caller + $return_content = @file_get_contents($this->file_src_pathname); + if ($return_content === FALSE) { + $this->processed = false; + $this->error = $this->translate('reading_failed'); + } + } + } + } + + if ($this->processed) { + $this->log .= '- process OK
    '; + } else { + $this->log .= '- error: ' . $this->error . '
    '; + } + + // we reinit all the vars + $this->init(); + + // we may return the image content + if ($return_mode) return $return_content; + + } + + /** + * Deletes the uploaded file from its temporary location + * + * When PHP uploads a file, it stores it in a temporary location. + * When you {@link process} the file, you actually copy the resulting file to the given location, it doesn't alter the original file. + * Once you have processed the file as many times as you wanted, you can delete the uploaded file. + * If there is open_basedir restrictions, the uploaded file is in fact a temporary file + * + * You might want not to use this function if you work on local files, as it will delete the source file + * + * @access public + */ + function clean() { + $this->log .= 'cleanup
    '; + $this->log .= '- delete temp file ' . $this->file_src_pathname . '
    '; + @unlink($this->file_src_pathname); + } + + + /** + * Opens a BMP image + * + * This function has been written by DHKold, and is used with permission of the author + * + * @access public + */ + function imagecreatefrombmp($filename) { + if (! $f1 = fopen($filename,"rb")) return false; + + $file = unpack("vfile_type/Vfile_size/Vreserved/Vbitmap_offset", fread($f1,14)); + if ($file['file_type'] != 19778) return false; + + $bmp = unpack('Vheader_size/Vwidth/Vheight/vplanes/vbits_per_pixel'. + '/Vcompression/Vsize_bitmap/Vhoriz_resolution'. + '/Vvert_resolution/Vcolors_used/Vcolors_important', fread($f1,40)); + $bmp['colors'] = pow(2,$bmp['bits_per_pixel']); + if ($bmp['size_bitmap'] == 0) $bmp['size_bitmap'] = $file['file_size'] - $file['bitmap_offset']; + $bmp['bytes_per_pixel'] = $bmp['bits_per_pixel']/8; + $bmp['bytes_per_pixel2'] = ceil($bmp['bytes_per_pixel']); + $bmp['decal'] = ($bmp['width']*$bmp['bytes_per_pixel']/4); + $bmp['decal'] -= floor($bmp['width']*$bmp['bytes_per_pixel']/4); + $bmp['decal'] = 4-(4*$bmp['decal']); + if ($bmp['decal'] == 4) $bmp['decal'] = 0; + + $palette = array(); + if ($bmp['colors'] < 16777216) { + $palette = unpack('V'.$bmp['colors'], fread($f1,$bmp['colors']*4)); + } + + $im = fread($f1,$bmp['size_bitmap']); + $vide = chr(0); + + $res = imagecreatetruecolor($bmp['width'],$bmp['height']); + $P = 0; + $Y = $bmp['height']-1; + while ($Y >= 0) { + $X=0; + while ($X < $bmp['width']) { + if ($bmp['bits_per_pixel'] == 24) + $color = unpack("V",substr($im,$P,3).$vide); + elseif ($bmp['bits_per_pixel'] == 16) { + $color = unpack("n",substr($im,$P,2)); + $color[1] = $palette[$color[1]+1]; + } elseif ($bmp['bits_per_pixel'] == 8) { + $color = unpack("n",$vide.substr($im,$P,1)); + $color[1] = $palette[$color[1]+1]; + } elseif ($bmp['bits_per_pixel'] == 4) { + $color = unpack("n",$vide.substr($im,floor($P),1)); + if (($P*2)%2 == 0) $color[1] = ($color[1] >> 4) ; else $color[1] = ($color[1] & 0x0F); + $color[1] = $palette[$color[1]+1]; + } elseif ($bmp['bits_per_pixel'] == 1) { + $color = unpack("n",$vide.substr($im,floor($P),1)); + if (($P*8)%8 == 0) $color[1] = $color[1] >>7; + elseif (($P*8)%8 == 1) $color[1] = ($color[1] & 0x40)>>6; + elseif (($P*8)%8 == 2) $color[1] = ($color[1] & 0x20)>>5; + elseif (($P*8)%8 == 3) $color[1] = ($color[1] & 0x10)>>4; + elseif (($P*8)%8 == 4) $color[1] = ($color[1] & 0x8)>>3; + elseif (($P*8)%8 == 5) $color[1] = ($color[1] & 0x4)>>2; + elseif (($P*8)%8 == 6) $color[1] = ($color[1] & 0x2)>>1; + elseif (($P*8)%8 == 7) $color[1] = ($color[1] & 0x1); + $color[1] = $palette[$color[1]+1]; + } else + return FALSE; + imagesetpixel($res,$X,$Y,$color[1]); + $X++; + $P += $bmp['bytes_per_pixel']; + } + $Y--; + $P+=$bmp['decal']; + } + fclose($f1); + return $res; + } + + /** + * Saves a BMP image + * + * This function has been published on the PHP website, and can be used freely + * + * @access public + */ + function imagebmp(&$im, $filename = "") { + + if (!$im) return false; + $w = imagesx($im); + $h = imagesy($im); + $result = ''; + + // if the image is not true color, we convert it first + if (!imageistruecolor($im)) { + $tmp = imagecreatetruecolor($w, $h); + imagecopy($tmp, $im, 0, 0, 0, 0, $w, $h); + imagedestroy($im); + $im = & $tmp; + } + + $biBPLine = $w * 3; + $biStride = ($biBPLine + 3) & ~3; + $biSizeImage = $biStride * $h; + $bfOffBits = 54; + $bfSize = $bfOffBits + $biSizeImage; + + $result .= substr('BM', 0, 2); + $result .= pack ('VvvV', $bfSize, 0, 0, $bfOffBits); + $result .= pack ('VVVvvVVVVVV', 40, $w, $h, 1, 24, 0, $biSizeImage, 0, 0, 0, 0); + + $numpad = $biStride - $biBPLine; + for ($y = $h - 1; $y >= 0; --$y) { + for ($x = 0; $x < $w; ++$x) { + $col = imagecolorat ($im, $x, $y); + $result .= substr(pack ('V', $col), 0, 3); + } + for ($i = 0; $i < $numpad; ++$i) + $result .= pack ('C', 0); + } + + if($filename==""){ + echo $result; + } else { + $file = fopen($filename, "wb"); + fwrite($file, $result); + fclose($file); + } + return true; + } +} + +?> \ No newline at end of file diff --git a/classes/fbattle.php b/classes/fbattle.php new file mode 100644 index 0000000..7a31cd0 --- /dev/null +++ b/classes/fbattle.php @@ -0,0 +1,470 @@ + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + +
    + + + + +
    + +
    +
    + return) { + case 1 : + ?> + + + + + + + + +

    Поединок

    + Ваш ход +  
    +
    + 3) { + if(@$_GET['use']) { + $dressed = mysql_fetch_row(mysql_query("SELECT `id` FROM `inventory` WHERE `id` = '".(int)$_GET['use']."' AND `dressed` = 1")); + if((int)$dressed[0] > 0) { + $my_class = $fbattle->my_class; + ob_start(); + usemagic($_GET['use'], "".$_POST['target']); + $bb = explode(" +
    + +
    +
    + + 0) && $fbattle->battle) { + echo 'Ожидаем хода противника...
    0)?"battle":"end"),'>
    '; + } + elseif($user['hp'] <= 0 && $fbattle->battle) { + ref_drop ($user['id']); + echo 'Ожидаем, пока бой закончат другие игроки...
    0)?"battle":"end"),'>
    '; + } + break; + case 3 : + echo "

    Противник долго не делает свой ход, вы можете закончить бой победителем
    +
    "; + if(!$fbattle->user['in_tower'] && $fbattle->user['room']!=200) { + echo "или признать ничью
    +
    "; + } + echo "или
    + +
    "; + break; + } + echo ''; + + + + + + if($enemy == 0){ + // проверяем на вшивость + if(!$fbattle->battle) { + if($user['battle']) { $ll = $user['battle'];} else { $ll = $_POST['batl']; } + if(!$ll) + { + $ll_r=mysql_fetch_array(mysql_query("SELECT `id` FROM `battle` WHERE (`t1` LIKE '%{$user['id']}%' || `t2` LIKE '%{$user['id']}%') AND `win` = '3' LIMIT 1")); + $ll=$ll_r['id']; + } + $data = @mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id` = {$ll} LIMIT 1")); + $damage = unserialize($data['damage']); + $exp = unserialize($data['exp']); + if(empty($damage[$user['id']])) { $damage[$user['id']] = 0; } + if($user['caveleader'] > 0 || $user['laba'] > 0) { + $rep = floor($damage[$user['id']]/300); + if($rep <= 0) { + $rep = 0; + } + $ads = '. Репутации: '.$rep.' ед.'; + } else { + $rep = 0; + $ads = '.'; + } + + echo '

    Бой закончен! Всего вами нанесено урона '.$damage[$user['id']].' HP. Получено опыта '.(int)$exp[$user['id']].' ('.check_proc($user['id']).'%)'.$ads.'

    '; + } + } else { +?> + + +battle) { +?> +
    +
    +t1 as $k => $v) { + if(in_array($v, array_keys($fbattle->battle))) { + ++$i; + if($i > 1) { $cc = ', '; } else { $cc = ''; } + $ffs .= $cc.nick4($v, "B1"); + $zz .= "private [".nick7($v)."] "; + } +} + +$i = 0; +?> + + + против +t2 as $k => $v) { + if(in_array($v, array_keys($fbattle->battle))) { + ++$i; + if($i > 1) { $cc = ', '; } else { $cc = ''; } + $ffs .= $cc.nick4($v, "B2"); + $zz .= "private [".nick7($v)."] "; + } +} +$i = 0; +?> + + +
    +На данный момент вами нанесено урона: damage[$user['id']]?> HP. + +(Бой идет с таймаутом battle_data['timeout']?> мин.) + +

    +
    +"; +} + +if($user['battle']) { $ll = $user['battle']; } elseif($_REQUEST['batl']) { $ll = $_REQUEST['batl']; } else { $ll = $_SESSION['batl']; } + +if(!$ll) { + $ll_r = mysql_fetch_array(mysql_query("SELECT `id` FROM `battle` WHERE (`t1` LIKE '%{$user['id']}%' OR `t2` LIKE '%{$user['id']}%') AND `win` = 3 LIMIT 1")); + $ll = $ll_r['id']; +} + +$fs = filesize("backup/logs/battle".$ll.".txt"); +$fh = fopen("backup/logs/battle".$ll.".txt", "r"); +fseek($fh, -4256, SEEK_END); +$log[0] = fread($fh, 4256); +fclose($fh); +$log = explode("
    ", $log[0]); +$ic = count($log)-2; + +if($fs >= 4256) { + $max = 1; +} else { + $max = 0; +} + +for($i = $ic; $i >= 0+$max; --$i) { + if(eregi("
    ", $log[$i])) { + $log[$i] = str_replace("
    ", "", $log[$i]); + $log[$i] = $log[$i]."
    "; + } + if(eregi(">".$user['login']."", $log[$i])) { + $log[$i] = str_replace("", "", $log[$i]); + } + if($ll != 0) { + if(eregi("
    ", $log[$i])) { + echo $log[$i]; + } else { + echo $log[$i]."
    "; + } + } +} +unset($ic); + +if($max == 1) { +?> +Полную версию лога боя, смотрите здесь» +
    + +
    + + +
    +return == 1) { + echo showinf_pers($fbattle->enemy, 1, 1); +} else { + if($fbattle->battle_data['type'] == 4 || $fbattle->battle_data['type'] == 5) { + $a = array(6, 16); + echo ""; + } elseif($fbattle->return > 1) { + echo ""; + } elseif($exp[$user['id']] > 0) { + echo ""; + } else { + echo ""; + } +} + +if($fbattle->needrefresh) { + header("Location: fbattle.php?".time()); +} + +if($fbattle->battle_data['needbb']) { + foreach($fbattle->battle as $k => $v) { + if($k > _BOTSEPARATOR_) { + foreach($v as $k2 => $v2) { + if($k2 < _BOTSEPARATOR_) continue; + $hp_1 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $hp_2 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k2.'" LIMIT 1')); + if($fbattle->battle[$k][$k2][0] && $fbattle->battle[$k2][$k][0] && $hp_1['hp'] > 0 && $hp_2['hp'] > 0 && time()-$fbattle->battle[$k][$k2][2] > 1 && time()-$fbattle->battle[$k2][$k][2] > 1) { + $at_1 = $fbattle->battle[$k][$k2][0]; + $def_1 = $fbattle->battle[$k][$k2][1]; + $at_2 = $fbattle->battle[$k2][$k][0]; + $def_2 = $fbattle->battle[$k2][$k][1]; + $fbattle->makechange($k, $k2, $at_1, $at_2, $def_1, $def_2); + $fbattle->write_log(); + $fbattle->battle[$k][$k2] = array(0, 0, time()); + $fbattle->battle[$k2][$k] = array(0, 0, time()); + $fbattle->needupdate = 1; + } + } + } + } + if($fbattle->needupdate) { + $fbattle->UpdateBattle(); + } +} + +?> +
    + +
    + +
    + + + + + + + \ No newline at end of file diff --git a/classes/filter_class.php b/classes/filter_class.php new file mode 100644 index 0000000..322b5d1 --- /dev/null +++ b/classes/filter_class.php @@ -0,0 +1,160 @@ +1,"fingal"=>1,"eek"=>1,"smoke"=>1,"hi"=>1,"bye"=>1,"king"=>1,"king2"=>1,"boks2"=>1,"boks"=>1,"gent"=>1,"lady"=>1,"tongue"=>1,"smil"=>1,"rotate"=>1,"ponder"=>1,"bow"=>1,"angel"=>1,"angel2"=>1,"hello"=>1,"dont"=>1,"idea"=>1,"mol"=>1,"super"=>1,"beer"=>1,"drink"=>1,"baby"=>1,"tongue2"=>1,"sword"=>1,"agree"=>1,"loveya"=>1,"kiss"=>1,"kiss2"=>1,"kiss3"=>1,"kiss4"=>1,"rose"=>1,"love"=>1,"love2"=>1,"confused"=>1,"yes"=>1,"no"=>1,"shuffle"=>1,"nono"=>1,"maniac"=>1,"privet"=>1,"ok"=>1,"ninja"=>1,"pif"=>1,"smash"=>1,"alien"=>1,"pirate"=>1,"gun"=>1,"trup"=>1,"mdr"=>1,"sneeze"=>1,"mad"=>1,"friday"=>1,"cry"=>1,"grust"=>1,"rupor"=>1,"fie"=>1,"nnn"=>1,"row"=>1,"red"=>1,"lick"=>1,"help"=>1,"wink"=>1,"jeer"=>1,"tease"=>1,"nunu"=>1,"inv"=>1,"duel"=>1,"susel"=>1,"nun"=>1,"kruger"=>1,"flowers"=>1,"horse"=>1,"hug"=>1,"str"=>1,"alch"=>1,"pal"=>1,"mag"=>1,"sniper"=>1,"vamp"=>1,"doc"=>1,"doc2"=>1,"sharp"=>1,"naem"=>1,"naem2"=>1,"naem3"=>1,"invis"=>1,"chtoza"=>1,"beggar"=>1,"sorry"=>1,"sorry2"=>1,"creator"=>1,"grace"=>1,"dustman"=>1,"carreat"=>1,"lordhaos"=>1,"ura"=>1,"elix"=>1,"dedmoroz"=>1,"snegur"=>1,"showng"=>1,"superng"=>1,"podz"=>1,"sten"=>1,"devil"=>1,"cat"=>1,"owl"=>1,"lightfly"=>1,"snowfight"=>1,"rocket"=>1,"ball"=>1,"smile"=>1,"fuck"=>1); + public $abuse = array("лох"=>1,"мудак"=>2); + + public function e($t) { + mysql_query('INSERT INTO `chat` (`text`, `city`, `to`, `type`, `new`, `time`) VALUES ("#'.date('d.m.Y').' %'.date('H:i:s').': '.mysql_real_escape_string($t).'", "capitalcity", "The Kite Runner", "6", "1", "-1")'); + } + + public function setOnline($online, $uid, $afk) { + $add = 0; + if(time()-$online >= 1) { + if(time()-$online < 60) { + $add += time()-$online; + } else { + $add += 60; + } + } + + $afk = 0; + if($add > 0) { + $on = mysql_fetch_array(mysql_query('SELECT * FROM `online` WHERE `id` = "'.$uid.'" LIMIT 1')); + if(isset($on['id'])) { + $mt = 0; + $lst = time(); + mysql_query('UPDATE `online` SET `date` = "'.$lst.'" WHERE `id` = "'.$on['id'].'" LIMIT 1'); + } + } + } + + public function mystr($string) { + $str = strtolower($string); + if(strtolower('S') != 's') { + $ru = 'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЫЭЮЯЬЪ'; + $ru2 = 'абвгдеёжзийклмнопрстуфхцчшщъьыэюяьъ'; + $en = 'QWERTYUIOPASDFGHJKLZXCVBNM'; + $en2 = 'qwertyuiopasdfghjklzxcvbnm'; + $i = 0; + while($i < 33) { + if(isset($ru[$i])) { + $str = strtr($str, $ru[$i], $ru2[$i]); + } + if(isset($en[$i])) { + $str = strtr($str, $en[$i], $en2[$i]); + } + $i++; + } + } + return $str; + } + + public function reverse_i($str) { + $newstr = $str; + return $newstr; + } + + public function spamFiltr($txt) { + $nospam = 0; + $txt = str_replace('>', '', $txt); + $txt = str_replace('<', '', $txt); + $txt = str_replace('"', '', $txt); + $txt = $this->mystr($txt); + $i = 0; + $j = 0; + while($i <= count($this->sm)) { + if(isset($this->sm[$i])) { + $txt = preg_replace('/:'.$this->sm[$i].':/', "", $txt); + } + $i++; + } + + $spam = file_get_contents('spambase.txt',"r"); + $testEN = preg_replace('/[^a-z]*/i', '', $txt); + $testEN2 = $txt; + $testEN2 = str_replace('Р°','a',$testEN2); + $testEN2 = str_replace('Р±','b',$testEN2); + $testEN2 = str_replace('СЃ','c',$testEN2); + $testEN2 = str_replace('РІ','b',$testEN2); + $testEN2 = str_replace('Рµ','e',$testEN2); + $testEN2 = str_replace('С‚','t',$testEN2); + $testEN2 = str_replace('Рѕ','o',$testEN2); + $testEN2 = str_replace('СЂ','p',$testEN2); + $testEN2 = str_replace('Рј','m',$testEN2); + $testEN2 = str_replace('РЅ','h',$testEN2); + $testEN2 = str_replace('Сѓ','y',$testEN2); + $testEN2 = str_replace('Рє','k',$testEN2); + $testEN2 = str_replace('Рё','u',$testEN2); + $testEN2 = str_replace('С…','x',$testEN2); + $testEN2 = str_replace('()','o',$testEN2); + $testEN2 = str_replace('0','o',$testEN2); + $testEN2 = preg_replace('/[^a-z]*/i', '', $testEN2); + $testRU = preg_replace('/[^Р°-СЏ]*/i', '', $txt); + + $testRU2 = $txt; + $testRU2 = str_replace('a','Р°',$testRU2); + $testRU2 = str_replace('b','Р±',$testRU2); + $testRU2 = str_replace('c','СЃ',$testRU2); + $testRU2 = str_replace('b','РІ',$testRU2); + $testRU2 = str_replace('e','Рµ',$testRU2); + $testRU2 = str_replace('t','С‚',$testRU2); + $testRU2 = str_replace('o','Рѕ',$testRU2); + $testRU2 = str_replace('p','СЂ',$testRU2); + $testRU2 = str_replace('m','Рј',$testRU2); + $testRU2 = str_replace('h','РЅ',$testRU2); + $testRU2 = str_replace('y','Сѓ',$testRU2); + $testRU2 = str_replace('k','Рє',$testRU2); + $testRU2 = str_replace('x','С…',$testRU2); + $testRU2 = str_replace('u','Рё',$testRU2); + $testRU2 = str_replace('()','Рѕ',$testRU2); + $testRU2 = str_replace('0','Рѕ',$testRU2); + $testRU2 = preg_replace('/[^Р°-СЏ]*/i', '', $testRU2); + $i = 0; $spe = explode('|',$spam); + while($i <= count($spe)) { + if(isset($spe[$i]) && $spe[$i] != '' && $spe[$i] != 'capitalcity.old-dark.ru') { + if(preg_match("/".($spe[$i])."/i", ($testEN))) { + $nospam .= '%'.$spe[$i]; + } elseif(preg_match("/".($spe[$i])."/i", ($testRU))) { + $nospam .= '%'.$spe[$i]; + } elseif(preg_match("/".($spe[$i])."/i", ($testEN2))) { + $nospam .= '%'.$spe[$i]; + } elseif(preg_match("/".($spe[$i])."/i", ($testRU2))) { + $nospam .= '%'.$spe[$i]; + } + } + $i++; + } + return $nospam; + } + + public function getSmiles($txt, $lg) { + $i = 0; $j = 0; + $txt = ' '.$txt; $h = explode(':', $txt); + while($i <= count($this->sm)) { + if(isset($h[$i])) { + if(isset($this->sm[$h[$i]])) { + if($j < 6) { + $clk = 'onclick=\"top.addSm(\''.$h[$i].'\');\" style=\"cursor: pointer;\"'; + $h[$i] = '*not_dbl_ponts**not_dbl_ponts*'; + $j++; + } + } + } + $i++; + } + $txt = implode($h, ':'); + $txt = str_replace(':*not_dbl_ponts*', '', $txt); + $txt = str_replace('*not_dbl_ponts*:', '', $txt); + $txt = str_replace('*not_dbl_ponts*', '', $txt); + $txt = trim($txt,' '); + return $txt; + } + + public function __clone() { + trigger_error('Дублирование РЅРµ допускается.', E_USER_ERROR); + } +} + +$filter = new Filter(); +?> \ No newline at end of file diff --git a/classes/quests_class.php b/classes/quests_class.php new file mode 100644 index 0000000..b6c089f --- /dev/null +++ b/classes/quests_class.php @@ -0,0 +1,590 @@ +expl($pl['tr_date']); + + if(isset($d['tr_endq'])) { + $i = 0; + $e = explode(',', $d['tr_endq']); + while($i < count($e)) { + $qlst = mysql_fetch_array(mysql_query('SELECT `id`, `vals` FROM `actions` WHERE `uid` = "'.$uid.'" AND `vars` = "start_quest'.$e[$i].'" AND `vals` = "win" LIMIT 1')); + if(!isset($qlst['id'])) { + $r = 3; + } + $i++; + } + unset($qn, $qlst, $qlst2); + } + + if(isset($d['tr_zdr'])) { + $qlst = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$uid.'" AND `vars` = "start_quest'.$pl['id'].'" AND `vals` != "go" ORDER BY `time` DESC LIMIT 1')); + if($qlst['time']+($d['tr_zdr']*60*60)-time() > 0) { + $r = 4; + } + unset($qlst); + } + + if(isset($d['tr_tm1'])) { + $d['tr_tm1'] = str_replace('d', date('d'), $d['tr_tm1']); + $d['tr_tm1'] = str_replace('m', date('m'), $d['tr_tm1']); + $d['tr_tm1'] = str_replace('y', date('y'), $d['tr_tm1']); + $d['tr_tm2'] = str_replace('d', date('d'), $d['tr_tm2']); + $d['tr_tm2'] = str_replace('m', date('m'), $d['tr_tm2']); + $d['tr_tm2'] = str_replace('y', date('y'), $d['tr_tm2']); + } + + if(isset($d['tr_raz'])) { + $qlst = $this->testAction('SELECT `id` FROM `actions` WHERE `uid` = "'.$uid.'" AND `vars` = "start_quest'.$pl['id'].'" LIMIT '.$d['tr_raz'], 2); + if($d['tr_raz'] > 0 && $d['tr_raz']-$qlst[0] <= 0) { + $r = 5; + } + unset($qlst); + } + + if(isset($d['tr_raz2'])) { + $qlst = $this->testAction('SELECT `id` FROM `actions` WHERE `uid` = "'.$uid.'" AND `vars` = "start_quest'.$pl['id'].'" AND `vals` != "go" AND `vals` != "win" LIMIT '.$d['tr_raz2'], 2); + if($d['tr_raz2']-$qlst[0] <= 0) { + $r = 6; + } + unset($qlst); + } + return $r; + } + + public function __clone() { + trigger_error('Дублирование не допускается.', E_USER_ERROR); + } + + public function startq($id, $val = NULL, $uid) { + $pl = mysql_fetch_array(mysql_query('SELECT * FROM `quests` WHERE `delete` = "0" AND `id` = "'.mysql_real_escape_string($id).'" LIMIT 1')); + if(isset($pl['id'])) { + $tms = (time()+60*60*$pl['time']); + $this->addAction(time(), 'start_quest'.$pl['id'], 'go', $uid, $tms); + $this->error = 'Вы успешно получили задание "'.$pl['name'].'"'; + } else { + $this->error = 'Не удалось получить данное задание ...'; + } + } + + public function list_quest($pl, $u) { + $r = ''; $t = ''; $nagr = ''; $tr = ''; + $qlst = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u.'" AND `vars` = "start_quest'.$pl['id'].'" ORDER BY `time` DESC LIMIT 1')); + + $ds = $this->expl($pl['win_date']); + if(isset($ds['add_cr'])) { + $nagr .= 'Деньги : '.$ds['add_cr'].' кр. '; + } + if(isset($ds['add_point'])) { + $nagr .= ' Репутация : '.$ds['add_point'].' ед. '; + } + if(isset($ds['add_exp'])) { + $nagr .= ' Опыт : '.$ds['add_exp'].' ед. '; + } + + $d = $this->expl($pl['act_date']); + if(isset($d['heal'])) { + $tr .= 'Вылечить '.$d['heal'].' игроков от травм.
    '; + } + if(isset($d['tr_win_haot'])) { + $tr .= 'Выйграть '.$d['tr_win_haot'].' хаотических поединков.
    '; + } + if(isset($d['kill_clone'])) { + $tr .= 'Выйграть '.$d['kill_clone'].' поединков против своего клона.
    '; + } + // if(isset($d['tr_win'])) { + // $tr .= 'Выйграть '.$d['tr_win'].' физических поединков против игроков.
    '; + // } + if(isset($d['kill_bot'])) { + $x = ''; + $ex = explode(',', $d['kill_bot']); + $i = 0; + while($i < count($ex)) { + $ex2 = explode('=', $ex[$i]); + $bot2 = mysql_fetch_array(mysql_query('SELECT `id`, `login` FROM `users` WHERE `id` = "'.$ex2[0].'" LIMIT 1')); + if(isset($bot2['id'])) { + $x .= '    • '.$bot2['login'].' '.$ex2[1].'
    '; + } + $i++; + } + + if($x != '') { + $x = trim($x, ', '); + $tr .= 'Убить ботов:
    '.$x.'
    '; + } + } + if($tr != '') { + $ts = 'Требования :
    '.$tr; + } + + $za = ''; + if($qlst['time']+($pl['heal']*60*60)-time() > 0) { + $tms = $this->timeOut($qlst['time']+($pl['heal']*60*60)-time()); + $za = 'Задержка еще : '.$tms.'
    '; + } + + $d = $this->expl($pl['tr_date']); + $r .= '
    '; + $r .= '
    я берусьЗадание "'.$pl['name'].'"
    '; + + $r .= '
    '.$pl['info'].'
    +
    +
    Награда : '.$nagr.'
    +
    +
    + Время на выполнение: '.$pl['time'].' ч.
    + '.$ts.$za.' +
    + Задание для ['.$pl['min_lvl'].'-'.$pl['max_lvl'].'] уровней, с задержкой '.$pl['heal'].' ч. +
    +
    +
    + '; + + + $r .= '
    '; + + return $r; + } + + public function info($pl, $uid) { + $r = ''; $t = ''; + $qst = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$uid.'" AND `vars` = "start_quest'.$pl['id'].'" AND `vals` = "go" LIMIT 1')); + $d = $this->expl($pl['tr_date']); + + if(isset($d['tr_endq'])) { + $t .= 'Завершить квесты : '; + $i = 0; + $e = explode(',', $d['tr_endq']); + while($i <= count($e)) { + if($e[$i] > 0) { + $qn = mysql_fetch_array(mysql_query('SELECT `name` FROM `quests` WHERE `id` = "'.$e[$i].'" LIMIT 1')); + if(isset($qn['name'])) { + $t .= '"'.$qn['name'].'", '; + } + } + $i++; + } + $t = trim($t, ', '); + $t .= '
    '; + unset($qn); + } + + if(isset($d['tr_botitm'])) { + $t .= 'Из ботов выпадают предметы :
      '; + $e = explode('|', $d['tr_botitm']); + $i = 0; + while($i < count($e)) { + $j = 0; + $e2 = explode('-', $e[$i]); + + if($e2[0] > 0) { + $qn = mysql_fetch_array(mysql_query('SELECT `login` FROM `users` WHERE `id` = "'.$e2[0].'" LIMIT 1')); + $t .= '    • Из "'.$qn['login'].'" выпадает: '; + } else { + $t .= '    • Из любых ботов выпадает: '; + } + + $j = 0; + $e3 = explode(',',$e2[1]); + while($j < count($e3)) { + $e4 = explode('=', $e3[$j]); + $qi = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `img` FROM `shop` WHERE `id` = "'.$e4[0].'" LIMIT 1')); + $t .= ' '.$qi['name'].', '; + $j++; + } + $t = trim($t, ', '); + $i++; + } + $t .= '
      '; + unset($qn, $qi, $e2, $e3, $e4); + } + + if(isset($d['tr_winitm'])) { + $t .= 'После победы выпадают предметы :
      '; + $e = explode('|', $d['tr_winitm']); + $i = 0; + while($i < count($e)) { + $j = 0; + $e2 = explode('-', $e[$i]); + $t .= '    • '; + + if($e2[0] > 0) { + $t .= 'Из людей выпадает : '; + } else { + $t .= 'Из ботов выпадает : '; + } + + $j = 0; + $e3 = explode(',', $e2[1]); + while($j < count($e3)) { + $e4 = explode('=', $e3[$j]); + $qi = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `img` FROM `shop` WHERE `id` = "'.$e4[0].'" LIMIT 1')); + $t .= ' '.$qi['name'].', '; + $j++; + } + $t = trim($t, ', '); + $t .= '
      '; + $i++; + } + unset($qn, $qi, $e2, $e3, $e4); + } + + if(isset($d['tr_zdr'])) { + $qlst = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$uid.'" AND `vars` = "start_quest'.$pl['id'].'" AND `vals` != "go" LIMIT 1')); + $t .= 'Задержка между выполнением задания : '.$this->timeOut($d['tr_zdr']*60*60); + if($qlst['time']+($d['tr_zdr']*60*60)-time() > 0) { + $t .= '(Осталось : '.$this->timeOut($qlst['time']+($d['tr_zdr']*60*60)-time()).' ч.)'; + } + $t .= '
      '; + unset($qlst); + } + + if(isset($d['tr_tm1'])) { + $d['tr_tm1'] = str_replace('d', date('d'), $d['tr_tm1']); + $d['tr_tm1'] = str_replace('m', date('m'), $d['tr_tm1']); + $d['tr_tm1'] = str_replace('y', date('y'), $d['tr_tm1']); + $d['tr_tm2'] = str_replace('d', date('d'), $d['tr_tm2']); + $d['tr_tm2'] = str_replace('m', date('m'), $d['tr_tm2']); + $d['tr_tm2'] = str_replace('y', date('y'), $d['tr_tm2']); + $t .= 'Период квеста : '.$d['tr_tm1'].' - '.$d['tr_tm2'].'
      '; + } + + if(isset($d['tr_raz'])) { + if($d['tr_raz'] == -1) { + $t .= 'Сколько еще раз можно выполнить задание: бесконечно
      '; + } else { + $qlst = $this->testAction('SELECT `id` FROM `actions` WHERE `uid` = "'.$uid.'" AND `vars` = "start_quest'.$pl['id'].'" LIMIT '.$d['tr_raz'], 2); + $t .= 'Сколько раз можно выполнить задание: '.($d['tr_raz']-$qlst[0]).'
      '; + } + unset($qlst); + } + + if(isset($d['tr_raz2'])) { + $qlst = $this->testAction('SELECT `id` FROM `actions` WHERE `uid` = "'.$uid.'" AND `vars` = "start_quest'.$pl['id'].'" AND `vals` != "go" AND `vals` != "win" LIMIT '.$d['tr_raz2'], 2); + $t .= 'Осталось попыток выполнить задание : '.($d['tr_raz2']-$qlst[0]).'
      '; + unset($qlst); + } + + $d = $this->expl($pl['act_date']); + + if(isset($d['kill_bot'])) { + $x = ''; + $ex = explode(',', $d['kill_bot']); + $i = 0; + if(isset($d['all_kill']) && $d['all_kill'] > 0 ) { + while($i < count($ex)) { + $x2 = 0; + $ex2 = explode('=', $ex[$i]); + if(isset($qst['id'])) { + $x2 = $this->testAction('`uid` = "'.$uid.'" AND `time` > '.$qst['time'].' AND `vars` = "win_bot_'.$ex2[0].'" LIMIT '.$ex2[1], 2); + $x2 = (0+$x2[0]); + } + $i++; + } + + $bot2 = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$ex2[0].'" LIMIT 1')); + $bot2['id'] = $bot2['id']; + if(isset($bot2['id'])){ + $x .= '    • '.$bot2['login'].' ['.$x2.'/'.$d['all_kill'].']
      '; + } else { + $x .= '    • '.$pl['name'].' ['.$x2.'/'.$d['all_kill'].']
      '; + } + } else { + while($i < count($ex)) { + $x2 = 0; + $ex2 = explode('=', $ex[$i]); + $bot2 = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$ex2[0].'" LIMIT 1')); + if(isset($bot2['id'])) { + if(isset($qst['id'])) { + $x2 = $this->testAction('`uid` = "'.$uid.'" AND `time` > '.$qst['time'].' AND `vars` = "win_bot_'.$ex2[0].'" LIMIT '.$ex2[1], 2); + $x2 = (0+$x2[0]); + } + $x .= '    • '.$bot2['login'].' ['.$x2.'/'.$ex2[1].']
      '; + } + $i++; + } + } + + if($x != '') { + $x = trim($x, ', '); + $t .= 'Убить ботов:
      '.$x.''; + } + unset($x, $ex, $x2, $bot2, $ex2); + } + + if(isset($d['tr_win_haot'])) { + $x = $this->testAction('`uid` = "'.$uid.'" AND `time` > "'.$qst['time'].'" AND `vars` = "win_haot" LIMIT 1', 2); + $x = (0+$x[0]); + $t .= 'Победить в хаотических поединках : ['.$x.'/'.$d['tr_win_haot'].']
      '; + unset($x); + } + + if(isset($d['kill_clone'])) { + $x = $this->testAction('`uid` = "'.$uid.'" AND `time` > "'.$qst['time'].'" AND `vars` = "kill_clone" LIMIT 1', 2); + $x = (0+$x[0]); + $t .= 'Победите в : ['.$x.'/'.$d['kill_clone'].'] физических боях с клоном.
      '; + unset($x); + } + + if(isset($d['tr_win'])) { + $x = $this->testAction('`uid` = "'.$uid.'" AND `time` > "'.$qst['time'].'" AND `vars` = "win_fiz" LIMIT 1', 2); + $x = (0+$x[0]); + $t .= 'Победите в : ['.$x.'/'.$d['tr_win'].'] физических против игроков.
      '; + unset($x); + } + + if(isset($d['heal'])) { + $x = $this->testAction('`uid` = "'.$uid.'" AND `time` > "'.$qst['time'].'" AND `vars` LIKE "heal%" AND `vars` != "heal_'.$uid.'" LIMIT 1', 2); + $x = (0+$x[0]); + $t .= 'Вылечите : ['.$x.'/'.$d['heal'].'] игроков от травм.
      '; + unset($x); + } + + if(isset($d['tk_itm'])) { + $ex = explode(',', $d['tk_itm']); + $i = 0; $x = ''; + while($i < count($ex)) { + $ex2 = explode('=',$ex[$i]); + $x2 = mysql_fetch_array(mysql_query('SELECT `koll` FROM `inventory` WHERE `prototype` = "'.mysql_real_escape_string($ex2[0]).'" AND `owner` = "'.$uid.'" LIMIT 1')); + $bot2 = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `img` FROM `shop` WHERE `id` = "'.mysql_real_escape_string($ex2[0]).'" LIMIT 1')); + $x .= '    • '.$bot2['name'].' ['.$x2[0].'/'.$ex2[1].']
      '; + $i++; + } + + if($x != '') { + $x = trim($x, ', '); + $t .= 'Собрать ресурсы :
      '.$x.''; + } + } + + if($t != '') { + $r .= 'Условия задания :
      '.$t.'
      '; + $t = ''; + } + + $ds = $this->expl($pl['win_date']); + if(isset($ds['add_cr'])) { + $t .= 'Деньги : '.$ds['add_cr'].' кр.
      '; + } + + if(isset($ds['add_point'])) { + $t .= 'Репутация : '.$ds['add_point'].' ед.
      '; + } + + if(isset($ds['add_exp'])) { + $t .= 'Опыт : '.$ds['add_exp'].' ед.
      '; + } + + if($t != '') { + $r = 'Награда:
      '.$t.'
      '.$r; + $t = ''; + } + + if($t != '') { + $r = '
      Действия задания :
      '.$t.'
      '.$r; + $t = ''; + } + + if($r == '') { + $r = 'Дополнительная информация по заданию отсутствует'; + } + return $r; + } + + public function endq($id, $tp, $user) { + $pl = mysql_fetch_array(mysql_query('SELECT * FROM `quests` WHERE `delete` = "0" AND `min_lvl` <= "'.$user['level'].'" AND `max_lvl` >= "'.$user['level'].'" AND `id` = "'.mysql_real_escape_string($id).'" LIMIT 1')); + $qlst = mysql_fetch_array(mysql_query('SELECT `id` FROM `actions` WHERE `uid` = "'.$user['id'].'" AND `vars` = "start_quest'.$pl['id'].'" AND `vals` = "go" LIMIT 1')); + if(isset($qlst['id'])) { + if($tp == 'end') { + mysql_query('UPDATE `actions` SET `vals` = "end" WHERE `id` = "'.$qlst['id'].'" LIMIT 1'); + $this->error = 'Вы успешно отказались от задания "'.$pl['name'].'"'; + } elseif($tp == 'win') { + mysql_query('UPDATE `actions` SET `vals` = "win" WHERE `id` = "'.$qlst['id'].'" LIMIT 1'); + } + } else { + $this->error = 'Не удалось отказаться от задания ...'; + } + } + + public function testAction($filter, $tp) { + if($tp == 1) { + $ins = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val` FROM `actions` WHERE '.$filter.'')); + } elseif($tp == 2) { + $ins = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `actions` WHERE '.$filter.'')); + } + return $ins; + } + + public function timeOut($ttm) { + $out = ''; + $time_still = $ttm; + $tmp = floor($time_still/2592000); + $id = 0; + if($tmp > 0) { + $id++; + if($id < 3) { $out .= $tmp." мес. "; } + $time_still = $time_still-$tmp*2592000; + } + $tmp = floor($time_still/86400); + if($tmp > 0) { + $id++; + if($id < 3) { $out .= $tmp." дн. "; } + $time_still = $time_still-$tmp*86400; + } + $tmp = floor($time_still/3600); + if($tmp > 0) { + $id++; + if($id < 3) { $out .= $tmp." ч. "; } + $time_still = $time_still-$tmp*3600; + } + $tmp = floor($time_still/60); + if($tmp > 0) { + $id++; + if($id < 3) { $out .= $tmp." мин. "; } + } + if($out == '') { + if($time_still < 0) { + $time_still = 0; + } + $out = $time_still.' сек.'; + } + return $out; + } + + public function addAction($time, $vars, $vls, $uid, $val) { + $ins = mysql_query('INSERT INTO `actions` (`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`, `val`) VALUES ("'.$uid.'", "'.$time.'", "capitalcity", "0", "'.mysql_real_escape_string($vars).'", "'.mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']).'", "'.mysql_real_escape_string($vls).'", "'.$val.'")'); + if($ins) { + return true; + } else { + return false; + } + } + + public function expl($d) { + $i = 0; + $e = explode(':|:', $d); + while($i < count($e)) { + $t = explode(':=:', $e[$i]); + if(isset($t[0])) { + $dr[$t[0]] = $t[1]; + } + $i++; + } + unset($i, $e, $t); + return $dr; + } + + public function winqst($id, $user) { + $bad = 0; + $qlst = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$user['id'].'" AND `vars` = "start_quest'.$id.'" AND `vals` = "go" LIMIT 1')); + $qu = mysql_fetch_array(mysql_query('SELECT * FROM `quests` WHERE `id` = "'.$id.'" LIMIT 1')); + if(isset($qlst['id'])) { + $d = $this->expl($qu['act_date']); + + if(isset($d['heal'])) { + $x = $this->testAction('`uid` = "'.$user['id'].'" AND `time` > "'.$qlst['time'].'" AND `vars` LIKE "heal%" AND `vars` != "heal_'.$user['id'].'" LIMIT 1', 2); + $x = ($x[0]+0); + if($x < $d['heal']) { $bad = 1; } + unset($x); + } + + if(isset($d['tr_win'])) { + $x = $this->testAction('`uid` = "'.$user['id'].'" AND `time` > "'.$qlst['time'].'" AND `vars` = "win_fiz" LIMIT 1', 2); + $x = (0+$x[0]); + if($x < $d['tr_win']) { $bad = 1; } + unset($x); + } + + if(isset($d['kill_clone'])) { + $x = $this->testAction('`uid` = "'.$user['id'].'" AND `time` > "'.$qlst['time'].'" AND `vars` = "kill_clone" LIMIT 1', 2); + $x = (0+$x[0]); + if($x < $d['kill_clone']) { $bad = 1; } + unset($x); + } + + if(isset($d['tr_win_haot'])) { + $x = $this->testAction('`uid` = "'.$user['id'].'" AND `time` > "'.$qlst['time'].'" AND `vars` = "win_haot" LIMIT 1', 2); + $x = (0+$x[0]); + if($x < $d['tr_win_haot']) { $bad = 1; } + unset($x); + } + + if(isset($d['kill_bot'])) { + $ex = explode(',', $d['kill_bot']); + $i = 0; + while($i < count($ex)) { + $x = 0; + $ex2 = explode('=', $ex[$i]); + $bot2 = mysql_fetch_array(mysql_query('SELECT `id`, `login` FROM `users` WHERE `id` = "'.$ex2[0].'" LIMIT 1')); + if(isset($bot2['id'])) { + if(isset($qlst['id'])) { + $x = $this->testAction('`uid` = "'.$user['id'].'" AND `time` > "'.$qlst['time'].'" AND `vars` = "win_bot_'.$ex2[0].'"', 2); + $x = ($x[0]+0); + } + } + $i++; + } + if($x < $ex2[1]) { $bad = 1; } + unset($x); + } + + if($bad == 0) { + $nagr = $this->expl($qu['win_date']); + mysql_query('UPDATE `actions` SET `vals` = "win" WHERE `uid` = "'.$user['id'].'" AND `vars` = "start_quest'.$id.'" LIMIT 1'); + if(isset($nagr['add_cr'])) { + $user['money'] += $nagr['add_cr']; $c .= $nagr['add_cr'].' кр. '; + } + if(isset($nagr['add_point'])) { + $user['doblest'] += $nagr['add_point']; + if(isset($nagr['add_cr'])) { + $c .= 'и '.$nagr['add_point'].' репутации '; + } else { + $c .= $nagr['add_point'].' репутации '; + } + } + if(isset($nagr['add_exp'])) { + $user['exp'] += $nagr['add_exp']; + if(isset($nagr['add_cr']) || isset($nagr['add_point'])) { + $c .= 'и '.$nagr['add_exp'].' опыта'; + } else { + $c .= $nagr['add_exp'].' опыта'; + } + } + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'", `exp` = "'.$user['exp'].'", `doblest` = "'.$user['doblest'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $this->error = 'Вы успешно сдали задание!'; + $text = 'Внимание! За успешно выполненное задание Вы получили : '.$c; + $this->msg($text, '{[]}'.$user['login'].'{[]}', $user['room']); + } else { + $this->error = 'Не все условия задания были выполнены ...'; + } + } else { + $this->error = 'Квест не найден ...'; + } + } + + public function msg($text, $who, $room) { + $fp = fopen("/tmp/chat.txt", "a"); + flock($fp, LOCK_EX); + fputs($fp, ":[".time()."]:[{$who}]:[".($text)."]:[".$room."]\r\n"); + fflush($fp); + flock($fp, LOCK_UN); + fclose($fp); + } +} + +$q = new Quests; \ No newline at end of file diff --git a/classes/utils_class.php b/classes/utils_class.php new file mode 100644 index 0000000..1dca5e9 --- /dev/null +++ b/classes/utils_class.php @@ -0,0 +1,88 @@ + 0) { + foreach($_POST as $k => $v) { + if($v != null) { + if(in_array($k, $RichText)) { + $_POST[$k] = nl2br($_POST[$k]); + $_POST[$k] = mysql_real_escape_string($_POST[$k]); + } else { + $_POST[$k] = preg_replace("/[^a-zA-Zа-яА-Я0-9_ -]/", "", $_POST[$k]); + } + } + } + } + + if(count($_GET) > 0) { + foreach($_GET as $k => $v) { + if($v != null) + $_GET[$k] = preg_replace("/[^a-zA-Zа-яА-Я0-9_ -]/", "", $_GET[$k]); + } + } + } + + public function Short($uid, $ad) { + $us = $this->get_inf($uid); + $clan_arr = mysql_fetch_assoc(mysql_query("SELECT `id`, `short` FROM `clans` WHERE `id` = '".$us['klan']."' LIMIT 1")); + echo "login=".$us['login']."
      "; + echo "level=".$us['level']."
      "; + echo "align=".$us['align']."
      "; + echo "klan=".$clan_arr['short']."
      "; + echo "sex=".$us['sex']."
      "; + echo "str=".$us['sila']."
      "; + echo "agil=".$us['lovk']."
      "; + echo "int=".$us['inta']."
      "; + echo "dex=".$us['vinos']."
      "; + echo "status=".$us['status']."
      "; + echo "borncity=".$us['borncity']."
      "; + echo "block=".$us['block']."
      "; + echo "palmessage=".$us['palcom']."
      "; + echo "online=".(int)(time()-$us['chattime'] < 60*5)."
      "; + echo "hp=".$us['hp']."
      "; + echo "maxhp=".$us['maxhp']."
      "; + if($ad == 2.99) { + echo "money=".$us['money']."
      "; + echo "rep=".$us['doblest']."
      "; + echo "laba=".$us['laba']."
      "; + if($us['laba'] > 0) { + echo "-----------------------
      "; + echo "laba_x=".$us['x']."
      "; + echo "laba_y=".$us['y']."
      "; + echo "-----------------------
      "; + } + echo "room=".$us['room']."
      "; + } + echo "dress="; + $dresses = mysql_query("SELECT `id`, `name`, `duration`, `maxdur` FROM `inventory` WHERE `owner` = '".$us['id']."' AND `dressed` = 1 AND `type` != 12"); + while($dr = mysql_fetch_array($dresses)) { + echo $dr['name']." ".(int)$dr['duration']."/".(int)$dr['maxdur'].","; + } + } + +} + +$Utils = new Utils(); \ No newline at end of file diff --git a/classturnir.php b/classturnir.php new file mode 100644 index 0000000..95f5319 --- /dev/null +++ b/classturnir.php @@ -0,0 +1,523 @@ +array(1=>10,20,30,40,50,60,70,80), + 2=>array(1=>8,15,20,30,35,45,50,60), + 3=>array(1=>5,10,15,20,25,30,35,40)); +class TTournament { + public + $MaxUserLevel=9; +/* function __construct($id){ + } + + function __destruct(){ + }*/ + + function AddUserInTournament($id){ + global $user; + $chek=mysql_fetch_row(mysql_query("select id from turnament where id=".$id." and old=0")); + if ($chek[0]=='') die("Жаль, очень жаль...."); + + if (mysql_query("insert into turnamuser (idturnam,iduser,level) values(".$id.",".$user['id'].",".$user['level'].")")){ + mysql_query("update turnament set kolvo=kolvo+1 where id=".$id); + echo "Регистрация пройдена!"; + } + else die("Вы уже зарегистрированы."); + } + + function DellUserInTournament($id){ + global $user; + mysql_query("delete from turnamuser where idturnam=".$id." and iduser=".$user['id']); + mysql_query("update turnament set kolvo=kolvo-1 where id=".$id); + echo "Заявка отозвана
      "; + } + + function fract($num = 0) { + if(!is_double($num)) return false; + $out = explode('.', $num); + return $out[1]; + } + + function PrepearTournir(){//запускается за час до начала турнира + + for ($i=1;$i<$this->MaxUserLevel;$i++){ + $uch=mysql_query("select id,iduser from turnamuser where loose=0 and idturnam=(select id from turnament where old=0 and level=".$i.") order by id desc"); + $kol=mysql_num_rows($uch); + $cop=$kol; + if ($kol>7){ + While (true){ + $stepen=log($cop)/log(2); + if ($this->fract($stepen)==false){ //==false - дробная часть отсутствует + for($j=1;$j<=($kol-$cop);$j++){ + $res=mysql_fetch_row($uch); + mysql_query("delete from turnamuser where id=".$res[0]); + addchp ('Внимание! На этой неделе Вам не нашлелся противник в турнире.
      ','{[]}'.nick7 ($res[1]).'{[]}'); + } + mysql_query("update turnament set kolvo=kolvo-".($kol-$cop)." where old=0 and level=".$i); + break; + } + $cop--; + } + $CountUser=array(); + while ($res=mysql_fetch_row($uch)){ + $CountUser[]=$res[1]; + } + @shuffle($CountUser); + + for ($ii=0;$iiВнимание! Подготовтесь к турниру.
      ','{[]}'.nick7 ($user1).'{[]}'); + addchp ('Внимание! Подготовтесь к турниру.
      ','{[]}'.nick7 ($user2).'{[]}'); + } + } + else{ + //Если команда не набралась удалить из таблицы и поставить турниру статус 2 + while ($res=mysql_fetch_row($uch)){ + mysql_query("delete from turnamuser where id=".$res['0']); + addchp ('Внимание!На этой неделе команда для турнира не набралась.
      ','{[]}'.nick7 ($res[1]).'{[]}'); + } + mysql_query("delete from turnament where old=0 and level=".$i); + } + } + } + + // созает поединок между 2 юзерами + function MakeBattle ($user1,$user2) { + $res=mysql_fetch_array(mysql_query("select * from turnirbattle where userid=".$user1." or userid1=".$user1." limit 1")); + if ($res['userid1']==$user1 && $res['badmaxweap1']!=0 ){ + if ((time()-$res['badmaxweap1'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$user1." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid1=".$user1); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($user1).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($user2).'{[]}'); + } + }elseif ($res['userid']==$user2 && $res['badmaxweap']!=0){ + if ((time()-$res['badmaxweap'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$user2." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid=".$user2); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($user2).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($user1).'{[]}'); + } + } + elseif ($res['userid']==$user1 && $res['badmaxweap']!=0){ + if ((time()-$res['badmaxweap'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$user1." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid=".$user1); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($user1).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($user2).'{[]}'); + } + } + elseif ($res['userid1']==$user2 && $res['badmaxweap1']!=0 ){ + if ((time()-$res['badmaxweap1'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$user2." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid1=".$user2); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($user2).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($user1).'{[]}'); + } + } + else{ + //Если на человеке лишняя одежда написать чтобы снял поставить время ожидания 2 минуты + $Shmotuser=mysql_fetch_array(mysql_query("select * from users where id=".$user1)); + $Shmotuser1=mysql_fetch_array(mysql_query("select * from users where id=".$user2)); + $PriceWeap=mysql_fetch_row(mysql_query("select cost from inventory where id=".$Shmotuser['weap']." limit 1")); + $PriceWeap1=mysql_fetch_row(mysql_query("select cost from inventory where id=".$Shmotuser1['weap']." limit 1")); + if ($PriceWeap[0]=='') $PriceWeap[0]=0; + if ($PriceWeap1[0]=='') $PriceWeap1[0]=0; + + if ($PriceWeap[0]>16 || $Shmotuser['sergi']!=0 || $Shmotuser['kulon']!=0 || $Shmotuser['perchi']!=0 || $Shmotuser['bron']!=0 || $Shmotuser['r1']!=0 || $Shmotuser['r2']!=0 || $Shmotuser['r3']!=0 || $Shmotuser['helm']!=0 || $Shmotuser['shit']!=0 || $Shmotuser['boots']!=0 || $Shmotuser['stats']!=0 || $Shmotuser['m1']!=0 || $Shmotuser['m2']!=0 || $Shmotuser['m3']!=0 || $Shmotuser['m4']!=0 || $Shmotuser['m5']!=0 || $Shmotuser['m6']!=0 || $Shmotuser['m7']!=0 || $Shmotuser['m8']!=0 || $Shmotuser['m9']!=0 || $Shmotuser['m10']!=0){ + if ($res['userid']==$user1) + mysql_query("update turnirbattle set badmaxweap=".time()." , checkuser=0 where userid=".$user1); + if ($res['userid1']==$user1) + mysql_query("update turnirbattle set badmaxweap1=".time()." , checkuser2=0 where userid1=".$user1); + addchp ('Внимание!Оставьте оружие только до 16экр или оставьте только оружие.
      ','{[]}'.nick7 ($user1).'{[]}'); + } + elseif ($PriceWeap1[0]>16 || $Shmotuser1['sergi']!=0 || $Shmotuser1['kulon']!=0 || $Shmotuser1['perchi']!=0 || $Shmotuser1['bron']!=0 || $Shmotuser1['r1']!=0 || $Shmotuser1['r2']!=0 || $Shmotuser1['r3']!=0 || $Shmotuser1['helm']!=0 || $Shmotuser1['shit']!=0 || $Shmotuser1['boots']!=0 || $Shmotuser1['stats']!=0 || $Shmotuser1['m1']!=0 || $Shmotuser1['m2']!=0 || $Shmotuser1['m3']!=0 || $Shmotuser1['m4']!=0 || $Shmotuser1['m5']!=0 || $Shmotuser1['m6']!=0 || $Shmotuser1['m7']!=0 || $Shmotuser1['m8']!=0 || $Shmotuser1['m9']!=0 || $Shmotuser1['m10']!=0){ + if ($res['userid']==$user2) + mysql_query("update turnirbattle set badmaxweap=".time()." , checkuser=0 where userid=".$user2); + if ($res['userid1']==$user2) + mysql_query("update turnirbattle set badmaxweap1=".time()." , checkuser2=0 where userid1=".$user2); + addchp ('Внимание!Оставьте оружие только до 16экр или оставьте только оружие.
      ','{[]}'.nick7 ($user2).'{[]}'); + } + else{ + // генерим массив с командами + $teams = array(); + $teams[$user1][$user2] = array(0,0,time()); + $teams[$user2][$user1] = array(0,0,time()); + //Востанавливаем HP + mysql_query("update users set hp=maxhp where id=".$user1." or id=".$user2); + // создаем битву + mysql_query("INSERT INTO `battle`( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood`) + VALUES( + NULL,'','".serialize($teams)."','3','1','0','".$user1."','".$user2."','".time()."','".time()."','0')"); + // айди боя + $id = mysql_insert_id(); + // кидаем в бой + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = ".$user1." OR `id` = ".$user2); + // создаем лог + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." решили выяснить кто из них сильнее. (турнир)
      "); + return $id; + } + } + } + + // функция проверки статуса боя + function CheckBattle($id) { + // если по айдишнику возвращается + // 1 - победил USER1 + // 2 - победил USER2 + // 3 - бои идет + $res = mysql_fetch_array(mysql_query("SELECT `win` FROM `battle` WHERE `id` = ".(int)$id." LIMIT 1;")); + return $res['win']; + } + + function UpdateTournir(){ + for($i=1;$i<$this->MaxUserLevel;$i++){ + $sql=mysql_query("select * from turnirbattle where level=".$i); + + if (mysql_numrows($sql)==0){ + $this->NextTournir($i); + //$this->StartTournir($i); + } + + else { + echo "Для ".$i." уровня игроков следующий этап турнира начнется после завершения следующих боёв:
      "; + } + + while($res=mysql_fetch_array($sql)){ + $win=$this->CheckBattle($res['battleid']); + if ($win==1){ + mysql_query("update turnamuser set place=".time().", loose=loose+1 where iduser=".$res['userid1']); + mysql_query("update turnamuser set place=0 where iduser=".$res['userid']); + mysql_query("delete from turnirbattle where id=".$res['id']); + } + if($win==2){ + mysql_query("update turnamuser set place=".time().", loose=loose+1 where iduser=".$res['userid']); + mysql_query("update turnamuser set place=0 where iduser=".$res['userid1']); + mysql_query("delete from turnirbattle where id=".$res['id']); + } + if($win==3){ + echo nick3($res['userid'])." против ".nick3($res['userid1']); + } + } + } + } + + function NextTournir($level){ + $CheckFinal=array(); + for ($i=0;$i<=1;$i++){ + $sql=mysql_query("select iduser from turnamuser where level=".$level." and loose=".$i." and idturnam=(select id from turnament where old=0 and level=".$level.")"); + + $ArrayUsers=array(); + while ($res=mysql_fetch_row($sql)){ + $ArrayUsers[]=$res[0]; + } + @shuffle($CountUser); + + if (count($ArrayUsers)==1) $CheckFinal[]=$ArrayUsers[0]; + if (count($ArrayUsers)==1 && $i==0) addchp ('Внимание! Вы вышли в финал. Дождитесь второго финалиста.
      ','{[]}'.nick7 ($ArrayUsers[0]).'{[]}'); + + if ($this->fract(count($ArrayUsers)/2)!=false) + $countUs=count($ArrayUsers)-1; + else + $countUs=count($ArrayUsers); + + for ($ii=0;$ii<$countUs;$ii++){ + $user1=$ArrayUsers[$ii]; + $user2=$ArrayUsers[++$ii]; + //Востанавливаем HP + mysql_query("update users set hp=maxhp where id=".$user1." or id=".$user2); + mysql_query("insert into turnirbattle(userid,userid1,level,idtur) values(".$user1.",".$user2.",".$level.",(select id from turnament where old=0 and level=".$level."))"); + addchp ('Внимание! Подготовтесь к следующему туру.
      ','{[]}'.nick7 ($user1).'{[]}'); + addchp ('Внимание! Подготовтесь к следующему туру.
      ','{[]}'.nick7 ($user2).'{[]}'); + } + } + if (count($CheckFinal)==2) $this->TournirFinal($level,$CheckFinal); + if (count($CheckFinal)==1) { + $this->CreateHTML($level); + //поставить турниру статус 2. создать HTML для подгрузки результатов + //Если команда не набралась - удалить турнир. - эо при старте в 4 часа. + //$this->ShowTournirFinaliats($level); + } + } + + function CreateHTML($level){ + global $Priz; + $dir="logtur/".$level; + if (!file_exists($dir)) mkdir($dir); + $tur=mysql_fetch_array(mysql_query("select * from turnament where old=0 and level=".$level." limit 1")); + $f=fopen($dir."/".$tur['datetime'].".html",'w+'); + fwrite($f,''); + fwrite($f,''); + mysql_query("update turnamuser set place=".(time()+1000)." where place=0 and idturnam=".$tur['id']." and level=".$level); + $sql=mysql_query("select tur.*, us.login from turnamuser as tur left join users as us on us.id=tur.iduser where tur.idturnam=".$tur['id']." order by tur.place desc"); + $i=1; + + while ($res=mysql_fetch_array($sql)){ + if ($i==1 || $i==2 || $i==3){ + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','".$res['iduser']."','Выиграл в турнире ".$Priz[$i][$level]." кр.','1','".time()."');"); + addchp ('Внимание! За '.$i.' место в турнире, Вы получили '.$Priz[$i][$level].' кр.
      ','{[]}'.nick7 ($res['iduser']).'{[]}'); + } + fwrite($f, ''); + + } + fwrite($f, '
      ИгрокМесто
      '.$res['login'].''.$i++.'
      '); + fclose($f); + mysql_query("update turnament set old=2, path='/".$dir."/".$tur['datetime'].".html' where old=0 and level=".$level); + + //Раскоментить перед заливкой + //if (mysql_numrows(mysql_query("select id from turnament where old=0"))==0) $this->CreateTournament("Еженедельные турниры"); + } + + function ShowTournirFinaliats(){ + $sql=mysql_query("select datetime,level,path from turnament where old=2 group by level order by datetime"); + $level=0; + + echo "Результаты прошедших турниров.
      "; + while ($res=mysql_fetch_array($sql)){ + if ($level!=$res['level']) echo ""; + echo ""; + if ($level!=$res['level']){ + echo ""; + $level=$res['level']; + } + } + echo "
      УровеньДата
      ".$res['level']."".date("d.m.Y H:i",$res['datetime'])."
      "; + } + + function TournirFinal($level,$masFinals){ + mysql_query("update turnamuser set place=0 where (iduser=".$masFinals[0]." or iduser=".$masFinals[1].") and idturnam=(select id from turnament where old=0 and level=".$level.")"); + mysql_query("insert into turnirbattle(userid,userid1,level,idtur) values(".$masFinals[0].",".$masFinals[1].",".$level.",(select id from turnament where old=0 and level=".$level."))"); + addchp ('Внимание! Подготовтесь к финалу.
      ','{[]}'.nick7 ($masFinals[0]).'{[]}'); + addchp ('Внимание! Подготовтесь к финалу.
      ','{[]}'.nick7 ($masFinals[1]).'{[]}'); + } + + function expectationenemy(){ + global $user; + $res=mysql_fetch_array(mysql_query("select * from turnirbattle where userid=".$user['id']." or userid1=".$user['id']." limit 1")); + if ($res['id']!=''){ + if ($res['userid']==$user['id'] && $res['checkuser']==0 && $res['badmaxweap']==0){ + mysql_query("update turnirbattle set checkuser=1 where userid=".$user['id']); + if ($res['checkuser2']==1){ + $battle = $this->MakeBattle($res['userid'],$res['userid1']); + mysql_query("update turnirbattle set battleid=".$battle." where id=".$res['id']); + } + } + elseif($res['badmaxweap']!=0){ + if ((time()-$res['badmaxweap'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$res['userid']." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid=".$res['userid']); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($res['userid']).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($res['userid1']).'{[]}'); + } + } + if ($res['userid1']==$user['id'] && $res['checkuser2']==0 && $res['badmaxweap1']==0){ + mysql_query("update turnirbattle set checkuser2=1 where userid1=".$user['id']); + if ($res['checkuser']==1){ + $battle = $this->MakeBattle($res['userid'],$res['userid1']); + mysql_query("update turnirbattle set battleid=".$battle." where id=".$res['id']); + } + } + elseif($res['badmaxweap1']!=0){ + if ((time()-$res['badmaxweap1'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$res['userid']." and idturnam=".$res['idtur1']); + mysql_query("delete from turnirbattle where userid1=".$res['userid1']); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($res['userid1']).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($res['userid']).'{[]}'); + } + } + } + } + + function StartTournir($level=''){//Запускается в 17-00-10 каждую пятницу + //Разослать всем кнопочки на вход в турнир + global $user; + $res=mysql_fetch_array(mysql_query("select * from turnirbattle where userid=".$user['id']." or userid1=".$user['id']." limit 1")); + $PriceWeap=mysql_fetch_row(mysql_query("select cost from inventory where id=".$user['weap']." limit 1")); + if ($PriceWeap[0]=='') $PriceWeap[0]=0; + + if ($PriceWeap[0]>16 || $user['sergi']!=0 || $user['kulon']!=0 || $user['perchi']!=0 || $user['bron']!=0 || $user['r1']!=0 || $user['r2']!=0 || $user['r3']!=0 || $user['helm']!=0 || $user['shit']!=0 || $user['boots']!=0 || $user['stats']!=0 || $user['m1']!=0 || $user['m2']!=0 || $user['m3']!=0 || $user['m4']!=0 || $user['m5']!=0 || $user['m6']!=0 || $user['m7']!=0 || $user['m8']!=0 || $user['m9']!=0 || $user['m10']!=0){ + if ($res['userid']==$user['id'] && $res['badmaxweap']==0) + mysql_query("update turnirbattle set badmaxweap=".time()." , checkuser=0 where userid=".$user['id']); + if ($res['userid1']==$user['id'] && $res['badmaxweap1']==0) + mysql_query("update turnirbattle set badmaxweap1=".time()." , checkuser2=0 where userid1=".$user['id']); + addchp ('Внимание!Оставьте оружие только до 16экр или оставьте только оружие.
      ','{[]}'.nick7 ($user['id']).'{[]}'); + } + else{ + if ($res['userid']==$user['id']){ + mysql_query("update turnirbattle set badmaxweap=0 where userid=".$user['id']); + + } + if ($res['userid1']==$user['id']){ + mysql_query("update turnirbattle set badmaxweap1=0 where userid1=".$user['id']); + } + } + + $sql=mysql_query("select * from turnirbattle where badmaxweap1<>0 or badmaxweap<>0"); + while ($res=mysql_fetch_array($sql)){ + if ($res['badmaxweap1']!=0){ + if ((time()-$res['badmaxweap1'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$res['userid1']." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid1=".$res['userid1']); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($res['userid1']).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($res['userid']).'{[]}'); + } + } + if($res['badmaxweap']!=0){ + if ((time()-$res['badmaxweap'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$res['userid']." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid=".$res['userid']); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($res['userid']).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($res['userid1']).'{[]}'); + } + } + } + + if ($level!='') $level=' and level='.$level; + $sql=mysql_query("SELECT * FROM turnirbattle WHERE (userid=".$user['id']." or userid1=".$user['id'].") ".$level); + while ($res=mysql_fetch_array($sql)){ + $looseL1=mysql_fetch_row(mysql_query("select loose from turnamuser where iduser=".$res['userid1']." and idturnam=".$res['idtur'])); + $looseL=mysql_fetch_row(mysql_query("select loose from turnamuser where iduser=".$res['userid']." and idturnam=".$res['idtur'])); + if ($res['userid']==$user['id']) { + if($res['checkuser']==0){ + if($res['badmaxweap']!=0){ + if ((time()-$res['badmaxweap'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$res['userid']." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid=".$res['userid']); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($res['userid']).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($res['userid1']).'{[]}'); + } + else echo "
      противник ".nick3($res['userid1'])."(поражений-".$looseL1[0].")
      "; + } + else echo "
      противник ".nick3($res['userid1'])."(поражений-".$looseL1[0].")
      "; + } + else echo "Ожидаем противника"; + } + + if ($res['userid1']==$user['id']){ + if ($res['checkuser2']==0){ + if($res['badmaxweap1']!=0){ + if ((time()-$res['badmaxweap1'])>120){ + mysql_query("update turnamuser set loose=2, place=".time()." where iduser=".$res['userid1']." and idturnam=".$res['idtur']); + mysql_query("delete from turnirbattle where userid1=".$res['userid1']); + addchp ('Внимание!Вы выбыли из турнира
      ','{[]}'.nick7 ($res['userid1']).'{[]}'); + addchp ('Внимание!Ваш противник отказался от боя. Техническая победа.
      ','{[]}'.nick7 ($res['userid']).'{[]}'); + } + else echo "
      противник ".nick3($res['userid'])."(поражений-".$looseL[0].")
      "; + } + else echo "
      противник ".nick3($res['userid'])."(поражений-".$looseL[0].")
      "; + } + else echo "Ожидаем противника"; + } + } + } + + function CreateTournament($title){ + //Вычисляем следующую пятницу + $dateTime=''; + if (date("w", mktime(0, 0, 0, date('n'), date('j'), date('Y')))==5 && date("H")>17){ + $nextDay=date('j')+1; + $DayofMonth=date('j'); + if ($nextDay>date('t')) { + $nextDay=1; + $DayofMonth=date("t",mktime(0, 0, 0, date('n')+1, 1, date('Y')));//даже если date('n')+1 = 13 mktime переведет на 01.01.следующий год + } + } + else{ + $nextDay=date('j'); + $DayofMonth=date('t'); + } + + for ($j=$nextDay;$j<=$DayofMonth;$j++){ + //узнаем день недели + $DayofWeek=date("w", mktime(0, 0, 0, date('n'), $j, date('Y'))); + if ($DayofWeek==5){ + $dateTime=mktime(17, 0, 0, date('n'), $j, date('Y')); + break; + } + } + //если пятниц в этом месяце не осталось + if ($dateTime==''){ + if (date("n")+1==13){ + $Month=1; + $Year=date("Y")+1; + } + else { + $Month=date('n')+1; + $Year=date("Y"); + } + + for ($j=1;$j<=date('t',mktime(0, 0, 0, $Month, 1, $Year));$j++){ + //узнаем день недели + $DayofWeek=date("w", mktime(0, 0, 0, $Month, $j, $Year)); + if ($DayofWeek==5){ + $dateTime=mktime(17, 0, 0, $Month, $j, $Year); + break; + } + } + } + + //Создаем турниры. + for ($i=1;$i<$this->MaxUserLevel;$i++) + if (!mysql_query("insert into turnament(title,level,datetime) values ('".$title."',".$i.",'".$dateTime."')")){ +//!!!!!!!!!!!!!!!!!!! failed to open stream: Permission denied in /www/capitalcity.oldbk.com/classturnir.php on line 57 + $f=fopen('/tmp/memcache/logtur/error.log','w'); + fwrite($f, "insert into turnament(title,level,datetime) values ('".$title."',".$i.",'".$dateTime."')\n"); + fclose($f); + } + } + + function showAllTurnament(){ + global $user; + $sql=mysql_query("select * from turnament where old=0"); + $dateD=mysql_fetch_row(mysql_query("select datetime from turnament where old=0 limit 1")); + if (mysql_num_rows($sql)<1) echo("На данный момент новых чемпионатов нет"); + if ($user['level']>0 && mktime()<$dateD[0]) + echo "
      "; + echo " + + + + + "; + if ($user['level']>0 && mktime()<$dateD[0]) + echo ""; + echo ""; + while ($res=mysql_fetch_array($sql)){ + if ($user['level']==$res['level']) + $dellzay=mysql_fetch_row(mysql_query("select id from turnamuser where iduser=".$user['id']." and idturnam=".$res['id'])); + echo " + + + + "; + if ($user['level']==$res['level'] && mktime()<$dateD[0]){ + if ($dellzay[0]=='') + echo ""; + else + echo ""; + } + echo ""; + } + echo "
      Название турнираВремя проведенияКол-во учасниковУровеньРегистрация
      + ".$res['title']." + + ".date("d.m.Y H:i",$res['datetime'])." + + ".$res['kolvo']." + + ".$res['level']." + + + + + + +
      "; + if ($user['level']>0 && mktime()<$dateD[0]) + echo "
      "; + } +} +?> \ No newline at end of file diff --git a/comission.php b/comission.php new file mode 100644 index 0000000..d4c2abb --- /dev/null +++ b/comission.php @@ -0,0 +1,391 @@ +0) && (is_numeric($_GET['n']) && $_GET['n']>0)) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `dressed`=0 AND `id` = '{$_GET['n']}' AND `owner` = '{$_SESSION['uid']}' LIMIT 1;")); + if($dress['id']) { + mysql_query("UPDATE `inventory` SET `setsale` = '".$_GET['kredit']."' WHERE `id` = '{$_GET['n']}' AND `owner` = '{$_SESSION['uid']}' LIMIT 1;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" сдал предмет: \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] в комиссионку за ".$_GET['kredit']." кр. ',1,'".time()."');"); + echo "Вы сдали в магазин \"{$dress['name']}\" за {$_GET['kredit']} кр."; + } + } + else { + echo "Не надо так делать"; + } + } + + if ($_GET['back']) { + if ($user['money'] >= 1) { + if (is_numeric($_GET['back']) && $_GET['back']>0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `dressed`=0 AND `id` = '{$_GET['back']}' AND `owner` = '{$_SESSION['uid']}' AND `setsale` > '0' LIMIT 1;")); + if($dress['id']) { + mysql_query("UPDATE `users` set `money` = `money`-'1' WHERE id = {$_SESSION['uid']}"); + mysql_query("UPDATE `inventory` SET `setsale` = '0' WHERE `id` = '{$_GET['back']}' AND `owner` = '{$_SESSION['uid']}' LIMIT 1;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" забрал предмет: \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] из комиссионки ',1,'".time()."');"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" заплатил 1 кр за хранение предмета: \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] в комиссионке ',1,'".time()."');"); + $user['money']=$user['money']-1; + + echo "Вы забрали из магазина \"".$dress['name']."\" за 1 кр."; + } + else { + echo "Произошла ошибка. Вещь не найдена в магазине!"; + } + } + else { + echo "Не надо так делать"; + } + } + else { + echo "У вас недостаточно денег на уплату комиссии."; + } + } + + + if (($_GET['set'] OR $_POST['set'])) { + if ($_GET['set']) { $set = $_GET['set']; } + if ($_POST['set']) { $set = $_POST['set']; } + if (!$_POST['count'] || !is_numeric($_POST['count']) || $_POST['count']<=0) { $_POST['count'] =1; } + if (is_numeric($set) && $set>0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `dressed`=0 AND `id` = '{$set}' and `owner`!='".$user['id']."' AND `setsale` > '0' LIMIT 1;")); + $userfrom = mysql_fetch_array(mysql_query("SELECT `login`,`id` FROM `users` WHERE `id` = '".$dress['owner']."' LIMIT 1;")); + if ($userfrom['id'] && $dress['id']) { + if (($dress['massa']+$d[0]) > (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + } + elseif ($user['money'] >= $dress['setsale']) { + if(mysql_query("UPDATE `inventory` SET `owner` = '{$user['id']}', `setsale` = 0 WHERE `id` = '{$set}' AND `setsale` > '0' LIMIT 1;")) + { + $good = 1; + } + else { + $good = 0; + } + + if ($good) { + //mysql_query("UPDATE `shop` SET `count`=`count`-{$_POST['count']} WHERE `id` = '{$set}' LIMIT 1;"); + echo "Вы купили \"".$dress['name']."\"."; + $moneyto=round($dress['setsale']*0.90,2); + $komiss=round($dress['setsale']*0.10,2); + mysql_query("UPDATE `users` set `money` = `money`- '".$dress['setsale']."' WHERE id = {$_SESSION['uid']}"); + mysql_query("UPDATE `users` set `money` = `money`+ '".$moneyto."' WHERE id = {$userfrom['id']}"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] от \"".$userfrom['login']."\" за ".$dress['setsale']." кр. в комиссионке ',5,'".time()."');"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$userfrom['id']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] от \"".$userfrom['login']."\" за ".$dress['setsale']." кр. в комиссионке ',5,'".time()."');"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] за ".$dress['setsale']." кр. в комиссионке ',1,'".time()."');"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$userfrom['id']}','\"".$userfrom['login']."\" получил ".$moneyto." кр. за продажу товара: \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] через комиссионку ',1,'".time()."');"); + $user['money']=$user['money']-$dress['setsale']; + $us = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = '{$userfrom['id']}' LIMIT 1;")); + if($us[0]){ + addchp ('Внимание! Успешно продан предмет "'.$dress['name'].'" за '.$dress['setsale'].' кр. Комиссия составила '.$komiss.' кр. Вам перечислено от комиссионного магазина '.$moneyto.' кр. ','{[]}'.$userfrom['login'].'{[]}'); + } else { + // если в офе + mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) values ('".$userfrom['id']."','','".'Внимание! Успешно продан предмет "'.$dress['name'].'" за '.$dress['setsale'].' кр. Комиссия составила '.$komiss.' кр. Вам перечислено от комиссионного магазина '.$moneyto.' кр. '."');"); + } + } + } + else { + echo "Недостаточно денег или нет вещей в наличии."; + } + } + else { + echo "Вещь не найдена в магазине"; + } + } + else { + echo "Не надо так делать"; + } + } + + if ($_GET['unsale'] && $_GET['kredit'] && $_GET['id']) { + if ((is_numeric($_GET['kredit']) && $_GET['kredit']>0) && (is_numeric($_GET['id']) && $_GET['id']>0)) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `dressed`=0 AND `id` = '{$_GET['id']}' AND `owner` = '{$_SESSION['uid']}' AND `setsale` > 0 LIMIT 1;")); + if($dress['id']) { + if($user['money'] >= 0.1) { + mysql_query("UPDATE `inventory` SET `setsale` = '".$_GET['kredit']."' WHERE `id` = '{$_GET['id']}' AND `owner` = '{$_SESSION['uid']}' LIMIT 1;"); + + mysql_query("UPDATE `users` set `money` = `money`- '0.1' WHERE id = {$_SESSION['uid']}"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" заплатил 0.1 кр за смену цены на предмет \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] в комиссионке ',1,'".time()."');"); + $user['money']=$user['money']-0.1; + echo "Вы изменили цену \"{$dress['name']}\" на {$_GET['kredit']} кр."; + } + else { + echo "У вас недостаточно денег на выполнение операции."; + } + } + else { + echo "Предмет не найден."; + } + } + else { + echo "Не надо так делать"; + } + } + +?> + + + + + + + + + + + + + + + + +
      + + + + + + + + +
      Отдел "" + +
      + + 0 ORDER by `setsale` ASC"); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + $row['cost'] = $row['setsale']; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + +
      Ваш товар + "; + showitem ($row); + echo ""; + } +} +elseif ($_REQUEST['sale']) { + echo ""; + $data = mysql_query("SELECT * FROM `inventory` WHERE `setsale` = 0 AND `owner` = '{$_SESSION['uid']}' AND `dressed` = 0 AND `present` = '' ORDER by `update` DESC; "); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } +} elseif ($_REQUEST['unsale']) { + $data = mysql_query("SELECT * FROM `inventory` WHERE `setsale` > 0 AND `owner` = '{$_SESSION['uid']}' AND `dressed` = 0 ORDER by `update` DESC; "); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } +} else +{ + $data = mysql_query("SELECT DISTINCT `img`, `name`, `nalign`,`massa` FROM `inventory` WHERE `dressed`=0 AND `setsale` > 0 AND `present` = '' AND `otdel` = '".$_GET['otdel']."' GROUP BY `img` ORDER by `cost` ASC"); + while($row = mysql_fetch_array($data)) { + $item_name1=str_replace("+1","",$row[1]); + $item_name1=str_replace("+2","",$item_name1); + $item_name1=str_replace("+3","",$item_name1); + $item_name1=str_replace("+4","",$item_name1); + $item_name1=str_replace("+5","",$item_name1); + $item_name=str_replace(" (мф)","",$item_name1); + $item = mysql_fetch_array(mysql_query("SELECT count(`id`), min(duration), min(maxdur), max(duration), max(maxdur), min(setsale), max(setsale) FROM `inventory` WHERE `dressed`=0 AND `setsale` > 0 AND `present` = '' AND name LIKE '".$item_name."%';")); + //$row['count']=1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + ?> + > + + + + +
      "; + if($row['owner'] != $user['id']){ + ?> +
      купить
      Комиссия за услуги магазина составляет 10% от цены, по которой вы предлагаете предмет.
      "; + ?> +
      cдать в магазин +
      "; + ?> +
      забрать за 1 кр. +
      сменить цену
      за 0.1 кр.
      +

      подробнее
      + (Масса: )
      + Цена: - кр. (количество: )
      + + Долговечность: -/-
      + +
      +
      + +
      + +
      +
      + + + +
      + +

      +
      Масса всех ваших вещей: /
      + У вас в наличии: кр.
      +
      + +
      + + + diff --git a/config.php b/config.php new file mode 100644 index 0000000..5f237bd --- /dev/null +++ b/config.php @@ -0,0 +1,43 @@ + array('align' => array(2.99), 'id' => array(10022)), 'g_nologin' => array('align' => array(2.99), 'id' => array(10022))); + +//$mysql = mysqli_connect('192.168.20.100', 'combats_full', 'JuUn1hWq4J'); +//mysqli_select_db('combats_game', $mysql); +//mysqli_query('SET NAMES utf8'); + +require_once('Database/Mysql.php'); +require_once('Database/Exception.php'); +require_once('Database/Statement.php'); +require_once('Database/db.php'); +//$db = \Krugozor\Database\Mysql\Mysql::create('192.168.20.100', 'combats_full', 'JuUn1hWq4J') +// ->setCharset('utf8') +// ->setDatabaseName('combats_game'); +//class db +//{ +// private static $_instance = null; +// +// private function __clone() {} +// private function __construct() {} +// /** +// * @return \Krugozor\Database\Mysql\Mysql +// */ +// +// public static function c() +// { +// if (!self::$_instance) +// { +// self::$_instance = \Krugozor\Database\Mysql\Mysql::create("192.168.20.100", "combats_full", "JuUn1hWq4J") +// // Выбор базы данных +// ->setDatabaseName("combats_game") +// // Выбор кодировки +// ->setCharset("utf8"); +// } +// return self::$_instance; +// } +//} + +?> diff --git a/confirmpassw.php b/confirmpassw.php new file mode 100644 index 0000000..3436be6 --- /dev/null +++ b/confirmpassw.php @@ -0,0 +1,28 @@ + + + + + + Востановление пароля + + +
      + query('SELECT * FROM `confirmpasswd` WHERE `login` = "?s" AND `passwd` = "?s" AND `date` = "?s" AND `active` = "?s"', $login, $passwd, $timev, 1); + if ($sql->getNumRows() == 0) die("Ссылка устарела!"); + $sql = $sql->fetch_assoc(); + db::c()->query('UPDATE `users` SET `pass` = "?s" WHERE `login` = "?s"', md5($passwd), $sql['login']); + db::c()->query('UPDATE `confirmpasswd` SET `active` = "?s" WHERE `login` = "?s" AND `passwd` = "?s" AND `date` = "?s" AND `active` = "?s"', 0, $login, $passwd, $timev, 1); + } else echo "Ссылка устарела."; + ?> + +
      + + \ No newline at end of file diff --git a/confpassbank.php b/confpassbank.php new file mode 100644 index 0000000..406c2f2 --- /dev/null +++ b/confpassbank.php @@ -0,0 +1,57 @@ + + + + + + + Востановление пароля + +
       
      +
      + + + + +
      +
      + browser."--"; + /*switch ($browsers->browser){ + case 'Chrome' : + $_GET['login']=iconv('utf-8', 'cp1251', $_GET['login']); + break; + case 'Safari' : + $_GET['login']=iconv('utf-8', 'cp1251', $_GET['login']); + break; + case 'Default Browser' : //Opera10 + $_GET['login']=iconv('utf-8', 'cp1251', $_GET['login']); + break; + case 'Firefox' : + $_GET['login']=$_GET['login']; + break; + }*/ + + $realtime=mktime(date(H), date(i), date(s), date("m") , date("d"), date("Y")); + + $_GET['login']=strtolower($_GET['login']); + if ($_GET['newpass']!='' && $_GET['login']!='' && $_GET['timev']!='' && $realtime<=$_GET['timev']) { + include("config.php"); + $sql=mysql_query("select * from confirmpasswd where login='bbb".$_GET['login']."bbb' and passwd='".$_GET['newpass']."' and date='".$_GET['timev']."' and active=1") or die("Ошибка обработки запроса."); + if (mysql_num_rows($sql)==0 or mysql_num_rows($sql)=='') die("

      Ссылка устарела!

      "); + $sql=mysql_fetch_array($sql,MYSQL_ASSOC) or die("Ошибка обработки запроса!!"); + mysql_query("update bank set pass='".md5($_GET['newpass'])."' where id='".$_GET['login']."'") or die("Ошибка обработки запроса!"); + echo "
      Пароль изменен. Не забывайте пароль.
      Для входа в игру перейдите по сылке http://old-dark.ru/
      "; + @mysql_query("update confirmpasswd set active=0 where login='bbb".$_GET['login']."bbb' and passwd='".$_GET['newpass']."' and date='".$_GET['timev']."' and active=1"); + } + else echo "

      Ссылка устарела.

      "; + ?> +
      + +
      +
      +
      +

      +
    + + \ No newline at end of file diff --git a/cron.php b/cron.php new file mode 100644 index 0000000..09f799b --- /dev/null +++ b/cron.php @@ -0,0 +1,534 @@ + 3) { + return 'Ай-ай-ай!'; + } + } + + if(mysql_query("DELETE FROM `zayavka` WHERE `id` = {$zay} AND (`team1` LIKE '{$id};%' OR `team2` LIKE '{$id};%') LIMIT 1")) { + if(count($z[$zay]['team1']) > 0) { + foreach($z[$zay]['team1'] as $k => $v) { + mysql_query("UPDATE `users` SET `zayavka` = 0 WHERE `id` = {$v}"); + } + } + + if(count($z[$zay]['team2']) > 0) { + foreach($z[$zay]['team2'] as $k => $v) { + mysql_query("UPDATE `users` SET `zayavka` = 0 WHERE `id` = {$v}"); + } + } + } +} + +function fteam($team) { + $team = explode(";", $team); + unset($team[count($team)-1]); + return $team; +} + +function getlist($razdel = 1, $level = null, $id = null ) { + $fict = mysql_query("SELECT * FROM `zayavka` WHERE ".(($level != null)? " ((`t1min` <= '{$level}' OR `t1min` = '99') AND (`t1max` >= '{$level}' OR `t1max` = '99') ".(($razdel == 4)?"AND (`t2min` <= '{$level}' OR `t2min` = '99') AND (`t2max` >= '{$level}' OR `t2max` = '99')":"").") AND " : "")." `level` = {$razdel} ".(($id != null)? " AND `id` = {$id} " : "")." ORDER BY `podan` DESC"); + while($row = mysql_fetch_array($fict)) { + if(($row['start']+300) < time()) { + if(mysql_query("DELETE FROM `zayavka` WHERE `id` = '{$row['id']}' LIMIT 1")) { + $team1 = fteam($row['team1']); + foreach($team1 as $k => $v) { + mysql_query("UPDATE `users` SET `zayavka` = '0' WHERE `id` = {$v}"); + } + $team2 = fteam($row['team2']); + foreach($z[$zay]['team2'] as $k => $v) { + mysql_query("UPDATE `users` SET `zayavka` = '0' WHERE `id` = {$v}"); + } + } + } + $zay[$row['id']] = array("team1" => fteam($row['team1']), "team2" => fteam($row['team2']), "coment" => $row['coment'], "type" => $row['type'], "timeout" => $row['timeout'], "start" => $row['start'], "t1min" => $row['t1min'], "t1max" => $row['t1max'], "t2min" => $row['t2min'], "t2max" => $row['t2max'], "t1c" => $row['t1c'], "t2c" => $row['t2c'], "podan" => $row['podan'], "id" => $row['id'], "level" => $row['level'], "blood" => $row['blood'], "bots" => $row['bots']); + } + return $zay; +} + +function startbattle($id, $zay, $r) { + $z = getlist($r, null, $zay); + if($id == 'CHAOS') { $id = $z[$zay]['team1'][0]; } + delzayavka($id, $zay, $r); + $z = $z[$zay]; + $count_users = count($z['team1']); + + $bot = 0; + if($z['bots'] > 0 && $count_users > 0) { + $bots_raw = array(7 => array(10962, 10964, 10965), 8 => array(10962, 10964, 10965), 13 => array(10962, 10964, 10965)); + $i = 0; + while($i <= count($bots_raw[$z['bots']])) { + $bot_id = $bots_raw[$z['bots']][$i]; + $bot = createbot($bot_id, ''); + $z['team1'][] = $bot['id']; + $i++; + $count_users++; + } + } + + if($z['type'] == 4 || $z['type'] == 5) { + foreach($z['team1'] as $k => $v) { + undressall($v); + } + + foreach($z['team2'] as $k => $v) { + undressall($v); + } + } + + if($z['type'] == 3 || $z['type'] == 5) { + if($count_users < 4) { + mysql_query("UPDATE `users` SET `zayavka` = '0' WHERE `zayavka` = '".$zay."'"); + foreach($z['team1'] as $k => $v) { + if($v < _BOTSEPARATOR_) { + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=6&user='.$v); + } + } + mysql_query("UPDATE `variables` SET `value` = '{$count_users}}' WHERE `var` = 'haos_match' LIMIT 1"); + mysql_query("DELETE FROM `zayavka` WHERE `id` = '".$zay."' LIMIT 1"); + } + + $all = count($z['team1'])-1; + $power1 = 0; $power2 = 0; + + for($i = 0; $i <= $all; $i++) { + if($z['team1'][$i] < _BOTSEPARATOR_) { + $gamer = mysql_fetch_array(mysql_query("SELECT (`level`*50)+`sila`+`lovk`+`inta`+`vinos`+`intel`+`stats`+IFNULL((SELECT SUM(`cost`) FROM `inventory` WHERE `owner` = `users`.`id` AND `dressed` = 1), 0) FROM `users` WHERE `id` = '".$z['team1'][$i]."' LIMIT 1")); + } else { + $bt = mysql_fetch_array(mysql_query('SELECT `id`, `prototype` FROM `bots` WHERE `id` = "'.$z['team1'][$i].'"')); + $gamer = mysql_fetch_array(mysql_query("SELECT (`level`*50)+`sila`+`lovk`+`inta`+`vinos`+`intel`+`stats`+IFNULL((SELECT SUM(`cost`) FROM `inventory` WHERE `owner` = `users`.`id` AND `dressed` = 1), 0) FROM `users` WHERE `id` = '".$bt['prototype']."' LIMIT 1")); + } + + $cost[] = array($z['team1'][$i], $gamer[0]); + } + + $z['team1'] = null; + $z['team2'] = null; + + $flag = true; + while($flag) { + $flag = false; + for($ii = 0; $ii <= $all-1; $ii++) { + if($cost[$ii][1] < $cost[$ii+1][1]) { + $ctr = $cost[$ii+1]; + $cost[$ii+1] = $cost[$ii]; + $cost[$ii] = $ctr; + $flag = true; + } + } + } + + while(count($cost) > 0) { + if($power1 <= $power2) { + $tmp = array_shift($cost); + $power1 += $tmp[1]; + $z['team1'][] = $tmp[0]; + } else { + $tmp = array_shift($cost); + $power2 += $tmp[1]; + $z['team2'][] = $tmp[0]; + } + } + } + + $teams = array(); + + foreach($z['team1'] as $k => $v) { + foreach($z['team2'] as $kk => $vv) { + $teams[$v][$vv] = array(0, 0, time()); + } + } + + foreach($z['team2'] as $k => $v) { + foreach($z['team1'] as $kk => $vv) { + $teams[$v][$vv] = array(0, 0, time()); + } + } + + if(count($z['team2']) == 0) { + mysql_query("UPDATE `users` SET `zayavka` = 0 WHERE `zayavka` = '".$zay."'"); + foreach($z['team1'] as $k => $v) { + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=6&user='.$v); + } + mysql_query("DELETE FROM `zayavka` WHERE `id` = '".$zay."' LIMIT 1"); + die(); + } + + $arr = array(3, 4, 5, 7, 10); + + if(in_array($z['timeout'], $arr)) { + + } else { + $z['timeout'] = 3; + } + + if($z['type'] == 1 || $z['type'] == 4) { + $rs = ', `fiz`'; $rss = ', 1'; + } else { + $rs = ''; $rss = ''; + } + + mysql_query("INSERT INTO `battle` (`coment`, `teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`$rs, `bots`) VALUES ('{$z['coment']}', '".serialize($teams)."', '{$z['timeout']}', '{$z['type']}', '0', '".implode(";", $z['team1'])."', '".implode(";", $z['team2'])."', '".time()."', '".time()."', '".$z['blood']."'$rss, '".$z['bots']."')"); + $id = mysql_insert_id(); + $rr = ""; + + foreach($z['team1'] as $k => $v) { + if($k != 0) { $rr .= ", "; } + $rr .= nick3($v); + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=7&user='.$v); + } + + $rr .= " и "; + + foreach($z['team2'] as $k => $v) { + if($k != 0) { $rr .= ", "; } + $rr .= nick3($v); + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=7&user='.$v); + } + + $rr .= ""; + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + foreach($z['team1'] as $k => $v) { + if($v < _BOTSEPARATOR_) { + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id` = {$v}"); + } else { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$v}"); + } + } + + foreach($z['team2'] as $k => $v) { + if($v < _BOTSEPARATOR_) { + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id` = {$v}"); + } else { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$v}"); + } + } +} +########## + +########Start Заявки для ботов в хаоты######## +$battle_bots = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `win` = 3 AND `bots` > 0 ORDER BY `id` DESC LIMIT 1')); +$zay_bots = mysql_fetch_array(mysql_query('SELECT `id` FROM `zayavka` WHERE `bots` > 0 ORDER BY `id` DESC LIMIT 1')); + +if(!isset($battle_bots['id']) && !isset($zay_bots['id'])) { + $haos_match = array(); + $hm_ok = array(7 => 1); + foreach($hm_ok as $lvl => $flag) { + if($flag == 1) { + mysql_query("INSERT INTO `zayavka` (`start`, `timeout`, `t1c`, `t2c`, `type`, `level`, `coment`, `team1`, `stavka`, `t1min`, `t2min`, `t1max`, `t2max`, `podan`, `blood`, `bots`) VALUES ('".(time()+3*60)."', '3', '99', '99', '3', '5', 'Бой с силами Хаоса {$lvl} уровня.', '', '', '{$lvl}', '{$lvl}', '{$lvl}', '{$lvl}', '".date("H:i")."', '0', '{$lvl}')"); + $haos_match[$lvl] = mysql_insert_id(); + } + } + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=1'); +} +########End Заявки для ботов в хаоты######## + + +###### +$te_zay = mysql_query('SELECT `id`, `start` FROM `zayavka`'); +while($zs = mysql_fetch_array($te_zay)) { + if(($zs['start']+180) < time()) { + mysql_query('UPDATE `users` SET `zayavka` = "0" WHERE `zayavka` = "'.$zs['id'].'"'); + mysql_query('DELETE FROM `zayavka` WHERE `id` = "'.$zs['id'].'"'); + } +} +###### + +if(date("H-i") == "03-00") { + $del_tm = (time()-60*60*24*7); + $us_lim = mysql_fetch_array(mysql_query("SELECT `id` FROM `battle` WHERE `to1` < '{$del_tm}' ORDER BY `to1` DESC LIMIT 1")); + $us_lim = $us_lim['id']; + mysql_query("DELETE FROM `battle` WHERE `id` < '{$us_lim}'"); + $del_tm = (time()-60*60*24*60); + mysql_query("DELETE FROM `delo` WHERE `date` < '".$del_tm."'"); + mysql_query("OPTIMIZE `battle`, `delo`"); +} + +if(date("H-i") == "00-00") { + $perses = mysql_query('SELECT `id`, `vip`, `vip_time` FROM `users` WHERE `vip` > 0 AND `vip_time` > 0'); + while($unvip = mysql_fetch_array($perses)) { + if($unvip['vip'] > 0) { + if($unvip['vip_time'] <= time()) { + remove_vip($unvip['id']); + } + } + } +} + +$sp = mysql_query('SELECT `id`, `vip`, `vip_time` FROM `users` WHERE `vip` > 0 AND `vip_time` > "'.time().'"'); +while($pl = mysql_fetch_array($sp)) { + upd_vip($pl['id'], $pl['vip']); +} + +mysql_query('UPDATE `actions` SET `vals` = "end" WHERE `vars` LIKE "start_quest%" AND `vals` = "go" AND `val` <= "'.time().'"'); + +if(date("H-i") == "06-00") { + if(date("d") == "01") { + mysql_query("UPDATE `variables` SET `value` = '{$tm}' WHERE `var` = 'ref_month' LIMIT 1"); + mysql_query("UPDATE `variables` SET `value` = '0' WHERE `var` = 'ref_m_id' LIMIT 1"); + } + if(date("N") == "7") { + mysql_query("UPDATE `variables` SET `value` = '{$tm}' WHERE `var` = 'ref_week' LIMIT 1"); + mysql_query("UPDATE `variables` SET `value` = '0' WHERE `var` = 'ref_w_id' LIMIT 1"); + } +} + +$st_ar = mysql_fetch_array(mysql_query('SELECT `value` FROM `variables` WHERE `var` = "arena_of_gods" LIMIT 1')); +if($st_ar['value'] <= time()) { + $dark = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `level`, `hp` FROM `users` WHERE `id` = 10023 LIMIT 1')); + $light = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `level`, `hp` FROM `users` WHERE `id` = 10024 LIMIT 1')); + ############## + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`, `owner`) VALUES ('".$light['login']."', '".$light['id']."', '', '".$light['hp']."', '1')"); + $light['id_at'] = mysql_insert_id(); + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) VALUES ('".$dark['login']."', '".$dark['id']."', '', '".$dark['hp']."')"); + $dark['id_at'] = mysql_insert_id(); + ############## + $teams = array(); + $teams[$dark['id_at']][$light['id_at']] = array(0, 0, time()); + $teams[$light['id_at']][$dark['id_at']] = array(0, 0, time()); + mysql_query("INSERT INTO `battle` (`id`, `coment`, `teams`, `time_m`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`, `aren_of`) VALUES (NULL, '', '".serialize($teams)."', '".time()."', '3', '1', '0', '".$dark['id_at']."', '".$light['id_at']."', '".time()."', '".time()."', '1', '1')"); + $id = mysql_insert_id(); + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE (`id` = {$dark['id_at']} OR `id` = {$light['id_at']}) LIMIT 2"); + $rr = "".nick3($dark['id_at'])." и ".nick3($light['id_at']).""; + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE (`id` = {$dark['id']} OR `id` = {$light['id']}) LIMIT 2"); + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=2'); + mysql_query('UPDATE `variables` SET `value` = "'.(time()+60*60*24*7).'" WHERE `var` = "arena_of_gods" LIMIT 1'); +} + +$st_ar['value'] -= 3600; +if(date("z-H-i") == date("z-H-i", $st_ar['value'])) { + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=3'); +} + +$komp_users = mysql_query("SELECT * FROM `users`, `online` WHERE `users`.`id` = `online`.`id` AND `online`.`date` >= ".(time()-60).""); +while($ku = mysql_fetch_array($komp_users)) { + $bns = 0; + $efs_bns = mysql_fetch_array(mysql_query('SELECT SUM(`hp`) AS `hps` FROM `effects` WHERE `owner` = "'.$ku['id'].'"')); + if($efs_bns['hps'] > 0) { + $bns = $efs_bns['hps']; + } + mysql_query("UPDATE `users` SET `maxhp` = (IFNULL((SELECT SUM(`ghp`) FROM `inventory` WHERE `dressed` = 1 AND `owner` = `users`.`id`),0) + (`users`.`vinos`*6)+$bns) WHERE `id` = '{$ku['id']}'"); +} + +mysql_query("UPDATE `users` SET `hp` = 0 WHERE `hp` < 0"); +mysql_query("UPDATE `users` SET `mana` = 0 WHERE `mana` < 0"); + +$its = mysql_query("SELECT `id`, `owner`, `name` FROM `inventory` WHERE `dressed` = 0 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."'))"); +while($it = mysql_fetch_array($its)) { + mysql_query("DELETE FROM `inventory` WHERE `id` = '".$it['id']."' LIMIT 1;"); + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '".$it['owner']."' '\"".$it['name']."\" разрушился id:(cap".$it['id'].").', 1, '".time()."')"); +} + +$effs = mysql_query("SELECT * FROM `effects` WHERE `time` <= ".time()." AND `sleep` = 0"); +mysql_query("DELETE FROM `effects` WHERE `time` <= ".time()." AND `sleep` = 0"); +while($eff = mysql_fetch_array($effs)) { + switch($eff['type']) { + case 11: + mysql_query("UPDATE `users` SET `sila` = `sila`+'".$eff['sila']."', `lovk` = `lovk`+'".$eff['lovk']."', `inta` = `inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1"); + break; + case 12: + mysql_query("UPDATE `users` SET `sila` = `sila`+'".$eff['sila']."', `lovk` = `lovk`+'".$eff['lovk']."', `inta` = `inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1"); + break; + case 13: + mysql_query("UPDATE `users` SET `sila` = `sila`+'".$eff['sila']."', `lovk` = `lovk`+'".$eff['lovk']."', `inta` = `inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1"); + break; + case 14: + mysql_query("UPDATE `users` SET `sila` = `sila`+'".$eff['sila']."', `lovk` = `lovk`+'".$eff['lovk']."', `inta` = `inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1"); + break; + case 21: + mysql_query("UPDATE `users` SET `sila` = `sila`-'".$eff['sila']."', `lovk` = `lovk`-'".$eff['lovk']."', `inta` = `inta`-'".$eff['inta']."', `vinos` = `vinos`-'".$eff['vinos']."' WHERE `id` = '".$eff['owner']."' LIMIT 1"); + break; + case 4: + mysql_query("UPDATE `users` SET `align` = '0' WHERE `id` = '".$eff['owner']."' LIMIT 1"); + break; + case 7: + mysql_query("UPDATE `users` SET `maxhp` = (`maxhp`-200), `hp` = `maxhp` WHERE `id` = '".$eff['owner']."' LIMIT 1"); + break; + case 1022: + mysql_query("UPDATE `users` SET `invis` = 0 WHERE `id` = '".$eff['owner']."' LIMIT 1"); + break; + } +} + +$hostel = mysql_query('SELECT `id`, `sleep` FROM `users` WHERE `sleep` != 0'); +while($pl = mysql_fetch_array($hostel)) { + if($pl['sleep'] <= time()) { + mysql_query('UPDATE `users` SET `sleep` = 0 WHERE `id` = "'.$pl['id'].'"'); + mysql_query('UPDATE `hostel` SET `sleeptime` = "'.(time()+60*60*6).'" WHERE `uid` = "'.$pl['id'].'"'); + $ef = mysql_query('SELECT `id`, `time`, `sleep` FROM `effects` WHERE `owner` = "'.$pl['id'].'" AND `sleep` != 0'); + while($ps = mysql_fetch_array($ef)) { + $tm = (time()+$ps['sleep']); + mysql_query('UPDATE `effects` SET `time` = "'.$tm.'", `sleep` = "0" WHERE `id` = "'.$ps['id'].'" AND `owner` = "'.$pl['id'].'"'); + } + } +} + +mysql_query('LOCK TABLES `inventory` WRITE, `variables` WRITE, `deztow_turnir` WRITE, `deztow_stavka` WRITE, `effects` WRITE, `deztow_charstams` WRITE, `deztow_gamers_inv` WRITE, `deztow_items` WRITE, `deztow_trap` WRITE, `online` WRITE'); +$turnirstart = mysql_fetch_array(mysql_query("SELECT `value`, `bs_art` FROM `variables` WHERE `var` = 'startbs' LIMIT 1")); +$turnirstart['value'] -= 900; + +if(date("z-H-i") == date("z-H-i", $turnirstart['value'])) + if($turnirstart['bs_art'] == 0) { + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=4'); + } elseif($turnirstart['bs_art'] == 1) { + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=4'); + } + + $tr = mysql_fetch_array(mysql_query("SELECT `id`, `type`, `winner`, `coin`, `start_time`, `log`, `endtime`, `active`, `winnerlog`, `art` FROM `deztow_turnir` WHERE `active` = TRUE LIMIT 1")); + $turnirstart = mysql_fetch_array(mysql_query("SELECT `value`, `bs_art` FROM `variables` WHERE `var` = 'startbs' LIMIT 1")); + $dd = mysql_fetch_array(mysql_query("SELECT COUNT(`kredit`) FROM `deztow_stavka` WHERE `owner` != 1254")); + + if($dd[0] < 2 && $turnirstart[0] <= time()) { + if($turnirstart['bs_art'] == 1) { + $bs_art = 0; + } elseif($turnirstart['bs_art'] == 0) { + $bs_art = 0; + } + mysql_query('UPDATE `variables` SET `value` = "'.(time()+60*60).'", `bs_art` = "'.$bs_art.'" WHERE `var` = "startbs" LIMIT 1'); + mysql_query("INSERT INTO `deztow_stavka` (`owner`, `kredit`, `time`) VALUES ('1254', '30', '".time()."')"); + file_get_contents('http://capitalcity.old-dark.ru/chats.php?id=5'); + } + + if(!$tr && $turnirstart[0] <= time() && $dd[0] >= 2) { + $minroom = 501; + $maxroom = 560; + + $data = mysql_query("SELECT `dt`.`owner` FROM `deztow_stavka` AS `dt`, `online` AS `o` WHERE (SELECT COUNT(`id`) FROM `effects` WHERE `effects`.`owner` = `dt`.`owner` AND (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14 OR `type` = 2 OR `type` = 3 OR `type` = 4 OR `type` = 202 OR `type` = 201 OR `type` = 21)) = 0 AND `o`.`id` = `dt`.`owner` AND `room` = 31 AND `o`.`date` >= '".(time()-300)."' ORDER BY `kredit` DESC, `dt`.`time` ASC LIMIT 50"); + $stavka = mysql_fetch_array(mysql_query("SELECT SUM(`kredit`)*0.7 FROM `deztow_stavka`")); + + while($row = mysql_fetch_array($data)) { + enter_bs($row[0]); + + $tec = mysql_fetch_array(mysql_query("SELECT `id`, `owner`, `name`, `sila`, `lovk`, `inta`, `vinos`, `intel`, `mudra`, `def` FROM `deztow_charstams` WHERE `owner` = '{$row['owner']}' AND `def` = '1' LIMIT 1")); + $usk = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '".$row[0]."' LIMIT 1")); + + if(isset($tec['id'])) { + mysql_query("UPDATE `users` SET `sila` = '".$tec['sila']."', `lovk` = '".$tec['lovk']."', `inta` = '".$tec['inta']."', `vinos` = '".$tec['vinos']."', `intel` = '".$tec['intel']."', `stats` = 0, `noj` = 0, `mec` = 0, `topor` = 0, `dubina` = 0, `mfire` = 0, `mwater` = 0, `mair` = 0, `mearth` = 0, `mlight` = 0, `mgray` = 0, `mdark` = 0, `master` = '8', `maxhp` = '".($tec['vinos']*6)."', `hp` = '".($tec['vinos']*6)."', `level` = 7, `nextup` = 999999999 WHERE `id` = '".$usk['id']."' LIMIT 1"); + } else { + mysql_query("UPDATE `users` SET `sila` = '3', `lovk` = '3', `inta` = '3', `vinos` = '10', `intel` = '0', `stats` = 64, `noj` = 0, `mec` = 0, `topor` = 0, `dubina` = 0, `mfire` = 0, `mwater` = 0, `mair` = 0, `mearth` = 0, `mlight` = 0, `mgray` = 0, `mdark` = 0, `master` = '8', `maxhp` = '60', `hp` = '60', `level` = 7, `nextup` = 999999999 WHERE `id` = '".$usk['id']."' LIMIT 1"); + } + + $rum = rand($minroom, $maxroom); + $urs[$row['owner']] = $rum; + $i++; + if($i > 1) { $lors .= ", "; } + $lors .= nick3($row['owner']); + } + + undressall(233); + undressall(234); + undressall(235); + + mysql_query("DELETE FROM `inventory` WHERE `owner` = 233"); + mysql_query("DELETE FROM `inventory` WHERE `owner` = 234"); + mysql_query("DELETE FROM `inventory` WHERE `owner` = 235"); + $rums = rand($minroom, $maxroom); + mysql_query("UPDATE `users` SET `in_tower` = 1, `chattime` = '999999999999', `room` = '".$rums."' WHERE `id` = '233' LIMIT 1"); + mysql_query("UPDATE `users` SET `in_tower` = 1, `chattime` = '999999999999', `room` = '".$rums."' WHERE `id` = '234' LIMIT 1"); + mysql_query("UPDATE `users` SET `in_tower` = 1, `chattime` = '999999999999', `room` = '".$rums."' WHERE `id` = '235' LIMIT 1"); + mysql_query("UPDATE `online` SET `room` = '".$rums."', `date` = '999999999999' WHERE `id` = '233' LIMIT 1"); + mysql_query("UPDATE `online` SET `room` = '".$rums."', `date` = '999999999999' WHERE `id` = '234' LIMIT 1"); + mysql_query("UPDATE `online` SET `room` = '".$rums."', `date` = '999999999999' WHERE `id` = '235' LIMIT 1"); + echo mysql_error(); + $i++; + $lors .= ", ".nick3(233); + $lors .= ", ".nick3(234); + $lors .= ", ".nick3(235); + $lors .= ltrim(",", $lors); + + mysql_query("TRUNCATE TABLE `deztow_items`"); + $shmots = array("1", "1", "92", "92", "93", "93", "19", "19", "20", "20", "20", "23", "23", "24", "14", "87", "87", "6", "6", "17", "17", "17", "17", "11", "11", "12", "12", "12", "28", "28", "43", "43", "36", "36", "36", "37", "37", "37", "38", "38", "38", "50", "50", "57", "52", "52", "51", "51", "48", "48", "47", "47", "49", "49", "59", "59", "60", "60", "61", "61", "63", "64", "64", "65", "65", "66", "66", "68", "68", "69", "69", "72", "72", "4", "5", "79", "79", "80", "76", "75", "75", "94", "94", "95", "95", "82", "91", "91", "34", "34", "86", "86", "86", "9", "9", "101", "101", "101", "101", "101", "97", "97", "97", "97", "100", "100", "100", "100", "171", "171", "171", "171", "103", "103", "103", "104", "105", "105", "106", "106", "107", "107", "108", "108", "109", "110", "111", "112", "112", "113", "113", "119", "364", "284", "284", "284", "284", "284", "285", "285", "285", "285", "286", "286", "286", "286"); + while($sh = array_shift($shmots)) { + $shopid = mysql_fetch_array(mysql_query("SELECT `id`, `name`, `img` FROM `shop` WHERE `id` = '".$sh."' LIMIT 1")); + if(isset($shopid['id'])) { + mysql_query("INSERT `deztow_items` (`iteam_id`, `name`, `img`, `room`) VALUES ('".$shopid['id']."', '".$shopid['name']."', '".$shopid['img']."', '".rand($minroom, $maxroom)."')"); + } + } + + $log = ''.date("d.m.y H:i").' Начало турнира. Участники : '.$lors.'
    '; + $end = (time() + 21600); + mysql_query("INSERT `deztow_turnir` (`type`, `winner`, `coin`, `start_time`, `log`, `endtime`, `active`) VALUES ('".rand(1, 7)."', '', '".$stavka[0]."', '".time()."', '".$log."', '".$end."', '1')"); + + foreach($urs as $row => $rum) { + mysql_query("UPDATE `users` SET `in_tower` = 1, `room` = '".$rum."' WHERE `id` = '".$row."'"); + mysql_query("UPDATE `online` SET `room` = '".$rum."' WHERE `id` = '".$row."' LIMIT 1"); + } + } + + $tur_data = mysql_fetch_array(mysql_query("SELECT `id`, `type`, `winner`, `coin`, `start_time`, `log`, `endtime`, `active`, `winnerlog`, `art` FROM `deztow_turnir` WHERE `active` = '1' LIMIT 1")); + if($tur_data['endtime'] < time() && $tur_data['id']) { + $list = mysql_query("SELECT * FROM `users` WHERE `in_tower` = 1"); + + while($u = mysql_fetch_array($list)) { + undressall($u['id']); + $rep = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '".$u['id']."' AND `bs` = 1"); + while($r = mysql_fetch_array($rep)) { + mysql_query("INSERT `deztow_items` (`iteam_id`, `name`, `img`, `room`) VALUES ('".$r['prototype']."', '".$r['name']."', '".$r['img']."', '".$u['room']."')"); + } + mysql_query("DELETE FROM `inventory` WHERE `owner` = '".$u['id']."' AND `bs` = 1"); + + $rep = mysql_query("SELECT `id_item`, `owner` FROM `deztow_gamers_inv` WHERE `owner` = '".$u['id']."'"); + while($r = mysql_fetch_array($rep)) { + mysql_query("UPDATE `inventory` SET `owner` = '".$u['id']."' WHERE `owner` = '0' AND `id` = '".$r['id_item']."'"); + } + + $tec = mysql_fetch_array(mysql_query("SELECT `id`, `owner`, `name`, `sila`, `lovk`, `inta`, `vinos`, `intel`, `maxhp`, `money`, `exp`, `mudra`, `stats`, `nextup`, `level`, `align`, `master`, `noj`, `mec`, `topor`, `dubina`, `mlight`, `mgray`, `mdark` FROM `deztow_realchars` WHERE `owner` = '{$u['id']}' LIMIT 1")); + if(isset($tec['id'])) { + $u = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$u['id']}' LIMIT 1")); + $stats = $tec['stats']; + $master = $tec['master']; + mysql_query("UPDATE `users` SET `sila` = '".$tec['sila']."', `lovk` = '".$tec['lovk']."', `inta` = '".$tec['inta']."', `vinos` = '".$tec['vinos']."', `hp` = '".($tec['vinos']*6)."', `maxhp` = '".($tec['vinos']*6)."', `intel` = '".$tec['intel']."', `stats` = '".$tec['stats']."', `nextup` = '".$tec['nextup']."', `level` = '".$tec['level']."', `align` = '".$tec['align']."', `noj` = '".$tec['noj']."', `mec` = '".$tec['mec']."', `topor` = '".$tec['topor']."', `dubina` = '".$tec['dubina']."', `mlight` = '".$tec['mlight']."', `mgray` = '".$tec['mgray']."', `mdark` = '".$tec['mdark']."', `master` = '".$tec['master']."' WHERE `id` = '".$u['id']."' LIMIT 1"); + mysql_query("DELETE FROM `deztow_realchars` WHERE `owner` = '{$u['id']}'"); + + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 1 `type` = 2 `type` = 3 `type` = 4 `type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14 `type` = 21 `type` = 201 `type` = 202)")); + mysql_query("DELETE FROM `effects` WHERE `owner` = '".$u['id']."' AND `type` != 1 AND `type` != 2 AND `type` != 3 AND `type` != 4 AND `type` != 5 AND `type` != 6 AND `type` != 11 AND `type` != 12 AND `type` != 13 AND `type` != 14"); + + if(isset($tec['id'])) { + mysql_query("UPDATE `users` SET `sila` = (`sila`-'".$eff['sila']."'), `lovk` = (`lovk`-'".$eff['lovk']."'), `inta` = (`inta`-'".$eff['inta']."'), `maxhp` = (`maxhp`-'".$eff['hp']."') WHERE `id` = '".$eff['owner']."' LIMIT 1"); + } + + if($u['id'] != 233 && $u['id'] != 234 && $u['id'] != 235) { + settravma($u['id'], 100, 86400, 1); + } + get_out($u['id']); + mysql_query("UPDATE `users` SET `in_tower` = 0, `room` = '31' WHERE `id` = '".$u['id']."' LIMIT 1"); + mysql_query("UPDATE `online` SET `room` = '31' WHERE `id` = '".$u['id']."' LIMIT 1"); + } + } + mysql_query('UPDATE `deztow_turnir` SET `winner` = \'NO!\', `winnerlog` = \'Ничья\', `endtime` = '.time().', `active` = 0, `log` = CONCAT(`log`,\''."Турнир закончен по тайм-ауту. Победителя нет!
    ".'\') WHERE `active` = TRUE LIMIT 1'); + + $turnirstart = mysql_fetch_array(mysql_query("SELECT `value`, `bs_art` FROM `variables` WHERE `var` = 'startbs' LIMIT 1")); + if($turnirstart['bs_art'] == 1) { + $bs_art = 0; + } elseif($turnirstart['bs_art'] == 0) { + $bs_art = 0; #1 + } + $times = (time() + 7200); + mysql_query("UPDATE `variables` SET `value` = '".$times."', `bs_art` = '".$bs_art."' WHERE `var` = 'startbs' LIMIT 1"); + mysql_query("TRUNCATE TABLE `deztow_stavka`"); + mysql_query("TRUNCATE TABLE `deztow_gamers_inv`"); + mysql_query("TRUNCATE TABLE `deztow_items`"); + mysql_query("TRUNCATE TABLE `deztow_trap`"); +} +mysql_query('UNLOCK TABLES'); +?> \ No newline at end of file diff --git a/cron2.php b/cron2.php new file mode 100644 index 0000000..fb82376 --- /dev/null +++ b/cron2.php @@ -0,0 +1,1016 @@ +"1","1"=>"1","2"=>"2"); + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `align`='2' OR `align`='8.31';"); + $abil=array("0"=>"3","1"=>"0","2"=>"0"); + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `level`='7' AND `align`='6';"); + $abil=array("0"=>"3","1"=>"2","2"=>"0"); + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `level`='8' AND `align`='6';"); + $abil=array("0"=>"3","1"=>"2","2"=>"1"); + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `level`>='9' AND `align`='6';"); + for($i=0;$i<10;$i++) $abil[$i]=9; + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `align`>'7' AND `align`<'8';"); + //обнуляем диггеров + mysql_query("UPDATE digger SET count_dig='0',count_guard='0';"); + //обнуляем подарки + mysql_query("UPDATE `users` SET `podarokAD`='0';"); + //обнуляем реферала месяца + if(date("d")=="01") + { + mysql_query("UPDATE variables SET value='{$tm}' WHERE var='ref_month';"); + mysql_query("UPDATE variables SET value='0' WHERE var='ref_m_id';"); + } + //обнуляем реферала недели + if(date("N")=="7") + { + mysql_query("UPDATE variables SET value='{$tm}' WHERE var='ref_week';"); + mysql_query("UPDATE variables SET value='0' WHERE var='ref_w_id';"); + } + //обнуляем парк + mysql_query("UPDATE `cit_park` SET `counter`=0,`bots`='',`room`=0;"); + //задаем рейд на замок + $cc_time=$tm+rand(60*60*14,60*60*14.5); + mysql_query("UPDATE variables SET value='{$cc_time}' where var='cc_time';"); + +} +if(date("H-i")=="09-00") +{ + //задаем рейд на ЦХ - 10-11 + $ch_time=$tm+rand(60*60*1,60*60*2); + mysql_query("UPDATE variables SET value='{$ch_time}' where var='cit_haos_time';"); +} +//задаем рейд утром +if(date("H-i")=="10-00") +{ + //задаем рейд на город + $raid_time=$tm+rand(60*60*1.5,60*60*2.5); + mysql_query("UPDATE variables SET value='{$raid_time}' where var='raid_on_city';"); +} +if(date("H-i")=="20-00") +{ + //задаем рейд на ЦХ - 21-22 + $ch_time=$tm+rand(60*60*1,60*60*2); + mysql_query("UPDATE variables SET value='{$ch_time}' where var='cit_haos_time';"); + +} + +//берем дату и время Замка Мэра +if(date("z-H-i")==date("z-H-i",$c_castle['value'])) +{ + $c_castle=mysql_query("SELECT `value` FROM variables WHERE var='cc_time' LIMIT 1;"); + // AddChatSystem('Начинается прием заявок на владение Замком Мэра! Начало боя через 15 минут.'); +} +//кто нападает +$cca=$c_castle['value']+930; +if(date("z-H-i")==date("z-H-i",$cca)) +{ + $cc_own=mysql_fetch_array(mysql_query("SELECT `value` FROM variables WHERE var='castle_owner' LIMIT 1;")); + $cc_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$cc_own['value']}' LIMIT 1;")); + $cc_att=mysql_fetch_array(mysql_query("SELECT `value` FROM variables WHERE var='castle_att' LIMIT 1;")); + $cc_a=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$cc_att['value']}' LIMIT 1;")); + if($cc_own['value']>0 && $cc_att['value']>0) {AddChatSystem('Клан '.$cc_a['name'].' готовится к битве за Замок Мэра с кланом '.$cc_k['name'].'! Начало боя через 1 минуту!');} + elseif($cc_own['value']>0 && $cc_att['value']==0) {AddChatSystem('Никто не осмелился оспорить права клана '.$cc_a['name'].' на Замок Мэра');} + elseif($cc_own['value']==0 && $cc_att['value']>0) {AddChatSystem('Клан '.$cc_k['name'].' готовится к битве за Замок Мэра с силами Хаоса! Начало боя через 1 минуту!');} + elseif($cc_own['value']==0 && $cc_att['value']==0) {AddChatSystem('Никто не осмелился отбить у сил Хаоса Замок Мэра');} +} +//берем дату-время рейда +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_city' limit 1;")); +$ch_t=mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'cit_haos_time' LIMIT 1;")); +//берем дату-время ЦХ +$raid_r=date("r",$raid_t['value']); +$ch_r=date("r",$ch_r['value']); + $zay_dub=mysql_fetch_array(mysql_query("SELECT * FROM zayavka WHERE `team1` LIKE '1000%' limit 1;")); +//рейд на город +if(date("H-i")==date("H-i",$raid_t['value']) && !$zay_dub['id']>0) +{ + mysql_query("UPDATE variables SET value='2' where var='raid_on_status';"); +} +//рейд на ЦХ +if(date("z-H-i")==date("z-H-i",$ch_t['value'])) +{ + mysql_query("DELETE FROM `cit_haos_status`;"); + mysql_query("DELETE FROM `cit_haos_var`;"); + + // AddChatSystem('Начинается прием заявок в рейд на Цитадель Хаоса! Начало рейда через 15 минут.'); +} +// hp operations + + //комплекты - костыль + $komp_users = mysql_query("SELECT * FROM `users`,`online` WHERE `users`.`id`=`online`.`id` AND `online`.`date` >= ".(time()-60).";"); + while($ku=mysql_fetch_array($komp_users)) + { + $kompl_raw=mysql_query("SELECT * FROM inventory where owner=".$ku['id']." AND dressed=1"); + + $items_on_user=array(); + $set_id_wear=array(); + $kompl_ghp=0; + $kompl_gmana=0; + while ($kompl=mysql_fetch_array($kompl_raw)) + { + $items_on_user[]=$kompl['prototype']; + }; + $sets_raw=mysql_query("SELECT * FROM item_sets;"); + while ($set_items=mysql_fetch_array($sets_raw)) + { + $kompl_full=1; + $in_set=explode(',',$set_items['prot_id']); + foreach($in_set as $tmp_set) + if (!in_array($tmp_set,$items_on_user)) + {$kompl_full=0;} + if ($kompl_full==1) $set_id_wear[]=$set_items['set_id']; + + }; + foreach($set_id_wear as $s) + { + $items_raw=mysql_fetch_array(mysql_query("SELECT `ghp`,`gmana` FROM item_sets where set_id='{$s}' limit 1;")); + $kompl_ghp+=$items_raw['ghp']; + $kompl_gmana+=$items_raw['gmana']; + }; + if(!$kompl_ghp) $kompl_ghp=0; + if(!$kompl_gmana) $kompl_gmana=0; + mysql_query("UPDATE `users` SET `maxhp` = (IFNULL((SELECT SUM(`ghp`) FROM `inventory` WHERE dressed=1 AND owner = `users`.id),0) + (users.vinos*6)+'{$kompl_ghp}') WHERE `id`='{$ku['id']}';"); + mysql_query("UPDATE `users` SET `maxmana` = (IFNULL((SELECT SUM(`gmp`) FROM `inventory` WHERE dressed=1 AND owner = `users`.id),0) + (users.mudra*10)+'{$kompl_gmana}') WHERE `id`='{$ku['id']}';"); + } + + //комплекты * + //mysql_query("UPDATE `users` SET `maxmana` = (IFNULL((SELECT SUM(`gmp`) FROM `inventory` WHERE dressed=1 AND owner = `users`.id),0) + (users.mudra*10));"); + mysql_query("UPDATE `users` SET `hp` = '0' WHERE `hp` < '0' "); + mysql_query("UPDATE `users` SET `mana` = '0' WHERE `mana` < '0' "); + // ломаем шмот + $its = mysql_query("SELECT `id`,`owner`,`name` FROM `inventory` WHERE `dressed` = 0 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."'));"); + while($it = mysql_fetch_array($its)) + { + //destructitem($it['id']); + mysql_query("DELETE FROM `inventory` WHERE `id` = '".$it['id']."' LIMIT 1;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','\"".$it['name']."\" разрушился id:(cap".$it['id'].").',1,'".time()."');"); + } + // травмы и хаос + $effs = mysql_query("SELECT * FROM `effects` WHERE `time` <= ".time().";"); + mysql_query("DELETE FROM `effects` WHERE `time` <= ".time().";"); + while($eff = mysql_fetch_array($effs)) { + switch ($eff['type']) + { + case 11: + mysql_query("UPDATE `users` SET `sila`=`sila`+'".$eff['sila']."', `lovk`=`lovk`+'".$eff['lovk']."', `inta`=`inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + //deltravma($eff['id']); + break; + case 12: + mysql_query("UPDATE `users` SET `sila`=`sila`+'".$eff['sila']."', `lovk`=`lovk`+'".$eff['lovk']."', `inta`=`inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + case 13: + mysql_query("UPDATE `users` SET `sila`=`sila`+'".$eff['sila']."', `lovk`=`lovk`+'".$eff['lovk']."', `inta`=`inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + case 14: + mysql_query("UPDATE `users` SET `sila`=`sila`+'".$eff['sila']."', `lovk`=`lovk`+'".$eff['lovk']."', `inta`=`inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + case 21: + mysql_query("UPDATE `users` SET `sila`=`sila`-'".$eff['sila']."', `lovk`=`lovk`-'".$eff['lovk']."', `inta`=`inta`-'".$eff['inta']."', `vinos`=`vinos`-'".$eff['vinos']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + case 4: + mysql_query("UPDATE `users` SET `align`='0' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + } + } + + + $data = mysql_query("SELECT `id`, `fullhptime` FROM `users` WHERE `hp` < `maxhp` AND `battle` = 0;"); + while($user = mysql_fetch_array($data)) { + if ((time()-$user[1])/60 > 0) + { + mysql_query("UPDATE `users` SET `hp` = `hp`+((".time()."-`fullhptime`)/60)*(`maxhp`/20), `fullhptime` = ".time()." WHERE `hp` < `maxhp` AND `id` = '".$user[0]."' LIMIT 1;"); + } + } + $data = mysql_query("SELECT `id`, `fullmptime` FROM `users` WHERE `mana` < `maxmana` AND `battle` = 0;"); + while($user = mysql_fetch_array($data)) { + if ((time()-$user[1])/60 > 0 && $user[1]) + { + mysql_query("UPDATE `users` SET `mana` = `mana`+((".time()."-`fullmptime`)/60)*(`maxmana`/30), `fullmptime` = '".time()."' WHERE `id` = '".$user[0]."' LIMIT 1;"); + } + } + mysql_query("UPDATE `users` SET `hp` = `maxhp`, `fullhptime` = ".time()." WHERE `hp` > `maxhp` AND `battle` = 0;"); + mysql_query("UPDATE `users` SET `mana` = `maxmana`, `fullmptime` = ".time()." WHERE (`mana` > `maxmana` OR `fullmptime` = 0) AND `battle` = 0;"); + + //start Haos Match - disabled + $hm_ok=array(); + /*$hm_ongoing=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var`='haos_match';")); + $hm_ongoing=unserialize($hm_ongoing['value']); + + if($hm_ongoing) + foreach($hm_ongoing as $lvl=>$hm) + { + $check_win=mysql_fetch_array(mysql_query("SELECT `win` FROM `battle` WHERE `id`='{$hm}' LIMIT 1;")); + + if(empty($check_win) || $check_win['win']==1 || $check_win['win']==2 || $check_win['win']==0) $hm_ok[$lvl]=1; + else $hm_ok[$lvl]=0; + } + else*/ + { + $hm_ok['7']=1; + $hm_ok['8']=1; + $hm_ok['9']=1; + $hm_ok['10']=1; + $hm_ok['11']=1; + $hm_ok['12']=1; + } + + /*echo("
    ");
    +     print_r($hm_ok);
    +     echo("
    ");*/ + + if(date("i")%20==0) //%15==0 + { + + + $haos_match=array(); + foreach($hm_ok as $lvl=>$flag) + if($flag==1) + { + mysql_query("INSERT INTO `zayavka` + (`start`, `timeout`, `t1c`, `t2c`, `type`, `level`, `coment`, `team1`, `stavka`, `t1min`, `t2min`, `t1max`, `t2max`,`podan`,`blood`) values + (".(time()+5*60).",5,50,50,2,4,'Бой с силами Хаоса {$lvl}','1001;','',49,{$lvl}, 50, {$lvl}, '".date("H:i")."', '0');"); + $haos_match[$lvl]=mysql_insert_id(); + } + + mysql_query("UPDATE `variables` SET `value`='".serialize($haos_match)."' WHERE `var`='haos_match_zay';"); + //AddChatSystem('Силы Хаоса вызывают бойцов клуба 7-12 уровней на поединок! Начало боя через 5 минут в групповых боях '); + } + + + //////Запускаем ХАОТИК + +$xaot_time = mysql_fetch_assoc(mysql_query("select * from `variables` where `var`='xaot_create' LIMIT 1")); +if($xaot_time['value'] < time()){ + + mysql_query("INSERT INTO `zayavka` (`start`, `timeout`, `t1c`, `t2c`, `type`, `level`, `coment`, `team1`, `stavka`, `t1min`, `t2min`, `t1max`, `t2max`,`podan`,`blood`) values (".(time()+10*60).",3,99,99,3,5,'Хаотический бой 6-10','2897;','',6,6, 10, 10, '".date("H:i")."', '0');"); + + +$times = time() + 900; +mysql_query("update `variables` set `value`='".$times."' where `var`='xaot_create'"); +} + + + + //15 минут до старта БС + $turnirstart = mysql_fetch_array(mysql_query("SELECT `value`,`bs_art` FROM `variables` WHERE `var` = 'startbs' LIMIT 1;")); + $turnirstart['value'] -= 900; + if(date("z-H-i")==date("z-H-i",$turnirstart['value'])) + if($turnirstart['bs_art'] == 0){ + AddChatSystem ('Приглашаем всех желающих на турнир в Башню Смерти! Турнир начинается через 15 минут'); + }elseif($turnirstart['bs_art'] == 1){ + AddChatSystem ('Приглашаем всех желающих на турнир в Артовую Башню Смерти! Турнир начинается через 15 минут'); + } + + + + + + +// hp operations + + #mysql_query("UPDATE `users` SET `maxhp` = (IFNULL((SELECT SUM(`ghp`) FROM `inventory` WHERE dressed=1 AND owner = `users`.id),0) + (users.vinos*6));"); + #mysql_query("UPDATE `users` SET `maxmana` = (IFNULL((SELECT SUM(`gmp`) FROM `inventory` WHERE dressed=1 AND owner = `users`.id),0) + (users.mudra*10));"); + #mysql_query("UPDATE `users` SET `hp` = '0' WHERE `hp` < '0' "); + #mysql_query("UPDATE `users` SET `mana` = '0' WHERE `mana` < '0' "); + // ломаем шмот + // $its = mysql_query("SELECT `id`,`owner`,`name` FROM `inventory` WHERE `dressed` = 0 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."'));"); + // while($it = mysql_fetch_array($its)) + // { + //destructitem($it['id']); + #mysql_query("DELETE FROM `inventory` WHERE `id` = '".$it['id']."' LIMIT 1;"); + #mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','\"".$it['name']."\" разрушился id:(cap".$it['id'].").',1,'".time()."');"); + // } + + + // $data = mysql_query("SELECT `id`, `fullhptime` FROM `users` WHERE `hp` < `maxhp` AND `battle` = 0;"); + // while($user = mysql_fetch_array($data)) { + // if ((time()-$user[1])/60 > 0) + // { + #mysql_query("UPDATE `users` SET `hp` = `hp`+((".time()."-`fullhptime`)/60)*(`maxhp`/20), `fullhptime` = ".time()." WHERE `hp` < `maxhp` AND `id` = '".$user[0]."' LIMIT 1;"); + // } + // } + // $data = mysql_query("SELECT `id`, `fullmptime` FROM `users` WHERE `mana` < `maxmana` AND `battle` = 0;"); + // while($user = mysql_fetch_array($data)) { + // if ((time()-$user[1])/60 > 0 && $user[1]) + // { + #mysql_query("UPDATE `users` SET `mana` = `mana`+((".time()."-`fullmptime`)/60)*(`maxmana`/30), `fullmptime` = '".time()."' WHERE `id` = '".$user[0]."' LIMIT 1;"); + // } + // } + #mysql_query("UPDATE `users` SET `hp` = `maxhp`, `fullhptime` = ".time()." WHERE `hp` > `maxhp` AND `battle` = 0;"); + #mysql_query("UPDATE `users` SET `mana` = `maxmana`, `fullmptime` = ".time()." WHERE (`mana` > `maxmana` OR `fullmptime` = 0) AND `battle` = 0;"); + + // start BS + /*$tr = mysql_fetch_array(mysql_query("SELECT * FROM `deztow_turnir` WHERE `active` = TRUE")); + $turnirstart = mysql_fetch_array(mysql_query("SELECT `value`,`bs_art` FROM `variables` WHERE `var` = 'startbs' LIMIT 1;")); + $dd = mysql_fetch_array(mysql_query("SELECT count(`kredit`) FROM `deztow_stavka`;")); + echo$turnirstart[0].$dd[0]; + if($dd[0] < 2 && $turnirstart[0] <= time()) { + if($turnirstart['bs_art'] == 1){ + $bs_art = 0; + }elseif($turnirstart['bs_art'] == 0){ + $bs_art = 1; + } + mysql_query('UPDATE `variables` SET `value` = \''.(time()+60*60).'\',`bs_art`='".$bs_art.'" WHERE `var` = \'startbs\';'); + echo"no"; + mysql_query("INSERT INTO `deztow_stavka` (`owner`,`kredit`,`time`) values ('1254','30','".time()."' ); "); + } + if(!$tr && $turnirstart[0] <= time() && $dd[0] >= 2){ + echo"ok"; + // начинаем БС + //mysql_query("LOCK TABLES `shop` WRITE, `deztow_items` WRITE, `deztow_realchars` WRITE, `deztow_charstams` WRITE, `deztow_eff` WRITE, `deztow_gamers_inv` WRITE,`effects` WRITE, `deztow_turnir` WRITE, `deztow_stavka` WRITE, `users` WRITE, `inventory` WRITE, `online` WRITE;"); + $minroom = 501; + $maxroom = 560; + // вычисляем кто прошел в турнир + $data = mysql_query("SELECT dt.owner FROM `deztow_stavka` as dt, `online` as o WHERE (SELECT count(`id`) FROM `effects` WHERE `effects`.`owner` = dt.owner AND ( type=11 OR type=12 OR type=13 OR type=14 OR type=2 OR type=3 OR type=4 OR type=202 OR type=201 OR type=21)) = 0 AND o.id = dt.owner AND room = 31 AND o.`date` >= '".(time()-300)."' ORDER by `kredit` DESC, dt.`time` ASC LIMIT 40;"); + $stavka = mysql_fetch_array(mysql_query("SELECT SUM(`kredit`)*0.7 FROM `deztow_stavka`;")); + // удаляем сразу, чтоб другим не повадно было + if($data) { + mysql_query("TRUNCATE TABLE `deztow_stavka`;"); + mysql_query("TRUNCATE TABLE `deztow_gamers_inv`;"); + } + while($row=mysql_fetch_array($data)) { + // делаем каждому чару бекап в базу специальную, раздеваем и все такое + undressall($row[0]); // раздели + $shmot = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '".$row[0]."';");// бекапим весь шмот + mysql_query("UPDATE `inventory` SET `owner` = 0 WHERE `owner` = '".$row[0]."';"); + while($sh = mysql_fetch_array($shmot)) { + mysql_query("INSERT `deztow_gamers_inv` (`id_item`,`owner`) values ('".$sh[0]."','".$row[0]."');"); + } + // effects + $effs = mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$row[0]."';"); // бекапим ефекты + while($eff = mysql_fetch_array($effs)) { + mysql_query("INSERT `deztow_eff` (`type`, `name`, `time`, `sila`, `lovk`, `inta`, `vinos`, `owner`) + values ('".$eff[1]."','".$eff[2]."','".$eff[3]."','".$eff[4]."','".$eff[5]."','".$eff[6]."','".$eff[7]."','".$eff[8]."');"); + //deltravma($eff['id']); + } + mysql_query("DELETE FROM `effects` WHERE `owner` = '".$row[0]."';"); + // stats + $tec = mysql_fetch_array(mysql_query("SELECT * FROM `deztow_charstams` WHERE `owner` = '{$row[0]}' AND `def`='1';")); + if($tec[0] && $row[0] != 233) { + // умелки + $u = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$row[0]}' LIMIT 1;")); + $master = ($u['noj']+$u['mec']+$u['topor']+$u['dubina']+$u['mfire']+$u['mwater']+$u['mair']+$u['mearth']+$u['mlight']+$u['mgray']+$u['mdark']+$u['master']); + // если есть шаблон - меняем + mysql_query("INSERT `deztow_realchars` (`owner`,`name`,`sila`,`lovk`,`inta`,`vinos`,`intel`,`mudra`,`stats`,`nextup`,`level`,`master`) values + ('".$u['id']."','".$u['login']."','".$u['sila']."','".$u['lovk']."','".$u['inta']."','".$u['vinos']."','".$u['intel']."', + '".$u['mudra']."','".$u['stats']."','".$u['nextup']."','".$u['level']."','".$master."');"); + //создали запись, теперь выставляем статы)) + $stats = ($u['sila']+$u['lovk']+$u['inta']+$u['vinos']+$u['intel']+$u['mudra']+$u['stats'])- + ($t['sila']+$t['lovk']+$t['inta']+$t['vinos']+$t['intel']+$t['mudra']); + if ((int)$stats!=0) { + $fffff=fopen('/tmp/bs_s.dat','a'); +// $tec['sila']=$u['sila']; $tec['lovk']=$u['lovk']; $tec['$inta']=$u['inta']; +// $tec['vinos']=$u['vinos']; $tec['intel']=$u['intel']; $tec['mudra']=$u['mudra']; + fwrite($fffff,print_r($u)."\n"); + fwrite($fffff,print_r($tec)."\n"); + fwrite($fffff,(int)$stats."\n"); + fwrite($fffff,"\n\n\n"); + fclose($fffff); + } //".$stats." + mysql_query("UPDATE `users` SET `sila`='".$tec['sila']."', `lovk`='".$tec['lovk']."',`inta`='".$tec['inta']."',`vinos`='".$tec['vinos']."',`intel`='".$tec['intel']."',`mudra`='".$tec['mudra']."',`stats`='0', + `noj`=0,`mec`=0,`topor`=0,`dubina`=0,`mfire`=0,`mwater`=0,`mair`=0,`mearth`=0,`mlight`=0,`mgray`=0,`mdark`=0,`master`='".$master."',`maxhp`='".($tec['vinos']*6)."',`hp`='".($tec['vinos']*6)."' + WHERE `id` = '".$u['id']."' LIMIT 1;"); + // закончили + } + + // пихаем учасников в БС + $rum = rand($minroom,$maxroom); + $urs[$row[0]] = $rum; + //mysql_query("UPDATE `users` SET `in_tower` = 1, `room` = '".$rum."' WHERE `id` = '".$row[0]."';"); + //mysql_query("UPDATE `online` SET `room` = '".$rum."' WHERE `id` = '".$row[0]."' LIMIT 1 ;"); + // в список участников + $i++; + if($i>1) { $lors .= ", "; } + $lors .= nick3($row[0]); + } + + // arch================ + undressall(233); + mysql_query("DELETE FROM `inventory` WHERE `owner` = '233';"); + $rum = rand($minroom,$maxroom); + mysql_query("UPDATE `users` SET `in_tower` = 1, `chattime` = '999999999999', `room` = '".$rum."' WHERE `id` = '233';"); + mysql_query("UPDATE `online` SET `room` = '".$rum."' WHERE `id` = '233' LIMIT 1 ;"); + $i++; + $lors .= ", ".nick3(233); + //===================== + + // разбрасываем шмот по комнатам + mysql_query("TRUNCATE TABLE `deztow_items`;"); + // айдишники магазинных прототипов + $shmots = array("1","1","92","92","93","93","19","19","20","20","20","23","23","24","14","87","87","6","6","17","17","17","17","11","11","12","12","12","28","28","43","43","36","36","36","37","37","37","38","38","38","50","50","57","52","52","51","51","48","48","47","47","49","49","59","59","60","60","61","61","63","64","64","65","65","66","66","68","68","69","69","72","72","4","5","79","79","80","76","75","75","94","94","95","95","82","91","91","34","34","86","86","86","9","9","101","101","101","101","101","97","97","97","97","100","100","100","100","171","171","171","171","103","103","103","104","105","105","106","106","107","107","108","108","109","110","111","112","112","113","113","119","364","284","284","284","284","284","285","285","285","285","286","286","286","286"); + while($sh = array_shift($shmots)) { + $shopid = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '".$sh."' LIMIT 1;")); + mysql_query("INSERT `deztow_items` (`iteam_id`, `name`, `img`, `room`) values ('".$shopid['id']."', '".$shopid['name']."', '".$shopid['img']."', '".rand($minroom,$maxroom)."');"); + } + // формируем лог + $log = ''.date("d.m.y H:i").' Начало турнира. Участники: '.$lors.'
    '; + // создаем запись о турнире + $end = time() + 21600; + mysql_query("INSERT `deztow_turnir` (`type`,`winner`,`coin`,`start_time`,`log`,`endtime`,`active`) values ('".rand(1,7)."','','".$stavka[0]."','".time()."','".$log."','".$end."','1');"); + //mysql_query("UNLOCK TABLES;"); + + foreach($urs as $row=>$rum) { + mysql_query("UPDATE `users` SET `in_tower` = 1, `room` = '".$rum."' WHERE `id` = '".$row."';"); + mysql_query("UPDATE `online` SET `room` = '".$rum."' WHERE `id` = '".$row."' LIMIT 1 ;"); + } + }*/ + + + // bots razmen + //==================================================================================== +/*function nick5 ($id,$st) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$id.' LIMIT 1;')); + $id=$bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + + if($user[0]) { + return "".$user['login'].""; + } +} + */ + + class botbattle { + public $log = ""; // агреггатор лога + + function botbattle () { + global $mysql; + $this->mysql = $mysql; + } + + function GetWeaponType($idwep) { + + if ($idwep == 0) { + return "kulak"; + } + $wep = mysql_fetch_array(mysql_query('SELECT `name` FROM `inventory` WHERE `id` = '.$idwep.' LIMIT 1;')); + //print_r($wep); + if(preg_match("/кастет/i",$wep[0]) || preg_match("/нож/i",$wep[0]) || preg_match("/кинжал/i",$wep[0])) { + return "noj"; + } + elseif(preg_match("/дубина/i",$wep[0]) || preg_match("/молот/i",$wep[0]) || preg_match("/ледяной/i",$wep[0]) || preg_match("/клевец/i",$wep[0])) { + return "dubina"; + } + elseif(preg_match("/топор/i",$wep[0]) OR preg_match("/секира/i",$wep[0]) || preg_match("/аллебарда/i",$wep[0])) { + return "topor"; + } + elseif(preg_match("/Меч/i",$wep[0])) { + return "mech"; + } + + } + + function razmen_log($type,$kuda,$chem,$uron,$kto,$c1,$pokomy,$c2,$hp,$maxhp) { + //print_R(func_get_args()); + if ($this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { $sex1 = false; } + if (!$this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { $sex1 = true; } + if ($this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { $sex2 = false; } + if (!$this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { $sex2 = true; } + + if ($this->user['sex'] && $kto == $this->user['id']) { $sex1 = false; } + if (!$this->user['sex'] && $kto == $this->user['id']) { $sex1 = true; } + if ($this->user['sex'] && $pokomy == $this->user['id']) { $sex2 = false; } + if (!$this->user['sex'] && $pokomy == $this->user['id']) { $sex2 = true; } + + if($hp < 0) { $hp = 0; } + + // текст по промазыванию + if (!$sex1) { + $textfail = array ( 'думал о <вырезано цензурой>, вследствие чего', + 'пытался нанести удар, но ', + 'поскользнулся, и', + 'старался провести удар, но', + 'закашлялся, и', + 'пытался провести удар, но безумный', + 'потерял самоконтроль, вследствие чего', + 'думал не о том и'); + } else { + $textfail = array ( 'думала о <вырезано цензурой>, вследствие чего', + 'пыталась нанести удар, но ', + 'поскользнулась, и', + 'старалась провести удар, но', + 'закашлялась, и', + 'пыталась провести удар, но ', + 'потеряла самоконтроль, вследствие чего', + 'думала не о том и'); + } + // чем били + $textchem = array ( + "kulak" => array("грудью","ребром руки","лбом","кулаком","ногой","левой ногой","правой ногой","коленом"), + "noj" => array("ножем","тыльной стороной лезвия ножа","рукоятью ножа","лезвием ножа"), + "dubina" => array("сучковатой палкой","поленом","тяжелой дубиной","дубиной","рукоятью молота"), + "topor" => array("секирой","топором","лезвием секиры","аллебардой","тяжелым держаком","длинной секирой"), + "mech" => array("ножнами","гардой","мечем","лезвием меча","рукоятью меча","тупым лезвием","острой стороной меча","огромным мечем",) + ); + $textchem = $textchem[$chem]; + // куда били + $udars = array( + '1' => array ('в нос','в глаз','в челюсть','по переносице','в кадык','по затылку','в правый глаз','в левый глаз','в скулу'), + '2' => array ('в грудь','в корпус','в солнечное сплетение','в сердце','в бок','в область лопаток','по желудку','по левой руке','по правой руке'), + '3' => array ('по <вырезано цензурой>','в пах','в промежность','по левой ягодице','по правой ягодице'), + '4' => array ('по ногам','в область правой пятки','в область левой пятки','по коленной чашечке','по икрам') + ); + $kuda = $udars[$kuda][rand(0,count($udars[$kuda])-1)]; + //тест по попаданию + if (!$sex2) { + $textud = array ('забылся, и тут', + 'замешкался, и за это бесчувственный', + 'растерялся, как вдруг расстроенный', + 'ковырялся в зубах, и тут', + 'поперхнулся, но вдруг храбрый', + 'пытался что-то сказать но вдруг, неожиданно', + 'растерялся, как вдруг', + 'засмотрелся на <вырезано цензурой>, а в это время', + 'высморкался, и в это время', + 'думал не о том и', + 'пришел в себя, но в это время обезумевший', + 'обернулся, как внезапно'); + } else { + $textud = array ('забылась, и тут', + 'замешкалась, и за это ', + 'растерялась, как вдруг ', + 'ковырялась в зубах, и тут ', + 'поперхнулась, но вдруг ', + 'пыталась что-то сказать но вдруг, неожиданно', + 'растерялась, как вдруг', + 'засмотрелась на <вырезано цензурой>, а в это время', + 'высморкалась, и в это время', + 'думала не о том и', + 'пришла в себя, но в это время ', + 'обернулась, как внезапно'); + } + + switch ($type) { + // уворот + case "uvorot": + if ($sex2) { + $textuvorot = array (" уклонилась от удара "," увернулась от удара "," отскочила от удара "); + } + else { + $textuvorot = array (" уклонился от удара "," увернулся от удара "," отскочил от удара "); + } + return ''.date("H:i").' '.nick5($kto,$c1).' '.$textfail[rand(0,count($textfail)-1)].' '.nick5($pokomy,$c2).' '.$textuvorot[rand(0,count($textuvorot)-1)].' '.$textchem[rand(0,count($textchem)-1)].' '.$kuda.'.
    '; + break; + //блок + case "block": + if ($sex2) { + $textblock = array (" заблокировала удар "," остановила удар "," отбила удар "); + } + else { + $textblock = array (" заблокировал удар "," остановил удар "," отбил удар "); + } + return ''.date("H:i").' '.nick5($kto,$c1).' '.$textfail[rand(0,count($textfail)-1)].' '.nick5($pokomy,$c2).' '.$textblock[rand(0,count($textblock)-1)].' '.$textchem[rand(0,count($textchem)-1)].' '.$kuda.'.
    '; + break; + //крит + case "krit": + if ($sex1) { + $textkrit = array (", напугав всех, неслышно подойдя сзади ударила по голове булыжником оппонента.",", сказав \"БУ!\", ласково заломила руку за спину соперника.",", расслабившись, расцарапала нос соперника.",", показав сразу два пальца, наступила на ногу врага.",", напугав всех, укусила в нос противника.",", проклиная этот сайт, провела ужасный бросок через пупок оппонента."); + } + else { + $textkrit = array (", напугав всех, неслышно подойдя сзади ударил по голове булыжником оппонента.",", сказав \"БУ!\", ласково заломил руку за спину соперника.",", расслабившись, расцарапал нос соперника.",", показав сразу два пальца, наступил на ногу врага.",", напугав всех, укусил в нос противника.",", проклиная этот сайт, провел ужасный бросок через пупок оппонента."); + } + return ''.date("H:i").' '.nick5($pokomy,$c2).' '.$textud[rand(0,count($textud)-1)].' '.nick5($kto,$c1).' '.$textkrit[rand(0,count($textkrit)-1)].' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + // попадание + case "udar": + if ($sex1) { + $textudar = array(", разбежавшись, рубанула"," отчаянно проткнула "," нехотя уколола "," не подумав, рубанула ",", улыбаясь, саданула укол "," приложила удар "," ударила "," сдуру вмазала "); + } + else { + $textudar = array(", разбежавшись, рубанул"," отчаянно проткнул "," нехотя уколол "," не подумав, рубанул ",", улыбаясь, саданул укол "," приложил удар "," ударил "," сдуру вмазал "); + } + return ''.date("H:i").' '.nick5($pokomy,$c2).' '.$textud[rand(0,count($textud)-1)].' '.nick5($kto,$c1).''.$textudar[rand(0,count($textudar)-1)].' '.$textchem[rand(0,count($textchem)-1)].' '.$kuda.' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + } + } + + function UpdateBattle () { + return mysql_query('UPDATE `battle` SET `teams` = \''.serialize($this->battle).'\', `damage` = \''.serialize($this->damage).'\' WHERE `id` = '.$this->battle_data['id'].' ;'); + } + + function AddToLog ($text) { + $this->log .= $text; + } + + function write_log () { + if($this->log){$this->log=$this->log."
    ";} + addlog($this->user['battle'],$this->log); + + /*$fp = fopen("/tmp/backup/logs/battle".$this->battle_data['id'].".txt","a"); //открытие + flock($fp,LOCK_EX); //БЛОКИРОВКА ФАЙЛА + fputs($fp , $this->log); //работа с файлом + fflush($fp); //ОЧИЩЕНИЕ ФАЙЛОВОГО БУФЕРА И ЗАПИСЬ В ФАЙЛ + flock($fp,LOCK_UN); //СНЯТИЕ БЛОКИРОВКИ + fclose($fp); //закрытие + $this->log = '';*/ + } + + function solve_mf($enemy,$enemy2,$en1att,$en2att) { + $mf = array (); + + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$enemy2.' LIMIT 1;')); + $this->enemyhar = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = \''.$bots['prototype'].'\' LIMIT 1;')); + $this->enemy_dress = mysql_fetch_array(mysql_query('SELECT sum(minu),sum(maxu),sum(mfkrit),sum(mfakrit),sum(mfuvorot),sum(mfauvorot),sum(bron1),sum(bron2),sum(bron3),sum(bron4) FROM `inventory` WHERE `dressed`=1 AND `owner` = \''.$bots['prototype'].'\' LIMIT 1;')); + $this->enemyhar['hp'] = $bots['hp']; + + + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$enemy.' LIMIT 1;')); + $this->user = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = \''.$bots['prototype'].'\' LIMIT 1;')); + $this->user_dress = mysql_fetch_array(mysql_query('SELECT sum(minu),sum(maxu),sum(mfkrit),sum(mfakrit),sum(mfuvorot),sum(mfauvorot),sum(bron1),sum(bron2),sum(bron3),sum(bron4) FROM `inventory` WHERE `dressed`=1 AND `owner` = \''.$bots['prototype'].'\' LIMIT 1;')); + $this->user['hp'] = $bots['hp']; + + + // мои МФ в отношении противника + $mf['me'] = array ( + 'udar' => rand(floor($this->user['sila']/3)+2+$this->user_dress[0],floor($this->user['sila']/3)+4+$this->user_dress[1])-rand(1,$this->enemy_dress[5+$en1att]), + 'krit' => $this->user_dress[2]-$this->enemy_dress[3]+floor($this->user['inta']*4)-floor($this->enemyhar['inta']*4), + 'uvorot' => $this->user_dress[4]-$this->enemy_dress[5]+floor($this->user['lovk']*4)-floor($this->enemyhar['lovk']*4), + ); + if($this->GetWeaponType($this->user['weap']) == 'kulak' && $this->user['align'] == '2') { $mf['me']['udar'] += $this->user['level']; } + //бонусы от умений к урону + switch($this->GetWeaponType($this->user['weap'])) { + case "noj": + $mf['me']['udar'] += $this->user['noj']; + break; + case "dubina": + $mf['me']['udar'] += $this->user['dubina']; + break; + case "topor": + $mf['me']['udar'] += $this->user['topor']; + break; + case "mech": + $mf['me']['udar'] += $this->user['mec']; + break; + } + + if($bmfud>5) $mf['me']['udar']+=$bmfud; + if($mf['me']['udar'] < 0) { $mf['me']['udar'] = 0; } + if($bmfud<=5) $mf['me']['udar']+=$bmfud; + if($mf['me']['krit'] < 1) + { $mf['me']['krit'] = 1; } + elseif (($mf['me']['krit'] >= 50)&&($mf['me']['krit']<100)) + { $mf['me']['krit'] = 50; } + elseif (($mf['me']['krit'] >= 100)&&($mf['me']['krit']<200)) + { $mf['me']['krit'] = 55; } + elseif (($mf['me']['krit'] >= 200)&&($mf['me']['krit']<300)) + { $mf['me']['krit'] = 60; } + elseif (($mf['me']['krit'] >= 300)&&($mf['me']['krit']<400)) + { $mf['me']['krit'] = 65; } + elseif (($mf['me']['krit'] >= 400)&&($mf['me']['krit']<500)) + { $mf['me']['krit'] = 70; } + elseif ($mf['me']['krit'] >= 500) + { $mf['me']['krit'] = 75; } + if($mf['me']['uvorot'] < 1) + { $mf['me']['uvorot'] = 1; } + elseif (($mf['me']['uvorot'] >= 50)&&($mf['me']['uvorot']<100)) + { $mf['me']['uvorot'] = 50; } + elseif (($mf['me']['uvorot'] >= 100)&&($mf['me']['uvorot']<200)) + { $mf['me']['uvorot'] = 55; } + elseif (($mf['me']['uvorot'] >= 200)&&($mf['me']['uvorot']<300)) + { $mf['me']['uvorot'] = 60; } + elseif (($mf['me']['uvorot'] >= 300)&&($mf['me']['uvorot']<400)) + { $mf['me']['uvorot'] = 65; } + elseif (($mf['me']['uvorot'] >= 400)&&($mf['me']['uvorot']<500)) + { $mf['me']['uvorot'] = 70; } + elseif ($mf['me']['uvorot'] >= 500) + { $mf['me']['uvorot'] = 75; } + switch($this->GetWeaponType($this->user['weap'])) { + case "noj": + $ver=$this->user['noj']; + break; + case "dubina": + $ver=$this->user['dubina']; + break; + case "topor": + $ver=$this->user['topor']; + break; + case "mech": + $ver=$this->user['mech']; + break; + } + if(mt_rand(0,100)<$ver) + switch($this->GetWeaponType($this->user['weap'])) { + case "noj": + $mf['me']['udar']+=(($this->user['lovk']+$this->user['inta'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "dubina": + $mf['me']['udar']+=(($this->user['sila']+$this->user['vinos'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "topor": + $mf['me']['udar']+=(($this->user['inta']+$this->user['vinos'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "mech": + $mf['me']['udar']+=(($this->user['lovk']+$this->user['sila'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + } + //округляем урон + $mf['me']['udar']=round($mf['me']['udar']); + + // МФ врага в отношении меня + $mf['he'] = array ( + 'udar' => rand(floor($this->enemyhar['sila']/3)+2+$this->enemy_dress[0],floor($this->enemyhar['sila']/3)+4+$this->enemy_dress[1])-rand(1,$this->user_dress[5+$en2att]), + 'krit' => $this->enemy_dress[2]-$this->user_dress[3]+floor($this->enemyhar['inta']*4)-floor($this->user['inta']*4), + 'uvorot' => $this->enemy_dress[4]-$this->user_dress[5]+floor($this->enemyhar['lovk']*4)-floor($this->user['lovk']*4), + ); + if($this->GetWeaponType($this->enemyhar['weap']) == 'kulak' && $this->enemyhar['align'] == '2') { $mf['he']['udar'] += $this->enemyhar['level']; } + switch($this->GetWeaponType($this->enemyhar['weap'])) { + case "noj": + $mf['he']['udar'] += $this->enemyhar['noj']; + break; + case "dubina": + $mf['he']['udar'] += $this->enemyhar['dubina']; + break; + case "topor": + $mf['he']['udar'] += $this->enemyhar['topor']; + break; + case "mech": + $mf['he']['udar'] += $this->enemyhar['mec']; + break; + } + if($bmfud1<5) $mf['he']['udar']+=$bmfud1; + if($mf['he']['udar'] < 0) { $mf['he']['udar'] = 0; } + if($bmfud1>=5) $mf['he']['udar']+=$bmfud1; + //if($mf['he']['krit'] < 1) { $mf['he']['krit'] = 1; } elseif ($mf['he']['krit'] > 50) { $mf['he']['krit'] = 50; } + //if($mf['he']['uvorot'] < 1) { $mf['he']['uvorot'] = 1; } elseif ($mf['he']['uvorot'] > 65) { $mf['he']['uvorot'] = 65; } + if($mf['he']['krit'] < 1) + { $mf['he']['krit'] = 1; } + elseif (($mf['he']['krit'] >= 50)&&($mf['he']['krit']<100)) + { $mf['he']['krit'] = 50; } + elseif (($mf['he']['krit'] >= 100)&&($mf['he']['krit']<200)) + { $mf['he']['krit'] = 55; } + elseif (($mf['he']['krit'] >= 200)&&($mf['he']['krit']<300)) + { $mf['he']['krit'] = 60; } + elseif (($mf['he']['krit'] >= 300)&&($mf['he']['krit']<400)) + { $mf['he']['krit'] = 65; } + elseif (($mf['he']['krit'] >= 400)&&($mf['he']['krit']<500)) + { $mf['he']['krit'] = 70; } + elseif ($mf['he']['krit'] >= 500) + { $mf['he']['krit'] = 75; } + if($mf['he']['uvorot'] < 1) + { $mf['he']['uvorot'] = 1; } + elseif (($mf['he']['uvorot'] >= 50)&&($mf['he']['uvorot']<100)) + { $mf['he']['uvorot'] = 50; } + elseif (($mf['he']['uvorot'] >= 100)&&($mf['he']['uvorot']<200)) + { $mf['he']['uvorot'] = 55; } + elseif (($mf['he']['uvorot'] >= 200)&&($mf['he']['uvorot']<300)) + { $mf['he']['uvorot'] = 60; } + elseif (($mf['he']['uvorot'] >= 300)&&($mf['he']['uvorot']<400)) + { $mf['he']['uvorot'] = 65; } + elseif (($mf['he']['uvorot'] >= 400)&&($mf['he']['uvorot']<500)) + { $mf['he']['uvorot'] = 70; } + elseif ($mf['he']['uvorot'] >= 500) + { $mf['he']['uvorot'] = 75; } + //проф урон + switch($this->GetWeaponType($this->user['weap'])) { + case "noj": + $ver=$this->user['noj']; + break; + case "dubina": + $ver=$this->user['dubina']; + break; + case "topor": + $ver=$this->user['topor']; + break; + case "mech": + $ver=$this->user['mech']; + break; + } + if(mt_rand(0,100)<$ver) + switch($this->GetWeaponType($this->user['weap'])) { + case "noj": + $mf['he']['udar']+=(($this->user['lovk']+$this->user['inta'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "dubina": + $mf['he']['udar']+=(($this->user['sila']+$this->user['vinos'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "topor": + $mf['he']['udar']+=(($this->user['inta']+$this->user['vinos'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "mech": + $mf['he']['udar']+=(($this->user['lovk']+$this->user['sila'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + } + //if(in_array($enemy,$this->botsid)) { $mf['he']['udar'] += $this->user_dress[1]; } + if($enemy > _BOTSEPARATOR_) { + $mf['he']['krit'] -= 6; + } + //округляем урон + $mf['he']['udar']=round($mf['he']['udar']); + //if(in_array($enemy,$this->botsid)) { $mf['he']['udar'] += $this->user_dress[1]; } + // result + return $mf; + } + + function GetChance ($persent) { + if (rand(1,100) < $persent) { + return true; + } + else { + return false; + } + } + + function GetBlock ($att,$def) { + // по типам блоков + $blocks = array ( + '1' => array (1,2), + '2' => array (2,3), + '3' => array (3,4), + '4' => array (4,1) + ); + + if (!in_array($att,$blocks[$def])) { + return true; + } else { + return false; + } + + } + + function InitRazmen ($enemy,$enemy2,$battle_id) { + $bots1 = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$enemy.' AND `battle` = '.$battle_id.' AND `hp` > 0 LIMIT 1;')); + $bots2 = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$enemy2.' AND `battle` = '.$battle_id.' AND `hp` > 0 LIMIT 1;')); + if($bots1 && $bots2) { + + + + $this->battle_data = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$battle_id.' LIMIT 1;')); + + // получили дамагу + $this->damage = unserialize($this->battle_data['damage']); + // кто драчуется? + $this->battle = unserialize($this->battle_data['teams']); + + // режем тимзы + $this->t1 = explode(";",$this->battle_data['t1']); + $this->t2 = explode(";",$this->battle_data['t2']); + // проставляем кто-где + if (in_array ($enemy,$this->t1)) { + $this->my_class = "B1"; + $this->en_class = "B2"; + $this->team_mine = $this->t1; + $this->team_enemy = $this->t2; + } else { + $this->my_class = "B2"; + $this->en_class = "B1"; + $this->team_mine = $this->t2; + $this->team_enemy = $this->t1; + } + + + // проверяем прафильность + $en1att = mt_rand(1,4); + $en2att = mt_rand(1,4); + $en1b = mt_rand(1,4); + $en2b = mt_rand(1,4); + + // х-ки драчующихся + $mf = $this->solve_mf($enemy,$enemy2,$en1att,$en2att); + + //echo $this->GetWeaponType($this->enemyhar['weap']); + // проверяем кто куда попал + // удар по мне + if ($this->GetChance($mf['my']['uvorot'])) + { + // я увернулся; + $this->AddToLog ($this->razmen_log("uvorot",$en2att,$this->GetWeaponType($this->enemyhar['weap']),0,$enemy2,$this->en_class,$enemy,$this->my_class,0,0)); + } + elseif($this->GetChance($mf['he']['krit'])) { + // меня кританули + $this->damage[$enemy2] += ($mf['he']['udar']*2); + $this->AddToLog ($this->razmen_log("krit",$en2att,$this->GetWeaponType($this->enemyhar['weap']),($mf['he']['udar']*2),$enemy2,$this->en_class,$enemy,$this->my_class,($this->user['hp']-$mf['he']['udar']*2),$this->user['maxhp'])); + mysql_query('UPDATE bots SET `hp` = `hp` - '.($mf['he']['udar']*2).' WHERE `id` = '.$enemy.''); + } + elseif($this->GetBlock ($en2att,$en1b)) { + // противник попал куда надо + $this->damage[$enemy2] += ($mf['he']['udar']); + $this->AddToLog ($this->razmen_log("udar",$en2att,$this->GetWeaponType($this->enemyhar['weap']),$mf['he']['udar'],$enemy2,$this->en_class,$enemy,$this->my_class,($this->user['hp']-$mf['he']['udar']),$this->user['maxhp'])); + mysql_query('UPDATE bots SET `hp` = `hp` - '.($mf['he']['udar']).' WHERE `id` = '.$enemy.''); + } + else { + // противник мазила + $this->AddToLog ($this->razmen_log("block",$en2att,$this->GetWeaponType($this->enemyhar['weap']),0,$enemy2,$this->en_class,$enemy,$this->my_class,0,0)); + } + + + // удар по противнику + if ($this->GetChance($mf['he']['uvorot'])) + { + // он увернулся; + $this->AddToLog ($this->razmen_log("uvorot",$en1att,$this->GetWeaponType($this->user['weap']),0,$enemy,$this->my_class,$enemy2,$this->en_class,0,0)); + } + elseif($this->GetChance($mf['my']['krit'])) { + // его кританули + $this->damage[$enemy] += ($mf['me']['udar']*2); + $this->AddToLog ($this->razmen_log("krit",$en1att,$this->GetWeaponType($this->user['weap']),($mf['me']['udar']*2),$enemy,$this->my_class,$enemy2,$this->en_class,($this->enemyhar['hp']-$mf['me']['udar']*2),$this->enemyhar['maxhp'])); + + mysql_query('UPDATE `bots` SET `hp` = `hp` - '.($mf['me']['udar']*2).' WHERE `id` = '.$enemy2.''); + + } + elseif($this->GetBlock ($en1att,$en2b)) { + // я попал куда надо + $this->damage[$enemy] += ($mf['me']['udar']); + $this->AddToLog ($this->razmen_log("udar",$en1att,$this->GetWeaponType($this->user['weap']),$mf['me']['udar'],$enemy,$this->my_class,$enemy2,$this->en_class,($this->enemyhar['hp']-$mf['me']['udar']),$this->enemyhar['maxhp'])); + + mysql_query('UPDATE `bots` SET `hp` = `hp` - '.($mf['me']['udar']).' WHERE `id` = '.$enemy2.''); + + } + else { + // я мазила + $this->AddToLog ($this->razmen_log("block",$attack,$this->GetWeaponType($this->user['weap']),0,$enemy,$this->my_class,$enemy2,$this->en_class,0,0)); + } + $this->write_log(); + $this->UpdateBattle (); + + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".(time())."' WHERE `id` = ".$this->battle_data['id']." LIMIT 1;"); +} + + } + + + + + + + } + + $bots = mysql_query ('SELECT * FROM `bots` WHERE `hp` > 0;'); + + $bb = new botbattle; + while ($bot = mysql_fetch_array($bots)) { + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$bot['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + // листаем противников, делаем размен. + if ($battle[$bot['id']]) { + foreach ($battle[$bot['id']] as $k => $v) { + if($battle[$bot['id']][$k][0] == 0 && $k > _BOTSEPARATOR_) { + //echo("Bots:".$bot['id']."vs".$k."
    "); + //srand(microtime(true)); + $bb->InitRazmen($bot['id'],$k,$bot['battle']); + } + } + } + //mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\' WHERE `id` = '.$bot['battle'].' ;'); + } + + //==================================================================================== +/* +$mtime = microtime(); +$mtime = explode(" ",$mtime); +$mtime = $mtime[1] + $mtime[0]; +//Записываем время окончания в другую переменную +$tend = $mtime; +//Вычисляем разницу +$totaltime = ($tend - $tstart); +//Выводим не экран +printf ("PGT: %f секунд", $totaltime); */ + + +//cron pole +//15 минут до старта Поля Чудес + $pole_time=mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE var='pole_random';")); + $tp=time(); + if($tp<=$pole_time['value']) +{ + $p_wait=round((($pole_time['value']-$tp)/60),1); + //if($p_wait<5) + //{ AddChatSystem ('Через '.$p_wait.' минут на Поле Чудес вырастет очередной урожай кредитов и еврокредитов.'); } +} + +include('pole_cron.php'); +?> \ No newline at end of file diff --git a/cron_bots.php b/cron_bots.php new file mode 100644 index 0000000..09e442a --- /dev/null +++ b/cron_bots.php @@ -0,0 +1,73 @@ + 0 || mysql_num_rows($r2) > 0) { include('fbattle.php'); } +$battles = array(); +while($rec = mysql_fetch_assoc($r)) { + $fbattles = new fbattle($rec['id']); + foreach($fbattles->battle as $k => $v) { + if($k > _BOTSEPARATOR_) { + foreach($v as $k2 => $v2) { + if($k2 < _BOTSEPARATOR_) continue; + $hp_1 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $hp_2 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k2.'" LIMIT 1')); + if($fbattles->battle[$k][$k2][0] && $fbattles->battle[$k2][$k][0] && $hp_1['hp'] > 0 && $hp_2['hp'] > 0) { + $at_1 = $fbattles->battle[$k][$k2][0]; + $def_1 = $fbattles->battle[$k][$k2][1]; + $at_2 = $fbattles->battle[$k2][$k][0]; + $def_2 = $fbattles->battle[$k2][$k][1]; + $fbattles->makechange($k, $k2, $at_1, $at_2, $def_1, $def_2); + $fbattles->write_log(); + $fbattles->battle[$k][$k2] = array(0, 0, time()); + $fbattles->battle[$k2][$k] = array(0, 0, time()); + $fbattles->needupdate = 1; + if($cond) { $tocond .= " OR "; } + $battles[$rec['id']] = 1; + } + } + } + } + if($fbattles->needupdate) { $fbattles->UpdateBattle(); } +} + +while($rec = mysql_fetch_assoc($r2)) { + $fbattles = new fbattle($rec['id']); + foreach($fbattles->battle as $k => $v) { + if($k > _BOTSEPARATOR_) { + foreach($v as $k2 => $v2) { + if($k2 > _BOTSEPARATOR_) continue; + $hp_1 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $hp_2 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k2.'" LIMIT 1')); + if($hp_1['hp'] > 0 && $hp_2['hp'] > 0) { + $at_1 = $fbattles->battle[$k][$k2][0]; + $def_1 = $fbattles->battle[$k][$k2][1]; + $at_2 = $fbattles->battle[$k2][$k][0]; + $def_2 = $fbattles->battle[$k2][$k][1]; + $fbattles->makechange($k, $k2, $at_1, $at_2, $def_1, $def_2); + $fbattles->write_log(); + $fbattles->battle[$k][$k2] = array(0, 0, time()); + $fbattles->battle[$k2][$k] = array(0, 0, time()); + $fbattles->needupdate = 1; + if($cond) { $tocond .= " or "; } + $battles[$rec['id']] = 1; + } + } + } + } + if($fbattles->needupdate) { $fbattles->UpdateBattle(); } +} + +$cond = ''; +foreach($battles as $k => $v) { + if($cond) { $cond .= " OR "; } + $cond .= " `id` = '$k' "; +} +if($cond) { + mysql_query("UPDATE `battle` SET `to1` = ".time().", `to2` = ".time()." WHERE $cond"); +} \ No newline at end of file diff --git a/cron_bots__battle.php b/cron_bots__battle.php new file mode 100644 index 0000000..7b0dca9 --- /dev/null +++ b/cron_bots__battle.php @@ -0,0 +1,1542 @@ +user = $user; + + if($battle_id > 0) { + $this->status = 1; + $this->battle_data = mysql_fetch_array(mysql_query("SELECT `id`, `coment`, `teams`, `timeout`, `razmen_time`, `type`, `status`, `t1`, `t2`, `date`, `time_m`, `win`, `damage`, `to1`, `to2`, `exp`, `blood`, `t1hist`, `t2hist`, `magic`, `open`, `close`, `protivnik`, `protivnik_type`, `dungeon_bot`, `dn_id`, `aren_of`, `needbb`, `clone`, `fiz` FROM `battle` WHERE `id` = '{$battle_id}' LIMIT 1")); + $this->GetUserTeam(); + $this->damage = unserialize($this->battle_data['damage']); + $this->magic = unserialize($this->battle_data['magic']); + $this->battle = unserialize($this->battle_data['teams']); + $this->exp = unserialize($this->battle_data['exp']); + $this->to1 = $this->battle_data['to1']; + $this->to2 = $this->battle_data['to2']; + + ####################### + $bit1 = 0; $bit2 = 0; + foreach($this->battle as $k => $v) { + if($k < _BOTSEPARATOR_) continue; + $bot['id'] = $k; + if(in_array($k, $this->t1)) { + if(count($v) < count($this->t2)) { + foreach($this->t2 as $k2 => $v2) { + $this->battle[$k][$v2] = array(0, 0, time()); + } + } + $bit1 = 1; + } + if(in_array($k, $this->t2)) { + if(count($v) < count($this->t1)) { + foreach($this->t1 as $k2 => $v2) { + $this->battle[$k][$v2] = array(0, 0, time()); + } + } + $bit2 = 1; + } + foreach($this->battle[$bot['id']] as $k => $v) { + if($this->battle[$bot['id']][$k][0] == 0) { + $this->battle[$bot['id']][$k] = array(rand(2, 3), rand(2, 3), time()); + if($this->battle[$k][$bot['id']][0] != 0 && $k < _BOTSEPARATOR_) { + $this->battle[$k][$bot['id']] = array(0, 0, time()); + } + if($k > _BOTSEPARATOR_) { + $this->needupdate = 1; + } + } + if($this->battle[$k][$bot['id']][0] == 0 && $k < _BOTSEPARATOR_) { + if(in_array($user['id'], array_keys($this->battle[$bot['id']]))) { + if($this->my_class == 'B2') { + if($this->to2 <= $this->to1) { + $endr = ((time()-$this->to2) > $this->battle_data['timeout']*60); + } + } else { + if($this->to2 >= $this->to1) { + $endr = ((time()-$this->to1) > $this->battle_data['timeout']*60); + } + } + } + } + if($endr && !$uje && 0) { + if($user['caveleader'] > 0) { + $this->needrefresh = 1; + } + $this->needupdate = 1; + $this->needrefresh = 1; + $uje = true; + $this->AddToLog("".date("H:i")." Бой закончен по таймауту.
    "); + foreach($this->battle[$bot['id']] as $k => $v) { + if($k > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `hp`, `prototype` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $us['hp'] = $bots['hp']; + $b = mysql_fetch_array(mysql_query('SELECT `id`, `level` FROM `users` WHERE `id` = "'.$bots['prototype'].'" LIMIT 1')); + $us['level'] = $b['level']; + } else { + $us = mysql_fetch_array(mysql_query('SELECT `hp`, `level` FROM `users` WHERE `id` = "'.$k.'" LIMIT 1')); + } + if($us && (int)$us['hp'] > 0 && $us['level'] > 6) { + $tr = settravma($k, 0, 86400, 1); + if($k < _BOTSEPARATOR_ && $tr) { + $this->AddToLog(''.date("H:i").' '.nick7($k).' получил повреждение: '.$tr.'
    '); + } + } + } + foreach($this->battle[$bot['id']] as $k => $v) { + $this->user[$k]['hp'] = 0; + mysql_query('UPDATE `users` SET `hp` = 0, `fullhptime` = '.time().' WHERE `id` = "'.$k.'"'); + } + } + } + } + $bb = ($bit1+$bit2); + if($this->battle_data['needbb'] != $bb) { + mysql_query("UPDATE `battle` SET `needbb` = '$bb' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } + + ####################### + + if($_POST['enemy'] > 0 && (int)$_POST['attack'] > 0 && (int)$_POST['defend'] > 0) { + $this->InitRazmen($_POST['enemy'], $_POST['attack'], $_POST['defend']); + $this->magic[$user['id']] = 0; + mysql_query("UPDATE `battle` SET `magic` = '".serialize($this->magic)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + header("Location: fbattle.php"); + } else { + $this->GetUserTeam(); + $this->FastDeath(); + $this->enemy = $this->SelectEnemy(); + if($this->enemy) { + $this->return = 1; + } else { + if($this->GetTimeout() && (int)$this->user['hp'] > 0 && !$_POST['victory_time_out2']) { + $this->return = 3; + } else { + $this->magic[$user['id']] = 0; + mysql_query("UPDATE `battle` SET `magic` = '".serialize($this->magic)."' WHERE `id` = '{$this->battle_data['id']}' LIMIT 1"); + $this->return = 2; + } + } + } + + if($_POST['victory_time_out2']) { + $this->end_draft(); + } + + if($_POST['victory_time_out']) { + $this->end_gora(); + } + + if($this->battle_end()) { + $this->return = 2; + } + + $this->write_log(); + return $this->return; + } else { + $this->status = 0; + } + } + + function getmfs($mf, $antimf) { + $vsh = 5 + (($mf - $antimf) / 3); + if($vsh <= 0) { + $final = 0; + } else { + $final = 70 + ($vsh / 100); + } + return $final; + } + + function chanse($p) { + if($p > mt_rand(1, 100)) { + return true; + } else { + return false; + } + } + + function get_info_by_id($id) { + $valid_login = mysql_query('SELECT `id`, `login`, `align`, `level`, `sila`, `lovk`, `inta`, `vinos`, `intel`, `maxhp`, `weap`, `noj`, `dubina`, `topor`, `mec`, `ubron1`, `ubron2`, `ubron3`, `ubron4`, `bot` FROM `users` WHERE `id` = "'.$id.'" AND `bot` = 0 LIMIT 1'); + if(mysql_num_rows($valid_login) == 1) { + $user_info = mysql_fetch_array($valid_login); + } else { + $prototype = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `prototype`, `battle`, `hp` FROM `bots` WHERE `id` = "'.$id.'" LIMIT 1')); + $user_info = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align`, `level`, `sila`, `lovk`, `inta`, `vinos`, `intel`, `maxhp`, `weap`, `noj`, `dubina`, `topor`, `mec`, `ubron1`, `ubron2`, `ubron3`, `ubron4`, `bot` FROM `users` WHERE `id` = "'.$prototype['prototype'].'" LIMIT 1')); + } + return $user_info; + } + + function get_wep_type($idwep) { + if($idwep == 0 || $idwep == null || $idwep == '') { + return "kulak"; + } + $wep = mysql_fetch_array(mysql_query('SELECT `otdel`, `minu` FROM `inventory` WHERE `id` = "'.$idwep.'" LIMIT 1')); + if($wep[0] == '1') { + return "noj"; + } elseif($wep[0] == '12') { + return "dubina"; + } elseif($wep[0] == '11') { + return "topor"; + } elseif($wep[0] == '13') { + return "mech"; + } elseif($wep[0] == '52') { + return "posoh"; + } elseif($wep[1] > 0) { + return "buket"; + } else { + return "kulak"; + } + } + + function get_chanse($persent) { + $mm = 1000000; + if(mt_rand($mm, 100*$mm) <= $persent*$mm) { + return true; + } else { + return false; + } + } + + function get_block($who, $where_atack, $whom, $where_defend) { + $blocks = array('1' => array(1, 2), '2' => array(2, 3), '3' => array(3, 4), '4' => array(4, 1)); + if(!in_array($where_atack, $blocks[$where_defend])) { + return true; + } else { + return false; + } + } + + function add_log($text) { + $this->log .= $text; + } + + function battle_end() { + global $caverooms, $user, $cavebots, $party, $rep; + if($this->battle_data) { + $ss = @array_keys($this->battle); + + $t1life = 0; $t2life = 0; + + foreach($this->t1 as $k => $v) { + if(in_array($v, array_keys($this->battle))) { + $t1life++; + } + } + + foreach($this->t2 as $k => $v) { + if(in_array($v, array_keys($this->battle))) { + $t2life++; + } + } + + if($t2life == 0 || $t1life == 0) { + $charge = mysql_fetch_array(mysql_query('SELECT `win` FROM `battle` WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1')); + } + + if(($t2life == 0 || $t1life == 0) && ($charge[0] == 3 || $charge[0] == 9)) { + + mysql_query("UPDATE `battle` SET `win` = 0 WHERE `id` = '{$this->battle_data['id']}' LIMIT 1"); + + foreach($this->t1 as $k => $v) { + $nks1[] = nick7($v); + $nks1hist[] = nick3($v); + } + + foreach($this->t2 as $k => $v) { + $nks2[] = nick7($v); + $nks2hist[] = nick3($v); + } + + if(in_array($ss[0], $this->t1)) { + $flag = 1; + foreach($this->t1 as $k => $v) { + mysql_query('UPDATE `battle` SET `win` = 1 WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1'); + + $this->t1[$k] = nick5($v, " "); + + if($this->battle_data['aren_of'] == 1 && $this->t1[$k] && $v < _BOTSEPARATOR_) { + mysql_query('INSERT INTO `logs_arena` (`battle`, `user`, `uid`, `damage`, `team`) VALUES ("'.$this->battle_data['id'].'", "'.$this->t1[$k].'", "'.$v.'", "'.$this->damage[$v].'", "1")'); + } + + if($this->user['in_tower'] > 0) { + + } + + if($this->user['x'] != 0 || $this->user['y'] != 0 && $this->user['laba'] > 0) { + $lobj = mysql_fetch_array(mysql_query('SELECT * FROM `laba_obj` WHERE `lib` = "'.$this->user['laba'].'" AND `x` = "'.$this->user['x'].'" AND `y` = "'.$this->user['y'].'" LIMIT 1')); + if(isset($lobj['id'])) { + $q2 = mysql_fetch_array(mysql_query('SELECT * FROM `qst_user` WHERE `uid` = "'.$this->user['id'].'" AND `cancel` = "0" AND `finish` = "0" LIMIT 1')); + if(isset($q2['id'])) { + $q1 = mysql_fetch_array(mysql_query('SELECT * FROM `qst` WHERE `id` = "'.$q2['qid'].'" LIMIT 1')); + if($q1['type'] == 3) { + $jobs = 0; + $sp = mysql_query('SELECT * FROM `bots` WHERE `battle` = "'.$this->battle_data['id'].'"'); + while($pl = mysql_fetch_array($sp)) { + if($q1['obj_id'] == $pl['prototype']) { + $jobs++; + } + } + mysql_query('UPDATE `qst_user` SET `val` = "'.($q2['val'] + $jobs).'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + } + } + mysql_query('UPDATE `laba_obj` SET `use` = "'.time().'" WHERE `lib` = "'.$lobj['lib'].'" AND `x` = "'.$lobj['x'].'" AND `y` = "'.$lobj['y'].'"'); + } + } + + $this->exp[$v] = round($this->exp[$v]); + $dop_exp = check_proc($this->user['id']); + if($dop_exp > 100) { + $add = ($dop_exp-100); + $this->exp[$v] += round(($this->exp[$v]*$add)/100, 0); + } + + if($user['caveleader'] > 0 || $user['laba'] > 0) { + if($this->damage[$v] > 1) { + $this->exp[$v] = mt_rand(5, 10); + } else { + $this->exp[$v] = 0; + } + } + + if(empty($this->damage[$v])) { + $this->damage[$v] = 0; + } + + if($user['caveleader'] > 0 || $user['laba'] > 0) { + $rep = floor($this->damage[$v]/300); + if($rep <= 0) { + $rep = 0; + } + $ads = '. Репутации: '.$rep.' ед.'; + } else { + $rep = 0; + $ads = '.'; + } + + if($this->battle_data['clone'] == 1 && $this->battle_data['fiz'] == 0) { + addActions(time(), 'kill_clone', 0, $this->user['id']); + } + + if($this->battle_data['type'] == 3) { + addActions(time(), 'win_haot', 0, $this->user['id']); + } + + if($this->battle_data['fiz'] == 1) { + addActions(time(), 'win_fiz', 0, $this->user['id']); + } + + addchp('Внимание! Победа! Бой окончен. Всего вами нанесено урона : '.$this->damage[$v].' HP. Получено опыта : '.$this->exp[$v].' ('.$dop_exp.'%)'.$ads.' ', '{[]}'.nick7 ($v).'{[]}'); + + mysql_query('UPDATE `users` SET `win` = (`win` +1), `fullhptime` = '.time().' WHERE `id` = "'.$v.'"'); + GiveExp($v, $this->exp[$v]); + if($user['caveleader'] > 0 || $user['laba'] > 0) { + GiveRep($v, $rep); + } + if($user['klan']) { + mysql_query('UPDATE `clans` SET `clanexp` = (`clanexp`+'.(int)$this->exp[$user['id']].') WHERE `id` = "'.$v[$user['klan']].'" LIMIT 1'); + } + + } + $winers .= implode(", ", $this->t1); + $lomka = $this->t2; + include('cave/win.php'); + } elseif(in_array($ss[0], $this->t2)) { + $flag = 2; + foreach($this->t2 as $k => $v) { + mysql_query('UPDATE `battle` SET `win` = 2 WHERE `id` = "'.$this->user['battle'].'" LIMIT 1'); + $this->t2[$k] = nick5($v, ""); + + if($this->battle_data['aren_of'] == 1 && $this->t2[$k] && $v < _BOTSEPARATOR_) { + mysql_query('INSERT INTO `logs_arena` (`battle`, `user`, `uid`, `damage`, `team`) VALUES ("'.$this->user['battle'].'", "'.$this->t1[$k].'", "'.$v.'", "'.$this->damage[$v].'", "2")'); + } + + if($this->user['laba'] > 0) { + mysql_query('UPDATE `users` SET `x` = "'.$this->user['xf'].'", `y` = "'.$this->user['yr'].'" WHERE `id` = "'.$this->user['id'].'" LIMIT 1'); + } + + $this->exp[$v] = round($this->exp[$v]); + $dop_exp = check_proc($this->user['id']); + if($dop_exp > 100) { + $add = ($dop_exp-100); + $this->exp[$v] += round(($this->exp[$v]*$add)/100, 0); + } + + if($user['caveleader'] > 0 || $user['laba'] > 0) { + if($this->damage[$v] > 1) { + $this->exp[$v] = mt_rand(5, 10); + } else { + $this->exp[$v] = 0; + } + } + + if($this->battle_data['clone'] == 1 && $this->battle_data['fiz'] == 0) { + addActions(time(), 'kill_clone', 0, $this->user['id']); + } + + if($this->battle_data['type'] == 3) { + addActions(time(), 'win_haot', 0, $this->user['id']); + } + + if($this->battle_data['fiz'] == 1) { + addActions(time(), 'win_fiz', 0, $this->user['id']); + } + + if(in_array($user['room'], $caverooms)) { + $location = mysql_fetch_array(mysql_query("SELECT `x`, `y`, `dir` FROM `caveparties` WHERE `user` = '".$this->user['id']."' LIMIT 1")); + if($location['dir'] == 0) { $y = $location['y']*2; $x = ($location['x']-1)*2; } + if($location['dir'] == 1) { $y = ($location['y']-1)*2; $x = $location['x']*2; } + if($location['dir'] == 2) { $y = $location['y']*2; $x = ($location['x']+1)*2; } + if($location['dir'] == 3) { $y = ($location['y']+1)*2; $x = $location['x']*2; } + mysql_query("UPDATE `cavebots` SET `battle` = 0 WHERE `battle` = '".$this->battle_data['id']."'"); + } + + addchp('Внимание! Победа! Бой окончен. Всего вами нанесено урона : '.(int)$this->damage[$v].' HP. Получено опыта '.$this->exp[$v].' ('.$dop_exp.'%). ','{[]}'.nick7 ($v).'{[]}'); + + mysql_query('UPDATE `users` SET `win` = (`win`+1), `fullhptime` = '.time().' WHERE `id` = "'.$v.'"'); + GiveExp($v, $this->exp[$v]); + } + + $winers .= implode(", ", $this->t2); + $lomka = $this->t1; + } else { + if(in_array($user['room'], $caverooms)) { + $location = mysql_fetch_array(mysql_query("SELECT `x`, `y`, `dir` FROM `caveparties` WHERE `user` = '".$this->user['id']."' LIMIT 1")); + if($location['dir'] == 0) { $y = $location['y']*2; $x = ($location['x']-1)*2; } + if($location['dir'] == 1) { $y = ($location['y']-1)*2; $x = $location['x']*2; } + if($location['dir'] == 2) { $y = $location['y']*2; $x = ($location['x']+1)*2; } + if($location['dir'] == 3) { $y = ($location['y']+1)*2; $x = $location['x']*2; } + mysql_query("UPDATE `cavebots` SET `battle` = 0 WHERE `battle` = '".$this->battle_data['id']."'"); + } + + if($this->battle_data['x'] > 0 || $this->battle_data['y'] > 0 && $this->user['laba'] > 0) { + mysql_query('UPDATE `users` SET `x` = "'.$this->user['xf'].'", `y` = "'.$this->user['yr'].'" WHERE `laba` = "'.$this->user['laba'].'" AND `x` = "'.$this->battle_data['x'].'" AND `y` = "'.$this->battle_data['y'].'" AND `battle` = "'.$this->battle_data['id'].'" LIMIT 1'); + } + include("cave/lose.php"); + } + + if($lomka) { + $haos_flag = 0; + foreach($lomka as $k => $v) { + if(mt_rand(1, 6) == 1) { + $us = mysql_query('UPDATE `inventory` SET `duration` = (`duration`+1) WHERE `type` != 12 AND `dressed` = 1 AND `owner` = \''.$v.'\''); + } + + $inv_broken = mysql_query("SELECT * FROM `inventory` WHERE `type` != 12 AND `dressed` = 1 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."')) AND `owner` = '{$v}'"); + while($br = mysql_fetch_array($inv_broken)) { + dropitemid($br['type'], $v); + } + + $its = mysql_query("SELECT `id` FROM `inventory` WHERE `dressed` = 0 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."')) AND `owner` = '{$v}'"); + while($it = mysql_fetch_array($its)) { + mysql_query("DELETE FROM `inventory` WHERE `id` = '".$it['id']."' LIMIT 1"); + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '\"".$it['name']."\" разрушился id : (".$it['id'].").', '1', '".time()."')"); + } + + $this->exp[$v] = 0; + addchp('Внимание! Поражение! Бой окончен. Всего вами нанесено урона : '.(int)$this->damage[$v].' HP. Получено опыта 0.', '{[]}'.nick7 ($v).'{[]}'); + mysql_query('UPDATE `users` SET `lose` = (`lose`+1) WHERE `id` = \''.$v.'\''); + } + } + + foreach($this->t1 as $k => $v) { + $us = mysql_query('SELECT `duration`, `maxdur`, `name` FROM `inventory` WHERE `type` != 12 AND `dressed` = 1 AND `owner` = \''.$v.'\''); + while($rrow = mysql_fetch_row($us)) { + if(($rrow[1]-$rrow[0]) == 1) { + $this->AddToLog(''.date("H:i").' Внимание! У "'.nick7($v).'" предмет "'.$rrow[2].'" в критическом состоянии!
    (на правах рекламы) Ремонтная мастерская . Мы даем вторую жизнь старым вещам!
    '); + } elseif(($rrow[1]-$rrow[0]) == 2) { + $this->AddToLog(''.date("H:i").' Внимание! У "'.nick7($v).'" предмет "'.$rrow[2].'" нуждается в ремонте!
    (на правах рекламы) Ремонтная мастерская . Мы даем вторую жизнь старым вещам!
    '); + } + } + } + + foreach($this->t2 as $k => $v) { + $us = mysql_query('SELECT `duration`, `maxdur`, `name` FROM `inventory` WHERE `type` != 12 AND `dressed` = 1 AND `owner` = \''.$v.'\''); + while($rrow = mysql_fetch_row($us)) { + if(($rrow[1]-$rrow[0]) == 1) { + $this->AddToLog(''.date("H:i").' Внимание! У "'.nick7($v).'" предмет '.$rrow[2].' в критическом состоянии!
    (на правах рекламы) Ремонтная мастерская . Мы даем вторую жизнь старым вещам!
    '); + } elseif(($rrow[1]-$rrow[0]) == 2) { + $this->AddToLog(''.date("H:i").' Внимание! У "'.nick7($v).'" предмет "'.$rrow[2].'" нуждается в ремонте!
    (на правах рекламы) Ремонтная мастерская . Мы даем вторую жизнь старым вещам!
    '); + } + } + } + + if($winers) { + if($this->battle_data['aren_of'] == 1) { + $arr_battle = mysql_fetch_array(mysql_query('SELECT `id`, `win`, `aren_of` FROM `battle` WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1')); + $us_win = mysql_query('SELECT `id`, `user`, `uid`, `team` FROM `logs_arena` WHERE `team` = "'.$arr_battle['win'].'" AND `battle` = "'.$this->battle_data['id'].'" ORDER BY `damage` DESC LIMIT 3'); + while($win = mysql_fetch_array($us_win)) { + $uss .= ', '; + $uss .= $win['user']; + mysql_query('INSERT INTO `effects` (`type`, `name`, `time`, `hp`, `owner`) VALUES ("7", "Эйфория", "'.(time()+60*60*24).'", "200", "'.$win['uid'].'")'); + mysql_query('UPDATE `users` SET `maxhp` = (`maxhp`+200) WHERE `id` = "'.$win['uid'].'" LIMIT 3'); + mysql_query('INSERT INTO `effects` (`type`, `name`, `time`, `proc_exp`, `owner`) VALUES ("6", "Повешенный опыт (200%)", "'.(time()+60*60*24).'", "100", "'.$win['uid'].'")'); + } + + $bad = mysql_query('SELECT `id`, `uid`, `team` FROM `logs_arena` WHERE `team` != "'.$arr_battle['win'].'" AND `battle` = "'.$this->battle_data['id'].'" ORDER BY `damage` DESC LIMIT 3'); + while($give = mysql_fetch_array($bad)) { + mysql_query('INSERT INTO `effects` (`type`, `name`, `time`, `proc_exp`, `owner`) VALUES ("6", "Повешенный опыт (150%)", "'.(time()+60*60*24).'", "50", "'.$give['uid'].'")'); + } + + if($uss != '') { + $uss = ltrim($uss, ', '); + } else { + $uss = '-Игроков не было в бою-'; + } + + if($arr_battle['win'] == 1) { + AddChatSystem("Внимание! Тьма одержала победу благодаря великим воинам : $uss"); + $this->AddToLog(''.date("H:i").' '.'Бой закончен, победа за Силами Тьмы
    '); + } else { + AddChatSystem("Внимание! Свет одержал победу благодаря великим воинам : $uss"); + $this->AddToLog(''.date("H:i").' '.'Бой закончен, победа за Силами Света
    '); + } + mysql_query('UPDATE `variables` SET `value` = "'.$arr_battle['win'].'" WHERE `var` = "arena_win" LIMIT 1'); + mysql_query('UPDATE `battle` SET `aren_of` = 0 WHERE `id` = "'.$arr_battle['id'].'" AND `aren_of` = 1 LIMIT 1'); + } else { + $this->AddToLog(''.date("H:i").' '.'Бой закончен, победа за '.$winers.'
    '); + } + unset($uss); + + if($this->battle_data['blood']) { + $this->AddToLog(''.date("H:i").' ... и победители стали калечить проигравших...
    '); + foreach($lomka as $k => $v) { + if($this->battle_data['blood'] == 2) { + $tr = settravma($v, 13, 86400, 1); + } else{ + $tr = settravma($v, 0, 86400, 1); + } + + if($v < _BOTSEPARATOR_) { + $this->AddToLog(''.date("H:i").' '.nick7($v).' получил повреждение: '.$tr.'
    '); + $inv_broken = mysql_query("SELECT `id`, `type`, `dressed`, `duration`, `maxdur`, `dategoden`, `owner` FROM `inventory` WHERE `type` != 12 AND `dressed` = 1 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."')) AND `owner` = '{$v}'"); + while($br = mysql_fetch_array($inv_broken)) { + dropitemid($br['type'], $v); + } + } + } + } + } else { + if($this->battle_data['aren_of'] == 1) { + AddChatSystem("Внимание! Бой на Арене Ангелов завершился ничьей, на этой недели силы тьмы и света равны."); + mysql_query('UPDATE `variables` SET `value` = 3 WHERE `var` = "arena_win" LIMIT 1'); + mysql_query('UPDATE `battle` SET `aren_of` = 0 WHERE `id` = "'.$arr_battle['id'].'" AND `aren_of` = 1 LIMIT 1'); + } + + $this->AddToLog(''.date("H:i").' '.'Бой закончен. Ничья.
    '); + mysql_query("UPDATE `users` SET `battle` = 0, `nich` = (`nich`+1), `fullhptime` = ".time()." WHERE `battle` = '{$this->user['battle']}'"); + $this->exp = 0; + } + + if($flag == 1) { + $rr = implode("
    , ", $nks1)." и ".implode(", ", $nks2); + } elseif($flag == 2) { + $rr = implode(", ", $nks1)." и ".implode(", ", $nks2).""; + } else { + $rr = implode(", ", $nks1)." и ".implode(", ", $nks2).""; + } + + mysql_query('UPDATE `battle` SET `t1hist` = \''.implode(", ", $nks1hist).'\', `t2hist` = \''.implode(", ", $nks2hist).'\' WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1'); + mysql_query('UPDATE `battle` SET `exp` = \''.serialize($this->exp).'\' WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = 0, `fullhptime` = '".time()."' WHERE `battle` = '{$this->battle_data['id']}'"); + unset($this->battle); + return true; + } + } + return false; + } + + function end_gora() { + if($this->GetTimeout()) { + foreach($this->team_mine as $v) { + if(in_array($v, array_keys($this->battle))) { + $vvv = $v; + } + } + $this->AddToLog("".date("H:i")." Бой закончен по таймауту.
    "); + + foreach($this->team_enemy as $v => $k) { + if($k > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $us['hp'] = $bots['hp']; + } else { + $us = mysql_fetch_array(mysql_query('SELECT `hp` FROM `users` WHERE `id` = "'.$k.'" LIMIT 1')); + } + + if($us && (int)$us['hp'] > 0) { + if(!$this->battle_data['blood']) { + $tr = settravma($k, 0, 86400, 1); + if($k < _BOTSEPARATOR_) { + $this->AddToLog(''.date("H:i").' '.nick7($k).' получил повреждение: '.$tr.'
    '); + } + } + } + } + + foreach($this->team_enemy as $v => $k) { + mysql_query('UPDATE `users` SET `hp` = 0, `fullhptime` = '.time().' WHERE `id` = "'.$k.'"'); + } + header("Location: ".$_SERVER['PHP_SELF']."?batl=".$this->user['battle']); + } + } + + function end_draft() { + if(!$this->user['in_tower']) { + if($this->GetTimeout()) { + $this->battle = null; + mysql_query("UPDATE `users` SET `battle` = 0, `nich` = (`nich`+1), `fullhptime` = ".time()." WHERE `battle` = {$this->battle_data['id']}"); + mysql_query("UPDATE `battle` SET `win` = 0 WHERE `id` = '{$this->battle_data['id']}' LIMIT 1"); + $this->AddToLog("".date("H:i")." Бой закончен по таймауту. Ничья.
    "); + $this->exp = 0; + $this->write_log(); + } + } + } + + function FastDeath() { + if($this->battle) { + foreach($this->battle as $k => $v) { + if($k > _BOTSEPARATOR_) { + $bot = mysql_fetch_array(mysql_query("SELECT `hp`, `battle`, `prototype` FROM `bots` WHERE `id` = '{$k}' LIMIT 1")); + $us = mysql_fetch_array(mysql_query("SELECT `maxhp`, `sex` FROM `users` WHERE `id` = '{$bot['prototype']}' LIMIT 1")); + $us['hp'] = $bot['hp']; + $us['battle'] = $bot['battle']; + } else { + $us = mysql_fetch_array(mysql_query("SELECT `hp`, `maxhp`, `sex`, `battle` FROM `users` WHERE `id` = '{$k}' LIMIT 1")); + } + + if($us['hp'] <= 0) { + if($us['sex'] == 1) { + $this->AddToLog(''.date("H:i").' '.nick5($k, 'b').' умер!
    '); + } else { + $this->AddToLog(''.date("H:i").' '.nick5($k, 'b').' погибла!
    '); + } + + if($k < _BOTSEPARATOR_) { + mysql_query("UPDATE `users` SET `hp` = 0, `fullhptime` = '".time()."' WHERE `id` = '{$k}' LIMIT 1"); + } else { + mysql_query("UPDATE `bots` SET `hp` = 0 WHERE `id` = '{$k}' LIMIT 1"); + } + + foreach($this->battle as $kak => $vav) { + unset($this->battle[$kak][$k]); + } + unset($this->battle[$k]); + } + + if($k == null ) { + foreach($this->battle as $kak => $vav) { + unset($this->battle[$kak][$k]); + } + } + + if($us['battle'] == 0) { + foreach($this->battle as $kak => $vav) { + unset($this->battle[$kak][$k]); + } + unset($this->battle[$k]); + } + unset($us); + } + $this->UpdateBattle(); + } + } + + function gen_color($u, $enemy) { + $this->t1 = explode(";", $this->battle_data['t1']); + $this->t2 = explode(";", $this->battle_data['t2']); + $c = array(); + if(in_array($u, $this->t1)) { + $c['me'] = "B1"; + $c['he'] = "B2"; + } else { + $c['me'] = "B2"; + $c['he'] = "B1"; + } + return $c; + } + + function GetUserTeam() { + $this->t1 = explode(";", $this->battle_data['t1']); + $this->t2 = explode(";", $this->battle_data['t2']); + + if(in_array($this->user['id'], $this->t1)) { + $this->my_class = "B1"; + $this->en_class = "B2"; + $this->team_mine = $this->t1; + $this->team_enemy = $this->t2; + } else { + $this->my_class = "B2"; + $this->en_class = "B1"; + $this->team_mine = $this->t2; + $this->team_enemy = $this->t1; + } + } + + function init_botRazmen($uid, $enemy, $attack, $defend) { + $RazmenValues = array(1, 2, 3, 4); + $hp_1 = mysql_fetch_array(mysql_query('SELECT `id`, `hp`, `prototype` FROM `bots` WHERE `id` = "'.$uid.'" LIMIT 1')); + $maxhp_1 = mysql_fetch_array(mysql_query('SELECT `maxhp` FROM `users` WHERE `id` = "'.$hp_1['prototype'].'" LIMIT 1')); + $hp_2 = mysql_fetch_array(mysql_query('SELECT `id`, `hp`, `prototype` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + $maxhp_2 = mysql_fetch_array(mysql_query('SELECT `maxhp` FROM `users` WHERE `id` = "'.$hp_2['prototype'].'" LIMIT 1')); + $color = $this->gen_color($uid, $enemy); + if(in_array($attack, $RazmenValues) && in_array($defend, $RazmenValues) && $enemy && $hp_1['hp'] > 0) { + if($this->battle[$enemy][$uid][0] > 0) { + $this->AddToLogBot($this->GetComment()); + $mf = $this->solve_mfs($uid, $enemy, $attack); + + $uvorotme = $this->chanse($mf['me']['chanse']); + $krithe = $this->chanse($mf['he']['chanse_krit']); + if($uvorotme && !$krithe) { + $uve = 1; + } elseif(!$uvorotme && $krithe) { + $uve = 2; + } elseif($uvorotme && $krithe) { + $uve = rand(1, 2); + } else { + $uve = 0; + } + + if($uve == 1) { + $this->AddToLogBot($this->razmen_log("uvorot", $this->battle[$enemy][$uid][0], $this->GetWeaponType($this->enemyhar['weap']), 0, $enemy, $color['he'], $uid, $color['me'], 0, 0)); + } elseif($uve == 2) { + if($this->GetBlock("me", $this->battle[$enemy][$uid][0], $defend, $enemy)) { + $hs = 1; $m = 'a'; + } else { + $hs = 2; $m = ''; + } + $yron = $mf['he']['udar']*$hs; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$uid.'" LIMIT 1')); + if($us['hp'] < $yron) { + $yron = $us['hp']; + } + $this->damage[$enemy] += $yron; + $jv = ($hp_1['hp']-$yron); + $this->exp[$enemy] += SolveExp($enemy, $uid, $yron); + $this->AddToLogBot($this->razmen_log("krit".$m, $this->battle[$enemy][$uid][0], $this->GetWeaponType($this->enemyhar['weap']), $yron, $enemy, $color['he'], $uid, $color['me'], ($hp_1['hp']-$yron), $maxhp_2['maxhp'])); + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$uid.'" LIMIT 1'); ### Maybe not limited + } elseif(!$this->GetBlock("me", $this->battle[$enemy][$uid][0], $defend, $enemy)) { + $yron = $mf['he']['udar']; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$uid.'" LIMIT 1')); + if($us['hp'] < $yron) { + $yron = $us['hp']; + } + $jv = ($hp_1['hp']-$yron); + $this->AddToLogBot($this->razmen_log("udar", $this->battle[$enemy][$uid][0], $this->GetWeaponType($this->enemyhar['weap']), $yron, $enemy, $color['he'], $uid, $color['me'], ($hp_1['hp']-$yron), $maxhp_2['maxhp'])); + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$uid.'" LIMIT 1'); + } else { + $this->AddToLogBot($this->razmen_log("block", $this->battle[$enemy][$uid][0], $this->GetWeaponType($this->enemyhar['weap']), 0, $enemy, $color['he'], $uid, $color['me'], 0, 0)); + } + + $uvorothe = $this->chanse($mf['he']['chanse']); + $kritme = $this->chanse($mf['me']['chanse_krit']); + if($uvorothe && !$kritme) { + $uve = 1; + } elseif(!$uvorothe && $kritme) { + $uve = 2; + } elseif($uvorothe && $kritme) { + $uve = rand(1, 2); + } else { + $uve = 0; + } + + if($uve == 1) { + $this->AddToLogBot($this->razmen_log("uvorot", $attack, $this->GetWeaponType($this->user['weap']), 0, $uid, $color['me'], $enemy, $color['he'], 0, 0)); + } elseif($uve == 2) { + if($this->GetBlock("he", $attack, $this->battle[$enemy][$uid][1], $enemy)) { + $hs = 1; $m = 'a'; + } else { + $hs = 2; $m = ''; + } + $yron = $mf['me']['udar']*$hs; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + if($us['hp'] < $yron) { + $yron = $us['hp']; + } + $this->AddToLogBot($this->razmen_log("krit".$m, $attack, $this->GetWeaponType($this->user['weap']), $yron, $uid, $color['me'], $enemy, $color['he'], ($this->enemyhar['hp']-$yron), $this->enemyhar['maxhp'])); + + if($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } else { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } + + } elseif(!$this->GetBlock("he", $attack, $this->battle[$enemy][$uid][1], $enemy)) { + $yron = $mf['me']['udar']; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + if($us['hp'] < $yron) { + $yron = $us['hp']; + } + $this->AddToLogBot($this->razmen_log("udar", $attack, $this->GetWeaponType($this->user['weap']), $yron, $uid, $color['me'], $enemy, $color['he'], ($this->enemyhar['hp']-$yron), $this->enemyhar['maxhp'])); + if($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } else { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } + } else { + $this->AddToLogBot($this->razmen_log("block", $attack, $this->GetWeaponType($this->user['weap']), 0, $uid, $color['me'], $enemy, $color['he'], 0, 0)); + } + + $this->battle[$enemy][$uid] = array(0, 0, time()); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + $this->UpdateBattle(); + } else { + $this->battle[$uid][$enemy] = array($attack, $defend, time()); + if($this->my_class == "B1" && $jv > 0) { + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".(time()-1)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } elseif($jv > 0) { + mysql_query("UPDATE `battle` SET `to2` = '".time()."', `to1` = '".(time()-1)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } else { + mysql_query("UPDATE `battle` SET `to2` = '".time()."', `to1` = '".(time())."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } + $this->FastDeath(); + $this->UpdateBattle(); + #header('Location: fbattle.php'); + die(); + } + } else { + return false; + } + } + + function InitRazmen($enemy, $attack, $defend) { + $RazmenValues = array(1, 2, 3, 4); $DefValues = array(1, 2, 3, 4); + if(in_array($attack, $RazmenValues) && in_array($defend, $DefValues) && $enemy && $this->user['hp'] > 0) { + + if($this->battle[$enemy][$this->user['id']][0] > 0) { + + $this->AddToLog($this->GetComment()); + $mfs = $this->solve_mfs($this->user['id'], $enemy, $attack); + + $color = $this->gen_color($this->user['id'], $enemy); + if($mfs['me']['chanse'] > 0) { + $uvorotme = $this->chanse($mfs['me']['chanse']); + } else { + $uvorotme = false; + } + + if($mfs['me']['chanse_krit'] > 0) { + $krithe = $this->chanse($mfs['he']['chanse_krit']); + } else { + $krithe = false; + } + + if($uvorotme && !$krithe) { + $uve = 1; + } elseif(!$uvorotme && $krithe) { + $uve = 2; + } elseif($uvorotme && $krithe) { + $uve = rand(1, 2); + } else { + $uve = 0; + } + + if($uve == 1) { + $this->AddToLog($this->razmen_log("uvorot", $this->battle[$enemy][$this->user['id']][0], $this->GetWeaponType($this->enemyhar['weap']), 0, $enemy, $color['me'], $this->user['id'], $color['he'], 0, 0)); + } elseif($uve == 2) { + $this->battle[$enemy][$this->user['id']] = array($attack, $defend, time()); + if($this->get_blocks($this->battle[$this->user['id']][$enemy][0], $this->battle[$enemy][$this->user['id']][1])) { + $hs = 1; $m = 'a'; + } else { + $hs = 2; $m = ''; + } + $yron = $mfs['he']['udar']*$hs; + + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `users` WHERE `id` = "'.$this->user['id'].'" LIMIT 1')); + if($hp_u['hp'] < ($mfs['he']['udar']*$hs)) { + $yron = $hp_u['hp']; + } + + $this->damage[$enemy] += $yron; + $jv = ($this->user['hp']-$yron); + $this->exp[$enemy] += SolveExp($enemy, $this->user['id'], $yron); + $this->AddToLog($this->razmen_log("krit".$m, $this->battle[$this->user['id']][$enemy][0], $this->GetWeaponType($this->enemyhar['weap']), $yron, $enemy, $color['me'], $this->user['id'], $color['he'], ($this->user['hp']-$yron), $this->user['maxhp'])); + + mysql_query('UPDATE `users` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$this->user['id'].'" LIMIT 1'); + + if(!($this->user['align'] == '2' || $this->user['align'] == '8.31')) { + $tmphp = mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id` = {$this->user['id']} LIMIT 1")); + $tmphp = $tmphp['hp']; + if($tmphp <= 0) { + if(mt_rand(0, 100) <= 40 && $this->user['level'] > 6) { + $tr = settravma($this->user['id'], 0, 86400, 0); + if($this->user['id'] < _BOTSEPARATOR_) { + $this->AddToLog(''.date("H:i").' '.nick7($this->user['id']).' получил повреждение: '.$tr.'
    '); + } + } + } + } + } elseif(!$this->get_blocks($this->user['id'], $this->battle[$enemy][$this->user['id']][0], $enemy, $this->battle[$this->user['id']][$enemy][1])) { + $yron = $mfs['he']['udar']; + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `users` WHERE `id` = "'.$this->user['id'].'" LIMIT 1')); + if($hp_u['hp'] < $mfs['he']['udar']) { + $yron = $hp_u['hp']; + } + + $this->damage[$enemy] += $yron; + $jv = ($this->user['hp']-$yron); + $this->exp[$enemy] += SolveExp($enemy, $this->user['id'], $yron); + $this->AddToLog($this->razmen_log("udar", $this->battle[$enemy][$this->user['id']][0], $this->GetWeaponType($this->enemyhar['weap']), $yron, $enemy, $color['me'], $this->user['id'], $color['he'], ($this->user['hp']-$yron), $this->user['maxhp'])); + mysql_query('UPDATE `users` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$this->user['id'].'" LIMIT 1'); + } else { + $this->AddToLog($this->razmen_log("block", $this->battle[$enemy][$this->user['id']][1], $this->GetWeaponType($this->enemyhar['weap']), 0, $enemy, $color['me'], $this->user['id'], $color['he'], 0, 0)); + } + + if($mfs['he']['chanse'] > 0) { + $uvorothe = $this->chanse($mfs['he']['chanse']); + } else { + $uvorothe = false; + } + + if($mfs['me']['chanse_krit'] > 0) { + $kritme = $this->chanse($mfs['me']['chanse_krit']); + } else { + $kritme = false; + } + + if($uvorothe && !$kritme) { + $uve_1 = 1; + } elseif(!$uvorothe && $kritme) { + $uve_1 = 2; + } elseif($uvorothe && $kritme) { + $uve_1 = rand(1, 2); + } else { + $uve_1 = 0; + } + + if($uve_1 == 1) { + $this->AddToLog($this->razmen_log("uvorot", $attack, $this->GetWeaponType($this->user['weap']), 0, $this->user['id'], $color['me'], $enemy, $color['he'], 0, 0)); + } elseif($uve_1 == 2) { + if($this->get_blocks($enemy, $this->battle[$this->user['id']][$enemy][0], $this->user['id'], $this->battle[$enemy][$this->user['id']][1])) { + $hs = 1; $m = 'a'; + } else { + $hs = 2; $m = ''; + } + $yron = $mfs['me']['udar']*$hs; + if($enemy > _BOTSEPARATOR_) { + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + } else { + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `users` WHERE `id` = "'.$enemy.'" LIMIT 1')); + } + if($hp_u['hp'] < $yron) { + $yron = $hp_u['hp']; + } + + $this->damage[$this->user['id']] += $yron; + $this->exp[$this->user['id']] += SolveExp($this->user['id'], $enemy, $yron); + $this->AddToLog($this->razmen_log("krit".$m, $attack, $this->GetWeaponType($this->user['weap']), $yron, $this->user['id'], $color['me'], $enemy, $color['he'], ($this->enemyhar['hp']-$yron), $this->enemyhar['maxhp'])); + + if($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } else { + mysql_query('UPDATE `users` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + + $tmpen = mysql_fetch_array(mysql_query("SELECT `id`, `align`, `hp`, `level` FROM `users` WHERE `id`= '{$enemy}' LIMIT 1")); + if(!($tmpen['align'] == '2' || $tmpen['align'] == '8.31')) { + $tmphp = $tmpen['hp']; + if($tmphp <= 0) { + if(mt_rand(0, 100) <= 40 && $tmpen['level'] > 6) { + $tr = settravma($tmpen['id'], $tmptravma, 86400, 0); + if($tmpen['id'] < _BOTSEPARATOR_) { + $this->AddToLog(''.date("H:i").' '.nick7($tmpen['id']).' получил повреждение: '.$tr.'
    '); + } + } + } + } + } + } elseif($this->get_blocks("he", $this->battle[$this->user['id']][$enemy][0], $this->user['id'], $this->battle[$enemy][$this->user['id']][1])) { + $yron = $mfs['me']['udar']; + if($enemy > _BOTSEPARATOR_) { + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + } else { + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `users` WHERE `id` = "'.$enemy.'" LIMIT 1')); + } + if($hp_u['hp'] < $yron) { + $yron = $hp_u['hp']; + } + $this->damage[$this->user['id']] += $yron; + $this->exp[$this->user['id']] += SolveExp($this->user['id'], $enemy, $yron); + $this->AddToLog($this->razmen_log("udar", $attack, $this->GetWeaponType($this->user['weap']), $yron, $this->user['id'], $color['me'], $enemy, $color['he'], ($this->enemyhar['hp']-$yron), $this->enemyhar['maxhp'])); + + if($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } else { + mysql_query('UPDATE `users` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } + } else { + $this->AddToLog($this->razmen_log("block", $defend, $this->GetWeaponType($this->user['weap']), 0, $this->user['id'], $color['me'], $enemy, $color['he'], 0, 0)); + } + + $this->battle[$enemy][$this->user['id']] = array(0, 0, time()); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$this->user['battle']."' LIMIT 1"); + $this->UpdateBattle(); + + } else { + $this->battle[$this->user['id']][$enemy] = array($attack, $defend, time()); + if($this->my_class == "B1" && $jv > 0) { + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".(time()-1)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } elseif($jv > 0) { + mysql_query("UPDATE `battle` SET `to2` = '".time()."', `to1` = '".(time()-1)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } else { + mysql_query("UPDATE `battle` SET `to2` = '".time()."', `to1` = '".(time())."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } + $this->UpdateBattle(); + header("Location: ".$_SERVER['PHP_SELF'].""); + die(); + } + } else { + return false; + } + } + + function addAction($time, $vars, $vls, $uid = NULL) { + if($uid == NULL) { + $uid = $this->user['id']; + } + $ins = mysql_query('INSERT INTO `actions` (`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`) VALUES ("'.$uid.'", "'.$time.'", "capitalcity", "0", "'.mysql_real_escape_string($vars).'", "'.mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']).'", "'.mysql_real_escape_string($vls).'")'); + if($ins) { + return true; + } else { + return false; + } + } + + function GetWeaponType($idwep) { + if($idwep == 0 || $idwep == null || $idwep == '') { + return "kulak"; + } + + $wep = mysql_fetch_array(mysql_query("SELECT `otdel`, `minu` FROM `inventory` WHERE `id` = '{$idwep}' LIMIT 1")); + if($wep[0] == '1') { + return "noj"; + } elseif($wep[0] == '12') { + return "dubina"; + } elseif($wep[0] == '11') { + return "topor"; + } elseif($wep[0] == '13') { + return "mech"; + } elseif($wep[1] > 0) { + return "buket"; + } else { + return "kulak"; + } + } + + function razmen_log($type, $kuda, $chem, $uron, $kto, $c1, $pokomy, $c2, $hp, $maxhp) { + $color = $this->gen_color($kto, $pokomy); + if($this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { $sex1 = false; } + if(!$this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { $sex1 = true; } + if($this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { $sex2 = false; } + if(!$this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { $sex2 = true; } + + if($this->user['sex'] && $kto == $this->user['id']) { $sex1 = false; } + if(!$this->user['sex'] && $kto == $this->user['id']) { $sex1 = true; } + if($this->user['sex'] && $pokomy == $this->user['id']) { $sex2 = false; } + if(!$this->user['sex'] && $pokomy == $this->user['id']) { $sex2 = true; } + + if($hp < 0) { $hp = 0; } + + $hiden_warior = mysql_fetch_array(mysql_query('SELECT `id`, `invis` FROM `users` WHERE `id` = "'.$pokomy.'" LIMIT 1')); + if($hiden_warior['invis'] == 1) { + $hp = '??'; + $maxhp = '??'; + $uron = '??'; + } + + if(!$sex1) { + $textfail = array('думал о <вырезано цензурой>, вследствие чего', 'пытался нанести удар, но ', 'подскользнулся, и', 'старался провести удар, но', 'закашлялся, и', 'пытался провести удар, но', 'потерял самоконтроль, вследствие чего', 'думал не о том, и'); + } else { + $textfail = array('думала о <вырезано цензурой>, вследствие чего', 'пыталась нанести удар, но ', 'подскользнулась, и', 'старалась провести удар, но', 'закашлялась, и', 'пыталась провести удар, но ', 'потеряла самоконтроль, вследствие чего', 'думала не о том, и'); + } + + $textchem = array ( + "kulak" => array("грудью","ребром руки","лбом","кулаком","ногой","левой ногой","правой ногой","коленом"), + "noj" => array("ножом","тыльной стороной лезвия ножа","рукоятью ножа","лезвием ножа"), + "dubina" => array("сучковатой палкой","поленом","тяжелой дубиной","дубиной","рукоятью молота"), + "topor" => array("секирой","топором","лезвием секиры","алебардой","тяжелым держаком","длинной секирой"), + "mech" => array("ножнами","гардой","мечом","лезвием меча","рукоятью меча","тупым лезвием","острой стороной меча","огромным мечом",), + "buket" => array("охапкой цветов","веником","букетом","колючками","снопом","стеблем","листьями","бутоном",) + ); + + $textchem = $textchem[$chem]; + + $udars = array( + 1 => array('в нос','в глаз','в челюсть','по переносице','в кадык','по затылку','в правый глаз','в левый глаз','в скулу'), + 2 => array('в грудь','в корпус','в солнечное сплетение','в сердце','в бок','в область лопаток','по желудку','по левой руке','по правой руке'), + 3 => array('по <вырезано цензурой>','в пах','в промежность','по левой ягодице','по правой ягодице'), + 4 => array('по ногам','в область правой пятки','в область левой пятки','по коленной чашечке','по икрам') + ); + + $kuda = $udars[$kuda][mt_rand(0, count($udars[$kuda])-1)]; + + if(!$sex1) { + $hark = array('бесчувственный','расстроенный','храбрый','обезумевший','неустрашимый','злобный','жестокий','наглый','разъяренный','продвинутый','хитрый','мужественный','','','','','',''); + } else { + $hark = array('бесчувственная','расстроенная','храбрая','обезумевшая','неустрашимая','злобная','жестокая','наглая', 'разъяренная','продвинутая','хитрая','прекрасная','','','','','',''); + } + + if(!$sex2) { + $hark2 = array('бесчувственный','расстроенный','храбрый','обезумевший','неустрашимый','злобный','жестокий','наглый','разъяренный','продвинутый','хитрый','мужественный','','','','','',''); + } else { + $hark2 = array('бесчувственная','расстроенная','храбрая','обезумевшая','неустрашимая','злобная','жестокая','наглая','разъяренная','продвинутая','хитрая','прекрасная','','','','','',''); + } + + if(!$sex2) { + $textud = array('забылся, и тут', 'замешкался, и за это', 'растерялся, как вдруг', 'ковырялся в зубах, и тут', 'поперхнулся, но вдруг', 'пытался что-то сказать но вдруг, неожиданно', 'растерялся, как вдруг', 'засмотрелся на <вырезано цензурой>, а в это время', 'высморкался, и в это время', 'думал не о том, и', 'пришел в себя, но в это время', 'обернулся, как внезапно'); + } else { + $textud = array('забылась, и тут', 'замешкалась, и за это ', 'растерялась, как вдруг ', 'ковырялась в зубах, и тут ', 'поперхнулась, но вдруг ', 'пыталась что-то сказать но вдруг, неожиданно', 'растерялась, как вдруг', 'засмотрелась на <вырезано цензурой>, а в это время', 'высморкалась, и в это время', 'думала не о том, и', 'пришла в себя, но в это время ', 'обернулась, как внезапно'); + } + + switch($type) { + case "uvorot": + if($sex2) { + $textuvorot = array(" уклонилась от удара "," увернулась от удара "," отскочила от удара "); + } else { + $textuvorot = array(" уклонился от удара "," увернулся от удара "," отскочил от удара "); + } + return ''.date("H:i").' '.nick5($kto, $color['me']).' '.$textfail[mt_rand(0, count($textfail)-1)].' '.$hark2[mt_rand(0,count($hark2)-1)].' '.nick5($pokomy, $color['he']).' '.$textuvorot[mt_rand(0,count($textuvorot)-1)].' '.$textchem[mt_rand(0,count($textchem)-1)].' '.$kuda.'.
    '; + break; + + case "block": + if($sex2) { + $textblock = array(" заблокировала удар "," остановила удар "," отбила удар "); + } else { + $textblock = array(" заблокировал удар "," остановил удар "," отбил удар "); + } + return ''.date("H:i").' '.nick5($kto, $color['me']).' '.$textfail[mt_rand(0, count($textfail)-1)].' '.$hark2[mt_rand(0, count($hark2)-1)].' '.nick5($pokomy, $color['he']).' '.$textblock[mt_rand(0,count($textblock)-1)].' '.$textchem[mt_rand(0,count($textchem)-1)].' '.$kuda.'.
    '; + break; + + case "krit": + if($sex1) { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударила по голове булыжником оппонента.",", сказав \"БУ!\", ласково заломила руку за спину соперника.",", расслабившись, расцарапала нос соперника.",", показав сразу два пальца, наступила на ногу врага.",", напугав всех, укусила в нос противника.",", проклиная этот сайт, провела ужасный бросок через пупок оппонента."); + } else { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударил по голове булыжником оппонента.",", сказав \"БУ!\", ласково заломил руку за спину соперника.",", расслабившись, расцарапал нос соперника.",", показав сразу два пальца, наступил на ногу врага.",", напугав всех, укусил в нос противника.",", проклиная этот сайт, провел ужасный бросок через пупок оппонента."); + } + return ''.date("H:i").' '.nick5($pokomy, $color['he']).' '.$textud[mt_rand(0, count($textud)-1)].' '.$hark[mt_rand(0,count($hark)-1)].' '.nick5($kto, $color['me']).' '.$textkrit[mt_rand(0,count($textkrit)-1)].' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + + case "krita": + if($sex1) { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударила, пробив блок, по голове булыжником оппонента.",", пробив блок, ласково заломила руку за спину соперника.",", пробив блок, расцарапала нос соперника.",", пробив блок, наступила на ногу врага.",", пробив блок, укусила в нос противника.",", пробив блок, провела ужасный бросок через пупок оппонента."); + } else { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударил, пробив блок, по голове булыжником оппонента.",", пробив блок, ласково заломил руку за спину соперника.",", пробив блок, расцарапал нос соперника.",", пробив блок, наступил на ногу врага.",", пробив блок, укусил в нос противника.",", пробив блок, провел ужасный бросок через пупок оппонента."); + } + return ''.date("H:i").' '.nick5($pokomy, $color['he']).' '.$textud[mt_rand(0, count($textud)-1)].' '.$hark[mt_rand(0, count($hark)-1)].' '.nick5($kto, $color['me']).' '.$textkrit[mt_rand(0,count($textkrit)-1)].' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + + case "udar": + if($sex1) { + $textudar = array(", разбежавшись, рубанула"," отчаянно проткнула "," нехотя уколола "," не подумав, рубанула ",", улыбаясь, саданула укол "," приложила удар "," ударила "," сдуру вмазала "); + } else { + $textudar = array(", разбежавшись, рубанул"," отчаянно проткнул "," нехотя уколол "," не подумав, рубанул ",", улыбаясь, саданул укол "," приложил удар "," ударил "," сдуру вмазал "); + } + return ''.date("H:i").' '.nick5($pokomy, $color['he']).' '.$textud[mt_rand(0, count($textud)-1)].' '.$hark[mt_rand(0, count($hark)-1)].' '.nick5($kto, $color['me']).''.$textudar[mt_rand(0,count($textudar)-1)].' '.$textchem[mt_rand(0,count($textchem)-1)].' '.$kuda.' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + } + } + + function get_blocks($where_atack, $where_defend) { + $blocks = array('1' => array(1, 2), '2' => array(2, 3), '3' => array(3, 4), '4' => array(4, 1)); + if(!in_array($where_atack, $blocks[$where_defend])) { + return true; + } else { + return false; + } + } + + function GetBlock($komy, $att, $def, $enemy) { + $blocks = array(1 => array(1, 2), 2 => array(2, 3), 3 => array(3, 4), 4 => array(4, 1)); + + switch($komy) { + case "me" : + if(in_array($this->battle[$enemy][$this->user['id']][0], $blocks[$def])) { + return true; + } else { + return false; + } + break; + + case "he" : + if(in_array($this->battle[$enemy][$this->user['id']][1], $blocks[$att])) { + return true; + } else { + return false; + } + break; + } + } + + function GetChance($percent) { + $mm = 1; + if(rand($mm, 100*$mm) <= $percent*$mm) { + return true; + } else { + return false; + } + } + + function SelectEnemy() { + if(($this->user['hp'] > 0) && $this->battle) { + foreach($this->battle[$this->user['id']] as $k => $v) { + if($this->battle[$this->user['id']][$k][0] == 0) { + $enemies[] = $k; + } + } + + if(isset($enemies[0])) { + $enemy = $enemies[mt_rand(0, count($enemies)-1)]; + if($enemy > 0) { + return $enemy; + } + } else { + return false; + } + } else { + return false; + } + } + + function chancebymf($mf, $antimf, $min = 1, $max = 85, $mid = 10, $div = 250) { + if($mf <= $antimf) return 0; + $diff = 1-pow(0.5, abs($mf-$antimf)/$div); + if($mf > $antimf) { + return ($max-$mid)*$diff+$mid; + } else { + return ($mid-$min)*(1-$diff)+$min; + } + $min = $min/100; + $max = $max/100; + $diffup = (1/(1+(abs($mf-$antimf)/(($max-$mid)*100)))); + $diffdown = (1/(1+(abs($mf-$antimf)/(($mid-$min)*100)))); + $ret = $mid; + if($mf > $antimf) { + $ret = $ret*(2-$diff); + } else { + $ret = $ret*$diff; + } + if($ret < $min) { + $ret = $min; + } + if($ret > $max) { + $ret = $max; + } + return (int)round($ret*100); + } + + function check_bonus($uid) { + $us = mysql_fetch_array(mysql_query('SELECT `id`, `sila`, `lovk`, `inta`, `vinos` FROM `users` WHERE `id` = "'.mysql_real_escape_string($uid).'" LIMIT 1')); + $i_uminu = 0; + $i_fkrit = 0; + $i_fauvorot = 0; + $i_fakrit = 0; + $i_umaxu = 0; + + if($us['sila'] >= 25) { $sila['fauvorot'] = 10; $sila['fakrit'] = 10; $sila['uminu'] = 0; $sila['umaxu'] = 0; } + if($us['sila'] >= 50) { $sila['fauvorot'] = 20; $sila['fakrit'] = 25; $sila['uminu'] = 0; $sila['umaxu'] = 0; } + if($us['sila'] >= 75) { $sila['fauvorot'] = 30; $sila['fakrit'] = 40; $sila['uminu'] = 0; $sila['umaxu'] = 0; } + if($us['sila'] >= 100) { $sila['fauvorot'] = 40; $sila['fakrit'] = 50; $sila['uminu'] = 2; $sila['umaxu'] = 2; } + if($us['sila'] >= 125) { $sila['fauvorot'] = 60; $sila['fakrit'] = 75; $sila['uminu'] = 5; $sila['umaxu'] = 5; } + if($us['sila'] >= 150) { $sila['fauvorot'] = 90; $sila['fakrit'] = 110; $sila['uminu'] = 8; $sila['umaxu'] = 8; } + if($us['sila'] >= 175) { $sila['fauvorot'] = 120; $sila['fakrit'] = 150; $sila['uminu'] = 12; $sila['umaxu'] = 12; } + if($us['sila'] >= 200) { $sila['fauvorot'] = 150; $sila['fakrit'] = 200; $sila['uminu'] = 15; $sila['umaxu'] = 15; } + if($us['lovk'] >= 25) { $lovk['fuvorot'] = 10; $lovk['fauvorot'] = 10; $lovk['fakrit'] = 20; $lovk['uminu'] = 0; $lovk['umaxu'] = 0; } + if($us['lovk'] >= 50) { $lovk['fuvorot'] = 20; $lovk['fauvorot'] = 25; $lovk['fakrit'] = 40; $lovk['uminu'] = 0; $lovk['umaxu'] = 0; } + if($us['lovk'] >= 75) { $lovk['fuvorot'] = 30; $lovk['fauvorot'] = 30; $lovk['fakrit'] = 60; $lovk['uminu'] = 0; $lovk['umaxu'] = 0; } + if($us['lovk'] >= 100) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 40; $lovk['fakrit'] = 75; $lovk['uminu'] = 5; $lovk['umaxu'] = 5; } + if($us['lovk'] >= 125) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 70; $lovk['fakrit'] = 90; $lovk['uminu'] = 6; $lovk['umaxu'] = 6; } + if($us['lovk'] >= 150) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 150; $lovk['fakrit'] = 120; $lovk['uminu'] = 8; $lovk['umaxu'] = 8; } + if($us['lovk'] >= 175) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 200; $lovk['fakrit'] = 140; $lovk['uminu'] = 10; $lovk['umaxu'] = 10; } + if($us['lovk'] >= 200) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 250; $lovk['fakrit'] = 160; $lovk['uminu'] = 15; $lovk['umaxu'] = 15; } + if($us['inta'] >= 25) { $inta['fkrit'] = 10; $inta['fauvorot'] = 10; $inta['fakrit'] = 15; $inta['uminu'] = 0; $inta['umaxu'] = 0; } + if($us['inta'] >= 50) { $inta['fkrit'] = 25; $inta['fauvorot'] = 25; $inta['fakrit'] = 25; $inta['uminu'] = 0; $inta['umaxu'] = 0; } + if($us['inta'] >= 75) { $inta['fkrit'] = 60; $inta['fauvorot'] = 30; $inta['fakrit'] = 30; $inta['uminu'] = 0; $inta['umaxu'] = 0; } + if($us['inta'] >= 100) { $inta['fkrit'] = 40; $inta['fauvorot'] = 40; $inta['fakrit'] = 75; $inta['uminu'] = 0; $inta['umaxu'] = 0; } + if($us['inta'] >= 125) { $inta['fkrit'] = 40; $inta['fauvorot'] = 50; $inta['fakrit'] = 100; $inta['uminu'] = 1; $inta['umaxu'] = 1; } + if($us['inta'] >= 150) { $inta['fkrit'] = 60; $inta['fauvorot'] = 40; $inta['fakrit'] = 130; $inta['uminu'] = 5; $inta['umaxu'] = 5; } + if($us['inta'] >= 175) { $inta['fkrit'] = 40; $inta['fauvorot'] = 80; $inta['fakrit'] = 170; $inta['uminu'] = 10; $inta['umaxu'] = 10; } + if($us['inta'] >= 200) { $inta['fkrit'] = 40; $inta['fauvorot'] = 120; $inta['fakrit'] = 200; $inta['uminu'] = 15; $inta['umaxu'] = 15; } + if($us['vinos'] >= 25) { $vinos['fkrit'] = 10; $vinos['fauvorot'] = 10; $vinos['fakrit'] = 15; $vinos['uminu'] = 0; $vinos['umaxu'] = 0; } + if($us['vinos'] >= 50) { $vinos['fkrit'] = 25; $vinos['fauvorot'] = 25; $vinos['fakrit'] = 25; $vinos['uminu'] = 0; $vinos['umaxu'] = 0; } + if($us['vinos'] >= 75) { $vinos['fkrit'] = 60; $vinos['fauvorot'] = 30; $vinos['fakrit'] = 30; $vinos['uminu'] = 0; $vinos['umaxu'] = 0; } + if($us['vinos'] >= 100) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 40; $vinos['fakrit'] = 75; $vinos['uminu'] = 0; $vinos['umaxu'] = 1; } + if($us['vinos'] >= 125) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 50; $vinos['fakrit'] = 100; $vinos['uminu'] = 1; $vinos['umaxu'] = 1; } + if($us['vinos'] >= 150) { $vinos['fkrit'] = 60; $vinos['fauvorot'] = 40; $vinos['fakrit'] = 130; $vinos['uminu'] = 5; $vinos['umaxu'] = 5; } + if($us['vinos'] >= 175) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 80; $vinos['fakrit'] = 170; $vinos['uminu'] = 10; $vinos['umaxu'] = 10; } + if($us['vinos'] >= 200) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 120; $vinos['fakrit'] = 200; $vinos['uminu'] = 15; $vinos['umaxu'] = 15; } + + if($us['vinos'] >= $us['sila'] && $us['vinos'] >= $us['lovk'] && $us['vinos'] >= $us['inta']) { + $i_uminu = $vinos['uminu']; + $i_fkrit = $vinos['fkrit']; + $i_fauvorot = $vinos['fauvorot']; + $i_fakrit = $vinos['fakrit']; + $i_umaxu = $vinos['umaxu']; + } + + if($us['inta'] >= $us['sila'] && $us['inta'] >= $us['lovk'] && $us['inta'] >= $us['vinos']) { + $i_uminu = $inta['uminu']; + $i_fkrit = $inta['fkrit']; + $i_fauvorot = $inta['fauvorot']; + $i_fakrit = $inta['fakrit']; + $i_umaxu = $inta['umaxu']; + } + + if($us['lovk'] >= $us['sila'] && $us['lovk'] >= $us['inta']&& $us['lovk'] >= $us['vinos']) { + $i_uminu = $lovk['uminu']; + $i_fkrit = $lovk['fkrit']; + $i_fauvorot = $lovk['fauvorot']; + $i_fakrit = $lovk['fakrit']; + $i_umaxu = $lovk['umaxu']; + } + + if($us['sila'] >= $us['lovk'] && $us['sila'] >= $us['inta'] && $us['sila'] >= $us['vinos']) { + $i_uminu = $sila['uminu']; + $i_fkrit = $sila['fkrit']; + $i_fauvorot = $sila['fauvorot']; + $i_fakrit = $sila['fakrit']; + $i_umaxu = $sila['umaxu']; + } + + return array('minu' => $i_uminu, 'maxu' => $i_umaxu, 'fkrit' => $i_fkrit, 'fauvorot' => $i_fauvorot, 'fakrit' => $i_fakrit); + } + + function solve_mfs($user_1, $user_2, $attack) { + $mfs = array(); + + $uid_1 = $this->get_info_by_id($user_1); + $uid_2 = $this->get_info_by_id($user_2); + + $b_u_1 = $this->check_bonus($uid_1['id']); + $b_u_2 = $this->check_bonus($uid_2['id']); + + $zo = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 201 AND `owner` = '".$uid_1['id']."' LIMIT 1")); + $zo1 = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 201 AND `owner` = '".$uid_2['id']."' LIMIT 1")); + $sokr = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 202 AND `owner` = '".$uid_1['id']."' LIMIT 1")); + $sokr1 = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 202 AND `owner` = '".$uid_2['id']."' LIMIT 1")); + + if($sokr[0] > 0) { $bmfud = 5; } else { $bmfud = 0; } + if($zo[0] > 0) { $bmfbron = 25; } else { $bmfbron = 0; } + if($sokr1[0] > 0) { $bmfud1 = 5; } else { $bmfud1 = 0; } + if($zo1[0] > 0) { $bmfbron1 = 25; } else { $bmfbron1 = 0; } + + if($user_2 > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `prototype`, `battle`, `hp` FROM `bots` WHERE `id` = "'.$user_2.'" LIMIT 1')); + $this->enemyhar = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$bots['prototype'].'" LIMIT 1')); + $this->enemy_dress = mysql_fetch_array(mysql_query('SELECT SUM(`minu`), SUM(`maxu`), SUM(`mfkrit`), SUM(`mfakrit`), SUM(`mfuvorot`), SUM(`mfauvorot`), SUM(`bron1`), SUM(`bron2`), SUM(`bron3`), SUM(`bron4`) FROM `inventory` WHERE `dressed` = 1 AND `owner` = "'.$this->enemyhar['id'].'"')); + $this->enemyhar['hp'] = $bots['hp']; + } else { + $this->enemyhar = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$uid_2['id'].'" LIMIT 1')); + $this->enemy_dress = mysql_fetch_array(mysql_query('SELECT SUM(`minu`), SUM(`maxu`), SUM(`mfkrit`), SUM(`mfakrit`), SUM(`mfuvorot`), SUM(`mfauvorot`), SUM(`bron1`), SUM(`bron2`), SUM(`bron3`), SUM(`bron4`) FROM `inventory` WHERE `dressed` = 1 AND `owner` = "'.$uid_2['id'].'"')); + } + + $this->user_dress = mysql_fetch_array(mysql_query('SELECT SUM(`minu`), SUM(`maxu`), SUM(`mfkrit`), SUM(`mfakrit`), SUM(`mfuvorot`), SUM(`mfauvorot`), SUM(`bron1`), SUM(`bron2`), SUM(`bron3`), SUM(`bron4`) FROM `inventory` WHERE `dressed` = 1 AND `owner` = "'.$uid_1['id'].'"')); + + $this->enemy_dress[6] += $bmfbron1; + $this->enemy_dress[7] += $bmfbron1; + $this->enemy_dress[8] += $bmfbron1; + $this->enemy_dress[9] += $bmfbron1; + $this->user_dress[6] += $bmfbron; + $this->user_dress[7] += $bmfbron; + $this->user_dress[8] += $bmfbron; + $this->user_dress[9] += $bmfbron; + + $mykrit = floor($this->user_dress[2]+($uid_1['inta']*2.95)+$b_u_1['fkrit']); + $heakrit = floor($this->enemy_dress[3]+($uid_2['inta']*2.75)+$b_u_2['fkrit']); + $myuvorot = floor($this->user_dress[4]+$uid_1['lovk']*5); #5 #3 + $heauvorot = floor($this->enemy_dress[5]+$uid_2['lovk']*4); #4 #7 #6 + $he_koef_armor = $this->enemy_dress[5+$attack]/50; + $mfs['me'] = array( + 'udars' => rand(floor($uid_1['sila']/3)+$b_u_1['minu']+1+$this->user_dress[0], floor($uid_1['sila']/3)+$b_u_1['maxu']+4+$this->user_dress[1]), + 'chanse' => $this->getmfs($myuvorot, $heauvorot), + 'chanse_krit' => $this->getmfs($mykrit, $heakrit) + ); + $mfs['me']['udar'] = $mfs['me']['udars']-($this->enemy_dress[5+$attack]*$he_koef_armor); + + $uron_vlad_me = 0; + switch($this->GetWeaponType($uid_1['weap'])) { + case "noj": $uron_vlad_me += $uid_1['noj']; break; + case "dubina": $uron_vlad_me += $uid_1['dubina']; break; + case "topor": $uron_vlad_me += $uid_1['topor']; break; + case "mech": $uron_vlad_me += $uid_1['mec']; break; + default : 0; break; + } + $mfs['me']['udar'] += $uron_vlad_me; + + if($bmfud > 5) { $mfs['me']['udar'] += $bmfud; } + if($mfs['me']['udar'] < 0) { $mfs['me']['udar'] = 0; } + if($bmfud <= 5) { $mfs['me']['udar'] += $bmfud; } + + + $mfs['me']['udar'] = round($mfs['me']['udar']); + if($mfs['me']['udar'] < 1) { $mfs['me']['udar'] = 1; } + + #$this->AddToLog('{Id = '.$uid_1['id'].'| No_Koef = '.$mfs['me']['udars'].'| Finish = '.$mfs['me']['udar'].'| Koef = '.$he_koef_armor.'| Armor = '.$this->enemy_dress[5+$attack].' | Um = '.$uron_vlad_me.'| Weap = '.$this->GetWeaponType($uid_1['weap']).'| Function = '.$mfs['me']['udars'].'-'.($this->enemy_dress[5+$attack]*$he_koef_armor).'| Min = '.(floor($uid_1['sila']/3)+$b_u_1['minu']+1+$this->user_dress[0]).'| Max = '.(floor($uid_1['sila']/3)+$b_u_1['maxu']+4+$this->user_dress[1]).'}
    '); + + $mykrits = floor($this->enemy_dress[2]+($uid_2['inta']*2.95)+$b_u_2['fkrit']); + $heakrits = floor($this->user_dress[3]+($uid_1['inta']*2.75)+$b_u_1['fkrit']); + $myuvorots = floor($this->enemy_dress[4]+$uid_2['lovk']*5); + $heauvorots = floor($this->user_dress[5]+$uid_1['lovk']*4); + $me_koef_armor = $this->user_dress[5+$this->battle[$user_2][$user_1][0]]/50; + + $mfs['he'] = array( + 'udars' => floor(rand(floor($uid_2['sila']/3)+$b_u_2['minu']+1+$this->enemy_dress[0], floor($uid_2['sila']/3)+$b_u_2['maxu']+4+$this->enemy_dress[1])), + 'chanse' => $this->getmfs($myuvorots, $heauvorots), + 'chanse_krit' => $this->getmfs($mykrits, $heakrits) + ); + $mfs['he']['udar'] = $mfs['he']['udars']-($this->user_dress[5+$this->battle[$user_2][$user_1][0]]*$me_koef_armor); + if($bmfud1 < 5) { $mfs['he']['udar'] += $bmfud1; } + if($mfs['he']['udar'] < 0) { $mfs['he']['udar'] = 0; } + if($bmfud1 >= 5) { $mfs['he']['udar'] += $bmfud1; } + + $uron_vlad_he = 0; + switch($this->GetWeaponType($uid_2['weap'])) { + case "noj": $uron_vlad_he += $uid_2['noj']; break; + case "dubina": $uron_vlad_he += $uid_2['dubina']; break; + case "topor": $uron_vlad_he += $uid_2['topor']; break; + case "mech": $uron_vlad_he += $uid_2['mec']; break; + } + $mfs['he']['udar'] += $uron_vlad_he; + + #$this->AddToLog('{ Id = '.$uid_2['id'].'| URON_not_koef = '.$mfs['he']['udars'].'| Uron_finish = '.$mfs['he']['udar'].'| Koef_arm = '.$me_koef_armor.'| Armor = '.$this->user_dress[5+$this->battle[$user_2][$user_1][0]].' | Um = '.$uron_vlad_he.'| Weap = '.$this->GetWeaponType($uid_2['weap']).' }
    '); + + $mfs['he']['udar'] = round($mfs['he']['udar']); + if($mfs['he']['udar'] < 1) { $mfs['he']['udar'] = 1; } + + return $mfs; + } + + function makechange($u1, $u2, $at_1, $at_2, $def_1, $def_2) { + $this->init_botRazmen($u1, $u2, $at_1, $def_1); + } + + function UpdateBattle () { + return mysql_query("UPDATE `battle` SET `exp` = '".serialize($this->exp)."', `teams` = '".serialize($this->battle)."', `damage` = '".serialize($this->damage)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } + + function GetComment() { + $boycom = array('А танцуешь ты лучше.','А мы что, в прятки тут играем?','А вы разве пингвинов никогда не видели?','А, ведь когда-то, вы были красивыми… А теперь? Ну и рожи! Жуть!','А потом еще труп пинать будут.','А я вчера ночью за соседями подглядывал. Они точно так же кувыркались','А ведь вы живых людей дубасите...','А вот я вчера в зоопарке был...','А вы в стройбате не служили?','А вы видели, чтобы так на улице делали!?','А вы знали что ёжики размножаются в интернете?','А жить-то, как хочется:','А из-за чего вы собственно дерётесь?','А чего ржёте, вы ещё остальных не видели','А что произойдёт если ты испугаешся до полусмерти дважды?!','Больше так не делай. Ты же не садист?','Без комментариев...','Больно ведь!','Быстро ты за монитор спрятался!','Все хотят попасть в рай, но никто не хочет умирать!','Вчера с такой девчонкой познакомился.','Всего 5 минут знакомы, а дерутся, словно супруги с 20-ти летним стажем...','Все. Я так больше не могу.','В конце концов, кто-то победит?','Вы чего, с дерева упали?','Возятся как сонные мухи... давайте я вам лучше анекдот расскажу: ...','Вот видишь, как полезно чистить зубы на ночь?','Вот вы все руками махаете, а за вами уже очередь','Вот попадёте вы в плен и вас там будут долго бить. Но вы ничего не расскажете... и не потому, что вы такой стойкий, просто вы ничего не знаете','Вы бы лучше пошли потренировались!','Вы все еще разминаетесь? Позовите, когда кости в муку друг другу разминать будете.','Вы же бойцы! Имейте совесть!','Гаси недоумка!','Да, если бы я смог это остановить, то получил бы нобелевскую премию `За мир` ','Да куда они бьют?!','Давайте быстрее! За вами уже очередь образовалась.','Давайте обойдемся сегодня таймаутом. А? А то мне уже кошмары скоро будут сниться.','Дерутся как девчонки!','Дети, посмотрите налево... Ой!.. Нет, туда лучше не смотреть.','Если так будет продолжаться, то скоро мы заснем!','Если бы у меня было кресло-качалка, я бы в нём качался...','Если вы что-то сказать хотите, то лучше молчите :)','Жестокость не порок.','Жизнь вне нашего клуба - это пустая трата кислорода!!!','Жми! Дави! Кусай! Царапай!','За такие бои надо в хаос отправлять!','Знаете откуда в комиссионном магазине столько вещей? Это я после ваших гулянок собираю и сдаю туда. Иногда вместе с частями тела, застрявшими в них.','Здесь люди так близки друг к другу. Просто иначе ударить нельзя.','И пролитая кровь еще пульсирует...','Инвалидов развелось...','Какой бой!!!','Кто!? Кто здесь?!','Кто вас этому научил?','Кузнечик, блин...','Куплю импортный проигрыватель грампластинок.','Лошадью ходи!','Лучше враг, чем друг - враг.','Ладно, вы тут пока друг друга за волосы таскайте, а я пойду, пообедаю.','Мне ваш балет уже надоел!','Может, начнется-таки настоящий бой???','Мысли лезут в голову изнутри, а удары снаружи.','Ну и где ваши коронные удары? Где живописные падения я спрашиваю!','Ну, нельзя же так наотмашь лупить!','Надо раньше было думать, теперь смертельно поздно...','На такое зрелище билеты продавать можно. Народ ухохочется!','Нет! Не надо драки! А... ладно деритесь, все равно не умеете.','Нет, ну должен быть повод, должен же быть повод?','Нет, я отказываюсь это комментировать!','Не таких обламывали!','Ну выпили вы рюмку, ну две... ну литр, ну два... так зачем же после этого драку затевать?!','Ну и кто за этот погром платить будет?','Ну и оскал у вас. Из вашей улыбки кастеты делать можно.','Ну, что же ты..? Не печалься. Выше голову, так по ней удобней попасть.','Ничего... Блок тоже удар.','Обернись!!!.... Поздно...','Ого! Научите меня так не делать.','Осторожно! Сделаешь дырочку, уже не запломбируешь!','Оно вам надо???','Обычное дело...там что-то отклеилось.','Ой, и заболтался я с вами...','Он же не промахнётся если ты не отойдёшь!','По-моему, кому-то светит инвалидность.','Подкинь ему грабли, на которые он еще не наступал.','Прав был кот Леопольд, давайте жить дружно?','При ударе в живот нарушается кислотно-щелочной баланс.','Проверь, не торчит ли у тебя нож из живота.','Перестаньте мне орать!','Подкинь ему грабли, на которые он еще не наступал.','Прыгают тут как блохи... Все, я пошел за дихлофосом!','Разбудите меня когда эта порнография закончится...','Ребенок сильнее ударил бы!','Славно вмазал!','Славно они веселятся','Смотрю вот на вас, и слезы наворачиваются.','Сначала учатся ходить, а потом только в драку лезут.','Так они друг другу что-нибудь сломают.','Так ты ему все кости переломаешь!','У меня в подъезде точно так же соседа отмудохали','Убогих развелось...','Ух ты, какой прыткий!','Фашист!! Надо ж, так по больному месту врезать...','Хватит бить его об угол моей кабинки! Мне же потом ее чинить.','Хулиганы, прекратите немедленно!','Хочешь, подскажу, куда он ударит?','Хорошо, что у меня ловкости больше чем у вас всех, а то б вы и меня в инвалидную коляску посадили бы.','Хороший бой!','Хороший удар!','Хиляк-разрядник!','Что ты его за волосы схватил?! Отпусти немедленно!','Щас я вас настигну, вот тогда мы и похохочем','Это была какая-то неизвестная мне техника...','Это же противник, а не глина! Хватит мяться!','Это не бой, это издевательское избиение.','Это поубавит спеси','Это и был твой план `Б` ?','Это была какая-то неизвестная мне техника...','Я же предупреждал, - будет больно.','Я не страдаю безумием. Я наслаждаюсь им каждую минуту :)','Я красивый, я сильный, я умный, я добрый. А вот вы? Вы себя-то видели?!','Я тоже умею драться, но не буду...','(тревожно озираясь) я вам по секрету скажу... за вами наблюдают!','<вырезано цензурой> после боя я этих <вырезано цензурой> обоих в <вырезано цензурой> и <вырезано цензурой>','<вырезано цензурой> каратисты фиговы', '<вырезано цензурой> <вырезано цензурой>,<вырезано цензурой> на <вырезано цензурой> <вырезано цензурой> <вырезано цензурой>! Нет, это уже слишком!'); + if(mt_rand(0, 4) == 1) { + return ''.date("H:i").' Комментатор: '.$boycom[mt_rand(0, count($boycom)-1)].'
    '; + } else { + return false; + } + } + + function GetTimeout() { + if($this->battle) { + if($this->my_class == 'B1') { + if($this->to2 <= $this->to1) { + return ((time()-$this->to2) > $this->battle_data['timeout']*60); + } else { + return false; + } + } else { + if($this->to2 >= $this->to1) { + return ((time()-$this->to1) > $this->battle_data['timeout']*60); + } else { + return false; + } + } + } + } + + function AddToLog($text) { + $this->log .= $text; + } + + function AddToLogBot($text) { + if($this->log != $text) { + $this->log .= $text; + } + } + + function write_log() { + if($this->log) { + $this->log = $this->log."
    "; + } + addlogs($this->battle_data['id'], $this->log); + $this->log = ''; + } + +} + +$r = mysql_query("SELECT `id`, `win` FROM `battle` WHERE `win` = 3"); + +while($rec = mysql_fetch_array($r)) { + $fbattle = new fbattle($rec['id']); + if($fbattle->battle_data['needbb']) { + foreach($fbattle->battle as $k => $v) { + if($k > _BOTSEPARATOR_) { + foreach($v as $k2 => $v2) { + if($k2 < _BOTSEPARATOR_) continue; + $hp_1 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $hp_2 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k2.'" LIMIT 1')); + if($fbattle->battle[$k][$k2][0] && $fbattle->battle[$k2][$k][0] && $hp_1['hp'] > 0 && $hp_2['hp'] > 0) { + $at_1 = $fbattle->battle[$k][$k2][0]; + $def_1 = $fbattle->battle[$k][$k2][1]; + $at_2 = $fbattle->battle[$k2][$k][0]; + $def_2 = $fbattle->battle[$k2][$k][1]; + $fbattle->makechange($k, $k2, $at_1, $at_2, $def_1, $def_2); + $fbattle->write_log(); + $fbattle->battle[$k][$k2] = array(0, 0, time()); + $fbattle->battle[$k2][$k] = array(0, 0, time()); + $fbattle->needupdate = 1; + $fbattle->battle_end(); + } + } + } + } + if($fbattle->needupdate) { + $fbattle->UpdateBattle(); + } + echo 'Bb id = |'.$rec['id'].'|'; + } else { + echo '{No bb Id = |'.$rec['id'].'|}'; + } +} diff --git a/cron_bots_battle.php b/cron_bots_battle.php new file mode 100644 index 0000000..7b0dca9 --- /dev/null +++ b/cron_bots_battle.php @@ -0,0 +1,1542 @@ +user = $user; + + if($battle_id > 0) { + $this->status = 1; + $this->battle_data = mysql_fetch_array(mysql_query("SELECT `id`, `coment`, `teams`, `timeout`, `razmen_time`, `type`, `status`, `t1`, `t2`, `date`, `time_m`, `win`, `damage`, `to1`, `to2`, `exp`, `blood`, `t1hist`, `t2hist`, `magic`, `open`, `close`, `protivnik`, `protivnik_type`, `dungeon_bot`, `dn_id`, `aren_of`, `needbb`, `clone`, `fiz` FROM `battle` WHERE `id` = '{$battle_id}' LIMIT 1")); + $this->GetUserTeam(); + $this->damage = unserialize($this->battle_data['damage']); + $this->magic = unserialize($this->battle_data['magic']); + $this->battle = unserialize($this->battle_data['teams']); + $this->exp = unserialize($this->battle_data['exp']); + $this->to1 = $this->battle_data['to1']; + $this->to2 = $this->battle_data['to2']; + + ####################### + $bit1 = 0; $bit2 = 0; + foreach($this->battle as $k => $v) { + if($k < _BOTSEPARATOR_) continue; + $bot['id'] = $k; + if(in_array($k, $this->t1)) { + if(count($v) < count($this->t2)) { + foreach($this->t2 as $k2 => $v2) { + $this->battle[$k][$v2] = array(0, 0, time()); + } + } + $bit1 = 1; + } + if(in_array($k, $this->t2)) { + if(count($v) < count($this->t1)) { + foreach($this->t1 as $k2 => $v2) { + $this->battle[$k][$v2] = array(0, 0, time()); + } + } + $bit2 = 1; + } + foreach($this->battle[$bot['id']] as $k => $v) { + if($this->battle[$bot['id']][$k][0] == 0) { + $this->battle[$bot['id']][$k] = array(rand(2, 3), rand(2, 3), time()); + if($this->battle[$k][$bot['id']][0] != 0 && $k < _BOTSEPARATOR_) { + $this->battle[$k][$bot['id']] = array(0, 0, time()); + } + if($k > _BOTSEPARATOR_) { + $this->needupdate = 1; + } + } + if($this->battle[$k][$bot['id']][0] == 0 && $k < _BOTSEPARATOR_) { + if(in_array($user['id'], array_keys($this->battle[$bot['id']]))) { + if($this->my_class == 'B2') { + if($this->to2 <= $this->to1) { + $endr = ((time()-$this->to2) > $this->battle_data['timeout']*60); + } + } else { + if($this->to2 >= $this->to1) { + $endr = ((time()-$this->to1) > $this->battle_data['timeout']*60); + } + } + } + } + if($endr && !$uje && 0) { + if($user['caveleader'] > 0) { + $this->needrefresh = 1; + } + $this->needupdate = 1; + $this->needrefresh = 1; + $uje = true; + $this->AddToLog("".date("H:i")." Бой закончен по таймауту.
    "); + foreach($this->battle[$bot['id']] as $k => $v) { + if($k > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `hp`, `prototype` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $us['hp'] = $bots['hp']; + $b = mysql_fetch_array(mysql_query('SELECT `id`, `level` FROM `users` WHERE `id` = "'.$bots['prototype'].'" LIMIT 1')); + $us['level'] = $b['level']; + } else { + $us = mysql_fetch_array(mysql_query('SELECT `hp`, `level` FROM `users` WHERE `id` = "'.$k.'" LIMIT 1')); + } + if($us && (int)$us['hp'] > 0 && $us['level'] > 6) { + $tr = settravma($k, 0, 86400, 1); + if($k < _BOTSEPARATOR_ && $tr) { + $this->AddToLog(''.date("H:i").' '.nick7($k).' получил повреждение: '.$tr.'
    '); + } + } + } + foreach($this->battle[$bot['id']] as $k => $v) { + $this->user[$k]['hp'] = 0; + mysql_query('UPDATE `users` SET `hp` = 0, `fullhptime` = '.time().' WHERE `id` = "'.$k.'"'); + } + } + } + } + $bb = ($bit1+$bit2); + if($this->battle_data['needbb'] != $bb) { + mysql_query("UPDATE `battle` SET `needbb` = '$bb' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } + + ####################### + + if($_POST['enemy'] > 0 && (int)$_POST['attack'] > 0 && (int)$_POST['defend'] > 0) { + $this->InitRazmen($_POST['enemy'], $_POST['attack'], $_POST['defend']); + $this->magic[$user['id']] = 0; + mysql_query("UPDATE `battle` SET `magic` = '".serialize($this->magic)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + header("Location: fbattle.php"); + } else { + $this->GetUserTeam(); + $this->FastDeath(); + $this->enemy = $this->SelectEnemy(); + if($this->enemy) { + $this->return = 1; + } else { + if($this->GetTimeout() && (int)$this->user['hp'] > 0 && !$_POST['victory_time_out2']) { + $this->return = 3; + } else { + $this->magic[$user['id']] = 0; + mysql_query("UPDATE `battle` SET `magic` = '".serialize($this->magic)."' WHERE `id` = '{$this->battle_data['id']}' LIMIT 1"); + $this->return = 2; + } + } + } + + if($_POST['victory_time_out2']) { + $this->end_draft(); + } + + if($_POST['victory_time_out']) { + $this->end_gora(); + } + + if($this->battle_end()) { + $this->return = 2; + } + + $this->write_log(); + return $this->return; + } else { + $this->status = 0; + } + } + + function getmfs($mf, $antimf) { + $vsh = 5 + (($mf - $antimf) / 3); + if($vsh <= 0) { + $final = 0; + } else { + $final = 70 + ($vsh / 100); + } + return $final; + } + + function chanse($p) { + if($p > mt_rand(1, 100)) { + return true; + } else { + return false; + } + } + + function get_info_by_id($id) { + $valid_login = mysql_query('SELECT `id`, `login`, `align`, `level`, `sila`, `lovk`, `inta`, `vinos`, `intel`, `maxhp`, `weap`, `noj`, `dubina`, `topor`, `mec`, `ubron1`, `ubron2`, `ubron3`, `ubron4`, `bot` FROM `users` WHERE `id` = "'.$id.'" AND `bot` = 0 LIMIT 1'); + if(mysql_num_rows($valid_login) == 1) { + $user_info = mysql_fetch_array($valid_login); + } else { + $prototype = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `prototype`, `battle`, `hp` FROM `bots` WHERE `id` = "'.$id.'" LIMIT 1')); + $user_info = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align`, `level`, `sila`, `lovk`, `inta`, `vinos`, `intel`, `maxhp`, `weap`, `noj`, `dubina`, `topor`, `mec`, `ubron1`, `ubron2`, `ubron3`, `ubron4`, `bot` FROM `users` WHERE `id` = "'.$prototype['prototype'].'" LIMIT 1')); + } + return $user_info; + } + + function get_wep_type($idwep) { + if($idwep == 0 || $idwep == null || $idwep == '') { + return "kulak"; + } + $wep = mysql_fetch_array(mysql_query('SELECT `otdel`, `minu` FROM `inventory` WHERE `id` = "'.$idwep.'" LIMIT 1')); + if($wep[0] == '1') { + return "noj"; + } elseif($wep[0] == '12') { + return "dubina"; + } elseif($wep[0] == '11') { + return "topor"; + } elseif($wep[0] == '13') { + return "mech"; + } elseif($wep[0] == '52') { + return "posoh"; + } elseif($wep[1] > 0) { + return "buket"; + } else { + return "kulak"; + } + } + + function get_chanse($persent) { + $mm = 1000000; + if(mt_rand($mm, 100*$mm) <= $persent*$mm) { + return true; + } else { + return false; + } + } + + function get_block($who, $where_atack, $whom, $where_defend) { + $blocks = array('1' => array(1, 2), '2' => array(2, 3), '3' => array(3, 4), '4' => array(4, 1)); + if(!in_array($where_atack, $blocks[$where_defend])) { + return true; + } else { + return false; + } + } + + function add_log($text) { + $this->log .= $text; + } + + function battle_end() { + global $caverooms, $user, $cavebots, $party, $rep; + if($this->battle_data) { + $ss = @array_keys($this->battle); + + $t1life = 0; $t2life = 0; + + foreach($this->t1 as $k => $v) { + if(in_array($v, array_keys($this->battle))) { + $t1life++; + } + } + + foreach($this->t2 as $k => $v) { + if(in_array($v, array_keys($this->battle))) { + $t2life++; + } + } + + if($t2life == 0 || $t1life == 0) { + $charge = mysql_fetch_array(mysql_query('SELECT `win` FROM `battle` WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1')); + } + + if(($t2life == 0 || $t1life == 0) && ($charge[0] == 3 || $charge[0] == 9)) { + + mysql_query("UPDATE `battle` SET `win` = 0 WHERE `id` = '{$this->battle_data['id']}' LIMIT 1"); + + foreach($this->t1 as $k => $v) { + $nks1[] = nick7($v); + $nks1hist[] = nick3($v); + } + + foreach($this->t2 as $k => $v) { + $nks2[] = nick7($v); + $nks2hist[] = nick3($v); + } + + if(in_array($ss[0], $this->t1)) { + $flag = 1; + foreach($this->t1 as $k => $v) { + mysql_query('UPDATE `battle` SET `win` = 1 WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1'); + + $this->t1[$k] = nick5($v, " "); + + if($this->battle_data['aren_of'] == 1 && $this->t1[$k] && $v < _BOTSEPARATOR_) { + mysql_query('INSERT INTO `logs_arena` (`battle`, `user`, `uid`, `damage`, `team`) VALUES ("'.$this->battle_data['id'].'", "'.$this->t1[$k].'", "'.$v.'", "'.$this->damage[$v].'", "1")'); + } + + if($this->user['in_tower'] > 0) { + + } + + if($this->user['x'] != 0 || $this->user['y'] != 0 && $this->user['laba'] > 0) { + $lobj = mysql_fetch_array(mysql_query('SELECT * FROM `laba_obj` WHERE `lib` = "'.$this->user['laba'].'" AND `x` = "'.$this->user['x'].'" AND `y` = "'.$this->user['y'].'" LIMIT 1')); + if(isset($lobj['id'])) { + $q2 = mysql_fetch_array(mysql_query('SELECT * FROM `qst_user` WHERE `uid` = "'.$this->user['id'].'" AND `cancel` = "0" AND `finish` = "0" LIMIT 1')); + if(isset($q2['id'])) { + $q1 = mysql_fetch_array(mysql_query('SELECT * FROM `qst` WHERE `id` = "'.$q2['qid'].'" LIMIT 1')); + if($q1['type'] == 3) { + $jobs = 0; + $sp = mysql_query('SELECT * FROM `bots` WHERE `battle` = "'.$this->battle_data['id'].'"'); + while($pl = mysql_fetch_array($sp)) { + if($q1['obj_id'] == $pl['prototype']) { + $jobs++; + } + } + mysql_query('UPDATE `qst_user` SET `val` = "'.($q2['val'] + $jobs).'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + } + } + mysql_query('UPDATE `laba_obj` SET `use` = "'.time().'" WHERE `lib` = "'.$lobj['lib'].'" AND `x` = "'.$lobj['x'].'" AND `y` = "'.$lobj['y'].'"'); + } + } + + $this->exp[$v] = round($this->exp[$v]); + $dop_exp = check_proc($this->user['id']); + if($dop_exp > 100) { + $add = ($dop_exp-100); + $this->exp[$v] += round(($this->exp[$v]*$add)/100, 0); + } + + if($user['caveleader'] > 0 || $user['laba'] > 0) { + if($this->damage[$v] > 1) { + $this->exp[$v] = mt_rand(5, 10); + } else { + $this->exp[$v] = 0; + } + } + + if(empty($this->damage[$v])) { + $this->damage[$v] = 0; + } + + if($user['caveleader'] > 0 || $user['laba'] > 0) { + $rep = floor($this->damage[$v]/300); + if($rep <= 0) { + $rep = 0; + } + $ads = '. Репутации: '.$rep.' ед.'; + } else { + $rep = 0; + $ads = '.'; + } + + if($this->battle_data['clone'] == 1 && $this->battle_data['fiz'] == 0) { + addActions(time(), 'kill_clone', 0, $this->user['id']); + } + + if($this->battle_data['type'] == 3) { + addActions(time(), 'win_haot', 0, $this->user['id']); + } + + if($this->battle_data['fiz'] == 1) { + addActions(time(), 'win_fiz', 0, $this->user['id']); + } + + addchp('Внимание! Победа! Бой окончен. Всего вами нанесено урона : '.$this->damage[$v].' HP. Получено опыта : '.$this->exp[$v].' ('.$dop_exp.'%)'.$ads.' ', '{[]}'.nick7 ($v).'{[]}'); + + mysql_query('UPDATE `users` SET `win` = (`win` +1), `fullhptime` = '.time().' WHERE `id` = "'.$v.'"'); + GiveExp($v, $this->exp[$v]); + if($user['caveleader'] > 0 || $user['laba'] > 0) { + GiveRep($v, $rep); + } + if($user['klan']) { + mysql_query('UPDATE `clans` SET `clanexp` = (`clanexp`+'.(int)$this->exp[$user['id']].') WHERE `id` = "'.$v[$user['klan']].'" LIMIT 1'); + } + + } + $winers .= implode("
    , ", $this->t1); + $lomka = $this->t2; + include('cave/win.php'); + } elseif(in_array($ss[0], $this->t2)) { + $flag = 2; + foreach($this->t2 as $k => $v) { + mysql_query('UPDATE `battle` SET `win` = 2 WHERE `id` = "'.$this->user['battle'].'" LIMIT 1'); + $this->t2[$k] = nick5($v, ""); + + if($this->battle_data['aren_of'] == 1 && $this->t2[$k] && $v < _BOTSEPARATOR_) { + mysql_query('INSERT INTO `logs_arena` (`battle`, `user`, `uid`, `damage`, `team`) VALUES ("'.$this->user['battle'].'", "'.$this->t1[$k].'", "'.$v.'", "'.$this->damage[$v].'", "2")'); + } + + if($this->user['laba'] > 0) { + mysql_query('UPDATE `users` SET `x` = "'.$this->user['xf'].'", `y` = "'.$this->user['yr'].'" WHERE `id` = "'.$this->user['id'].'" LIMIT 1'); + } + + $this->exp[$v] = round($this->exp[$v]); + $dop_exp = check_proc($this->user['id']); + if($dop_exp > 100) { + $add = ($dop_exp-100); + $this->exp[$v] += round(($this->exp[$v]*$add)/100, 0); + } + + if($user['caveleader'] > 0 || $user['laba'] > 0) { + if($this->damage[$v] > 1) { + $this->exp[$v] = mt_rand(5, 10); + } else { + $this->exp[$v] = 0; + } + } + + if($this->battle_data['clone'] == 1 && $this->battle_data['fiz'] == 0) { + addActions(time(), 'kill_clone', 0, $this->user['id']); + } + + if($this->battle_data['type'] == 3) { + addActions(time(), 'win_haot', 0, $this->user['id']); + } + + if($this->battle_data['fiz'] == 1) { + addActions(time(), 'win_fiz', 0, $this->user['id']); + } + + if(in_array($user['room'], $caverooms)) { + $location = mysql_fetch_array(mysql_query("SELECT `x`, `y`, `dir` FROM `caveparties` WHERE `user` = '".$this->user['id']."' LIMIT 1")); + if($location['dir'] == 0) { $y = $location['y']*2; $x = ($location['x']-1)*2; } + if($location['dir'] == 1) { $y = ($location['y']-1)*2; $x = $location['x']*2; } + if($location['dir'] == 2) { $y = $location['y']*2; $x = ($location['x']+1)*2; } + if($location['dir'] == 3) { $y = ($location['y']+1)*2; $x = $location['x']*2; } + mysql_query("UPDATE `cavebots` SET `battle` = 0 WHERE `battle` = '".$this->battle_data['id']."'"); + } + + addchp('Внимание! Победа! Бой окончен. Всего вами нанесено урона : '.(int)$this->damage[$v].' HP. Получено опыта '.$this->exp[$v].' ('.$dop_exp.'%). ','{[]}'.nick7 ($v).'{[]}'); + + mysql_query('UPDATE `users` SET `win` = (`win`+1), `fullhptime` = '.time().' WHERE `id` = "'.$v.'"'); + GiveExp($v, $this->exp[$v]); + } + + $winers .= implode(", ", $this->t2); + $lomka = $this->t1; + } else { + if(in_array($user['room'], $caverooms)) { + $location = mysql_fetch_array(mysql_query("SELECT `x`, `y`, `dir` FROM `caveparties` WHERE `user` = '".$this->user['id']."' LIMIT 1")); + if($location['dir'] == 0) { $y = $location['y']*2; $x = ($location['x']-1)*2; } + if($location['dir'] == 1) { $y = ($location['y']-1)*2; $x = $location['x']*2; } + if($location['dir'] == 2) { $y = $location['y']*2; $x = ($location['x']+1)*2; } + if($location['dir'] == 3) { $y = ($location['y']+1)*2; $x = $location['x']*2; } + mysql_query("UPDATE `cavebots` SET `battle` = 0 WHERE `battle` = '".$this->battle_data['id']."'"); + } + + if($this->battle_data['x'] > 0 || $this->battle_data['y'] > 0 && $this->user['laba'] > 0) { + mysql_query('UPDATE `users` SET `x` = "'.$this->user['xf'].'", `y` = "'.$this->user['yr'].'" WHERE `laba` = "'.$this->user['laba'].'" AND `x` = "'.$this->battle_data['x'].'" AND `y` = "'.$this->battle_data['y'].'" AND `battle` = "'.$this->battle_data['id'].'" LIMIT 1'); + } + include("cave/lose.php"); + } + + if($lomka) { + $haos_flag = 0; + foreach($lomka as $k => $v) { + if(mt_rand(1, 6) == 1) { + $us = mysql_query('UPDATE `inventory` SET `duration` = (`duration`+1) WHERE `type` != 12 AND `dressed` = 1 AND `owner` = \''.$v.'\''); + } + + $inv_broken = mysql_query("SELECT * FROM `inventory` WHERE `type` != 12 AND `dressed` = 1 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."')) AND `owner` = '{$v}'"); + while($br = mysql_fetch_array($inv_broken)) { + dropitemid($br['type'], $v); + } + + $its = mysql_query("SELECT `id` FROM `inventory` WHERE `dressed` = 0 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."')) AND `owner` = '{$v}'"); + while($it = mysql_fetch_array($its)) { + mysql_query("DELETE FROM `inventory` WHERE `id` = '".$it['id']."' LIMIT 1"); + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '\"".$it['name']."\" разрушился id : (".$it['id'].").', '1', '".time()."')"); + } + + $this->exp[$v] = 0; + addchp('Внимание! Поражение! Бой окончен. Всего вами нанесено урона : '.(int)$this->damage[$v].' HP. Получено опыта 0.', '{[]}'.nick7 ($v).'{[]}'); + mysql_query('UPDATE `users` SET `lose` = (`lose`+1) WHERE `id` = \''.$v.'\''); + } + } + + foreach($this->t1 as $k => $v) { + $us = mysql_query('SELECT `duration`, `maxdur`, `name` FROM `inventory` WHERE `type` != 12 AND `dressed` = 1 AND `owner` = \''.$v.'\''); + while($rrow = mysql_fetch_row($us)) { + if(($rrow[1]-$rrow[0]) == 1) { + $this->AddToLog(''.date("H:i").' Внимание! У "'.nick7($v).'" предмет "'.$rrow[2].'" в критическом состоянии!
    (на правах рекламы) Ремонтная мастерская . Мы даем вторую жизнь старым вещам!
    '); + } elseif(($rrow[1]-$rrow[0]) == 2) { + $this->AddToLog(''.date("H:i").' Внимание! У "'.nick7($v).'" предмет "'.$rrow[2].'" нуждается в ремонте!
    (на правах рекламы) Ремонтная мастерская . Мы даем вторую жизнь старым вещам!
    '); + } + } + } + + foreach($this->t2 as $k => $v) { + $us = mysql_query('SELECT `duration`, `maxdur`, `name` FROM `inventory` WHERE `type` != 12 AND `dressed` = 1 AND `owner` = \''.$v.'\''); + while($rrow = mysql_fetch_row($us)) { + if(($rrow[1]-$rrow[0]) == 1) { + $this->AddToLog(''.date("H:i").' Внимание! У "'.nick7($v).'" предмет '.$rrow[2].' в критическом состоянии!
    (на правах рекламы) Ремонтная мастерская . Мы даем вторую жизнь старым вещам!
    '); + } elseif(($rrow[1]-$rrow[0]) == 2) { + $this->AddToLog(''.date("H:i").' Внимание! У "'.nick7($v).'" предмет "'.$rrow[2].'" нуждается в ремонте!
    (на правах рекламы) Ремонтная мастерская . Мы даем вторую жизнь старым вещам!
    '); + } + } + } + + if($winers) { + if($this->battle_data['aren_of'] == 1) { + $arr_battle = mysql_fetch_array(mysql_query('SELECT `id`, `win`, `aren_of` FROM `battle` WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1')); + $us_win = mysql_query('SELECT `id`, `user`, `uid`, `team` FROM `logs_arena` WHERE `team` = "'.$arr_battle['win'].'" AND `battle` = "'.$this->battle_data['id'].'" ORDER BY `damage` DESC LIMIT 3'); + while($win = mysql_fetch_array($us_win)) { + $uss .= ', '; + $uss .= $win['user']; + mysql_query('INSERT INTO `effects` (`type`, `name`, `time`, `hp`, `owner`) VALUES ("7", "Эйфория", "'.(time()+60*60*24).'", "200", "'.$win['uid'].'")'); + mysql_query('UPDATE `users` SET `maxhp` = (`maxhp`+200) WHERE `id` = "'.$win['uid'].'" LIMIT 3'); + mysql_query('INSERT INTO `effects` (`type`, `name`, `time`, `proc_exp`, `owner`) VALUES ("6", "Повешенный опыт (200%)", "'.(time()+60*60*24).'", "100", "'.$win['uid'].'")'); + } + + $bad = mysql_query('SELECT `id`, `uid`, `team` FROM `logs_arena` WHERE `team` != "'.$arr_battle['win'].'" AND `battle` = "'.$this->battle_data['id'].'" ORDER BY `damage` DESC LIMIT 3'); + while($give = mysql_fetch_array($bad)) { + mysql_query('INSERT INTO `effects` (`type`, `name`, `time`, `proc_exp`, `owner`) VALUES ("6", "Повешенный опыт (150%)", "'.(time()+60*60*24).'", "50", "'.$give['uid'].'")'); + } + + if($uss != '') { + $uss = ltrim($uss, ', '); + } else { + $uss = '-Игроков не было в бою-'; + } + + if($arr_battle['win'] == 1) { + AddChatSystem("Внимание! Тьма одержала победу благодаря великим воинам : $uss"); + $this->AddToLog(''.date("H:i").' '.'Бой закончен, победа за Силами Тьмы
    '); + } else { + AddChatSystem("Внимание! Свет одержал победу благодаря великим воинам : $uss"); + $this->AddToLog(''.date("H:i").' '.'Бой закончен, победа за Силами Света
    '); + } + mysql_query('UPDATE `variables` SET `value` = "'.$arr_battle['win'].'" WHERE `var` = "arena_win" LIMIT 1'); + mysql_query('UPDATE `battle` SET `aren_of` = 0 WHERE `id` = "'.$arr_battle['id'].'" AND `aren_of` = 1 LIMIT 1'); + } else { + $this->AddToLog(''.date("H:i").' '.'Бой закончен, победа за '.$winers.'
    '); + } + unset($uss); + + if($this->battle_data['blood']) { + $this->AddToLog(''.date("H:i").' ... и победители стали калечить проигравших...
    '); + foreach($lomka as $k => $v) { + if($this->battle_data['blood'] == 2) { + $tr = settravma($v, 13, 86400, 1); + } else{ + $tr = settravma($v, 0, 86400, 1); + } + + if($v < _BOTSEPARATOR_) { + $this->AddToLog(''.date("H:i").' '.nick7($v).' получил повреждение: '.$tr.'
    '); + $inv_broken = mysql_query("SELECT `id`, `type`, `dressed`, `duration`, `maxdur`, `dategoden`, `owner` FROM `inventory` WHERE `type` != 12 AND `dressed` = 1 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."')) AND `owner` = '{$v}'"); + while($br = mysql_fetch_array($inv_broken)) { + dropitemid($br['type'], $v); + } + } + } + } + } else { + if($this->battle_data['aren_of'] == 1) { + AddChatSystem("Внимание! Бой на Арене Ангелов завершился ничьей, на этой недели силы тьмы и света равны."); + mysql_query('UPDATE `variables` SET `value` = 3 WHERE `var` = "arena_win" LIMIT 1'); + mysql_query('UPDATE `battle` SET `aren_of` = 0 WHERE `id` = "'.$arr_battle['id'].'" AND `aren_of` = 1 LIMIT 1'); + } + + $this->AddToLog(''.date("H:i").' '.'Бой закончен. Ничья.
    '); + mysql_query("UPDATE `users` SET `battle` = 0, `nich` = (`nich`+1), `fullhptime` = ".time()." WHERE `battle` = '{$this->user['battle']}'"); + $this->exp = 0; + } + + if($flag == 1) { + $rr = implode("
    , ", $nks1)." и ".implode(", ", $nks2); + } elseif($flag == 2) { + $rr = implode(", ", $nks1)." и ".implode(", ", $nks2).""; + } else { + $rr = implode(", ", $nks1)." и ".implode(", ", $nks2).""; + } + + mysql_query('UPDATE `battle` SET `t1hist` = \''.implode(", ", $nks1hist).'\', `t2hist` = \''.implode(", ", $nks2hist).'\' WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1'); + mysql_query('UPDATE `battle` SET `exp` = \''.serialize($this->exp).'\' WHERE `id` = "'.$this->battle_data['id'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = 0, `fullhptime` = '".time()."' WHERE `battle` = '{$this->battle_data['id']}'"); + unset($this->battle); + return true; + } + } + return false; + } + + function end_gora() { + if($this->GetTimeout()) { + foreach($this->team_mine as $v) { + if(in_array($v, array_keys($this->battle))) { + $vvv = $v; + } + } + $this->AddToLog("".date("H:i")." Бой закончен по таймауту.
    "); + + foreach($this->team_enemy as $v => $k) { + if($k > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $us['hp'] = $bots['hp']; + } else { + $us = mysql_fetch_array(mysql_query('SELECT `hp` FROM `users` WHERE `id` = "'.$k.'" LIMIT 1')); + } + + if($us && (int)$us['hp'] > 0) { + if(!$this->battle_data['blood']) { + $tr = settravma($k, 0, 86400, 1); + if($k < _BOTSEPARATOR_) { + $this->AddToLog(''.date("H:i").' '.nick7($k).' получил повреждение: '.$tr.'
    '); + } + } + } + } + + foreach($this->team_enemy as $v => $k) { + mysql_query('UPDATE `users` SET `hp` = 0, `fullhptime` = '.time().' WHERE `id` = "'.$k.'"'); + } + header("Location: ".$_SERVER['PHP_SELF']."?batl=".$this->user['battle']); + } + } + + function end_draft() { + if(!$this->user['in_tower']) { + if($this->GetTimeout()) { + $this->battle = null; + mysql_query("UPDATE `users` SET `battle` = 0, `nich` = (`nich`+1), `fullhptime` = ".time()." WHERE `battle` = {$this->battle_data['id']}"); + mysql_query("UPDATE `battle` SET `win` = 0 WHERE `id` = '{$this->battle_data['id']}' LIMIT 1"); + $this->AddToLog("".date("H:i")." Бой закончен по таймауту. Ничья.
    "); + $this->exp = 0; + $this->write_log(); + } + } + } + + function FastDeath() { + if($this->battle) { + foreach($this->battle as $k => $v) { + if($k > _BOTSEPARATOR_) { + $bot = mysql_fetch_array(mysql_query("SELECT `hp`, `battle`, `prototype` FROM `bots` WHERE `id` = '{$k}' LIMIT 1")); + $us = mysql_fetch_array(mysql_query("SELECT `maxhp`, `sex` FROM `users` WHERE `id` = '{$bot['prototype']}' LIMIT 1")); + $us['hp'] = $bot['hp']; + $us['battle'] = $bot['battle']; + } else { + $us = mysql_fetch_array(mysql_query("SELECT `hp`, `maxhp`, `sex`, `battle` FROM `users` WHERE `id` = '{$k}' LIMIT 1")); + } + + if($us['hp'] <= 0) { + if($us['sex'] == 1) { + $this->AddToLog(''.date("H:i").' '.nick5($k, 'b').' умер!
    '); + } else { + $this->AddToLog(''.date("H:i").' '.nick5($k, 'b').' погибла!
    '); + } + + if($k < _BOTSEPARATOR_) { + mysql_query("UPDATE `users` SET `hp` = 0, `fullhptime` = '".time()."' WHERE `id` = '{$k}' LIMIT 1"); + } else { + mysql_query("UPDATE `bots` SET `hp` = 0 WHERE `id` = '{$k}' LIMIT 1"); + } + + foreach($this->battle as $kak => $vav) { + unset($this->battle[$kak][$k]); + } + unset($this->battle[$k]); + } + + if($k == null ) { + foreach($this->battle as $kak => $vav) { + unset($this->battle[$kak][$k]); + } + } + + if($us['battle'] == 0) { + foreach($this->battle as $kak => $vav) { + unset($this->battle[$kak][$k]); + } + unset($this->battle[$k]); + } + unset($us); + } + $this->UpdateBattle(); + } + } + + function gen_color($u, $enemy) { + $this->t1 = explode(";", $this->battle_data['t1']); + $this->t2 = explode(";", $this->battle_data['t2']); + $c = array(); + if(in_array($u, $this->t1)) { + $c['me'] = "B1"; + $c['he'] = "B2"; + } else { + $c['me'] = "B2"; + $c['he'] = "B1"; + } + return $c; + } + + function GetUserTeam() { + $this->t1 = explode(";", $this->battle_data['t1']); + $this->t2 = explode(";", $this->battle_data['t2']); + + if(in_array($this->user['id'], $this->t1)) { + $this->my_class = "B1"; + $this->en_class = "B2"; + $this->team_mine = $this->t1; + $this->team_enemy = $this->t2; + } else { + $this->my_class = "B2"; + $this->en_class = "B1"; + $this->team_mine = $this->t2; + $this->team_enemy = $this->t1; + } + } + + function init_botRazmen($uid, $enemy, $attack, $defend) { + $RazmenValues = array(1, 2, 3, 4); + $hp_1 = mysql_fetch_array(mysql_query('SELECT `id`, `hp`, `prototype` FROM `bots` WHERE `id` = "'.$uid.'" LIMIT 1')); + $maxhp_1 = mysql_fetch_array(mysql_query('SELECT `maxhp` FROM `users` WHERE `id` = "'.$hp_1['prototype'].'" LIMIT 1')); + $hp_2 = mysql_fetch_array(mysql_query('SELECT `id`, `hp`, `prototype` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + $maxhp_2 = mysql_fetch_array(mysql_query('SELECT `maxhp` FROM `users` WHERE `id` = "'.$hp_2['prototype'].'" LIMIT 1')); + $color = $this->gen_color($uid, $enemy); + if(in_array($attack, $RazmenValues) && in_array($defend, $RazmenValues) && $enemy && $hp_1['hp'] > 0) { + if($this->battle[$enemy][$uid][0] > 0) { + $this->AddToLogBot($this->GetComment()); + $mf = $this->solve_mfs($uid, $enemy, $attack); + + $uvorotme = $this->chanse($mf['me']['chanse']); + $krithe = $this->chanse($mf['he']['chanse_krit']); + if($uvorotme && !$krithe) { + $uve = 1; + } elseif(!$uvorotme && $krithe) { + $uve = 2; + } elseif($uvorotme && $krithe) { + $uve = rand(1, 2); + } else { + $uve = 0; + } + + if($uve == 1) { + $this->AddToLogBot($this->razmen_log("uvorot", $this->battle[$enemy][$uid][0], $this->GetWeaponType($this->enemyhar['weap']), 0, $enemy, $color['he'], $uid, $color['me'], 0, 0)); + } elseif($uve == 2) { + if($this->GetBlock("me", $this->battle[$enemy][$uid][0], $defend, $enemy)) { + $hs = 1; $m = 'a'; + } else { + $hs = 2; $m = ''; + } + $yron = $mf['he']['udar']*$hs; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$uid.'" LIMIT 1')); + if($us['hp'] < $yron) { + $yron = $us['hp']; + } + $this->damage[$enemy] += $yron; + $jv = ($hp_1['hp']-$yron); + $this->exp[$enemy] += SolveExp($enemy, $uid, $yron); + $this->AddToLogBot($this->razmen_log("krit".$m, $this->battle[$enemy][$uid][0], $this->GetWeaponType($this->enemyhar['weap']), $yron, $enemy, $color['he'], $uid, $color['me'], ($hp_1['hp']-$yron), $maxhp_2['maxhp'])); + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$uid.'" LIMIT 1'); ### Maybe not limited + } elseif(!$this->GetBlock("me", $this->battle[$enemy][$uid][0], $defend, $enemy)) { + $yron = $mf['he']['udar']; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$uid.'" LIMIT 1')); + if($us['hp'] < $yron) { + $yron = $us['hp']; + } + $jv = ($hp_1['hp']-$yron); + $this->AddToLogBot($this->razmen_log("udar", $this->battle[$enemy][$uid][0], $this->GetWeaponType($this->enemyhar['weap']), $yron, $enemy, $color['he'], $uid, $color['me'], ($hp_1['hp']-$yron), $maxhp_2['maxhp'])); + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$uid.'" LIMIT 1'); + } else { + $this->AddToLogBot($this->razmen_log("block", $this->battle[$enemy][$uid][0], $this->GetWeaponType($this->enemyhar['weap']), 0, $enemy, $color['he'], $uid, $color['me'], 0, 0)); + } + + $uvorothe = $this->chanse($mf['he']['chanse']); + $kritme = $this->chanse($mf['me']['chanse_krit']); + if($uvorothe && !$kritme) { + $uve = 1; + } elseif(!$uvorothe && $kritme) { + $uve = 2; + } elseif($uvorothe && $kritme) { + $uve = rand(1, 2); + } else { + $uve = 0; + } + + if($uve == 1) { + $this->AddToLogBot($this->razmen_log("uvorot", $attack, $this->GetWeaponType($this->user['weap']), 0, $uid, $color['me'], $enemy, $color['he'], 0, 0)); + } elseif($uve == 2) { + if($this->GetBlock("he", $attack, $this->battle[$enemy][$uid][1], $enemy)) { + $hs = 1; $m = 'a'; + } else { + $hs = 2; $m = ''; + } + $yron = $mf['me']['udar']*$hs; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + if($us['hp'] < $yron) { + $yron = $us['hp']; + } + $this->AddToLogBot($this->razmen_log("krit".$m, $attack, $this->GetWeaponType($this->user['weap']), $yron, $uid, $color['me'], $enemy, $color['he'], ($this->enemyhar['hp']-$yron), $this->enemyhar['maxhp'])); + + if($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } else { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } + + } elseif(!$this->GetBlock("he", $attack, $this->battle[$enemy][$uid][1], $enemy)) { + $yron = $mf['me']['udar']; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + if($us['hp'] < $yron) { + $yron = $us['hp']; + } + $this->AddToLogBot($this->razmen_log("udar", $attack, $this->GetWeaponType($this->user['weap']), $yron, $uid, $color['me'], $enemy, $color['he'], ($this->enemyhar['hp']-$yron), $this->enemyhar['maxhp'])); + if($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } else { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } + } else { + $this->AddToLogBot($this->razmen_log("block", $attack, $this->GetWeaponType($this->user['weap']), 0, $uid, $color['me'], $enemy, $color['he'], 0, 0)); + } + + $this->battle[$enemy][$uid] = array(0, 0, time()); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + $this->UpdateBattle(); + } else { + $this->battle[$uid][$enemy] = array($attack, $defend, time()); + if($this->my_class == "B1" && $jv > 0) { + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".(time()-1)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } elseif($jv > 0) { + mysql_query("UPDATE `battle` SET `to2` = '".time()."', `to1` = '".(time()-1)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } else { + mysql_query("UPDATE `battle` SET `to2` = '".time()."', `to1` = '".(time())."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } + $this->FastDeath(); + $this->UpdateBattle(); + #header('Location: fbattle.php'); + die(); + } + } else { + return false; + } + } + + function InitRazmen($enemy, $attack, $defend) { + $RazmenValues = array(1, 2, 3, 4); $DefValues = array(1, 2, 3, 4); + if(in_array($attack, $RazmenValues) && in_array($defend, $DefValues) && $enemy && $this->user['hp'] > 0) { + + if($this->battle[$enemy][$this->user['id']][0] > 0) { + + $this->AddToLog($this->GetComment()); + $mfs = $this->solve_mfs($this->user['id'], $enemy, $attack); + + $color = $this->gen_color($this->user['id'], $enemy); + if($mfs['me']['chanse'] > 0) { + $uvorotme = $this->chanse($mfs['me']['chanse']); + } else { + $uvorotme = false; + } + + if($mfs['me']['chanse_krit'] > 0) { + $krithe = $this->chanse($mfs['he']['chanse_krit']); + } else { + $krithe = false; + } + + if($uvorotme && !$krithe) { + $uve = 1; + } elseif(!$uvorotme && $krithe) { + $uve = 2; + } elseif($uvorotme && $krithe) { + $uve = rand(1, 2); + } else { + $uve = 0; + } + + if($uve == 1) { + $this->AddToLog($this->razmen_log("uvorot", $this->battle[$enemy][$this->user['id']][0], $this->GetWeaponType($this->enemyhar['weap']), 0, $enemy, $color['me'], $this->user['id'], $color['he'], 0, 0)); + } elseif($uve == 2) { + $this->battle[$enemy][$this->user['id']] = array($attack, $defend, time()); + if($this->get_blocks($this->battle[$this->user['id']][$enemy][0], $this->battle[$enemy][$this->user['id']][1])) { + $hs = 1; $m = 'a'; + } else { + $hs = 2; $m = ''; + } + $yron = $mfs['he']['udar']*$hs; + + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `users` WHERE `id` = "'.$this->user['id'].'" LIMIT 1')); + if($hp_u['hp'] < ($mfs['he']['udar']*$hs)) { + $yron = $hp_u['hp']; + } + + $this->damage[$enemy] += $yron; + $jv = ($this->user['hp']-$yron); + $this->exp[$enemy] += SolveExp($enemy, $this->user['id'], $yron); + $this->AddToLog($this->razmen_log("krit".$m, $this->battle[$this->user['id']][$enemy][0], $this->GetWeaponType($this->enemyhar['weap']), $yron, $enemy, $color['me'], $this->user['id'], $color['he'], ($this->user['hp']-$yron), $this->user['maxhp'])); + + mysql_query('UPDATE `users` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$this->user['id'].'" LIMIT 1'); + + if(!($this->user['align'] == '2' || $this->user['align'] == '8.31')) { + $tmphp = mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id` = {$this->user['id']} LIMIT 1")); + $tmphp = $tmphp['hp']; + if($tmphp <= 0) { + if(mt_rand(0, 100) <= 40 && $this->user['level'] > 6) { + $tr = settravma($this->user['id'], 0, 86400, 0); + if($this->user['id'] < _BOTSEPARATOR_) { + $this->AddToLog(''.date("H:i").' '.nick7($this->user['id']).' получил повреждение: '.$tr.'
    '); + } + } + } + } + } elseif(!$this->get_blocks($this->user['id'], $this->battle[$enemy][$this->user['id']][0], $enemy, $this->battle[$this->user['id']][$enemy][1])) { + $yron = $mfs['he']['udar']; + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `users` WHERE `id` = "'.$this->user['id'].'" LIMIT 1')); + if($hp_u['hp'] < $mfs['he']['udar']) { + $yron = $hp_u['hp']; + } + + $this->damage[$enemy] += $yron; + $jv = ($this->user['hp']-$yron); + $this->exp[$enemy] += SolveExp($enemy, $this->user['id'], $yron); + $this->AddToLog($this->razmen_log("udar", $this->battle[$enemy][$this->user['id']][0], $this->GetWeaponType($this->enemyhar['weap']), $yron, $enemy, $color['me'], $this->user['id'], $color['he'], ($this->user['hp']-$yron), $this->user['maxhp'])); + mysql_query('UPDATE `users` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$this->user['id'].'" LIMIT 1'); + } else { + $this->AddToLog($this->razmen_log("block", $this->battle[$enemy][$this->user['id']][1], $this->GetWeaponType($this->enemyhar['weap']), 0, $enemy, $color['me'], $this->user['id'], $color['he'], 0, 0)); + } + + if($mfs['he']['chanse'] > 0) { + $uvorothe = $this->chanse($mfs['he']['chanse']); + } else { + $uvorothe = false; + } + + if($mfs['me']['chanse_krit'] > 0) { + $kritme = $this->chanse($mfs['me']['chanse_krit']); + } else { + $kritme = false; + } + + if($uvorothe && !$kritme) { + $uve_1 = 1; + } elseif(!$uvorothe && $kritme) { + $uve_1 = 2; + } elseif($uvorothe && $kritme) { + $uve_1 = rand(1, 2); + } else { + $uve_1 = 0; + } + + if($uve_1 == 1) { + $this->AddToLog($this->razmen_log("uvorot", $attack, $this->GetWeaponType($this->user['weap']), 0, $this->user['id'], $color['me'], $enemy, $color['he'], 0, 0)); + } elseif($uve_1 == 2) { + if($this->get_blocks($enemy, $this->battle[$this->user['id']][$enemy][0], $this->user['id'], $this->battle[$enemy][$this->user['id']][1])) { + $hs = 1; $m = 'a'; + } else { + $hs = 2; $m = ''; + } + $yron = $mfs['me']['udar']*$hs; + if($enemy > _BOTSEPARATOR_) { + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + } else { + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `users` WHERE `id` = "'.$enemy.'" LIMIT 1')); + } + if($hp_u['hp'] < $yron) { + $yron = $hp_u['hp']; + } + + $this->damage[$this->user['id']] += $yron; + $this->exp[$this->user['id']] += SolveExp($this->user['id'], $enemy, $yron); + $this->AddToLog($this->razmen_log("krit".$m, $attack, $this->GetWeaponType($this->user['weap']), $yron, $this->user['id'], $color['me'], $enemy, $color['he'], ($this->enemyhar['hp']-$yron), $this->enemyhar['maxhp'])); + + if($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } else { + mysql_query('UPDATE `users` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + + $tmpen = mysql_fetch_array(mysql_query("SELECT `id`, `align`, `hp`, `level` FROM `users` WHERE `id`= '{$enemy}' LIMIT 1")); + if(!($tmpen['align'] == '2' || $tmpen['align'] == '8.31')) { + $tmphp = $tmpen['hp']; + if($tmphp <= 0) { + if(mt_rand(0, 100) <= 40 && $tmpen['level'] > 6) { + $tr = settravma($tmpen['id'], $tmptravma, 86400, 0); + if($tmpen['id'] < _BOTSEPARATOR_) { + $this->AddToLog(''.date("H:i").' '.nick7($tmpen['id']).' получил повреждение: '.$tr.'
    '); + } + } + } + } + } + } elseif($this->get_blocks("he", $this->battle[$this->user['id']][$enemy][0], $this->user['id'], $this->battle[$enemy][$this->user['id']][1])) { + $yron = $mfs['me']['udar']; + if($enemy > _BOTSEPARATOR_) { + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `bots` WHERE `id` = "'.$enemy.'" LIMIT 1')); + } else { + $hp_u = mysql_fetch_array(mysql_query('SELECT `id`, `hp` FROM `users` WHERE `id` = "'.$enemy.'" LIMIT 1')); + } + if($hp_u['hp'] < $yron) { + $yron = $hp_u['hp']; + } + $this->damage[$this->user['id']] += $yron; + $this->exp[$this->user['id']] += SolveExp($this->user['id'], $enemy, $yron); + $this->AddToLog($this->razmen_log("udar", $attack, $this->GetWeaponType($this->user['weap']), $yron, $this->user['id'], $color['me'], $enemy, $color['he'], ($this->enemyhar['hp']-$yron), $this->enemyhar['maxhp'])); + + if($enemy > _BOTSEPARATOR_) { + mysql_query('UPDATE `bots` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } else { + mysql_query('UPDATE `users` SET `hp` = (`hp` - '.$yron.') WHERE `id` = "'.$enemy.'" LIMIT 1'); + } + } else { + $this->AddToLog($this->razmen_log("block", $defend, $this->GetWeaponType($this->user['weap']), 0, $this->user['id'], $color['me'], $enemy, $color['he'], 0, 0)); + } + + $this->battle[$enemy][$this->user['id']] = array(0, 0, time()); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$this->user['battle']."' LIMIT 1"); + $this->UpdateBattle(); + + } else { + $this->battle[$this->user['id']][$enemy] = array($attack, $defend, time()); + if($this->my_class == "B1" && $jv > 0) { + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".(time()-1)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } elseif($jv > 0) { + mysql_query("UPDATE `battle` SET `to2` = '".time()."', `to1` = '".(time()-1)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } else { + mysql_query("UPDATE `battle` SET `to2` = '".time()."', `to1` = '".(time())."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } + $this->UpdateBattle(); + header("Location: ".$_SERVER['PHP_SELF'].""); + die(); + } + } else { + return false; + } + } + + function addAction($time, $vars, $vls, $uid = NULL) { + if($uid == NULL) { + $uid = $this->user['id']; + } + $ins = mysql_query('INSERT INTO `actions` (`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`) VALUES ("'.$uid.'", "'.$time.'", "capitalcity", "0", "'.mysql_real_escape_string($vars).'", "'.mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']).'", "'.mysql_real_escape_string($vls).'")'); + if($ins) { + return true; + } else { + return false; + } + } + + function GetWeaponType($idwep) { + if($idwep == 0 || $idwep == null || $idwep == '') { + return "kulak"; + } + + $wep = mysql_fetch_array(mysql_query("SELECT `otdel`, `minu` FROM `inventory` WHERE `id` = '{$idwep}' LIMIT 1")); + if($wep[0] == '1') { + return "noj"; + } elseif($wep[0] == '12') { + return "dubina"; + } elseif($wep[0] == '11') { + return "topor"; + } elseif($wep[0] == '13') { + return "mech"; + } elseif($wep[1] > 0) { + return "buket"; + } else { + return "kulak"; + } + } + + function razmen_log($type, $kuda, $chem, $uron, $kto, $c1, $pokomy, $c2, $hp, $maxhp) { + $color = $this->gen_color($kto, $pokomy); + if($this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { $sex1 = false; } + if(!$this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { $sex1 = true; } + if($this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { $sex2 = false; } + if(!$this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { $sex2 = true; } + + if($this->user['sex'] && $kto == $this->user['id']) { $sex1 = false; } + if(!$this->user['sex'] && $kto == $this->user['id']) { $sex1 = true; } + if($this->user['sex'] && $pokomy == $this->user['id']) { $sex2 = false; } + if(!$this->user['sex'] && $pokomy == $this->user['id']) { $sex2 = true; } + + if($hp < 0) { $hp = 0; } + + $hiden_warior = mysql_fetch_array(mysql_query('SELECT `id`, `invis` FROM `users` WHERE `id` = "'.$pokomy.'" LIMIT 1')); + if($hiden_warior['invis'] == 1) { + $hp = '??'; + $maxhp = '??'; + $uron = '??'; + } + + if(!$sex1) { + $textfail = array('думал о <вырезано цензурой>, вследствие чего', 'пытался нанести удар, но ', 'подскользнулся, и', 'старался провести удар, но', 'закашлялся, и', 'пытался провести удар, но', 'потерял самоконтроль, вследствие чего', 'думал не о том, и'); + } else { + $textfail = array('думала о <вырезано цензурой>, вследствие чего', 'пыталась нанести удар, но ', 'подскользнулась, и', 'старалась провести удар, но', 'закашлялась, и', 'пыталась провести удар, но ', 'потеряла самоконтроль, вследствие чего', 'думала не о том, и'); + } + + $textchem = array ( + "kulak" => array("грудью","ребром руки","лбом","кулаком","ногой","левой ногой","правой ногой","коленом"), + "noj" => array("ножом","тыльной стороной лезвия ножа","рукоятью ножа","лезвием ножа"), + "dubina" => array("сучковатой палкой","поленом","тяжелой дубиной","дубиной","рукоятью молота"), + "topor" => array("секирой","топором","лезвием секиры","алебардой","тяжелым держаком","длинной секирой"), + "mech" => array("ножнами","гардой","мечом","лезвием меча","рукоятью меча","тупым лезвием","острой стороной меча","огромным мечом",), + "buket" => array("охапкой цветов","веником","букетом","колючками","снопом","стеблем","листьями","бутоном",) + ); + + $textchem = $textchem[$chem]; + + $udars = array( + 1 => array('в нос','в глаз','в челюсть','по переносице','в кадык','по затылку','в правый глаз','в левый глаз','в скулу'), + 2 => array('в грудь','в корпус','в солнечное сплетение','в сердце','в бок','в область лопаток','по желудку','по левой руке','по правой руке'), + 3 => array('по <вырезано цензурой>','в пах','в промежность','по левой ягодице','по правой ягодице'), + 4 => array('по ногам','в область правой пятки','в область левой пятки','по коленной чашечке','по икрам') + ); + + $kuda = $udars[$kuda][mt_rand(0, count($udars[$kuda])-1)]; + + if(!$sex1) { + $hark = array('бесчувственный','расстроенный','храбрый','обезумевший','неустрашимый','злобный','жестокий','наглый','разъяренный','продвинутый','хитрый','мужественный','','','','','',''); + } else { + $hark = array('бесчувственная','расстроенная','храбрая','обезумевшая','неустрашимая','злобная','жестокая','наглая', 'разъяренная','продвинутая','хитрая','прекрасная','','','','','',''); + } + + if(!$sex2) { + $hark2 = array('бесчувственный','расстроенный','храбрый','обезумевший','неустрашимый','злобный','жестокий','наглый','разъяренный','продвинутый','хитрый','мужественный','','','','','',''); + } else { + $hark2 = array('бесчувственная','расстроенная','храбрая','обезумевшая','неустрашимая','злобная','жестокая','наглая','разъяренная','продвинутая','хитрая','прекрасная','','','','','',''); + } + + if(!$sex2) { + $textud = array('забылся, и тут', 'замешкался, и за это', 'растерялся, как вдруг', 'ковырялся в зубах, и тут', 'поперхнулся, но вдруг', 'пытался что-то сказать но вдруг, неожиданно', 'растерялся, как вдруг', 'засмотрелся на <вырезано цензурой>, а в это время', 'высморкался, и в это время', 'думал не о том, и', 'пришел в себя, но в это время', 'обернулся, как внезапно'); + } else { + $textud = array('забылась, и тут', 'замешкалась, и за это ', 'растерялась, как вдруг ', 'ковырялась в зубах, и тут ', 'поперхнулась, но вдруг ', 'пыталась что-то сказать но вдруг, неожиданно', 'растерялась, как вдруг', 'засмотрелась на <вырезано цензурой>, а в это время', 'высморкалась, и в это время', 'думала не о том, и', 'пришла в себя, но в это время ', 'обернулась, как внезапно'); + } + + switch($type) { + case "uvorot": + if($sex2) { + $textuvorot = array(" уклонилась от удара "," увернулась от удара "," отскочила от удара "); + } else { + $textuvorot = array(" уклонился от удара "," увернулся от удара "," отскочил от удара "); + } + return ''.date("H:i").' '.nick5($kto, $color['me']).' '.$textfail[mt_rand(0, count($textfail)-1)].' '.$hark2[mt_rand(0,count($hark2)-1)].' '.nick5($pokomy, $color['he']).' '.$textuvorot[mt_rand(0,count($textuvorot)-1)].' '.$textchem[mt_rand(0,count($textchem)-1)].' '.$kuda.'.
    '; + break; + + case "block": + if($sex2) { + $textblock = array(" заблокировала удар "," остановила удар "," отбила удар "); + } else { + $textblock = array(" заблокировал удар "," остановил удар "," отбил удар "); + } + return ''.date("H:i").' '.nick5($kto, $color['me']).' '.$textfail[mt_rand(0, count($textfail)-1)].' '.$hark2[mt_rand(0, count($hark2)-1)].' '.nick5($pokomy, $color['he']).' '.$textblock[mt_rand(0,count($textblock)-1)].' '.$textchem[mt_rand(0,count($textchem)-1)].' '.$kuda.'.
    '; + break; + + case "krit": + if($sex1) { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударила по голове булыжником оппонента.",", сказав \"БУ!\", ласково заломила руку за спину соперника.",", расслабившись, расцарапала нос соперника.",", показав сразу два пальца, наступила на ногу врага.",", напугав всех, укусила в нос противника.",", проклиная этот сайт, провела ужасный бросок через пупок оппонента."); + } else { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударил по голове булыжником оппонента.",", сказав \"БУ!\", ласково заломил руку за спину соперника.",", расслабившись, расцарапал нос соперника.",", показав сразу два пальца, наступил на ногу врага.",", напугав всех, укусил в нос противника.",", проклиная этот сайт, провел ужасный бросок через пупок оппонента."); + } + return ''.date("H:i").' '.nick5($pokomy, $color['he']).' '.$textud[mt_rand(0, count($textud)-1)].' '.$hark[mt_rand(0,count($hark)-1)].' '.nick5($kto, $color['me']).' '.$textkrit[mt_rand(0,count($textkrit)-1)].' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + + case "krita": + if($sex1) { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударила, пробив блок, по голове булыжником оппонента.",", пробив блок, ласково заломила руку за спину соперника.",", пробив блок, расцарапала нос соперника.",", пробив блок, наступила на ногу врага.",", пробив блок, укусила в нос противника.",", пробив блок, провела ужасный бросок через пупок оппонента."); + } else { + $textkrit = array(", напугав всех, неслышно подойдя сзади ударил, пробив блок, по голове булыжником оппонента.",", пробив блок, ласково заломил руку за спину соперника.",", пробив блок, расцарапал нос соперника.",", пробив блок, наступил на ногу врага.",", пробив блок, укусил в нос противника.",", пробив блок, провел ужасный бросок через пупок оппонента."); + } + return ''.date("H:i").' '.nick5($pokomy, $color['he']).' '.$textud[mt_rand(0, count($textud)-1)].' '.$hark[mt_rand(0, count($hark)-1)].' '.nick5($kto, $color['me']).' '.$textkrit[mt_rand(0,count($textkrit)-1)].' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + + case "udar": + if($sex1) { + $textudar = array(", разбежавшись, рубанула"," отчаянно проткнула "," нехотя уколола "," не подумав, рубанула ",", улыбаясь, саданула укол "," приложила удар "," ударила "," сдуру вмазала "); + } else { + $textudar = array(", разбежавшись, рубанул"," отчаянно проткнул "," нехотя уколол "," не подумав, рубанул ",", улыбаясь, саданул укол "," приложил удар "," ударил "," сдуру вмазал "); + } + return ''.date("H:i").' '.nick5($pokomy, $color['he']).' '.$textud[mt_rand(0, count($textud)-1)].' '.$hark[mt_rand(0, count($hark)-1)].' '.nick5($kto, $color['me']).''.$textudar[mt_rand(0,count($textudar)-1)].' '.$textchem[mt_rand(0,count($textchem)-1)].' '.$kuda.' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + } + } + + function get_blocks($where_atack, $where_defend) { + $blocks = array('1' => array(1, 2), '2' => array(2, 3), '3' => array(3, 4), '4' => array(4, 1)); + if(!in_array($where_atack, $blocks[$where_defend])) { + return true; + } else { + return false; + } + } + + function GetBlock($komy, $att, $def, $enemy) { + $blocks = array(1 => array(1, 2), 2 => array(2, 3), 3 => array(3, 4), 4 => array(4, 1)); + + switch($komy) { + case "me" : + if(in_array($this->battle[$enemy][$this->user['id']][0], $blocks[$def])) { + return true; + } else { + return false; + } + break; + + case "he" : + if(in_array($this->battle[$enemy][$this->user['id']][1], $blocks[$att])) { + return true; + } else { + return false; + } + break; + } + } + + function GetChance($percent) { + $mm = 1; + if(rand($mm, 100*$mm) <= $percent*$mm) { + return true; + } else { + return false; + } + } + + function SelectEnemy() { + if(($this->user['hp'] > 0) && $this->battle) { + foreach($this->battle[$this->user['id']] as $k => $v) { + if($this->battle[$this->user['id']][$k][0] == 0) { + $enemies[] = $k; + } + } + + if(isset($enemies[0])) { + $enemy = $enemies[mt_rand(0, count($enemies)-1)]; + if($enemy > 0) { + return $enemy; + } + } else { + return false; + } + } else { + return false; + } + } + + function chancebymf($mf, $antimf, $min = 1, $max = 85, $mid = 10, $div = 250) { + if($mf <= $antimf) return 0; + $diff = 1-pow(0.5, abs($mf-$antimf)/$div); + if($mf > $antimf) { + return ($max-$mid)*$diff+$mid; + } else { + return ($mid-$min)*(1-$diff)+$min; + } + $min = $min/100; + $max = $max/100; + $diffup = (1/(1+(abs($mf-$antimf)/(($max-$mid)*100)))); + $diffdown = (1/(1+(abs($mf-$antimf)/(($mid-$min)*100)))); + $ret = $mid; + if($mf > $antimf) { + $ret = $ret*(2-$diff); + } else { + $ret = $ret*$diff; + } + if($ret < $min) { + $ret = $min; + } + if($ret > $max) { + $ret = $max; + } + return (int)round($ret*100); + } + + function check_bonus($uid) { + $us = mysql_fetch_array(mysql_query('SELECT `id`, `sila`, `lovk`, `inta`, `vinos` FROM `users` WHERE `id` = "'.mysql_real_escape_string($uid).'" LIMIT 1')); + $i_uminu = 0; + $i_fkrit = 0; + $i_fauvorot = 0; + $i_fakrit = 0; + $i_umaxu = 0; + + if($us['sila'] >= 25) { $sila['fauvorot'] = 10; $sila['fakrit'] = 10; $sila['uminu'] = 0; $sila['umaxu'] = 0; } + if($us['sila'] >= 50) { $sila['fauvorot'] = 20; $sila['fakrit'] = 25; $sila['uminu'] = 0; $sila['umaxu'] = 0; } + if($us['sila'] >= 75) { $sila['fauvorot'] = 30; $sila['fakrit'] = 40; $sila['uminu'] = 0; $sila['umaxu'] = 0; } + if($us['sila'] >= 100) { $sila['fauvorot'] = 40; $sila['fakrit'] = 50; $sila['uminu'] = 2; $sila['umaxu'] = 2; } + if($us['sila'] >= 125) { $sila['fauvorot'] = 60; $sila['fakrit'] = 75; $sila['uminu'] = 5; $sila['umaxu'] = 5; } + if($us['sila'] >= 150) { $sila['fauvorot'] = 90; $sila['fakrit'] = 110; $sila['uminu'] = 8; $sila['umaxu'] = 8; } + if($us['sila'] >= 175) { $sila['fauvorot'] = 120; $sila['fakrit'] = 150; $sila['uminu'] = 12; $sila['umaxu'] = 12; } + if($us['sila'] >= 200) { $sila['fauvorot'] = 150; $sila['fakrit'] = 200; $sila['uminu'] = 15; $sila['umaxu'] = 15; } + if($us['lovk'] >= 25) { $lovk['fuvorot'] = 10; $lovk['fauvorot'] = 10; $lovk['fakrit'] = 20; $lovk['uminu'] = 0; $lovk['umaxu'] = 0; } + if($us['lovk'] >= 50) { $lovk['fuvorot'] = 20; $lovk['fauvorot'] = 25; $lovk['fakrit'] = 40; $lovk['uminu'] = 0; $lovk['umaxu'] = 0; } + if($us['lovk'] >= 75) { $lovk['fuvorot'] = 30; $lovk['fauvorot'] = 30; $lovk['fakrit'] = 60; $lovk['uminu'] = 0; $lovk['umaxu'] = 0; } + if($us['lovk'] >= 100) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 40; $lovk['fakrit'] = 75; $lovk['uminu'] = 5; $lovk['umaxu'] = 5; } + if($us['lovk'] >= 125) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 70; $lovk['fakrit'] = 90; $lovk['uminu'] = 6; $lovk['umaxu'] = 6; } + if($us['lovk'] >= 150) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 150; $lovk['fakrit'] = 120; $lovk['uminu'] = 8; $lovk['umaxu'] = 8; } + if($us['lovk'] >= 175) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 200; $lovk['fakrit'] = 140; $lovk['uminu'] = 10; $lovk['umaxu'] = 10; } + if($us['lovk'] >= 200) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 250; $lovk['fakrit'] = 160; $lovk['uminu'] = 15; $lovk['umaxu'] = 15; } + if($us['inta'] >= 25) { $inta['fkrit'] = 10; $inta['fauvorot'] = 10; $inta['fakrit'] = 15; $inta['uminu'] = 0; $inta['umaxu'] = 0; } + if($us['inta'] >= 50) { $inta['fkrit'] = 25; $inta['fauvorot'] = 25; $inta['fakrit'] = 25; $inta['uminu'] = 0; $inta['umaxu'] = 0; } + if($us['inta'] >= 75) { $inta['fkrit'] = 60; $inta['fauvorot'] = 30; $inta['fakrit'] = 30; $inta['uminu'] = 0; $inta['umaxu'] = 0; } + if($us['inta'] >= 100) { $inta['fkrit'] = 40; $inta['fauvorot'] = 40; $inta['fakrit'] = 75; $inta['uminu'] = 0; $inta['umaxu'] = 0; } + if($us['inta'] >= 125) { $inta['fkrit'] = 40; $inta['fauvorot'] = 50; $inta['fakrit'] = 100; $inta['uminu'] = 1; $inta['umaxu'] = 1; } + if($us['inta'] >= 150) { $inta['fkrit'] = 60; $inta['fauvorot'] = 40; $inta['fakrit'] = 130; $inta['uminu'] = 5; $inta['umaxu'] = 5; } + if($us['inta'] >= 175) { $inta['fkrit'] = 40; $inta['fauvorot'] = 80; $inta['fakrit'] = 170; $inta['uminu'] = 10; $inta['umaxu'] = 10; } + if($us['inta'] >= 200) { $inta['fkrit'] = 40; $inta['fauvorot'] = 120; $inta['fakrit'] = 200; $inta['uminu'] = 15; $inta['umaxu'] = 15; } + if($us['vinos'] >= 25) { $vinos['fkrit'] = 10; $vinos['fauvorot'] = 10; $vinos['fakrit'] = 15; $vinos['uminu'] = 0; $vinos['umaxu'] = 0; } + if($us['vinos'] >= 50) { $vinos['fkrit'] = 25; $vinos['fauvorot'] = 25; $vinos['fakrit'] = 25; $vinos['uminu'] = 0; $vinos['umaxu'] = 0; } + if($us['vinos'] >= 75) { $vinos['fkrit'] = 60; $vinos['fauvorot'] = 30; $vinos['fakrit'] = 30; $vinos['uminu'] = 0; $vinos['umaxu'] = 0; } + if($us['vinos'] >= 100) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 40; $vinos['fakrit'] = 75; $vinos['uminu'] = 0; $vinos['umaxu'] = 1; } + if($us['vinos'] >= 125) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 50; $vinos['fakrit'] = 100; $vinos['uminu'] = 1; $vinos['umaxu'] = 1; } + if($us['vinos'] >= 150) { $vinos['fkrit'] = 60; $vinos['fauvorot'] = 40; $vinos['fakrit'] = 130; $vinos['uminu'] = 5; $vinos['umaxu'] = 5; } + if($us['vinos'] >= 175) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 80; $vinos['fakrit'] = 170; $vinos['uminu'] = 10; $vinos['umaxu'] = 10; } + if($us['vinos'] >= 200) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 120; $vinos['fakrit'] = 200; $vinos['uminu'] = 15; $vinos['umaxu'] = 15; } + + if($us['vinos'] >= $us['sila'] && $us['vinos'] >= $us['lovk'] && $us['vinos'] >= $us['inta']) { + $i_uminu = $vinos['uminu']; + $i_fkrit = $vinos['fkrit']; + $i_fauvorot = $vinos['fauvorot']; + $i_fakrit = $vinos['fakrit']; + $i_umaxu = $vinos['umaxu']; + } + + if($us['inta'] >= $us['sila'] && $us['inta'] >= $us['lovk'] && $us['inta'] >= $us['vinos']) { + $i_uminu = $inta['uminu']; + $i_fkrit = $inta['fkrit']; + $i_fauvorot = $inta['fauvorot']; + $i_fakrit = $inta['fakrit']; + $i_umaxu = $inta['umaxu']; + } + + if($us['lovk'] >= $us['sila'] && $us['lovk'] >= $us['inta']&& $us['lovk'] >= $us['vinos']) { + $i_uminu = $lovk['uminu']; + $i_fkrit = $lovk['fkrit']; + $i_fauvorot = $lovk['fauvorot']; + $i_fakrit = $lovk['fakrit']; + $i_umaxu = $lovk['umaxu']; + } + + if($us['sila'] >= $us['lovk'] && $us['sila'] >= $us['inta'] && $us['sila'] >= $us['vinos']) { + $i_uminu = $sila['uminu']; + $i_fkrit = $sila['fkrit']; + $i_fauvorot = $sila['fauvorot']; + $i_fakrit = $sila['fakrit']; + $i_umaxu = $sila['umaxu']; + } + + return array('minu' => $i_uminu, 'maxu' => $i_umaxu, 'fkrit' => $i_fkrit, 'fauvorot' => $i_fauvorot, 'fakrit' => $i_fakrit); + } + + function solve_mfs($user_1, $user_2, $attack) { + $mfs = array(); + + $uid_1 = $this->get_info_by_id($user_1); + $uid_2 = $this->get_info_by_id($user_2); + + $b_u_1 = $this->check_bonus($uid_1['id']); + $b_u_2 = $this->check_bonus($uid_2['id']); + + $zo = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 201 AND `owner` = '".$uid_1['id']."' LIMIT 1")); + $zo1 = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 201 AND `owner` = '".$uid_2['id']."' LIMIT 1")); + $sokr = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 202 AND `owner` = '".$uid_1['id']."' LIMIT 1")); + $sokr1 = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 202 AND `owner` = '".$uid_2['id']."' LIMIT 1")); + + if($sokr[0] > 0) { $bmfud = 5; } else { $bmfud = 0; } + if($zo[0] > 0) { $bmfbron = 25; } else { $bmfbron = 0; } + if($sokr1[0] > 0) { $bmfud1 = 5; } else { $bmfud1 = 0; } + if($zo1[0] > 0) { $bmfbron1 = 25; } else { $bmfbron1 = 0; } + + if($user_2 > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `prototype`, `battle`, `hp` FROM `bots` WHERE `id` = "'.$user_2.'" LIMIT 1')); + $this->enemyhar = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$bots['prototype'].'" LIMIT 1')); + $this->enemy_dress = mysql_fetch_array(mysql_query('SELECT SUM(`minu`), SUM(`maxu`), SUM(`mfkrit`), SUM(`mfakrit`), SUM(`mfuvorot`), SUM(`mfauvorot`), SUM(`bron1`), SUM(`bron2`), SUM(`bron3`), SUM(`bron4`) FROM `inventory` WHERE `dressed` = 1 AND `owner` = "'.$this->enemyhar['id'].'"')); + $this->enemyhar['hp'] = $bots['hp']; + } else { + $this->enemyhar = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$uid_2['id'].'" LIMIT 1')); + $this->enemy_dress = mysql_fetch_array(mysql_query('SELECT SUM(`minu`), SUM(`maxu`), SUM(`mfkrit`), SUM(`mfakrit`), SUM(`mfuvorot`), SUM(`mfauvorot`), SUM(`bron1`), SUM(`bron2`), SUM(`bron3`), SUM(`bron4`) FROM `inventory` WHERE `dressed` = 1 AND `owner` = "'.$uid_2['id'].'"')); + } + + $this->user_dress = mysql_fetch_array(mysql_query('SELECT SUM(`minu`), SUM(`maxu`), SUM(`mfkrit`), SUM(`mfakrit`), SUM(`mfuvorot`), SUM(`mfauvorot`), SUM(`bron1`), SUM(`bron2`), SUM(`bron3`), SUM(`bron4`) FROM `inventory` WHERE `dressed` = 1 AND `owner` = "'.$uid_1['id'].'"')); + + $this->enemy_dress[6] += $bmfbron1; + $this->enemy_dress[7] += $bmfbron1; + $this->enemy_dress[8] += $bmfbron1; + $this->enemy_dress[9] += $bmfbron1; + $this->user_dress[6] += $bmfbron; + $this->user_dress[7] += $bmfbron; + $this->user_dress[8] += $bmfbron; + $this->user_dress[9] += $bmfbron; + + $mykrit = floor($this->user_dress[2]+($uid_1['inta']*2.95)+$b_u_1['fkrit']); + $heakrit = floor($this->enemy_dress[3]+($uid_2['inta']*2.75)+$b_u_2['fkrit']); + $myuvorot = floor($this->user_dress[4]+$uid_1['lovk']*5); #5 #3 + $heauvorot = floor($this->enemy_dress[5]+$uid_2['lovk']*4); #4 #7 #6 + $he_koef_armor = $this->enemy_dress[5+$attack]/50; + $mfs['me'] = array( + 'udars' => rand(floor($uid_1['sila']/3)+$b_u_1['minu']+1+$this->user_dress[0], floor($uid_1['sila']/3)+$b_u_1['maxu']+4+$this->user_dress[1]), + 'chanse' => $this->getmfs($myuvorot, $heauvorot), + 'chanse_krit' => $this->getmfs($mykrit, $heakrit) + ); + $mfs['me']['udar'] = $mfs['me']['udars']-($this->enemy_dress[5+$attack]*$he_koef_armor); + + $uron_vlad_me = 0; + switch($this->GetWeaponType($uid_1['weap'])) { + case "noj": $uron_vlad_me += $uid_1['noj']; break; + case "dubina": $uron_vlad_me += $uid_1['dubina']; break; + case "topor": $uron_vlad_me += $uid_1['topor']; break; + case "mech": $uron_vlad_me += $uid_1['mec']; break; + default : 0; break; + } + $mfs['me']['udar'] += $uron_vlad_me; + + if($bmfud > 5) { $mfs['me']['udar'] += $bmfud; } + if($mfs['me']['udar'] < 0) { $mfs['me']['udar'] = 0; } + if($bmfud <= 5) { $mfs['me']['udar'] += $bmfud; } + + + $mfs['me']['udar'] = round($mfs['me']['udar']); + if($mfs['me']['udar'] < 1) { $mfs['me']['udar'] = 1; } + + #$this->AddToLog('{Id = '.$uid_1['id'].'| No_Koef = '.$mfs['me']['udars'].'| Finish = '.$mfs['me']['udar'].'| Koef = '.$he_koef_armor.'| Armor = '.$this->enemy_dress[5+$attack].' | Um = '.$uron_vlad_me.'| Weap = '.$this->GetWeaponType($uid_1['weap']).'| Function = '.$mfs['me']['udars'].'-'.($this->enemy_dress[5+$attack]*$he_koef_armor).'| Min = '.(floor($uid_1['sila']/3)+$b_u_1['minu']+1+$this->user_dress[0]).'| Max = '.(floor($uid_1['sila']/3)+$b_u_1['maxu']+4+$this->user_dress[1]).'}
    '); + + $mykrits = floor($this->enemy_dress[2]+($uid_2['inta']*2.95)+$b_u_2['fkrit']); + $heakrits = floor($this->user_dress[3]+($uid_1['inta']*2.75)+$b_u_1['fkrit']); + $myuvorots = floor($this->enemy_dress[4]+$uid_2['lovk']*5); + $heauvorots = floor($this->user_dress[5]+$uid_1['lovk']*4); + $me_koef_armor = $this->user_dress[5+$this->battle[$user_2][$user_1][0]]/50; + + $mfs['he'] = array( + 'udars' => floor(rand(floor($uid_2['sila']/3)+$b_u_2['minu']+1+$this->enemy_dress[0], floor($uid_2['sila']/3)+$b_u_2['maxu']+4+$this->enemy_dress[1])), + 'chanse' => $this->getmfs($myuvorots, $heauvorots), + 'chanse_krit' => $this->getmfs($mykrits, $heakrits) + ); + $mfs['he']['udar'] = $mfs['he']['udars']-($this->user_dress[5+$this->battle[$user_2][$user_1][0]]*$me_koef_armor); + if($bmfud1 < 5) { $mfs['he']['udar'] += $bmfud1; } + if($mfs['he']['udar'] < 0) { $mfs['he']['udar'] = 0; } + if($bmfud1 >= 5) { $mfs['he']['udar'] += $bmfud1; } + + $uron_vlad_he = 0; + switch($this->GetWeaponType($uid_2['weap'])) { + case "noj": $uron_vlad_he += $uid_2['noj']; break; + case "dubina": $uron_vlad_he += $uid_2['dubina']; break; + case "topor": $uron_vlad_he += $uid_2['topor']; break; + case "mech": $uron_vlad_he += $uid_2['mec']; break; + } + $mfs['he']['udar'] += $uron_vlad_he; + + #$this->AddToLog('{ Id = '.$uid_2['id'].'| URON_not_koef = '.$mfs['he']['udars'].'| Uron_finish = '.$mfs['he']['udar'].'| Koef_arm = '.$me_koef_armor.'| Armor = '.$this->user_dress[5+$this->battle[$user_2][$user_1][0]].' | Um = '.$uron_vlad_he.'| Weap = '.$this->GetWeaponType($uid_2['weap']).' }
    '); + + $mfs['he']['udar'] = round($mfs['he']['udar']); + if($mfs['he']['udar'] < 1) { $mfs['he']['udar'] = 1; } + + return $mfs; + } + + function makechange($u1, $u2, $at_1, $at_2, $def_1, $def_2) { + $this->init_botRazmen($u1, $u2, $at_1, $def_1); + } + + function UpdateBattle () { + return mysql_query("UPDATE `battle` SET `exp` = '".serialize($this->exp)."', `teams` = '".serialize($this->battle)."', `damage` = '".serialize($this->damage)."' WHERE `id` = '".$this->battle_data['id']."' LIMIT 1"); + } + + function GetComment() { + $boycom = array('А танцуешь ты лучше.','А мы что, в прятки тут играем?','А вы разве пингвинов никогда не видели?','А, ведь когда-то, вы были красивыми… А теперь? Ну и рожи! Жуть!','А потом еще труп пинать будут.','А я вчера ночью за соседями подглядывал. Они точно так же кувыркались','А ведь вы живых людей дубасите...','А вот я вчера в зоопарке был...','А вы в стройбате не служили?','А вы видели, чтобы так на улице делали!?','А вы знали что ёжики размножаются в интернете?','А жить-то, как хочется:','А из-за чего вы собственно дерётесь?','А чего ржёте, вы ещё остальных не видели','А что произойдёт если ты испугаешся до полусмерти дважды?!','Больше так не делай. Ты же не садист?','Без комментариев...','Больно ведь!','Быстро ты за монитор спрятался!','Все хотят попасть в рай, но никто не хочет умирать!','Вчера с такой девчонкой познакомился.','Всего 5 минут знакомы, а дерутся, словно супруги с 20-ти летним стажем...','Все. Я так больше не могу.','В конце концов, кто-то победит?','Вы чего, с дерева упали?','Возятся как сонные мухи... давайте я вам лучше анекдот расскажу: ...','Вот видишь, как полезно чистить зубы на ночь?','Вот вы все руками махаете, а за вами уже очередь','Вот попадёте вы в плен и вас там будут долго бить. Но вы ничего не расскажете... и не потому, что вы такой стойкий, просто вы ничего не знаете','Вы бы лучше пошли потренировались!','Вы все еще разминаетесь? Позовите, когда кости в муку друг другу разминать будете.','Вы же бойцы! Имейте совесть!','Гаси недоумка!','Да, если бы я смог это остановить, то получил бы нобелевскую премию `За мир` ','Да куда они бьют?!','Давайте быстрее! За вами уже очередь образовалась.','Давайте обойдемся сегодня таймаутом. А? А то мне уже кошмары скоро будут сниться.','Дерутся как девчонки!','Дети, посмотрите налево... Ой!.. Нет, туда лучше не смотреть.','Если так будет продолжаться, то скоро мы заснем!','Если бы у меня было кресло-качалка, я бы в нём качался...','Если вы что-то сказать хотите, то лучше молчите :)','Жестокость не порок.','Жизнь вне нашего клуба - это пустая трата кислорода!!!','Жми! Дави! Кусай! Царапай!','За такие бои надо в хаос отправлять!','Знаете откуда в комиссионном магазине столько вещей? Это я после ваших гулянок собираю и сдаю туда. Иногда вместе с частями тела, застрявшими в них.','Здесь люди так близки друг к другу. Просто иначе ударить нельзя.','И пролитая кровь еще пульсирует...','Инвалидов развелось...','Какой бой!!!','Кто!? Кто здесь?!','Кто вас этому научил?','Кузнечик, блин...','Куплю импортный проигрыватель грампластинок.','Лошадью ходи!','Лучше враг, чем друг - враг.','Ладно, вы тут пока друг друга за волосы таскайте, а я пойду, пообедаю.','Мне ваш балет уже надоел!','Может, начнется-таки настоящий бой???','Мысли лезут в голову изнутри, а удары снаружи.','Ну и где ваши коронные удары? Где живописные падения я спрашиваю!','Ну, нельзя же так наотмашь лупить!','Надо раньше было думать, теперь смертельно поздно...','На такое зрелище билеты продавать можно. Народ ухохочется!','Нет! Не надо драки! А... ладно деритесь, все равно не умеете.','Нет, ну должен быть повод, должен же быть повод?','Нет, я отказываюсь это комментировать!','Не таких обламывали!','Ну выпили вы рюмку, ну две... ну литр, ну два... так зачем же после этого драку затевать?!','Ну и кто за этот погром платить будет?','Ну и оскал у вас. Из вашей улыбки кастеты делать можно.','Ну, что же ты..? Не печалься. Выше голову, так по ней удобней попасть.','Ничего... Блок тоже удар.','Обернись!!!.... Поздно...','Ого! Научите меня так не делать.','Осторожно! Сделаешь дырочку, уже не запломбируешь!','Оно вам надо???','Обычное дело...там что-то отклеилось.','Ой, и заболтался я с вами...','Он же не промахнётся если ты не отойдёшь!','По-моему, кому-то светит инвалидность.','Подкинь ему грабли, на которые он еще не наступал.','Прав был кот Леопольд, давайте жить дружно?','При ударе в живот нарушается кислотно-щелочной баланс.','Проверь, не торчит ли у тебя нож из живота.','Перестаньте мне орать!','Подкинь ему грабли, на которые он еще не наступал.','Прыгают тут как блохи... Все, я пошел за дихлофосом!','Разбудите меня когда эта порнография закончится...','Ребенок сильнее ударил бы!','Славно вмазал!','Славно они веселятся','Смотрю вот на вас, и слезы наворачиваются.','Сначала учатся ходить, а потом только в драку лезут.','Так они друг другу что-нибудь сломают.','Так ты ему все кости переломаешь!','У меня в подъезде точно так же соседа отмудохали','Убогих развелось...','Ух ты, какой прыткий!','Фашист!! Надо ж, так по больному месту врезать...','Хватит бить его об угол моей кабинки! Мне же потом ее чинить.','Хулиганы, прекратите немедленно!','Хочешь, подскажу, куда он ударит?','Хорошо, что у меня ловкости больше чем у вас всех, а то б вы и меня в инвалидную коляску посадили бы.','Хороший бой!','Хороший удар!','Хиляк-разрядник!','Что ты его за волосы схватил?! Отпусти немедленно!','Щас я вас настигну, вот тогда мы и похохочем','Это была какая-то неизвестная мне техника...','Это же противник, а не глина! Хватит мяться!','Это не бой, это издевательское избиение.','Это поубавит спеси','Это и был твой план `Б` ?','Это была какая-то неизвестная мне техника...','Я же предупреждал, - будет больно.','Я не страдаю безумием. Я наслаждаюсь им каждую минуту :)','Я красивый, я сильный, я умный, я добрый. А вот вы? Вы себя-то видели?!','Я тоже умею драться, но не буду...','(тревожно озираясь) я вам по секрету скажу... за вами наблюдают!','<вырезано цензурой> после боя я этих <вырезано цензурой> обоих в <вырезано цензурой> и <вырезано цензурой>','<вырезано цензурой> каратисты фиговы', '<вырезано цензурой> <вырезано цензурой>,<вырезано цензурой> на <вырезано цензурой> <вырезано цензурой> <вырезано цензурой>! Нет, это уже слишком!'); + if(mt_rand(0, 4) == 1) { + return ''.date("H:i").' Комментатор: '.$boycom[mt_rand(0, count($boycom)-1)].'
    '; + } else { + return false; + } + } + + function GetTimeout() { + if($this->battle) { + if($this->my_class == 'B1') { + if($this->to2 <= $this->to1) { + return ((time()-$this->to2) > $this->battle_data['timeout']*60); + } else { + return false; + } + } else { + if($this->to2 >= $this->to1) { + return ((time()-$this->to1) > $this->battle_data['timeout']*60); + } else { + return false; + } + } + } + } + + function AddToLog($text) { + $this->log .= $text; + } + + function AddToLogBot($text) { + if($this->log != $text) { + $this->log .= $text; + } + } + + function write_log() { + if($this->log) { + $this->log = $this->log."
    "; + } + addlogs($this->battle_data['id'], $this->log); + $this->log = ''; + } + +} + +$r = mysql_query("SELECT `id`, `win` FROM `battle` WHERE `win` = 3"); + +while($rec = mysql_fetch_array($r)) { + $fbattle = new fbattle($rec['id']); + if($fbattle->battle_data['needbb']) { + foreach($fbattle->battle as $k => $v) { + if($k > _BOTSEPARATOR_) { + foreach($v as $k2 => $v2) { + if($k2 < _BOTSEPARATOR_) continue; + $hp_1 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k.'" LIMIT 1')); + $hp_2 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "'.$k2.'" LIMIT 1')); + if($fbattle->battle[$k][$k2][0] && $fbattle->battle[$k2][$k][0] && $hp_1['hp'] > 0 && $hp_2['hp'] > 0) { + $at_1 = $fbattle->battle[$k][$k2][0]; + $def_1 = $fbattle->battle[$k][$k2][1]; + $at_2 = $fbattle->battle[$k2][$k][0]; + $def_2 = $fbattle->battle[$k2][$k][1]; + $fbattle->makechange($k, $k2, $at_1, $at_2, $def_1, $def_2); + $fbattle->write_log(); + $fbattle->battle[$k][$k2] = array(0, 0, time()); + $fbattle->battle[$k2][$k] = array(0, 0, time()); + $fbattle->needupdate = 1; + $fbattle->battle_end(); + } + } + } + } + if($fbattle->needupdate) { + $fbattle->UpdateBattle(); + } + echo 'Bb id = |'.$rec['id'].'|'; + } else { + echo '{No bb Id = |'.$rec['id'].'|}'; + } +} diff --git a/cron_bs.php b/cron_bs.php new file mode 100644 index 0000000..e8d4d57 --- /dev/null +++ b/cron_bs.php @@ -0,0 +1,7 @@ + diff --git a/cron_test.php b/cron_test.php new file mode 100644 index 0000000..46d8f0f --- /dev/null +++ b/cron_test.php @@ -0,0 +1,971 @@ +"1","1"=>"1","2"=>"2"); + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `align`='2' OR `align`='8.31';"); + $abil=array("0"=>"3","1"=>"0","2"=>"0"); + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `level`='7' AND `align`='6';"); + $abil=array("0"=>"3","1"=>"2","2"=>"0"); + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `level`='8' AND `align`='6';"); + $abil=array("0"=>"3","1"=>"2","2"=>"1"); + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `level`>='9' AND `align`='6';"); + for($i=0;$i<10;$i++) $abil[$i]=9; + mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `align`>'7' AND `align`<'8';"); + //обнуляем диггеров + mysql_query("UPDATE digger SET count_dig='0',count_guard='0';"); + //обнуляем подарки + mysql_query("UPDATE `users` SET `podarokAD`='0';"); + //обнуляем реферала месяца + if(date("d")=="01") + { + mysql_query("UPDATE variables SET value='{$tm}' WHERE var='ref_month';"); + mysql_query("UPDATE variables SET value='0' WHERE var='ref_m_id';"); + } + //обнуляем реферала недели + if(date("N")=="7") + { + mysql_query("UPDATE variables SET value='{$tm}' WHERE var='ref_week';"); + mysql_query("UPDATE variables SET value='0' WHERE var='ref_w_id';"); + } + //обнуляем парк + mysql_query("UPDATE `cit_park` SET `counter`=0,`bots`='',`room`=0;"); + //задаем рейд на замок + $cc_time=$tm+rand(60*60*14,60*60*14.5); + mysql_query("UPDATE variables SET value='{$cc_time}' where var='cc_time';"); + +} +if(date("H-i")=="09-00") +{ + //задаем рейд на ЦХ - 10-11 + $ch_time=$tm+rand(60*60*1,60*60*2); + mysql_query("UPDATE variables SET value='{$ch_time}' where var='cit_haos_time';"); +} +//задаем рейд утром +if(date("H-i")=="10-00") +{ + //задаем рейд на город + $raid_time=$tm+rand(60*60*1.5,60*60*2.5); + mysql_query("UPDATE variables SET value='{$raid_time}' where var='raid_on_city';"); +} +if(date("H-i")=="20-00") +{ + //задаем рейд на ЦХ - 21-22 + $ch_time=$tm+rand(60*60*1,60*60*2); + mysql_query("UPDATE variables SET value='{$ch_time}' where var='cit_haos_time';"); + +} + +//берем дату и время Замка Мэра +if(date("z-H-i")==date("z-H-i",$c_castle['value'])) +{ + $c_castle=mysql_query("SELECT `value` FROM variables WHERE var='cc_time' LIMIT 1;"); + addchsys('Начинается прием заявок на владение Замком Мэра! Начало боя через 15 минут.'); +} +//кто нападает +$cca=$c_castle['value']+930; +if(date("z-H-i")==date("z-H-i",$cca)) +{ + $cc_own=mysql_fetch_array(mysql_query("SELECT `value` FROM variables WHERE var='castle_owner' LIMIT 1;")); + $cc_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$cc_own['value']}' LIMIT 1;")); + $cc_att=mysql_fetch_array(mysql_query("SELECT `value` FROM variables WHERE var='castle_att' LIMIT 1;")); + $cc_a=mysql_fetch_array(mysql_query("SELECT `name` FROM `clans` WHERE `id` = '{$cc_att['value']}' LIMIT 1;")); + if($cc_own['value']>0 && $cc_att['value']>0) {addchsys('Клан '.$cc_a['name'].' готовится к битве за Замок Мэра с кланом '.$cc_k['name'].'! Начало боя через 1 минуту!');} + elseif($cc_own['value']>0 && $cc_att['value']==0) {addchsys('Никто не осмелился оспорить права клана '.$cc_a['name'].' на Замок Мэра');} + elseif($cc_own['value']==0 && $cc_att['value']>0) {addchsys('Клан '.$cc_k['name'].' готовится к битве за Замок Мэра с силами Хаоса! Начало боя через 1 минуту!');} + elseif($cc_own['value']==0 && $cc_att['value']==0) {addchsys('Никто не осмелился отбить у сил Хаоса Замок Мэра');} +} +//берем дату-время рейда +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_city' limit 1;")); +$ch_t=mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'cit_haos_time' LIMIT 1;")); +//берем дату-время ЦХ +$raid_r=date("r",$raid_t['value']); +$ch_r=date("r",$ch_r['value']); + $zay_dub=mysql_fetch_array(mysql_query("SELECT * FROM zayavka WHERE `team1` LIKE '1000%' limit 1;")); +//рейд на город +if(date("H-i")==date("H-i",$raid_t['value']) && !$zay_dub['id']>0) +{ + mysql_query("UPDATE variables SET value='2' where var='raid_on_status';"); +} +//рейд на ЦХ +if(date("z-H-i")==date("z-H-i",$ch_t['value'])) +{ + mysql_query("DELETE FROM `cit_haos_status`;"); + mysql_query("DELETE FROM `cit_haos_var`;"); + + addchsys('Начинается прием заявок в рейд на Цитадель Хаоса! Начало рейда через 15 минут.'); +} +// hp operations + + //комплекты - костыль + $komp_users = mysql_query("SELECT * FROM `users`,`online` WHERE `users`.`id`=`online`.`id` AND `online`.`date` >= ".(time()-60).";"); + while($ku=mysql_fetch_array($komp_users)) + { + GiveExp($ku['id'],0); + $kompl_raw=mysql_query("SELECT * FROM inventory where owner=".$ku['id']." AND dressed=1"); + + $items_on_user=array(); + $set_id_wear=array(); + $kompl_ghp=0; + $kompl_gmana=0; + while ($kompl=mysql_fetch_array($kompl_raw)) + { + $items_on_user[]=$kompl['prototype']; + }; + $sets_raw=mysql_query("SELECT * FROM item_sets;"); + while ($set_items=mysql_fetch_array($sets_raw)) + { + $kompl_full=1; + $in_set=explode(',',$set_items['prot_id']); + foreach($in_set as $tmp_set) + if (!in_array($tmp_set,$items_on_user)) + {$kompl_full=0;} + if ($kompl_full==1) $set_id_wear[]=$set_items['set_id']; + + }; + foreach($set_id_wear as $s) + { + $items_raw=mysql_fetch_array(mysql_query("SELECT `ghp`,`gmana` FROM item_sets where set_id='{$s}' limit 1;")); + $kompl_ghp+=$items_raw['ghp']; + $kompl_gmana+=$items_raw['gmana']; + }; + if(!$kompl_ghp) $kompl_ghp=0; + if(!$kompl_gmana) $kompl_gmana=0; + mysql_query("UPDATE `users` SET `maxhp` = (IFNULL((SELECT SUM(`ghp`) FROM `inventory` WHERE dressed=1 AND owner = `users`.id),0) + (users.vinos*6)+'{$kompl_ghp}') WHERE `id`='{$ku['id']}';"); + mysql_query("UPDATE `users` SET `maxmana` = (IFNULL((SELECT SUM(`gmp`) FROM `inventory` WHERE dressed=1 AND owner = `users`.id),0) + (users.mudra*10)+'{$kompl_gmana}') WHERE `id`='{$ku['id']}';"); + } + + //комплекты * + //mysql_query("UPDATE `users` SET `maxmana` = (IFNULL((SELECT SUM(`gmp`) FROM `inventory` WHERE dressed=1 AND owner = `users`.id),0) + (users.mudra*10));"); + mysql_query("UPDATE `users` SET `hp` = '0' WHERE `hp` < '0' "); + mysql_query("UPDATE `users` SET `mana` = '0' WHERE `mana` < '0' "); + // ломаем шмот + $its = mysql_query("SELECT `id`,`owner`,`name` FROM `inventory` WHERE `dressed` = 0 AND ((`maxdur` <= `duration`) OR (`dategoden` > 0 AND `dategoden` <= '".time()."'));"); + while($it = mysql_fetch_array($its)) + { + //destructitem($it['id']); + mysql_query("DELETE FROM `inventory` WHERE `id` = '".$it['id']."' LIMIT 1;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','\"".$it['name']."\" разрушился id:(cap".$it['id'].").',1,'".time()."');"); + } + // травмы и хаос + $effs = mysql_query("SELECT * FROM `effects` WHERE `time` <= ".time().";"); + mysql_query("DELETE FROM `effects` WHERE `time` <= ".time().";"); + while($eff = mysql_fetch_array($effs)) { + switch ($eff['type']) + { + case 11: + mysql_query("UPDATE `users` SET `sila`=`sila`+'".$eff['sila']."', `lovk`=`lovk`+'".$eff['lovk']."', `inta`=`inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + //deltravma($eff['id']); + break; + case 12: + mysql_query("UPDATE `users` SET `sila`=`sila`+'".$eff['sila']."', `lovk`=`lovk`+'".$eff['lovk']."', `inta`=`inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + case 13: + mysql_query("UPDATE `users` SET `sila`=`sila`+'".$eff['sila']."', `lovk`=`lovk`+'".$eff['lovk']."', `inta`=`inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + case 14: + mysql_query("UPDATE `users` SET `sila`=`sila`+'".$eff['sila']."', `lovk`=`lovk`+'".$eff['lovk']."', `inta`=`inta`+'".$eff['inta']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + case 21: + mysql_query("UPDATE `users` SET `sila`=`sila`-'".$eff['sila']."', `lovk`=`lovk`-'".$eff['lovk']."', `inta`=`inta`-'".$eff['inta']."', `vinos`=`vinos`-'".$eff['vinos']."' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + case 4: + mysql_query("UPDATE `users` SET `align`='0' WHERE `id` = '".$eff['owner']."' LIMIT 1;"); + break; + } + } + + + $data = mysql_query("SELECT `id`, `fullhptime` FROM `users` WHERE `hp` < `maxhp` AND `battle` = 0;"); + while($user = mysql_fetch_array($data)) { + if ((time()-$user[1])/60 > 0) + { + mysql_query("UPDATE `users` SET `hp` = `hp`+((".time()."-`fullhptime`)/60)*(`maxhp`/20), `fullhptime` = ".time()." WHERE `hp` < `maxhp` AND `id` = '".$user[0]."' LIMIT 1;"); + } + } + $data = mysql_query("SELECT `id`, `fullmptime` FROM `users` WHERE `mana` < `maxmana` AND `battle` = 0;"); + while($user = mysql_fetch_array($data)) { + if ((time()-$user[1])/60 > 0 && $user[1]) + { + mysql_query("UPDATE `users` SET `mana` = `mana`+((".time()."-`fullmptime`)/60)*(`maxmana`/30), `fullmptime` = '".time()."' WHERE `id` = '".$user[0]."' LIMIT 1;"); + } + } + mysql_query("UPDATE `users` SET `hp` = `maxhp`, `fullhptime` = ".time()." WHERE `hp` > `maxhp` AND `battle` = 0;"); + mysql_query("UPDATE `users` SET `mana` = `maxmana`, `fullmptime` = ".time()." WHERE (`mana` > `maxmana` OR `fullmptime` = 0) AND `battle` = 0;"); + + //============================ LAB HAOS ========================================= + /* mysql_query("TRUNCATE TABLE `lab_inv`;"); + mysql_query("TRUNCATE TABLE `lab_bots`;"); + mysql_query("TRUNCATE TABLE `lab_trap`;"); + // cheki + $paymers = rand (50,100); + for($i=1;$i<=$paymers;$i++) { + mysql_query("INSERT INTO `lab_inv` (`id_room`,`type`,`value`) values ('".rand(0,1000)."','1','".(rand(1,10)/100)."');"); + } + for($i=1;$i<=50;$i++) { + mysql_query("INSERT INTO `lab_inv` (`id_room`,`type`,`value`) values ('".rand(0,1000)."','2','".(rand(1,10)/100)."');"); + } + // roomsi + for($i=1;$i<=1000;$i++) { + mysql_query("UPDATE `lab_rooms` SET p1='".rand(0,1000)."',p2='".rand(0,1000)."',p3='".rand(0,1000)."',p4='".rand(0,1000)."',`exit`=0 WHERE `id` = '".$i."' LIMIT 1;"); + } + for($i=1;$i<=800;$i++) { + mysql_query("INSERT INTO `lab_bots` (`id_room`,`id_bot`) values ('".rand(0,1000)."','".(rand(1,4)+78)."');"); + } + for($i=1;$i<=5;$i++) { + mysql_query("INSERT INTO `lab_bots` (`id_room`,`id_bot`) values ('".rand(0,1000)."','233');"); + } + for($i=1;$i<=300;$i++) { + mysql_query("INSERT INTO `lab_trap` (`id_room`,`type`) values ('".rand(0,1000)."','".(rand(1,4))."');"); + } + mysql_query("UPDATE `lab_rooms` SET `exit`=1 WHERE id = ".rand(1,1000)." LIMIT 1;"); + */ + + + //==================================================================================== + //start Haos Match - disabled + $hm_ok=array(); + /*$hm_ongoing=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var`='haos_match';")); + $hm_ongoing=unserialize($hm_ongoing['value']); + + if($hm_ongoing) + foreach($hm_ongoing as $lvl=>$hm) + { + $check_win=mysql_fetch_array(mysql_query("SELECT `win` FROM `battle` WHERE `id`='{$hm}' LIMIT 1;")); + + if(empty($check_win) || $check_win['win']==1 || $check_win['win']==2 || $check_win['win']==0) $hm_ok[$lvl]=1; + else $hm_ok[$lvl]=0; + } + else*/ + { + $hm_ok['7']=1; + $hm_ok['8']=1; + $hm_ok['9']=1; + $hm_ok['10']=1; + $hm_ok['11']=1; + $hm_ok['12']=1; + } + + /*echo("
    ");
    +     print_r($hm_ok);
    +     echo("
    ");*/ + + if(date("i")%30==0) //%15==0 + { + + + $haos_match=array(); + foreach($hm_ok as $lvl=>$flag) + if($flag==1) + { + mysql_query("INSERT INTO `zayavka` + (`start`, `timeout`, `t1c`, `t2c`, `type`, `level`, `coment`, `team1`, `stavka`, `t1min`, `t2min`, `t1max`, `t2max`,`podan`,`blood`) values + (".(time()+5*60).",5,50,50,2,4,'Бой с силами Хаоса {$lvl}','1001;','',49,{$lvl}, 50, {$lvl}, '".date("H:i")."', '0');"); + $haos_match[$lvl]=mysql_insert_id(); + } + + mysql_query("UPDATE `variables` SET `value`='".serialize($haos_match)."' WHERE `var`='haos_match_zay';"); + addchsys('Силы Хаоса вызывают бойцов клуба 7-12 уровней на поединок! Начало боя через 5 минут в групповых боях '); + } + + // start BS + $tr = mysql_fetch_array(mysql_query("SELECT * FROM `deztow_turnir` WHERE `active` = TRUE")); + $turnirstart = mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'startbs' LIMIT 1;")); + $dd = mysql_fetch_array(mysql_query("SELECT count(`kredit`) FROM `deztow_stavka`;")); + if($dd[0] < 2 && $turnirstart[0] <= time()) { + mysql_query('UPDATE `variables` SET `value` = \''.(time()+60*60*1).'\' WHERE `var` = \'startbs\';'); + mysql_query("INSERT INTO `deztow_stavka` (`owner`,`kredit`,`time`) values ('1254','30','".time()."' ); "); + } + if(!$tr && $turnirstart[0] <= time() && $dd[0] >= 2){ + // начинаем БС + //mysql_query("LOCK TABLES `shop` WRITE, `deztow_items` WRITE, `deztow_realchars` WRITE, `deztow_charstams` WRITE, `deztow_eff` WRITE, `deztow_gamers_inv` WRITE,`effects` WRITE, `deztow_turnir` WRITE, `deztow_stavka` WRITE, `users` WRITE, `inventory` WRITE, `online` WRITE;"); + $minroom = 501; + $maxroom = 560; + // вычисляем кто прошел в турнир + $data = mysql_query("SELECT dt.owner FROM `deztow_stavka` as dt, `online` as o WHERE (SELECT count(`id`) FROM `effects` WHERE `effects`.`owner` = dt.owner AND ( type=11 OR type=12 OR type=13 OR type=14)) = 0 AND o.id = dt.owner AND room = 31 AND o.`date` >= '".(time()-300)."' ORDER by `kredit` DESC, dt.`time` ASC LIMIT 40;"); + $stavka = mysql_fetch_array(mysql_query("SELECT SUM(`kredit`)*0.7 FROM `deztow_stavka`;")); + // удаляем сразу, чтоб другим не повадно было + if($data) { + mysql_query("TRUNCATE TABLE `deztow_stavka`;"); + mysql_query("TRUNCATE TABLE `deztow_gamers_inv`;"); + } + while($row=mysql_fetch_array($data)) { + // делаем каждому чару бекап в базу специальную, раздеваем и все такое + undressall($row[0]); // раздели + $shmot = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '".$row[0]."';");// бекапим весь шмот + mysql_query("UPDATE `inventory` SET `owner` = 0 WHERE `owner` = '".$row[0]."';"); + while($sh = mysql_fetch_array($shmot)) { + mysql_query("INSERT `deztow_gamers_inv` (`id_item`,`owner`) values ('".$sh[0]."','".$row[0]."');"); + } + // effects + $effs = mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$row[0]."';"); // бекапим ефекты + while($eff = mysql_fetch_array($effs)) { + mysql_query("INSERT `deztow_eff` (`type`, `name`, `time`, `sila`, `lovk`, `inta`, `vinos`, `owner`) + values ('".$eff[1]."','".$eff[2]."','".$eff[3]."','".$eff[4]."','".$eff[5]."','".$eff[6]."','".$eff[7]."','".$eff[8]."');"); + //deltravma($eff['id']); + } + mysql_query("DELETE FROM `effects` WHERE `owner` = '".$row[0]."';"); + // stats + $tec = mysql_fetch_array(mysql_query("SELECT * FROM `deztow_charstams` WHERE `owner` = '{$row[0]}' AND `def`='1';")); + if($tec[0] && $row[0] != 233) { + // умелки + $u = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$row[0]}' LIMIT 1;")); + $master = ($u['noj']+$u['mec']+$u['topor']+$u['dubina']+$u['mfire']+$u['mwater']+$u['mair']+$u['mearth']+$u['mlight']+$u['mgray']+$u['mdark']+$u['master']); + // если есть шаблон - меняем + mysql_query("INSERT `deztow_realchars` (`owner`,`name`,`sila`,`lovk`,`inta`,`vinos`,`intel`,`mudra`,`stats`,`nextup`,`level`,`master`) values + ('".$u['id']."','".$u['login']."','".$u['sila']."','".$u['lovk']."','".$u['inta']."','".$u['vinos']."','".$u['intel']."', + '".$u['mudra']."','".$u['stats']."','".$u['nextup']."','".$u['level']."','".$master."');"); + //создали запись, теперь выставляем статы)) + $stats = ($u['sila']+$u['lovk']+$u['inta']+$u['vinos']+$u['intel']+$u['mudra']+$u['stats'])- + ($t['sila']+$t['lovk']+$t['inta']+$t['vinos']+$t['intel']+$t['mudra']); + if ((int)$stats!=0) { + $fffff=fopen('/tmp/bs_s.dat','a'); +// $tec['sila']=$u['sila']; $tec['lovk']=$u['lovk']; $tec['$inta']=$u['inta']; +// $tec['vinos']=$u['vinos']; $tec['intel']=$u['intel']; $tec['mudra']=$u['mudra']; + fwrite($fffff,print_r($u)."\n"); + fwrite($fffff,print_r($tec)."\n"); + fwrite($fffff,(int)$stats."\n"); + fwrite($fffff,"\n\n\n"); + fclose($fffff); + } //".$stats." + mysql_query("UPDATE `users` SET `sila`='".$tec['sila']."', `lovk`='".$tec['lovk']."',`inta`='".$tec['inta']."',`vinos`='".$tec['vinos']."',`intel`='".$tec['intel']."',`mudra`='".$tec['mudra']."',`stats`='0', + `noj`=0,`mec`=0,`topor`=0,`dubina`=0,`mfire`=0,`mwater`=0,`mair`=0,`mearth`=0,`mlight`=0,`mgray`=0,`mdark`=0,`master`='".$master."',`maxhp`='".($tec['vinos']*6)."',`hp`='".($tec['vinos']*6)."' + WHERE `id` = '".$u['id']."' LIMIT 1;"); + // закончили + } + + // пихаем учасников в БС + $rum = rand($minroom,$maxroom); + $urs[$row[0]] = $rum; + //mysql_query("UPDATE `users` SET `in_tower` = 1, `room` = '".$rum."' WHERE `id` = '".$row[0]."';"); + //mysql_query("UPDATE `online` SET `room` = '".$rum."' WHERE `id` = '".$row[0]."' LIMIT 1 ;"); + // в список участников + $i++; + if($i>1) { $lors .= ", "; } + $lors .= nick3($row[0]); + } + + // arch================ + undressall(233); + mysql_query("DELETE FROM `inventory` WHERE `owner` = '233';"); + $rum = rand($minroom,$maxroom); + mysql_query("UPDATE `users` SET `in_tower` = 1, `chattime` = '999999999999', `room` = '".$rum."' WHERE `id` = '233';"); + mysql_query("UPDATE `online` SET `room` = '".$rum."' WHERE `id` = '233' LIMIT 1 ;"); + $i++; + $lors .= ", ".nick3(233); + //===================== + + // разбрасываем шмот по комнатам + mysql_query("TRUNCATE TABLE `deztow_items`;"); + // айдишники магазинных прототипов + $shmots = array("1","1","92","92","93","93","19","19","20","20","20","23","23","24","14","87","87","6","6", + "17","17","17","17","11","11","12","12","12","28","28","43","43","36","36","36","37","37","37", + "38","38","38","50","50","57","52","52","51","51","48","48","47","47","49","49","59","59","60", + "60","61","61","63","64","64","65","65","66","66","68","68","69","69","72","72","4","5","79","79", + "80","76","75","75","94","94","95","95","82","91","91","34","34","86","86","86","9","9","101","101", + "101","101","101","97","97","97","97","100","100","100","100","171","171","171","171", + "103","103","103","104","105","105","106","106","107","107","108","108","109", + "110","111","112","112","113","113","119","364","284","284","284","284","284","285","285","285","285","286","286","286","286" + ); + while($sh = array_shift($shmots)) { + $shopid = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '".$sh."' LIMIT 1;")); + mysql_query("INSERT `deztow_items` (`iteam_id`, `name`, `img`, `room`) values ('".$shopid['id']."', '".$shopid['name']."', '".$shopid['img']."', '".rand($minroom,$maxroom)."');"); + } + // формируем лог + $log = ''.date("d.m.y H:i").' Начало турнира. Участники: '.$lors.'
    '; + // создаем запись о турнире + mysql_query("INSERT `deztow_turnir` (`type`,`winner`,`coin`,`start_time`,`log`,`endtime`,`active`) values ('".rand(1,7)."','','".$stavka[0]."','".time()."','".$log."','0','1');"); + //mysql_query("UNLOCK TABLES;"); + + foreach($urs as $row=>$rum) { + mysql_query("UPDATE `users` SET `in_tower` = 1, `room` = '".$rum."' WHERE `id` = '".$row."';"); + mysql_query("UPDATE `online` SET `room` = '".$rum."' WHERE `id` = '".$row."' LIMIT 1 ;"); + } + } + + + // bots razmen + //==================================================================================== +/*function nick5 ($id,$st) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$id.' LIMIT 1;')); + $id=$bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + + if($user[0]) { + return "".$user['login'].""; + } +} + */ + + class botbattle { + public $log = ""; // агреггатор лога + + function botbattle () { + global $mysql; + $this->mysql = $mysql; + } + + function get_wep_type($idwep) { + + if ($idwep == 0) { + return "kulak"; + } + $wep = mysql_fetch_array(mysql_query('SELECT `name` FROM `inventory` WHERE `id` = '.$idwep.' LIMIT 1;')); + //print_r($wep); + if(preg_match("/кастет/i",$wep[0]) || preg_match("/нож/i",$wep[0]) || preg_match("/кинжал/i",$wep[0])) { + return "noj"; + } + elseif(preg_match("/дубина/i",$wep[0]) || preg_match("/молот/i",$wep[0]) || preg_match("/ледяной/i",$wep[0]) || preg_match("/клевец/i",$wep[0])) { + return "dubina"; + } + elseif(preg_match("/топор/i",$wep[0]) OR preg_match("/секира/i",$wep[0]) || preg_match("/аллебарда/i",$wep[0])) { + return "topor"; + } + elseif(preg_match("/Меч/i",$wep[0])) { + return "mech"; + } + + } + + function razmen_log($type,$kuda,$chem,$uron,$kto,$c1,$pokomy,$c2,$hp,$maxhp) { + //print_R(func_get_args()); + if ($this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { $sex1 = false; } + if (!$this->enemyhar['sex'] && $kto == $this->enemyhar['id']) { $sex1 = true; } + if ($this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { $sex2 = false; } + if (!$this->enemyhar['sex'] && $pokomy == $this->enemyhar['id']) { $sex2 = true; } + + if ($this->user['sex'] && $kto == $this->user['id']) { $sex1 = false; } + if (!$this->user['sex'] && $kto == $this->user['id']) { $sex1 = true; } + if ($this->user['sex'] && $pokomy == $this->user['id']) { $sex2 = false; } + if (!$this->user['sex'] && $pokomy == $this->user['id']) { $sex2 = true; } + + if($hp < 0) { $hp = 0; } + + // текст по промазыванию + if (!$sex1) { + $textfail = array ( 'думал о <вырезано цензурой>, вследствие чего', + 'пытался нанести удар, но ', + 'поскользнулся, и', + 'старался провести удар, но', + 'закашлялся, и', + 'пытался провести удар, но безумный', + 'потерял самоконтроль, вследствие чего', + 'думал не о том и'); + } else { + $textfail = array ( 'думала о <вырезано цензурой>, вследствие чего', + 'пыталась нанести удар, но ', + 'поскользнулась, и', + 'старалась провести удар, но', + 'закашлялась, и', + 'пыталась провести удар, но ', + 'потеряла самоконтроль, вследствие чего', + 'думала не о том и'); + } + // чем били + $textchem = array ( + "kulak" => array("грудью","ребром руки","лбом","кулаком","ногой","левой ногой","правой ногой","коленом"), + "noj" => array("ножем","тыльной стороной лезвия ножа","рукоятью ножа","лезвием ножа"), + "dubina" => array("сучковатой палкой","поленом","тяжелой дубиной","дубиной","рукоятью молота"), + "topor" => array("секирой","топором","лезвием секиры","аллебардой","тяжелым держаком","длинной секирой"), + "mech" => array("ножнами","гардой","мечем","лезвием меча","рукоятью меча","тупым лезвием","острой стороной меча","огромным мечем",) + ); + $textchem = $textchem[$chem]; + // куда били + $udars = array( + '1' => array ('в нос','в глаз','в челюсть','по переносице','в кадык','по затылку','в правый глаз','в левый глаз','в скулу'), + '2' => array ('в грудь','в корпус','в солнечное сплетение','в сердце','в бок','в область лопаток','по желудку','по левой руке','по правой руке'), + '3' => array ('по <вырезано цензурой>','в пах','в промежность','по левой ягодице','по правой ягодице'), + '4' => array ('по ногам','в область правой пятки','в область левой пятки','по коленной чашечке','по икрам') + ); + $kuda = $udars[$kuda][rand(0,count($udars[$kuda])-1)]; + //тест по попаданию + if (!$sex2) { + $textud = array ('забылся, и тут', + 'замешкался, и за это бесчувственный', + 'растерялся, как вдруг расстроенный', + 'ковырялся в зубах, и тут', + 'поперхнулся, но вдруг храбрый', + 'пытался что-то сказать но вдруг, неожиданно', + 'растерялся, как вдруг', + 'засмотрелся на <вырезано цензурой>, а в это время', + 'высморкался, и в это время', + 'думал не о том и', + 'пришел в себя, но в это время обезумевший', + 'обернулся, как внезапно'); + } else { + $textud = array ('забылась, и тут', + 'замешкалась, и за это ', + 'растерялась, как вдруг ', + 'ковырялась в зубах, и тут ', + 'поперхнулась, но вдруг ', + 'пыталась что-то сказать но вдруг, неожиданно', + 'растерялась, как вдруг', + 'засмотрелась на <вырезано цензурой>, а в это время', + 'высморкалась, и в это время', + 'думала не о том и', + 'пришла в себя, но в это время ', + 'обернулась, как внезапно'); + } + + switch ($type) { + // уворот + case "uvorot": + if ($sex2) { + $textuvorot = array (" уклонилась от удара "," увернулась от удара "," отскочила от удара "); + } + else { + $textuvorot = array (" уклонился от удара "," увернулся от удара "," отскочил от удара "); + } + return ''.date("H:i").' '.nick5($kto,$c1).' '.$textfail[rand(0,count($textfail)-1)].' '.nick5($pokomy,$c2).' '.$textuvorot[rand(0,count($textuvorot)-1)].' '.$textchem[rand(0,count($textchem)-1)].' '.$kuda.'.
    '; + break; + //блок + case "block": + if ($sex2) { + $textblock = array (" заблокировала удар "," остановила удар "," отбила удар "); + } + else { + $textblock = array (" заблокировал удар "," остановил удар "," отбил удар "); + } + return ''.date("H:i").' '.nick5($kto,$c1).' '.$textfail[rand(0,count($textfail)-1)].' '.nick5($pokomy,$c2).' '.$textblock[rand(0,count($textblock)-1)].' '.$textchem[rand(0,count($textchem)-1)].' '.$kuda.'.
    '; + break; + //крит + case "krit": + if ($sex1) { + $textkrit = array (", напугав всех, неслышно подойдя сзади ударила по голове булыжником оппонента.",", сказав \"БУ!\", ласково заломила руку за спину соперника.",", расслабившись, расцарапала нос соперника.",", показав сразу два пальца, наступила на ногу врага.",", напугав всех, укусила в нос противника.",", проклиная этот сайт, провела ужасный бросок через пупок оппонента."); + } + else { + $textkrit = array (", напугав всех, неслышно подойдя сзади ударил по голове булыжником оппонента.",", сказав \"БУ!\", ласково заломил руку за спину соперника.",", расслабившись, расцарапал нос соперника.",", показав сразу два пальца, наступил на ногу врага.",", напугав всех, укусил в нос противника.",", проклиная этот сайт, провел ужасный бросок через пупок оппонента."); + } + return ''.date("H:i").' '.nick5($pokomy,$c2).' '.$textud[rand(0,count($textud)-1)].' '.nick5($kto,$c1).' '.$textkrit[rand(0,count($textkrit)-1)].' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + // попадание + case "udar": + if ($sex1) { + $textudar = array(", разбежавшись, рубанула"," отчаянно проткнула "," нехотя уколола "," не подумав, рубанула ",", улыбаясь, саданула укол "," приложила удар "," ударила "," сдуру вмазала "); + } + else { + $textudar = array(", разбежавшись, рубанул"," отчаянно проткнул "," нехотя уколол "," не подумав, рубанул ",", улыбаясь, саданул укол "," приложил удар "," ударил "," сдуру вмазал "); + } + return ''.date("H:i").' '.nick5($pokomy,$c2).' '.$textud[rand(0,count($textud)-1)].' '.nick5($kto,$c1).''.$textudar[rand(0,count($textudar)-1)].' '.$textchem[rand(0,count($textchem)-1)].' '.$kuda.' -'.$uron.' ['.$hp.'/'.$maxhp.']'.'
    '; + break; + } + } + + function update_battle () { + return mysql_query('UPDATE `battle` SET `teams` = \''.serialize($this->battle).'\', `damage` = \''.serialize($this->damage).'\' WHERE `id` = '.$this->battle_data['id'].' ;'); + } + + function add_log ($text) { + $this->log .= $text; + } + + function write_log () { + if($this->log){$this->log=$this->log."
    ";} + addlog($this->user['battle'],$this->log); + + /*$fp = fopen("/tmp/backup/logs/battle".$this->battle_data['id'].".txt","a"); //открытие + flock($fp,LOCK_EX); //БЛОКИРОВКА ФАЙЛА + fputs($fp , $this->log); //работа с файлом + fflush($fp); //ОЧИЩЕНИЕ ФАЙЛОВОГО БУФЕРА И ЗАПИСЬ В ФАЙЛ + flock($fp,LOCK_UN); //СНЯТИЕ БЛОКИРОВКИ + fclose($fp); //закрытие + $this->log = '';*/ + } + + function solve_mf($enemy,$enemy2,$en1att,$en2att) { + $mf = array (); + + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$enemy2.' LIMIT 1;')); + $this->enemyhar = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = \''.$bots['prototype'].'\' LIMIT 1;')); + $this->enemy_dress = mysql_fetch_array(mysql_query('SELECT sum(minu),sum(maxu),sum(mfkrit),sum(mfakrit),sum(mfuvorot),sum(mfauvorot),sum(bron1),sum(bron2),sum(bron3),sum(bron4) FROM `inventory` WHERE `dressed`=1 AND `owner` = \''.$bots['prototype'].'\' LIMIT 1;')); + $this->enemyhar['hp'] = $bots['hp']; + + + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$enemy.' LIMIT 1;')); + $this->user = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = \''.$bots['prototype'].'\' LIMIT 1;')); + $this->user_dress = mysql_fetch_array(mysql_query('SELECT sum(minu),sum(maxu),sum(mfkrit),sum(mfakrit),sum(mfuvorot),sum(mfauvorot),sum(bron1),sum(bron2),sum(bron3),sum(bron4) FROM `inventory` WHERE `dressed`=1 AND `owner` = \''.$bots['prototype'].'\' LIMIT 1;')); + $this->user['hp'] = $bots['hp']; + + + // мои МФ в отношении противника + $mf['me'] = array ( + 'udar' => rand(floor($this->user['sila']/3)+2+$this->user_dress[0],floor($this->user['sila']/3)+4+$this->user_dress[1])-rand(1,$this->enemy_dress[5+$en1att]), + 'krit' => $this->user_dress[2]-$this->enemy_dress[3]+floor($this->user['inta']*4)-floor($this->enemyhar['inta']*4), + 'uvorot' => $this->user_dress[4]-$this->enemy_dress[5]+floor($this->user['lovk']*4)-floor($this->enemyhar['lovk']*4), + ); + if($this->get_wep_type($this->user['weap']) == 'kulak' && $this->user['align'] == '2') { $mf['me']['udar'] += $this->user['level']; } + //бонусы от умений к урону + switch($this->get_wep_type($this->user['weap'])) { + case "noj": + $mf['me']['udar'] += $this->user['noj']; + break; + case "dubina": + $mf['me']['udar'] += $this->user['dubina']; + break; + case "topor": + $mf['me']['udar'] += $this->user['topor']; + break; + case "mech": + $mf['me']['udar'] += $this->user['mec']; + break; + } + + if($bmfud>5) $mf['me']['udar']+=$bmfud; + if($mf['me']['udar'] < 0) { $mf['me']['udar'] = 0; } + if($bmfud<=5) $mf['me']['udar']+=$bmfud; + if($mf['me']['krit'] < 1) + { $mf['me']['krit'] = 1; } + elseif (($mf['me']['krit'] >= 50)&&($mf['me']['krit']<100)) + { $mf['me']['krit'] = 50; } + elseif (($mf['me']['krit'] >= 100)&&($mf['me']['krit']<200)) + { $mf['me']['krit'] = 55; } + elseif (($mf['me']['krit'] >= 200)&&($mf['me']['krit']<300)) + { $mf['me']['krit'] = 60; } + elseif (($mf['me']['krit'] >= 300)&&($mf['me']['krit']<400)) + { $mf['me']['krit'] = 65; } + elseif (($mf['me']['krit'] >= 400)&&($mf['me']['krit']<500)) + { $mf['me']['krit'] = 70; } + elseif ($mf['me']['krit'] >= 500) + { $mf['me']['krit'] = 75; } + if($mf['me']['uvorot'] < 1) + { $mf['me']['uvorot'] = 1; } + elseif (($mf['me']['uvorot'] >= 50)&&($mf['me']['uvorot']<100)) + { $mf['me']['uvorot'] = 50; } + elseif (($mf['me']['uvorot'] >= 100)&&($mf['me']['uvorot']<200)) + { $mf['me']['uvorot'] = 55; } + elseif (($mf['me']['uvorot'] >= 200)&&($mf['me']['uvorot']<300)) + { $mf['me']['uvorot'] = 60; } + elseif (($mf['me']['uvorot'] >= 300)&&($mf['me']['uvorot']<400)) + { $mf['me']['uvorot'] = 65; } + elseif (($mf['me']['uvorot'] >= 400)&&($mf['me']['uvorot']<500)) + { $mf['me']['uvorot'] = 70; } + elseif ($mf['me']['uvorot'] >= 500) + { $mf['me']['uvorot'] = 75; } + switch($this->get_wep_type($this->user['weap'])) { + case "noj": + $ver=$this->user['noj']; + break; + case "dubina": + $ver=$this->user['dubina']; + break; + case "topor": + $ver=$this->user['topor']; + break; + case "mech": + $ver=$this->user['mech']; + break; + } + if(mt_rand(0,100)<$ver) + switch($this->get_wep_type($this->user['weap'])) { + case "noj": + $mf['me']['udar']+=(($this->user['lovk']+$this->user['inta'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "dubina": + $mf['me']['udar']+=(($this->user['sila']+$this->user['vinos'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "topor": + $mf['me']['udar']+=(($this->user['inta']+$this->user['vinos'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "mech": + $mf['me']['udar']+=(($this->user['lovk']+$this->user['sila'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + } + //округляем урон + $mf['me']['udar']=round($mf['me']['udar']); + + // МФ врага в отношении меня + $mf['he'] = array ( + 'udar' => rand(floor($this->enemyhar['sila']/3)+2+$this->enemy_dress[0],floor($this->enemyhar['sila']/3)+4+$this->enemy_dress[1])-rand(1,$this->user_dress[5+$en2att]), + 'krit' => $this->enemy_dress[2]-$this->user_dress[3]+floor($this->enemyhar['inta']*4)-floor($this->user['inta']*4), + 'uvorot' => $this->enemy_dress[4]-$this->user_dress[5]+floor($this->enemyhar['lovk']*4)-floor($this->user['lovk']*4), + ); + if($this->get_wep_type($this->enemyhar['weap']) == 'kulak' && $this->enemyhar['align'] == '2') { $mf['he']['udar'] += $this->enemyhar['level']; } + switch($this->get_wep_type($this->enemyhar['weap'])) { + case "noj": + $mf['he']['udar'] += $this->enemyhar['noj']; + break; + case "dubina": + $mf['he']['udar'] += $this->enemyhar['dubina']; + break; + case "topor": + $mf['he']['udar'] += $this->enemyhar['topor']; + break; + case "mech": + $mf['he']['udar'] += $this->enemyhar['mec']; + break; + } + if($bmfud1<5) $mf['he']['udar']+=$bmfud1; + if($mf['he']['udar'] < 0) { $mf['he']['udar'] = 0; } + if($bmfud1>=5) $mf['he']['udar']+=$bmfud1; + //if($mf['he']['krit'] < 1) { $mf['he']['krit'] = 1; } elseif ($mf['he']['krit'] > 50) { $mf['he']['krit'] = 50; } + //if($mf['he']['uvorot'] < 1) { $mf['he']['uvorot'] = 1; } elseif ($mf['he']['uvorot'] > 65) { $mf['he']['uvorot'] = 65; } + if($mf['he']['krit'] < 1) + { $mf['he']['krit'] = 1; } + elseif (($mf['he']['krit'] >= 50)&&($mf['he']['krit']<100)) + { $mf['he']['krit'] = 50; } + elseif (($mf['he']['krit'] >= 100)&&($mf['he']['krit']<200)) + { $mf['he']['krit'] = 55; } + elseif (($mf['he']['krit'] >= 200)&&($mf['he']['krit']<300)) + { $mf['he']['krit'] = 60; } + elseif (($mf['he']['krit'] >= 300)&&($mf['he']['krit']<400)) + { $mf['he']['krit'] = 65; } + elseif (($mf['he']['krit'] >= 400)&&($mf['he']['krit']<500)) + { $mf['he']['krit'] = 70; } + elseif ($mf['he']['krit'] >= 500) + { $mf['he']['krit'] = 75; } + if($mf['he']['uvorot'] < 1) + { $mf['he']['uvorot'] = 1; } + elseif (($mf['he']['uvorot'] >= 50)&&($mf['he']['uvorot']<100)) + { $mf['he']['uvorot'] = 50; } + elseif (($mf['he']['uvorot'] >= 100)&&($mf['he']['uvorot']<200)) + { $mf['he']['uvorot'] = 55; } + elseif (($mf['he']['uvorot'] >= 200)&&($mf['he']['uvorot']<300)) + { $mf['he']['uvorot'] = 60; } + elseif (($mf['he']['uvorot'] >= 300)&&($mf['he']['uvorot']<400)) + { $mf['he']['uvorot'] = 65; } + elseif (($mf['he']['uvorot'] >= 400)&&($mf['he']['uvorot']<500)) + { $mf['he']['uvorot'] = 70; } + elseif ($mf['he']['uvorot'] >= 500) + { $mf['he']['uvorot'] = 75; } + //проф урон + switch($this->get_wep_type($this->user['weap'])) { + case "noj": + $ver=$this->user['noj']; + break; + case "dubina": + $ver=$this->user['dubina']; + break; + case "topor": + $ver=$this->user['topor']; + break; + case "mech": + $ver=$this->user['mech']; + break; + } + if(mt_rand(0,100)<$ver) + switch($this->get_wep_type($this->user['weap'])) { + case "noj": + $mf['he']['udar']+=(($this->user['lovk']+$this->user['inta'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "dubina": + $mf['he']['udar']+=(($this->user['sila']+$this->user['vinos'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "topor": + $mf['he']['udar']+=(($this->user['inta']+$this->user['vinos'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + case "mech": + $mf['he']['udar']+=(($this->user['lovk']+$this->user['sila'])*$this->user['level']*mt_rand(5,15)/(2*10*10)); + break; + } + //if(in_array($enemy,$this->botsid)) { $mf['he']['udar'] += $this->user_dress[1]; } + if($enemy > _BOTSEPARATOR_) { + $mf['he']['krit'] -= 6; + } + //округляем урон + $mf['he']['udar']=round($mf['he']['udar']); + //if(in_array($enemy,$this->botsid)) { $mf['he']['udar'] += $this->user_dress[1]; } + // result + return $mf; + } + + function get_chanse ($persent) { + if (rand(1,100) < $persent) { + return true; + } + else { + return false; + } + } + + function get_block ($att,$def) { + // по типам блоков + $blocks = array ( + '1' => array (1,2), + '2' => array (2,3), + '3' => array (3,4), + '4' => array (4,1) + ); + + if (!in_array($att,$blocks[$def])) { + return true; + } else { + return false; + } + + } + + function razmen_init ($enemy,$enemy2,$battle_id) { + $bots1 = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$enemy.' AND `battle` = '.$battle_id.' AND `hp` > 0 LIMIT 1;')); + $bots2 = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `id` = '.$enemy2.' AND `battle` = '.$battle_id.' AND `hp` > 0 LIMIT 1;')); + if($bots1 && $bots2) { + + + + $this->battle_data = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$battle_id.' LIMIT 1;')); + + // получили дамагу + $this->damage = unserialize($this->battle_data['damage']); + // кто драчуется? + $this->battle = unserialize($this->battle_data['teams']); + + // режем тимзы + $this->t1 = explode(";",$this->battle_data['t1']); + $this->t2 = explode(";",$this->battle_data['t2']); + // проставляем кто-где + if (in_array ($enemy,$this->t1)) { + $this->my_class = "B1"; + $this->en_class = "B2"; + $this->team_mine = $this->t1; + $this->team_enemy = $this->t2; + } else { + $this->my_class = "B2"; + $this->en_class = "B1"; + $this->team_mine = $this->t2; + $this->team_enemy = $this->t1; + } + + + // проверяем прафильность + $en1att = mt_rand(1,4); + $en2att = mt_rand(1,4); + $en1b = mt_rand(1,4); + $en2b = mt_rand(1,4); + + // х-ки драчующихся + $mf = $this->solve_mf($enemy,$enemy2,$en1att,$en2att); + + //echo $this->get_wep_type($this->enemyhar['weap']); + // проверяем кто куда попал + // удар по мне + if ($this->get_chanse($mf['my']['uvorot'])) + { + // я увернулся; + $this->add_log ($this->razmen_log("uvorot",$en2att,$this->get_wep_type($this->enemyhar['weap']),0,$enemy2,$this->en_class,$enemy,$this->my_class,0,0)); + } + elseif($this->get_chanse($mf['he']['krit'])) { + // меня кританули + $this->damage[$enemy2] += ($mf['he']['udar']*2); + $this->add_log ($this->razmen_log("krit",$en2att,$this->get_wep_type($this->enemyhar['weap']),($mf['he']['udar']*2),$enemy2,$this->en_class,$enemy,$this->my_class,($this->user['hp']-$mf['he']['udar']*2),$this->user['maxhp'])); + mysql_query('UPDATE bots SET `hp` = `hp` - '.($mf['he']['udar']*2).' WHERE `id` = '.$enemy.''); + } + elseif($this->get_block ($en2att,$en1b)) { + // противник попал куда надо + $this->damage[$enemy2] += ($mf['he']['udar']); + $this->add_log ($this->razmen_log("udar",$en2att,$this->get_wep_type($this->enemyhar['weap']),$mf['he']['udar'],$enemy2,$this->en_class,$enemy,$this->my_class,($this->user['hp']-$mf['he']['udar']),$this->user['maxhp'])); + mysql_query('UPDATE bots SET `hp` = `hp` - '.($mf['he']['udar']).' WHERE `id` = '.$enemy.''); + } + else { + // противник мазила + $this->add_log ($this->razmen_log("block",$en2att,$this->get_wep_type($this->enemyhar['weap']),0,$enemy2,$this->en_class,$enemy,$this->my_class,0,0)); + } + + + // удар по противнику + if ($this->get_chanse($mf['he']['uvorot'])) + { + // он увернулся; + $this->add_log ($this->razmen_log("uvorot",$en1att,$this->get_wep_type($this->user['weap']),0,$enemy,$this->my_class,$enemy2,$this->en_class,0,0)); + } + elseif($this->get_chanse($mf['my']['krit'])) { + // его кританули + $this->damage[$enemy] += ($mf['me']['udar']*2); + $this->add_log ($this->razmen_log("krit",$en1att,$this->get_wep_type($this->user['weap']),($mf['me']['udar']*2),$enemy,$this->my_class,$enemy2,$this->en_class,($this->enemyhar['hp']-$mf['me']['udar']*2),$this->enemyhar['maxhp'])); + + mysql_query('UPDATE `bots` SET `hp` = `hp` - '.($mf['me']['udar']*2).' WHERE `id` = '.$enemy2.''); + + } + elseif($this->get_block ($en1att,$en2b)) { + // я попал куда надо + $this->damage[$enemy] += ($mf['me']['udar']); + $this->add_log ($this->razmen_log("udar",$en1att,$this->get_wep_type($this->user['weap']),$mf['me']['udar'],$enemy,$this->my_class,$enemy2,$this->en_class,($this->enemyhar['hp']-$mf['me']['udar']),$this->enemyhar['maxhp'])); + + mysql_query('UPDATE `bots` SET `hp` = `hp` - '.($mf['me']['udar']).' WHERE `id` = '.$enemy2.''); + + } + else { + // я мазила + $this->add_log ($this->razmen_log("block",$attack,$this->get_wep_type($this->user['weap']),0,$enemy,$this->my_class,$enemy2,$this->en_class,0,0)); + } + $this->write_log(); + $this->update_battle (); + + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".(time())."' WHERE `id` = ".$this->battle_data['id']." LIMIT 1;"); +} + + } + + + + + + + } + + $bots = mysql_query ('SELECT * FROM `bots` WHERE `hp` > 0;'); + + $bb = new botbattle; + while ($bot = mysql_fetch_array($bots)) { + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$bot['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + // листаем противников, делаем размен. + if ($battle[$bot['id']]) { + foreach ($battle[$bot['id']] as $k => $v) { + if($battle[$bot['id']][$k][0] == 0 && $k > _BOTSEPARATOR_) { + //echo("Bots:".$bot['id']."vs".$k."
    "); + //srand(microtime(true)); + $bb->razmen_init($bot['id'],$k,$bot['battle']); + } + } + } + //mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\' WHERE `id` = '.$bot['battle'].' ;'); + } + + //==================================================================================== +/* +$mtime = microtime(); +$mtime = explode(" ",$mtime); +$mtime = $mtime[1] + $mtime[0]; +//Записываем время окончания в другую переменную +$tend = $mtime; +//Вычисляем разницу +$totaltime = ($tend - $tstart); +//Выводим не экран +printf ("PGT: %f секунд", $totaltime); */ +?> \ No newline at end of file diff --git a/cron_zv.php b/cron_zv.php new file mode 100644 index 0000000..aeee142 --- /dev/null +++ b/cron_zv.php @@ -0,0 +1,225 @@ + 3) { + return 'Ай-ай-ай!'; + } + } + + if(mysql_query("DELETE FROM `zayavka` WHERE `id` = {$zay} AND (`team1` LIKE '{$id};%' OR `team2` LIKE '{$id};%') LIMIT 1")) { + if(count($z[$zay]['team1']) > 0) { + foreach($z[$zay]['team1'] as $k => $v) { + mysql_query("UPDATE `users` SET `zayavka` = 0 WHERE `id` = {$v}"); + } + } + + if(count($z[$zay]['team2']) > 0) { + foreach($z[$zay]['team2'] as $k => $v) { + mysql_query("UPDATE `users` SET `zayavka` = 0 WHERE `id` = {$v}"); + } + } + return 'Вы отозвали заявку.'; + } +} + +function fteam($team) { + $team = explode(";", $team); + unset($team[count($team)-1]); + return $team; +} + +function getlist($razdel = 1, $level = null, $id = null ) { + $fict = mysql_query("SELECT * FROM `zayavka` WHERE ".(($level != null)? " ((`t1min` <= '{$level}' OR `t1min` = '99') AND (`t1max` >= '{$level}' OR `t1max` = '99') ".(($razdel == 4)?"AND (`t2min` <= '{$level}' OR `t2min` = '99') AND (`t2max` >= '{$level}' OR `t2max` = '99')":"").") AND " : "")." `level` = {$razdel} ".(($id != null)? " AND `id` = {$id} " : "")." ORDER BY `podan` DESC"); + while($row = mysql_fetch_array($fict)) { + if(($row['start']+300) < time()) { + if(mysql_query("DELETE FROM `zayavka` WHERE `id` = '{$row['id']}' LIMIT 1")) { + $team1 = fteam($row['team1']); + foreach($team1 as $k => $v) { + mysql_query("UPDATE `users` SET `zayavka` = '0' WHERE `id` = {$v}"); + } + $team2 = fteam($row['team2']); + foreach($z[$zay]['team2'] as $k => $v) { + mysql_query("UPDATE `users` SET `zayavka` = '0' WHERE `id` = {$v}"); + } + } + } + $zay[$row['id']] = array("team1" => fteam($row['team1']), "team2" => fteam($row['team2']), "coment" => $row['coment'], "type" => $row['type'], "timeout" => $row['timeout'], "start" => $row['start'], "t1min" => $row['t1min'], "t1max" => $row['t1max'], "t2min" => $row['t2min'], "t2max" => $row['t2max'], "t1c" => $row['t1c'], "t2c" => $row['t2c'], "podan" => $row['podan'], "id" => $row['id'], "level" => $row['level'], "blood" => $row['blood'], "bots" => $row['bots']); + } + return $zay; +} + +function startbattle($id, $zay, $r) { + $z = getlist($r, null, $zay); + if($id == 'CHAOS') { $id = $z[$zay]['team1'][0]; } + delzayavka($id, $zay, $r); + $z = $z[$zay]; + $count_users = count($z['team1']); + + $bot = 0; + if($z['bots'] > 0) { + $bots_raw = array(7 => array(10962, 10964, 10965), 8 => array()); + $i = 0; + while($i <= count($bots_raw[$z['bots']])) { + $bot_id = $bots_raw[$z['bots']][$i]; + $bot = createbot($bot_id, ''); + $z['team1'][] = $bot['id']; + $i++; + } + $count_users += 3; + } + + if($z['type'] == 4 || $z['type'] == 5) { + foreach($z['team1'] as $k => $v) { + undressall($v); + } + + foreach($z['team2'] as $k => $v) { + undressall($v); + } + } + + if($z['type'] == 3 || $z['type'] == 5) { + if($count_users < 4) { + mysql_query("UPDATE `users` SET `zayavka` = '0' WHERE `zayavka` = '".$zay."'"); + foreach($z['team1'] as $k => $v) { + if($v < _BOTSEPARATOR_) { + addchp('Внимание! Ваш бой не может начаться по причине Группа не набрана.', '{[]}'.nick7($v).'{[]}'); + } + } + mysql_query("UPDATE `variables` SET `value` = '{$count_users}}' WHERE `var` = 'haos_match' LIMIT 1"); + mysql_query("DELETE FROM `zayavka` WHERE `id` = '".$zay."' LIMIT 1"); + } + + $all = count($z['team1'])-1; + $power1 = 0; $power2 = 0; + + for($i = 0; $i <= $all; $i++) { + if($z['team1'][$i] < _BOTSEPARATOR_) { + $gamer = mysql_fetch_array(mysql_query("SELECT (`level`*50)+`sila`+`lovk`+`inta`+`vinos`+`intel`+`stats`+IFNULL((SELECT SUM(`cost`) FROM `inventory` WHERE `owner` = `users`.`id` AND `dressed` = 1), 0) FROM `users` WHERE `id` = '".$z['team1'][$i]."' LIMIT 1")); + } else { + $bt = mysql_fetch_array(mysql_query('SELECT `id`, `prototype` FROM `bots` WHERE `id` = "'.$z['team1'][$i].'"')); + $gamer = mysql_fetch_array(mysql_query("SELECT (`level`*50)+`sila`+`lovk`+`inta`+`vinos`+`intel`+`stats`+IFNULL((SELECT SUM(`cost`) FROM `inventory` WHERE `owner` = `users`.`id` AND `dressed` = 1), 0) FROM `users` WHERE `id` = '".$bt['prototype']."' LIMIT 1")); + } + + $cost[] = array($z['team1'][$i], $gamer[0]); + } + + $z['team1'] = null; + $z['team2'] = null; + + $flag = true; + while($flag) { + $flag = false; + for($ii = 0; $ii <= $all-1; $ii++) { + if($cost[$ii][1] < $cost[$ii+1][1]) { + $ctr = $cost[$ii+1]; + $cost[$ii+1] = $cost[$ii]; + $cost[$ii] = $ctr; + $flag = true; + } + } + } + + while(count($cost) > 0) { + if($power1 <= $power2) { + $tmp = array_shift($cost); + $power1 += $tmp[1]; + $z['team1'][] = $tmp[0]; + } else { + $tmp = array_shift($cost); + $power2 += $tmp[1]; + $z['team2'][] = $tmp[0]; + } + } + } + + $teams = array(); + + foreach($z['team1'] as $k => $v) { + foreach($z['team2'] as $kk => $vv) { + $teams[$v][$vv] = array(0, 0, time()); + } + } + + foreach($z['team2'] as $k => $v) { + foreach($z['team1'] as $kk => $vv) { + $teams[$v][$vv] = array(0, 0, time()); + } + } + + if(count($z['team2']) == 0) { + mysql_query("UPDATE `users` SET `zayavka` = 0 WHERE `zayavka` = '".$zay."'"); + foreach($z['team1'] as $k => $v) { + addchp('Внимание! Ваш бой не может начаться по причине "Группа не набрана".', '{[]}'.nick7($v).'{[]}'); + } + mysql_query("DELETE FROM `zayavka` WHERE `id` = '".$zay."' LIMIT 1"); + die(); + } + + $arr = array(3, 4, 5, 7, 10); + + if(in_array($z['timeout'], $arr)) { + + } else { + $z['timeout'] = 3; + } + + if($z['type'] == 1 || $z['type'] == 4) { + $rs = ', `fiz`'; $rss = ', 1'; + } else { + $rs = ''; $rss = ''; + } + + mysql_query("INSERT INTO `battle` (`coment`, `teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`$rs, `bots`) VALUES ('{$z['coment']}', '".serialize($teams)."', '{$z['timeout']}', '{$z['type']}', '0', '".implode(";", $z['team1'])."', '".implode(";", $z['team2'])."', '".time()."', '".time()."', '".$z['blood']."'$rss, '".$z['bots']."')"); + $id = mysql_insert_id(); + $rr = ""; + + foreach($z['team1'] as $k => $v) { + if($k != 0) { $rr .= ", "; } + $rr .= nick3($v); + addchp('Внимание! Ваш бой начался!
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($v).'{[]}'); + } + + $rr .= "
    и "; + + foreach($z['team2'] as $k => $v) { + if($k != 0) { $rr .= ", "; } + $rr .= nick3($v); + addchp('Внимание! Ваш бой начался!
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($v).'{[]}'); + } + + $rr .= "
    "; + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + foreach($z['team1'] as $k => $v) { + if($v < _BOTSEPARATOR_) { + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id` = {$v}"); + } else { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$v}"); + } + } + + foreach($z['team2'] as $k => $v) { + if($v < _BOTSEPARATOR_) { + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id` = {$v}"); + } else { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$v}"); + } + } +} +*/ \ No newline at end of file diff --git a/css/2/buttons.css b/css/2/buttons.css new file mode 100644 index 0000000..abe7a3a --- /dev/null +++ b/css/2/buttons.css @@ -0,0 +1,5 @@ +html,body { width:100%; height:100%; padding:0; margin:0; overflow:hidden;} .clear {clear:both;} .zbtn1l{ width:9px; height:18px; background: url(../tab.png) 0px 0px repeat-x;}.zbtn1r { width:9px; height:18px; background: url(../tab.png) -18px 0px repeat-x;}.zbtn1r2 { width:9px; height:18px; background: url(../tab.png) 18px 0px repeat-x;}.zbtn2l{ width:9px; height:18px; background: url(../tab.png) -36px 0px repeat-x;}.zbtn2r { width:9px; height:18px; background: url(../tab.png) -54px 0px repeat-x;}.zbtn2r2 { width:9px; height:18px; background: url(../tab.png) -90px 0px repeat-x;}.zbtn2r3 { width:9px; height:18px; background: url(../tab.png) 54px 0px repeat-x;}.zbtn1c{ background-color: #808080; border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; border-top-color: #000000; border-bottom-color: #000000; color: #FFFFFF; cursor:default; padding-left:5px; padding-right:5px; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.zbtn2c{ background-color: #D5D2C9; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #000000; color: #000000; cursor:default; padding-left:5px; padding-right:5px; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}body, td, ol, ul, li , p { font-size: 10pt; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.seehp { color: #F4F4F4; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px; padding-left:3px;}.senohp{ line-height: 7px; font-size: 9px;}.hp_none { background: url('../i/hp.jpg') 0px 0px repeat-x;}.hp_1 { background: url('../i/hp.jpg') 0px -11px repeat-x;}.hp_2 { background: url('../i/hp.jpg') 0px -21px repeat-x;}.hp_3 { background: url('../i/hp.jpg') 0px -31px repeat-x;}.hp_mp { background: url('../i/hp.jpg') 0px -41px repeat-x;}.seemp { color: #00FFFF; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px; padding-left:3px;}.hpborder { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #DADADA;}.text { font-size: 10pt; color: #000000; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;}H3 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TEXT-ALIGN: center;}H4 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 5px;}H5 { COLOR: #4f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px;}a,a:visited { text-decoration: none; FONT-WEIGHT: bold; color: #003388; }a:active { color: #6F0000}a:hover { color: #0066FF}.date { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000}.date1 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #b00000;}.date2 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000; background-color: #00FFAA}.date22 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000; background-color: #00FFAA}.date3 { font-family: Courier; font-size: 8pt; text-decoration:underline; font-weight:normal; color: #007000; background-color: #00FFAA}.priem_hint{ position:absolute; background-color:#ffffcc; padding:2px; padding-left:4px; padding-right:4px; border:1px #666666 solid; z-index:1000;}.greaytext { color:grey; cursor:default; font-weight: bold; font-size: 10px; text-decoration: none;}.sysdate { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #B00000}.private { font-weight:bold; color: red; background-color: #FAE0E0}.klan { font-weight:bold; color: green; background-color: #99FFCC;}.number { font-size: 11pt; font-weight: bold; color: #6F0000}.dsc { color: #606060; font-weight:normal; }select,textarea,input { border: solid 1pt #B0B0B0; font-family: MS Sans Serif; font-size: 10px; color: #191970; MARGIN-BOTTOM: 2px; MARGIN-TOP: 1px;}.ahint {font-family: MS Sans Serif; font-size:8px; text-decoration:none; color:#666666;z-index: 99;}#hint2 {position:absolute; width:140; background-color:#FFF6DD; layer-background-color:#FFF6DD; visibility:hidden}#hint3 {position:absolute; width:240; background-color:#FFF6DD; layer-background-color:#FFF6DD; visibility:hidden}.hint { position:absolute; background-color:#ffffcc; padding:5px;}.hpborder { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #DADADA;}#hint4 {position:absolute; width:240; visibility:hidden}.B1 { font-weight: bold; color: #6666CC}.B2 { font-weight: bold; color: #B06A00}.B3 { font-weight: bold; color: #269088}.B4 { font-weight: bold; color: #A0AF20}.B5 { font-weight: bold; color: #0F79D3}.B6 { font-weight: bold; color: #D85E23}.B7 { font-weight: bold; color: #5C832F}.B8 { font-weight: bold; color: #842B61}.B9 { font-weight: bold; color: navy}.Bs1 { font-size: 8pt; font-weight:bold; color: #6666CC}.Bs2 { font-weight:bold; color: #B06A00}img,table {border:0}.ismagic {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic1.gif)}.glow_pink {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_pink.gif)}.glow_red {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_red.gif)}.glow_green {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_green.gif)}.glow_yellow {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_yellow.gif)}.glow_dark {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_dark.gif)}.glow_blue {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_blue.gif)}.hpStyle1 { color: #F4F4F4; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px;}.mpStyle1 { color: #00FFFF; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px;}.ahint { FONT-SIZE: 8px; COLOR: #000080; FONT-FAMILY: MS Sans Serif; TEXT-DECORATION: none}#hint2 { VISIBILITY: hidden; WIDTH: 140px; POSITION: absolute; BACKGROUND-COLOR: #fff6dd; layer-background-color: #FFF6DD}#hint3 { VISIBILITY: hidden; WIDTH: 240px; POSITION: absolute; BACKGROUND-COLOR: #fff6dd; layer-background-color: #FFF6DD}.genwnew { background-color: #EBEBEB; border: 1px solid #C1C1C1;}.priem_style {margin:0px;width:40px;height:25px;}.priem_styleHover {margin:1px;width:38px;height:23px;}.priem_style2 {cursor:pointer;margin:0px;width:40px;height:25px;}.priem_styleHover2 {cursor:pointer;margin:1px;width:38px;height:23px;}.menutop, a.menutop:visited, a.menutop:active { font-weight: bold; font-size: 10px; text-decoration: none; color: #3B3936;}.btn { border: 1px double #9a9996; font-size: 12px; color: #dfdfdf; background-color:#504F4C;} + +.yesbtn { border: 1px solid #b0b0b0; background-color: #ece9d8; width:40px; color: #333333; text-decoration: none; font-size: 12px;} + +img { border:0px;}.iframeMain { width:inherit; height:inherit;}.windowsmf_css1 { position:absolute; background-color:#ddd5bf; -moz-user-select: none; -khtml-user-select: none; user-select: none; border:solid #D8D8D8 1px; FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.windowsmf_css1_active2 { position:absolute; background-color:#F9F9F9; -moz-user-select: none; -khtml-user-select: none; user-select: none; border:solid #FDFDFD 1px;}.inpt1 { font-size: 8pt; border: 1px solid #CDC698;}.windowsmf_css1_title { background-color:#b1a993; color:#000000; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px; FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.usermenu { z-index:900; position: absolute; LEFT: 0px; TOP: 0px; background-color:#E5E5E5; border: 1px ridge #CCCCCC;}.usermenu1 { background-color:#E5E5E5; cursor:pointer; padding-left:3px; padding-right:3px; padding-top:1px; padding-bottom:1px;}.usermenu1:hover { background-color:#CECECE;}.windowsmf_css1_title_active { background-color:#C9C4B4; color:#1A1A1A; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px; cursor:move;}.windowsmf_css1_title_active2 { background-color:#D7D3C8; color:#333333; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px;}.windowsmf_css1_main_active2 { background-color:#FDFDFD; color:#FDFDFD; padding:10px;}.windowsmf_css1_main { padding:2px;}.btn_grey { border-top-width: 1px; background-color: #e5e5e5; background-image:url(line1.jpg); border-top-style: solid; border-top-color: #EFEFEF; padding-top:2px; padding-bottom:2px; padding-left:7px; padding-right:7px; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #D8D8D8; border-left-color: #D8D8D8; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #D8D8D8; color: #494949; -moz-user-select: none; -khtml-user-select: none; user-select: none; text-decoration: none;}.btn_grey:hover { background-image:url(line2.jpg); color: #333333;}.btn_grey:active { background-color: #e5e5e5; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #EFEFEF; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #D8D8D8; border-left-color: #D8D8D8; border-top-width: 1px; border-top-style: solid; border-top-color: #D8D8D8;} .mainframe { width:inherit; height:inherit;}.message { font-size: 10pt; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.text { font-size: 10pt; color: #000000; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;}H3 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TEXT-ALIGN: center;}H4 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 5px;}H5 { COLOR: #4f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px;}img{ border:0;}.ttl_css{ position:absolute; padding-left:3px; padding-right:3px; padding-top:2px; padding-bottom:2px; background-color: #ffffcc; border: 1px solid #333333;}.topdiv{ position:absolute; width:100%; height:100%;}.iframeClass{ width:100%; height:100%; display: block;}.hint { position:absolute; background-color:#ffffcc; padding:5px;}.topusermenu{ z-index:1000; position:absolute; background-color:#d2d0d0; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #929090; border-right-color: #626060; border-bottom-color: #626060; border-left-color: #929090;}.inviseMen1{ filter: alpha(opacity=90); -moz-opacity: 0.90; -khtml-opacity: 0.90; opacity: 0.90; }.inviseMen2{ filter: alpha(opacity=60); -moz-opacity: 0.60; -khtml-opacity: 0.60; opacity: 0.60; }.inviseMen3{ filter: alpha(opacity=30); -moz-opacity: 0.30; -khtml-opacity: 0.30; opacity: 0.30; }.inviseMen4{ filter: alpha(opacity=10); -moz-opacity: 0.10; -khtml-opacity: 0.10; opacity: 0.10; }.topusermenuBtn{ text-decoration: none; FONT-WEIGHT: bold; color: #003388; padding-left:7px; padding-right:7px; cursor:pointer;}a,a:visited { text-decoration: none; FONT-WEIGHT: bold; color: #003388; }a:active { color: #6F0000;}a:hover { color: #0066FF;}.topusermenuBtn:hover{ background-color:#a2a2a2; color: #0066FF;}.effects { }.iframeMain { width:100%; height:100%; margin: 0px; padding:0px; border:0px;}.bDivcss { position:absolute; width:100%; height:100%; margin: 0px; padding:0px; border:0px;}.windowsmf_css1 { position:absolute; background-color:#ddd5bf; -moz-user-select: none; -khtml-user-select: none; user-select: none; border:solid #D8D8D8 1px; FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.windowsmf_css1_active2 { position:absolute; background-color:#F9F9F9; -moz-user-select: none; -khtml-user-select: none; user-select: none; border:solid #FDFDFD 1px;}.inpt1 { font-size: 8pt; border: 1px solid #CDC698;}.inpt2 { font-size: 10pt; width:177px; border: 1px solid #CDC698;}.windowsmf_css1_title { background-color:#b1a993; color:#000000; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px; FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.usermenu { z-index:900; position: absolute; LEFT: 0px; TOP: 0px; background-color:#E5E5E5; border: 1px ridge #CCCCCC;}.usermenu1 { background-color:#E5E5E5; cursor:pointer; padding-left:3px; padding-right:3px; padding-top:1px; padding-bottom:1px;}.usermenu1:hover { background-color:#CECECE;}.windowsmf_css1_title_active { background-color:#C9C4B4; color:#1A1A1A; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px; cursor:move;}.windowsmf_css1_title_active2 { background-color:#D7D3C8; color:#333333; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px;}.windowsmf_css1_main_active2 { background-color:#FDFDFD; color:#FDFDFD; padding:10px;}.windowsmf_css1_main { padding:10px;}.btn_grey { border-top-width: 1px; background-color: #e5e5e5; background-image:url(line1.jpg); border-top-style: solid; border-top-color: #EFEFEF; padding-top:2px; padding-bottom:2px; padding-left:7px; padding-right:7px; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #D8D8D8; border-left-color: #D8D8D8; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #D8D8D8; color: #494949; -moz-user-select: none; -khtml-user-select: none; user-select: none; text-decoration: none;}.btn_grey:hover { background-image:url(line2.jpg); color: #333333;}.btn_grey:active { background-color: #e5e5e5; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #EFEFEF; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #D8D8D8; border-left-color: #D8D8D8; border-top-width: 1px; border-top-style: solid; border-top-color: #D8D8D8;} \ No newline at end of file diff --git a/css/2/chat.css b/css/2/chat.css new file mode 100644 index 0000000..fce448f --- /dev/null +++ b/css/2/chat.css @@ -0,0 +1 @@ +html { width:100%; height:100%; padding:0; margin:0;}body { width:100%; height:100%; padding:0; margin:0; overflow:hidden; /*background-image: url('../i/buttons/chat_bg.gif');*/}select,textarea,input { border: solid 1pt #B0B0B0; font-family: MS Sans Serif; font-size: 8px; color: #191970; MARGIN-BOTTOM: 2px; MARGIN-TOP: 1px;}img{ border:0px;}.text_msg { border: 1px solid #CCCCCC; font-size: 11px; color: #000000; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.chatBtn1_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn1.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn1_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn1.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn2_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn2.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn2_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn2.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn4_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn4.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn4_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn4.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn5_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn5_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn5_3 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px -59px repeat-x;; cursor:pointer;}.chatBtn6_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn6.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn6_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn6.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn7_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn7_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn7_3 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px -60px repeat-x;; cursor:pointer;} \ No newline at end of file diff --git a/css/2/design2.css b/css/2/design2.css new file mode 100644 index 0000000..33f18d4 --- /dev/null +++ b/css/2/design2.css @@ -0,0 +1,104 @@ +html,body { width:100%; height:100%; margin:0px; overflow-x: hidden; overflow-y: hidden; font-size:10px;}select,textarea,input { border: solid 1pt #B0B0B0; font-family: MS Sans Serif; font-size: 8px; color: #191970; MARGIN-BOTTOM: 2px; MARGIN-TOP: 1px;}img{ border:0px;}.hint { position:absolute; background-color:#ffffcc; padding:5px;}.topusermenu{ font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif; z-index:1000; position:absolute; background-color:#d2d0d0; font-size:13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #929090; border-right-color: #626060; border-bottom-color: #626060; border-left-color: #929090;}.inviseMen1{ filter: alpha(opacity=90); -moz-opacity: 0.90; -khtml-opacity: 0.90; opacity: 0.90; }.inviseMen2{ filter: alpha(opacity=60); -moz-opacity: 0.60; -khtml-opacity: 0.60; opacity: 0.60; }.inviseMen3{ filter: alpha(opacity=30); -moz-opacity: 0.30; -khtml-opacity: 0.30; opacity: 0.30; }.inviseMen4{ filter: alpha(opacity=10); -moz-opacity: 0.10; -khtml-opacity: 0.10; opacity: 0.10; }.B1 { font-weight: bold; color: #6666CC}.B2 { font-weight: bold; color: #B06A00}.B3 { font-weight: bold; color: #269088}.B4 { font-weight: bold; color: #A0AF20}.B5 { font-weight: bold; color: #0F79D3}.B6 { font-weight: bold; color: #D85E23}/* цвета команд */ +.CSSteam { font-weight: bold; cursor:pointer; } +.CSSteam0 { font-weight: bold; cursor:pointer; } +.CSSteam1 { font-weight: bold; color: #6666CC; cursor:pointer; } +.CSSteam2 { font-weight: bold; color: #B06A00; cursor:pointer; } +.CSSteam3 { font-weight: bold; color: #269088; cursor:pointer; } +.CSSteam4 { font-weight: bold; color: #A0AF20; cursor:pointer; } +.CSSteam5 { font-weight: bold; color: #0F79D3; cursor:pointer; } +.CSSteam6 { font-weight: bold; color: #D85E23; cursor:pointer; } +.CSSteam7 { font-weight: bold; color: #5C832F; cursor:pointer; } +.CSSteam8 { font-weight: bold; color: #842B61; cursor:pointer; } +.CSSteam9 { font-weight: bold; color: navy; cursor:pointer; } +.CSSvs { font-weight: bold; } +.B7 { font-weight: bold; color: #5C832F}.B8 { font-weight: bold; color: #842B61}.B9 { font-weight: bold; color: navy}.Bs1 { font-size: 8pt; font-weight:bold; color: #6666CC}.Bs2 { font-weight:bold; color: #B06A00}.topusermenuBtn{ text-decoration: none; FONT-WEIGHT: bold; color: #003388; padding-left:7px; padding-right:7px; cursor:pointer;}.topusermenuBtn:hover{ background-color:#a2a2a2; color: #0066FF;}.zbtn1l{ width:9px; height:18px; background: url(../tab.png) 0px 0px repeat-x;}.zbtn1r { width:9px; height:18px; background: url(../tab.png) -18px 0px repeat-x;}.zbtn1r2 { width:9px; height:18px; background: url(../tab.png) 18px 0px repeat-x;}.zbtn2l{ width:9px; height:18px; background: url(../tab.png) -36px 0px repeat-x;}.zbtn2r { width:9px; height:18px; background: url(../tab.png) -54px 0px repeat-x;}.zbtn2r2 { width:9px; height:18px; background: url(../tab.png) -90px 0px repeat-x;}.zbtn2r3 { width:9px; height:18px; background: url(../tab.png) 54px 0px repeat-x;}.zbtn1c{ background-color: #808080; border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; border-top-color: #000000; border-bottom-color: #000000; color: #FFFFFF; cursor:default; padding-left:5px; padding-right:5px; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.zbtn2c{ background-color: #D5D2C9; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #000000; color: #000000; cursor:default; padding-left:5px; padding-right:5px; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.text_msg { border: 1px solid #CCCCCC; font-size: 11px; color: #000000; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.chatBtn1_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn1.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn1_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn1.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn2_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn2.gif'); 0px 0px repeat-x; cursor:pointer;}.chatBtn2_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn2.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn4_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn4.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn4_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn4.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn5_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn5_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn5_3 { width:30px; height:30px; background: url('../i/buttons/chatBtn5.gif') 0px -59px repeat-x;; cursor:pointer;}.chatBtn6_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn6.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn6_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn6.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn7_1 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px 0px repeat-x;; cursor:pointer;}.chatBtn7_2 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px -30px repeat-x;; cursor:pointer;}.chatBtn7_3 { width:30px; height:30px; background: url('../i/buttons/chatBtn7.gif') 0px -60px repeat-x;; cursor:pointer;}.resLine { width:100%; height:2px; background-color:#CCCCCC; position:absolute; cursor:n-resize; left: 0px; top: 111%; -moz-user-select: none; -khtml-user-select: none; user-select: none; -webkit-user-select: none; /*border-bottom:#999999 solid 1px;*/} +.battle_hod_style { + border-bottom-width: 1px; + border-bottom-style: solid; + border-bottom-color: #AEAEAE; +} + +.dragLoginCss { +position:absolute; +z-index:10001; +background-color:#666666; +padding:7px; +cursor:pointer; +font-size:12px; +filter: alpha(opacity=90); -moz-opacity: 0.90; -khtml-opacity: 0.90; opacity: 0.90; +} + +.dragLoginCss1 { +position:absolute; +z-index:10001; +background-color:#666666; +padding:7px; +cursor:pointer; +font-size:12px; +filter: alpha(opacity=80); -moz-opacity: 0.80; -khtml-opacity: 0.80; opacity: 0.80; +} + +.dragLoginCss2 { +position:absolute; +z-index:10001; +background-color:#666666; +padding:7px; +cursor:pointer; +font-size:12px; +filter: alpha(opacity=70); -moz-opacity: 0.70; -khtml-opacity: 0.70; opacity: 0.70; +} + +.dragLoginCss3 { +position:absolute; +z-index:10001; +background-color:#666666; +padding:7px; +cursor:pointer; +font-size:12px; +filter: alpha(opacity=60); -moz-opacity: 0.60; -khtml-opacity: 0.60; opacity: 0.60; +} + +.dragLoginCss4 { +position:absolute; +z-index:10001; +background-color:#666666; +padding:7px; +cursor:pointer; +font-size:12px; +filter: alpha(opacity=50); -moz-opacity: 0.40; -khtml-opacity: 0.40; opacity: 0.40; +} + +.dragLoginCss5 { +position:absolute; +z-index:10001; +background-color:#666666; +padding:7px; +cursor:pointer; +font-size:12px; +filter: alpha(opacity=40); -moz-opacity: 0.20; -khtml-opacity: 0.20; opacity: 0.20; +} + +.dragLoginCss6 { +position:absolute; +z-index:10001; +background-color:#666666; +padding:7px; +cursor:pointer; +font-size:12px; +filter: alpha(opacity=10); -moz-opacity: 0.10; -khtml-opacity: 0.10; opacity: 0.10; +} + +body, td, ol, ul, li , p { + FONT-SIZE: 12px; + FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif; +} +.text { + FONT-SIZE: 12px; COLOR: #000000; FONT-WEIGHT: normal; + FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif; +} + +.resLine:hover { width:100%; height:2px; background-color:#A1A1A1; position:absolute; cursor:n-resize; left: 0px; top: 111%; -moz-user-select: none; -khtml-user-select: none; user-select: none; -webkit-user-select: none; }.backresLine { width:100%; height:2px; background-color:#CCCCCC; position:absolute; cursor:n-resize; left: 0px; top: 111%; -moz-user-select: none; -khtml-user-select: none; user-select: none; -webkit-user-select: none; /*border-bottom:#999999 solid 1px;*/}.resLine2 { width:3px; height:100%; background-color:#CCCCCC; position:absolute; cursor:e-resize; left: 111%; top: 0px; -moz-user-select: none; -khtml-user-select: none; user-select: none; -webkit-user-select: none; border-left:#999999 solid 1px;}.resLine2:hover { width:3px; height:100%; background-color:#A1A1A1; position:absolute; cursor:e-resize; left: 111%; top: 0px; border-left:#666666 1px solid; -moz-user-select: none; -khtml-user-select: none; user-select: none; -webkit-user-select: none; }.backresLine2 { width:3px; height:100%; background-color:#CCCCCC; position:absolute; cursor:e-resize; left: 111%; top: 0px; -moz-user-select: none; -khtml-user-select: none; user-select: none; -webkit-user-select: none; border-left:#999999 solid 1px;}.style1 { color: green; font-weight: bold;}.noselect { -moz-user-select: none; -khtml-user-select: none; user-select: none; -webkit-user-select: none;}.iframemain { width:100%; height:100%;}.globcss { width:100%; height:100%; position:absolute; -moz-user-select: none; -khtml-user-select: none; user-select: none; -webkit-user-select: none; background-image:url(http:///1x1.gif);}.line1x1 { border-bottom: 1px solid #797779; display:block;}.main_text { font-weight: bold; font-size: 10px; text-decoration: none; color:#f0f0f0; cursor:pointer; }.menutop, a.menutop:visited, a.menutop:active { font-weight: bold; font-size: 10px; text-decoration: none; color: #3B3936;}a.menutop:hover { color: #76726b;}.name { font-weight: bold; font-size: 12px;}.parametr_title { font-weight: bold; font-size: 11px; color: #777773;}.prname { padding-left: 4px; font-size: 11px; font-family: Arial, Helvetica, sans-serif;}.prvalue { font-size: 11px; font-family: Arial, Helvetica, sans-serif; }.btn { border: 1px double #9a9996; background-image: url(http://img.oldbk.org/i/beg_butt.gif); font-size: 7.5pt; color: #dfdfdf; background-color:#504F4C;}.mainmenu { color: #23292C; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: none; border-bottom-style: solid; border-left-style: solid; border-top-color: #969697; border-right-color: #969697; border-bottom-color: #000000; border-left-color: #969697; background-color: #BABABB; cursor:pointer;}.maptext { font-weight: bold; font-size: 12px; color: #000000; font-family: Arial, Helvetica, sans-serif;}.posit { border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #FFFFFF; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #FFFFFF; padding: 2px;}td { font-size: 12px; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.seehp { color: #F4F4F4; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px; padding-left:3px;}.senohp{ line-height: 7px; font-size: 9px;}.hp_none { background: url('../i/hp.jpg') 0px 0px repeat-x;}.hp_1 { background: url('../i/hp.jpg') 0px -11px repeat-x;}.hp_2 { background: url('../i/hp.jpg') 0px -21px repeat-x;}.hp_3 { background: url('../i/hp.jpg') 0px -31px repeat-x;}.hp_mp { background: url('../i/hp.jpg') 0px -41px repeat-x;}.seemp { color: #00FFFF; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px; padding-left:3px;}.hpborder { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #DADADA;}.text { color: #000000; font-size: 12px; font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif; }H3 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TEXT-ALIGN: center;}H4 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 5px;}H5 { COLOR: #4f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px;}a,a:visited { text-decoration: none; FONT-WEIGHT: bold; color: #003388; }a:active { color: #6F0000}a:hover { color: #0066FF}.date { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000}.date1 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #b00000;}.date2 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000; background-color: #00FFAA}.date22 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000; background-color: #00FFAA}.date3 { font-family: Courier; font-size: 8pt; text-decoration:underline; font-weight:normal; color: #007000; background-color: #00FFAA}.priem_hint{ position:absolute; background-color:#ffffcc; padding:2px; padding-left:4px; padding-right:4px; border:1px #666666 solid; z-index:1000;}.greaytext { color:grey; cursor:default; font-weight: bold; font-size: 10px; text-decoration: none;}.sysdate { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #B00000}.private { font-weight:bold; color: red; background-color: #FAE0E0}.klan { font-weight:bold; color: green; background-color: #99FFCC;}.number { font-size: 11pt; font-weight: bold; color: #6F0000}.dsc { color: #606060; font-weight:normal; }select,textarea,input { border: solid 1pt #B0B0B0; font-family: MS Sans Serif; font-size: 10px; color: #191970; MARGIN-BOTTOM: 2px; MARGIN-TOP: 1px;}.ahint {font-family: MS Sans Serif; font-size:8px; text-decoration:none; color:#666666;z-index: 99;}#hint2 {position:absolute; width:140; background-color:#FFF6DD; layer-background-color:#FFF6DD; visibility:hidden}#hint3 {position:absolute; width:240; background-color:#FFF6DD; layer-background-color:#FFF6DD; visibility:hidden}.hint { position:absolute; background-color:#ffffcc; padding:5px;}.hpborder { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #DADADA;}#hint4 {position:absolute; width:240; visibility:hidden}.B1 { font-weight: bold; color: #6666CC}.B2 { font-weight: bold; color: #B06A00}.B3 { font-weight: bold; color: #269088}.B4 { font-weight: bold; color: #A0AF20}.B5 { font-weight: bold; color: #0F79D3}.B6 { font-weight: bold; color: #D85E23}.B7 { font-weight: bold; color: #5C832F}.B8 { font-weight: bold; color: #842B61}.B9 { font-weight: bold; color: navy}.Bs1 { font-size: 8pt; font-weight:bold; color: #6666CC}.Bs2 { font-weight:bold; color: #B06A00}img,table {border:0}.ismagic {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic1.gif)}.glow_pink {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_pink.gif)}.glow_red {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_red.gif)}.glow_green {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_green.gif)}.glow_yellow {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_yellow.gif)}.glow_dark {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_dark.gif)}.glow_blue {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_blue.gif)}.hpStyle1 { color: #F4F4F4; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px;}.mpStyle1 { color: #00FFFF; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px;}.ahint { FONT-SIZE: 8px; COLOR: #000080; FONT-FAMILY: MS Sans Serif; TEXT-DECORATION: none}#hint2 { VISIBILITY: hidden; WIDTH: 140px; POSITION: absolute; BACKGROUND-COLOR: #fff6dd; layer-background-color: #FFF6DD}#hint3 { VISIBILITY: hidden; WIDTH: 240px; POSITION: absolute; BACKGROUND-COLOR: #fff6dd; layer-background-color: #FFF6DD}.genwnew { background-color: #EBEBEB; border: 1px solid #C1C1C1;}.priem_style {margin:0px;width:40px;height:25px;}.priem_styleHover {margin:1px;width:38px;height:23px;}.priem_style2 {cursor:pointer;margin:0px;width:40px;height:25px;}.priem_styleHover2 {cursor:pointer;margin:1px;width:38px;height:23px;}.menutop, a.menutop:visited, a.menutop:active { font-weight: bold; font-size: 10px; text-decoration: none; color: #3B3936;}.btn { border: 1px double #9a9996; font-size: 12px; color: #dfdfdf; background-color:#504F4C;} + +.yesbtn { border: 1px solid #b0b0b0; background-color: #ece9d8; width:60px; padding-bottom:2px; padding-top:2px; color: #333333; text-decoration: none; font-size: 12px;} + +img { border:0px;}.iframeMain { width:inherit; height:inherit;}.windowsmf_css1 { position:absolute; background-color:#ddd5bf; -moz-user-select: none; -khtml-user-select: none; user-select: none; border:solid #D8D8D8 1px; FONT-SIZE: 12px; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.windowsmf_css1_active2 { position:absolute; background-color:#F9F9F9; -moz-user-select: none; -khtml-user-select: none; user-select: none; border:solid #FDFDFD 1px;}.inpt1 { font-size: 8pt; border: 1px solid #CDC698;}.windowsmf_css1_title { background-color:#b1a993; color:#000000; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px; FONT-SIZE: 12px; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;}.usermenu { z-index:900; position: absolute; LEFT: 0px; TOP: 0px; background-color:#E5E5E5; border: 1px ridge #CCCCCC;}.usermenu1 { background-color:#E5E5E5; cursor:pointer; padding-left:3px; padding-right:3px; padding-top:1px; padding-bottom:1px;}.usermenu1:hover { background-color:#CECECE;}.windowsmf_css1_title_active { background-color:#C9C4B4; color:#1A1A1A; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px; cursor:move;}.windowsmf_css1_title_active2 { background-color:#D7D3C8; color:#333333; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px;}.windowsmf_css1_main_active2 { background-color:#FDFDFD; color:#FDFDFD; padding:2px;}.windowsmf_css1_main { padding:2px;}.btn_grey { border-top-width: 1px; background-color: #e5e5e5; background-image:url(line1.jpg); border-top-style: solid; border-top-color: #EFEFEF; padding-top:2px; padding-bottom:2px; padding-left:7px; padding-right:7px; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #D8D8D8; border-left-color: #D8D8D8; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #D8D8D8; color: #494949; -moz-user-select: none; -khtml-user-select: none; user-select: none; text-decoration: none;}.btn_grey:hover { background-image:url(line2.jpg); color: #333333;}.btn_grey:active { background-color: #e5e5e5; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #EFEFEF; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #D8D8D8; border-left-color: #D8D8D8; border-top-width: 1px; border-top-style: solid; border-top-color: #D8D8D8;} .mainframe { width:inherit; height:inherit;}.message { font-size: 12px; font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;} .ttl_css{ position:absolute; padding-left:3px; padding-right:3px; padding-top:2px; padding-bottom:2px; background-color: #ffffcc; border: 1px solid #333333;} \ No newline at end of file diff --git a/css/2/design6.css b/css/2/design6.css new file mode 100644 index 0000000..dfb7897 --- /dev/null +++ b/css/2/design6.css @@ -0,0 +1,207 @@ +body { + + margin: 0px; + + height: 100%; + + width: 100%; + + background-color: #dedede; + + font-size:10px; + + color: #000000; + +} + + + +.main_text { + + font-weight: bold; + + font-size: 10px; + + text-decoration: none; + + color:#f0f0f0; + + cursor:hand; + +} + + + +.menutop, a.menutop:visited, a.menutop:active { + + font-weight: bold; + + font-size: 10px; + + text-decoration: none; + + color: #3B3936; + +} + + + +a.menutop:hover { + + color: #76726b; + +} + + + +.name { + + font-weight: bold; + + font-size: 12px; + +} + + + +.parametr_title { + + font-weight: bold; + + font-size: 11px; + + color: #777773; + +} + + + +.prname { + + padding-left: 4px; + + font-size: 11px; + + font-family: Arial, Helvetica, sans-serif; + +} + + + +.prvalue { + + font-size: 11px; + + font-family: Arial, Helvetica, sans-serif; + +} + + + +.btn { + + border: 1px double #9a9996; + + background-image: url(i/move/beg_butt.gif); + + font-size: 7.5pt; + + color: #dfdfdf; + + background-color:#504F4C; + +} + + + +.mainmenu { + + color: #23292C; + + border-top-width: 1px; + + border-right-width: 1px; + + border-bottom-width: 1px; + + border-left-width: 1px; + + border-top-style: solid; + + border-right-style: none; + + border-bottom-style: solid; + + border-left-style: solid; + + border-top-color: #969697; + + border-right-color: #969697; + + border-bottom-color: #000000; + + border-left-color: #969697; + + background-color: #BABABB; + + cursor:hand; + +} + + + +.maptext { + + font-weight: bold; + + font-size: 12px; + + color: #000000; + + font-family: Arial, Helvetica, sans-serif; + +} + +.posit { + + border-top-width: 1px; + + border-right-width: 1px; + + border-bottom-width: 1px; + + border-left-width: 1px; + + border-top-style: solid; + + border-right-style: solid; + + border-bottom-style: solid; + + border-left-style: solid; + + border-top-color: #FFFFFF; + + border-right-color: #666666; + + border-bottom-color: #666666; + + border-left-color: #FFFFFF; + + padding: 2px; + +} + + + +td { + + font-size: 10pt; + + font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; + +} + + + + diff --git a/css/2/dungeon_cs.css b/css/2/dungeon_cs.css new file mode 100644 index 0000000..6058141 --- /dev/null +++ b/css/2/dungeon_cs.css @@ -0,0 +1,57 @@ +DIV.Dungeon{ + width: 372px; + height: 260px; + padding: 10px; + position: relative; + overflow: hidden; + background: black; +} +.Dungeon BUTTON { + border: 0px solid; + background: transparent; + padding: 0px; + margin: 0px; + position: absolute; + filter: Alpha(opacity=100),Chroma( Color=#c1cacf ); +} + +.Dungeon DIV { + width: 352px; + height: 240px; + overflow: hidden; + position: relative; +} + +DIV.Life{position:absolute;background:#008000;height:2px;} +DIV.Life2{position:absolute;background:#00FF00;height:2px;} +.Dungeon .Floor0{ background: url( ../i/sprites/cs/bg0.gif ) black } +.Dungeon .Floor1{ background: url( ../i/sprites/cs/bg1.gif ) black } + +.Dungeon .LeftSide4_1 { background: url( ../i/sprites/cs/Left/4_1.gif ) no-repeat; } +.Dungeon .RightSide4_1 { background: url( ../i/sprites/cs/Right/4_1.gif ) no-repeat; } +.Dungeon .LeftSide4_0 { background: url( ../i/sprites/cs/Left/4_0.gif ) no-repeat; } +.Dungeon .RightSide4_0 { background: url( ../i/sprites/cs/Right/4_0.gif ) no-repeat; } +.Dungeon .LeftFront3_2 { background: url( ../i/sprites/cs/Left/Front/4_2.gif ) no-repeat; } +.Dungeon .RightFront3_2 { background: url( ../i/sprites/cs/Right/Front/4_2.gif ) no-repeat; } +.Dungeon .LeftFront3_1 { background: url( ../i/sprites/cs/Left/Front/4_1.gif ) no-repeat; } +.Dungeon .RightFront3_1 { background: url( ../i/sprites/cs/Right/Front/4_1.gif ) no-repeat; } +.Dungeon .LeftFront3_0 { background: url( ../i/sprites/cs/Left/Front/4_0.gif ) no-repeat; } +.Dungeon .LeftSide3_1 { background: url( ../i/sprites/cs/Left/3_1.gif ) no-repeat; } +.Dungeon .RightSide3_1 { background: url( ../i/sprites/cs/Right/3_1.gif ) no-repeat; } +.Dungeon .LeftSide3_0 { background: url( ../i/sprites/cs/Left/3_0.gif ) no-repeat; } +.Dungeon .RightSide3_0 { background: url( ../i/sprites/cs/Right/3_0.gif ) no-repeat; } +.Dungeon .LeftFront2_1 { background: url( ../i/sprites/cs/Left/Front/3_1.gif ) no-repeat; } +.Dungeon .RightFront2_1 { background: url( ../i/sprites/cs/Right/Front/3_1.gif ) no-repeat; } +.Dungeon .LeftFront2_0 { background: url( ../i/sprites/cs/Left/Front/3_0.gif ) no-repeat; } +.Dungeon .LeftSide2_0 { background: url( ../i/sprites/cs/Left/2_0.gif ) no-repeat; } +.Dungeon .RightSide2_0 { background: url( ../i/sprites/cs/Right/2_0.gif ) no-repeat; } +.Dungeon .LeftFront1_1 { background: url( ../i/sprites/cs/Left/Front/2_1.gif ) no-repeat; } +.Dungeon .RightFront1_1 { background: url( ../i/sprites/cs/Right/Front/2_1.gif ) no-repeat; } +.Dungeon .LeftFront1_0 { background: url( ../i/sprites/cs/Left/Front/2_0.gif ) no-repeat; } +.Dungeon .LeftSide1_0 { background: url( ../i/sprites/cs/Left/1_0.gif ) no-repeat; } +.Dungeon .RightSide1_0 { background: url( ../i/sprites/cs/Right/1_0.gif ) no-repeat; } +.Dungeon .LeftFront0_1 { background: url( ../i/sprites/cs/Left/Front/1_1.gif ) no-repeat; } +.Dungeon .RightFront0_1 { background: url( ../i/sprites/cs/Right/Front/1_1.gif ) no-repeat; } +.Dungeon .LeftFront0_0 { background: url( ../i/sprites/cs/Left/Front/1_0.gif ) no-repeat; } +.Dungeon .LeftSide0_0 { background: url( ../i/sprites/cs/Left/0_0.gif ) no-repeat; } +.Dungeon .RightSide0_0 { background: url( ../i/sprites/cs/Right/0_0.gif ) no-repeat; } \ No newline at end of file diff --git a/css/2/dungeon_css.css b/css/2/dungeon_css.css new file mode 100644 index 0000000..e830420 --- /dev/null +++ b/css/2/dungeon_css.css @@ -0,0 +1,57 @@ +DIV.Dungeon{ + width: 372px; + height: 260px; + padding: 10px; + position: relative; + overflow: hidden; + background: black; +} +.Dungeon BUTTON { + border: 0px solid; + background: transparent; + padding: 0px; + margin: 0px; + position: absolute; + filter: Alpha(opacity=100),Chroma( Color=#c1cacf ); +} + +.Dungeon DIV { + width: 352px; + height: 240px; + overflow: hidden; + position: relative; +} + +DIV.Life{position:absolute;background:#008000;height:2px;} +DIV.Life2{position:absolute;background:#00FF00;height:2px;} +.Dungeon .Floor0{ background: url( ../i/sprites/noob/bg0.gif ) black } +.Dungeon .Floor1{ background: url( ../i/sprites/noob/bg1.gif ) black } + +.Dungeon .LeftSide4_1 { background: url( ../i/sprites/noob/Left/4_1.gif ) no-repeat; } +.Dungeon .RightSide4_1 { background: url( ../i/sprites/noob/Right/4_1.gif ) no-repeat; } +.Dungeon .LeftSide4_0 { background: url( ../i/sprites/noob/Left/4_0.gif ) no-repeat; } +.Dungeon .RightSide4_0 { background: url( ../i/sprites/noob/Right/4_0.gif ) no-repeat; } +.Dungeon .LeftFront3_2 { background: url( ../i/sprites/noob/Left/Front/4_2.gif ) no-repeat; } +.Dungeon .RightFront3_2 { background: url( ../i/sprites/noob/Right/Front/4_2.gif ) no-repeat; } +.Dungeon .LeftFront3_1 { background: url( ../i/sprites/noob/Left/Front/4_1.gif ) no-repeat; } +.Dungeon .RightFront3_1 { background: url( ../i/sprites/noob/Right/Front/4_1.gif ) no-repeat; } +.Dungeon .LeftFront3_0 { background: url( ../i/sprites/noob/Left/Front/4_0.gif ) no-repeat; } +.Dungeon .LeftSide3_1 { background: url( ../i/sprites/noob/Left/3_1.gif ) no-repeat; } +.Dungeon .RightSide3_1 { background: url( ../i/sprites/noob/Right/3_1.gif ) no-repeat; } +.Dungeon .LeftSide3_0 { background: url( ../i/sprites/noob/Left/3_0.gif ) no-repeat; } +.Dungeon .RightSide3_0 { background: url( ../i/sprites/noob/Right/3_0.gif ) no-repeat; } +.Dungeon .LeftFront2_1 { background: url( ../i/sprites/noob/Left/Front/3_1.gif ) no-repeat; } +.Dungeon .RightFront2_1 { background: url( ../i/sprites/noob/Right/Front/3_1.gif ) no-repeat; } +.Dungeon .LeftFront2_0 { background: url( ../i/sprites/noob/Left/Front/3_0.gif ) no-repeat; } +.Dungeon .LeftSide2_0 { background: url( ../i/sprites/noob/Left/2_0.gif ) no-repeat; } +.Dungeon .RightSide2_0 { background: url( ../i/sprites/noob/Right/2_0.gif ) no-repeat; } +.Dungeon .LeftFront1_1 { background: url( ../i/sprites/noob/Left/Front/2_1.gif ) no-repeat; } +.Dungeon .RightFront1_1 { background: url( ../i/sprites/noob/Right/Front/2_1.gif ) no-repeat; } +.Dungeon .LeftFront1_0 { background: url( ../i/sprites/noob/Left/Front/2_0.gif ) no-repeat; } +.Dungeon .LeftSide1_0 { background: url( ../i/sprites/noob/Left/1_0.gif ) no-repeat; } +.Dungeon .RightSide1_0 { background: url( ../i/sprites/noob/Right/1_0.gif ) no-repeat; } +.Dungeon .LeftFront0_1 { background: url( ../i/sprites/noob/Left/Front/1_1.gif ) no-repeat; } +.Dungeon .RightFront0_1 { background: url( ../i/sprites/noob/Right/Front/1_1.gif ) no-repeat; } +.Dungeon .LeftFront0_0 { background: url( ../i/sprites/noob/Left/Front/1_0.gif ) no-repeat; } +.Dungeon .LeftSide0_0 { background: url( ../i/sprites/noob/Left/0_0.gif ) no-repeat; } +.Dungeon .RightSide0_0 { background: url( ../i/sprites/noob/Right/0_0.gif ) no-repeat; } \ No newline at end of file diff --git a/css/2/dungeon_gy0.css b/css/2/dungeon_gy0.css new file mode 100644 index 0000000..c6527c6 --- /dev/null +++ b/css/2/dungeon_gy0.css @@ -0,0 +1,62 @@ +DIV.Dungeon{ + width: 372px; + height: 260px; + padding: 10px; + position: relative; + overflow: hidden; + background: black; +} +.Dungeon BUTTON { + border: 0px solid; + background: transparent; + padding: 0px; + margin: 0px; + position: absolute; + filter: Alpha(opacity=100),Chroma( Color=#c1cacf ); +} + +.Dungeon DIV { + width: 352px; + height: 240px; + overflow: hidden; + position: relative; +} + +.Dungeon IMG { + width: 352px; + height: 240px; + position: relative; +} +DIV.Life{position:absolute;background:#008000;height:2px;} +DIV.Life2{position:absolute;background:#00FF00;height:2px;} +.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/gy0/bg0.gif ) black } +.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/gy0/bg1.gif ) black } + +.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/4_1.gif ) } +.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/4_1.gif ) } +.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/4_0.gif ) } +.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/4_0.gif ) } +.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/4_2.gif ) } +.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/4_2.gif ) } +.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/4_1.gif ) } +.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/4_1.gif ) } +.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/4_0.gif ) } +.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/3_1.gif ) } +.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/3_1.gif ) } +.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/3_0.gif ) } +.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/3_0.gif ) } +.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/3_1.gif ) } +.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/3_1.gif ) } +.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/3_0.gif ) } +.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/2_0.gif ) } +.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/2_0.gif ) } +.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/2_1.gif ) } +.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/2_1.gif ) } +.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/2_0.gif ) } +.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/1_0.gif ) } +.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/1_0.gif ) } +.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/1_1.gif ) } +.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/gy0/Right/Front/1_1.gif ) } +.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/Front/1_0.gif ) } +.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/gy0/Left/0_0.gif ) } +.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/gy0/Right/0_0.gif ) } \ No newline at end of file diff --git a/css/2/dungeon_kn4.css b/css/2/dungeon_kn4.css new file mode 100644 index 0000000..369dc56 --- /dev/null +++ b/css/2/dungeon_kn4.css @@ -0,0 +1,57 @@ +DIV.Dungeon{ + width: 372px; + height: 260px; + padding: 10px; + position: relative; + overflow: hidden; + background: black; +} +.Dungeon BUTTON { + border: 0px solid; + background: transparent; + padding: 0px; + margin: 0px; + position: absolute; + filter: Alpha(opacity=100),Chroma( Color=#c1cacf ); +} + +.Dungeon DIV { + width: 352px; + height: 240px; + overflow: hidden; + position: relative; +} + +DIV.Life{position:absolute;background:#008000;height:2px;} +DIV.Life2{position:absolute;background:#00FF00;height:2px;} +.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/kn4/bg0.gif ) black } +.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/kn4/bg1.gif ) black } + +.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/4_1.gif ) } +.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/4_1.gif ) } +.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/4_0.gif ) } +.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/4_0.gif ) } +.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/4_2.gif ) } +.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/4_2.gif ) } +.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/4_1.gif ) } +.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/4_1.gif ) } +.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/4_0.gif ) } +.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/3_1.gif ) } +.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/3_1.gif ) } +.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/3_0.gif ) } +.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/3_0.gif ) } +.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/3_1.gif ) } +.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/3_1.gif ) } +.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/3_0.gif ) } +.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/2_0.gif ) } +.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/2_0.gif ) } +.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/2_1.gif ) } +.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/2_1.gif ) } +.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/2_0.gif ) } +.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/1_0.gif ) } +.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/1_0.gif ) } +.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/1_1.gif ) } +.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/kn4/Right/Front/1_1.gif ) } +.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/Front/1_0.gif ) } +.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/kn4/Left/0_0.gif ) } +.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/kn4/Right/0_0.gif ) } \ No newline at end of file diff --git a/css/2/dungeon_sn.css b/css/2/dungeon_sn.css new file mode 100644 index 0000000..f403b54 --- /dev/null +++ b/css/2/dungeon_sn.css @@ -0,0 +1,62 @@ +DIV.Dungeon{ + width: 372px; + height: 260px; + padding: 10px; + position: relative; + overflow: hidden; + background: black; +} +.Dungeon BUTTON { + border: 0px solid; + background: transparent; + padding: 0px; + margin: 0px; + position: absolute; + filter: Chroma( Color=#c1cacf ); +} + +.Dungeon DIV { + width: 352px; + height: 240px; + overflow: hidden; + position: relative; +} + +.Dungeon IMG { + width: 352px; + height: 240px; + position: relative; +} +DIV.Life{position:absolute;background:#008000;height:2px;} +DIV.Life2{position:absolute;background:#00FF00;height:2px;} +.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/sn/bg0.gif ) black } +.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/sn/bg1.gif ) black } + +.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/4_1.gif ) } +.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/4_1.gif ) } +.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/4_0.gif ) } +.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/4_0.gif ) } +.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/4_2.gif ) } +.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/4_2.gif ) } +.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/4_1.gif ) } +.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/4_1.gif ) } +.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/4_0.gif ) } +.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/3_1.gif ) } +.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/3_1.gif ) } +.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/3_0.gif ) } +.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/3_0.gif ) } +.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/3_1.gif ) } +.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/3_1.gif ) } +.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/3_0.gif ) } +.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/2_0.gif ) } +.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/2_0.gif ) } +.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/2_1.gif ) } +.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/2_1.gif ) } +.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/2_0.gif ) } +.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/1_0.gif ) } +.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/1_0.gif ) } +.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/1_1.gif ) } +.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/sn/Right/Front/1_1.gif ) } +.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/Front/1_0.gif ) } +.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/sn/Left/0_0.gif ) } +.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/sn/Right/0_0.gif ) } \ No newline at end of file diff --git a/css/2/dungeon_sun.css b/css/2/dungeon_sun.css new file mode 100644 index 0000000..b83de76 --- /dev/null +++ b/css/2/dungeon_sun.css @@ -0,0 +1,62 @@ +DIV.Dungeon{ + width: 372px; + height: 260px; + padding: 10px; + position: relative; + overflow: hidden; + background: black; +} +.Dungeon BUTTON { + border: 0px solid; + background: transparent; + padding: 0px; + margin: 0px; + position: absolute; + filter: Chroma( Color=#c1cacf ); +} + +.Dungeon DIV { + width: 352px; + height: 240px; + overflow: hidden; + position: relative; +} + +.Dungeon IMG { + width: 352px; + height: 240px; + position: relative; +} +DIV.Life{position:absolute;background:#008000;height:2px;} +DIV.Life2{position:absolute;background:#00FF00;height:2px;} +.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/sun/bg0.gif ) black } +.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/sun/bg1.gif ) black } + +.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/4_1.gif ) } +.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/4_1.gif ) } +.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/4_0.gif ) } +.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/4_0.gif ) } +.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/4_2.gif ) } +.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/4_2.gif ) } +.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/4_1.gif ) } +.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/4_1.gif ) } +.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/4_0.gif ) } +.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/3_1.gif ) } +.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/3_1.gif ) } +.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/3_0.gif ) } +.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/3_0.gif ) } +.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/3_1.gif ) } +.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/3_1.gif ) } +.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/3_0.gif ) } +.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/2_0.gif ) } +.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/2_0.gif ) } +.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/2_1.gif ) } +.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/2_1.gif ) } +.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/2_0.gif ) } +.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/1_0.gif ) } +.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/1_0.gif ) } +.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/1_1.gif ) } +.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/sun/Right/Front/1_1.gif ) } +.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/Front/1_0.gif ) } +.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/sun/Left/0_0.gif ) } +.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/sun/Right/0_0.gif ) } \ No newline at end of file diff --git a/css/2/dungeon_uq.css b/css/2/dungeon_uq.css new file mode 100644 index 0000000..557ffc5 --- /dev/null +++ b/css/2/dungeon_uq.css @@ -0,0 +1,57 @@ +DIV.Dungeon{ + width: 372px; + height: 260px; + padding: 10px; + position: relative; + overflow: hidden; + background: black; +} +.Dungeon BUTTON { + border: 0px solid; + background: transparent; + padding: 0px; + margin: 0px; + position: absolute; + filter: Alpha(opacity=100),Chroma( Color=#c1cacf ); +} + +.Dungeon DIV { + width: 352px; + height: 240px; + overflow: hidden; + position: relative; +} + +DIV.Life{position:absolute;background:#008000;height:2px;} +DIV.Life2{position:absolute;background:#00FF00;height:2px;} +.Dungeon .Floor0{ background: url( http://img.combats.ru/i/sprites/ug/bg0.gif ) black } +.Dungeon .Floor1{ background: url( http://img.combats.ru/i/sprites/ug/bg1.gif ) black } + +.Dungeon .LeftSide4_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/4_1.gif ) } +.Dungeon .RightSide4_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/4_1.gif ) } +.Dungeon .LeftSide4_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/4_0.gif ) } +.Dungeon .RightSide4_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/4_0.gif ) } +.Dungeon .LeftFront3_2 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/4_2.gif ) } +.Dungeon .RightFront3_2 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/4_2.gif ) } +.Dungeon .LeftFront3_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/4_1.gif ) } +.Dungeon .RightFront3_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/4_1.gif ) } +.Dungeon .LeftFront3_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/4_0.gif ) } +.Dungeon .LeftSide3_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/3_1.gif ) } +.Dungeon .RightSide3_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/3_1.gif ) } +.Dungeon .LeftSide3_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/3_0.gif ) } +.Dungeon .RightSide3_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/3_0.gif ) } +.Dungeon .LeftFront2_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/3_1.gif ) } +.Dungeon .RightFront2_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/3_1.gif ) } +.Dungeon .LeftFront2_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/3_0.gif ) } +.Dungeon .LeftSide2_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/2_0.gif ) } +.Dungeon .RightSide2_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/2_0.gif ) } +.Dungeon .LeftFront1_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/2_1.gif ) } +.Dungeon .RightFront1_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/2_1.gif ) } +.Dungeon .LeftFront1_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/2_0.gif ) } +.Dungeon .LeftSide1_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/1_0.gif ) } +.Dungeon .RightSide1_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/1_0.gif ) } +.Dungeon .LeftFront0_1 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/1_1.gif ) } +.Dungeon .RightFront0_1 { background: url( http://img.combats.ru/i/sprites/ug/Right/Front/1_1.gif ) } +.Dungeon .LeftFront0_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/Front/1_0.gif ) } +.Dungeon .LeftSide0_0 { background: url( http://img.combats.ru/i/sprites/ug/Left/0_0.gif ) } +.Dungeon .RightSide0_0 { background: url( http://img.combats.ru/i/sprites/ug/Right/0_0.gif ) } \ No newline at end of file diff --git a/css/2/main.css b/css/2/main.css new file mode 100644 index 0000000..edd6a9f --- /dev/null +++ b/css/2/main.css @@ -0,0 +1,6 @@ +body, td, ol, ul, li , p { font-size: 10pt; font-family:Verdana, Arial, Helvetica, Tahoma;}body { }.seehp { color: #F4F4F4; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px; padding-left:3px;}.senohp{ line-height: 7px; font-size: 9px;}.hp_none { background: url('../i/hp.jpg') 0px 0px repeat-x;}.hp_1 { background: url('../i/hp.jpg') 0px -11px repeat-x;}.hp_2 { background: url('../i/hp.jpg') 0px -21px repeat-x;}.hp_3 { background: url('../i/hp.jpg') 0px -31px repeat-x;}.hp_mp { background: url('../i/hp.jpg') 0px -41px repeat-x;}.seemp { color: #00FFFF; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px; padding-left:3px;}.hpborder { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #DADADA;}.text { font-size: 10pt; color: #000000; font-family:Verdana, Arial, Helvetica, Tahoma;}H3 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TEXT-ALIGN: center;}H4 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 5px;}H5 { COLOR: #4f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px;}a,a:visited { text-decoration: none; FONT-WEIGHT: bold; color: #003388; }a:active { color: #6F0000}a:hover { color: #0066FF}.date { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000}.date1 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #b00000;}.date2 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000; background-color: #00FFAA}.date22 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000; background-color: #00FFAA}.date3 { font-family: Courier; font-size: 8pt; text-decoration:underline; font-weight:normal; color: #007000; background-color: #00FFAA}.priem_hint{ position:absolute; background-color:#ffffcc; padding:2px; padding-left:4px; padding-right:4px; border:1px #666666 solid; z-index:1000;}.greaytext { color:grey; cursor:default; font-weight: bold; font-size: 10px; text-decoration: none;}.sysdate { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #B00000}.private { font-weight:bold; color: red; background-color: #FAE0E0}.klan { font-weight:bold; color: green; background-color: #99FFCC;}.number { font-size: 11pt; font-weight: bold; color: #6F0000}.dsc { color: #606060; font-weight:normal; }select,textarea,input { border: solid 1pt #B0B0B0; font-family: MS Sans Serif; font-size: 10px; color: #191970; MARGIN-BOTTOM: 2px; MARGIN-TOP: 1px;}.ahint {font-family: MS Sans Serif; font-size:8px; text-decoration:none; color:#666666;z-index: 99;}#hint2 {position:absolute; width:140; background-color:#FFF6DD; layer-background-color:#FFF6DD; visibility:hidden}#hint3 {position:absolute; width:240; background-color:#FFF6DD; layer-background-color:#FFF6DD; visibility:hidden}.hint { position:absolute; background-color:#ffffcc; padding:5px;}.hpborder { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #DADADA;}#hint4 {position:absolute; width:240; visibility:hidden}.B1 { font-weight: bold; color: #6666CC}.B2 { font-weight: bold; color: #B06A00}.B3 { font-weight: bold; color: #269088}.B4 { font-weight: bold; color: #A0AF20}.B5 { font-weight: bold; color: #0F79D3}.B6 { font-weight: bold; color: #D85E23}.B7 { font-weight: bold; color: #5C832F}.B8 { font-weight: bold; color: #842B61}.B9 { font-weight: bold; color: navy}.Bs1 { font-size: 8pt; font-weight:bold; color: #6666CC}.Bs2 { font-weight:bold; color: #B06A00}img,table {border:0}.ismagic {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic1.gif)}.glow_pink {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_pink.gif)}.glow_red {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_red.gif)}.glow_green {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_green.gif)}.glow_yellow {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_yellow.gif)}.glow_dark {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_dark.gif)}.glow_blue {background-color: #E0E0E2; BACKGROUND-IMAGE:url(blinkmagic_blue.gif)}.hpStyle1 { color: #F4F4F4; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px;}.mpStyle1 { color: #00FFFF; line-height: 7px; font-size: 9px; font-weight: bold; padding-top: 1px; margin-left: 3px;}.ahint { FONT-SIZE: 8px; COLOR: #000080; FONT-FAMILY: MS Sans Serif; TEXT-DECORATION: none}#hint2 { VISIBILITY: hidden; WIDTH: 140px; POSITION: absolute; BACKGROUND-COLOR: #fff6dd; layer-background-color: #FFF6DD}#hint3 { VISIBILITY: hidden; WIDTH: 240px; POSITION: absolute; BACKGROUND-COLOR: #fff6dd; layer-background-color: #FFF6DD}.genwnew { background-color: #EBEBEB; border: 1px solid #C1C1C1;}.priem_style {margin:0px;width:40px;height:25px;}.priem_styleHover {margin:1px;width:38px;height:23px;}.priem_style2 {cursor:pointer;margin:0px;width:40px;height:25px;}.priem_styleHover2 {cursor:pointer;margin:1px;width:38px;height:23px;}.menutop, a.menutop:visited, a.menutop:active { font-weight: bold; font-size: 10px; text-decoration: none; color: #3B3936;} +.btn { cursor:pointer; border: 1px double #9a9996; font-size: 12px; color: #dfdfdf; background-color:#504F4C;} +.btn:hover { + color: #CECECE; + background-color:#393937; +}.yesbtn { border: 1px solid #b0b0b0; background-color: #ece9d8; width:70px; padding-bottom:2px; padding-top:2px; color: #333333; text-decoration: none; font-size: 13px;}img { border:0px;}.iframeMain { width:inherit; height:inherit;}.windowsmf_css1 { position:absolute; background-color:#ddd5bf; -moz-user-select: none; -khtml-user-select: none; user-select: none; border:solid #D8D8D8 1px; FONT-SIZE: 10pt; font-family:Verdana, Arial, Helvetica, Tahoma;}.windowsmf_css1_active2 { position:absolute; background-color:#F9F9F9; -moz-user-select: none; -khtml-user-select: none; user-select: none; border:solid #FDFDFD 1px;}.inpt1 { font-size: 8pt; border: 1px solid #CDC698;}.windowsmf_css1_title { background-color:#b1a993; color:#000000; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px; FONT-SIZE: 10pt; font-family:Verdana, Arial, Helvetica, Tahoma;}.usermenu { z-index:900; position: absolute; LEFT: 0px; TOP: 0px; background-color:#E5E5E5; border: 1px ridge #CCCCCC;}.usermenu1 { background-color:#E5E5E5; cursor:pointer; padding-left:3px; padding-right:3px; padding-top:1px; padding-bottom:1px;}.usermenu1:hover { background-color:#CECECE;}.windowsmf_css1_title_active { background-color:#C9C4B4; color:#1A1A1A; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px; cursor:move;}.windowsmf_css1_title_active2 { background-color:#D7D3C8; color:#333333; padding-top:2px; padding-left:3px; padding-right:3px; padding-bottom:2px;}.windowsmf_css1_main_active2 { background-color:#FDFDFD; color:#FDFDFD; padding:10px;}.windowsmf_css1_main { padding:10px;}.btn_grey { border-top-width: 1px; background-color: #e5e5e5; background-image:url(line1.jpg); border-top-style: solid; border-top-color: #EFEFEF; padding-top:2px; padding-bottom:2px; padding-left:7px; padding-right:7px; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #D8D8D8; border-left-color: #D8D8D8; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #D8D8D8; color: #494949; -moz-user-select: none; -khtml-user-select: none; user-select: none; text-decoration: none;}.btn_grey:hover { background-image:url(line2.jpg); color: #333333;}.btn_grey:active { background-color: #e5e5e5; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #EFEFEF; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #D8D8D8; border-left-color: #D8D8D8; border-top-width: 1px; border-top-style: solid; border-top-color: #D8D8D8;} .mainframe { width:inherit; height:inherit;}.message { font-size: 10pt; font-family:Verdana, Arial, Helvetica, Tahoma;} \ No newline at end of file diff --git a/css/2/reg.css b/css/2/reg.css new file mode 100644 index 0000000..2982519 --- /dev/null +++ b/css/2/reg.css @@ -0,0 +1 @@ +BODY { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}TD { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}OL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}UL { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}LI { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}P { FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}.inup { BORDER-RIGHT: #302F2A 1px double; BORDER-TOP: #302F2A 1px double; FONT-SIZE: 8pt; BORDER-LEFT: #302F2A 1px double; COLOR: #000000; BORDER-BOTTOM: #302F2A 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #DED7BD}.text { FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif}H3 { FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #8f0000; FONT-FAMILY: Arial; TEXT-ALIGN: center}H4 { FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN-BOTTOM: 5px; COLOR: #8f0000; FONT-FAMILY: Arial}A:link { FONT-WEIGHT: normal; COLOR: #524936; TEXT-DECORATION: none}A:visited { FONT-WEIGHT: normal; COLOR: #633525; TEXT-DECORATION: none}A:active { FONT-WEIGHT: normal; COLOR: #77684d; TEXT-DECORATION: none}A:hover { COLOR: #68727B; TEXT-DECORATION: underline}.date { FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #007000; FONT-FAMILY: Courier; TEXT-DECORATION: none}.dsc { FONT-WEIGHT: normal; COLOR: #606060}SELECT { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}TEXTAREA { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}INPUT { BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif}.pagetknum { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; COLOR: #6f0000; PADDING-TOP: 0px; TEXT-DECORATION: underline}.pagenum A:link { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px}.pagenum A:visited { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px}.pagenum A:active { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px}.pagenum A:hover { PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px; BACKGROUND-COLOR: white}.phpeft { PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 7px; MARGIN: 0px; PADDING-TOP: 3px}.pages { BACKGROUND-COLOR: #ffefbf}IMG { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px}TABLE { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px}.btn { BORDER-RIGHT: #817a63 1px double; BORDER-TOP: #817a63 1px double; FONT-SIZE: 7.5pt; BORDER-LEFT: #817a63 1px double; COLOR: #dfddd3; BORDER-BOTTOM: #817a63 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #2b2b18} \ No newline at end of file diff --git a/css/bkstyle.css b/css/bkstyle.css new file mode 100644 index 0000000..7abe242 --- /dev/null +++ b/css/bkstyle.css @@ -0,0 +1,520 @@ +/*! jQuery UI - v1.9.0 - 2012-10-10 +* http://jqueryui.com +* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=10pt&cornerRadius=0px&bgColorHeader=c7c7c7&bgTextureHeader=01_flat.png&bgImgOpacityHeader=100&borderColorHeader=a5a5a5&fcHeader=bf0000&iconColorHeader=000000&bgColorContent=e2e0e0&bgTextureContent=01_flat.png&bgImgOpacityContent=100&borderColorContent=a5a5a5&fcContent=222222&iconColorContent=000000&bgColorDefault=e0dfe3&bgTextureDefault=01_flat.png&bgImgOpacityDefault=100&borderColorDefault=b0b0b0&fcDefault=003388&iconColorDefault=000000&bgColorHover=e0dfe3&bgTextureHover=01_flat.png&bgImgOpacityHover=100&borderColorHover=b0b0b0&fcHover=003388&iconColorHover=000000&bgColorActive=e0dfe3&bgTextureActive=01_flat.png&bgImgOpacityActive=100&borderColorActive=b0b0b0&fcActive=003388&iconColorActive=000000&bgColorHighlight=fff6dd&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=100&borderColorHighlight=b0b0b0&fcHighlight=000000&iconColorHighlight=000000&bgColorError=e2e0e0&bgTextureError=01_flat.png&bgImgOpacityError=100&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=0px +* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* states and images */ +.ui-icon { width: 16px; height: 14px; background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } +.ui-state-default .ui-icon { background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } +.ui-state-active .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(/i/jquery-ui/ui-icons_cd0a0a_256x240.png); } + +/* Component containers +----------------------------------*/ +.ui-widget { + font-family: Verdana,Arial,sans-serif; font-size: 10pt; +} +.ui-widget .ui-widget { + font-size: 1em; +} +.ui-widget input, +.ui-widget select, +.ui-widget textarea, +.ui-widget button { + border: solid 1px #b0b0b0; + margin-top: 1px; + margin-bottom: 2px; + font-size: 11px; + color: #191970; + +} +.ui-widget-content { border: 1px solid #a5a5a5; background: #e2e0e0 url(/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png) 50% 50% repeat-x; color: #222222; } +.ui-widget-content a { color: #003388; } +.ui-widget-header { border: 1px solid #a5a5a5; background: #c7c7c7 url(/i/jquery-ui/ui-bg_flat_100_c7c7c7_40x100.png) 50% 50% repeat-x; color: #bf0000; font-weight: bold; } +.ui-widget-header a { color: #bf0000; } + + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #b0b0b0; background: #e0dfe3 url(/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #003388; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #003388; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #b0b0b0; background: none; font-weight: normal; color: #003388; } +.ui-state-hover a, .ui-state-hover a:hover { color: #0066FF; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #b0b0b0; background: #e0dfe3 url(/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #003388; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #003388; text-decoration: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #b0b0b0; background: #fff6dd url(/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png) 50% 50% repeat-x; color: #000000; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #000000; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #e2e0e0 url(/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png) 50% 50% repeat-x; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } +.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; margin-top: 2px; padding: .5em .5em .5em .7em; zoom: 1; } +.ui-accordion .ui-accordion-icons { padding-left: 2.2em; } +.ui-accordion .ui-accordion-noicons { padding-left: .7em; } +.ui-accordion .ui-accordion-icons .ui-accordion-icons { padding-left: 2.2em; } +.ui-accordion .ui-accordion-header .ui-accordion-header-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; zoom: 1; } +.ui-autocomplete { position: absolute; cursor: default; } + +/* workarounds */ +* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ +.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ +.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; } +.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ +button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ +.ui-button-icons-only { width: 3.4em; } +button.ui-button-icons-only { width: 3.7em; } + +/*button text element */ +.ui-button .ui-button-text { display: block; line-height: 1.4; } +.ui-button-text-only .ui-button-text { padding: 0 1em; } +.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } +.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } +.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } +.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } +/* no icon support for input elements, provide padding by default */ +input.ui-button { padding: .4em 1em; } + +/*button icon element(s) */ +.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } +.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } +.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } +.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } +.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } + +/*button sets*/ +.ui-buttonset { margin-right: 7px; } +.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } + +/* workarounds */ +button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ +.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ +}.ui-dialog { position: absolute; padding: 0; width: 300px; overflow: hidden; } +.ui-dialog .ui-dialog-titlebar { padding: 0; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 1px; } +.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: 0; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background: inherit; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } +.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } + .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } + +/* убираем рамку с иконок */ +.ui-widget-header .ui-state-hover, .ui-widget-header .ui-state-focus { border: 0} + +/* песочный Диалог */ +.ui-dialog.sand-style .ui-widget-content{ + background: #fff6dd url(/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png) 50% 50% repeat-x; + color: #000000; +} + + +.ui-dialog.sand-style .ui-state-highlight, +.ui-dialog.sand-style .ui-widget-content .ui-state-highlight, +.ui-dialog.sand-style .ui-widget-header .ui-state-highlight{ + border: 1px solid #b0b0b0; + background: #fff6dd url(/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png) 50% 50% repeat-x; color: #000000; +} +.ui-dialog.sand-style .ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + border: 1px solid #cd0a0a; + background: #fff6dd url(/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png) 50% 50% repeat-x; + color: #cd0a0a; +} +.ui-dialog.sand-style .ui-widget-header { + background: #ccc3aa url(/i/jquery-ui/ui-bg_flat_100_ccc3aa_40x100.png) 50% 50% repeat-x; + color: #000000; + font-weight: bold; + text-align: center; + font-size: 12px; + padding: 2px; + border: none; +} +.ui-dialog.sand-style .ui-dialog-title { + margin: 0px; +} + + +.ui-draggable .ui-dialog-titlebar { cursor: move; } +.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; outline: none; } +.ui-menu .ui-menu { margin-top: -3px; position: absolute; } +.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; } +.ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; } +.ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; } +.ui-menu .ui-menu-item a.ui-state-focus, +.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; } + +.ui-menu .ui-state-disabled { font-weight: normal; margin: .4em 0 .2em; line-height: 1.5; } +.ui-menu .ui-state-disabled a { cursor: default; } + +/* icon support */ +.ui-menu-icons { position: relative; } +.ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; } + +/* left-aligned */ +.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; } + +/* right-aligned */ +.ui-menu .ui-menu-icon { position: static; float: right; } +.ui-progressbar { height:2em; text-align: left; overflow: hidden; } +.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }.ui-slider { position: relative; text-align: left; } +.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } +.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } + +.ui-slider-horizontal { height: .8em; } +.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } +.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } +.ui-slider-horizontal .ui-slider-range-min { left: 0; } +.ui-slider-horizontal .ui-slider-range-max { right: 0; } + +.ui-slider-vertical { width: .8em; height: 100px; } +.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } +.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } +.ui-slider-vertical .ui-slider-range-min { bottom: 0; } +.ui-slider-vertical .ui-slider-range-max { top: 0; }.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; } +.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; } +.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; } +.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */ +.ui-spinner .ui-icon { position: absolute; margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */ +.ui-spinner-up { top: 0; } +.ui-spinner-down { bottom: 0; } + +/* TR overrides */ +span.ui-spinner { background: none; } +.ui-spinner .ui-icon-triangle-1-s { + /* need to fix icons sprite */ + background-position:-65px -16px; +} +.ui-tabs { position: relative; padding: 0; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { margin: 0; padding: 0; } +.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 0; margin: 0px .2em 0 0; border-bottom: 0; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .2em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 1px;} +.ui-tabs .ui-tabs-nav li.ui-tabs-active a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-tabs-loading a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } + +/* Табы в стиле БК */ +.ui-tabs.ui-widget-header, .ui-tabs .ui-widget-header{ border: 0px solid #C0C0C0; background: #c7c7c7 url(i/images/ui-bg_flat_100_c7c7c7_40x100.png) 50% 50% repeat-x; color: #000000; font-weight: bold; } +.ui-tabs.ui-state-default, .ui-tabs .ui-state-default { border: 0; background: #c7c7c7; color: #003388; } +.ui-tabs.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #b0b0b0; background: #a5a5a5 url(i/images/ui-bg_flat_100_a5a5a5_40x100.png) 50% 50% repeat-x; font-weight: bold; color: #191970; } + + +.ui-tooltip { + padding:8px; + position:absolute; + z-index:9999; + -o-box-shadow: 0 0 5px #aaa; + -moz-box-shadow: 0 0 5px #aaa; + -webkit-box-shadow: 0 0 5px #aaa; + box-shadow: 0 0 5px #aaa; +} +/* Fades and background-images don't work well together in IE6, drop the image */ +* html .ui-tooltip { + background-image: none; +} +body .ui-tooltip { border-width:2px; } + +/* Icons +----------------------------------*/ + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-on { background-position: -96px -144px; } +.ui-icon-radio-off { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 0px; -webkit-border-top-left-radius: 0px; -khtml-border-top-left-radius: 0px; border-top-left-radius: 0px; } +.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 0px; -webkit-border-top-right-radius: 0px; -khtml-border-top-right-radius: 0px; border-top-right-radius: 0px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 0px; -webkit-border-bottom-left-radius: 0px; -khtml-border-bottom-left-radius: 0px; border-bottom-left-radius: 0px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 0px; -webkit-border-bottom-right-radius: 0px; -khtml-border-bottom-right-radius: 0px; border-bottom-right-radius: 0px; } + +/* Overlays */ +.ui-widget-overlay { background: #aaaaaa url(/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .3;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .3;filter:Alpha(Opacity=30); -moz-border-radius: 0px; -khtml-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; } \ No newline at end of file diff --git a/css/contact.css b/css/contact.css new file mode 100644 index 0000000..8bad1db --- /dev/null +++ b/css/contact.css @@ -0,0 +1,21 @@ +#contact-overlay { background-color: #000; } +#contact-container { font: 16px/22px 'Trebuchet MS', Verdana, Arial; text-align: left; width: 950px; } +#contact-container .contact-content { background-color: #333; color: #ddd; height: 40px; } +#contact-container h1 {color:#d76300; font-size:20px; line-height:20px; margin:0; padding:0 0 6px 12px; text-align:left;} +#contact-container .contact-loading {background:url(../i/loading.gif) no-repeat; height:55px; margin:-14px 0 0 190px; padding:0; position:absolute; width:54px; z-index:8000;} +#contact-container .contact-message {text-align:center;} +#contact-container .contact-error {background:#000; border:2px solid #ccc; font-size:14px; font-weight:bold; line-height:18px; margin:0 auto; padding:2px; width:92%;} +#contact-container br {clear:both;} +#contact-container form { margin:0; padding:0; } +#contact-container label { clear:left; display:block; float:left; font-weight:bold; padding-right:4px; text-align:right; width:100px;} +#contact-container .contact-input { background:#eee; border:1px solid #fff; font-family:'Trebuchet MS', Verdana, Arial; float:left; padding:2px; margin:2px; width:300px;} +#contact-container textarea {height:114px;} +#contact-container .contact-cc {cursor:default; font-size:14px; vertical-align:top;} +#contact-container .contact-top {background-color:#333; height:13px; margin:0; padding:0; -webkit-border-top-left-radius:8px; -webkit-border-top-right-radius:8px; -moz-border-radius-topleft:8px; -moz-border-radius-topright:8px; border-radius:8px 8px 0 0;} +#contact-container .contact-bottom {background-color:#333; font-size:12px; height:13px; line-height:12px; text-align:center; -webkit-border-bottom-right-radius:8px; -webkit-border-bottom-left-radius:8px; -moz-border-radius-bottomright:8px; -moz-border-radius-bottomleft:8px; border-radius:0 0 8px 8px;} +#contact-container .contact-bottom a, #contact-container .contact-bottom a:link, #contact-container .contact-bottom a:active, #contact-container .contact-bottom a:visited { color: #666; position: relative; top: -4px; text-decoration: none; } +#contact-container .contact-bottom a:hover { color: #888; } +#contact-container .contact-button {background:#d76300; border:0; color:#fff; cursor:pointer; font-size:13px; font-weight:bold; height:21px; margin:2px 0 0 4px; text-align:center; vertical-align:middle; -webkit-border-radius:8px; -moz-border-radius:8px; border-radius:8px;} +#contact-container .contact-button:hover { background: #f49000; } +#contact-container a.modal-close, #contact-container a.modal-close:link, #contact-container a.modal-close:active, #contact-container a.modal-close:visited { color: #999; font-size: 18px; font-weight: bold; position: absolute; text-decoration: none; right: 8px; top: 0px; } +#contact-container a.modal-close:hover { color: #ccc; } \ No newline at end of file diff --git a/css/design4.css b/css/design4.css new file mode 100644 index 0000000..77347ed --- /dev/null +++ b/css/design4.css @@ -0,0 +1,99 @@ +body { + margin: 0px 1px 0px 1px; + padding: 0px 1px 0px 1px; + background-color: #DFDFD8; + color: #000000; +} + +.main_text { + font-weight: bold; + font-size: 10px; + text-decoration: none; + color:#f0f0f0; + cursor:hand; +} + +.menutop, a.menutop:visited, a.menutop:active { + font-weight: bold; + font-size: 10px; + text-decoration: none; + color: #3B3936; +} + +a.menutop:hover { + color: #76726b; +} + +.name { + font-weight: bold; + font-size: 12px; +} + +.parametr_title { + font-weight: bold; + font-size: 11px; + color: #777773; +} + +.prname { + padding-left: 4px; + font-size: 11px; + font-family: Arial, Helvetica, sans-serif; +} + +.prvalue { + font-size: 11px; + font-family: Arial, Helvetica, sans-serif; +} + +.btn { + border: 1px double #9a9996; + font-size: 12px; + color: #dfdfdf; + background-color:#504F4C; +} + +.mainmenu { + color: #23292C; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-right-style: none; + border-bottom-style: solid; + border-left-style: solid; + border-top-color: #969697; + border-right-color: #969697; + border-bottom-color: #000000; + border-left-color: #969697; + background-color: #BABABB; + cursor:hand; +} + +.maptext { + font-weight: bold; + font-size: 12px; + color: #000000; + font-family: Arial, Helvetica, sans-serif; +} +.posit { + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-right-style: solid; + border-bottom-style: solid; + border-left-style: solid; + border-top-color: #FFFFFF; + border-right-color: #666666; + border-bottom-color: #666666; + border-left-color: #FFFFFF; + padding: 2px; +} + +td { + font-size: 9pt; + font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; +} \ No newline at end of file diff --git a/css/event.css b/css/event.css new file mode 100644 index 0000000..2468d64 --- /dev/null +++ b/css/event.css @@ -0,0 +1,121 @@ +body { + background-color: #CCCCCC; + margin-left: 0px; + margin-top: 0px; + margin-right: 0px; + margin-bottom: 0px; +} + +.normaltextm { font-family: Verdana, Arial, Helvetica, sans-serif, Tahoma; font-size: 10pt; color: #003C70;} +.smalltextm { + font-family: Verdana, Arial, Helvetica, sans-serif, Tahoma; + font-size: 8pt; + color: #800000; + margin: 3px; +} +.headerm { font-family: Verdana, Arial, Helvetica, sans-serif, Tahoma; font-size: 12pt; color: #31659C; margin-left: 7px ; margin-right: 7px} + +TABLE, TR, TD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000; } + +.normaltext { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000;} +.smalltext { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000; } +.header { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt; color: #31659C;} + +.button{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; background-color : #DDDDDD; border : 1px solid #DDDDDD; border-bottom : 2px solid #333333; border-right : 2px solid #333333; color : Black; } +.check{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000;} +.input{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: Black; border: 1px solid #000000; background-color: White; } +.inup{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #CCCCCC; border: 1px solid #AA0000; background-color: #550000; } + + +BODY{ + SCROLLBAR-FACE-COLOR: #CCCCCC; + SCROLLBAR-HIGHLIGHT-COLOR: #222222; + SCROLLBAR-SHADOW-COLOR: #222222; + SCROLLBAR-ARROW-COLOR: Black; + scrollbar-3dlight-color : #CCCCCC; + scrollbar-base-color : White; + scrollbar-darkshadow-color : #CCCCCC; + scrollbar-track-color : #999999; + background-image: url(/i/bagr.gif); +} + + +.menu:link, .menu:visited, .menu:active { text-decoration:underline; color:#AA0000;} +.menu:hover { text-decoration:underline;color:#AA0000;} + +a:link, a:visited, a:active { text-decoration:none; color:#800000;} +a:hover { text-decoration:underline;color:#580000;} + +.NEWS { border: 1px dotted #DDDDDD;} + +.button_enter { + font-family: Arial; + font-size: 12px; + font-weight: bold; + color: #E9EBE2; + background-color: #960000; + border: none; + height: 21px; + width: 75px; +} + +.page_title { + text-align: right; font-weight:bold; margin-right:12px; font-size:12px; +} + +#menu{ + list-style:none; + padding:0; + margin:0; +} +#menu li{ + float:left; + height:20px; + padding:0; + margin:0; + width:150px; + text-align:center; + background:#0CF; + position:relative; +} +#menu li ul{ + list-style:none; + padding:0; + margin:0; + width:150px; + position:absolute; + left:0; + top:20px; + display:none; +} +#menu li ul li{ + float:none; + height:20px; + margin:0; + width:150px; + text-align:center; + background:#0CF; +} +#menu li a{ + display:block; + width:150px; + height:20px; +} +#menu li:hover ul{ + display:block; +} +#menu li:hover{ + background:#F00; +} + +alt2{ margin: 0px; padding: 6px; border: 1px inset;} +smallfont{margin-bottom:2px;} +spoil{margin:10px; margin-top:5px;} + +.b1 { + background: navy; + color: white; + font-size: 9pt; + } + +.img \ No newline at end of file diff --git a/css/fightclub.css b/css/fightclub.css new file mode 100644 index 0000000..282cfcb --- /dev/null +++ b/css/fightclub.css @@ -0,0 +1,250 @@ +#ione{ + position:relative; + cursor:pointer; + height:240px; + width:500px; +} +.navig{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/club/navig.jpg') no-repeat left top; +} +.navig1{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/club/navig1.jpg') no-repeat left top; +} +.navig2{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/club/navig.jpg') no-repeat left top; +} +.navig3{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/club/navig3.jpg') no-repeat left top; +} +.fl1{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/fl1.gif') no-repeat center; + position:absolute; + width:16px; + height:16px; + z-index:90; +} +.map_bk{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_bk.gif') no-repeat center; + position:absolute; + width:120px; + height:35px; + z-index:90; + left:184px; + top:94px; +} +.map_halls{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_halls.gif') no-repeat center; + position:absolute; + width:120px; + height:35px; + z-index:90; + left:354px; + top:115px; +} +.map_demon2{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_demon2.gif') no-repeat center; + position:absolute; + width:107px; + height:15px; + z-index:90; + left:329px; + top:111px; +} +.map_2stair{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_2stair.gif') no-repeat center; + position:absolute; + width:120px; + height:35px; + z-index:90; + left:23px; + top:116px; +} +.map_klub1{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub1.gif') no-repeat center; + position:absolute; + width:56px; + height:13px; + z-index:90; + left:66px; + top:114px; +} +.map_klub2{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub2.gif') no-repeat center; + position:absolute; + width:58px; + height:49px; + z-index:90; + left:216px; + top:41px; +} +.map_klub3{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub3.gif') no-repeat center; + position:absolute; + width:123px; + height:31px; + z-index:90; + left:312px; + top:168px; +} +.map_klub4{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub4.gif') no-repeat center; + position:absolute; + width:123px; + height:31px; + z-index:90; + left:59px; + top:169px; +} +.map_klub5{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub5.gif') no-repeat center; + position:absolute; + width:123px; + height:30px; + z-index:90; + left:312px; + top:48px; +} +.map_klub6{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub6.gif') no-repeat center; + position:absolute; + width:123px; + height:30px; + z-index:90; + left:52px; + top:47px; +} +.map_klub7{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub7.gif') no-repeat center; + position:absolute; + width:103px; + height:47px; + z-index:90; + left:196px; + top:148px; +} +.map_zal2{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zal2.gif') no-repeat center; + position:absolute; + width:175px; + height:37px; + z-index:90; + left:264px; + top:106px; +} +.map_zal3{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zal3.gif') no-repeat center; + position:absolute; + width:135px; + height:29px; + z-index:90; + left:47px; + top:120px; +} +.map_zal3{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zal3.gif') no-repeat center; + position:absolute; + width:135px; + height:29px; + z-index:90; + left:47px; + top:120px; +} +.map_zalu3{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zalu3.gif') no-repeat center; + position:absolute; + width:79px; + height:32px; + z-index:90; + left:17px; + top:122px; +} +.map_zalu4{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zalu4.gif') no-repeat center; + position:absolute; + width:122px; + height:31px; + z-index:90; + left:52px; + top:47px; +} +.map_zalu6{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zalu6.gif') no-repeat center; + position:absolute; + width:76px; + height:18px; + z-index:90; + left:78px; + top:24px; +} +.map_zalu7{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zalu7.gif') no-repeat center; + position:absolute; + width:100px; + height:35px; + z-index:90; + left:393px; + top:170px; +} +.map_sec1{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec1.gif') no-repeat center; + position:absolute; + width:91px; + height:43px; + z-index:90; + left:24px; + top:180px; +} +.map_sec2{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec2.gif') no-repeat center; + position:absolute; + width:63px; + height:40px; + z-index:90; + left:36px; + top:41px; +} +.map_sec3{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec3.gif') no-repeat center; + position:absolute; + width:101px; + height:37px; + z-index:90; + left:119px; + top:175px; +} +.map_sec4{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec4.gif') no-repeat center; + position:absolute; + width:89px; + height:32px; + z-index:90; + left:391px; + top:120px; +} +.map_sec5{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec5.gif') no-repeat center; + position:absolute; + width:122px; + height:31px; + z-index:90; + left:281px; + top:173px; +} +.map_sec6{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec6.gif') no-repeat center; + position:absolute; + width:123px; + height:30px; + z-index:90; + left:305px; + top:51px; +} +.map_sec7{ + background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec7.gif') no-repeat center; + position:absolute; + width:123px; + height:39px; + z-index:90; + left:122px; + top:52px; +} \ No newline at end of file diff --git a/css/forum.css b/css/forum.css new file mode 100644 index 0000000..4bd2d29 --- /dev/null +++ b/css/forum.css @@ -0,0 +1,164 @@ +body { + font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif; + font-size: 10pt; + background: #000000; + margin: 5px; + color: #000000; +} + +.inup { + background-color: #ded7bd; + font-size: 8pt; + border: 1px double #302f2a; +} + +.text { + font-weight: normal +} + +h3 { + text-align: center; + color: #8f0000; + font-size: 12pt; + font-weight: bold +} + +h4 { + margin-bottom: 5px; + color: #8f0000; + font-size: 11pt; + font-weight: bold +} + +a:link, a:visited, a:active { + color: #524936; + font-weight: normal; + text-decoration: none +} + +a:hover { + color: #68727b; + text-decoration: underline +} + +.dsc { + color: #606060; + font-weight: normal +} + +select, textarea, input { + margin-top: 1px; + margin-bottom: 2px; + color: #191970; + font-size: 10px; + border: 1pt solid #b0b0b0; +} + +.pagenum a:link, .pagenum a:visited, .pagenum a:active, .pagenum a:hover { + margin: 0; + width: 1em; + padding: 0 3px 0; +} + +.pagenum a:hover { + background-color: white; +} + +.pleft { + margin: 0; + padding: 3px 0 7px 20px; +} + +.pages { + background-color: #ffefbf +} + +img { + border-width: 0; +} + +table { + border-width: 0; +} + +.btn { + background-color: #2b2b18; + color: #dfddd3; + font-size: 7.5pt; + border: 1px double #817a63; +} + +.style6 { + color: #dfd3a3; + font-size: 9px +} + + +a:visited { + color: #633525; + font-weight: bold; + text-decoration: none +} + +a:active { + color: #77684d; + font-weight: bold; + text-decoration: none +} + +a:hover { + color: #000000; + text-decoration: underline +} + +div.left { + text-align: left; +} + +div.right { + text-align: right; +} + +div.center { + text-align: center; +} +.style6 { + color: #DFD3A3; + font-size: 9px; +} + +a:link { + font-weight: bold; + color: #5b3e33; + text-decoration: none; +} + +a:hover { + color: #000000; + text-decoration: underline; +} + +a.cite { + display: none +} + +.date { + float: right; + color: #007000; + font-size: 8pt; + margin: 0; + padding: 0; + font-weight: normal; + text-shadow: #b0b0b0 1px 1px 1px; + text-decoration: none; +} + +blockquote, .mBodyBlock .quote { + margin: 5px; + padding: 5px; + font-size: 12px; + font-style: italic; + color: #777; + border: 1px dashed #ccc; + background-color: #F2F0D6; +} diff --git a/css/friend/design3.css b/css/friend/design3.css new file mode 100644 index 0000000..3411cf4 --- /dev/null +++ b/css/friend/design3.css @@ -0,0 +1,99 @@ +body { + margin: 0px 1px 0px 1px; + padding: 0px 1px 0px 1px; + background-color: #dedede; + color: #000000; +} + +.main_text { + font-weight: bold; + font-size: 10px; + text-decoration: none; + color:#f0f0f0; + cursor:hand; +} + +.menutop, a.menutop:visited, a.menutop:active { + font-weight: bold; + font-size: 10px; + text-decoration: none; + color: #3B3936; +} + +a.menutop:hover { + color: #76726b; +} + +.name { + font-weight: bold; + font-size: 12px; +} + +.parametr_title { + font-weight: bold; + font-size: 11px; + color: #777773; +} + +.prname { + padding-left: 4px; + font-size: 11px; + font-family: Arial, Helvetica, sans-serif; +} + +.prvalue { + font-size: 11px; + font-family: Arial, Helvetica, sans-serif; +} + +.btn { + border: 1px double #9a9996; + font-size: 12px; + color: #dfdfdf; + background-color:#504F4C; +} + +.mainmenu { + color: #23292C; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-right-style: none; + border-bottom-style: solid; + border-left-style: solid; + border-top-color: #969697; + border-right-color: #969697; + border-bottom-color: #000000; + border-left-color: #969697; + background-color: #BABABB; + cursor:hand; +} + +.maptext { + font-weight: bold; + font-size: 12px; + color: #000000; + font-family: Arial, Helvetica, sans-serif; +} +.posit { + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-right-style: solid; + border-bottom-style: solid; + border-left-style: solid; + border-top-color: #FFFFFF; + border-right-color: #666666; + border-bottom-color: #666666; + border-left-color: #FFFFFF; + padding: 2px; +} + +td { + font-size: 10pt; + font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; +} \ No newline at end of file diff --git a/css/friend/main.css b/css/friend/main.css new file mode 100644 index 0000000..8c12988 --- /dev/null +++ b/css/friend/main.css @@ -0,0 +1,40 @@ +body, td, ol, ul, li , p { + FONT-SIZE: 10pt; + FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif; +} +.text { + FONT-SIZE: 10pt; COLOR: #000000; FONT-WEIGHT: normal; + FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif; +} +H3 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TEXT-ALIGN: center } +H4 { COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 5px;} +H5 { COLOR: #4f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px;} +a,a:visited { text-decoration: none; FONT-WEIGHT: bold; color: #003388; } +a:active { color: #6F0000} +a:hover { color: #0066FF} +.date { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000} +.date2 { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #007000; background-color: #00FFAA} +.sysdate { font-family: Courier; font-size: 8pt; text-decoration:none; font-weight:normal; color: #B00000} +.private { font-weight:bold; color: red; background-color: #FAE0E0} +.number { font-size: 11pt; font-weight: bold; color: #6F0000} +.dsc { color: #606060; font-weight:normal; } +select,textarea,input { border: solid 1pt #B0B0B0; font-family: MS Sans Serif; font-size: 10px; color: #191970; MARGIN-BOTTOM: 2px; MARGIN-TOP: 1px;} + +.ahint {font-family: MS Sans Serif; font-size:8px; text-decoration:none; color:#000080;z-index: 99;} +#hint2 {position:absolute; width:140; background-color:#FFF6DD; layer-background-color:#FFF6DD; visibility:hidden} +#hint3 {position:absolute; width:240; background-color:#FFF6DD; layer-background-color:#FFF6DD; visibility:hidden} +#hint4 {position:absolute; width:240; visibility:hidden} + +.B1 { font-weight: bold; color: #6666CC} +.B2 { font-weight: bold; color: #B06A00} +.B3 { font-weight: bold; color: #269088} +.B4 { font-weight: bold; color: #A0AF20} +.B5 { font-weight: bold; color: #0F79D3} +.B6 { font-weight: bold; color: #D85E23} +.B7 { font-weight: bold; color: #5C832F} +.B8 { font-weight: bold; color: #842B61} +.B9 { font-weight: bold; color: navy} +.Bs1 { font-size: 8pt; font-weight:bold; color: #6666CC} +.Bs2 { font-weight:bold; color: #B06A00} +img,table {border:0} + diff --git a/css/hostel.css b/css/hostel.css new file mode 100644 index 0000000..f10454e --- /dev/null +++ b/css/hostel.css @@ -0,0 +1,243 @@ +body { + margin: 0px; + padding: 0px; + background-color: #dedede; + font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; + font-size: 13px; + color: black; +} + +* html div.contentContainer { + left: 50%; + margin-left: -400px; +} + +h2 { + font-size: 13px; + margin-bottom: 0px; + color: #8f0000; + font-family: verdana; + text-align: center; + padding: 0px; + margin: 0px; +} + +caption, tbody, tfoot, thead, tr, th, td{ + border: inherit; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +h1 { + font-weight: bold; + font-size: 19px; + color: #8f0000; + font-family: arial; + text-align: center; + padding: 0px; + margin: 0px; +} + +.hs { + font-weight: bold; + font-size: 19px; + color: #8f0000; + font-family: arial; + text-align: center; +} + +div.contentContainer { + margin-left: auto; + margin-right: auto; + width: 800px; + height: auto; + position: relative; +} + +div.buttonContainer { + position: relative; + right: 0px; + top: 1px; + text-align: center; + overflow: hidden; + padding: 2px; + zoom: 1; +} + +div.buttonContainer input.btns { + float: right; + margin-right: 15px; +} + +.progressBar { + margin-bottom: 3px; +} + +tt { + font-family: monospace; +} + +table#hstInventory td.even { + background-color: #d5d5d5; +} + +img { + border: none; + line-height: 1px; + vertical-align: bottom; +} + +.btns { + border: solid 1px #b0b0b0; + margin-top: 1px; + margin-bottom: 2px; + font-size: 11px; + color: #191970; +} + +legend { + font-weight: bold; + color: #8F0000; +} + +div.buttonContainer input.button-route-notArrived { + color: gray; +} + +fieldset { + border: 2px groove threedface; + display:block; + margin-left:2px; + margin-right:2px; + padding: 4px 4px; +} + +div#hostelLeft, div#hostelRight { + margin:0; + float:left; + overflow:hidden; +} + +div#hostelLeft { + width: 520px; +} + +div#hostelRight { + width: 280px; +} + +fieldset.hostelClientState { + height: 150px; +} + +fieldset.hostelRules { + h-eight: 176px; +} + +div.autoScrolling { + height: 100%; + overflow: auto; +} + +select { + width: 200px; +} + +.tarifsList, .periods { + border-collapse: collapse; + border: 1px solid #666; + width: 100%; +} + +.periods { + width: 90%; +} + +.tarifsList caption { + font-weight: bold; + font-size: 12px; + font-family: verdana,arial,tahoma; + text-align: left; +} + +.tarifsList td, .periods th, .periods td { + border: 1px solid #666; + padding: 3px; + font-family: verdana,arial,tahoma; +} + +.tarifsList tr:hover, .periods tr.value td:hover { + background-color: #eee; +} + +.tarifListLabel { + text-align: left; + font-size: 11px; +} + +.tarifListValue, .periods tr.value td { + text-align: right; + width: 70px; + font-weight:500 ; +} + +.periods tr.value td { + cursor: pointer; +} + +.periods tr.caption td { + text-align: center; + font-size: 11px; +} + +.periods th { + font-size: 11px; +} + +.progressBar { + margin-bottom: 3px; +} +a { + text-decoration: none; + font-weight: bold; + color: #003388; + text-decoration: none; +} + +table#hstInventory td.item { + width: 300px; +} + +table#hstInventory td.links { + text-align:center; + vertical-align:middle; + width:90px; +} + +table#hstInventory td.links span { + display: block; +} + +table#hstInventory td.original span.pk-current { + display:none; +} + +table#hstInventory td.moved { + font-weight: bold; +} + +table#hstInventory td.odd { + background-color: #c7c7c7; +} + +table#hstInventory td.even { + background-color: #d5d5d5; +} + +label { + font-weight: bold; + margin-right:15px; +} \ No newline at end of file diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..038d0cb --- /dev/null +++ b/css/main.css @@ -0,0 +1,1010 @@ +BODY { + FONT-SIZE: 10pt; + FONT-FAMILY: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; + background: #D7D7D7; +} + +.text { + FONT-WEIGHT: normal; + COLOR: #000000; +} + +H1,H2,H3,H4,H5,H6 { + FONT-WEIGHT: bold; + COLOR: #8f0000; +} + +H3 { +TEXT-ALIGN: center +} + +A, A:visited { + FONT-WEIGHT: bold; + COLOR: #003388; + TEXT-DECORATION: none +} + +A:active { + COLOR: #6f0000 +} + +A:hover { + COLOR: #0066ff +} + +.date, .date2, .sysdate { + FONT-WEIGHT: normal; + FONT-SIZE: 8pt; + COLOR: #007000; + FONT-FAMILY: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; + TEXT-DECORATION: none +} + +.date2 { + BACKGROUND-COLOR: #00ffaa; +} + +.sysdate { + COLOR: #b00000; +} + +.private, A.private, A.private:hover, A.private:visited, A.private:active{ + FONT-WEIGHT: bold; + COLOR: red; + BACKGROUND-COLOR: #fae0e0 +} + +.number { + FONT-WEIGHT: bold; + FONT-SIZE: 11pt; + COLOR: #6f0000 +} + +.dsc { + FONT-WEIGHT: normal; + COLOR: #606060 +} + +SELECT, TEXTAREA, INPUT { + MARGIN-TOP: 1px; + MARGIN-BOTTOM: 2px; + COLOR: #191970; + border: 1pt solid #b0b0b0; +} + +.ahint { + FONT-SIZE: 8px; + COLOR: #000080; + TEXT-DECORATION: none +} + +#hint3 { + VISIBILITY: hidden; + WIDTH: 240px; + POSITION: absolute; + BACKGROUND: #fff6dd; +} + +.B1 { + FONT-WEIGHT: bold; + COLOR: #6666cc +} + +.B2 { + FONT-WEIGHT: bold; + COLOR: #b06a00 +} + +.B { + FONT-WEIGHT: bold; +} + +IMG { + border-width: 0; +} + +TABLE { + border-width: 0; +} + +.thumbnail_my span { /*CSS for enlarged image*/ + position: absolute; + background-color: #3d3d3d; + padding: 5px; + left: -1000px; + width: 300px; + border: 1px solid white; + visibility: hidden; + color: Yellow; + text-decoration: none; + border-radius: 4px 4px 4px 4px; + -moz-border-radius: 4px 4px 4px 4px; + -webkit-border-radius: 4px 4px 4px 4px; +} + +.thumbnail_my span img { /*CSS for enlarged image*/ + border-width: 0; + padding: 2px; +} + +.thumbnail_my:hover span { /*CSS for enlarged image on hover*/ + visibility: visible; + top: 0; + left: 60px; /*position where enlarged image should offset horizontally */ +} + +.thumbnail_my2 span { /*CSS for enlarged image*/ + position: absolute; + background-color: #3d3d3d; + padding: 5px; + right: 0; + width: 150px; + border: 1px solid white; + visibility: hidden; + color: Yellow; + text-decoration: none; + border-radius: 4px 4px 4px 4px; + -moz-border-radius: 4px 4px 4px 4px; + -webkit-border-radius: 4px 4px 4px 4px; +} + +.thumbnail_my2 span img { /*CSS for enlarged image*/ + border-width: 0; + padding: 2px; +} + +.thumbnail_my2:hover span { /*CSS for enlarged image on hover*/ + visibility: visible; + top: 60px; + right: 100px; /*position where enlarged image should offset horizontally */ +} + +div.effectList { + font-size: smaller; + text-align: left; +} + +div.effectList > div { + clear: both; + padding: 5px; + border-radius: 5px; + position: relative; +} + +div.effectList > div:hover { + background-color: #d2d2d2; + -webkit-box-shadow: 0 0 5px 0 #d2d2d2; + box-shadow: 0 0 5px 0 #d2d2d2; +} + +div.effectList > div > .cancel { + position: absolute; + right: 3px; + top: 3px; +} + +div.effectList > div > .image { + float: left; + margin-right: 3px; +} + +div.effectList > div > .title { + font-weight: bold; +} + +div.effectList > div > [action] { + cursor: pointer; +} + +#mini_qsst { + z-index: 100; +} + +#page-wrapper { + font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; + padding: 10px; +} + +#page-wrapper .hr_n { + background-image: url("/i/world_map2/hr_line.jpg"); + height: 5px; +} + +#page-wrapper a { + text-decoration: none; + color: #003289; +} + +#page-wrapper .text-hint { + width: 90%; + margin: 40px auto 0; + color: #535252; + font-weight: bold; +} + +#page-wrapper .left-text .nickname-wrapper { + text-align: left; + font-size: 10pt; + font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; +} + +#page-wrapper .table-list { + width: 90%; + position: relative; +} + +#page-wrapper .table-list tr.title-row td { + text-align: center; + font-weight: bold; + font-size: 11px; + color: #6d6d6d; + padding: 5px; +} + +#page-wrapper.map-wrapper .btn-control .left-text { + position: absolute; +} + +#page-wrapper .table-list tr.head-line { + position: relative; + text-align: center; + background-image: url("/i/other/head_bgx.jpg"); + padding: 0; +} + +#page-wrapper .table-list th a, #page-wrapper .table-list th .head-title span { + display: inline-block; + margin-top: 8px; + padding: 2px 15px; + font-size: 10px; + font-weight: bold; + color: #535252; + text-transform: uppercase; + text-decoration: none; +} + +#page-wrapper .table-list th a.active, #page-wrapper .table-list th a:hover, #page-wrapper .table-list th .head-title span.active { + color: #b12321; +} + +#page-wrapper .table-list th .head-left, #page-wrapper th .head-right { + width: 19px; + height: 30px; + background-repeat: no-repeat; +} + +#page-wrapper .table-list th .head-title { + background-image: url("/i/other/head_category_name_bg.jpg"); + width: 174px; + height: 30px; + position: absolute; + left: 50%; + margin-left: -87px; +} + +#page-wrapper .table-list th .head-left { + background-image: url("/i/other/head_left.jpg"); + float: left; +} + +#page-wrapper .table-list th .head-right { + background-image: url("/i/other/head_right.jpg"); + float: right; +} + +#page-wrapper .table-list th, #page-wrapper .table-list td { + font-size: 11pt; + position: relative; +} + +#page-wrapper .table-list .item-row td { + padding: 5px 0; + min-height: 24px; + vertical-align: middle; +} + +#page-wrapper .table-list .row-center em { + font-size: 13px; + padding-right: 30px; + padding-left: 10px; + display: block; +} + +#page-wrapper .table-list .row-left .separate, #page-wrapper .table-list .row-center .separate, #page-wrapper .table-list .row-right .separate { + height: 1px; + clear: both; + background-color: white; +} + +#page-wrapper .table-list .row-left .separate { + position: absolute; + left: 15px; + right: 8px; + bottom: 0; +} + +#page-wrapper .table-list .row-center .separate { + position: absolute; + left: 8px; + right: 8px; + bottom: 0; +} + +#page-wrapper .table-list .row-right .separate { + position: absolute; + left: 8px; + right: 15px; + bottom: 0; +} + +#page-wrapper .table-list > tbody > tr > td.row-left { + background: url("/i/other/main_bgy_left.jpg") repeat-y; +} + +#page-wrapper .table-list > tbody > tr > td.row-center { + background-color: #f5f4f4; +} + +#page-wrapper .table-list > tbody > tr > td.row-right { + background: url("/i/other/main_bgy_right.jpg") repeat-y; +} + +#page-wrapper .obraz-list .row-left { + background: url("/i/other/main_bgy_left.jpg") repeat-y; +} + +#page-wrapper .obraz-list .row-center { + background-color: #e8e6e7; +} + +#page-wrapper .obraz-list .row-right { + background: url("/i/other/main_bgy_right.jpg") repeat-y; +} + +#page-wrapper .table-list > tbody > tr > td.row-right .row-location { + color: #535252; + font-size: 12px; + font-weight: bold; + width: 280px; + margin-left: 6px; + text-align: center; +} + +#page-wrapper .table-list > tbody > tr > td.row-right .row-location.empty { + font-style: italic; + font-weight: normal; + font-size: 11px; +} + +#page-wrapper .table-list > tfoot > tr { + height: 12px; +} + +#page-wrapper .table-list > tfoot > tr > td .footer-left, #page-wrapper .table-list > tfoot > tr > td .footer-center, #page-wrapper .table-list > tfoot > tr > td .footer-right { + height: 12px; + position: absolute; + left: 0; + right: 0; + bottom: 0; +} + +#page-wrapper .table-list .footer-frendlist .footer-left { + background-image: url("/i/other/down_left.png"); + z-index: 1; +} + +#page-wrapper .table-list .footer-frendlist .footer-center { + background-image: url("/i/other/down_center_bgx.jpg"); + left: -4px; + right: -4px; + z-index: 0; +} + +#page-wrapper .table-list .footer-frendlist .footer-right { + background-image: url("/i/other/down_right.png"); + z-index: 1; +} + +#page-wrapper .table-list .obraz-footer .footer-left { + background: url("/i/other/down_left.jpg") no-repeat; +} + +#page-wrapper .table-list .obraz-footer .footer-right { + background: url("/i/other/down_right.jpg") no-repeat right; +} + +#page-wrapper .table-list#frendlist tr:last-child td { + padding-bottom: 20px; +} + +#page-wrapper .table-list .icon.private { + margin-left: 22px; + margin-right: 5px; +} + +#page-wrapper .table-list .icon.remove { + position: absolute; + right: 22px; + top: 50%; + margin-top: -8px; +} + +#page-wrapper .table-list .icon.edit { + top: 50%; + position: absolute; + right: 0; + margin-top: -8px; +} + +#page-wrapper .table-form { + width: 88%; +} + +#page-wrapper .table-form td.form-input { + background-image: url("/i/other/form_bgx.jpg"); + height: 35px; +} + +#page-wrapper .table-form td.form-input input[type="text"] { + color: #535252; + padding: 0 10px; + width: 100%; + border: 0; + background-color: transparent; + display: inline-block; + vertical-align: top; + height: 19px; +} + +#page-wrapper .table-form .button-big.submit { + padding-top: 5px; + line-height: 10px; +} + +#page-wrapper .table-form td.form-input input[type="text"]:focus { + outline: 0; +} + +#page-wrapper .table-form td.form-left, #page-wrapper .table-form td.form-right { + width: 10px; + height: 35px; +} + +#page-wrapper .table-form td.form-left { + background-image: url("/i/other/form_left.jpg"); +} + +#page-wrapper .table-form td.form-right { + background-image: url("/i/other/form_right.jpg"); +} + +#page-wrapper .btn-control { + width: 100%; + text-align: right; + height: 25px; + clear: both; + min-width: 685px; +} + +#page-wrapper .btn-control .left-text { + float: left; +} + +#page-wrapper .btn-control .left-text .text-title, #page-wrapper .btn-control .left-text .hint-text { + display: inline-block; + vertical-align: top; +} + +#page-wrapper .btn-control .left-text .text-title { + text-transform: uppercase; + font-size: 14px; + font-weight: bold; + color: #b12321; + padding-top: 2px; +} + +#page-wrapper .btn-control .left-text .hint-text { + color: #9e9c9d; + font-size: 13px; + padding-top: 1px; +} + +#page-wrapper .btn-control .btn { + display: inline-block; +} + +#page-wrapper .button-big { + padding-top: 4px; + cursor: pointer; + width: 180px; + height: 15px; + font-size: 10px; + background: url("/i/other/button_cp_exit_sprite.jpg") 0 -19px; +} + +#page-wrapper .button-big.submit { + cursor: pointer; + width: 180px; + height: 16px; + font-size: 12px; + font-weight: bold; + padding-top: 3px; +} + +#page-wrapper .button-big:hover { + background: url("/i/other/button_cp_exit_sprite.jpg") 0 -38px; +} + +#page-wrapper .button-big:active { + background: url("/i/other/button_cp_exit_sprite.jpg") 0 0; +} + +#page-wrapper .text-head { + font-weight: bold; + font-size: 12pt; + color: #8F0000; + font-family: Arial; + text-align: center; +} + +#page-wrapper .button-mid { + padding-top: 4px; + cursor: pointer; + width: 75px; + height: 15px; + font-size: 10px; + background: url("/i/other/button_mid_Sprite.jpg") no-repeat 0 -19px; +} + +#page-wrapper .button-mid:hover { + background: url("/i/other/button_mid_Sprite.jpg") 0 -38px; +} + +#page-wrapper .button-mid:active { + background: url("/i/other/button_mid_Sprite.jpg") 0 0; +} + +#page-wrapper .button-dark-mid { + padding-top: 4px; + cursor: pointer; + width: 75px; + height: 15px; + font-size: 10px; + background: url("/i/other/darkButton_mid_Sprite.jpg") no-repeat 0 -19px; +} + +#page-wrapper .button-dark-mid:hover { + background: url("/i/other/darkButton_mid_Sprite.jpg") 0 -38px; +} + +#page-wrapper .button-dark-mid:active { + background: url("/i/other/darkButton_mid_Sprite.jpg") 0 0; +} + +#page-wrapper .obraz-items li { + display: inline-block; + background: url("/i/other/obraz_frame_bg.jpg") no-repeat 15px 0; + width: 120px; + height: 250px; + position: relative; + margin-bottom: 20px; +} + +#page-wrapper .obraz-items li.obraz-item .btn { + position: absolute; + bottom: 0; + left: 23px; +} + +#page-wrapper .table-list.pic-items td.separate { + background: url("/i/other/hr_2.jpg") repeat-x; + height: 2px; +} + +#page-wrapper .table-list.pic-items > tbody > tr > td.odd { + background-color: #e8e6e6; +} + +#page-wrapper .table-list.pic-items > tbody > tr > td.even { + background-color: #eeecec; +} + +#page-wrapper .table-list.pic-items > tbody > tr > td.row-left { + background: url("/i/other/main_bgy_left.jpg") repeat-y; +} + +#page-wrapper .table-list.pic-items > tbody > tr > td.row-center { + background-color: #f5f4f4; +} + +#page-wrapper .table-list.pic-items > tbody > tr > td.row-right { + background: url("/i/other/main_bgy_right.jpg") repeat-y; +} + +#page-wrapper .table-list.pic-items .item-block { + position: relative; + width: 100%; + text-align: center; + padding-top: 10px; + padding-bottom: 40px; +} + +#page-wrapper .table-list.pic-items .item-block .item-footer { + position: absolute; + bottom: 10px; + left: 50%; + margin-left: -37px; +} + +#page-wrapper .table-list.sostoyanie .separate { + height: 2px; + background: transparent url("/i/other/hr_2.jpg"); +} + +#page-wrapper .table-list.sostoyanie[data-hidden="true"] tr td { + text-align: center; + display: none; +} + +#page-wrapper .table-list.sostoyanie tr.element td { + padding: 10px; + font-size: 11px; +} + +#page-wrapper .table-list.sostoyanie > tbody > tr > td.row-left { + background: url("/i/other/main_bgy_left.jpg") repeat-y; + color: #383838; + text-align: center; + font-weight: bold; +} + +#page-wrapper .table-list.sostoyanie > tbody > tr > td.row-center { + background-color: #f5f4f4; +} + +#page-wrapper .table-list.sostoyanie > tbody > tr > td.row-right { + background: url("/i/other/main_bgy_right.jpg") repeat-y; +} + +#page-wrapper .map-block { + display: table; + table-layout: fixed; + width: 100%; + height: 59px; + min-width: 309px; + border-spacing: 0; +} + +#page-wrapper .map td { + padding-right: 3px; + padding-bottom: 3px; +} + +#page-wrapper .map td:last-child { + padding-right: 0; +} + +#page-wrapper .map-block .map-block-logo { + width: 65px; + *height: 59px; + display: table-cell; + border-spacing: 0; +} + +#page-wrapper .map-block .map-block-mid { + *height: 59px; + display: table-cell; + border-spacing: 0 +} + +#page-wrapper .map-block .map-block-right { + width: 8px; + *height: 59px; + display: table-cell; + border-spacing: 0 +} + +#page-wrapper .table-list.map { + width: 100%; + margin-top: 3px; +} + +#page-wrapper .map-block .map-block-mid .map-block-head { + font-weight: bold; + font-size: 12px; + height: 20px; + margin-top: 4px; + vertical-align: middle; + padding-top: 4px; + position: relative; +} + +#page-wrapper .map-block .map-block-mid .map-block-head .active { + background-image: url("/i/world_map2/flag_position.png"); + width: 20px; + height: 16px; + position: absolute; + right: 0; + top: 3px; +} + +#page-wrapper .map-block .map-block-mid .map-block-head .head-level { + color: #7b7b7b; + font-size: 9px; + display: inline-block; + font-weight: normal; +} + +#page-wrapper .map-block .map-block-mid .map-block-bottom { + padding-top: 3px; + height: 25px; +} + +#page-wrapper .map-block .map-block-mid .map-block-bottom .room-amount { + display: inline-block; + font-weight: bold; + font-size: 12px; +} + +#page-wrapper .map-block .map-block-mid .map-block-bottom .room-info { + display: inline-block; +} + +#page-wrapper .map-block .map-block-logo.novi4ki { + background-image: url("/i/world_map2/1_novi4ki_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.novi4ki { + background-image: url("/i/world_map2/1_novi4ki_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.novi4ki { + background-image: url("/i/world_map2/1_novi4ki_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.voinov { + background-image: url("/i/world_map2/2_zal_voinov_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.voinov { + background-image: url("/i/world_map2/2_zal_voinov_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.voinov { + background-image: url("/i/world_map2/2_zal_voinov_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.torgovij { + background-image: url("/i/world_map2/3_torg_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.torgovij { + background-image: url("/i/world_map2/3_torg_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.torgovij { + background-image: url("/i/world_map2/3_torg_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.rycarskij { + background-image: url("/i/world_map2/4_rycarskij_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.rycarskij { + background-image: url("/i/world_map2/4_rycarskij_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.rycarskij { + background-image: url("/i/world_map2/4_rycarskij_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.bashnja { + background-image: url("/i/world_map2/5_bashnja_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.bashnja { + background-image: url("/i/world_map2/5_bashnja_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.bashnja { + background-image: url("/i/world_map2/5_bashnja_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.koldovskoj { + background-image: url("/i/world_map2/6_koldovskoj_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.koldovskoj { + background-image: url("/i/world_map2/6_koldovskoj_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.koldovskoj { + background-image: url("/i/world_map2/6_koldovskoj_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.eduhov { + background-image: url("/i/world_map2/7_etaz_duhov_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.eduhov { + background-image: url("/i/world_map2/7_etaz_duhov_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.eduhov { + background-image: url("/i/world_map2/7_etaz_duhov_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.astral { + background-image: url("/i/world_map2/8_astral_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.astral { + background-image: url("/i/world_map2/8_astral_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.astral { + background-image: url("/i/world_map2/8_astral_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.fire { + background-image: url("/i/world_map2/9_fire_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.fire { + background-image: url("/i/world_map2/9_fire_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.fire { + background-image: url("/i/world_map2/9_fire_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.paladinov { + background-image: url("/i/world_map2/10_paladinov_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.paladinov { + background-image: url("/i/world_map2/10_paladinov_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.paladinov { + background-image: url("/i/world_map2/10_paladinov_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.sovet { + background-image: url("/i/world_map2/11_sovet_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.sovet { + background-image: url("/i/world_map2/11_sovet_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.sovet { + background-image: url("/i/world_map2/11_sovet_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.tma { + background-image: url("/i/world_map2/12_tma_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.tma { + background-image: url("/i/world_map2/12_tma_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.tma { + background-image: url("/i/world_map2/12_tma_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.tma2 { + background-image: url("/i/world_map2/12_tma_logo2.jpg"); +} + +#page-wrapper .map-block .map-block-mid.tma2 { + background-image: url("/i/world_map2/12_tma_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.tma2 { + background-image: url("/i/world_map2/12_tma_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.netral { + background-image: url("/i/world_map2/13_netral_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.netral { + background-image: url("/i/world_map2/13_netral_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.netral { + background-image: url("/i/world_map2/13_netral_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.netral2 { + background-image: url("/i/world_map2/13_netral_logo2.jpg"); +} + +#page-wrapper .map-block .map-block-mid.netral2 { + background-image: url("/i/world_map2/13_netral_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.netral2 { + background-image: url("/i/world_map2/13_netral_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.svet { + background-image: url("/i/world_map2/14_svet_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.svet { + background-image: url("/i/world_map2/14_svet_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.svet { + background-image: url("/i/world_map2/14_svet_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.svet2 { + background-image: url("/i/world_map2/14_svet_logo2.jpg"); +} + +#page-wrapper .map-block .map-block-mid.svet2 { + background-image: url("/i/world_map2/14_svet_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.svet2 { + background-image: url("/i/world_map2/14_svet_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.buduar { + background-image: url("/i/world_map2/15_buduar_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.buduar { + background-image: url("/i/world_map2/15_buduar_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.buduar { + background-image: url("/i/world_map2/15_buduar_end.jpg"); +} + +#page-wrapper .map-block .map-block-logo.clanwars { + background-image: url("/i/world_map2/16_clanwars_logo.jpg"); +} + +#page-wrapper .map-block .map-block-mid.clanwars { + background-image: url("/i/world_map2/16_clanwars_bgx.jpg"); +} + +#page-wrapper .map-block .map-block-right.clanwars { + background-image: url("/i/world_map2/16_clanwars_end.jpg"); +} + +.redalert { + font-weight: bold; + color: #FF0000; +} + +.greenalert { + font-weight: bold; + color: #00ff00; +} + +.row { + cursor: pointer; +} + +table.adm { + color: #333; + font-family: Helvetica, Arial, sans-serif; + width: 640px; + border-collapse: + collapse; border-spacing: 0; +} +table.adm td, table.adm th { border: 1px solid #CCC; height: 30px; } +table.adm th { + background: #e3c300; + font-weight: bold; +} +table.adm td { + background: #FAFAFA; + text-align: center; +} diff --git a/css/mi.css b/css/mi.css new file mode 100644 index 0000000..61cc173 --- /dev/null +++ b/css/mi.css @@ -0,0 +1,47 @@ +div.ui-dialog.mi-container .ui-dialog-content .oneinput > input { + float: right; + width: 33px; + border-left: none; +} + +div.ui-dialog.mi-container .ui-dialog-content .oneinput div { + padding-right: 35px; +} + +div.ui-dialog.mi-container .ui-dialog-title { + float: none; +} + +div.ui-dialog.mi-container .ui-dialog-content, div.sd-container form.sd-form { + padding: 2px 4px; +} + +div.ui-dialog.mi-container .ui-dialog-content .oneinput div input { + width: 100%; +} + +input, select, textarea, button { + border: solid 1px #b0b0b0; + margin-top: 1px; + margin-bottom: 2px; + font-size: 11px; + color: #191970; +} + +input.text { + font-weight: normal; +} + +.ui-dialog-content { + overflow: visible !important; +} + +.ui-dialog { + overflow: visible !important; +} + +a, a:visited { + font-weight: bold; + color: #003388; + text-decoration: none; +} \ No newline at end of file diff --git a/css/newstyle18.css b/css/newstyle18.css new file mode 100644 index 0000000..62ec96d --- /dev/null +++ b/css/newstyle18.css @@ -0,0 +1 @@ +*{margin:0;padding:0;}H3{FONT-WEIGHT:bold;FONT-SIZE:12pt;COLOR:#8f0000;FONT-FAMILY:Arial;TEXT-ALIGN:center}H4{FONT-WEIGHT:bold;FONT-SIZE:11pt;MARGIN-BOTTOM:5px;COLOR:#8f0000;FONT-FAMILY:Arial}H5{MARGIN-TOP:0px;FONT-WEIGHT:bold;FONT-SIZE:11pt;MARGIN-BOTTOM:0px;COLOR:#4f0000;FONT-FAMILY:Arial}H6{FONT-WEIGHT:bold;FONT-SIZE:10pt;MARGIN-BOTTOM:0px;COLOR:black;FONT-FAMILY:Verdana}H2{FONT-WEIGHT:bold;FONT-SIZE:10pt;MARGIN-BOTTOM:0px;COLOR:#8f0000;FONT-FAMILY:Verdana}A{FONT-WEIGHT:bold;COLOR:#003388;TEXT-DECORATION:none}A:visited{FONT-WEIGHT:bold;COLOR:#003388;TEXT-DECORATION:none}A:active{COLOR:#6f0000}A:hover{COLOR:#0066ff}.date{FONT-WEIGHT:normal;FONT-SIZE:8pt;COLOR:#007000;FONT-FAMILY:Courier;TEXT-DECORATION:none}.date2{FONT-WEIGHT:normal;FONT-SIZE:8pt;COLOR:#007000;FONT-FAMILY:Courier;BACKGROUND-COLOR:#00ffaa;TEXT-DECORATION:none}body{background-color:rgb(226,224,224);padding:0;margin:0;}img{border:0;}.btn{font-family:MS Sans Serif;font-size:10px;text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:10px\0/;}.pointer{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.center{text-align:center;}.icon{display:inline-block;cursor:pointer;}.icon.private{width:20px;height:15px;background-image:url("http://i.oldbk.com/i/lock.gif");}.icon.remove{width:13px;height:13px;background-image:url("http://i.oldbk.com/i/clear.gif");}.icon.edit{width:15px;height:15px;background-image:url("http://i.oldbk.com/i/frendlist/edit_button.png");}#page-wrapper{font-family:Tahoma;padding:10px;}#page-wrapper .hr_n{background-image:url("http://i.oldbk.com/i/world_map2/hr_line.jpg");height:5px;}#page-wrapper .block-hint{border:1px solid #b0b0b0;padding:10px;margin:0 auto;margin-top:20px;width:80%;background-color:#eeeced;text-align:center;font#fff6dd-weight:bold;font-family:tahoma;font-size:12px;color:#656364;}#page-wrapper a{text-decoration:none;color:#003289;}#page-wrapper .text-hint{width:90%;margin:0 auto;margin-top:40px;color:#535252;font-weight:bold;}#page-wrapper .left-text .nickname-wrapper{text-align:left;font-size:10pt;font-family:Verdana,Arial,Helvetica,Tahoma,sans-serif;}#page-wrapper .table-list{width:90%;}#page-wrapper .table-list tr.title-row td{text-align:center;font-weight:bold;font-size:11px;color:#6d6d6d;padding:5px;}#page-wrapper.map-wrapper .btn-control .left-text{position:absolute;}#page-wrapper .table-list tr.head-line{position:relative;text-align:center;background-image:url("http://i.oldbk.com/i/frendlist/head_bgx.jpg");padding:0;}#page-wrapper .table-list th a,#page-wrapper .table-list th .head-title span{display:inline-block;margin-top:8px;padding:2px 15px;font-size:10px;font-weight:bold;color:#535252;text-transform:uppercase;text-decoration:none;}#page-wrapper .table-list th a.active,#page-wrapper .table-list th a:hover,#page-wrapper .table-list th .head-title span.active{color:#b12321;}#page-wrapper .table-list th .head-left,#page-wrapper th .head-right{width:19px;height:30px;background-repeat:no-repeat;}#page-wrapper .table-list th .head-title{background-image:url("http://i.oldbk.com/i/obrazy/head_category_name_bg.jpg");width:174px;height:30px;position:absolute;left:50%;margin-left:-87px;}#page-wrapper .table-list th .head-left{background-image:url("http://i.oldbk.com/i/frendlist/head_left.jpg");float:left;}#page-wrapper .table-list th .head-right{background-image:url("http://i.oldbk.com/i/frendlist/head_right.jpg");float:right;}#page-wrapper .table-list th .head-separate{width:12px;height:30px;background:url("http://i.oldbk.com/i/obrazy/head_razdelitel.jpg") no-repeat;}#page-wrapper .table-list th .head-separate.left{float:left;}#page-wrapper .table-list th .head-separate.right{float:right;}#page-wrapper .table-list th .head-spoiler-btn{width:17px;height:10px;background-repeat:no-repeat;}#page-wrapper .table-list th .head-spoiler-btn.a{background-image:url("http://i.oldbk.com/i/sostojanie/btt2.png");}#page-wrapper .table-list th .head-spoiler-btn.a:hover{background-image:url("http://i.oldbk.com/i/sostojanie/btt3.png");}#page-wrapper .table-list th .head-spoiler-btn.b{background-image:url("http://i.oldbk.com/i/sostojanie/btt1b.png");}#page-wrapper .table-list th .head-spoiler-btn.b:hover{background-image:url("http://i.oldbk.com/i/sostojanie/btt3b.png");}#page-wrapper .table-list th .head-spoiler-btn.right{float:right;}#page-wrapper .table-list.sostoyanie th .head-spoiler-btn{position:absolute;right:20px;top:11px;}#page-wrapper .table-list th,#page-wrapper .table-list td{font-size:11pt;position:relative;}#page-wrapper .table-list .item-row td{padding:5px 0;min-height:24px;vertical-align:middle;}#page-wrapper .table-list .row-center em{font-size:13px;padding-right:30px;padding-left:10px;display:block;}#page-wrapper .table-list .row-left .separate,#page-wrapper .table-list .row-center .separate,#page-wrapper .table-list .row-right .separate{height:1px;clear:both;background-color:white;}#page-wrapper .table-list .row-left .separate{position:absolute;left:15px;right:8px;bottom:0;}#page-wrapper .table-list .row-center .separate{position:absolute;left:8px;right:8px;bottom:0;}#page-wrapper .table-list .row-right .separate{position:absolute;left:8px;right:15px;bottom:0;}#page-wrapper .table-list>tbody>tr>td.row-left{background:url("http://i.oldbk.com/i/frendlist/main_bgy_left.jpg") repeat-y;}#page-wrapper .table-list>tbody>tr>td.row-center{background-color:#f5f4f4;}#page-wrapper .table-list>tbody>tr>td.row-right{background:url("http://i.oldbk.com/i/frendlist/main_bgy_right.jpg") repeat-y;}#page-wrapper .obraz-list{width:100%;min-width:650px;}#page-wrapper .obraz-list .row-left{background:url("http://i.oldbk.com/i/obrazy/main_bgy_left.jpg") repeat-y;}#page-wrapper .obraz-list .row-center{background-color:#e8e6e7;}#page-wrapper .obraz-list .row-right{background:url("http://i.oldbk.com/i/obrazy/main_bgy_right.jpg") repeat-y;}#page-wrapper .table-list>tbody>tr>td.row-right .row-location{color:#535252;font-size:12px;font-weight:bold;width:280px;margin-left:6px;text-align:center;}#page-wrapper .table-list>tbody>tr>td.row-right .row-location.empty{font-style:italic;font-weight:normal;font-size:11px;}#page-wrapper .table-list>tfoot>tr{height:12px;}#page-wrapper .table-list>tfoot>tr>td .footer-left,#page-wrapper .table-list>tfoot>tr>td .footer-center,#page-wrapper .table-list>tfoot>tr>td .footer-right{height:12px;position:absolute;left:0;right:0;top:0;}#page-wrapper .table-list#ob,#page-wrapper .table-list#frendlist,#page-wrapper .table-list.pic-items,#page-wrapper table.table-form{margin:0 auto;}#page-wrapper .table-list .footer-frendlist .footer-left{background-image:url("http://i.oldbk.com/i/frendlist/down_left.png");z-index:1;}#page-wrapper .table-list .footer-frendlist .footer-center{background-image:url("http://i.oldbk.com/i/frendlist/down_center_bgx.jpg");left:-4px;right:-4px;z-index:0;}#page-wrapper .table-list .footer-frendlist .footer-right{background-image:url("http://i.oldbk.com/i/frendlist/down_right.png");z-index:1;}#page-wrapper .table-list .obraz-footer .footer-left{background:url("http://i.oldbk.com/i/obrazy/down_left.jpg") no-repeat;}#page-wrapper .table-list tr.obraz-footer{background:url("http://i.oldbk.com/i/obrazy/down_bgx.jpg") repeat-x;}#page-wrapper .table-list .obraz-footer .footer-right{background:url("http://i.oldbk.com/i/obrazy/down_right.jpg") no-repeat right;}#page-wrapper .table-list#frendlist tr:last-child td{padding-bottom:20px;}#page-wrapper .table-list .icon.private{margin-left:22px;margin-right:5px;}#page-wrapper .table-list .icon.remove{position:absolute;right:22px;top:50%;margin-top:-8px;}#page-wrapper .table-list .icon.edit{top:50%;position:absolute;right:0;margin-top:-8px;}#page-wrapper .table-form{width:88%;}#page-wrapper .table-form td.form-input{background-image:url("http://i.oldbk.com/i/frendlist/form_bgx.jpg");height:35px;}#page-wrapper .table-form td.form-input input[type="text"]{color:#535252;padding:0 10px;width:100%;border:0;background-color:transparent;}#page-wrapper .table-form td.form-input input[type="text"]:focus{outline:0;}#page-wrapper .table-form td.form-left,#page-wrapper .table-form td.form-right{width:10px;height:35px;}#page-wrapper .table-form td.form-left{background-image:url("http://i.oldbk.com/i/frendlist/form_left.jpg");}#page-wrapper .table-form td.form-separate{background-image:url("http://i.oldbk.com/i/frendlist/form_razdelitel.png");}#page-wrapper .table-form td.form-right{background-image:url("http://i.oldbk.com/i/frendlist/form_right.jpg");}#page-wrapper .btn-control{width:100%;text-align:right;height:25px;clear:both;min-width:685px;}#page-wrapper .btn-control .left-text{float:left;}#page-wrapper .btn-control .left-text .text-title,#page-wrapper .btn-control .left-text .hint-text{display:inline-block;vertical-align:top;}#page-wrapper .btn-control .left-text .text-title{text-transform:uppercase;font-size:14px;font-weight:bold;color:#b12321;padding-top:2px;}#page-wrapper .btn-control .left-text .hint-text{color:#9e9c9d;font-size:13px;padding-top:1px;}#page-wrapper .btn-control .btn{display:inline-block;}#page-wrapper .button-big{padding-top:4px;cursor:pointer;width:180px;height:15px;font-size:10px;background:url("http://i.oldbk.com/i/frendlist/button_cp_exit_sprite.jpg") 0 -19px;}#page-wrapper .button-big.submit{cursor:pointer;width:180px;height:16px;font-size:12px;font-weight:bold;padding-top:3px;}#page-wrapper .button-big:hover{background:url("http://i.oldbk.com/i/frendlist/button_cp_exit_sprite.jpg") 0 -38px;}#page-wrapper .button-big:active{background:url("http://i.oldbk.com/i/frendlist/button_cp_exit_sprite.jpg") 0 0;}#page-wrapper .text-head{font-weight:bold;font-size:12pt;color:#8F0000;font-family:Arial;text-align:center;}#page-wrapper .button-mid{padding-top:4px;cursor:pointer;width:75px;height:15px;font-size:10px;background:url("http://i.oldbk.com/i/buttons/button_mid_Sprite.jpg") no-repeat 0 -19px;}#page-wrapper .button-mid:hover{background:url("http://i.oldbk.com/i/buttons/button_mid_Sprite.jpg") 0 -38px;}#page-wrapper .button-mid:active{background:url("http://i.oldbk.com/i/buttons/button_mid_Sprite.jpg") 0 0;}#page-wrapper .button-dark-mid{padding-top:4px;cursor:pointer;width:75px;height:15px;font-size:10px;background:url("http://i.oldbk.com/i/buttons/darkButton_mid_Sprite.jpg") no-repeat 0 -19px;}#page-wrapper .button-dark-mid:hover{background:url("http://i.oldbk.com/i/buttons/darkButton_mid_Sprite.jpg") 0 -38px;}#page-wrapper .button-dark-mid:active{background:url("http://i.oldbk.com/i/buttons/darkButton_mid_Sprite.jpg") 0 0;}#page-wrapper .obraz-items{list-style:none;padding:0;text-align:center;}#page-wrapper .obraz-items li{display:inline-block;background:url("http://i.oldbk.com/i/obrazy/obraz_frame_bg.jpg") no-repeat 15px 0;width:120px;height:250px;position:relative;margin-bottom:20px;}#page-wrapper .obraz-items .obraz-item .obraz-item-head{padding:7px;text-align:center;}#page-wrapper .obraz-items li.obraz-item .btn{position:absolute;bottom:0;left:23px;}#page-wrapper .table-list.pic-items{table-layout:fixed;}#page-wrapper .table-list.pic-items td.separate{background:url("http://i.oldbk.com/i/obrazy_items/hr_2.jpg") repeat-x;height:2px;}#page-wrapper .table-list.pic-items>tbody>tr>td.odd{background-color:#e8e6e6;}#page-wrapper .table-list.pic-items>tbody>tr>td.even{background-color:#eeecec;}#page-wrapper .table-list.pic-items>tbody>tr>td.row-left{background:url("http://i.oldbk.com/i/obrazy_items/main_bgy_left.jpg") repeat-y;}#page-wrapper .table-list.pic-items>tbody>tr>td.row-center{background-color:#f5f4f4;}#page-wrapper .table-list.pic-items>tbody>tr>td.row-right{background:url("http://i.oldbk.com/i/obrazy_items/main_bgy_right.jpg") repeat-y;}#page-wrapper .table-list.pic-items .item-block{position:relative;width:100%;text-align:center;padding-top:10px;padding-bottom:40px;}#page-wrapper .table-list.pic-items .item-block .item-footer{position:absolute;bottom:10px;left:50%;margin-left:-37px;}#page-wrapper .table-list.sostoyanie{margin:0 auto;margin-bottom:20px;}#page-wrapper .table-list.sostoyanie .separate{background-image:url("http://i.oldbk.com/i/sostojanie/hr_2.jpg");height:2px;background-color:transparent;}#page-wrapper .table-list.sostoyanie[data-hidden="true"] tr td{text-align:center;display:none;}#page-wrapper .table-list.sostoyanie tr.element td{padding:10px;font-size:11px;}#page-wrapper .table-list.sostoyanie>tbody>tr>td.row-left{background:url("http://i.oldbk.com/i/sostojanie/main_bgy_left.jpg") repeat-y;color:#383838;text-align:center;font-weight:bold;}#page-wrapper .table-list.sostoyanie>tbody>tr>td.row-center{background-color:#f5f4f4;}#page-wrapper .table-list.sostoyanie>tbody>tr>td.row-right{background:url("http://i.oldbk.com/i/sostojanie/main_bgy_right.jpg") repeat-y;}#page-wrapper .map-block{display:table;table-layout:fixed;width:100%;height:59px;min-width:309px;border-spacing:0;}#page-wrapper .map td{padding-right:3px;padding-bottom:3px;}#page-wrapper .map td:last-child{padding-right:0;}#page-wrapper .map-block .map-block-logo{width:65px;*height:59px;display:table-cell;border-spacing:0;}#page-wrapper .map-block .map-block-mid{*height:59px;display:table-cell;border-spacing:0}#page-wrapper .map-block .map-block-right{width:8px;*height:59px;display:table-cell;border-spacing:0}#page-wrapper .table-list.map{width:100%;margin-top:3px;}#page-wrapper .map-block .map-block-mid .map-block-head{font-weight:bold;font-size:12px;height:20px;margin-top:4px;vertical-align:middle;padding-top:4px;position:relative;}#page-wrapper .map-block .map-block-mid .map-block-head .active{background-image:url("http://i.oldbk.com/i/world_map2/flag_position.png");width:20px;height:16px;position:absolute;right:0;top:3px;}#page-wrapper .map-block .map-block-mid .map-block-head .head-level{color:#7b7b7b;font-size:9px;display:inline-block;font-weight:normal;}#page-wrapper .map-block .map-block-mid .map-block-bottom{padding-top:3px;height:25px;}#page-wrapper .map-block .map-block-mid .map-block-bottom .room-amount{display:inline-block;font-weight:bold;font-size:12px;}#page-wrapper .map-block .map-block-mid .map-block-bottom .room-info{display:inline-block;}#page-wrapper .map-block .map-block-logo.novi4ki{background-image:url("http://i.oldbk.com/i/world_map2/1_novi4ki_logo.jpg");}#page-wrapper .map-block .map-block-mid.novi4ki{background-image:url("http://i.oldbk.com/i/world_map2/1_novi4ki_bgx.jpg");}#page-wrapper .map-block .map-block-right.novi4ki{background-image:url("http://i.oldbk.com/i/world_map2/1_novi4ki_end.jpg");}#page-wrapper .map-block .map-block-logo.voinov{background-image:url("http://i.oldbk.com/i/world_map2/2_zal_voinov_logo.jpg");}#page-wrapper .map-block .map-block-mid.voinov{background-image:url("http://i.oldbk.com/i/world_map2/2_zal_voinov_bgx.jpg");}#page-wrapper .map-block .map-block-right.voinov{background-image:url("http://i.oldbk.com/i/world_map2/2_zal_voinov_end.jpg");}#page-wrapper .map-block .map-block-logo.torgovij{background-image:url("http://i.oldbk.com/i/world_map2/3_torg_logo.jpg");}#page-wrapper .map-block .map-block-mid.torgovij{background-image:url("http://i.oldbk.com/i/world_map2/3_torg_bgx.jpg");}#page-wrapper .map-block .map-block-right.torgovij{background-image:url("http://i.oldbk.com/i/world_map2/3_torg_end.jpg");}#page-wrapper .map-block .map-block-logo.rycarskij{background-image:url("http://i.oldbk.com/i/world_map2/4_rycarskij_logo.jpg");}#page-wrapper .map-block .map-block-mid.rycarskij{background-image:url("http://i.oldbk.com/i/world_map2/4_rycarskij_bgx.jpg");}#page-wrapper .map-block .map-block-right.rycarskij{background-image:url("http://i.oldbk.com/i/world_map2/4_rycarskij_end.jpg");}#page-wrapper .map-block .map-block-logo.bashnja{background-image:url("http://i.oldbk.com/i/world_map2/5_bashnja_logo.jpg");}#page-wrapper .map-block .map-block-mid.bashnja{background-image:url("http://i.oldbk.com/i/world_map2/5_bashnja_bgx.jpg");}#page-wrapper .map-block .map-block-right.bashnja{background-image:url("http://i.oldbk.com/i/world_map2/5_bashnja_end.jpg");}#page-wrapper .map-block .map-block-logo.koldovskoj{background-image:url("http://i.oldbk.com/i/world_map2/6_koldovskoj_logo.jpg");}#page-wrapper .map-block .map-block-mid.koldovskoj{background-image:url("http://i.oldbk.com/i/world_map2/6_koldovskoj_bgx.jpg");}#page-wrapper .map-block .map-block-right.koldovskoj{background-image:url("http://i.oldbk.com/i/world_map2/6_koldovskoj_end.jpg");}#page-wrapper .map-block .map-block-logo.eduhov{background-image:url("http://i.oldbk.com/i/world_map2/7_etaz_duhov_logo.jpg");}#page-wrapper .map-block .map-block-mid.eduhov{background-image:url("http://i.oldbk.com/i/world_map2/7_etaz_duhov_bgx.jpg");}#page-wrapper .map-block .map-block-right.eduhov{background-image:url("http://i.oldbk.com/i/world_map2/7_etaz_duhov_end.jpg");}#page-wrapper .map-block .map-block-logo.astral{background-image:url("http://i.oldbk.com/i/world_map2/8_astral_logo.jpg");}#page-wrapper .map-block .map-block-mid.astral{background-image:url("http://i.oldbk.com/i/world_map2/8_astral_bgx.jpg");}#page-wrapper .map-block .map-block-right.astral{background-image:url("http://i.oldbk.com/i/world_map2/8_astral_end.jpg");}#page-wrapper .map-block .map-block-logo.fire{background-image:url("http://i.oldbk.com/i/world_map2/9_fire_logo.jpg");}#page-wrapper .map-block .map-block-mid.fire{background-image:url("http://i.oldbk.com/i/world_map2/9_fire_bgx.jpg");}#page-wrapper .map-block .map-block-right.fire{background-image:url("http://i.oldbk.com/i/world_map2/9_fire_end.jpg");}#page-wrapper .map-block .map-block-logo.paladinov{background-image:url("http://i.oldbk.com/i/world_map2/10_paladinov_logo.jpg");}#page-wrapper .map-block .map-block-mid.paladinov{background-image:url("http://i.oldbk.com/i/world_map2/10_paladinov_bgx.jpg");}#page-wrapper .map-block .map-block-right.paladinov{background-image:url("http://i.oldbk.com/i/world_map2/10_paladinov_end.jpg");}#page-wrapper .map-block .map-block-logo.sovet{background-image:url("http://i.oldbk.com/i/world_map2/11_sovet_logo.jpg");}#page-wrapper .map-block .map-block-mid.sovet{background-image:url("http://i.oldbk.com/i/world_map2/11_sovet_bgx.jpg");}#page-wrapper .map-block .map-block-right.sovet{background-image:url("http://i.oldbk.com/i/world_map2/11_sovet_end.jpg");}#page-wrapper .map-block .map-block-logo.tma{background-image:url("http://i.oldbk.com/i/world_map2/12_tma_logo.jpg");}#page-wrapper .map-block .map-block-mid.tma{background-image:url("http://i.oldbk.com/i/world_map2/12_tma_bgx.jpg");}#page-wrapper .map-block .map-block-right.tma{background-image:url("http://i.oldbk.com/i/world_map2/12_tma_end.jpg");}#page-wrapper .map-block .map-block-logo.tma2{background-image:url("http://i.oldbk.com/i/world_map2/12_tma_logo2.jpg");}#page-wrapper .map-block .map-block-mid.tma2{background-image:url("http://i.oldbk.com/i/world_map2/12_tma_bgx.jpg");}#page-wrapper .map-block .map-block-right.tma2{background-image:url("http://i.oldbk.com/i/world_map2/12_tma_end.jpg");}#page-wrapper .map-block .map-block-logo.netral{background-image:url("http://i.oldbk.com/i/world_map2/13_netral_logo.jpg");}#page-wrapper .map-block .map-block-mid.netral{background-image:url("http://i.oldbk.com/i/world_map2/13_netral_bgx.jpg");}#page-wrapper .map-block .map-block-right.netral{background-image:url("http://i.oldbk.com/i/world_map2/13_netral_end.jpg");}#page-wrapper .map-block .map-block-logo.netral2{background-image:url("http://i.oldbk.com/i/world_map2/13_netral_logo2.jpg");}#page-wrapper .map-block .map-block-mid.netral2{background-image:url("http://i.oldbk.com/i/world_map2/13_netral_bgx.jpg");}#page-wrapper .map-block .map-block-right.netral2{background-image:url("http://i.oldbk.com/i/world_map2/13_netral_end.jpg");}#page-wrapper .map-block .map-block-logo.svet{background-image:url("http://i.oldbk.com/i/world_map2/14_svet_logo.jpg");}#page-wrapper .map-block .map-block-mid.svet{background-image:url("http://i.oldbk.com/i/world_map2/14_svet_bgx.jpg");}#page-wrapper .map-block .map-block-right.svet{background-image:url("http://i.oldbk.com/i/world_map2/14_svet_end.jpg");}#page-wrapper .map-block .map-block-logo.svet2{background-image:url("http://i.oldbk.com/i/world_map2/14_svet_logo2.jpg");}#page-wrapper .map-block .map-block-mid.svet2{background-image:url("http://i.oldbk.com/i/world_map2/14_svet_bgx.jpg");}#page-wrapper .map-block .map-block-right.svet2{background-image:url("http://i.oldbk.com/i/world_map2/14_svet_end.jpg");}#page-wrapper .map-block .map-block-logo.buduar{background-image:url("http://i.oldbk.com/i/world_map2/15_buduar_logo.jpg");}#page-wrapper .map-block .map-block-mid.buduar{background-image:url("http://i.oldbk.com/i/world_map2/15_buduar_bgx.jpg");}#page-wrapper .map-block .map-block-right.buduar{background-image:url("http://i.oldbk.com/i/world_map2/15_buduar_end.jpg");}#page-wrapper .map-block .map-block-logo.clanwars{background-image:url("http://i.oldbk.com/i/world_map2/16_clanwars_logo.jpg");}#page-wrapper .map-block .map-block-mid.clanwars{background-image:url("http://i.oldbk.com/i/world_map2/16_clanwars_bgx.jpg");}#page-wrapper .map-block .map-block-right.clanwars{background-image:url("http://i.oldbk.com/i/world_map2/16_clanwars_end.jpg");}.ahint{COLOR:#000080;TEXT-DECORATION:none}#hint2{VISIBILITY:hidden;z-index:100;WIDTH:140px;POSITION:absolute;BACKGROUND-COLOR:#fff6dd;layer-background-color:#FFF6DD}#hint3{VISIBILITY:hidden;z-index:100;WIDTH:240px;POSITION:absolute;BACKGROUND-COLOR:;layer-background-color:#FFF6DD} \ No newline at end of file diff --git a/css/newstyle_loc4.css b/css/newstyle_loc4.css new file mode 100644 index 0000000..49686fe --- /dev/null +++ b/css/newstyle_loc4.css @@ -0,0 +1 @@ +body{margin:0;background-color:#E2E0E1;}.a_strong a{font-weight:bold;}body#arenda-body{background-color:#e0e0e0;}#page-wrapper table td{padding:5px;vertical-align:top;}#page-wrapper ul{padding:0;margin:0;list-style:none;}#page-wrapper .money{color:#428f21;}#page-wrapper a{text-decoration:none;color:#003585;}#page-wrapper{font-family:Tahoma;padding:10px;font-size:13px;}#page-wrapper .mhint{color:#878787;font-style:italic;font-size:11px;}#page-wrapper .size11{font-size:11px;}#page-wrapper .date{FONT-WEIGHT:normal;FONT-SIZE:8pt;COLOR:#007000;FONT-FAMILY:Courier;TEXT-DECORATION:none;display:inline-block;}#page-wrapper .center{text-align:center;}#page-wrapper .title{text-align:center;}#page-wrapper .title .h3{display:inline-block;FONT-WEIGHT:bold;FONT-SIZE:12pt;COLOR:#8f0000;FONT-FAMILY:Arial;}#page-wrapper input{height:12px;padding:1px;font-size:11px;}#page-wrapper .date{margin-right:5px;}#page-wrapper ul li{padding:5px;}#page-wrapper .info{font-size:13px;font-weight:bold;margin:10px 0;}#buttons{height:25px;float:right;}.clearfix:after{content:".";visibility:hidden;display:block;height:0;clear:both;}#page-wrapper .btn{font-family:MS Sans Serif;font-size:10px;text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;font-weight:normal;user-select:none;display:inline-block;line-height:10px\0/;}#page-wrapper .btn{display:inline-block;}#page-wrapper .button-dark-mid{padding-top:4px;cursor:pointer;width:75px;height:15px;font-size:10px;background:url("http://i.oldbk.com/i/images/buttons/darkButton_mid_Sprite.jpg") no-repeat 0 -19px;}#page-wrapper .button-dark-mid:hover{background:url("http://i.oldbk.com/i/images/buttons/darkButton_mid_Sprite.jpg") no-repeat 0 -38px;}#page-wrapper .button-dark-mid:active{background:url("http://i.oldbk.com/i/images/buttons/darkButton_mid_Sprite.jpg") 0 0;}#page-wrapper .button-mid{padding-top:4px;cursor:pointer;width:75px;height:15px;font-size:10px;background:url("http://i.oldbk.com/i/images/buttons/button_mid_Sprite.jpg") no-repeat 0 -19px;}#page-wrapper .button-mid:hover{background:url("http://i.oldbk.com/i/images/buttons/button_mid_Sprite.jpg") no-repeat 0 -38px;}#page-wrapper .button-mid:active{background:url("http://i.oldbk.com/i/images/buttons/button_mid_Sprite.jpg") 0 0;}#page-wrapper .button-big{padding-top:4px;cursor:pointer;width:114px;height:15px;font-size:10px;background:url("http://i.oldbk.com/i/images/buttons/button_big_Sprite.jpg") no-repeat 0 -19px;}#page-wrapper .button-big:hover{background:url("http://i.oldbk.com/i/images/buttons/button_big_Sprite.jpg") no-repeat 0 -38px;}#page-wrapper .button-big:active{background:url("http://i.oldbk.com/i/images/buttons/button_big_Sprite.jpg") no-repeat 0 0;}#page-wrapper .button-sbig{padding-top:4px;cursor:pointer;width:180px;height:15px;font-size:10px;background:url("http://i.oldbk.com/i/images/buttons/button_cp_exit_sprite.jpg") no-repeat 0 -19px;}#page-wrapper .button-sbig:hover{background:url("http://i.oldbk.com/i/images/buttons/button_cp_exit_sprite.jpg") no-repeat 0 -38px;}#page-wrapper .button-sbig:active{background:url("http://i.oldbk.com/i/images/buttons/button_cp_exit_sprite.jpg") no-repeat 0 0;}#page-wrapper a.btn{color:black;}#page-wrapper table tr.hidden td{display:none;}#page-wrapper table tr td.sub-title{font-weight:bold;color:#8f0000;}#page-wrapper table tr.head-line{position:relative;text-align:center;padding:0;height:28px;background-image:url("http://i.oldbk.com/i/images/ristal/spoiler_bg.jpg");}#page-wrapper table tr.head-line th{padding:0;position:relative;font-size:13px;}#page-wrapper table tr.head-line th .head-left{background-image:url("http://i.oldbk.com/i/images/ristal/spoiler_left.jpg");float:left;width:8px;height:28px;background-repeat:no-repeat;}#page-wrapper table tr.head-line th .head-title{position:absolute;padding-left:12px;line-height:26px;}#page-wrapper table tr.head-line th .head-title.p{padding-left:0;width:100%;margin-left:-7px;}#page-wrapper table tr.head-line th .head-title a{color:black;}#page-wrapper table tr.head-line th .head-title a:hover,#page-wrapper table tr.head-line th .head-title a.active{color:#8f0000;}#page-wrapper table tr.head-line th .head-separate{background:url("http://i.oldbk.com/i/images/ristal/razdelitel.jpg") no-repeat;float:right;width:12px;height:28px;}#page-wrapper table tr.head-line th .spoiler{margin-top:8px;}#page-wrapper table tr.head-line th .head-right{background:url("http://i.oldbk.com/i/images/ristal/spoiler_right.jpg") no-repeat;float:right;width:8px;height:28px;}#page-wrapper table{width:100%;table-layout:fixed;}#page-wrapper table.table{margin-bottom:10px;}#page-wrapper table.table>tbody>tr>td{border-bottom:1px solid #a3a3a3;}#page-wrapper table.table>tbody>tr>td:first-child{border-left:1px solid #a3a3a3;}#page-wrapper table.table>tbody>tr>td:last-child{border-right:1px solid #a3a3a3;}#page-wrapper table.border>tbody>tr>td{border-right:1px solid #a3a3a3;}#page-wrapper table.border>tbody>tr:first-child td{border-top:1px solid #a3a3a3;}#page-wrapper table tr.title{background-color:#a3a3a3;}#page-wrapper table tr.even{background-color:#e8e8e8;}#page-wrapper table tr.odd{background-color:#f0f0f0;}#page-wrapper table tr.even2{background-color:#C7C7C7;}#page-wrapper table tr.odd2{background-color:#D5D5D5;}#page-wrapper .spoiler{width:17px;height:10px;background-repeat:no-repeat;display:block;}#page-wrapper .spoiler.right{float:right;}#page-wrapper .spoiler-down{background-image:url("http://i.oldbk.com/i/images/buttons/btt2.png");}#page-wrapper .spoiler-down:hover{background-image:url("http://i.oldbk.com/i/images/buttons/btt3.png");}#page-wrapper .spoiler-up{background-image:url("http://i.oldbk.com/i/images/buttons/btt1b.png");}#page-wrapper .spoiler-up:hover{background-image:url("http://i.oldbk.com/i/images/buttons/btt3b.png");}#page-wrapper #filter td{padding:5px 0;}#page-wrapper .hint-block{background-color:#ededed;border:1px solid #bfbfbf;padding:10px;width:100%;}#page-wrapper #filter td.filter-title{background-color:#ebebeb;color:#595959;font-weight:bold;padding-left:5px;}#page-wrapper #filter td.filter-item ul{margin-left:10px;}#page-wrapper #filter td.filter-item li{padding:0;font-weight:bold;}#page-wrapper .pagination{display:inline-block;}#page-wrapper .pagination li{float:left;font-weight:bold;padding:0;margin-right:4px;}#page-wrapper .dress-item{margin-left:5px;}#page-wrapper .dress-item li{padding:1px;}#page-wrapper .auth-block{position:relative;background:url('http://i.oldbk.com/i/images/bank_aut_PNG.png') no-repeat;width:275px;height:102px;margin:0 auto;}#page-wrapper .auth-block .inner-auth{position:absolute;left:65px;top:20px;}#page-wrapper .auth-block .inner-auth .auth-num select{width:159px;}#page-wrapper .auth-block .inner-auth .auth-pass{margin-top:5px;}#page-wrapper .auth-block .inner-auth .auth-pass input{width:120px;}#page-wrapper .auth-block .inner-auth .enter{margin-top:10px;}#page-wrapper .auth-block .hint-block{position:absolute;top:115px;width:253px;color:#5c5c5c;}#page-wrapper .profile-stats{background-color:#eaeaea;border:1px solid #aaaaaa;margin-bottom:10px;}#page-wrapper .profile-stats>tbody>tr>td{padding:10px;}#page-wrapper .profile-stats .profile{border:1px solid #aaaaaa;}#page-wrapper .profile-stats .profile .active{color:red;}#page-wrapper .profile-stats .profile th{border-right:1px solid #aaaaaa;background-color:#f0f0f0;padding:4px;}#page-wrapper .profile-stats .profile th:last-child,#page-wrapper .profile-stats .profile td:last-child{border-right:0;}#page-wrapper .profile-stats .profile td{border-top:1px solid #aaaaaa;border-right:1px solid #aaaaaa;}#page-wrapper .profile-stats .profile td a{font-weight:bold;}#page-wrapper .profile-stats .stats{background-color:#f0f0f0;}#page-wrapper .profile-stats .stats input{width:30px;}#board{width:1120px;margin:0 auto;position:relative;}#board .clear{clear:both;}#board img.bg{position:absolute;z-index:-1;}#board .wrapp{width:380px;margin:0 auto;padding-top:68px;}#board .wrapp .buttons{position:relative;height:20px;}#board .wrapp .buttons #other,#board .wrapp .buttons #castle{cursor:pointer;}#board .wrapp .buttons #other{background-image:url("http://i.oldbk.com/i/images/doska/vse_norm.png");width:80px;height:15px;float:left;}#board .wrapp .buttons #other:hover,#board .wrapp .buttons #other.active{background-image:url("http://i.oldbk.com/i/images/doska/vse_hover.png");}#board .wrapp .buttons #castle{background-image:url("http://i.oldbk.com/i/images/doska/zamk_norm.png");width:54px;height:14px;float:right;margin-right:20px;}#board .wrapp .buttons #castle:hover,#board .wrapp .buttons #castle.active{background-image:url("http://i.oldbk.com/i/images/doska/zamk_hover.png");}#board .wrapp .content{margin-left:-35px;}#board .wrapp .content .separator{background-image:url("http://i.oldbk.com/i/images/doska/razdelitel.png");width:243px;height:19px;margin:0 auto;}#board .wrapp .content ul{margin:0;padding:0;list-style:none;}#board .wrapp .content ul li{font-size:11px;font-weight:bold;color:#8f0000;line-height:14px;padding:0;}#board .wrapp .content ul li.title{font-size:12px;color:black;padding:3px 0;}#board .wrapp .content ul li div.larena{text-align:right;display:inline-block;color:black;width:120px;}#board .wrapp .content .tab{display:none;}#board .wrapp .content .tab.active{display:block;}#ristal{min-width:1150px;}#page-wrapper #ristal td.bg,#page-wrapper #ristal td.bg2{min-height:360px;}#page-wrapper #ristal td.bg{background:url("http://i.oldbk.com/i/images/ristal/bg_solo80.jpg") no-repeat center top;}#page-wrapper #ristal td.bg2{background:url("http://i.oldbk.com/i/images/ristal/bg_groups80.jpg") no-repeat center top;}#page-wrapper #ristal .top10{display:none;}#page-wrapper #ristal .top10.active{display:block;}#page-wrapper #ristal .top10 div{display:inline-block;}#page-wrapper #ristal .top10 .num{width:20px;text-align:right;}#page-wrapper #ristal .top10 .win{width:80px;}#page-wrapper #ristal .top10-tab.active{cursor:default;color:#000!important;}#page-wrapper #ristal .top-info{margin:10px 0;}#page-wrapper #ristal .top-info a{vertical-align:top;margin-top:4px;}#page-wrapper #ristal table tr.head-line th .head-title a,#page-wrapper #ristal table tr.head-line th .head-title a:hover{color:#003585;}#page-wrapper #znahar .auth-block{margin-top:20px;}#page-wrapper #znahar .stats td{padding:2px;}#page-wrapper #znahar ul.ability-block{padding-left:50px;}#page-wrapper #znahar ul.ability-block .ability,#page-wrapper #znahar ul.ability-block .description{float:left;vertical-align:top;}#page-wrapper #znahar ul.ability-block .ability{width:45px;margin-right:5px;margin-left:-50px;}#page-wrapper #znahar ul.ability-block .ability a{opacity:0.4;filter:alpha(opacity=40);}#page-wrapper #znahar ul.ability-block .ability>img{opacity:1;filter:alpha(opacity=100);}#page-wrapper #arenda .content-block{width:700px;margin:0 auto;}#page-wrapper #arenda .content-block .title{font-weight:bold;color:#003585;margin-bottom:30px;}#page-wrapper #arenda .content-block .desc-item{margin-bottom:20px;}#page-wrapper #aukcion #filter .hint-block{padding:3px;}#page-wrapper #prokat>table{background:url("http://i.oldbk.com/i/images/prokat/prokat_bg.jpg") no-repeat right top;min-height:390px;}#page-wrapper #prokat #auth{padding:20px;padding-left:40px;padding-top:0;}#page-wrapper #prokat #auth .hint-block{margin-top:15px;padding:5px 20px;width:232px;}#page-wrapper #shop .filter .head-title{right:20px;top:1px;}#page-wrapper #shop .filter .head-title select{height:18px;width:200px;}#page-wrapper #shop #filter .hint-block{padding:5px 20px;}#ruins{min-width:1410px;}#page-wrapper #ruins td.bg{background:url("http://i.oldbk.com/i/images/ruins/ruins_bg_illustration.jpg") no-repeat right top;min-height:360px;}#page-wrapper #ruins .hint-block{padding:5px 10px;}#page-wrapper #loto{min-width:1260px;max-width:1260px;margin:0 auto;}#page-wrapper #loto .relative{position:relative;}#page-wrapper #loto .date{font-weight:bold;display:inline-block;font-family:Tahoma;}#page-wrapper #loto #top-block-left{position:relative;width:640px;height:445px;background:url("http://i.oldbk.com/i/images/loto/Loto_BG1_Q85%25.jpg") no-repeat;}#page-wrapper #loto #top-block-left #right-info{right:75px;position:absolute;top:72px;width:260px;height:115px;overflow:hidden;}#page-wrapper #loto #top-block-left #right-info .next{padding-left:35px;text-align:center;}#page-wrapper #loto #top-block-left #right-info .next-info{position:absolute;top:30px;}#page-wrapper #loto #top-block-left #right-info .next-info li{padding:1px;}#page-wrapper #loto #top-block-left #choose-numbers{position:absolute;top:265px;right:117px;width:140px;}#page-wrapper #loto #top-block-left #choose-numbers table{border:2px solid #d9bb9e;width:114px;height:90px;margin:0 auto;}#page-wrapper #loto #top-block-left #choose-numbers table td{padding:2px;text-align:center;border-bottom:2px solid #d9bb9e;border-right:2px solid #d9bb9e;font-weight:bold;font-size:12px;cursor:pointer;}#page-wrapper #loto #top-block-left #choose-numbers table td.active{background-color:#810e09;color:white;}#page-wrapper #loto #top-block-left #choose-numbers table td:last-child{border-right:0;}#page-wrapper #loto #top-block-left #choose-numbers table tr:last-child td{border-bottom:0;}#page-wrapper #loto #top-block-left #choose-numbers .buy{position:absolute;top:140px;right:19px;font-weight:bold;}#page-wrapper #loto #top-block-left #choose-numbers .buy a,#page-wrapper #loto #top-block-left #choose-numbers .buy a:hover{color:#8f0000;}#page-wrapper #loto #top-block-left #bottom-info{position:absolute;top:234px;left:30px;width:275px;overflow:hidden;height:110px;}#page-wrapper #loto #top-block-left #bottom-info .check-input span{color:#8f0000;font-weight:bold;}#page-wrapper #loto #top-block-left #bottom-info .check-input input{width:35px;height:11px;}#page-wrapper #loto #top-block-left #bottom-info .check-info{position:absolute;top:34px;left:32px;}#page-wrapper #loto #top-block-left #bottom-info .check-info li{padding:1px;}#page-wrapper #loto #top-block-left #loto-numbers{position:absolute;top:187px;left:70px;font-weight:bold;}#page-wrapper #loto #top-block-left #loto-numbers #n1{width:23px;text-align:center;}#page-wrapper #loto #top-block-left #loto-numbers #n2{top:0;left:42px;position:absolute;width:23px;text-align:center;}#page-wrapper #loto #top-block-left #loto-numbers #n3{position:absolute;top:0;left:84px;width:23px;text-align:center;}#page-wrapper #loto #top-block-left #loto-numbers #n4{position:absolute;left:125px;top:0;width:23px;text-align:center;}#page-wrapper #loto #top-block-left #loto-numbers #n5{position:absolute;top:0;left:168px;text-align:center;width:23px;}#page-wrapper #loto #top-block-left #bottom-stats{position:absolute;top:367px;left:11px;width:307px;}#page-wrapper #loto #top-block-left #bottom-stats .stats li{padding:1px;}#page-wrapper #loto #top-block-left #bottom-stats .stats #show-stats{vertical-align:middle;padding:0;}#page-wrapper #loto #top-block-left #bottom-stats .stats #show-stats a{display:block;background:url("http://i.oldbk.com/i/images/loto/stat_norm.jpg");width:49px;height:34px;}#page-wrapper #loto #top-block-left #bottom-stats .stats #show-stats a:hover{background:url("http://i.oldbk.com/i/images/loto/stat_hover.jpg");}#page-wrapper #loto #top-block-left #stats-table{position:absolute;top:450px;left:10px;width:570px;overflow:hidden;display:none;}#page-wrapper #loto #top-block-left #stats-table table{border:2px solid #aaaaaa;}#page-wrapper #loto #top-block-left #stats-table table th{background-color:#f0f0f0;padding:5px;font-weight:normal;border-right:2px solid #aaaaaa;}#page-wrapper #loto #top-block-left #stats-table table th:last-child{border-right:0;}#page-wrapper #loto #top-block-left #stats-table table td{border-top:2px solid #aaaaaa;border-right:2px solid #aaaaaa;text-align:center;vertical-align:middle;}#page-wrapper #loto #top-block-left #stats-table table td:last-child{border-right:0;}#page-wrapper #loto #top-block-left #stats-table table td.win{padding:13px 0;}#page-wrapper #loto #top-block-right{position:relative;width:100%;height:290px;background:url("http://i.oldbk.com/i/images/loto/Loto_BG2_Q85%25.jpg") no-repeat right top;}#page-wrapper #loto #top-block-right #next-info-right{position:absolute;right:135px;top:172px;}#page-wrapper #loto #top-block-right li{padding:1px;}#page-wrapper #loto #top-block-right #info-right{width:538px;position:absolute;right:50px;top:265px;}#page-wrapper #loto #top-block-right #info-right .hint-block{width:515px;}#page-wrapper #loto #top-block-right #info-right .date{font-weight:normal;font-style:italic;}#page-wrapper #loto #top-block-right table .head-title{font-weight:normal;}.ahint{FONT-SIZE:8px;COLOR:#000080;FONT-FAMILY:MS Sans Serif;TEXT-DECORATION:none}#hint2{VISIBILITY:hidden;WIDTH:140px;POSITION:absolute;BACKGROUND-COLOR:#fff6dd;layer-background-color:#FFF6DD}#hint3{VISIBILITY:hidden;WIDTH:240px;POSITION:absolute;BACKGROUND-COLOR:#fff6dd;layer-background-color:#FFF6DD} \ No newline at end of file diff --git a/css/rating.css b/css/rating.css new file mode 100644 index 0000000..da15dcd --- /dev/null +++ b/css/rating.css @@ -0,0 +1,87 @@ +BODY { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +TD { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +OL { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +UL { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +LI { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +P { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +}.inup { + + BORDER-RIGHT: #302F2A 1px double; BORDER-TOP: #302F2A 1px double; FONT-SIZE: 8pt; BORDER-LEFT: #302F2A 1px double; COLOR: #000000; BORDER-BOTTOM: #302F2A 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #DED7BD +} +.text { + FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +H3 { + FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #8f0000; FONT-FAMILY: Arial; TEXT-ALIGN: center +} +H4 { + FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN-BOTTOM: 5px; COLOR: #8f0000; FONT-FAMILY: Arial +} +A:link { + FONT-WEIGHT: normal; COLOR: #524936; TEXT-DECORATION: none +} +A:visited { + FONT-WEIGHT: normal; COLOR: #633525; TEXT-DECORATION: none +} +A:active { + FONT-WEIGHT: normal; COLOR: #77684d; TEXT-DECORATION: none +} +A:hover { + COLOR: #68727B; TEXT-DECORATION: underline +} +.date { + FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #007000; FONT-FAMILY: Courier; TEXT-DECORATION: none +} +.dsc { + FONT-WEIGHT: normal; COLOR: #606060 +} +SELECT { + BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif +} +TEXTAREA { + BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif +} +INPUT { + BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif +} +.pagetknum { + PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; COLOR: #6f0000; PADDING-TOP: 0px; TEXT-DECORATION: underline +} +.pagenum A:link { + PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px +} +.pagenum A:visited { + PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px +} +.pagenum A:active { + PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px +} +.pagenum A:hover { + PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px; BACKGROUND-COLOR: white +} +.pleft { + PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 7px; MARGIN: 0px; PADDING-TOP: 3px +} +.pages { + BACKGROUND-COLOR: #ffefbf +} +IMG { + BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px +} +TABLE { + BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px +} +.btn { + BORDER-RIGHT: #817a63 1px double; BORDER-TOP: #817a63 1px double; FONT-SIZE: 7.5pt; BORDER-LEFT: #817a63 1px double; COLOR: #dfddd3; BORDER-BOTTOM: #817a63 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #2b2b18 +} \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..ea1543f --- /dev/null +++ b/css/style.css @@ -0,0 +1,54 @@ +body { +margin: 0px; +padding: 0px; +width:100%; + +font-family: Arial; +font-size: 9px; +} + +table { +border-collapse: collapse; +} + +td { +margin: 0em; +padding: 0em; +} + +img { +border:0px; +} + +#corners { +background: url(images/4.jpg) center top no-repeat; +} + +A:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;} +A:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;} +A:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;} + +.form { +background-color: #5B0200; +color: #000000; +border: 1px solid #6F4B3F; +font-family: Verdana, Arial, Helvetica, sans-serif; +color: #DAA43A; +font-size: 11px; +width: 89px; +height: 18px; +text-align: left; +position: inherit; +padding-bottom: 0px; +} + +hr { +background : #fddd00; +border-top : 1px solid #fddd00; +color : #fddd00; +height : 2px +} + + + + diff --git a/css/tooltip.css b/css/tooltip.css new file mode 100644 index 0000000..ce68757 --- /dev/null +++ b/css/tooltip.css @@ -0,0 +1,15 @@ +#tiptip_holder { display: none; position: absolute; top: 0; left: 0; z-index: 99999; } +#tiptip_holder.tip_top { padding-bottom: 5px; } +#tiptip_holder.tip_bottom { padding-top: 5px; } +#tiptip_holder.tip_left { padding-right: 5px;} +#tiptip_content { font-size: 11px; color: #000; text-shadow: 0 0 2px #fff; padding: 4px 8px; border: 1px solid rgba(255,255,255,0.25); background: #fff; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; box-shadow: 0 0 3px #555; -webkit-box-shadow: 0 0 3px #555; -moz-box-shadow: 0 0 3px #555; } +#tiptip_arrow, #tiptip_arrow_inner { position: absolute; border-color: transparent; border-style: solid; border-width: 6px; height: 0; width: 0; } +#tiptip_holder.tip_top #tiptip_arrow { border-top-color: #fff; border-top-color: rgba(255,255,255,0.35); } +#tiptip_holder.tip_bottom #tiptip_arrow { border-bottom-color: #fff; border-bottom-color: rgba(255,255,255,0.35); } +#tiptip_holder.tip_right #tiptip_arrow { border-right-color: #fff; border-right-color: rgba(255,255,255,0.35); } +#tiptip_holder.tip_left #tiptip_arrow { border-left-color: #fff; border-left-color: rgba(255,255,255,0.35); } +#tiptip_holder.tip_top #tiptip_arrow_inner { margin-top: -7px; margin-left: -6px; border-top-color: rgb(25,25,25); border-top-color: rgba(25,25,25,0.92); } +#tiptip_holder.tip_bottom #tiptip_arrow_inner { margin-top: -5px; margin-left: -6px; border-bottom-color: rgb(25,25,25); border-bottom-color: rgba(25,25,25,0.92); } +#tiptip_holder.tip_right #tiptip_arrow_inner { margin-top: -6px; margin-left: -5px; border-right-color: rgb(25,25,25); border-right-color: rgba(25,25,25,0.92); } +#tiptip_holder.tip_left #tiptip_arrow_inner { margin-top: -6px; margin-left: -7px; border-left-color: rgb(25,25,25); border-left-color: rgba(25,25,25,0.92); } +.txt { font-style: italic; } \ No newline at end of file diff --git a/css/wysibb/theme/default/img/icons.png b/css/wysibb/theme/default/img/icons.png new file mode 100644 index 0000000..ebd0fb0 Binary files /dev/null and b/css/wysibb/theme/default/img/icons.png differ diff --git a/css/wysibb/theme/default/img/imgpreview.png b/css/wysibb/theme/default/img/imgpreview.png new file mode 100644 index 0000000..e6dfd6d Binary files /dev/null and b/css/wysibb/theme/default/img/imgpreview.png differ diff --git a/css/wysibb/theme/default/img/loader.gif b/css/wysibb/theme/default/img/loader.gif new file mode 100644 index 0000000..86ac73c Binary files /dev/null and b/css/wysibb/theme/default/img/loader.gif differ diff --git a/css/wysibb/theme/default/img/smiles/sm1.png b/css/wysibb/theme/default/img/smiles/sm1.png new file mode 100644 index 0000000..c505e40 Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm1.png differ diff --git a/css/wysibb/theme/default/img/smiles/sm2.png b/css/wysibb/theme/default/img/smiles/sm2.png new file mode 100644 index 0000000..7984555 Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm2.png differ diff --git a/css/wysibb/theme/default/img/smiles/sm3.png b/css/wysibb/theme/default/img/smiles/sm3.png new file mode 100644 index 0000000..23ce561 Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm3.png differ diff --git a/css/wysibb/theme/default/img/smiles/sm4.png b/css/wysibb/theme/default/img/smiles/sm4.png new file mode 100644 index 0000000..e412c94 Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm4.png differ diff --git a/css/wysibb/theme/default/img/smiles/sm5.png b/css/wysibb/theme/default/img/smiles/sm5.png new file mode 100644 index 0000000..a3e54cd Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm5.png differ diff --git a/css/wysibb/theme/default/img/smiles/sm6.png b/css/wysibb/theme/default/img/smiles/sm6.png new file mode 100644 index 0000000..cf50bc0 Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm6.png differ diff --git a/css/wysibb/theme/default/img/smiles/sm7.png b/css/wysibb/theme/default/img/smiles/sm7.png new file mode 100644 index 0000000..384ba2b Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm7.png differ diff --git a/css/wysibb/theme/default/img/smiles/sm8.png b/css/wysibb/theme/default/img/smiles/sm8.png new file mode 100644 index 0000000..f7c7573 Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm8.png differ diff --git a/css/wysibb/theme/default/img/smiles/sm9.png b/css/wysibb/theme/default/img/smiles/sm9.png new file mode 100644 index 0000000..dab7454 Binary files /dev/null and b/css/wysibb/theme/default/img/smiles/sm9.png differ diff --git a/css/wysibb/theme/default/img/vert.png b/css/wysibb/theme/default/img/vert.png new file mode 100644 index 0000000..5a576ea Binary files /dev/null and b/css/wysibb/theme/default/img/vert.png differ diff --git a/css/wysibb/theme/default/img/wysibb.png b/css/wysibb/theme/default/img/wysibb.png new file mode 100644 index 0000000..0c689fa Binary files /dev/null and b/css/wysibb/theme/default/img/wysibb.png differ diff --git a/css/wysibb/theme/default/wbbtheme.css b/css/wysibb/theme/default/wbbtheme.css new file mode 100644 index 0000000..ef7f184 --- /dev/null +++ b/css/wysibb/theme/default/wbbtheme.css @@ -0,0 +1,913 @@ +/* wysibb */ +@font-face { + font-family: 'WysiBBiconFont'; + src: url('../fonts/WysiBBiconFontAH.eot'); + src: url('../fonts/WysiBBiconFontAH.eot?#iefix') format('embedded-opentype'), url('../fonts/WysiBBiconFontAH.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +html { + height: 100% !important; +} + +.wysibb-body { + overflow-x: hidden +} + +.wysibb-body ul, ol { + padding: 0 0 0 30px +} + +.wysibb { + margin: 0 0 15px 0 !important; + border: 1px solid #ddd; + position: relative; + background: #fff; + font-family: Arial, Verdana, Tahoma; + font-size: 12px; + width: 600px; +} + +.wysibb-texarea { + border: none !important; + margin: 0 !important; + outline: none !important; + padding: 0 !important; + width: 100% !important; +} + +/* TOOLBAR */ +.wysibb .wysibb-toolbar { + background: #f4f4f4; + + background-image: linear-gradient(bottom, #eee 50%, #fafafa 100%); + background-image: -o-linear-gradient(bottom, #eee 50%, #fafafa 100%); + background-image: -moz-linear-gradient(bottom, #eee 50%, #fafafa 100%); + background-image: -webkit-linear-gradient(bottom, #eee 50%, #fafafa 100%); + background-image: -ms-linear-gradient(bottom, #eee 50%, #fafafa 100%); + +} + +.wysibb .wysibb-toolbar { + border-bottom: 1px solid #ddd; + position: relative; + padding: 0 60px 0 4px; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container { + margin: 4px 4px 4px 0; + border-right: 1px solid #ddd; + padding: 0 8px 0 4px; + display: inline-block; + *display: inline; + zoom: 1; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn { + display: inline-block; + *display: inline; + zoom: 1; + height: 24px; + min-width: 24px; + position: relative; + vertical-align: middle; + padding: 0px 1px; + cursor: pointer; + margin: 0 0 0 1px; + font-size: 12px; + border: 1px solid transparent; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .dis, .wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.dis:hover { + opacity: 0.3; + cursor: default; + overflow: hidden; + border: 0; + padding: 1px 2px; + background: transparent; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.on, .wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.on:hover { + background: #ccc; + padding: 0px 1px; + box-shadow: inset 0px 0px 3px #aaa; + border: 1px solid #999; + border-radius: 3px; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn span.btn-inner { + display: block; + height: 20px; + min-width: 20px; + margin: 2px; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn span.btn-tooltip { + display: none; + background: #333; + border: 1px solid #fff; + position: absolute; + line-height: 20px; + font-size: 11px; + padding: 3px 10px; + bottom: 30px; + left: 0; + color: #fff; + border-radius: 3px; + white-space: nowrap; + z-index: 10000; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn span.btn-tooltip ins { + width: 0; + height: 0; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-top: 10px solid #333; + position: absolute; + bottom: -5px; + left: 3px; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn span.btn-text { + text-transform: uppercase; + font-family: sans-serif, Verdana, Tahoma; + font-weight: bold; + line-height: 20px; + text-align: center; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn:hover { + padding: 0px 1px; + border: 1px solid #bbb; + /* box-shadow:-1px 1px 1px #aaa; */ + border-radius: 3px; + background: #fff; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn:hover span.btn-tooltip { + display: block; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn .fonticon { + color: #333; + font-family: 'WysiBBiconFont'; + font-size: 18px; + line-height: 20px; + text-shadow: 0px 1px 0px #fff; + text-align: center; + /* -webkit-font-smoothing: antialiased; */ + speak: none; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn:hover .fonticon { + color: #000; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.on .fonticon { + text-shadow: none; + color: #000; +} + +.wysibb .wysibb-toolbar .modeSwitch { + text-align: center; + position: absolute; + right: 0; + top: 0px; + border: 0; +} + +.wysibb .wysibb-toolbar .modeSwitch .wysibb-toolbar-btn { + /* width:46px; */ +} + +.modesw { + font-weight: bold; + font-size: 0.9em; + line-height: 20px; + text-align: center; + display: block; +} + +.ve-tlb-bold { + background: url(./img/icons.png) 0 0 no-repeat; + width: 20px; +} + +.ve-tlb-italic { + background: url(./img/icons.png) 0 -40px no-repeat; + width: 20px; +} + +.ve-tlb-underline { + background: url(./img/icons.png) 0 -20px no-repeat; + width: 20px; +} + +.ve-tlb-strike { + background: url(./img/icons.png) 0 -120px no-repeat; + width: 20px; +} + +.ve-tlb-link { + background: url(./img/icons.png) 0 -80px no-repeat; + width: 20px; +} + +.ve-tlb-unlink { + background: url(./img/icons.png) 0 -100px no-repeat; + width: 20px; +} + +.ve-tlb-img { + background: url(./img/icons.png) 0 -60px no-repeat; + width: 20px; +} + +.ve-tlb-quote { + background: url(./img/icons.png) 0 -140px no-repeat; + width: 20px; +} + +.ve-tlb-spoiler { + background: url(./img/icons.png) 0 -160px no-repeat; + width: 20px; +} + +.ve-tlb-list { + background: url(./img/icons.png) 0 -180px no-repeat; + width: 20px; +} + +.ve-tlb-bbcode { + background: url(./img/icons.png) 0 -200px no-repeat; + width: 40px !important; + margin: 1px auto !important; + height: 20px; +} + +.ve-tlb-numlist { + background: url(./img/icons.png) 0 -220px no-repeat; + width: 20px; +} + +.ve-tlb-textleft { + background: url(./img/icons.png) 0 -240px no-repeat; + width: 20px; +} + +.ve-tlb-textcenter { + background: url(./img/icons.png) 0 -260px no-repeat; + width: 20px; +} + +.ve-tlb-textright { + background: url(./img/icons.png) 0 -280px no-repeat; + width: 20px; +} + +.ve-tlb-offtopic { + background: url(./img/icons.png) 0 -300px no-repeat; + width: 20px; +} + +.ve-tlb-code { + background: url(./img/icons.png) 0 -320px no-repeat; + width: 20px; +} + +.ve-tlb-spoiler { + background: url(./img/icons.png) 0 -340px no-repeat; + width: 20px; +} + +.ve-tlb-sub { + background: url(./img/icons.png) 0 -360px no-repeat; + width: 20px; +} + +.ve-tlb-sup { + background: url(./img/icons.png) 0 -380px no-repeat; + width: 20px; +} + +.ve-tlb-colorpick { + /* background: url(./img/icons.png) 5px -436px; */ + width: 24px; + height: 24px; + line-height: 24px; + text-align: right; +} + +.ve-tlb-table { + background: url(./img/icons.png) 0 -460px; + width: 20px; +} + +.ve-tlb-smilebox { + background: url(./img/icons.png) 0 -480px; + width: 20px; +} + +.ve-tlb-video { + background: url(./img/icons.png) 0 -500px; + width: 20px; +} + +.ve-tlb-removeformat { + background: url(./img/icons.png) 0 -540px; + width: 20px; +} + +.tthotkey { + color: #ddd; + font-size: 9px; +} + +/* END TOOLBAR */ + +/* CONTENT */ +.wysibb-text { + margin: 5px; +} + +.wysibb-text .wysibb-text-iframe { + max-width: 100%; + width: 100%; + margin: 0; +} + +.wysibb-body { + text-align: left; + min-width: 0 !important; + overflow: auto !important; + margin: 0 !important; + padding: 0 !important; +} + +.wysibb-text-editor { + outline: none +} + +.bottom-resize-line { + height: 5px; + cursor: ns-resize; +} + +.bottom-resize-line:hover, .bottom-resize-line.drag { + background: #eee +} + +/* END CONTENT */ + +/* DEFAULT STYLES */ +.codetop { + background: #eee; + border-left: 1px dashed #78c5ed; + border-right: 1px dashed #78c5ed; + border-top: 1px dashed #78c5ed; + border-bottom: 1px solid #ccc; + padding: 2px 5px; +} + +.codemain { + padding: 10px; + background: #f4fbff; + border-left: 1px dashed #78c5ed; + border-right: 1px dashed #78c5ed; + border-bottom: 1px dashed #78c5ed; +} + +.quote { + border: 1px solid #0004e4; + border-left: 3px solid #0004e4; + padding: 15px; + margin-left: 30px; +} + +.quote blockquote { + margin: 0; +} + +.quote-by { + margin-left: 30px; +} + +.wbbtab { + margin-left: 30px; +} + +/* END DEFAULT STYLES */ + +/* DROPDOWN */ +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-dropdown { + padding-right: 10px; + +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-dropdown ins.ar { + display: block; + position: absolute; + right: 3px; + top: 0px; + width: 9px; + height: 24px; + /* background: url(./img/icons.png) -8px -400px; */ + cursor: default; + text-decoration: none; + font-size: 14px; + padding: 0 2px; + line-height: 24px; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-dropdown:hover, .wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-dropdown.on { + padding-right: 10px; + /* background-position: 14px -399px; */ +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-dropdown.dis, .wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-dropdown.dis:hover { + /* padding-right:9px; */ +} + +.wbb-list { + display: none; + position: absolute; + top: 24px; + left: -217px; + border: 1px solid #bbb; + box-shadow: 0px 0px 3px #aaa; + width: 190px; + padding: 5px; + background: #fff; + max-height: 220px; + overflow: auto; + z-index: 1000; +} + +/* END DROPDOWN */ + +/* COLORPICKER */ +.ve-tlb-colorpick .cp-line { + display: block; + position: absolute; + width: 20px; + height: 3px; + background: black; + bottom: 3px; + left: 7px; +} + +.wbb-list .sc { + width: 16px; + height: 16px; + margin: 0 0 1px 1px; + display: inline-block; + *display: inline; + zoom: 1; + cursor: pointer; + border: 1px solid #fff; +} + +.wbb-list .sc:hover { + border: 1px solid #333; +} + +.wbb-list .nc { + height: 24px; + line-height: 24px; + text-align: center; + color: #666; + margin: 0 1px 5px 1px; +} + +.wbb-list .nc:hover { + background: #eee; +} + +.wbb-list .pl { + display: block; + height: 5px; +} + +/* END COLORPICKER */ + +/* TABLE PICKER */ +.tbl-sel { + border: 1px solid #ddd; + position: absolute; + cursor: pointer; +} + +.tbl-sel:hover { + background: #eee; +} + +.wbb-table td { + border: 1px dashed #DDD; + padding: 3px; + margin: 5px; + min-width: 5px; + min-height: 15px; +} + +/* TABLE PICKER */ + +/* SELECT */ +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-select, .wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-select.dis:hover { + width: 100px; + padding: 1px 1px 1px 5px; + border: 1px solid transparent; + background: transparent; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-select:hover { + border: 1px solid #bbb; + background: #fff; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-select.on { + padding: 1px 1px 1px 5px; + border: 1px solid #999; + background: #ccc; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-select .wbb-list { + width: 280px; + padding: 0; + max-height: 250px; +} + +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-select .sar { + display: block; + position: absolute; + right: 3px; + top: 3px; + width: 10px; + height: 22px; + cursor: default; + font-size: 14px; + text-decoration: none; + padding: 0 3px; +} + +.wbb-select .val { + height: 24px; + line-height: 24px; + font-weight: bold; + font-size: 11px; + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + margin-right: 10px; +} + +.wbb-select .option { + display: block; + padding: 3px 10px; + white-space: nowrap; + cursor: pointer; +} + +.wbb-select .option:hover { + background: #dff0ff; +} + +.wbb-select .option.selected { + background: #cce7fe; + border-top: 1px solid #96cdfe; + border-bottom: 1px solid #96cdfe; +} + +/* END SELECT */ + +/* SMILEBOX TOOLBAR */ +.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.wbb-smilebox .wbb-list { + width: 500px; +} + +.smile { + /*width: 16px;*/ + /*height: 16px;*/ + line-height: 20px; + padding: 5px; + display: inline-block; + *display: inline; + zoom: 1; + cursor: pointer; + vertical-align: middle; +} + +.smile img { + /*max-width: 16px;*/ + /*max-height: 16px;*/ + border: #e0e0e0 1px solid; +} + +/* END SMILEBOX TOOLBAR */ + +/* MODAL WINDOW */ +/* thx http://habrahabr.ru/post/148515/ */ +#wbbmodal { + font: 12px/1.2 Arial, Verdana; + position: fixed; + text-align: center; + bottom: 0; + left: 0; + top: 0; + right: 0; + overflow: auto; + -webkit-overflow-scrolling: touch; + background: rgba(255, 255, 255, 0.7); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = #7Fffffff, endColorstr = #7Fffffff); + zoom: 1; + z-index: 1000; +} + +#wbbmodal .wbbm { + background: #fff; + text-align: left; + min-width: 400px; + max-width: 800px; + min-height: 200px; + max-height: 800px; + margin: 50px auto; + border: 1px solid #bbb; + box-shadow: 0px 0px 10px #999; +} + +#wbbmodal .wbbm-title { + color: #333; + position: relative; + padding: 5px 10px; + border-bottom: 1px solid #ccc; +} + +#wbbmodal .wbbm-title .wbbm-title-text { + font-size: 1.6em; + line-height: 2em; + margin: 0; + padding: 0; +} + +#wbbmodal .wbbm-title .wbbclose { + display: block; + text-transform: uppercase; + position: absolute; + right: 15px; + top: 15px; + font-size: 21px; + font-weight: bold; + cursor: pointer; + color: #888; +} + +#wbbmodal .wbbm-title .wbbclose:hover { + color: red; +} + +#wbbmodal .wbbm-content { + /*height:100%*/ +} + +#wbbmodal .wbbm .wbbm-tablist { + width: 160px; + float: left; + padding: 20px 5px; +} + +#wbbmodal .wbbm .wbbm-tablist ul { + list-style-type: none; + padding: 0; + margin: 0; +} + +#wbbmodal .wbbm .wbbm-tablist ul li { + height: 14px; + padding: 10px 10px 10px 20px; + cursor: pointer; + margin: 5px 0; + position: relative; + border-radius: 3px; +} + +#wbbmodal .wbbm .wbbm-tablist ul li.on, #wbbmodal .wbbm .wbbm-tablist ul li.on:hover { + background: #666; + color: #fff; + cursor: default; +} + +#wbbmodal .wbbm .wbbm-tablist ul li:hover { + background: #eee; +} + +#wbbmodal .wbbm-cont { + padding: 20px; + min-height: 100px; +} + +#wbbmodal .wbbm-content { + min-height: 100px; +} + +#wbbmodal .hastabs .wbbm-bottom, #wbbmodal .hastabs .wbbm-cont { + margin-left: 170px; + border-left: 1px solid #ccc; +} + +#wbbmodal .div-modal-text { + min-height: 18px; + border: 1px solid #aaa; + padding: 3px; + line-height: 18px; + max-height: 100px; + overflow: auto; +} + +#wbbmodal .wbbm-bottom { + + border-top: 1px solid #ccc; + + padding: 10px; + background: #f1f1f1; +} + +#wbbmodal button { + display: inline-block; + *display: inline; + zoom: 1; + font-size: 0.9em; + font-weight: bold; +} + +#wbbmodal .wbb-button { + background: #0055e4; + background-image: linear-gradient(bottom, #0054e4 50%, #005fff 67%); + background-image: -o-linear-gradient(bottom, #0054e4 50%, #005fff 67%); + background-image: -moz-linear-gradient(bottom, #0054e4 50%, #005fff 67%); + background-image: -webkit-linear-gradient(bottom, #0054e4 50%, #005fff 67%); + background-image: -ms-linear-gradient(bottom, #0054e4 50%, #005fff 67%); + color: #fff; + line-height: 26px; + border: 1px solid #0055e4; + border-radius: 3px; + padding: 2px 10px; + cursor: pointer; +} + +#wbbmodal .wbb-button:hover { + background: #005fff; + border: 1px solid #0049C4; +} + +#wbbmodal .wbb-cancel-button { + background: #f5f5f5; + color: #333; + line-height: 26px; + border: 1px solid #ddd; + border-radius: 3px; + padding: 2px 10px; + cursor: pointer; + margin-left: 15px; +} + +#wbbmodal .wbb-cancel-button:hover { + background: #fff; + border: 1px solid #ccc; +} + +#wbbmodal .wbb-remove-button { + background: #db0000; + color: #fff; + line-height: 26px; + border: 1px solid #ca0000; + border-radius: 3px; + padding: 2px 10px; + cursor: pointer; + float: right; +} + +#wbbmodal .wbb-remove-button:hover { + background: #f80000; + border: 1px solid #be0000; +} + +#wbbmodal .wbbm-inp-row { + margin-bottom: 15px; +} + +#wbbmodal .wbbm-inp-row label { + display: block; + font-weight: bold; + margin-bottom: 3px; +} + +#wbbmodal .wbbm-inp-row input { + height: 26px; + padding: 0px 3px; + line-height: 24px; + font-size: 12px; + width: 100%; + border: 1px solid #aaa; + outline: none; + box-sizing: border-box; +} + +#wbbmodal .wbbm-inperr { + color: red; + font-size: 10px; + display: block; +} + +#wbbmodal .wbbm-brdred { + border-color: red !important; +} + +/* IMAGE UPLOAD */ +#wbbmodal #imguploader { + text-align: center; +} + +#wbbmodal #imguploader.drag { + border: 3px dashed #ccc; +} + +#wbbmodal #imguploader.drag.dragover { + background: #feffe4; +} + +#wbbmodal #imguploader.drag.wbb-loading { + padding: 40px 0; +} + +#wbbmodal #imguploader.drag .p { + font-size: 2em; + color: #aaa; + margin-top: 15px; +} + +#wbbmodal #imguploader.drag .p2 { + color: #AAA; +} + +#wbbmodal #imguploader.drag .fileupload { + margin: 15px 0; +} + +#wbbmodal .fileupload { + margin: 40px 0; + position: relative; +} + +#wbbmodal .dragupload { + margin: 10px 0 15px 0; + position: relative; +} + +#wbbmodal .fileupload input.file { + opacity: 0; + filter: alpha(opacity = 0); + width: 230px; + height: 32px !important; + position: absolute; + top: 2px; + left: 50%; + margin-left: -115px; + display: block; +} + +.loader { + margin: 30px 0; +} + +.upl-error { + color: red; + display: block; +} + +.powered { + display: block; + position: absolute; + bottom: -18px; + right: 5px; + font-size: 10px; +} + +/* END IMAGE UPLOAD */ +/* MODAL WINDOW */ + +/* PHPBB3 */ +.content-phpbb3 { + font-size: 13px; + line-height: normal !important; +} + +.content-phpbb3 .codebox dt { + float: none; + width: 100%; +} + +.content-phpbb3 .codebox dd { + margin: 0 !important; +} diff --git a/css/wysibb/theme/fonts/WysiBBiconFontAH.eot b/css/wysibb/theme/fonts/WysiBBiconFontAH.eot new file mode 100644 index 0000000..146286c Binary files /dev/null and b/css/wysibb/theme/fonts/WysiBBiconFontAH.eot differ diff --git a/css/wysibb/theme/fonts/WysiBBiconFontAH.otf b/css/wysibb/theme/fonts/WysiBBiconFontAH.otf new file mode 100644 index 0000000..03087f5 Binary files /dev/null and b/css/wysibb/theme/fonts/WysiBBiconFontAH.otf differ diff --git a/css/wysibb/theme/fonts/WysiBBiconFontAH.svg b/css/wysibb/theme/fonts/WysiBBiconFontAH.svg new file mode 100644 index 0000000..fc37e72 --- /dev/null +++ b/css/wysibb/theme/fonts/WysiBBiconFontAH.svg @@ -0,0 +1,112 @@ + + + + +Created by FontForge 20090914 at Wed Nov 21 09:26:06 2012 + By www-data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/css/wysibb/theme/fonts/WysiBBiconFontAH.ttf b/css/wysibb/theme/fonts/WysiBBiconFontAH.ttf new file mode 100644 index 0000000..256115c Binary files /dev/null and b/css/wysibb/theme/fonts/WysiBBiconFontAH.ttf differ diff --git a/css/wysibb/theme/fonts/WysiBBiconFontAH.woff b/css/wysibb/theme/fonts/WysiBBiconFontAH.woff new file mode 100644 index 0000000..424efcc Binary files /dev/null and b/css/wysibb/theme/fonts/WysiBBiconFontAH.woff differ diff --git a/daemons/arch_.php b/daemons/arch_.php new file mode 100644 index 0000000..d449534 --- /dev/null +++ b/daemons/arch_.php @@ -0,0 +1,188 @@ +#!/usr/bin/php + /var/log/arch.log'); + sleep(5); + } + + $arch = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '233' LIMIT 1")); + $arha = mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `prototype` = '233' LIMIT 1")); + $user = $arch; + + $rhar = array("501" => array (20,0,502,505,0),"502" => array (15,0,0,0,501),"503" => array (15,0,0,507,0),"504" => array (15,0,0,508,0),"505" => array (20,501,0,510,0),"506" => array (15,0,507,511,0),"507" => array (15,503,508,0,506),"508" => array (25,504,0,513,507),"509" => array (20,0,0,515,0),"510" => array (20,505,511,0,0),"511" => array (20,506,0,0,510),"512" => array (30,0,513,519,0),"513" => array (25,508,514,0,512),"514" => array (20,0,0,0,513),"515" => array (20,509,0,522,0),"516" => array (25,0,517,523,0),"517" => array (25,0,518,0,516),"518" => array (35,0,519,525,517),"519" => array (35,512,520,526,518),"520" => array (35,0,521,0,519),"521" => array (15,0,0,528,0),"522" => array (20,515,0,529,0),"523" => array (15,516,0,530,0),"524" => array (20,0,525,531,0),"525" => array (35,518,526,532,524),"526" => array (40,519,527,533,525),"527" => array (35,0,0,0,526),"528" => array (15,521,529,535,0),"529" => array (20,522,0,0,528),"530" => array (20,523,531,537,0),"531" => array (35,524,0,538,530),"532" => array (20,525,533,539,0),"533" => array (20,526,534,540,532),"534" => array (15,0,0,0,533),"535" => array (20,528,0,541,0),"536" => array (20,0,537,0,535),"537" => array (35,530,0,543,536),"538" => array (20,531,0,544,0),"539" => array (20,532,0,545,0),"540" => array (15,533,0,546,0),"541" => array (20,535,542,547,0),"542" => array (15,0,543,0,541),"543" => array (40,537,544,549,542),"544" => array (40,538,545,550,543),"545" => array (40,539,0,551,544),"546" => array (15,540,0,552,0),"547" => array (20,541,548,553,0),"548" => array (20,0,549,0,547),"549" => array (35,543,550,0,548),"550" => array (40,544,551,554,549),"551" => array (40,545,0,555,550),"552" => array (15,546,0,556,0),"553" => array (20,547,0,557,0),"554" => array (20,550,555,0,0),"555" => array (35,551,0,0,554),"556" => array (15,552,0,559,0),"557" => array (15,553,0,0,0),"558" => array (20,0,559,0,0),"559" => array (20,556,560,0,558),"560" => array (20,0,0,0,559)); + $nextroom = mt_rand(1, 4); + + if(time()-$movetime >= $rhar[$arch['room']][0] && $rhar[$arch['room']][$nextroom] > 0 && !$arha['battle']) { + $movetime = time(); + $list = mysql_query("SELECT `id`, `room`, `login` FROM `users` WHERE `room` = '".$arch['room']."' AND `in_tower` = 1"); + while($u = mysql_fetch_array($list)) { + addchp('Внимание! Архивариус отправился в '.$rooms[$rhar[$arch['room']][$nextroom]].'.', '{[]}'.$u['login'].'{[]}'); + } + + $arch['room'] = $rhar[$arch['room']][$nextroom]; + $list = mysql_query("SELECT `id`, `room`, `login` FROM `users` WHERE `room` = '".$arch['room']."' AND `in_tower` = 1"); + while($u = mysql_fetch_array($list)) { + addchp('Внимание! Архивариус вошел в комнату.', '{[]}'.$u['login'].'{[]}'); + } + #exec("echo \"".date("Y-m-d H:i:s")."[MOVE] ".$arch['room']."\" >> /var/log/arch.log"); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '".$arch['room']."', `online`.`room` = '".$arch['room']."' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '233'"); + } + + $d = mysql_fetch_array(mysql_query("SELECT SUM(`massa`) FROM `inventory` WHERE `owner` = '233' AND `dressed` = 0")); + if($d[0] < $arch['sila']*4 && !$arha['battle']) { + $objs = mysql_query("SELECT * FROM `deztow_items` WHERE `name` != 'Чек на предьявителя' AND `room` = '".$arch['room']."' LIMIT 1"); + while($obj = mysql_fetch_array($objs)) { + mysql_query("DELETE FROM `deztow_items` WHERE `id` = '".$obj['id']."' LIMIT 1"); + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '".$obj['iteam_id']."' LIMIT 1")); + mysql_query("INSERT INTO `inventory` (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`,`gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`,`mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`koll`) VALUES ('{$dress['id']}','233','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}','{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress[koll]}')"); + $iid = mysql_insert_id(); + $ncost = $dress['cost']; + $nal = $dress['nalign']; + $nid = $dress['id']; + switch($dress['type']) { + case 1: $slot1 = 'sergi'; break; + case 2: $slot1 = 'kulon'; break; + case 3: $slot1 = 'weap'; break; + case 4: $slot1 = 'bron'; break; + case 5: $slot1 = 'r1'; break; + case 6: $slot1 = 'r2'; break; + case 7: $slot1 = 'r3'; break; + case 8: $slot1 = 'helm'; break; + case 9: $slot1 = 'perchi'; break; + case 10: $slot1 = 'shit'; break; + case 11: $slot1 = 'boots'; break; + } + $dress = mysql_fetch_array(mysql_query("SELECT `cost` FROM `inventory` WHERE `id` = '".$arch[$slot1]."' LIMIT 1")); + if($dress[0] < $ncost && $nal == 0) { + dressitem2($iid); + } + } + } + + $pay = mysql_fetch_array(mysql_query("SELECT `present` FROM `inventory` WHERE `owner` = 233 AND `name` = 'Чек на предьявителя';")); + if($pay && !$arha['battle']) { + mysql_query("DELETE FROM `inventory` WHERE `owner` = 233 AND `name` = 'Чек на предьявителя';"); + $us = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '".$pay[0]."' LIMIT 1;")); + if(rand(1,2)==1) { + mysql_query("UPDATE `users` SET `money` = `money`+400 WHERE `login` = '".$pay[0]."';"); + addchp ('Внимание! Архивариус передал вам 400.00 кр. ','{[]}'.$pay[0].'{[]}'); + exec("echo \"[PAYMENT] obnal to ".$us['id']."\" >> /var/log/arch.log"); + mysql_query('UPDATE `deztow_turnir` SET `log` = CONCAT(`log`,\''."".date("d.m.y H:i")." ".nick3($us['id'])." обналичил чек на 400 кр.
    ".'\') WHERE `active` = TRUE'); + } else { + mysql_query('UPDATE `deztow_turnir` SET `log` = CONCAT(`log`,\''."".date("d.m.y H:i")." ".nick3(233)." в ярости накинулся на ".nick3($us['id']).".
    ".'\') WHERE `active` = TRUE'); + // начинаем бой + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','233','','".$arch['hp']."');"); + $bot = mysql_insert_id(); + $teams = array(); + $teams[$bot][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$bot] = array(0,0,time()); + $sv = array(3,5,7,10); + mysql_query("INSERT INTO `battle` ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`) + VALUES + (NULL,'','".serialize($teams)."','".$sv[rand(0,3)]."','10','0','".$bot."','".$jert['id']."','".time()."','".time()."')"); + } + $id = mysql_insert_id(); + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$bot} LIMIT 1;"); + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + // создаем лог + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + //chmod("/backup/logs/battle".$id.".txt",766); + chown ("../backup/logs/battle".$id.".txt" , "www-data" ); + chgrp ("../backup/logs/battle".$id.".txt" , "www-data" ); + exec("echo \"".date("Y-m-d H:i:s")."[PAYMENT] aggression to ".$jert['id']."\" >> /var/log/arch.log"); + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id` = {$jert['id']}"); + mysql_query('UPDATE `deztow_turnir` SET `log` = CONCAT(`log`,\''."".date("d.m.y H:i")." ".nick3($bot)." напал на ".nick3($jert['id'])." завязался бой »»
    ".'\') WHERE `active` = TRUE'); + $archa['battle'] = $id; + } + + // нападаем на юзверей + if(($starttime+180) <= time() AND !$arha['battle']) { + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `room` = '".$arch['room']."' AND `in_tower`=1 AND `id`<>233 LIMIT 1;")); + //print_r($jert); + if($jert['hp'] > 0 && ($jert['id']!=233)) { + if($jert['battle'] > 0) { + // вмешиваемся + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','233','','".$arch['hp']."');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$bot] = $battle[$ak[0]]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addlog($jert['battle'],''.date("H:i").' '.nick5($bot,"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + exec("echo \"".date("Y-m-d H:i:s")."[AGRESSION] in battle to ".$jert['id']."\" >> /var/log/arch.log"); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE bots SET `battle` =".$jert['battle']." WHERE `id`= ".$bot); + mysql_query('UPDATE `deztow_turnir` SET `log` = CONCAT(`log`,\''."".date("d.m.y H:i")." ".nick3($bot)." вмешался в поединок »»
    ".'\') WHERE `active` = TRUE;'); + }else + { + // начинаем бой + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','233','','".$arch['hp']."');"); + $bot = mysql_insert_id(); + + $teams = array(); + $teams[$bot][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$bot] = array(0,0,time()); + $sv = array(3,5,7,10); + //$tou = array_rand($sv,1); + exec("echo \"".date("Y-m-d H:i:s")."[AGRESSION] to ".$jert['id']."\" >> /var/log/arch.log"); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,3)]."','10','0','".$bot."','".$jert['id']."','".time()."','".time()."' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$bot} LIMIT 1;"); + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + + + // создаем лог + $rr = "".nick3($bot)." и ".nick3($jert['id']).""; + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + //chmod("/backup/logs/battle".$id.".txt",766); + chown ("../backup/logs/battle".$id.".txt" , "www-data" ); + chgrp ("../backup/logs/battle".$id.".txt" , "www-data" ); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id` = {$jert['id']}"); + mysql_query('UPDATE `deztow_turnir` SET `log` = CONCAT(`log`,\''."".date("d.m.y H:i")." ".nick3($bot)." напал на ".nick3($jert['id'])." завязался бой »»
    ".'\') WHERE `active` = TRUE'); + } + } + } + sleep(5); +} +?> \ No newline at end of file diff --git a/daemons/hellround.php b/daemons/hellround.php new file mode 100644 index 0000000..1dd0692 --- /dev/null +++ b/daemons/hellround.php @@ -0,0 +1,121 @@ + + 4, + "80" => 4, + "81" => 2, + "82" => 2, + "83" => 2, + "84" => 1, + "85" => 1, + "86" => 1, + "87" => 1, + ); + + // подключаем конфиг + // include "../connect.php"; + // подключаем функции + // include "../functions.php"; + + // циклим демона + // while(1) { + // итерация + + // есть ли конект с базой + $test = mysql_fetch_array(mysql_query("SELECT 1;")); + if($test[1]!=1) { + // include "../connect.php"; + } + + // выбираем все походы + $pohs = mysql_query("SELECT `owner`,`volna`,`id` FROM `hellround_pohod` WHERE `end` = 0;"); + while ($poh = mysql_fetch_array($pohs)) { + // проверяем на живность + $u = mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id` = '".$poh['owner']."' LIMIT 1;")); + if($u['hp'] <= 0) { + // удаляем ресурсы + mysql_query("DELETE FROM `inventory` WHERE `owner` = '".$poh['owner']."' AND `bs` = 1;"); + mysql_query("UPDATE `hellround_pohod` SET `end` = 1, `date_out` = NOW( ) WHERE `id` = ".$poh['id']." AND `end` = 0;"); + addchp ('Внимание! Вы погибли в противостоянии хаосу...
    \'; top.frames[\'main\'].location=\'main.php\'; var z = \' ','{[]}'.nick7 ($poh['owner']).'{[]}'); + echo "USER: ".$poh['owner']." live trip.\n"; + } else + { + // забираем последний бой, может пора запускать волну? + $last_a = mysql_fetch_array(mysql_query("SELECT `id` FROM `battle` WHERE `t1` = '".$poh['owner']."' AND `win` = 3 ORDER by `id` DESC LIMIT 1;")); + $last_b = mysql_fetch_array(mysql_query("SELECT `to1` FROM `battle` WHERE `t1` = '".$poh['owner']."' AND `win` <> 3 ORDER by `id` DESC LIMIT 1;")); + $last_b = $last_b[0]; + $last_a = $last_a[0]; + + // echo $last_a." ".$last_b." ".$poh['owner']."\n"; + + // проверяем, запускаем ботов + if ((time()-$last_b) >= 60 && $last_a == 0) { + // если прошло больше минуты, стартуем волну + $nextvolna = $poh['volna']+1; + + $bot[1] = $shema[$bots[0]]*$nextvolna; + $bot[2] = $shema[$bots[1]]*$nextvolna; + $bot[3] = $shema[$bots[2]]*$nextvolna; + + if ($nextvolna >= 10) { + $bot[4] = $shema[$bots[3]]*$nextvolna; + $bot[5] = $shema[$bots[4]]*$nextvolna; + $bot[6] = $shema[$bots[5]]*$nextvolna; + } + if ($nextvolna >= 25) { + $bot[7] = $shema[$bots[6]]*$nextvolna; + $bot[8] = $shema[$bots[7]]*$nextvolna; + $bot[9] = $shema[$bots[8]]*$nextvolna; + } + // делаем массив с айдишниками ботов + for($n = 1; $n <= 9; $n++) { + for($i = 1; $i <= (int)$bot[$n]; $i++){ + $botz = mysql_fetch_array(mysql_query("SELECT `maxhp`,`id` FROM `users` WHERE `id` = '".$bots[$n-1]."' LIMIT 1;")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$names[$n]." (проекция ".($i).")','".$bots[$n-1]."','','".$botz['maxhp']."');"); + $botz = mysql_insert_id(); + $enemys[] = $botz; + } + + } + // array of teams + $teams = array(); + foreach($enemys as $v) { + $teams[$poh['owner']][$v] = array(0,0,time()); + $teams[$v][$poh['owner']] = array(0,0,time()); + } + // запись о битве + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2` + ) + VALUES + ( + NULL,'','".serialize($teams)."','3','1','0','".$poh['owner']."','".implode(";",$enemys)."','".time()."','".time()."' + )"); + $id = mysql_insert_id(); + + // апдейтим бота + foreach($enemys as $v) { + mysql_query("UPDATE `bots` SET `battle` = ".$id." WHERE `id` = ".$v." LIMIT 1;"); + } + // создаем лог + //$rr = "".nick3($user['id'])." и ".nick3($bot).""; + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".nick3($poh['owner'])." вышел на битву с Адом...
    "); + chown ("backup/logs/battle".$id.".txt" , "www-data" ); + chgrp ("backup/logs/battle".$id.".txt" , "www-data" ); + + mysql_query("UPDATE users SET `battle` =".$id.",`zayavka`=0 WHERE `id`= ".$poh['owner'].";"); + addchp ('Внимание! Новое пришествие...
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($poh['owner']).'{[]}'); + mysql_query("UPDATE `hellround_pohod` SET `volna`=`volna`+1 WHERE `id` = ".$poh['id']." LIMIT 1;"); + echo "USER: ".$poh['owner']." New wave.\n"; + } + } + // задержка + sleep(5); + } + // } +?> \ No newline at end of file diff --git a/daemons/var/log/arch.log b/daemons/var/log/arch.log new file mode 100644 index 0000000..e69de29 diff --git a/data/contact.php b/data/contact.php new file mode 100644 index 0000000..86c4229 --- /dev/null +++ b/data/contact.php @@ -0,0 +1,74 @@ + 2 && $user['align'] != '2.99')) { + exit(); +} + + +function nics($id) { + $user = mysql_fetch_array(mysql_query("SELECT `id`, `align`, `level`, `login`, `klan` FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + if(isset($user['id'])) { + $mm .= ' 0 ? $user['align']:0).'.gif\' />'; + if($user['klan'] > 0) { + $mm .= ''; + } + $mm .= ''.$user['login'].' ['.$user['level'].']'; + } + return $mm; +} + +$action = isset($_GET["act"]) ? $_GET["act"] : ""; +$fid = isset($_GET["fid"]) ? $_GET["fid"] : ""; +$page = isset($_GET["page"]) ? $_GET["page"] : 0; + +if(!empty($fid)) { + $txt = mysql_fetch_array(mysql_query('SELECT `id`, `text` FROM `forum` WHERE `id` = "'.$fid.'" LIMIT 1')); +} + +if($action == "edit" && !empty($fid)) { + $output = "
    +

    Редактирование сообщения :

    + + +
    "; + + $output .= "
    "; + + $output .= " + + + + + +
    +
    +
    +
    "; + echo $output; +} elseif($action == "send") { + $txt = iconv('UTF-8', 'utf-8', $_GET['message']); + $us = nics($user['id']); + $txt .= '
    Откредактировал : '.$us; + $forum = mysql_fetch_array(mysql_query('SELECT `id`, `parent` FROM `forum` WHERE `id` = "'.$_GET['fids'].'" LIMIT 1')); + if($forum['parent'] <= 100) { + $forum['parent'] = $_GET['fids']; + } else { + $forum['parent'] = $forum['parent']; + } + $top = mysql_fetch_array(mysql_query('SELECT `id`, `parent` FROM `forum` WHERE `id` = "'.$forum['parent'].'" LIMIT 1')); + $loc = mysql_fetch_array(mysql_query('SELECT `id` FROM `forum` WHERE `id` = "'.$top['parent'].'" AND `type` = 1 LIMIT 1')); + mysql_query('UPDATE `forum` SET `text` = "'.$txt.'" WHERE `id` = "'.$_GET['fids'].'" LIMIT 1'); + echo 'Изменения вступили в силу. Обновляю.'; + echo ''; +} else { + exit(); +} + + +exit; + +?> \ No newline at end of file diff --git a/deal.php b/deal.php new file mode 100644 index 0000000..d144c93 --- /dev/null +++ b/deal.php @@ -0,0 +1,268 @@ +0)) header("Location: index.php"); + include "config.php"; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + + $user['prof3_lvl'] = $user['prof3_level']; + if($user['prof3_lvl'] == 0) { + $user['prof3_lvl'] = 1; + } + + function timeOut($ttm) { + $out = ''; + $time_still = $ttm; + $tmp = floor($time_still/2592000); + $id=0; + if ($tmp > 0) + { + $id++; + if ($id<3) {$out .= $tmp." мес. ";} + $time_still = $time_still-$tmp*2592000; + } + $tmp = floor($time_still/86400); + if ($tmp > 0) + { + $id++; + if ($id<3) {$out .= $tmp." дн. ";} + $time_still = $time_still-$tmp*86400; + } + $tmp = floor($time_still/3600); + if ($tmp > 0) + { + $id++; + if ($id<3) {$out .= $tmp." ч. ";} + $time_still = $time_still-$tmp*3600; + } + $tmp = floor($time_still/60); + if ($tmp > 0) + { + $id++; + if ($id<3) {$out .= $tmp." мин. ";} + } + if($out=='') + { + if($time_still<0) + { + $time_still = 0; + } + $out = $time_still.' сек.'; + } + return $out; + } + + if(isset($_POST['login_deal']) && ( $user['prof3'] + $user['prof3_lvl'] * 86400 * 30 > time() )) { + if($_POST['login_deal'] == $user['login']) { + $error = 'Нельзя предложить наставничество самому себе ;)'; + }else{ + $user2 = mysql_fetch_array(mysql_query('SELECT `id`,`login` FROM `users` WHERE `login` = "'.mysql_real_escape_string($_POST['login_deal']).'" LIMIT 1')); + if(isset($user2['id'])) { + $deal = mysql_fetch_array(mysql_query('SELECT `id` FROM `deal` WHERE `uid1` = "'.$user['id'].'" AND `uid2` = "'.$user2['id'].'" AND `finish` > "'.time().'" AND `status` = 0 AND `type` = 1 LIMIT 1')); + if(isset($deal['id'])) { + $error = 'Вы уже подали предложение стать вашим наставником персонажу "'.htmlspecialchars($_POST['login_deal'],NULL,'cp1251').'".'; + }else{ + $deal = mysql_fetch_array(mysql_query('SELECT `id` FROM `deal` WHERE `uid2` = "'.$user2['id'].'" AND `status` = 1 AND `type` = 1 LIMIT 1')); + if(isset($deal['id'])) { + $error = 'У персонажа "'.htmlspecialchars($_POST['login_deal'],NULL,'cp1251').'" уже есть наставник!'; + }else{ + $deal = mysql_fetch_array(mysql_query('SELECT `id`,`finish` FROM `deal` WHERE `uid1` = "'.$user['id'].'" AND `uid2` = "'.$user2['id'].'" AND `status` = 2 AND `type` = 1 AND `finish` > "'.time().'" LIMIT 1')); + if(isset($deal['id'])) { + $error = 'Персонаж "'.htmlspecialchars($_POST['login_deal'],NULL,'cp1251').'" отказался от ваших услуг! Попробуйте через '.timeOut($deal['finish']-time()).', возможно игрок передумает ;)'; + }else{ + $error = 'Вы предложили "'.htmlspecialchars($_POST['login_deal'],NULL,'cp1251').'" стать вашим учеником! Ожидайте подтверждения!'; + mysql_query('INSERT INTO `deal` ( + `uid1`,`uid2`,`type`,`status`,`start`,`finish` + ) VALUES ( + "'.$user['id'].'","'.$user2['id'].'","1","0","'.time().'","'.(time() + 7200).'" + )'); + } + } + } + }else{ + $error = 'Персонаж с логином "'.htmlspecialchars($_POST['login_deal'],NULL,'cp1251').'" не найден.'; + } + } + }elseif(isset($_GET['d'])) { + $deal = mysql_fetch_array(mysql_query('SELECT * FROM `deal` WHERE `id` = "'.mysql_real_escape_string($_GET['d']).'" AND `uid2` = "'.$user['id'].'" AND `finish` > "'.time().'" AND `status` = 0 LIMIT 1')); + if(isset($deal['id'])) { + if(isset($_GET['yes'])) { + $error = 'Вы успешно согласились на сделку!'; + mysql_query('UPDATE `deal` SET `status` = "1" WHERE `id` = "'.$deal['id'].'" LIMIT 1'); + }elseif(isset($_GET['no'])) { + $error = 'Вы успешно отказались от сделки!'; + mysql_query('UPDATE `deal` SET `status` = "2" WHERE `id` = "'.$deal['id'].'" LIMIT 1'); + } + }else{ + $error = 'Сделка не найдена!'; + } + }elseif(isset($_GET['un'])) { + $deal = mysql_fetch_array(mysql_query('SELECT * FROM `deal` WHERE `id` = "'.mysql_real_escape_string($_GET['un']).'" AND `uid2` = "'.$user['id'].'" AND `status` = 1 AND `type` = 1 LIMIT 1')); + if(isset($deal['id'])) { + $error = 'Вы успешно отказались от наставничества!'; + mysql_query('UPDATE `deal` SET `status` = "2" WHERE `id` = "'.$deal['id'].'" LIMIT 1'); + }else{ + $error = 'Сделка не найдена!'; + } + }elseif(isset($_GET['un2']) && ( $user['prof3'] + $user['prof3_lvl'] * 86400 * 30 > time() )) { + $deal = mysql_fetch_array(mysql_query('SELECT * FROM `deal` WHERE `id` = "'.mysql_real_escape_string($_GET['un2']).'" AND `uid1` = "'.$user['id'].'" AND `status` = 1 AND `type` = 1 LIMIT 1')); + if(isset($deal['id'])) { + $error = 'Вы успешно отказались от ученика!'; + mysql_query('UPDATE `deal` SET `status` = "2" WHERE `id` = "'.$deal['id'].'" LIMIT 1'); + }else{ + $error = 'Сделка не найдена!'; + } + } + +?> + + + + +old-dark :: Сделки + + + + + +

    Сделки \ Наставничество

    +

    +

    +
    +
    + + +
    + + + + + + + + "'.time().'" AND `status` = 0'); + while( $pl = mysql_fetch_array($sp) ) { + // + $txt = ''; + if( $pl['type'] == 1 ) { + $txt = 'Стать учеником'; + } + // + $time = $pl['finish']-time(); + $time = timeOut($time); + // + $user2 = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$pl['uid1'].'" LIMIT 1')); + // + $see = 1; + if(isset($_GET['d']) && $_GET['d'] == $pl['id'] && (isset($_GET['yes']) || isset($_GET['no']))) { + $see = 0; + } + if( $see == 1 ) { + ?> + + + + + + + +
    ДействиеПредмет сделкиКто предложилОставшееся время
    Да \ Нет'?>
    + + + + + +
    Нет сделок
    + +

     

    +

    Наставничество

    + time() ) { +// +$denast = mysql_fetch_array(mysql_query('SELECT * FROM `deal` WHERE `uid2` = "'.$user['id'].'" AND `type` = 1 AND `status` = 1 LIMIT 1')); +$nast = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$denast['uid1'].'" LIMIT 1')); +// +$html = ''; +$i = 0; +$sp = mysql_query('SELECT * FROM `deal` WHERE `uid1` = "'.$user['id'].'" AND `status` = 1 AND `type` = 1'); +while( $pl = mysql_fetch_array($sp) ) { + $user2 = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$pl['uid2'].'" LIMIT 1')); + if(isset($user2['id'])) { + $html .= '
     '.($i+1).'. '.$user2['login'].' ['.$user2['level'].']'. + ' обучается с '.date('d.m.Y H:i',$pl['start']).''. + ' (отказаться)'. + '
    + + + + + + + + + + + + + + + + + + + + + +
    Ваш наставник'.$nast['login'].' '; + echo ' (отказаться)'; + }else{ + echo 'Нет'; + } + ?>
    Уровень наставничества
    Опыт наставничества /
    Срок действия лицензиидо (Продлевается в Академмии на Торговой ул.)
    Ваши ученики ( чел.): +
    + Введите логин ученика:   +
    +
    + 0 ) { + echo '


    У вас закончилась лицензия Наставника, продлите её в Академии!
    '; + }else{ + echo '


    У вас нет лицензия Наставника, приобретите её в Академии!
    '; + } +}?> + + \ No newline at end of file diff --git a/dealer.php b/dealer.php new file mode 100644 index 0000000..4046583 --- /dev/null +++ b/dealer.php @@ -0,0 +1,236 @@ + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + 0 or $user['admin']==1){ + ############# Проверка и открытие данных счета ################# + if (isset($_SESSION['bankid'])){ + $bank_alhimik = mysql_fetch_array(mysql_query("SELECT * FROM `bank` WHERE `id` = ".$_SESSION['bankid']." LIMIT 1;")); + } + + ############## Экоанизация формы ################################ + echo '"; + + ############## Зачисление екр ##################################### + if ($_POST['putekr'] and isset($_SESSION['bankid'])){ + if (isset($_POST['ekr']) and isset($_POST['bank']) and isset($_POST['tonick'])) { + If ($_POST['ekr']<=$bank_alhimik['ekr'] and $_POST['ekr']>0){ + $tonick = mysql_fetch_array(mysql_query("SELECT login,id, align FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['tonick'])."' LIMIT 1;")); + $bank = mysql_fetch_array(mysql_query("SELECT owner,id FROM `bank` WHERE `id` = '".mysql_real_escape_string($_POST['bank'])."' LIMIT 1;")); + if (ereg("auto-",$user['login']) || ereg("auto-",$user['login'])) { + $botfull=$user['login']; + list($bot, $botlogin) = explode("-", $user['login']); + $botnick = mysql_fetch_array(mysql_query("SELECT login,id FROM `users` WHERE `login` = '".mysql_real_escape_string($botlogin)."' LIMIT 1;")); + $user['login']=$botnick['login']; + $user['id']=$botnick['id']; + } + + if ($bank['owner'] && $tonick['id'] && $bank['owner'] == $tonick['id']) { + If ($user['deal']> 0 or (($user['align']==2.99 or $user['align']==5 or $user['align']==2.5) and (($tonick['align']>1 and $tonick['align']<2) or ($tonick['align']>3 and $tonick['align']<4) or ($tonick['align']>5 and $tonick['align']<6)))){ + $_POST['ekr'] = round($_POST['ekr'],2); + if (mysql_query("UPDATE `bank` set `ekr` = ekr+'".mysql_real_escape_string($_POST['ekr'])."' WHERE `id` = '".mysql_real_escape_string($_POST['bank'])."' LIMIT 1;")) { + if ($bot && $botlogin) { + mysql_query("INSERT INTO `dilerdelo` (dilerid,dilername,bank,owner,ekr) values ('".mysql_real_escape_string($_SESSION['uid'])."','".$botfull."','".mysql_real_escape_string($_POST['bank'])."','".mysql_real_escape_string($_POST['tonick'])."','".mysql_real_escape_string($_POST['ekr'])."');"); + mysql_query("INSERT INTO `dilerdelo` (dilerid,dilername,bank,owner,ekr) values ('".mysql_real_escape_string($user['id'])."','".$botfull."','".mysql_real_escape_string($_POST['bank'])."','".mysql_real_escape_string($_POST['tonick'])."','".mysql_real_escape_string($_POST['ekr'])."');"); + }else{ + mysql_query("INSERT INTO `dilerdelo` (dilerid,dilername,bank,owner,ekr) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($user['login'])."','".mysql_real_escape_string($_POST['bank'])."','".mysql_real_escape_string($_POST['tonick'])."','".mysql_real_escape_string($_POST['ekr'])."');"); + } + + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','".mysql_real_escape_string($tonick['id'])."','Получено ".mysql_real_escape_string($_POST['ekr'])." екр на счет №".mysql_real_escape_string($_POST['bank'])." от дилера ".$user['login']."',1,'".time()."');"); + $us = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = '".$tonick['id']."' LIMIT 1;")); + + if($us[0]){ + addchp ('Внимание! На ваш счет №'.$_POST['bank'].' переведено '.$_POST['ekr'].' екр. от дилера '.$user['login'].' ','{[]}'.$_POST['tonick'].'{[]}'); + }else{ + mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) values ('".$tonick['id']."','','".'Внимание! На ваш счет №'.mysql_real_escape_string($_POST['bank']).' переведено '.mysql_real_escape_string($_POST['ekr']).' екр. от дилера '.mysql_real_escape_string($user['login']).' '."');"); + } + + mysql_query("UPDATE `bank` set `ekr` = ekr-'".mysql_real_escape_string($_POST['ekr'])."' WHERE `id` = '".mysql_real_escape_string($_SESSION['bankid'])."' LIMIT 1;"); + + print "Успешно зачислено {$_POST['ekr']} екр. на счет {$_POST['bank']} персонажа {$_POST['tonick']}!"; + + }else{ + print "Произошла ошибка!"; + } + }else{print "Вы не можете передавать персонажу {$_POST['tonick']} екры!";} + }else{print "Счет номер {$_POST['bank']} не принадлежит персонажу {$_POST['tonick']}!";} + }else{print "У Вас недостаточно екр. на счете!";} + }else{print "Введите сумму, номер счета и ник персонажа!";} + } + + if ($_POST['checkbank']) { + if ($_POST['charlogin']) { + $tonick = mysql_fetch_array(mysql_query("SELECT login,id FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['charlogin'])."' LIMIT 1;")); + $bankdb = mysql_query("SELECT owner,id FROM `bank` WHERE `owner` = '".mysql_real_escape_string($tonick['id'])."'"); + print "Персонажу {$_POST['charlogin']} принадлежат счета:
    "; + while ($bank=mysql_fetch_array($bankdb)) { + print "№ {$bank['id']}
    "; + } + } + else if ($_POST['charbank']) { + $bank = mysql_fetch_array(mysql_query("SELECT owner,id FROM `bank` WHERE `id` = '".mysql_real_escape_string($_POST['charbank'])." 'LIMIT 1;")); + $tonick = mysql_fetch_array(mysql_query("SELECT login,id FROM `users` WHERE `id` = '".mysql_real_escape_string($bank['owner'])."' LIMIT 1;")); + print "Счет № {$_POST['charbank']} принадлежит персонажу {$tonick['login']}
    "; + } + + } + +} +?> +

    Дилеры

    + + +
    +
    + = ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `deal` IN ('1') order by online DESC, login asc ;"); + while ($row = mysql_fetch_array($data)) { + if ($row['online']>0) { + echo ''; + nick2($row['id']); + if ($row['id'] == $user['deal']) echo ' - '.$row['status'].''; + $rrm = $rooms[$row['room']]; + echo ' онлайн
    '; + } + if ($row['online']<1) { + echo 'Нет в клубе'; + nick2($row['id']); + if ($row['id'] == $user['deal']) echo ' - ',$row['status'],''; + echo ' - не в игре
    '; + } + } + ?> +
    + Продают еврокредиты.
    Вы можете отправить им личное сообщение, даже если вы и Дилеры находитесь в разных городах.
    +
    + +
    Курс покупки ЕвроКредитов: + ]+>[^>]+>([^<]+)[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>([^<]+)[^>]+>[^>]+>([^<]+)#i"; + preg_match_all($pattern, $content, $out, PREG_SET_ORDER); + foreach($out as $cur) { + if($cur[2] == 840) $dollar = str_replace(",",".",$cur[4]); + if($cur[2] == 978) $euro = str_replace(",",".",$cur[4]); + if($cur[2] == 980) $grivna = str_replace(",",".",$cur[4]); + } + echo "1 екр = ".round($dollar/$euro,3)." EUR
    "; + echo "1 екр = ".round($dollar,3)." RUR
    "; + echo "1 екр = ".round($dollar/$grivna*10,3)." UAH
    "; + echo "1 екр = 1 USD
    "; + echo "1 екр = 40 кр.
    "; + ?> +
    +
    + WebMoney + WMZ: Z333016535196
    + WMR: R420089996228
    + WMG: G210462977679
    + WMU: U164195350082
    + WME: E198432770955
    + WMB: B389509579835
    + + QiWi + +79056560458 +
    + Можно оплатить с помощью банковской карты, купив web-money на один из указанных выше кошельков.
    + Сделать это можно по ссылке: http://www.netexchange.ru/buy/ + или http://www.intexchange.ru. +
    +

    Ангелы

    + = ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `align` IN ('2.99','2.9') order by online DESC, login asc ;"); + while ($row = mysql_fetch_array($data)) { + if ($row['online']>0) { + echo ''; + nick2($row['id']); + if ($row['id'] == $user['deal']) echo ' - '.$row['status'].''; + $rrm = $rooms[$row['room']]; + echo ' онлайн
    '; + } + if ($row['online']<1) { + echo 'Нет в клубе'; + nick2($row['id']); + if ($row['id'] == $user['deal']) echo ' - ',$row['status'],''; + echo ' - не в игре
    '; + } + } + ?> +
    '; + echo "

    Дилерская панель

    "; + If (isset($_SESSION['bankid'])){echo "Банк: ".$bank_alhimik['ekr']." екр.";} + echo "
    Зачислить екры на счет + + + +
    Введите сумму Номер счета Ник персонажа "; + If (isset($_SESSION['bankid'])){ echo"";}else{echo "Авторизируйтесь в Банке!";} + echo "
    "; + echo "
    Проверить логин / номер счета + + + +
    Логин Номер счета
    +
    + + + diff --git a/design/css/css/fight.css b/design/css/css/fight.css new file mode 100644 index 0000000..056d63f --- /dev/null +++ b/design/css/css/fight.css @@ -0,0 +1,422 @@ +* +{ + margin: 0; + padding: 0; +} +a +{ + color: #ffffff; + text-decoration: none; +} +a[class], +.ct-bt a +{ + overflow: hidden; + line-height: 100000%; + white-space: nowrap; +} +a:hover +{ + color: #ffffff; +} +a:active, +a:focus +{ + outline: none; +} +img +{ + /*display: block;*/ + border: 0; +} +ul +{ + list-style-type: none; +} +body +{ + background-color: #d5d5d5; +} +input[type="checkbox"] { + position: absolute; + left: -9999px; +} +input[type="checkbox"] + label:before { + content: ""; + display: inline-block; + width: 21px; + height: 17px; + background: url('../i/checkbox.png') no-repeat; +} +input[type="checkbox"]:checked + label:before { + background-position: 0 -17px; +} +#bk-body-top +{ + width: auto; + height: 128px; + margin: auto; + background-image: url('../i/background-top-center.png'); + background-repeat: repeat-x; + background-position: top center; + z-index: 1; +} +#bk-body-top-left +{ + width: 128px; + height: 128px; + background-image: url('../i/background-top-left.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 2; +} +#bk-logo-top +{ + width: 276px; + height: 36px; + background-image: url('../i/bk-logo-top.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 3; +} +#bk-body-top-right +{ + width: 128px; + height: 128px; + background-image: url('../i/background-top-right.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + right: 0px; + z-index: 2; +} +#bk-body-menu +{ + width: 500px; + height: 15px; + position: absolute; + right: 10px; + z-index: 3; +} +#bk-body-menu-button { + background-color: #3f423c; + display:block; + cursor:pointer; + width: 100px; + height: 15px; + font-size: 8pt; + opacity: 0.7; + padding-bottom: 3px; + text-align: center; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + text-shadow: #1b1f15 1px 1px 0, #1b1f15 -1px -1px 0, #1b1f15 -1px 1px 0, #1b1f15 1px -1px 0; +} +#bk-body-menu-button:hover { + background-color: #bbbca9; + opacity: 0.7; +} +ul.dropdown li { text-align: center; display: table-cell; } + ul.dropdown, + ul.dropdown-inside { + list-style-type: none; + padding: 0; + } + ul.dropdown-inside { + position: absolute; + min-width: 100px; + font-size: 8pt; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + left: -9999px; + } + ul.dropdown li.dropdown-top { + display: inline; + float: left; + } + + ul.dropdown li.dropdown-top a { + padding: 3px 10px 4px; + display: block; + } + ul.dropdown a.dropdown-top { background: #efefef; } + ul.dropdown a.dropdown-top:hover { padding: 2px 10px 5px; } + ul.dropdown li.dropdown-top:hover .dropdown-inside { + display: block; + left: 0; + } + ul.dropdown .dropdown-inside { background: #c3c0bb; opacity: 0.9; } + ul.dropdown .dropdown-inside a:hover { background: #3f423c; } + +#bk-body-left +{ + width: 128px; + height: 100%; + margin: auto; + background-image: url('../i/background-left.png'); + background-repeat: repeat-y; + background-position: top center; + position: absolute; + left: 0px; + z-index: 1; +} +#bk-body-right +{ + width: 128px; + height: 100%; + margin: auto; + background-image: url('../i/background-right.png'); + background-repeat: repeat-y; + background-position: top center; + position: absolute; + right: 0px; + z-index: 1; +} +#bk-chat-body +{ + width: auto; + height: 187px; + margin: auto; + background-image: url('../i/background-chat-center.png'); + background-repeat: repeat-x; + background-position: top center; + position: relative; + z-index: 1; +} +.bk-button-refresh { + background-image: url('../i/button_refresh_n.png'); + background-repeat: no-repeat; + position: absolute; + display:block; + cursor:pointer; + width: 31px; + height: 31px; + margin: 15px 0 0 250px; + z-index: 3; +} +.bk-button-refresh:hover { + background-image: url('../i/button_refresh_h.png'); +} +.bk-button-refresh:active { + background-image: url('../i/button_refresh_p.png'); +} +.bk-chat-autorefresh +{ + width: auto; + height: 17px; + margin: auto; + position: absolute; + margin: 150px 0 0 75px; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + font-size: 12px; + font-stretch: ultra-condensed; + z-index: 5; +} +#bk-chat-left +{ + width: 128px; + height: 187px; + background-image: url('../i/background-chat-left.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 2; +} +#bk-chat-hr-left +{ + width: 40px; + height: 187px; + background-image: url('../i/background-chat-hr-left.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + right: 0px; + z-index: 2; +} +#bk-chat-hr-right +{ + width: 40px; + height: 187px; + background-image: url('../i/background-chat-hr-right.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 2; +} +#bk-chat-right +{ + width: 128px; + height: 187px; + background-image: url('../i/background-chat-right.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + right: 0px; + z-index: 2; +} +#bk-location-frame +{ + width: 973px; + height: 348px; + margin: auto; + background-image: url('../i/location-frame.png'); + background-repeat: no-repeat; + background-position: top center; + position: relative; + z-index: 1; +} +.city-location-container { + width: 950px; + /*margin: 0 auto;*/ + padding-top: 9px; + margin: 0 0 0 12px; +} + +.city-location-container .fireworks { + position: absolute; + left: 4px; + right: 0px; + z-index: 1500; + top: 5px; +} + +.city-location-container .fireworks #frvrks { + position:relative; +} + +.city-location-container .location-map { + position:relative; + cursor: pointer; + width: 950px; +} + +.city-location-container .location { + position: absolute; + z-index: 90; +} + +.city-location-container .location img:not([title]), +.city-location-container .location img[title=""] { + border: dashed 1px yellow; +} + +.city-location-container .location img:not([onclick]) { + border: dashed 1px red; +} + +.city-location-container .location img:hover { + -webkit-filter: drop-shadow(0px 0px 2px rgba(255,255,255,1)); + filter: url(#drop-shadow); + -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#FFF')"; + filter: drop-shadow(0px 0px 2px rgba(255,255,255,1)); +} + +.city-location-container .footnote { + border-top: solid 1px #aaa; +} + +.city-location-container .footnote * { + font-size: 80%; +} +#bk-location-text +{ + width: 950px; + height: auto; + margin: auto; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + font-stretch: ultra-condensed; + font-size:14px; + font-weight: normal; + text-align: center; +} +#bk-buttons-center +{ + width: auto; + height: 43px; + margin: auto; + background-image: url('../i/background-buttons-center.png'); + background-repeat: repeat-x; + background-position: top center; + z-index: 1; +} +#bk-buttons-left +{ + width: 128px; + height: 43px; + background-image: url('../i/background-buttons-left.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 2; +} +#bk-buttons-right +{ + width: 128px; + height: 43px; + background-image: url('../i/background-buttons-right.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + right: 0px; + z-index: 2; +} +input +{ + background-color: #37362b; + border: 0 none; + color: #e5e5e5; + margin-top: 16px; + margin-left: 20px; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + font-stretch: ultra-condensed; + font-size:14px; + font-weight: normal; + text-align: left; + outline: none; +} +::-webkit-input-placeholder { /* WebKit browsers */ + color: #d4f4ed; +} +:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #d4f4ed; + opacity: 1; +} +::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #d4f4ed; + opacity: 1; +} +:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #d4f4ed; +} +input {outline: none;} +input:-webkit-autofill { + -webkit-box-shadow: inset 0 0 0 50px #081524 !important; + -webkit-text-fill-color: #d4f4ed !important; + color: #d4f4ed !important; +} +input:focus::-webkit-input-placeholder +{ + color: transparent; + text-shadow: none; +} +#bk-buttons-panel +{ + position: absolute; + margin: 10px 0 0 550px; +} +*a.buttons +{ + display: inline; +} +#bk-buttons-panel-right +{ + position: absolute; + right: 0px; + margin-top: 10px; + z-index: 3; +} \ No newline at end of file diff --git a/design/css/fight.css b/design/css/fight.css new file mode 100644 index 0000000..2fc710c --- /dev/null +++ b/design/css/fight.css @@ -0,0 +1,476 @@ +* { + margin: 0; + padding: 0; +} + +a { + color: #ffffff; + text-decoration: none; +} + +a[class], .ct-bt a { + overflow: hidden; + line-height: 100000%; + white-space: nowrap; +} + +a:hover { + color: #ffffff; +} + +a:active, a:focus { + outline: none; +} + +img { + border: 0; +} + +ul { + list-style-type: none; +} + +body { + background-color: #d5d5d5; +} + +input[type="checkbox"] { + position: absolute; + left: -9999px; +} + +input[type="checkbox"] + label:before { + content: ""; + display: inline-block; + width: 21px; + height: 17px; + background: url('../i/checkbox.png') no-repeat; +} + +input[type="checkbox"]:checked + label:before { + background-position: 0 -17px; +} + +#bk-body-top { + width: auto; + height: 128px; + margin: auto; + background-image: url('../i/background-top-center.png'); + background-repeat: repeat-x; + background-position: top center; + z-index: 1; +} + +#bk-body-top-left { + width: 128px; + height: 128px; + background-image: url('../i/background-top-left.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 2; +} + +#bk-logo-top { + width: 276px; + height: 36px; + background-image: url('../i/bk-logo-top.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 3; +} + +#bk-body-top-right { + width: 128px; + height: 128px; + background-image: url('../i/background-top-right.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + right: 0px; + z-index: 2; +} + +#bk-body-menu { + width: 500px; + height: 15px; + position: absolute; + right: 10px; + z-index: 3; + + top: 5px; +} + +#bk-body-menu-button { + background-color: #3f423c; + display:block; + cursor:pointer; + width: 100px; + height: 15px; + font-size: 8pt; + opacity: 0.7; + padding-bottom: 3px; + text-align: center; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + text-shadow: #1b1f15 1px 1px 0, #1b1f15 -1px -1px 0, #1b1f15 -1px 1px 0, #1b1f15 1px -1px 0; +} + +#bk-body-menu-button:hover { + background-color: #bbbca9; + opacity: 0.7; +} + +ul.dropdown li { text-align: center; display: table-cell; } + +ul.dropdown, ul.dropdown-inside { + list-style-type: none; + padding: 0; +} + +ul.dropdown-inside { + position: absolute; + min-width: 100px; + font-size: 8pt; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + left: -9999px; +} + +ul.dropdown li.dropdown-top { + display: inline; + float: left; +} + +ul.dropdown li.dropdown-top a { + padding: 3px 10px 4px; + display: block; +} + +ul.dropdown a.dropdown-top { background: #efefef; } +ul.dropdown a.dropdown-top:hover { padding: 2px 10px 5px; } +ul.dropdown li.dropdown-top:hover .dropdown-inside { + display: block; + left: 0; +} + +ul.dropdown .dropdown-inside { background: #c3c0bb; opacity: 0.9; } +ul.dropdown .dropdown-inside a:hover { background: #3f423c; } + +#bk-body-left { + width: 128px; + height: 100%; + margin: auto; + background-image: url('../i/background-left.png'); + background-repeat: repeat-y; + background-position: top center; + position: absolute; + left: 0px; + z-index: 1; +} + +#bk-body-right +{ + width: 128px; + height: 100%; + margin: auto; + background-image: url('../i/background-right.png'); + background-repeat: repeat-y; + background-position: top center; + position: absolute; + right: 0px; + z-index: 1; +} + +#bk-chat-body +{ + width: auto; + height: 187px; + margin: auto; + background-image: url('../i/background-chat-center.png'); + background-repeat: repeat-x; + background-position: top center; + position: relative; + z-index: 1; +} + +.bk-button-refresh { + background-image: url('../i/button_refresh_n.png'); + background-repeat: no-repeat; + position: absolute; + display:block; + cursor:pointer; + width: 31px; + height: 31px; + margin: 15px 0 0 250px; + z-index: 3; +} + +.bk-button-refresh:hover { + background-image: url('../i/button_refresh_h.png'); +} + +.bk-button-refresh:active { + background-image: url('../i/button_refresh_p.png'); +} + +.bk-chat-autorefresh { + width: auto; + height: 17px; + margin: auto; + position: absolute; + margin: 150px 0 0 75px; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + font-size: 12px; + font-stretch: ultra-condensed; + z-index: 5; +} + +#bk-chat-left { + width: 128px; + height: 187px; + background-image: url('../i/background-chat-left.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 2; +} + +#bk-chat-hr-left +{ + width: 40px; + height: 187px; + background-image: url('../i/background-chat-hr-left.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + right: 0px; + z-index: 2; +} + +#bk-chat-hr-right +{ + width: 40px; + height: 187px; + background-image: url('../i/background-chat-hr-right.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 2; +} + +#bk-chat-right +{ + width: 128px; + height: 187px; + background-image: url('../i/background-chat-right.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + right: 0px; + z-index: 2; +} + +#bk-location-frame { + width: 973px; + height: 348px; + margin: auto; + background-image: url('../i/location-frame.png'); + background-repeat: no-repeat; + background-position: top center; + position: relative; + z-index: 1; +} + +.loc_background { + width: 973px; + height: 348px; + margin: auto; + background-image: url('../i/location-frame.png'); + background-repeat: no-repeat; + position: relative; + top: -13px; + z-index: 1; +} + +.city-location-container { + width: 950px; + /*margin: 0 auto;*/ + padding-top: 9px; + margin: 0 0 0 12px; +} + +.city-location-container .fireworks { + position: absolute; + left: 4px; + right: 0px; + z-index: 1500; + top: 5px; +} + +.city-location-container .fireworks #frvrks { + position:relative; +} + +.city-location-container .location-map { + position:relative; + cursor: pointer; + width: 950px; + padding-top: 9px; + padding-left: 2px +} + +.city-location-container .location { + position: absolute; + z-index: 90; +} + +.city-location-container .location img:not([title]), +.city-location-container .location img[title=""] { + /*border: dashed 1px yellow;*/ +} + +.loc { + border: none; +} + +.city-location-container .location img:not([onclick]) { + border: dashed 1px red; +} + +.city-location-container .location img:hover { + -webkit-filter: drop-shadow(0px 0px 2px rgba(255,255,255,1)); + filter: url(#drop-shadow); + -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#FFF')"; + filter: drop-shadow(0px 0px 2px rgba(255,255,255,1)); +} + +.city-location-container .footnote { + border-top: solid 1px #aaa; +} + +.city-location-container .footnote * { + font-size: 80%; +} + +#bk-location-text { + width: 950px; + height: auto; + margin: auto; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + font-stretch: ultra-condensed; + font-size:14px; + font-weight: normal; + text-align: center; +} + +#bk-buttons-center { + width: auto; + height: 43px; + margin: auto; + background-image: url('http://img.old-combats.com/i/buttons/chat_bg.gif'); + background-repeat: repeat-x; + background-position: top center; + background-color: rgb(233, 233, 233); + z-index: 1; + border-left: 6px solid #6D6F5F; + border-right: 6px solid #6D6F5F; +} + +#bk-buttons-left +{ + width: 128px; + height: 43px; + background-image: url('../i/background-buttons-left.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + left: 0px; + z-index: 2; +} + +#bk-buttons-right +{ + width: 128px; + height: 43px; + background-image: url('../i/background-buttons-right.png'); + background-repeat: no-repeat; + background-position: top center; + position: absolute; + right: 0px; + z-index: 2; +} + +input { + background-color: #37362b; + border: 0 none; + color: #e5e5e5; + margin-top: 16px; + margin-left: 20px; + font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Arial, "Helvetica CY"; + font-stretch: ultra-condensed; + font-size:14px; + font-weight: normal; + text-align: left; + outline: none; +} +::-webkit-input-placeholder { /* WebKit browsers */ + color: #d4f4ed; +} +:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #d4f4ed; + opacity: 1; +} +::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #d4f4ed; + opacity: 1; +} +:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #d4f4ed; +} + +input {outline: none;} + +input:-webkit-autofill { + -webkit-box-shadow: inset 0 0 0 50px #081524 !important; + -webkit-text-fill-color: #d4f4ed !important; + color: #d4f4ed !important; +} + +input:focus::-webkit-input-placeholder { + color: transparent; + text-shadow: none; +} + +#bk-buttons-panel { + position: absolute; + margin: 10px 0 0 550px; +} + +*a.buttons { + display: inline; +} + +#bk-buttons-panel-right { + position: absolute; + right: 7px; /*0px*/ + margin-top: 2px; /*10px*/ + z-index: 3; +} +.say_ { + background-color: #FFF; + margin-bottom: 2px; + border: solid 1pt #B0B0B0; + color: #191970; + margin-top: 5px; + margin-left: 5px; + font-family: MS Sans Serif; + font-stretch: ultra-condensed; + font-size: 9pt; + font-weight: normal; + text-align: left; + outline: none; +} \ No newline at end of file diff --git a/design/i/background-buttons-center.png b/design/i/background-buttons-center.png new file mode 100644 index 0000000..75e9949 Binary files /dev/null and b/design/i/background-buttons-center.png differ diff --git a/design/i/background-buttons-left.png b/design/i/background-buttons-left.png new file mode 100644 index 0000000..43100ae Binary files /dev/null and b/design/i/background-buttons-left.png differ diff --git a/design/i/background-buttons-right.png b/design/i/background-buttons-right.png new file mode 100644 index 0000000..76a56ac Binary files /dev/null and b/design/i/background-buttons-right.png differ diff --git a/design/i/background-chat-center.png b/design/i/background-chat-center.png new file mode 100644 index 0000000..f8898cd Binary files /dev/null and b/design/i/background-chat-center.png differ diff --git a/design/i/background-chat-hr-left.png b/design/i/background-chat-hr-left.png new file mode 100644 index 0000000..f3a266e Binary files /dev/null and b/design/i/background-chat-hr-left.png differ diff --git a/design/i/background-chat-hr-right.png b/design/i/background-chat-hr-right.png new file mode 100644 index 0000000..a6a0a64 Binary files /dev/null and b/design/i/background-chat-hr-right.png differ diff --git a/design/i/background-chat-left.png b/design/i/background-chat-left.png new file mode 100644 index 0000000..2c22c8f Binary files /dev/null and b/design/i/background-chat-left.png differ diff --git a/design/i/background-chat-right.png b/design/i/background-chat-right.png new file mode 100644 index 0000000..8f40d64 Binary files /dev/null and b/design/i/background-chat-right.png differ diff --git a/design/i/background-left.png b/design/i/background-left.png new file mode 100644 index 0000000..2094d3f Binary files /dev/null and b/design/i/background-left.png differ diff --git a/design/i/background-right.png b/design/i/background-right.png new file mode 100644 index 0000000..53caf7f Binary files /dev/null and b/design/i/background-right.png differ diff --git a/design/i/background-top-center.png b/design/i/background-top-center.png new file mode 100644 index 0000000..d614118 Binary files /dev/null and b/design/i/background-top-center.png differ diff --git a/design/i/background-top-left.png b/design/i/background-top-left.png new file mode 100644 index 0000000..b8f1d88 Binary files /dev/null and b/design/i/background-top-left.png differ diff --git a/design/i/background-top-right.png b/design/i/background-top-right.png new file mode 100644 index 0000000..331c722 Binary files /dev/null and b/design/i/background-top-right.png differ diff --git a/design/i/background-top.png b/design/i/background-top.png new file mode 100644 index 0000000..5855bd0 Binary files /dev/null and b/design/i/background-top.png differ diff --git a/design/i/bk-logo-top.png b/design/i/bk-logo-top.png new file mode 100644 index 0000000..46f3fa2 Binary files /dev/null and b/design/i/bk-logo-top.png differ diff --git a/design/i/button_refresh_h.png b/design/i/button_refresh_h.png new file mode 100644 index 0000000..071774b Binary files /dev/null and b/design/i/button_refresh_h.png differ diff --git a/design/i/button_refresh_n.png b/design/i/button_refresh_n.png new file mode 100644 index 0000000..6195a19 Binary files /dev/null and b/design/i/button_refresh_n.png differ diff --git a/design/i/button_refresh_p.png b/design/i/button_refresh_p.png new file mode 100644 index 0000000..633d911 Binary files /dev/null and b/design/i/button_refresh_p.png differ diff --git a/design/i/buttons/a___ext.gif b/design/i/buttons/a___ext.gif new file mode 100644 index 0000000..39035e7 Binary files /dev/null and b/design/i/buttons/a___ext.gif differ diff --git a/design/i/buttons/a___inv.gif b/design/i/buttons/a___inv.gif new file mode 100644 index 0000000..24c5f86 Binary files /dev/null and b/design/i/buttons/a___inv.gif differ diff --git a/design/i/buttons/a__forum.gif b/design/i/buttons/a__forum.gif new file mode 100644 index 0000000..221e0e7 Binary files /dev/null and b/design/i/buttons/a__forum.gif differ diff --git a/design/i/buttons/b___.gif b/design/i/buttons/b___.gif new file mode 100644 index 0000000..630c8f3 Binary files /dev/null and b/design/i/buttons/b___.gif differ diff --git a/design/i/buttons/b___filter_off.gif b/design/i/buttons/b___filter_off.gif new file mode 100644 index 0000000..7418899 Binary files /dev/null and b/design/i/buttons/b___filter_off.gif differ diff --git a/design/i/buttons/b___slow_off.gif b/design/i/buttons/b___slow_off.gif new file mode 100644 index 0000000..8aa9666 Binary files /dev/null and b/design/i/buttons/b___slow_off.gif differ diff --git a/design/i/buttons/b___smile.gif b/design/i/buttons/b___smile.gif new file mode 100644 index 0000000..9163e2c Binary files /dev/null and b/design/i/buttons/b___smile.gif differ diff --git a/design/i/buttons/b___sys_off.gif b/design/i/buttons/b___sys_off.gif new file mode 100644 index 0000000..8100039 Binary files /dev/null and b/design/i/buttons/b___sys_off.gif differ diff --git a/design/i/buttons/b___translit_off.gif b/design/i/buttons/b___translit_off.gif new file mode 100644 index 0000000..911e82e Binary files /dev/null and b/design/i/buttons/b___translit_off.gif differ diff --git a/design/i/buttons/erase.gif b/design/i/buttons/erase.gif new file mode 100644 index 0000000..1e5c314 Binary files /dev/null and b/design/i/buttons/erase.gif differ diff --git a/design/i/buttons/otheralign.png b/design/i/buttons/otheralign.png new file mode 100644 index 0000000..c5facd1 Binary files /dev/null and b/design/i/buttons/otheralign.png differ diff --git a/design/i/buttons/say2.gif b/design/i/buttons/say2.gif new file mode 100644 index 0000000..ccc5748 Binary files /dev/null and b/design/i/buttons/say2.gif differ diff --git a/design/i/buttons/zvuk_off.gif b/design/i/buttons/zvuk_off.gif new file mode 100644 index 0000000..dd990d8 Binary files /dev/null and b/design/i/buttons/zvuk_off.gif differ diff --git a/design/i/checkbox.png b/design/i/checkbox.png new file mode 100644 index 0000000..5ebb1ed Binary files /dev/null and b/design/i/checkbox.png differ diff --git a/design/i/location-frame.png b/design/i/location-frame.png new file mode 100644 index 0000000..d7ca72f Binary files /dev/null and b/design/i/location-frame.png differ diff --git a/design/i/location_01/background.png b/design/i/location_01/background.png new file mode 100644 index 0000000..3819b5a Binary files /dev/null and b/design/i/location_01/background.png differ diff --git a/design/i/location_01/bigshop.png b/design/i/location_01/bigshop.png new file mode 100644 index 0000000..08aa8ce Binary files /dev/null and b/design/i/location_01/bigshop.png differ diff --git a/design/i/location_01/blacksmith.png b/design/i/location_01/blacksmith.png new file mode 100644 index 0000000..b91d9dd Binary files /dev/null and b/design/i/location_01/blacksmith.png differ diff --git a/design/i/location_01/castle.png b/design/i/location_01/castle.png new file mode 100644 index 0000000..1af491a Binary files /dev/null and b/design/i/location_01/castle.png differ diff --git a/design/i/location_01/fleamarket.png b/design/i/location_01/fleamarket.png new file mode 100644 index 0000000..6ab663d Binary files /dev/null and b/design/i/location_01/fleamarket.png differ diff --git a/design/i/location_01/loto.png b/design/i/location_01/loto.png new file mode 100644 index 0000000..5cc0be5 Binary files /dev/null and b/design/i/location_01/loto.png differ diff --git a/design/i/location_01/postoffice.png b/design/i/location_01/postoffice.png new file mode 100644 index 0000000..0381f56 Binary files /dev/null and b/design/i/location_01/postoffice.png differ diff --git a/design/i/location_01/shop.png b/design/i/location_01/shop.png new file mode 100644 index 0000000..ddd1849 Binary files /dev/null and b/design/i/location_01/shop.png differ diff --git a/design/i/location_01/signleft.png b/design/i/location_01/signleft.png new file mode 100644 index 0000000..c4a0075 Binary files /dev/null and b/design/i/location_01/signleft.png differ diff --git a/design/i/location_01/signright.png b/design/i/location_01/signright.png new file mode 100644 index 0000000..b195064 Binary files /dev/null and b/design/i/location_01/signright.png differ diff --git a/design/i/location_01/signright_1.png b/design/i/location_01/signright_1.png new file mode 100644 index 0000000..22e6a25 Binary files /dev/null and b/design/i/location_01/signright_1.png differ diff --git a/design/i/location_01/statue.png b/design/i/location_01/statue.png new file mode 100644 index 0000000..ea9646f Binary files /dev/null and b/design/i/location_01/statue.png differ diff --git a/design/i/up_left_dec.psd b/design/i/up_left_dec.psd new file mode 100644 index 0000000..4fbf791 Binary files /dev/null and b/design/i/up_left_dec.psd differ diff --git a/dig.php b/dig.php new file mode 100644 index 0000000..057a4c2 --- /dev/null +++ b/dig.php @@ -0,0 +1,128 @@ +0)) header("Location: index.php"); + include "config.php"; + $dig_time=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='dig_timeout';")); + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + $inv=mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND (`prototype` = '727' OR `prototype` = '6') AND `dressed` = '1' LIMIT 1;")); + $inv_all=mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND (`prototype` = '727' OR `prototype` = '6') LIMIT 1;")); + include "functions.php"; + + /*if($user['id']==1258) + { + $all_bots=mysql_query("SELECT * FROM bots;"); + while ($the_bot=mysql_fetch_array($all_bots)) + { + $the_bot_battle=mysql_fetch_array(mysql_query("SELECT * FROM battle WHERE id='{$the_bot['battle']}' LIMIT 1;")); + if ($the_bot_battle['win']<3)//0,1,2 + {mysql_query("DELETE FROM bots WHERE id='{$the_bot['id']}' LIMIT 1;");} + } + }*/ + + + if ($user['room'] != 49) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + //проверяем ЦХ + if ($user['level']>=8 && $user['doblest']>=50) + $can_go_ch=1; + else + $can_go_ch=0; + //заходим в ЦХ + if ($_POST['c_haos']) + + { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '48',`online`.`room` = '48' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: main.php'); + } + + + /*$in_dig = mysql_fetch_array(mysql_query("SELECT * FROM `digger` WHERE `id` = '{$user['id']}' LIMIT 1;")); + //вносимся в табличку + if(!$in_dig) + { + mysql_query("INSERT INTO digger(id) values('{$user['id']}');"); + $in_dig=mysql_fetch_array(mysql_query("SELECT * FROM `digger` WHERE `id` = '{$user['id']}' LIMIT 1;")); + } + + if($inv['id']==0) + {$delay=600;}//def 600 + else {$delay=300;};//def 300 + + if($inv['id']==0) + {$rest=3600;}//def 3600 + else {$rest=1800;};//def 1800 + + $guard_delay=3600;//def 3600 +$tm=time();*/ + +?> + + + + + + + + + + + + + + + + + +

    Проход к Цитадели Хаоса

    + +
    + + + + +
    + +
    +Ярко алое зарево рассвета осветило нескончаемую горную гряду на востоке. По узкому проходу прямиком меж двух скал уверенной статной рысью двигался всадник. На его широкой спине, поддавшись первым порывам нарастающего ветра, развивался белый плащ с кроваво-красным подбоем. Вместе с золотой сбруей его белоснежного коня, это создавало образ богатого и знатного человека. Его путь вёл в одну из самых загадочных и таинственных крепостей известного мира. Цитадель Хаоса была найдена группой отчаянных авантюристов еще два века назад, но все, кто отправлялся туда, исчезали бесследно. Чтобы достигнуть врат крепости следовало найти вход в скрытое ущелье, что был виден лишь на рассвете.

    +Вот и наш герой был храбр, но двигали им весьма низменные людские пороки. Он слышал, что в Цитадели можно отыскать меч, дарующий победу над любым превосходящим по силе соперником. Ради этой дивной вещицы всадник был в пути уже несколько дней. +Время было выбрано удачно, первые лучи солнца открыли спрятанный путь. Проехав несколько сот метров по ущелью, перед путником открылась его вожделенная цель. Массивные крепостные стены и башни Цитадели, как будто вырезанные в скале, поражали своими необъятными размерами. Теперь, когда до места назначения оставалось совсем ничего, всадник перешел на галоп. Добравшись до огромных ворот крепости, он спешился и неторопливо вытянул меч из ножен. Подойдя вплотную к маленькой дверце в одной из створок, он громко постучал в неё. Тщетно выждав ответа пару минут, он толкнул дверь. С противным скрипом, та неохотно поддалась. В образовавшейся черноте прохода угадывались очертания уходящей вниз винтовой лестницы. Взяв, со стены промасленный факел, путник чиркнул огнивом и начал спускаться вниз. Тени странными отсветами играли на каменных стенах, сплетаясь в невиданные фигуры, словно души умерших следовали за героем по пятам. +Через несколько минут спуск кончился и он увидел перед собой еще одну маленькую дверь. Путник убрал меч в ножны и свободной рукой отворил её. Из темноты залы, что открылась ему, раздался громкий рёв, заставивший странника попятиться назад. Он споткнулся об одну из ступенек и выронил факел, который упал в воду и предательски потух. В кромешной темноте рёв раздался уже ближе. На ощупь, вытянув меч и выставив его вперёд, путник приготовился к смерти и бросился в темноту…

    +Много месяцев спустя, после исчезновения королевского сына в деревнях видели седого старика с обезумевшими глазами, что постоянно кричал что-то о страшной крепости и обитавших там ужасных чудовищах. Но люди не верили выжившему из ума старцу. Молва о крепости разлеталась по городам и весям. Каждый герой хотел проверить себя и покорить Цитадель. Тем временем во дворце готовились к новому походу. Быть может, перед их чистыми помыслами и открытыми сердцами Цитадель Хаоса снимет завесу тайны?

    +© Форбонт

    '; +echo ' '; +} + +else +echo '
    Только ветераны, доказавшие свою доблесть, могут идти в бой в логово врага!'; +echo' +
    +
    + +
    +
    '; + + + ?> + + \ No newline at end of file diff --git a/edit_koefs.php b/edit_koefs.php new file mode 100644 index 0000000..f3967c1 --- /dev/null +++ b/edit_koefs.php @@ -0,0 +1,45 @@ + $v) { + fwrite($f,'$'."mods['".$k."']=".$v.";\n"); + } + fwrite($f,"?>\n"); + fclose($f); + } + $mods1['perv']="Первак"; + $mods1['kulon']="Кулон"; + $mods1['haos']="Хаос"; + $mods1['alignprot']="Противостояние склонностей"; + $mods1['kulakpenalty']="Нет пушки на уровне больше 1го"; + $mods1['bloodb']="Кровавый"; + $mods1['btl_1']="Первый бой с противником"; + $mods1['btl_2']="Второй бой с ним же"; + $mods1['btl_3']="Больше двух боёв"; + + $mods1['krov_oop']="------"; + + $mods1['krov_bitv']="Кровавая битва (соперников)"; + $mods1['krov_op']="Опыт"; + $mods1['krov_rez']="Кровавая резня (соперников)"; + $mods1['krovr_op']="Опыт"; + $mods1['krov_sech']="Кровавая сеча (соперников)"; + $mods1['krovs_op']="Опыт"; + + $mods1['velikaya']="Великая битва (соперников)"; + $mods1['vel_op']="Опыт"; + $mods1['velichayshaya']="Величайшая битва (соперников)"; + $mods1['velich_op']="Опыт"; + $mods1['epohalnaya']="Эпохальная битва (соперников)"; + $mods1['epoh_op']="Опыт"; + + include('exp_koef.php'); + echo "
    "; + foreach ($mods as $k => $v) { + echo "
    ".$mods1[$k]."
    "; + } + echo "
    "; + } +?> \ No newline at end of file diff --git a/edited.php b/edited.php new file mode 100644 index 0000000..ec21c28 --- /dev/null +++ b/edited.php @@ -0,0 +1,51 @@ + + + + + + + + + + +
    +
    + ФАЙЛ + ТЕМА + КОММЕНТАРИЙ + +
    + + +

    Правки файлов.

    + + + + "; + } + ?> +
    #IDдатаИзмененный файл темакомментарийкто менял
    ",$row['id'],"",$row['date'],"",$row['file'],"",$row['topic'],"",$row['text'],""; + nick2($row['who']); + echo "
    + + diff --git a/ekr.php b/ekr.php new file mode 100644 index 0000000..1da9db5 --- /dev/null +++ b/ekr.php @@ -0,0 +1,64 @@ + $request_value) { + $_REQUEST[$request_key] = substr(strip_tags(trim($request_value)), 0, 250); + } + + // service secret code + // секретный код сервиса + $secret_code = "cnfhsqrke,"; + + // collecting required data + // собираем необходимые данные + $purse = $_REQUEST["s_purse"]; // sms:bank id идентификатор смс:банка + $order_id = $_REQUEST["s_order_id"]; // operation id идентификатор операции + $amount = $_REQUEST["s_amount"]; // transaction sum сумма транзакции + $clear_amount = $_REQUEST["s_clear_amount"]; // billing algorithm алгоритм подсчета стоимости + $inv = $_REQUEST["s_inv"]; // operation number номер операции + $phone = $_REQUEST["s_phone"]; // phone number номер телефона + $sign = $_REQUEST["s_sign_v2"]; // signature подпись + + // making the reference signature + // создаем эталонную подпись + $reference = ref_sign($secret_code, $purse, $order_id, $amount, $clear_amount, $inv, $phone); + + // validating the signature + // проверяем, верна ли подпись + if($sign == $reference) { + // success, proceeding + // обрабатываем полученные данные + $thing = substr($order_id,0,3); + $owner = substr($order_id,3,strlen($order_id)-3); + switch ($thing) { + case "101": + mysql_query("INSERT INTO `inventory` (`owner`,`name`, `type`,`maxdur`,`img`) values ('{$owner}','Раритетная открытка', 200, 1,'card03.gif');"); + break; + case "102": + mysql_query("INSERT INTO `inventory` (`owner`,`name`, `type`,`maxdur`,`minu`,`maxu`,`img`) values ('{$owner}','Ель', 3, 1,1,3,'el1.gif');"); + break; + case "103": + mysql_query("INSERT INTO `inventory` (`owner`,`name`, `type`,`maxdur`,`minu`,`maxu`,`img`) values ('{$owner}','Ель с игрушками', 3, 1,1,5,'elka_w2.gif');"); + break; + case "104": + mysql_query("INSERT INTO `inventory` (`owner`,`name`, `type`,`maxdur`,`img`) values ('{$owner}','Сувенир <Сфера БК>', 200, 1,'shar6.gif');"); + break; + case "105": + mysql_query("INSERT INTO `inventory` (`owner`,`name`, `type`,`maxdur`,`img`,`goden`,`dategoden`,`magic`) values ('{$owner}','Бутерброд "Новогодний"', 50, 5,'food_l8.gif','15','".(time()+1296000)."',8);"); + break; + } + } +// else { + // failure, reporting error + // неправильно составлен запрос + //} +?> diff --git a/elka.php b/elka.php new file mode 100644 index 0000000..ca66a83 --- /dev/null +++ b/elka.php @@ -0,0 +1,303 @@ + + + + + + + + + + + + + +

    Новогодняя елка 2017!

    +
    + +Операция была отменена.'; + } + if ($_GET['suk']) { + echo 'Заказ скоро появится у вас в инвентаре... Спасибо за покупку!'; + } + + if ($_POST['fail']) { + echo 'Операция была отменена.'; + } + if ($_GET['givepodarok'] && !$user['podarokAD']) { + echo 'До нового года осталось ',(31-(int)date("d")),' дней, поздравляю!...'; + mysql_query("INSERT INTO `inventory` (`owner`,`img`,`maxdur`,`type`,`magic`,`present`,`name`) VALUES ('".$user['id']."','podarokNY.gif','1','50','7','Новый Год','Новогодний подарок');"); + $idd = mysql_insert_id(); + mysql_query("INSERT INTO `paket` VALUES(".$idd.", '$"."vv = rand(0,4);\r\nswitch($"."vv) {\r\n case 0 :\r\n return \"INSERT INTO `inventory` (`owner`,`maxdur`,`name`,`img`,`cost`,`dategoden`,`type`,`goden`, `magic`) values (''\".$"."user[''id''].\"'',''1'',''Макет Меча Кромуса'',''asword41.gif'',''0'',''\".(time()+1296000).\"'',''3'',''15'',0),(''\".$"."user[''id''].\"'',''5'',''Бутерброд "Новогодний"'',''food_l8.gif'',''0'',''\".(time()+1296000).\"'',''50'',''15'',8)\";\r\n break;\r\n case 1 :\r\n return \"INSERT INTO `inventory` (`owner`,`maxdur`,`name`,`img`,`cost`,`dategoden`,`type`,`goden`, `magic`) values (''\".$"."user[''id''].\"'',''1'',''Макет Шита Ангела'',''ashield3.gif'',''0'',''\".(time()+1296000).\"'',''10'',''15'',0),(''\".$"."user[''id''].\"'',''5'',''Бутерброд "Новогодний"'',''food_l8.gif'',''0'',''\".(time()+1296000).\"'',''50'',''15'',8)\";\r\n break;\r\n case 2 :\r\n return \"INSERT INTO `inventory` (`owner`,`maxdur`,`name`,`img`,`cost`,`dategoden`,`type`,`goden`, `magic`) values (''\".$"."user[''id''].\"'',''1'',''Макет Меча Героев'',''asword31.gif'',''0'',''\".(time()+1296000).\"'',''3'',''15'',0),(''\".$"."user[''id''].\"'',''5'',''Бутерброд "Новогодний"'',''food_l8.gif'',''0'',''\".(time()+1296000).\"'',''50'',''15'',8)\";\r\n break;\r\n case 3 :\r\n return \"INSERT INTO `inventory` (`owner`,`maxdur`,`name`,`img`,`cost`,`dategoden`,`type`,`goden`, `magic`) values (''\".$"."user[''id''].\"'',''1'',''Макет Брони Титанов'',''aarmor1.gif'',''0'',''\".(time()+1296000).\"'',''4'',''15'',0),(''\".$"."user[''id''].\"'',''5'',''Бутерброд "Новогодний"'',''food_l8.gif'',''0'',''\".(time()+1296000).\"'',''50'',''15'',8)\";\r\n break;\r\n}', '');"); + echo mysql_error(); + mysql_query("UPDATE `users` SET `podarokAD` = 1 WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"); + } + if ($_POST['comment']) { + mysql_query('INSERT INTO `elka` (`who`,`date`,`text`) values (\''.nick3 ($user['id']).'\',\''.date("d.m.Y H:i").'\',\''.strip_tags($_POST['comment']).'\');'); + } + + + $data = mysql_query("SELECT * FROM `elka` ORDER by `id` DESC LIMIT ".($_GET['page']*20).",20;"); +?> + + + + +
        +

    Предметы

    + ";} else {print "";} ?> +
        + + +
    +

    Сделайте подарки друзьям и близким ;)

    + + Раритетная открытка + Ель + Ель с игрушками + Сувенир <Сфера БК> + Бутерброд <Новогодний> +
    +
    + +
    +Посетители оставили надписи на стволе елки: ',($i+1),' '; + } +?>
    + +',$row['date'],' ',$row['who'],' - ',$row['text'],'
    '; + } +// 21.12.2009 05:02 +?> +
    +Оставить сообщение: + +
    + +
    + + + diff --git a/encicl/css/style.css b/encicl/css/style.css new file mode 100644 index 0000000..0e779a4 --- /dev/null +++ b/encicl/css/style.css @@ -0,0 +1,47 @@ +BODY { + BACKGROUND-COLOR: #636562; MARGIN: 0px; + FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif; + font-size:12px; +} +A:link { + COLOR: #5b3e33; FONT-WEIGHT: bold; TEXT-DECORATION: none +} +A:visited { + COLOR: #633525; FONT-WEIGHT: bold; TEXT-DECORATION: none +} +A:active { + COLOR: #77684d; FONT-WEIGHT: bold; TEXT-DECORATION: none +} +A:hover { + COLOR: #000000; TEXT-DECORATION: underline +} +.style6 { + COLOR: #000000 +} + +li { +color:#000000; +text-decoration:none; +/*font-family:Georgia, "Times New Roman", Times, serif;*/ +FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif; +font-size:12px; +} + +ul { +color:#000000; +text-decoration:none; +/*font-family:Georgia, "Times New Roman", Times, serif;*/ +FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif; +font-size:12px; +} + +.head { +color:#660000; +font-size:18px; +font-family:Verdana, Arial, Helvetica, sans-serif; +} + +.content { +font-family:Verdana, Arial, Helvetica, sans-serif; +font-size:13px; +} \ No newline at end of file diff --git a/encicl/css/styles.css b/encicl/css/styles.css new file mode 100644 index 0000000..8b2c095 --- /dev/null +++ b/encicl/css/styles.css @@ -0,0 +1,128 @@ +* {padding:0; margin:0; list-style:none} + +html, body {min-height:100%; color:#251c13; font:normal 12px Tahoma, Geneva, sans-serif; background: url(../images/site_bg.gif) repeat-x 0 61px #606260} + +a img {border:0} + +img {overflow:hidden} +a {color:#482b00; } +a:hover {text-decoration:none;} + +h1 {font-size:18px; padding-bottom:15px;} +h2 {font-size:16px; padding-bottom:10px;} +p {padding-bottom:10px;} + +#nPage {width:878px; margin:auto; background: url(../images/header_bg.jpg) no-repeat} + +#header {padding-left:30px} +#header .slogan {text-align:center; padding:20px 0} +#header #logo {height:130px; width:165px; display:block; margin:auto} + +.main { background:url(../images/paper_bg.jpg) repeat-y; } +.main .content {padding:0 40px 50px; background:url(../images/pager_btm.gif) no-repeat 0 100%; position:relative; bottom:-10px} + +.pagination {padding:20px 0; color:#a06d41} +.pagination a {font-weight:bold; text-decoration:none; margin:0 1px} +.pagination a.actived {color:#a06d41} +.pagination a:hover, .news .item .comm a:hover {text-decoration:underline} + +.news { background:url(../images/hr.gif) no-repeat;} +.news .item {padding:20px 0 25px; background:url(../images/hr.gif) 0 100% no-repeat; } +.news .item h3 {float:left; width:600px} +.news .item .date {float:right; width:120px; text-align:right; padding-top:3px; color:#a06d41; font-weight:bold} +.news .item .news_text {clear:both; padding:10px 0} +.news .item .comm {float:right; color:#a06d41} +.news .item .comm a {text-decoration:none; font-weight:bold} + +.leftMenu {width:215px; float:left; padding-right:40px} +.leftMenu ul {border-right:solid 1px #deceaf; padding:0 20px 5px 0; font-weight:bold} +.leftMenu ul h4 {color:#8b4304; padding:5px 0} +.leftMenu ul a {text-decoration:none} +.leftMenu ul a:hover {text-decoration:underline} +.leftMenu ul li {background:url(../images/left_li.gif) 0 5px no-repeat; padding:0 0 5px 9px} +.leftMenu ul ul {border-right:0; padding:0} +.leftMenu ul li a {color:#251c13} +.leftMenu ul li li {background:url(../images/left_li2.gif) 0 6px no-repeat; padding:2px 0 0 9px} +.leftMenu ul li li a {color:#4d3b29} + +.mainBlock {float:left; width:543px; background:url(../images/hr.gif) 0 100% no-repeat; padding-bottom:25px} +.mainBlock ul li {background:url(../images/left_li2.gif) 0 6px no-repeat; padding:2px 0 0 9px} +.mainBlock ul li a {text-decoration:none} +.mainBlock ul li a:hover {text-decoration:underline} + +.mainBlock .breadcrumbs {background:url(../images/hr.gif) 0 100% no-repeat; height:50px; margin-bottom:20px } +.mainBlock .breadcrumbs li {float:left; padding:0 5px 0 0; background:none } +.mainBlock .breadcrumbs li a {margin-right:5px; text-decoration:underline} +.mainBlock .breadcrumbs li a:hover {text-decoration:none} +.mainBlock .breadcrumbs li span {font-weight:bold; color:#a06d41} + +.mainBlock dl {padding:15px 5px 15px; background:url(../images/hr.gif) 0 100% no-repeat;} +.mainBlock dl dd {float:left; width:85px} +.mainBlock dl dt {padding-left:85px;} +.mainBlock dl dt .title {font-size:14px; font-weight:bold; padding-bottom:5px} +.mainBlock dl dt .title a {color:#251c13; text-decoration:none} +.mainBlock dl dt .title a:hover {text-decoration:underline} +.mainBlock dl dt .title span {font-size:12px; font-weight:normal} +.mainBlock dl dt p {padding-bottom:4px} +.mainBlock dl dt strong {color:#a06d41} +.mainBlock dl dt ul {padding-bottom:10px} +.mainBlock dl dt ul li {list-style:disc; margin-left:15px; padding:0; background:none} + + +.clear, .wrap {clear:both} +.right {float:right} +.left {float:left} + +#footer +{ + height: 31px; + width:370px; + margin: 15px auto 0 auto; + color:#a5a4a4; + font-family:Times New Roman; + font-size:12px; +} +#bottom_line +{ + color:#808080; + font-family:Verdana; + font-size:12px; + font-weight:normal; + margin: 0px auto 0 auto; + text-align:center; + width:800px; +} + +#footer a +{ + padding:0; +} +#nav +{ + border: 1px solid #585857; + background: #666866; + width:858px; + height:27px; + margin: 15px auto; + text-align:center; + line-height: 23px; + + font-family:Verdana; + background: url(../images/ptr_bg.gif) repeat-x top center #606260; + background-position: 0 100px; + font-family:Tahoma; + font-size: 12px; + font-weight:bold; +} + + +#nav a +{ + color: #fefefe; + padding:0 20px; +} +#nav a:hover +{ + text-decoration:none; +} + diff --git a/encicl/encicl.zip b/encicl/encicl.zip new file mode 100644 index 0000000..bd431f6 Binary files /dev/null and b/encicl/encicl.zip differ diff --git a/encicl/error.txt b/encicl/error.txt new file mode 100644 index 0000000..75007a5 --- /dev/null +++ b/encicl/error.txt @@ -0,0 +1 @@ +
    Летописец опять потерял свои свитки..
    \ No newline at end of file diff --git a/encicl/images/back_yellow.gif b/encicl/images/back_yellow.gif new file mode 100644 index 0000000..f839b23 Binary files /dev/null and b/encicl/images/back_yellow.gif differ diff --git a/encicl/images/biblru_03.jpg b/encicl/images/biblru_03.jpg new file mode 100644 index 0000000..fe76c50 Binary files /dev/null and b/encicl/images/biblru_03.jpg differ diff --git a/encicl/images/biblru_033.jpg b/encicl/images/biblru_033.jpg new file mode 100644 index 0000000..fe76c50 Binary files /dev/null and b/encicl/images/biblru_033.jpg differ diff --git a/encicl/images/bottom.gif b/encicl/images/bottom.gif new file mode 100644 index 0000000..b4c43b5 Binary files /dev/null and b/encicl/images/bottom.gif differ diff --git a/encicl/images/deviz.gif b/encicl/images/deviz.gif new file mode 100644 index 0000000..486b577 Binary files /dev/null and b/encicl/images/deviz.gif differ diff --git a/encicl/images/flag_dark.gif b/encicl/images/flag_dark.gif new file mode 100644 index 0000000..ae01d11 Binary files /dev/null and b/encicl/images/flag_dark.gif differ diff --git a/encicl/images/flag_haos.gif b/encicl/images/flag_haos.gif new file mode 100644 index 0000000..078ea11 Binary files /dev/null and b/encicl/images/flag_haos.gif differ diff --git a/encicl/images/flag_light.gif b/encicl/images/flag_light.gif new file mode 100644 index 0000000..842917a Binary files /dev/null and b/encicl/images/flag_light.gif differ diff --git a/encicl/images/i_dex.gif b/encicl/images/i_dex.gif new file mode 100644 index 0000000..5ae0a27 Binary files /dev/null and b/encicl/images/i_dex.gif differ diff --git a/encicl/images/i_freedom.gif b/encicl/images/i_freedom.gif new file mode 100644 index 0000000..b76a035 Binary files /dev/null and b/encicl/images/i_freedom.gif differ diff --git a/encicl/images/i_inst.gif b/encicl/images/i_inst.gif new file mode 100644 index 0000000..a82b8d7 Binary files /dev/null and b/encicl/images/i_inst.gif differ diff --git a/encicl/images/i_intel.gif b/encicl/images/i_intel.gif new file mode 100644 index 0000000..e4849c1 Binary files /dev/null and b/encicl/images/i_intel.gif differ diff --git a/encicl/images/i_power.gif b/encicl/images/i_power.gif new file mode 100644 index 0000000..cb8c95e Binary files /dev/null and b/encicl/images/i_power.gif differ diff --git a/encicl/images/i_spirit.gif b/encicl/images/i_spirit.gif new file mode 100644 index 0000000..f0a666e Binary files /dev/null and b/encicl/images/i_spirit.gif differ diff --git a/encicl/images/i_str.gif b/encicl/images/i_str.gif new file mode 100644 index 0000000..8965447 Binary files /dev/null and b/encicl/images/i_str.gif differ diff --git a/encicl/images/i_will.gif b/encicl/images/i_will.gif new file mode 100644 index 0000000..5d26067 Binary files /dev/null and b/encicl/images/i_will.gif differ diff --git a/encicl/images/i_wiz.gif b/encicl/images/i_wiz.gif new file mode 100644 index 0000000..604b2c1 Binary files /dev/null and b/encicl/images/i_wiz.gif differ diff --git a/encicl/images/icon_alignment.gif b/encicl/images/icon_alignment.gif new file mode 100644 index 0000000..85c3ba3 Binary files /dev/null and b/encicl/images/icon_alignment.gif differ diff --git a/encicl/images/icon_artefact.gif b/encicl/images/icon_artefact.gif new file mode 100644 index 0000000..d084c18 Binary files /dev/null and b/encicl/images/icon_artefact.gif differ diff --git a/encicl/images/icon_autors.gif b/encicl/images/icon_autors.gif new file mode 100644 index 0000000..21f2d08 Binary files /dev/null and b/encicl/images/icon_autors.gif differ diff --git a/encicl/images/icon_body.gif b/encicl/images/icon_body.gif new file mode 100644 index 0000000..cb3dc9e Binary files /dev/null and b/encicl/images/icon_body.gif differ diff --git a/encicl/images/icon_comment.gif b/encicl/images/icon_comment.gif new file mode 100644 index 0000000..5f16fa4 Binary files /dev/null and b/encicl/images/icon_comment.gif differ diff --git a/encicl/images/icon_credit.gif b/encicl/images/icon_credit.gif new file mode 100644 index 0000000..52d59b6 Binary files /dev/null and b/encicl/images/icon_credit.gif differ diff --git a/encicl/images/icon_dark.gif b/encicl/images/icon_dark.gif new file mode 100644 index 0000000..35e171d Binary files /dev/null and b/encicl/images/icon_dark.gif differ diff --git a/encicl/images/icon_epos.gif b/encicl/images/icon_epos.gif new file mode 100644 index 0000000..5eba055 Binary files /dev/null and b/encicl/images/icon_epos.gif differ diff --git a/encicl/images/icon_eurocredit.gif b/encicl/images/icon_eurocredit.gif new file mode 100644 index 0000000..52d59b6 Binary files /dev/null and b/encicl/images/icon_eurocredit.gif differ diff --git a/encicl/images/icon_gorods.gif b/encicl/images/icon_gorods.gif new file mode 100644 index 0000000..1147696 Binary files /dev/null and b/encicl/images/icon_gorods.gif differ diff --git a/encicl/images/icon_haos.gif b/encicl/images/icon_haos.gif new file mode 100644 index 0000000..dd0d287 Binary files /dev/null and b/encicl/images/icon_haos.gif differ diff --git a/encicl/images/icon_library.gif b/encicl/images/icon_library.gif new file mode 100644 index 0000000..12e9eea Binary files /dev/null and b/encicl/images/icon_library.gif differ diff --git a/encicl/images/icon_logo.gif b/encicl/images/icon_logo.gif new file mode 100644 index 0000000..e78bb93 Binary files /dev/null and b/encicl/images/icon_logo.gif differ diff --git a/encicl/images/icon_monstr.gif b/encicl/images/icon_monstr.gif new file mode 100644 index 0000000..0c284cd Binary files /dev/null and b/encicl/images/icon_monstr.gif differ diff --git a/encicl/images/icon_paladin.gif b/encicl/images/icon_paladin.gif new file mode 100644 index 0000000..52659bf Binary files /dev/null and b/encicl/images/icon_paladin.gif differ diff --git a/encicl/images/icon_paladin1.gif b/encicl/images/icon_paladin1.gif new file mode 100644 index 0000000..ab59053 Binary files /dev/null and b/encicl/images/icon_paladin1.gif differ diff --git a/encicl/images/icon_repair.gif b/encicl/images/icon_repair.gif new file mode 100644 index 0000000..bf5c8be Binary files /dev/null and b/encicl/images/icon_repair.gif differ diff --git a/encicl/images/icon_story.gif b/encicl/images/icon_story.gif new file mode 100644 index 0000000..aa34d6f Binary files /dev/null and b/encicl/images/icon_story.gif differ diff --git a/encicl/images/icon_travma.gif b/encicl/images/icon_travma.gif new file mode 100644 index 0000000..bf3fab9 Binary files /dev/null and b/encicl/images/icon_travma.gif differ diff --git a/encicl/images/logo.jpg b/encicl/images/logo.jpg new file mode 100644 index 0000000..9c3bdf1 Binary files /dev/null and b/encicl/images/logo.jpg differ diff --git a/encicl/images/logo.png b/encicl/images/logo.png new file mode 100644 index 0000000..a287e69 Binary files /dev/null and b/encicl/images/logo.png differ diff --git a/encicl/images/magic_black.gif b/encicl/images/magic_black.gif new file mode 100644 index 0000000..2642515 Binary files /dev/null and b/encicl/images/magic_black.gif differ diff --git a/encicl/images/magic_gray.gif b/encicl/images/magic_gray.gif new file mode 100644 index 0000000..5c52615 Binary files /dev/null and b/encicl/images/magic_gray.gif differ diff --git a/encicl/images/magic_wind.gif b/encicl/images/magic_wind.gif new file mode 100644 index 0000000..48e34cc Binary files /dev/null and b/encicl/images/magic_wind.gif differ diff --git a/encicl/images/paper1.gif b/encicl/images/paper1.gif new file mode 100644 index 0000000..113f54e Binary files /dev/null and b/encicl/images/paper1.gif differ diff --git a/encicl/images/paper1.jpg b/encicl/images/paper1.jpg new file mode 100644 index 0000000..c64c753 Binary files /dev/null and b/encicl/images/paper1.jpg differ diff --git a/encicl/images/paper2.gif b/encicl/images/paper2.gif new file mode 100644 index 0000000..86b1a91 Binary files /dev/null and b/encicl/images/paper2.gif differ diff --git a/encicl/images/pict_1.jpg b/encicl/images/pict_1.jpg new file mode 100644 index 0000000..8b2d9e5 Binary files /dev/null and b/encicl/images/pict_1.jpg differ diff --git a/encicl/images/pict_10.jpg b/encicl/images/pict_10.jpg new file mode 100644 index 0000000..b034700 Binary files /dev/null and b/encicl/images/pict_10.jpg differ diff --git a/encicl/images/pict_11.jpg b/encicl/images/pict_11.jpg new file mode 100644 index 0000000..b5a56a8 Binary files /dev/null and b/encicl/images/pict_11.jpg differ diff --git a/encicl/images/pict_12.jpg b/encicl/images/pict_12.jpg new file mode 100644 index 0000000..77dbb84 Binary files /dev/null and b/encicl/images/pict_12.jpg differ diff --git a/encicl/images/pict_13.jpg b/encicl/images/pict_13.jpg new file mode 100644 index 0000000..8672284 Binary files /dev/null and b/encicl/images/pict_13.jpg differ diff --git a/encicl/images/pict_14.jpg b/encicl/images/pict_14.jpg new file mode 100644 index 0000000..3159b4d Binary files /dev/null and b/encicl/images/pict_14.jpg differ diff --git a/encicl/images/pict_15.jpg b/encicl/images/pict_15.jpg new file mode 100644 index 0000000..31f4823 Binary files /dev/null and b/encicl/images/pict_15.jpg differ diff --git a/encicl/images/pict_16.jpg b/encicl/images/pict_16.jpg new file mode 100644 index 0000000..2c7a9d5 Binary files /dev/null and b/encicl/images/pict_16.jpg differ diff --git a/encicl/images/pict_17.jpg b/encicl/images/pict_17.jpg new file mode 100644 index 0000000..be7895c Binary files /dev/null and b/encicl/images/pict_17.jpg differ diff --git a/encicl/images/pict_2.jpg b/encicl/images/pict_2.jpg new file mode 100644 index 0000000..17cb110 Binary files /dev/null and b/encicl/images/pict_2.jpg differ diff --git a/encicl/images/pict_3.jpg b/encicl/images/pict_3.jpg new file mode 100644 index 0000000..582b605 Binary files /dev/null and b/encicl/images/pict_3.jpg differ diff --git a/encicl/images/pict_4.jpg b/encicl/images/pict_4.jpg new file mode 100644 index 0000000..1a3498c Binary files /dev/null and b/encicl/images/pict_4.jpg differ diff --git a/encicl/images/pict_5.jpg b/encicl/images/pict_5.jpg new file mode 100644 index 0000000..91a343a Binary files /dev/null and b/encicl/images/pict_5.jpg differ diff --git a/encicl/images/pict_6.jpg b/encicl/images/pict_6.jpg new file mode 100644 index 0000000..2fd7a16 Binary files /dev/null and b/encicl/images/pict_6.jpg differ diff --git a/encicl/images/pict_7.jpg b/encicl/images/pict_7.jpg new file mode 100644 index 0000000..9ec30ff Binary files /dev/null and b/encicl/images/pict_7.jpg differ diff --git a/encicl/images/pict_8.jpg b/encicl/images/pict_8.jpg new file mode 100644 index 0000000..efdb4a1 Binary files /dev/null and b/encicl/images/pict_8.jpg differ diff --git a/encicl/images/pict_9.jpg b/encicl/images/pict_9.jpg new file mode 100644 index 0000000..61f5343 Binary files /dev/null and b/encicl/images/pict_9.jpg differ diff --git a/encicl/images/title_abilities1.gif b/encicl/images/title_abilities1.gif new file mode 100644 index 0000000..0584485 Binary files /dev/null and b/encicl/images/title_abilities1.gif differ diff --git a/encicl/images/title_additional.gif b/encicl/images/title_additional.gif new file mode 100644 index 0000000..4d4df70 Binary files /dev/null and b/encicl/images/title_additional.gif differ diff --git a/encicl/images/title_align.gif b/encicl/images/title_align.gif new file mode 100644 index 0000000..7b1ef42 Binary files /dev/null and b/encicl/images/title_align.gif differ diff --git a/encicl/images/title_artefact.gif b/encicl/images/title_artefact.gif new file mode 100644 index 0000000..d4c5b7d Binary files /dev/null and b/encicl/images/title_artefact.gif differ diff --git a/encicl/images/title_artefacts1.gif b/encicl/images/title_artefacts1.gif new file mode 100644 index 0000000..0152b53 Binary files /dev/null and b/encicl/images/title_artefacts1.gif differ diff --git a/encicl/images/title_articles.gif b/encicl/images/title_articles.gif new file mode 100644 index 0000000..5c49250 Binary files /dev/null and b/encicl/images/title_articles.gif differ diff --git a/encicl/images/title_blocks.gif b/encicl/images/title_blocks.gif new file mode 100644 index 0000000..3491fec Binary files /dev/null and b/encicl/images/title_blocks.gif differ diff --git a/encicl/images/title_calculate.gif b/encicl/images/title_calculate.gif new file mode 100644 index 0000000..093f1c2 Binary files /dev/null and b/encicl/images/title_calculate.gif differ diff --git a/encicl/images/title_cities.gif b/encicl/images/title_cities.gif new file mode 100644 index 0000000..61d0633 Binary files /dev/null and b/encicl/images/title_cities.gif differ diff --git a/encicl/images/title_credit.gif b/encicl/images/title_credit.gif new file mode 100644 index 0000000..5613f3e Binary files /dev/null and b/encicl/images/title_credit.gif differ diff --git a/encicl/images/title_dark.gif b/encicl/images/title_dark.gif new file mode 100644 index 0000000..86ffd47 Binary files /dev/null and b/encicl/images/title_dark.gif differ diff --git a/encicl/images/title_egergors.gif b/encicl/images/title_egergors.gif new file mode 100644 index 0000000..92da12d Binary files /dev/null and b/encicl/images/title_egergors.gif differ diff --git a/encicl/images/title_energo.gif b/encicl/images/title_energo.gif new file mode 100644 index 0000000..e2a7b58 Binary files /dev/null and b/encicl/images/title_energo.gif differ diff --git a/encicl/images/title_eurocredit.gif b/encicl/images/title_eurocredit.gif new file mode 100644 index 0000000..640d427 Binary files /dev/null and b/encicl/images/title_eurocredit.gif differ diff --git a/encicl/images/title_fightfinal.gif b/encicl/images/title_fightfinal.gif new file mode 100644 index 0000000..cda7823 Binary files /dev/null and b/encicl/images/title_fightfinal.gif differ diff --git a/encicl/images/title_fightround.gif b/encicl/images/title_fightround.gif new file mode 100644 index 0000000..ea3fe79 Binary files /dev/null and b/encicl/images/title_fightround.gif differ diff --git a/encicl/images/title_fights1.gif b/encicl/images/title_fights1.gif new file mode 100644 index 0000000..ab0a816 Binary files /dev/null and b/encicl/images/title_fights1.gif differ diff --git a/encicl/images/title_fireplan.gif b/encicl/images/title_fireplan.gif new file mode 100644 index 0000000..79dd02e Binary files /dev/null and b/encicl/images/title_fireplan.gif differ diff --git a/encicl/images/title_haos.gif b/encicl/images/title_haos.gif new file mode 100644 index 0000000..912fbcd Binary files /dev/null and b/encicl/images/title_haos.gif differ diff --git a/encicl/images/title_highercreatures.gif b/encicl/images/title_highercreatures.gif new file mode 100644 index 0000000..998e2d1 Binary files /dev/null and b/encicl/images/title_highercreatures.gif differ diff --git a/encicl/images/title_honor.gif b/encicl/images/title_honor.gif new file mode 100644 index 0000000..647f2a0 Binary files /dev/null and b/encicl/images/title_honor.gif differ diff --git a/encicl/images/title_index.gif b/encicl/images/title_index.gif new file mode 100644 index 0000000..a690219 Binary files /dev/null and b/encicl/images/title_index.gif differ diff --git a/encicl/images/title_invalid.gif b/encicl/images/title_invalid.gif new file mode 100644 index 0000000..e38c298 Binary files /dev/null and b/encicl/images/title_invalid.gif differ diff --git a/encicl/images/title_krits.gif b/encicl/images/title_krits.gif new file mode 100644 index 0000000..5dc947a Binary files /dev/null and b/encicl/images/title_krits.gif differ diff --git a/encicl/images/title_labcreatures.gif b/encicl/images/title_labcreatures.gif new file mode 100644 index 0000000..2fdb354 Binary files /dev/null and b/encicl/images/title_labcreatures.gif differ diff --git a/encicl/images/title_labyrint.gif b/encicl/images/title_labyrint.gif new file mode 100644 index 0000000..583eed5 Binary files /dev/null and b/encicl/images/title_labyrint.gif differ diff --git a/encicl/images/title_law.gif b/encicl/images/title_law.gif new file mode 100644 index 0000000..de131af Binary files /dev/null and b/encicl/images/title_law.gif differ diff --git a/encicl/images/title_limits.gif b/encicl/images/title_limits.gif new file mode 100644 index 0000000..95e1427 Binary files /dev/null and b/encicl/images/title_limits.gif differ diff --git a/encicl/images/title_mage.gif b/encicl/images/title_mage.gif new file mode 100644 index 0000000..cf3a59e Binary files /dev/null and b/encicl/images/title_mage.gif differ diff --git a/encicl/images/title_magical.gif b/encicl/images/title_magical.gif new file mode 100644 index 0000000..24121a3 Binary files /dev/null and b/encicl/images/title_magical.gif differ diff --git a/encicl/images/title_magiccolor.gif b/encicl/images/title_magiccolor.gif new file mode 100644 index 0000000..b530c61 Binary files /dev/null and b/encicl/images/title_magiccolor.gif differ diff --git a/encicl/images/title_magicproof.gif b/encicl/images/title_magicproof.gif new file mode 100644 index 0000000..cf6f6a6 Binary files /dev/null and b/encicl/images/title_magicproof.gif differ diff --git a/encicl/images/title_magicschools.gif b/encicl/images/title_magicschools.gif new file mode 100644 index 0000000..e755eac Binary files /dev/null and b/encicl/images/title_magicschools.gif differ diff --git a/encicl/images/title_magicstuff.gif b/encicl/images/title_magicstuff.gif new file mode 100644 index 0000000..34ef040 Binary files /dev/null and b/encicl/images/title_magicstuff.gif differ diff --git a/encicl/images/title_modificators.gif b/encicl/images/title_modificators.gif new file mode 100644 index 0000000..caea8ed Binary files /dev/null and b/encicl/images/title_modificators.gif differ diff --git a/encicl/images/title_money.gif b/encicl/images/title_money.gif new file mode 100644 index 0000000..9e8b544 Binary files /dev/null and b/encicl/images/title_money.gif differ diff --git a/encicl/images/title_monstr.gif b/encicl/images/title_monstr.gif new file mode 100644 index 0000000..a9399c5 Binary files /dev/null and b/encicl/images/title_monstr.gif differ diff --git a/encicl/images/title_natural.gif b/encicl/images/title_natural.gif new file mode 100644 index 0000000..8349868 Binary files /dev/null and b/encicl/images/title_natural.gif differ diff --git a/encicl/images/title_null.gif b/encicl/images/title_null.gif new file mode 100644 index 0000000..009219b Binary files /dev/null and b/encicl/images/title_null.gif differ diff --git a/encicl/images/title_othercreatures.gif b/encicl/images/title_othercreatures.gif new file mode 100644 index 0000000..a345053 Binary files /dev/null and b/encicl/images/title_othercreatures.gif differ diff --git a/encicl/images/title_param.gif b/encicl/images/title_param.gif new file mode 100644 index 0000000..55ae948 Binary files /dev/null and b/encicl/images/title_param.gif differ diff --git a/encicl/images/title_part5.gif b/encicl/images/title_part5.gif new file mode 100644 index 0000000..08fd973 Binary files /dev/null and b/encicl/images/title_part5.gif differ diff --git a/encicl/images/title_preamble.gif b/encicl/images/title_preamble.gif new file mode 100644 index 0000000..9d039f1 Binary files /dev/null and b/encicl/images/title_preamble.gif differ diff --git a/encicl/images/title_profession.gif b/encicl/images/title_profession.gif new file mode 100644 index 0000000..ff85b10 Binary files /dev/null and b/encicl/images/title_profession.gif differ diff --git a/encicl/images/title_protection.gif b/encicl/images/title_protection.gif new file mode 100644 index 0000000..6897505 Binary files /dev/null and b/encicl/images/title_protection.gif differ diff --git a/encicl/images/title_regeneration.gif b/encicl/images/title_regeneration.gif new file mode 100644 index 0000000..b3330f5 Binary files /dev/null and b/encicl/images/title_regeneration.gif differ diff --git a/encicl/images/title_sikness.gif b/encicl/images/title_sikness.gif new file mode 100644 index 0000000..b0aa2ac Binary files /dev/null and b/encicl/images/title_sikness.gif differ diff --git a/encicl/images/title_spells.gif b/encicl/images/title_spells.gif new file mode 100644 index 0000000..4009b9a Binary files /dev/null and b/encicl/images/title_spells.gif differ diff --git a/encicl/images/title_start.gif b/encicl/images/title_start.gif new file mode 100644 index 0000000..584219f Binary files /dev/null and b/encicl/images/title_start.gif differ diff --git a/encicl/images/title_story.gif b/encicl/images/title_story.gif new file mode 100644 index 0000000..2b1f491 Binary files /dev/null and b/encicl/images/title_story.gif differ diff --git a/encicl/images/title_strike.gif b/encicl/images/title_strike.gif new file mode 100644 index 0000000..4db60fc Binary files /dev/null and b/encicl/images/title_strike.gif differ diff --git a/encicl/images/title_subject.gif b/encicl/images/title_subject.gif new file mode 100644 index 0000000..cfa4bd7 Binary files /dev/null and b/encicl/images/title_subject.gif differ diff --git a/encicl/images/title_type_work.gif b/encicl/images/title_type_work.gif new file mode 100644 index 0000000..65cca15 Binary files /dev/null and b/encicl/images/title_type_work.gif differ diff --git a/encicl/images/title_upgrade.gif b/encicl/images/title_upgrade.gif new file mode 100644 index 0000000..92171ae Binary files /dev/null and b/encicl/images/title_upgrade.gif differ diff --git a/encicl/images/title_weaponry.gif b/encicl/images/title_weaponry.gif new file mode 100644 index 0000000..fa9471b Binary files /dev/null and b/encicl/images/title_weaponry.gif differ diff --git a/encicl/images/title_worlds.gif b/encicl/images/title_worlds.gif new file mode 100644 index 0000000..7a66c9e Binary files /dev/null and b/encicl/images/title_worlds.gif differ diff --git a/encicl/images/top.gif b/encicl/images/top.gif new file mode 100644 index 0000000..2bc42ee Binary files /dev/null and b/encicl/images/top.gif differ diff --git a/encicl/images/travma2.gif b/encicl/images/travma2.gif new file mode 100644 index 0000000..0226e02 Binary files /dev/null and b/encicl/images/travma2.gif differ diff --git a/encicl/index.php b/encicl/index.php new file mode 100644 index 0000000..bb00d4b --- /dev/null +++ b/encicl/index.php @@ -0,0 +1,206 @@ + + $v) { + $_POST[$k] = htmlspecialchars($v); +} + +foreach($_GET as $k => $v) { + $_GET[$k] = htmlspecialchars($v); +} + +foreach($_REQUEST as $k => $v) { + $_REQUEST[$k] = htmlspecialchars($v); +} + + + +function imgh($page) { + if($page) { + if(file_exists("images/title_$page.gif")) { + echo ""; + } else { + echo ""; + } + } else { + echo ""; + } +} + +function icon($section, $page) { + $big = "_big"; + $sections = array(0 => "epos", 1 => "body", 2 => "body", 3 => "alignment", 4 => "library", 5 => "credit", 6 => "library", 7 => "library", 8 => "library", 9 => "artefact", 10 => "artefact", 11 => "comment"); + if($section == "99" && $_GET['clan']) { + echo ""; + } elseif($section == "99" && $page == "clans1") { + echo ""; + } elseif($section != "") { + echo ""; + } else { + echo ""; + } +} + +function heading($section, $page) { + $sections = array(0 => "Основная информация", 1 => "Глава 1 - Показатели способностей игрового персонажа", 2 => "Глава 2 - Развитие игровых персонажей", 3 => "Глава 3 - Склонности", 4 => "Глава 4", 5 => "Глава 5 - Деньги, предметы, экономика", 6 => "Глава 6", 7 => "Глава 7", 8 => "Глава 8", 9 => "Глава 9", 10 => "Глава 10", 99 => "Кланы"); + $pages = array("exptablel" => "Таблица опыта", "law" => "Законы", "preamble" => "Преамбула", "param" => "Развитие персонажа, параметры", "start" => "Быстрый старт", "aligment" => "Склонности", "change_align" => "Изменение склонности", "credit" => "Кредиты", "dark" => "Путь Тьмы", "haos" => "Путь Хаоса", "paladin" => "Путь Света", "vocabilory" => "Словарь", "type_money" => "Виды денежных единиц", "type_work" => "Виды заработка"); + if($page) { + echo "Бойцовский Клуб Возрождение / Энциклопедия / $sections[$section] - $pages[$page]"; + } else { + echo "Бойцовский Клуб Возрождение / Энциклопедия"; + } +} + +function showpage($page,$s) { + if($page) { + if(file_exists("section$s/$page.txt")) { + include "section$s/$page.txt"; + } else { + include "error.txt"; + } + } else { + include "index.txt"; + } +} + +function pagenav($section, $page) { +// Перчечисляем названия разделов +$sections = array(0 => "Основная информация", + 1 => "Глава 1 - Показатели способностей игрового персонажа", + 2 => "Глава 2 - Развитие игровых персонажей", + 3 => "Глава 3 - Склонности", + 4 => "Глава 4", + 5 => "Глава 5 - Деньги, предметы, экономика", + 6 => "Глава 6 - Магия", + 7 => "Глава 7", + 8 => "Глава 8 - Другие миры", + 9 => "Глава 9 - Артефакты, сокровища", + 10 => "Глава 10 - Неуправляемые персонажи", + 99 => "Кланы"); +// Перечисляем названия страниц +$pages = array("exptablel" => "Таблица опыта", + "law" => "Законы", + "preamble" => "Преамбула", + "param" => "Развитие персонажа, параметры", + "start" => "Быстрый старт", + "alignment" => "Склонности", + "change_align" => "Изменение склонности", + "credit" => "Кредиты", + "dark" => "Путь Тьмы", + "haos" => "Путь Хаоса", + "paladin" => "Путь Света", + "vocabilory" => "Словарь", + "type_money" => "Виды денежных единиц", + "type_work" => "Виды заработка"); + +if ($page && $section != "99") { +echo "К списку разделов >> $sections[$section] >>> $pages[$page]"; +} +elseif ($section == "99" && $_GET['clan']) { +echo "К списку разделов >> К списку кланов >> $_GET[clan]"; +} +elseif ($page == "clans1") { +echo "К списку разделов >> Зарегистрированные кланы"; +} +else { echo "В данной энциклопедии собраны все сведения, полезные для игрока. Выберите интересующий Вас раздел, для получения инфомрации."; } +} + +$page = $_GET['page']; +$section = $_GET['section']; +/* Заметки к использованию +----Пополнение энциклопедии +1)Раскомментировать ссылку на добавляемый материал в index.txt в корне энциклопедии +2)В соответствующую разделу папку (где section0-корень энциклопедии, sectionXX - номер раздела добавить TXT +файл с кодом содержимого ячейки (название файла должно соответствовать аттрибуду page=XXX ссылки) +3)Добавить название материала в массив функии pagenav +*/ +?> +<?php heading($section, $page); ?> + + + + + + + + + + +
    + + + + + +
    + + + + + + + + + +
    +
    + + + + + + + + + + + + +

    +
    +
    +
    + +
    + +
    + + + +
    + + + + +
    + +

    + +

    +

     

    +
    +
    + + + + +
    + + +
    +




    +

    + + + + + +
    \ No newline at end of file diff --git a/encicl/index.txt b/encicl/index.txt new file mode 100644 index 0000000..b567d8f --- /dev/null +++ b/encicl/index.txt @@ -0,0 +1,113 @@ +
    +
    \ No newline at end of file diff --git a/encicl/kasteti/kastet2.html b/encicl/kasteti/kastet2.html new file mode 100644 index 0000000..40e63ac --- /dev/null +++ b/encicl/kasteti/kastet2.html @@ -0,0 +1,118 @@ + + + + +Библиотека ОлдБК - Кастет -Когти медведя- + + + + +
    + +
    +
    +
    + +
    +

    Содержание

    +
      + +
      + + + +

      Кастет -Когти медведя-

      + +
      +
      +
      +
      Кастет -Когти медведя- (Масса: 2)
      +

      Цена: 3 кр.

      +

      Долговечность : 0/20


      +

      Требуется минимальное:

      +
        +
      • Сила: 4
      • +
      • Ловкость: 4
      • +
      +

      Действует на:

      +
        +
      • Минимальное наносимое повреждение: 2
      • +
      • Максимальное наносимое повреждение: 4
      • +
      +
      +
      + +
      + +
      + +
    +
    +
    + + +

    Многопользовательская бесплатная онлайн фэнтези рпг - ОлдБК - Бойцовский Квартал
    +
    +
    + + + + diff --git a/encicl/kasteti/noziikasteti.txt b/encicl/kasteti/noziikasteti.txt new file mode 100644 index 0000000..79c219c --- /dev/null +++ b/encicl/kasteti/noziikasteti.txt @@ -0,0 +1,229 @@ + + + + +Библиотека ОлдБК - Кастеты и ножи + + + + +
    + + + +

    Кастеты и ножи

    + +
    +
    +
    + +

    Цена: 3 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 4
    • +
    • Ловкость: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 2
    • +
    • Максимальное наносимое повреждение: 4
    • +
    +
    +
    + + +
    +
    +
    +
    Нож -Убийцы- (Масса: 2)
    +

    Цена: 3 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 4
    • +
    • Ловкость: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 5
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 3
    • +
    • Максимальное наносимое повреждение: 4
    • +
    +
    +
    +
    +
    +
    +
    Кинжал -Jackal- (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    • Выносливость: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 10 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Ловкость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Уровень жизни: +3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 14 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 3
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Мф. критических ударов: +2%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 14 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Интуиция: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 2
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 17 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Ловкость: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 19 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Ловкость: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 25 кр.

    +

    Долговечность : 0/100


    +

    Свойства предмета не идентифицированы + +

    +
    +
    +
    +
    + +

    Цена: 26 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 8
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 10
    • +
    • Уровень жизни: +3
    • +
    +
    +
    + +
    + +
    + +
    + + \ No newline at end of file diff --git a/encicl/klan/Admins.html b/encicl/klan/Admins.html new file mode 100644 index 0000000..969f79b --- /dev/null +++ b/encicl/klan/Admins.html @@ -0,0 +1,24 @@ + + Энциклопедия - Кланы - Admins +
     
    +
    + +
    + + Полный список кланов +
    + Admins +
    +
    +
    Описание клана:
    +

    + +
    Глава клана:
     Хранитель
    +
    + +
    + +
    +
    +
    +
    \ No newline at end of file diff --git a/encicl/labirint.php b/encicl/labirint.php new file mode 100644 index 0000000..d948a75 --- /dev/null +++ b/encicl/labirint.php @@ -0,0 +1,906 @@ + '0'){ + die(""); +} + +$vipUsers = array( + 'SaulDin', + 'Дед Мазай', + 'Лик Ужаса', + +); +$errkom = ''; + +$varsitm = array(array(270, 1)); + +$varsitm2 = array(array(87, 1), array(88, 1), array(48, 1), array(49, 1), array(29, 1), array(66, 1), array(97, 1), array(67, 1), array(98, 1), array(115, 1)); + +function labaItemAdd($id, $type) { + global $user; + if($type == 1) { + $dress = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + } else { + $dress = mysql_fetch_array(mysql_query('SELECT * FROM `ashop` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + } + if(isset($dress['id'])) { + mysql_query("INSERT INTO `inventory` (`laba`, `prototype`,`owner`,`name`,`type`,`massa`,`cost`, `img`,`maxdur`,`isrep`,`gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`,`mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`koll`) VALUES ('$type', '{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}','{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress[koll]}')"); + } +} + +function money_add($sum) { + global $user; + $user['money'] += $sum; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); +} + +if($user['room'] == 1052) { + if($user['id'] == 10022) { + $lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + $map = mysql_fetch_array(mysql_query('SELECT `id`,`data`,`update` FROM `laba_map` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + } else { + $lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + $map = mysql_fetch_array(mysql_query('SELECT `id`,`data`,`update` FROM `laba_map` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + } + + $dies = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$user['laba'].'" AND `vars` = "dielaba" LIMIT 1')); + $dies = $dies[0]; + $map_d = json_decode($map['data']); + $usersDng = setHP($user['hp'], $user['maxhp'], 0); + $errors = ''; + $effed = ''; + $mapsee = ''; + $varos = array(); + $varos['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + + $real_x = $user['x']; + $real_y = $user['y']; + if($real_y < 6) { $real_y = 6; } + if($real_x < 6) { $real_x = 6; } + + if($real_y > count($map_d) - 7) { + $real_y = count($map_d) - 7; + } + + if($real_x > count($map_d) - 7) { + $real_x = count($map_d) - 7; + } + + $objs = array(); + + $sp = mysql_query('SELECT * FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'" AND `x` > '.($real_x - 7).' AND `x` < '.($real_x + 7).' AND `y` > '.($real_y - 12).' AND `y` < '.($real_y + 12).' LIMIT 144'); + while($pl = mysql_fetch_array($sp)) { + $objs[$pl['x']][$pl['y']] = $pl; + } + + $i = 1; + $goodgoo = array(1 => 0, 2 => 0, 3 => 0, 4 => 0); + while($i <= 4) { + $goto = array('x' => $user['y'], 'y' => $user['x']); + if($i == 1) { + $goto['x']--; + } elseif($i == 2) { + $goto['y']--; + } elseif($i == 3) { + $goto['x']++; + } elseif($i == 4) { + $goto['y']++; + } + if($map_d[$goto['y']][$goto['x']] == 0 && $goto['x'] > 0 && $goto['x'] < count($map_d)-1 && $user['timeGo'] <= time()) { + $goodgoo[$i] = 1; + } + $i++; + } + + if(isset($_GET['goto'])) { + $goto = array('x' => $user['y'], 'y' => $user['x']); + if($_GET['goto'] == 1 ) { + $goto['x']--; + } elseif($_GET['goto'] == 2) { + $goto['y']--; + } elseif($_GET['goto'] == 3) { + $goto['x']++; + } elseif($_GET['goto'] == 4) { + $goto['y']++; + } + + if($goodgoo[$_GET['goto']] == 1 && $user['timeGo'] <= time()) { + $user['y'] = $goto['x']; + $user['x'] = $goto['y']; + $real_x = $user['x']; + $real_y = $user['y']; + $varos['timego'] = 0; #5 + if(isset($varos['trap1']['id'])) { + $varos['timego'] += 3; + } + if($user['align'] == 2.99) { $varos['timego'] = 0; } + $user['timeGo'] = (time()+$varos['timego']); + $user['timeGoL'] = time(); + if(!mysql_query('UPDATE `users` SET `x` = "'.$user['x'].'", `y` = "'.$user['y'].'", `timeGoL` = "'.$user['timeGoL'].'", `timeGo` = "'.$user['timeGo'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1')) { + $errors = 'Ошибка перемещения!'; + } + } + } + + if($real_y < 6) { $real_y = 6; } + if($real_x < 6) { $real_x = 6; } + + if($real_y > count($map_d) - 7) { + $real_y = count($map_d) - 7; + } + if($real_x > count($map_d) - 7) { + $real_x = count($map_d) - 7; + } + + $tmdg = ($user['timeGo']-time()); + $tmdgl = ($user['timeGo']-$user['timeGoL']); + $tmdgp = floor(100-$tmdg/$tmdgl*100); + if($tmdgp < 1) { $tmdgp = 1; } elseif($tmdgp > 100) { $tmdgp = 100; } + $tmdgm = 25*$tmdgl; + $tmdg = floor(40/100*$tmdgp); + + if($tmdg < 1) { + $tmdg = 1; + } elseif($tmdg > 40) { + $tmdg = 40; + } + + if(isset($_POST['exit'])) { + if($lab['users'] < 2) { + mysql_query('DELETE FROM `laba_now` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "'.$lab['id'].'"'); + } else { + $lab['users']--; + mysql_query('UPDATE `laba_now` SET `users` = "'.$lab['users'].'" WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + } + $dresed = mysql_query('SELECT `id`, `type` FROM `inventory` WHERE `dressed` = 1 AND `laba` = 2 AND `owner` = "'.$user['id'].'"'); + while($pl = mysql_fetch_array($dresed)) { + dropitemid($pl['type'], $user['id']); + } + mysql_query('DELETE FROM `inventory` WHERE `laba` > 0 AND `owner` = "'.$user['id'].'"'); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1051', `online`.`room` = '1051', `users`.`x` = '0', `users`.`y` = '0', `users`.`laba` = '0' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + mysql_query('UPDATE `qst_user` SET `val` = "0" WHERE `uid` = "'.$user['id'].'" AND `cancel` = "0" AND `finish` = "0"'); + addActions(time(), 'go_labirint', (time()+60*60*6), $user['id']); + header('Location: lab_enter.php'); + } + + $itms = ''; + + if(isset($objs[$user['x']][$user['y']]['id'])) { + $var = array(); + $mitm = $objs[$user['x']][$user['y']]; + if($mitm['type'] == 2) { + if($mitm['use'] == 0) { + $btl_pix = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `battle` > 0 AND `laba` = "'.$lab['id'].'" AND `x` = "'.$user['x'].'" AND `y` = "'.$user['y'].'" LIMIT 1')); + if(!isset($btl_pix['id']) ) { + $bots = array( + 0 => array(10025, 10026, 10027, 10028, 10031, 10032, 10033, 10034), + 1 => array(10111, 10112, 10113, 10114, 10115, 10116), + 2 => array(10111, 10112, 10113) + ); + $bot_pix2 = $bots[$lab['type']]; + + $teams = array(); + $where = ''; $bot_ids = ''; + $i = 0; + $j = (1+rand(0, floor($user['level']/rand(3, 4)))); + while($i < $j) { + $bot_pix = $bot_pix2[rand(0, count($bot_pix2)-1)]; + $bot_pix = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$bot_pix.'" LIMIT 1')); + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) VALUES ('".$bot_pix['login']." (Бот #$i)', '".$bot_pix['id']."', '', '".$bot_pix['maxhp']."')"); + $bot = mysql_insert_id(); + $bot_ids .= $bot.';'; + $teams[$user['id']][$bot] = array(0, 0, time()); + $teams[$bot][$user['id']] = array(0, 0, time()); + $where = ' `id` = '.$bot.' OR'; + $i++; + } + $bot_ids = rtrim($bot_ids, ';'); + $where = rtrim($where, ' OR'); + + if(!mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `x`, `y`) VALUES ('".serialize($teams)."', '3', '1', '0', '".$user['id']."', '".$bot_ids."', '".time()."', '".time()."', '".$user['x']."', '".$user['y']."')")) { die('Error #2'); } + + $id = mysql_insert_id(); + $bts = explode(';', $bot_ids); + $is = 0; + while($is <= count($bts)) { + $nicks .= nick3($bts[$is]).', '; + $i_d .= $bts[$is].', '; + $is++; + } + $nicks = rtrim($nicks, ', '); + $who = '`id` IN ('.rtrim($i_d, ', ').')'; + + if($user1['invis'] == 1) { + $rr = "невидимка и ".$nicks.""; + } else { + $rr = "".nick3($user['id'])." и ".$nicks.""; + } + + if(!mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE ".$who."")) { die('Error #1'.$who); } + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id`= {$user['id']} LIMIT 1"); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + } else { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1')); + $botd = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `battle` = "'.$bd['id'].'" LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$botd['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + $t1 = explode(";", $bd['t1']); + $ttt = 1; + addlog($jert['battle'], ''.date("H:i").' '.nick5($user['id'], "B".$ttt).' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = '".$bd['id']."', `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location: fbattle.php"); + } + die(""); + } + } elseif($mitm['type'] == 1) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 3) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 4) { + if($mitm['use'] == 0) { + $var['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + $var['time'] = rand(1, 60); + if(isset($var['trap1']['id'])) { + mysql_query('UPDATE `laba_act` SET `vals` = "'.($var['trap1']['vals'] + $var['time']).'", `time` = "'.($var['trap1']['time'] + $var['time']*60).'" WHERE `id` = "'.$var['trap1']['id'].'" LIMIT 1'); + } else { + mysql_query('INSERT INTO `laba_act` (`uid`, `time`, `lib`, `vars`, `vals`) VALUES ("'.$user['id'].'", "'.(time()+$var['time']*60).'", "'.$lab['id'].'", "trap1", "'.$var['time'].'")'); + } + $mitm['use'] = $user['id']; + mysql_query('UPDATE `laba_obj` SET `use` = "'.$mitm['use'].'" WHERE `id` = "'.$mitm['id'].'" LIMIT 1'); + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['text'] = ' '.$user['login'].' угодил'.$var['sex'].' в ловушку...'; + $varos['trap1'] = mysql_fetch_array(mysql_query('SELECT `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + $errors .= ' '.$user['login'].' угодил'.$var['sex'].' в ловушку... Время перехода +3 секунды (Длительность: +'.$var['time'].' мин.)'; + } + } elseif($mitm['type'] == 5) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 6) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } + unset($var); + } + + if($user['y'] >= count($map_d)-2) { + if($lab['users'] < 2) { + mysql_query('DELETE FROM `laba_now` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "'.$lab['id'].'"'); + } else { + $lab['users']--; + mysql_query('UPDATE `laba_now` SET `users` = "'.$lab['users'].'" WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + } + $dresed = mysql_query('SELECT `id`, `type` FROM `inventory` WHERE `dressed` = 1 AND `laba` = 2 AND `owner` = "'.$user['id'].'"'); + while($pl = mysql_fetch_array($dresed)) { + dropitemid($pl['type'], $user['id']); + } + mysql_query('UPDATE `inventory` SET `laba` = 0 WHERE `laba` = 1 AND `owner` = "'.$user['id'].'"'); + mysql_query('DELETE FROM `inventory` WHERE `laba` = 2 AND `owner` = "'.$user['id'].'"'); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1051', `online`.`room` = '1051', `users`.`x` = '0', `users`.`y` = '0', `users`.`laba` = '0' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + addActions(time(), 'go_labirint', (time()+60*60*6), $user['id']); + header('Location: lab_enter.php'); + } + + if(isset($_GET['takeitm'])) { + $errors = 'Предмет не найден...'; + } elseif(isset($_GET['useobj'])) { + $var = array('obj' => mysql_fetch_array(mysql_query('SELECT * FROM `laba_obj` WHERE `id` = "'.mysql_real_escape_string($_GET['useobj']).'" AND `lib` = "'.$lab['id'].'" AND `x` = "'.$user['x'].'" AND `y` = "'.$user['y'].'" LIMIT 1'))); + if(isset($var['obj']['id'])) { + if($var['obj']['use'] == 0) { + if($var['obj']['type'] == 1) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['itm'] = $varsitm[rand(0, count($varsitm)-1)]; + $var['itm'] = $var['itm'][0]; + $var['itm'] = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `shop` WHERE `id` = "'.$var['itm'].'" LIMIT 1')); + if(isset($var['itm']['id'])) { + if($var['itm']['id'] == 270) { + $arr = array(0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2); + $kr = $arr[rand(0, count($arr)-1)]; + $var['itm']['name'] = $kr.' кр'; + money_add($kr); + unset($kr); + } else { + labaItemAdd($var['itm']['id'], 1); + } + } else { + $var['itm']['name'] = 'Предмет рассыпался на глазах...'; + } + $errors .= ' '.$user['login'].' открыл'.$var['sex'].' сундук...и забрал "'.$var['itm']['name'].'"'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 5) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['itm'] = $varsitm2[rand(0, count($varsitm2)-1)]; + $var['itm'] = $var['itm'][0]; + $var['itm'] = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `ashop` WHERE `id` = "'.$var['itm'].'" LIMIT 1')); + if(isset($var['itm']['id'])) { + labaItemAdd($var['itm']['id'], 2); + } else { + $var['itm']['name'] = 'Предмет рассыпался на глазах...'; + } + $errors .= ' '.$user['login'].' открыл'.$var['sex'].' Ящик Пандоры...и забрал "'.$var['itm']['name'].'"'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 3) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['hpp'] = rand(2, 5)*10; + $var['hp'] = round($user['maxhp']/100*$var['hpp']); + $user['hp'] += $var['hp']; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $errors .= ' '.$user['login'].' пополнил'.$var['sex'].' здоровье, Уровень Жизни +'.$var['hpp'].'% (+'.$var['hp'].'HP)'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 6) { + $var['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + if(isset($var['trap1']['id'])) { + $var['time'] = rand(1, 50); + if($var['trap1']['time'] <= (time()+60*$var['time'])) { + mysql_query('DELETE FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1'); + $errors .= '
    Действие ловушки закончилось.'; + unset($var['trap1'], $var['time']); + } else { + $var['trap1']['time'] -= 60*$var['time']; + mysql_query('UPDATE `laba_act` SET `time` = "'.$var['trap1']['time'].'" WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1'); + $errors = '
    Действие ловушки снижено на '.$var['time'].' мин...'; + } + $var['obj']['use'] = $user['id']; + } else { + $errors .= '
    Вам нечего очищать ...'; + } + } + if($var['obj']['use'] > 0) { + mysql_query('UPDATE `laba_obj` SET `use` = "'.$var['obj']['use'].'" WHERE `id` = "'.$var['obj']['id'].'" LIMIT 1'); + $var['obj']['use'] = $var['obj']['use']; + } + } else { + $errors = 'Кто-то уже использовал это до Вас...'; + } + } else { + $errors = 'Обьект не найден...'; + } + unset($var); + } + + $sp = mysql_query('SELECT `x`, `y`, `level`, `login` FROM `users` WHERE `laba` = "'.$lab['id'].'" AND `id` != "'.$user['id'].'" LIMIT 3'); + $pi = 1; + while($pl = mysql_fetch_array($sp)) { + $objs[$pl['x']][$pl['y']] = array(2 => '
    '); + $pi++; + } + + $objs[$user['x']][$user['y']] = array(2 => '
    '); + $i = 0; + while($i <= count($map_d)) { + $j = 0; + while($j < count($map_d[$i])) { + if($i > $real_x - 6 && $i < $real_x + 6 && $j > $real_y - 6 && $j < $real_y + 6) { + if($map_d[$i][$j] == 1) { + $mapsee .= '
    '.$objs[$i][$j][2].'
    '; + } else { + if(!isset($objs[$i][$j]['id'])) { + if(isset($objs[$i][$j][2])) { + + } elseif($j == 1) { + $objs[$i][$j][2] = '
    '; + } elseif($j == count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } + } else { + if($objs[$i][$j]['use'] == 0) { + $objs[$i][$j][2] = '
    '; + } else { + $objs[$i][$j][2] = ''; + } + } + $mapsee .= '
    '.$objs[$i][$j][2].'
    '; + } + } + $j++; + } + if($i > $real_x - 6 && $i < $real_x + 6) { + $mapsee .= '
    '; + } + $i++; + } + $mapsee = '
    '.$mapsee.'
    '; + + if($user['align'] == 2.99) { + unset($objs); + $objs[$user['x']][$user['y']] = array(2 => '
    '); + $i = 0; + while($i <= count($map_d)) { + $j = 0; + while($j < count($map_d[$i])) { + if($map_d[$i][$j] == 1) { + $mapsee2 .= '
    '.$objs[$i][$j][2].'
    '; + } else { + if(!isset($objs[$i][$j]['id'])) { + if(isset($objs[$i][$j][2])) { + + } elseif($j == 1 && $i > 0 && $i < count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } elseif($j == count($map_d)-2 && $i > 0 && $i < count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } + } else { + if($objs[$i][$j]['use'] == 0) { + $objs[$i][$j][2] = '
    '; + } else { + $objs[$i][$j][2] = ''; + } + } + $mapsee2 .= '
    '.$objs[$i][$j][2].'
    '; + } + $j++; + } + $mapsee2 .= '
    '; + $i++; + } + $mapsee2 = '
    '.$mapsee2.'
    '; + } + + if(isset($varos['trap1']['vals']) && $varos['trap1']['vals'] > 0) { + $effed .= '
    - Время перехода +3 секунды (Осталось : '.timeOut($varos['trap1']['time']-time()).')
    '; + } + unset($varos); +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + +
      + +
    +
    +
    +
    +
    + +
    +
    + +
    + 0 ) { + echo 'Кол-во смертей : '.$dies.'/3
    '; + } + ?> + Карта : #. Координаты : {X = | Y = } +
     
      + Задание: '.$q1['name'].'
    • '; + if( $q1['type'] == 1 ) { + echo 'Собрать ресурсы: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + + $qobj_f = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND "name" = "'.$qobj['obj_id'].'" LIMIT 1')); + if( $q2['val'] != $qobj[0] ) { + mysql_query('UPDATE `qst_user` SET `val` = "'.$qobj[0].'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + $q2['val'] = $qobj[0]; + } + echo ''.$qobj['name'].'  '; + }elseif( $q1['type'] == 2 ) { + echo 'Собрать трофеи: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + $qobj_f = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND "name" = "'.$qobj['obj_id'].'" LIMIT 1')); + + echo ''.$qobj['name'].''; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + if( $q2['val'] != $qobj[0] ) { + mysql_query('UPDATE `qst_user` SET `val` = "'.$qobj[0].'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + $q2['val'] = $qobj[0]; + } + echo ' c монстров '.$qobj['name'].'  '; + }elseif( $q1['type'] == 3 ) { + echo 'Убить монстров: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + echo ''.$qobj['login'].' ['.$qobj['level'].']  '; + } + echo '['.$q2['val'].'/'.$q1['obj_val'].']
    '; + echo '(Задание не засчитается, если Вы не найдёте выход.)'; + } + ?> +
     
     '; } ?> + + '.$mapsee2; + } + ?> +  
      + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
         
                                                                                                                           
      
    + +
     
    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Вверх
    ВлевоОбновитьВправо
    Вниз
    + + + + + + + +
    + +
    + + + \ No newline at end of file diff --git a/encicl/law.html b/encicl/law.html new file mode 100644 index 0000000..2864d51 --- /dev/null +++ b/encicl/law.html @@ -0,0 +1,198 @@ + - + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    +

    +
    "old-dark", . , . . + .

    + + +
    : +
    . +
    , . +
    "", .. . +
    , . +

    + +
    : +
    . +
    . +
    , \ . +
    . +
    - . +
    , . +

    + +
    ( ): +
    . +
    . +
    . +
    . +
    . +
    ( ). +
    . +
    . +
    . +

    + +
    : +
    ( .. , , , ). +
    . +
    / - , , , . +

    +
    : +
    . +
    ( ). +
    . +
    , old-dark. +

    + +
    , : +
    / / /. +
    , . +
    . +
    . +
    / , . +
    , ( ) . +
    / . +

    + +
    , : +
    - -, . +
    / . +
    -, , -, old-dark. +
    , old-dark. +

    + +
    : +
    , . +
    , . +
    , . +
    , . +

    + +
    . +
    / ( ) // old-dark. +
    / ( ) / old-dark. +
    / ( ) / , , old-dark. +
    / ( ) /, old-dark, // old-dark. +

    + +
    . +
    , /, , , , . +
    . +
    , . +
    // /, , , / , . +
    ( ""). +
    . +
    -, -, old-dark. +
    , . +
    ( , , , ..) +
    . +
    . +
    / . +
    . +
    . +

    + +
    : +
    . +
    ( ( : , ), , () ). +
    . +
    (, , , , (, ) , , , , old-dark). +
    ( () , ). +
    ( , ). +
    ( ). +

    + +
    , . +

    +
    , : +
    . +
    . +
    . +
    . +
    . +
    +
    www.goldpaladin.ru +
    . +

    +


    +
    + + + + + + +
    +
    +
    + + + + + +
    + + \ No newline at end of file diff --git a/encicl/law2.html b/encicl/law2.html new file mode 100644 index 0000000..52fc133 --- /dev/null +++ b/encicl/law2.html @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    +

    +

    + " " ( ""), : www.g.capitalcity.old-dark.ru, ( , ).

    + , . . .

    + + , g.capitalcity.old-dark.ru.

    + + .

    + + , , , 18- , , , -.

    + + , () , , , . , , , .

    + + , , , .

    + + , g.capitalcity.old-dark.ru, . " ". .

    +
    1.


    + +1.1. (). .
    +1.2. () .
    +1.3. () , , . .
    +1.4. , , , g.capitalcity.old-dark.ru, , .
    +1.5. . , ( ), , .

    +
    2.


    + +2.1. " " , , , .
    +2.2. .
    +2.3. , . , - , .

    +
    3.


    +3.1.

    + +3.1.1. .
    +3.1.2. , .
    +3.1.3. . () , (), .
    +3.1.4. . ( ) , .
    +3.1.5. , , : support@g.capitalcity.old-dark.ru.

    +3.2.

    + +3.2.1. , , . , . , . +, 18- , (, ..); . + , , , : support@g.capitalcity.old-dark.ru.
    +3.2.2. :
    +- : support@g.capitalcity.old-dark.ru,
    +- ,
    +- , .
    +3.2.3. , , :
    +- ;
    +- ;
    +- ;
    + (, , .), () .
    +3.2.4. , :
    +- , , , , ,
    , , , , / , , , , , ;
    +- / ;
    +- ;
    +- / , , , , - ;
    +-, , , - ;
    +-, , , - , , , / ;
    +-, , , ( ), , , () (MLM), - e-mail- ..
    +-, , - , , , , , , , , , ;
    +- ;
    +- ;
    +- ;
    +- ;
    +- , ;
    +- , , .
    +3.2.5. , , , , , : , , .

    +
    4.


    + +4.1. , , , , . + . IP- , (cookies), . + , , , , , , , , , , , , () . ( ), , , . + (); , , : support@g.capitalcity.old-dark.ru
    +4.2. , , , , .
    +4.3. .
    +4.4. , g.capitalcity.old-dark.ru , .

    +
    5.


    + + , : +() . " " ", ". - , , , , , , .
    +() , :
    +(1) ,
    +(2) , , ,
    +(3) , , ,
    +(4) , , , , ,
    +(5) .
    +() , , .
    +() , , , , .

    +
    6.


    + + , , , , , , , , , , - , ( ), :
    +(1) ˻;
    +(2) , , , ;
    +(3) ;
    +(4) ;
    +(5) , ˻.

    +
    7.


    + +7.1. , , , , .
    +7.2. , .
    +7.3. , , . , . .
    +7.4. . , , . , , , .

    +
    8.


    +8.1. "" ( ). , , , - .
    +8.2. .
    +8.3. , . . , , , .
    +8.4. .
    +8.5. , , , .

    + + + . +

    +


    +
    + + + + + + +
    +
    + +
    + + + + + + +
    + + + + + +
    + + \ No newline at end of file diff --git a/encicl/nav_error.txt b/encicl/nav_error.txt new file mode 100644 index 0000000..e69de29 diff --git a/encicl/section0/law.txt b/encicl/section0/law.txt new file mode 100644 index 0000000..4fbf56d --- /dev/null +++ b/encicl/section0/law.txt @@ -0,0 +1,94 @@ +Законы в old-dark абсолютны, не подвергаются обсуждению и должны безусловно выполнятся. За их выполнением следят Законники, которые являются носителями закона. Законники могут принять решения о наличии того или иного состава преступления.
    +Незнание законов не освобождает от ответственности.
    +
    +
    +Нарушения связанные с заведением нескольких персонажей. +
    +- Регистрация нескольких персонажей одним человеком.
    +- Предоставление ложной информации о персонажах, заходивших с одного компьютера.
    +- Прокачка на "ботах", т.е. специально заведенных персонажах.
    +
    +
    +Нарушения связанные с прокачкой
    +- Прокачка на других игроках за кредиты или взаимная прокачка.
    +- Прокачка младшего уровня старшим.
    +- Предложение в чате взаимной прокачки, заведомого проигрыша\выигрыша боя за кредиты.
    +
    +
    +Использование ненормативной лексики (в том числе завуалированного мата).
    +- Использование ненормативной лексики в чате.
    +- Использование ненормативной лексики на форуме.
    +- Использование ненормативной лексики в описании заявки для боя.
    +- Использование ненормативной лексики в анкете.
    +- Использование ненормативной лексики в нике.
    +- Использование ненормативной лексики в комментариях в боях (в записках комментатора).
    +- Использование ненормативной лексики при гравировке.
    +- Использование ненормативной лексики в комментариях к подарку.
    +- Сексуальные домогательства.
    +
    +
    +Нарушения связанные с обманом игроков.
    +- Обман игроков (в т.ч. мошенничество при проведении торговых, арендных и кредитных сделок, невыполнение условий сделки, хищение чужого имущества ).
    +- Осуществление определенной коммерческой деятельности без лицензии.
    +- Вымогательство/Шантаж - принуждение к совершения сделки посредством угроз распространения сведений, позорящих потерпевшего, либо иных сведений, которые могут причинить существенный вред правам или законным интересам потерпевшего.
    +
    + +Нарушения связанные с некорректной регистрацией
    +- Неверная дата рождения.
    +- Неверно указанный пол персонажа (пол персонажа должен соответствовать реальному полу игрока).
    +- Указывание несуществующего или принадлежащего другому человеку адреса почтового ящика.
    +
    +
    +Нарушения, мешающие судопроизводству.
    +- Обман Законника/ дача ложных показаний/предоставление сфабрикованных свидетельств/доказательств.
    +- Умышленный ввод в заблуждение представителей власти, отказ в предоставлении необходимой информации представителям власти.
    +- Попытка подкупа Законника.
    +- Флуд в рабочем топике Законников.
    +- Оскорбление Законника и/или Ордена Света, обсуждение действий Законника вне специально созданных топиков на Форуме в разделе Жалобы.
    +- Клевета, в том числе обвинение в оскорблении и предоставление Законнику заведомо ложной информации об оскорблении (модификация цитаты) или иная подделка информации.
    +- Попытка принуждения Законника к разглашению информации/превышению служебных полномочий в том числе посредством угроз.
    +
    +
    +Диверсионная деятельность, в том числе использование ошибок программного обеспечения сервера
    +- Диверсия - ДОС-атаки, использование ошибок программного обеспечения.
    +- Взлом/похищение персонажей.
    +- Распространение ссылок на веб-сайты, содержание которых вызывает сбои в работе компьютера, а равно на веб-сайты, содержание которых направлено на незаконное получение паролей доступа к персонажам old-dark.
    +- Накрутка рейтингов клановых сайтов, использование игровых багов и утаивание наличие данных от Администрации old-dark.
    +
    +
    +Прочие нарушения.
    +- Оскорбительные высказывания в адрес Администрации, игрока/игроков, Законников, Ордена Света, унижение их чести и достоинства, выраженное в неприличной форме.
    +- Публичные призывы к изменению законодательной и исполнительной власти.
    +- Покупки/продажи (равно как и попытки это сделать) персонажа/кредитов/екр./вещей за реал в обход официальных дилеров old-dark.
    +- Покупки/продажи (равно как и попытки это сделать) кредитов/вещей за екр. В обход официальных дилеров old-dark.
    +- Покупка/продажа предметов/услуг, не имеющих отношения к old-dark, за кредиты/предметы мира old-dark.
    +- Пропаганда наркотиков и реклама ресурсов, содержащих данную рекламу.
    +- Флуд/спам в чате/форуме, в том числе публичное предложение торговых сделок вне торгового зала, помехи при проведении свадебной церемонии.
    +- Прямая и косвенная реклама клановых сайтов (за исключением форума "кланы").
    +- Реклама порно-сайтов, распространение ссылок на веб-сайты, содержание которых не относится к old-dark.
    +- Пропаганда расизма, националистические высказывания.
    +- Дискриминация любого рода (по расовой, религиозной, половой принадлежности etc)
    +- Попрошайничество.
    +- Угрозы насилием и/или физической расправой в реале.
    +
    +
    +Нарушения связанные с превышением Законником своих полномочий.
    +- Вымогательство взятки.
    +- Получение взятки (получение Законником лично или через посредника взятки в виде денег (как игровых: кредитов или еврокредитов, так и реальных денег), вещей, иного имущества или выгод имущественного характера за действия (бездействие) в пользу взяткодателя или представляемых им лиц).
    +- Разглашение служебной информации.
    +- Шпионаж (передача, собирание, похищение, хранение, в целях передачи другим представителям склонностей (темной, нейтральной или серой) сведений, составляющих секретную информацию, для использования ее в ущерб белому братству, для собственной выгоды, а так же во вред всему игровому миру old-dark).
    +- Злоупотребление должностными полномочиями (использование должностным лицом (Законником) своих служебных полномочий вопреки интересам ордена, если это деяние совершено из корыстной или личной заинтересованности).
    +- Превышение должностных полномочий (совершение Законником действий, явно выходящих за пределы его полномочий).
    +- Халатность (неисполнение или ненадлежащее исполнение Законником своих обязанностей вследствие недобросовестного или небрежного отношения к службе).
    +
    +
    +Наказания могут применятся в комплексе и не сразу, а в последствии на более старших уровнях.

    +Возможные наказания за деяния, описанные выше:
    +- Заклятие молчания.
    +- Обезличивание.
    +- Присваивание склонности Хаос.
    +- Блокировка персонажа.
    +
    +
    +Свод законов может быть дополнен и изменен.
    +Следите за новостями на официальном сайте Ордена Законников paladins.g.capitalcity.old-dark.ru
    \ No newline at end of file diff --git a/encicl/section0/preamble.txt b/encicl/section0/preamble.txt new file mode 100644 index 0000000..fcfac7e --- /dev/null +++ b/encicl/section0/preamble.txt @@ -0,0 +1,34 @@ +ВОЗВРАЩЕНИЕ + + + +

    Он долго уже шел по дороге и, истоптав все ноги, подошел к городу, в котором, как было слышно по громким крикам, кипела жизнь.

    +- Ну, чего ты встал столбом?! Дай пройти! Стоят тут всякие, а ты обходи их..

    +Сразу было видно, что именно здесь и есть центр этого небольшого городка.

    +Он оглянулся и увидел еле разборчивые таблички на зданиях: магазин, комиссионный магазин, ремонтная мастерская. «Интересно, чем же здесь занимаются люди?» - подумал он, когда наткнулся на что-то высокое и упал...

    +-Ой! - сказал он, потирая лоб. Поднял голову и увидел памятник, который стоял прямо посреди площади.

    +-А кому это памятник то? – спросил он у первого встречного.
    +-А ты, видно, не местный, раз спрашиваешь. Это мэр наш, великий человек! Сам всё построил... Представляешь? Все эти здания, да-да. Великий человек! - ответил человек в белой рубахе и какими-то синяками по телу.
    +- А что это вообще за место?
    +- Это наша гордость – Главная площадь. Именно здесь находятся все самые важные объекты повседневной жизни людей этого города.
    +- А где я могу купить себе новые сапоги? А то мои совсем истрепались.
    +- Ну, это тебе в магазин надо, если деньги, конечно есть. Там столько всего, что глаза разбегаются, а руки сами тянутся ко всему подряд. Только будь осторожен, а то будешь тут же, возле памятника, подаяния, как я, просить, а тут итак места мало. Если денег не так много– через дом от магазина находится комиссионка, там цены поменьше, но и товар уже не новый.
    +- Расскажи мне о городе - попросил путник.
    +- Хорошо. Пошли, пройдемся по городу. Чинить-точить, лудить-паять – это сюда, ведь это Ремонтная Мастерская. А заодно можно и гравировочку интересную сделать или даже любимую рубаху модифицировать. Любой каприз за ваши деньги. Можно даже магию перезарядить, если есть желание, но только поосторожнее с этим, а то тут один молнией полыхнул, да так, что у мэра караоке три дня не включалось... А тут - почта. Вот, всё просто – заполняешь конверт, кому отправляешь и что. А потом кидаешь во-о-он в тот дальний ящик, а почтальон потом всё доставит. Очень удобно! А вот и Лотерея, тут, купив билет и выбрав 5 цифр наугад, можешь выиграть немного денег. Пошли дальше... Свернем правее – там торговая улица. Вот это улица, так улица, не то, что площадь там какая-то. Тихая, спокойная, никакой тебе суеты, сутолоки, такую только быстрыми деловыми шагами проходить. Почему, спрашиваешь? А потому что здания тут такие, на официальный лад настраивающие. Вон Регистратура Кланов стоит, а через дом от неё – Банк, тут не пошумишь, палицей не поразмахиваешь. Хотя, конечно, если ты уж совсем отчаянный – в Башню Смерти милости просим. Поджилки не затряслись ещё, коленки ходуном не ходят? Ну, тогда давай, дерзай. Если уж совсем туго придется –тебе, может, кто пару цветков пришлет, благо вон и Цветочный Магазин рядом.
    +- Расскажи поподробнее, что и как. Что в этих зданиях делать то?
    +- Какой же ты любопытный. Устал я с тобой ходить..иди сам узнай!

    +И зашел путник в банк..Там его встретил очень миловидный клерк. «Здесь вы можете проводить операции со своим счетом, такие как: открытие, закрытие, перевод средств, обмен еврокредитов на кредиты, оплата некоторых коммерческих услуг.» - рассказал он ему. Ну, а если вас не интересует ничего из вышеперечисленного, то можете просто зайти погреться и перекинуться парой слов с весьма миловидным клерком, который всегда готов помочь.

    +Выходя из банка он услышал крик глашатаего: "Ищите испытания для настоящих бойцов? Хотите проверить свой характер? Готовы испытать удачу? Башня Смерти – это для вас. В кровавом и беспощадном турнире победит и сорвет банк только один. Остальным же достанется только горечь поражения и утешительный приз в виде тяжелой травмы. Все ещё не передумали? Тогда смело бросайтесь в омут безбашенного по своей кошмарности аттракциона. Входной билет от 3 кредитов. Вход с 4-го уровня!"

    +Он оглядел себя и понял, что туда ему еще рановато… Пошел дальше и увидел весьма интересное здание. Табличка гласила «Регистратура кланов», он зашел и огляделся. На доске объявлений было прикреплено несколько бумажек: «Стоимость регистрации кланов: светлый - 1200 кр., темный - 1200 кр., истинно нейтральный - 1200 кр.» И список документов...

    +- Да-а-а уж, это мне не по карману, пойду я отсюда пока...

    +Чуть поодаль стоял магазинчик с разноцветными клумбами, а в самом магазине стояли симпатичные продавщицы... Он зашел и одна из них, улыбаясь, подошла к нему:

    +- Ну что ты запечалился, воин? Доспех жмет? Меч затупился? Нет? А, ну понятно тогда, в этом замешана женщина, я права? О, можешь не рассказывать, знаю-знаю, ты вот, а она... Да-а, тут тебе только букеты из нашего магазина помогут. Только будь готов, цветы – это штука не дешевая, так что думай, что выбирать... Тут недалеко еще сувернирный магазинчик есть, левее от нас. Может там что-то найдешь. Удачи тебе, путник.
    +- Спасибо.

    +Немного опечалив он вышел на улицу..а вот и магазинчик, про который продавщица говорила. Подойдя к нему, он увидел табличку: «Добро пожаловать в наш Сувенирный Магазин, самые лучшие сувениры Клуба, только у нас, только сейчас, только здесь, только сегодня. Игрушку даме сердца? Открытку другу на юбилей? Предупредительный костыль в праздничной упаковке для врага? Выбирайте, не стесняйтесь, огромный выбор товаров.»

    +«А что там за здание на площади то было? Большое такое..» - подумал путник и решил посмотреть, что он там упустил...

    +Войдя в замок, расположенный на Центральной Площади, он попадал в длинный коридор, полный дверей с разными непонятными табличками. Большинство из них закрыты, и вид имеют неиспользуемый, из под некоторых слышится негромкий разговор (Зал Тьмы) и только в одном проеме двери нет никакой, а внутри не продохнуть от дыма, запаха пота и крови, а при входе сразу же закладывает уши от стоящего гвалта, криков и звона оружия. Он зашел в комнату и увидел мол, заляпанный кровью, который оттирал горбатый старичок.

    +- А что здесь происходит? Почему они дерутся?
    +- О, ты новичок! Добро пожаловать. Тут все просто – заявляешь о том, что хочешь подраться, выбирается противник и идет бой. Выиграешь – набираешься опыта, зарабатываешь деньги, на деньги можешь приобрести себе новые вещи. Ты уже прошелся по Главной площади? Вот там всё и находится. Не испугался еще? Иди, попробуй, это интересно.
    +- А, знаешь, ты, наверное прав, я останусь…

    +

    (c) Marquise des anges
    +
    \ No newline at end of file diff --git a/encicl/section0/start.txt b/encicl/section0/start.txt new file mode 100644 index 0000000..d1f1087 --- /dev/null +++ b/encicl/section0/start.txt @@ -0,0 +1,53 @@ +

    Итак, ты все-таки вступил в клуб. Поступок, который уже достоин поощрения. Давай разберемся, что здесь надо делать.

    +

    Первым делом - осмотримся. Экран поделен на три области, две нижние отвечают за чат.
    + Я думаю, ты сам знаешь, что обычно делают в чатах ;) В правом фрейме список игроков, которые сейчас в этой комнате. Вот пример имени:

    +Wounderer [0]

    +

    Слева от имени - склонность игрока.
    + В данном случае это знак темных сил. Возможен и крест - значит этот человек Законник, защитник порядка, попросту модератор этого сайта. Череп - это Хаос, эту склонность можно получить, за неприличное поведение на сайте (матерится и подобные штучки), а так же нарушение правил Бойцовского Клуба (если ты при регистрации просто поставил галочку "согласен с правилами", не заглянув туда, то настоятельно рекомендую все же прочесть их, во избежание дальнейших недоразумений!) Получить Хаос я бы не торопился, так как это может сильно замедлить твое продвижение.

    +

    Правее от значка склонности может присутствовать еще какое-либо изображение, это означает, что игрок состоит в каком-то клане.
    + Справа от имени игрока число в квадратных скобках [0] - это уровень игрока. Нажав на , ты можешь узнать всю доступную информацию из анкеты игрока.
    + В нижней части экрана поле для ввода сообщения в чат и дополнительные настройки чата:
    + - Очистить окно чата. Когда в чате накапливается большщое кол-во сообщений за длительное время, то ваш браузер может начать порядочно "тормозить", а то и вовсе "зависнуть", советуем раз в час/два очищать окно чата.
    + - Показывать только сообщений адресованные мне. Поставив эту галочку вы отключите показ в чате всех сообщений, кроме тех, которые были адресованы именно вам. Если вас напрягает большой поток болтовни в чате, или у вас проблемы с трафиком, то советую использовать эту галочку.
    + - Обновление чата - Это частота обновления чата. При увеличении периода сообщения в чат будут дописываться реже, но большими порциями.
    + Итак, с чатом более-менее все понятно, пойдем дальше, в верхнею часть (Это основной экран который постоянно меняется по ходу игры):
    + В верхней половине экрана твое личное окно. Слева твой образ и твоя экипировка. Правее твоя статистика. Справа кнопки навигации по игре.

    +

    Пока остановлюсь на них:
    + "Поединки" - Здесь ты можешь повесить свою заявку на бой или выбрать чью-то заявку для боя, так же можешь увидеть список активных боев и заглянуть в логи уже оконченных поединков. Поединки бывают трех видов, но тебя пока интересует только один (об остальных видах, ты узнаешь, когда придет время:
    + 1. Бои Новичков - здесь бьются только игроки нулевого уровня. Можно использовать только грубую силу. Магию использовать невозможно.
    + "Настройки/Инвентарь" - здесь ты можешь посмотреть, какие вещи у тебя есть с собой, одеть или снять их. Изначально тебе дадут лишь рубашку. Если по ней щелкнуть мышью, то рубашка будет надета (находится в рюкзаке). Рядом с параметрами игрока есть красные плюсики, нажимая на которые вы можете увеличить параметры своего персонажа (если есть такая возможность).
    + Нажав на кнопку - "Редак-ть анкету", которая находиться в правом верхнем углу ты сможешь изменить информацию, которую вводил при регистрации.
    + Там же есть кнопка выбора картинки персонажа, внимание! образ выбирается один раз, потом сменить его невозможно.
    + "Передать предметы" - Здесь ты можешь передать предметы или кредиты любому из участников проекта. Если вы хотите передать предмет или деньги кому либо из участников проекта, то нажмите на кнопку Передать Предметы. После этого появиться окно в котором нужно написать ник/логин бойца которому вы хотите передать предметы/кредиты и нажать ОК. После этого вы увидите количество денег на вашем счету (кредитов и еврокредитов) и предложение передать некоторую сумму. Для этого нужно написать количество передаваемых денег в редактируемом окне и кликнуть на ОК. Справа будет содержимое вашего рюкзака. Чтобы передать предмет необходимо нажать на кнопку под ним. Но, к сожалению, на нулевом уровне любые передачи запрещены...
    + "Магазин" - Здесь ты можешь купить разнообразное оружие, броню, украшения и заклинания. Так же ты здесь можешь продать ненужные предметы.
    + "Карта миров" - отсюда вы можете зайти в разнообразные миры, доступ ко многим из них ограничен вашим уровнем, а к некоторым вашей склонностью.
    + "Обновить экран" и "Выход" по-моему, в объяснении не нуждаются.

    +

    Теперь перейдем к параметрам:
    + Сила - физическая мощь героя, развитая сила повышает силу удара в рукопашном бое, а также позволяет использовать более тяжелое оружие и доспехи.
    + Ловкость - изворотливость, мера ловкости и проворности героя, определяющая вашу подвижность в бое.
    + Интуиция - ваш внутренний дар позволяющий предугадывать действия противника.
    + Выносливость - мера здоровья персонажа (Влияет на хитпоинты: HP), также определяет способность нести определенную массу вещей в рюкзаке.
    +Это не все параметры, а только основные об остальных ты узнаешь позже. При создании героя все способности равны трем, вы имеете возможность еще на три увеличения любых способностей, в зависимости от стратегии развития персонажа, которую вы выбрали.

    +

    Дополнительные параметры:
    + HP - определяет здоровье персонажа (это цветная полоска над головой вашего персонажа), при достижении значение этого параметра равного нулю - вы проигрываете бой. Полоска жизни восстанавливается, из расчета 1% каждые 18 секунд, или 10% за три минуты.
    + Так же вы можете улучшить одно из умений (пока что это только умение обращаться с оружием разных видов).
    + Мастерство владения:
    + ножами и кастетами: 0
    + мечами: 0
    + дубинами, булавами: 0
    + топорами и секирами: 0
    + Умение обращаться с оружием (4 вида оружия).
    +
    + Опыт - твой жизненный опыт, за повышение опыта даются все возможные улучшения, первое свое улучшение ты получишь, когда достигнешь 20 очков опыта, второе улучшение 45. Опыт зависит также от соперника, если соперник тебя сильней, за победу над ним ты получаешь больше опыта, если слабее, то - меньше.

    +

    Уровень: 0 - У тебя он равен пока нулю, но по достижении определенного опыта уровень меняется. Всего уровней 21. Новички с нулевым уровнем, могут драться с только себе подобными, дальше никаких ограничений по уровню соперника нет.

    +

    Деньги - пока их у тебя ноль и о них рано говорить, почитаешь позже соответствующий раздел, одно скажу, деньги даются вместе с повышением, за 45 опыта, ты получишь свой первый кредит.
    + Как только вы оденетесь и распределите все параметры, нажмите на кнопку поединки и повесьте заявку. Если кто-либо нападет вам придет запрос на подтверждение поединка.

    +

    После подтверждения на верхней половине окна появится меню боя.
    + Вы одновременно выбираете и удар, и блок.
    + Ударить противника вы можете в одну из четырех точек: голову, корпус, пояс (пах) и ноги.
    + Блок можно поставить на: голову и корпус, корпус и пояс, пояс и ноги, голова и ноги.
    + Так же возможно выпадение критического удара или приема. Если этот удар попадает в блок, то блок пробивается и наноситься нормальное повреждение, если же не в блок - то нанесенное повреждение удваивается, основной параметр, влияющий на это - Интуиция.
    + Еще вы можете, увернутся от удара, основной параметр, влияющий на это - Ловкость.
    + Если ваш удар или соперника прошел, то рассчитывается повреждение в HP, снимаемых с пропустившего удар.
    + Ну, вот вроде бы и все что тебе изначально необходимо знать для удачной игры. И удачи тебе в Клубе!

    +

    P.S. Не ленись читать логи битв. Получишь огромное удовольствие, а смех к тому же продлевает жизнь :-). \ No newline at end of file diff --git a/encicl/section0/vocabilory.txt b/encicl/section0/vocabilory.txt new file mode 100644 index 0000000..44158ff --- /dev/null +++ b/encicl/section0/vocabilory.txt @@ -0,0 +1,334 @@ +

    Словарь сленга old-dark, используемого игроками.

    +

    A

    +

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

    +

    Представитель Высшего Советаы
    + представители Администрации old-dark, которые принимают участие в игровом процессе.

    +

    Ап
    + 1. Повышение одной из характеристик персонажа.
    + 2. Поднятие топика в форуме вверх.
    +3. Улучшение на уровне.

    +

    Артефакт, Арт
    + Уникальный предмет превышающий характеристики обыкновенных предметов.

    +

    Б

    +

    Баг
    + ошибка, допущенная программистами в игре.

    +

    Блок (Бан)
    + смерть персонажа в old-dark.

    +

    БО
    + аббревиатура Боевой Отдел, характерно для кланов.

    +

    Бомж, Нищенка
    + Персонаж, клянчащий материальную помощь.

    +

    Бот
    + 1. Искуственный персонаж для прокачки младших уровней.
    + 2. Экспрессивно-оценочное слово, характеризующее человека, который абсолютно не соображает головой.

    +

    В

    +

    Вамп
    + 1.Персонаж имеющий темную склонность и использующий способность вампиризма.
    + 2.Сокращение от слова Вампир.

    +

    Варежки
    + Перчатки.

    +

    Вихрь
    + Топор Вихря.

    +

    ВЦ
    + <Вырезано цензурой>, заменяет нецензурные ругательства.

    +

    Вынос
    + Выносливость.

    +

    Г

    +

    Готика
    + Готическая секира.

    +

    Групповуха
    + Групповой бой.

    +

    Грязная майка
    + Роба земли.

    +

    Гос
    + 1. Государственный Магазин;
    + 2. цена предмета, указанная в его описании.

    +

    Д

    +

    Дубинщик
    + Персонаж использующий в боях дубины.

    +

    Драконы
    + Кулон Драконы-близнецы.

    +

    Е

    +

    Екр
    + Игровая валюта в old-dark, покупаемая за реальные деньги.

    +

    Еда, Ужин
    + Персонаж выбранный вампиром для пополнения жизни.

    +

    Ж

    +

    Желтые, Желтая сторона
    + Команда обороняющихся в поединке.

    +

    З

    +

    Забанить
    + Наложить заклинание смерти (заблокировать).

    +

    Заткнуть
    + Наложить заклятие молчания.

    +

    Заточить (заточка)
    + Использование магического свитка для поднятия урона у оружия.

    +

    Злость
    + Панцирь Злости.

    +

    И

    +

    Инта
    + Интуиция одна из базовых характеристик.

    +

    Изумруды
    + Изумрудные серьги.

    +

    ИМХО (IMHO)
    + По моему скромному мнению (In My Humble Opinion)

    +

    Инта
    + Интуиция.

    +

    Инк
    + Инквизитор, сотрудник боевого отдела ОС

    +

    К

    +

    Клановик, Кланер
    + Персонаж, состоящий в обществе единомышленников, называемое кланом.

    +

    Клон, Клоун
    + 1.Копия персонажа созданая при помощи магии.
    + 2.Второй персонаж игрока используемый для прокачки.

    +

    Коляска
    + Инвалидность.

    +

    Комната ужасов
    + Комнаты новичков.

    +

    Консерва
    + Тяжелая Законникская броня.

    +

    Красная бронька, красный напузник
    + Тяжелый нагрудник.

    +

    Крест, Крестопуз
    + Законник.

    +

    Крит
    + Критический удар.

    +

    Критовик
    + Персонаж с очень большим мф. критического удара.

    +

    Каст (кастовать)
    + Использование заклинания или свитка.

    +

    Кастун
    + 1. Персонаж, который накладывает заклинания на других за деньги;
    + 2. Любой маг.

    +

    Качок, Крыса
    + Человек, постоянно получающий опыт при помощи нападений на ЦП или на слабых/раздетых персонажей

    +

    Кидала
    + Персонаж, который обманывает других игроков, недобросовестный торговец.

    +

    Кинжи (кенжи)
    + Кинжалы любого вида.

    +

    Комок
    + Комиссионный Магазин.

    +

    Коммент (комментарий)
    + Пожелание игрока, подавшего заявку.

    +

    Креды, кредиты
    +Игровая валюта.

    +

    Крит
    + Персонаж с оружием и экипировкой, основными модификаторами которых являются модификатор критического удара и сопутствующие ему модификаторы (мощность крита, антиуворот…)

    +

    Кровь (кровавить)
    + Использование свитка кровавого нападения на персонажа.

    +

    Кромус
    + Меч Кромуса.

    +

    Кулачка
    + Форматный групповой или хаотический бой на кулаках только со статовым эликсиром.

    +

    Л

    +

    Лапа
    + Кастет.

    +

    Лев, левел (от англ. level )
    + Уровень бойца.

    +

    Лифчик
    + То же, что Напузник.

    +

    Лаг
    + Зависание игры.

    +

    Левел (лвл)
    + Уровень.

    +

    Ловка
    + Ловкость.

    +

    М

    +

    Моб
    + Монстр

    +

    Маги
    + Башня рыцарей-магов.

    +

    Майка
    + Рубашка, один из видов.

    +

    Мечники
    + Персонаж использующий в боях мечи.

    +

    Молчанка, Молча
    + Заклинание молчания накладываемое либо свитком, либо Законником.

    +

    Мультиник, Мультовод
    + Игрок имеющий несколько персонажей.

    +

    Мясо, месилово
    + То же, что Групповуха.

    +

    Маринад
    +Искусственное затягивание боев, часто применяется при несоблюдении противниками комментариев к бою.

    +

    Модификатор, МФ
    + Особенность вещей добавлять крит, антикрит, уворот, антиуворот, мощность магии стихий, подавление в зависимости от класса бойца и т.п.

    +

    Мульт
    + Второй, третий, четвертый, двадцать пятый чар одного человека.

    +

    Н

    +

    Набалдашник
    + Шлем.

    +

    Напузник
    + Нагрудник.

    +

    Наушники
    + Серьги.

    +

    Ньюб, Нуб, Новис
    + Новичок, персонаж недавно находящийся в клубе.человек, не знающий прописные истины в old-dark.

    +

    Нападалка
    + Свиток нападения, бывают трех видов: обычный, кровавый и нелечимый кровавый.

    +

    Невидимка
    + Персонаж, использовавший магию "Невидимости".

    +

    Невидимость
    + Магия, при которой в бою и в чате не отображается ник персонажа, также не видно экипировку игрока и статы, урон получаемый им в бою.

    +

    Нелечимка (нелеч)
    + Свиток нелечимого кровавого нападения.

    +

    НКД
    + Аббревиатура "незаконная коммерческая деятельность".

    +

    О

    +

    Ошейник
    + Кулон, ожерелье.

    +

    old-dark
    + Собственно название игры, основанной на прошлом Бойцовского клуба

    +

    old-darkшник
    + Персонаж играющий в old-dark.

    +

    ОС
    +Аббревиатура "Законники".

    +

    П

    +

    Пал
    + Законник.сотрудник Ордена Света.

    +

    Переманка
    + Свиток переманивания враждебного клона.

    +

    Перс
    + Персонаж.

    +

    Перчи
    + Перчатки.

    +

    Песочница
    + Комнаты новичков.

    +

    Прокачка
    + Набор опыта при помощи своих вторых ников,подставные бои с заранее известным исходом.

    +

    Плюшка
    + Игровой бонус

    +

    Повесить рога
    + Отправить в хаос.

    +

    Приватное сообщение (приват)
    + Личное сообщение, не отображающееся в общем чате.

    +

    ПСЖ
    + Аббревиатура по собственному желанию.

    +

    Пушка
    + Оружие.

    +

    Р

    +

    Раскачка
    + Набор опыта при помощи своих двойных персонажей.

    +

    Рубильник
    + Топор.

    +

    РВС
    + Аббревиатура "распространение вредоносных ссылок."

    +

    С

    +

    Синяя бронька
    + Кираса

    +

    Скилл
    + Мастерство владения каким-либо видом оружия.

    +

    СЛИВ
    + Характеристики бойца: Сила, Ловкость, Интуиция, Выносливость.

    +

    Страшилки
    + Колье и серьги страшилки.

    +

    Стат
    + Одна из характеристик СЛИВы.

    +

    Статы
    + Базовые характеристики персонажа.

    +

    Сусел
    + Смайлик.

    +

    Секретка
    + Секретная комната.

    +

    Слиться
    + Преднамеренно (или глупо, бесславно) проиграть в бою.

    +

    Статовые кольца
    + Кольца, поднимающие статы (Сила, Ловкость, Интуиция…)

    +

    Страш
    + Торговая улица.

    +

    Т

    +

    Тарелка
    + Щит.

    +

    Танк
    + 1.Персонаж, одетый не по средствам.
    + 2.персонаж, обладающий ключевыми характеристиками – сила и выносливость, одевающийся в доспехи с большой защитой и владеющий тяжелыми видами оружия – молоты, дубины и т.д.

    +

    ТЗ
    + Торговый Зал. Располагается на 2-м этаже в здании Бойцовского Клуба.

    +

    Тапки
    + Сапоги.

    +

    Тело
    + То же что и бот.

    +

    Топик
    + Тема в форуме old-dark.

    +

    Топорист, Топорщик
    + Персонаж использующий в боях топоры.

    +

    Тайм, тайм аут
    + Максимально возможный перерыв между разменами с противниками в бою.

    +

    У

    +

    УК old-dark
    + Уголовный Кодекс old-dark.

    +

    Уворот
    + 1. Персонаж с оружием, обладающий основной характеристикой – ловкость, владеющий в основном кастетами и ножами;
    + 2. Модификатор увертывания.

    +

    Ужас
    + Кольцо ужаса.

    +

    Умелки
    + Мастерство владения оружием или магией.

    +

    Ф

    +

    Флуд
    + Многократное повторение одного и того же сообщения в чате, форуме.

    +

    Флудер
    + Персонаж целенаправленно засоряющий чат (или форум) одинаковыми сообщениями.

    +

    Физ
    + Поединок 1 на 1.

    +

    Фулл
    + Полное обмундирование.

    +

    Ц

    +

    Централка, ЦП
    + Центральная Площадь.

    +

    Х

    +

    Халявщик
    + Персонаж, заходящий за заведомо более сильную сторону в поисках халявной экспы.

    +

    Хамелеон
    + Персонаж, подающий заявку на бой без одежды, но одевающийся сразу после получения подтверждения заявки.

    +

    Хаус, Хаос.
    + Наказание, при котором чар не имеет возможности обмениваться деньгами и предметами, пользоваться телепортами, получает опыт в два раза меньше, не может использовать некоторые свитки.

    +

    Хелсы, Хиты
    + Уровень Жизней (Уровень HP).

    +

    Хаот
    + Хаотичный бой.

    +

    Хил
    + Комплект для востановления уровня ХП

    +

    Хилка
    + Свиток восстановления энергии (здоровья) или маны.

    +

    Ч

    +

    Чар, перс
    + Персонаж (жаргон РПГ'ешников).

    +

    Челноки
    + Торговцы, перевозящие товар из одного города в другой.

    +

    Читер
    + 1.Персонаж, нарушающий правила УК old-dark.
    + 2.Игрок развивающий своего персонажа за счёт персонажей которые создал он сам или договорных боёв с другими игроками.

    +

    ЧС
    + Аббревиатура "черный список".

    +

    Ш

    +

    Шакал
    + 1.Тоже, что халявщик.персонаж, зашедший в бой с нарушением установленного подающим заявки на сражение формата или комментария; 2. персонаж, заходящий в бой или инициирующий новый с заведомо более слабой стороной противника.
    + 2.кинжал -Jackal-

    +

    Шмотки, Шмот
    + Вещи, предметы. Когда говорят, что шмот ломаный, значит, его прочность ниже стандартной (например, 0/50 - стандарт, ломаная - 24/38); когда говорят, шмот юзаный - значит, что его прочность чуть ниже стандартной, но это не говорит о том, чинится он или нет, этот вопрос нужно уточнять отдельно (например, 0/20 - стандарт, 1/20 - юзаный).

    +

    Шапка
    + Шлем.

    +

    Э

    +

    Экспа (от англ. experience)
    + Опыт, получаемый персонажами за выигранные бои.

    +

    Эммигрант
    + Персонаж, покинувший родной город и живущий в другом.

    +

    Эротический напузник
    + Экзотический нагрудник.

    +

    Экспаруб
    + Человек, который всеми способами старается получить опыт.

    +

    Элик
    + Эликсир.

    +

    Ю

    +

    Юва (ювелирка)
    + 1. Ювелирные украшения (серьги, ожерелья, кольца).
    + 2. Формат поединка.

    +

    A-Z,1-9

    +

    Down (всегда англ.)
    + 1. Заклинание, полностью противоположное Ап в форуме.
    + 2. Характеристика собеседнику в чате.

    \ No newline at end of file diff --git a/encicl/section1/param.txt b/encicl/section1/param.txt new file mode 100644 index 0000000..d39d9dd --- /dev/null +++ b/encicl/section1/param.txt @@ -0,0 +1,11 @@ +Сила - физическая мощь героя, развитая сила повышает силу удара в рукопашном бое а также качество владения оружием и позволяет использовать более тяжелое оружие и доспехи. +

    Ловкость - изворотливость, мера ловкости и проворности героя, определяющая ловкость обращения с оружием, вашу подвижность в бою.

    +

    Интуиция - ваш внутренний дар, позволяющий предугадывать действия противника.

    +

    Выносливость - мера здоровья персонажа (Влияет на HP), также определяет способность нести определенную массу.

    +

    Интеллект - параметр способности обучения героя, влияет на способность разпозновать предметы, и читать заклинания.

    +

    Мудрость - жизненный опыт и внутренняя сила персонажа, необходимый параметр для использования магии, а также и сопротивляемости ей.

    +

    Божественность: об этой способности пока ничего неизвестно

    +

    Дополнительные параметры: HP - определяет здоровье персонажа, при значение этого параметра равного нулю, вы проигрываете бой.
    + При создании героя все способности равны трем, вы имеете возможность еще на три увеличения любых способностей в зависимости от стратегии развития персонажа, которую вы выбрали.
    + На физическом плане, Вы можете использовать в качестве оружия, только холодное или, как его еще называют, белое оружие.
    + Вы не можете снимать и одевать предметы во время боя... Во время боя кроме боя нет ничего.

    diff --git a/encicl/section2/calculate.txt b/encicl/section2/calculate.txt new file mode 100644 index 0000000..db2697f --- /dev/null +++ b/encicl/section2/calculate.txt @@ -0,0 +1,41 @@ +По мере проведения поединков + персонажу начисляется опыт за каждую победу, благодаря + положительно набранному опыту персонаж продвигается + дальше. Набирая опыт, персонаж получает дополнительные + способности, а также + + кредиты, при переходе на следующий уровень + герой в обязательном порядке получает 1 выносливость и + одно улучшение на совершенствования специализации. +

    Опыт + рассчитывается исходя из Базового Опыта уровня и + параметров противника.
    + Т.е чем сильнее противник - тем больше опыта вы получите, + чем слабее - тем меньше.

    +

    Базовый Опыт - это опыт, который может + получить победитель при бое с равным противником.

    + +

    Также существуют добавки по опыту от склонности + персонажа. Например, + + Законники и представители + + темного братства получают больше опыта за + победу друг над другом.

    + +

    + Служители Хаоса получают за победу + только половину набранного опыта.

    +

    Опыт берется из расчета Базового Опыта для + уровня (см. таблицу 1).

    +

    Хотелось бы заметить, что при поединке с + соперником младшего уровня за победу опыт для обоих + рассчитывается из Базового Уровня младшего по уровню, а с + проигравшего (только старшего по уровню противника) + снимается штрафной опыт, как правило, равный Базовому + Опыту его уровня. Из этого можно понять, что драться с + более слабым противником не выгодно, а иногда даже опасно.
    + + 

    +

    Таблица опыта

    +

     

    \ No newline at end of file diff --git a/encicl/section2/exptablel.txt b/encicl/section2/exptablel.txt new file mode 100644 index 0000000..df4a72f --- /dev/null +++ b/encicl/section2/exptablel.txt @@ -0,0 +1,2295 @@ +
    Таблица опыта

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    УровеньАпОпытПараметрыКредиты Опыт за бой
    0003 (15)05
     1201 (16)0
    2451 (17)1
    3751 (18)2
    101103+1 (22)410
    Доступны Физические поединки.
    Открыт + доступ на форум.
    Закрыт доступ в комнаты и бои + для новичков.
    11601 (23)0
    22151 (24)1
    32801 (25)2
    43501 (26)4
    204103+1 (30)820
    Доступны групповые и хаотические + бои.15301 (31)0
    26701 (32)2
    38301 (33)4
    49501 (34)8
    511001 (35)12
    3013003+1 (39)1630
    Доступна настройка комплектов + экипировки.114501 (40)1
    216501 (41)5
    318501 (42)10
    420501 (43)15
    522001 (44)20
    4025005+1 (50)2560
    +
    Открыт доступ в Рыцарский Зал, + Торговый Зал.
    Доступна передача + кредитов/вещей.
    Доступно развитие + Интеллекта.

    Открыт доступ в Башню Смерти.
    129001 (51)3
    233501 (52)10
    338001 (53)15
    442001 (54)20
    546001 (55)25
    5050003+1 (59)40120
     160001 (60)6
    270001 (61)20
    380001 (62)30
    490001 (63)40
    5100001 (64)40
    6110001 (65)40
    7120001 (66)50
    60125003+1 (70)80180
    Открыт доступ на Строительство.1140001 (71)9
    2155001 (72)25
    3170001 (73)45
    4190001 (74)45
    5210001 (75)45
    6230001 (76)55
    7270001 (77)45
    70300005+1 (83)90 300
    Доступно развитие + Мудрости.

    Открыт + доступ в Башню + Рыцарей-Магов.Доступны походы в Парк.

    1600001 (84)1
    2750001 (85)100
    31500001 (86)150
    41750001 (87)50
    52000001 (88)100
    62250001 (89)50
    72500001 (90)100
    82600001 (91)50
    92800001 (92)100
    803000005+1 (98)700 600
    Доступ в Цитадель Хаоса

    115000001 (99)500
    217500001 (100)200
    320000001 (101)300
    421750001 (102)100
    523000001 (103)100
    624000001 (104)1
    725000001 (105)200
    826000001 (106)100
    928000001 (107)200
    9030000007+2 (116)1000 1200
    Доступ в колдовской мир.

    160000001 (117)1
    265000001 (118)200
    375000001 (119)1
    485000001 (120)250
    590000001 (121)400
    692500001 (122)50
    795000001 (123)400
    897500001 (124)350
    999000001 (125)500
    100100000009+3 (137)2000 2400


    Этажи Чемпионов
    1130000002 (139)200
    2140000002 (141)200
    3150000002 (143)200
    4160000002 (145)200
    5170000002 (147)200
    6175000002 (149)200
    7180000002 (151)200
    8190000002 (153)200
    9195000002 (155)200
    10200000002 (157)200
    11300000002 (159)200
    12320000002 (161)0
    13340000002 (163)0
    14350000002 (165)0
    15360000002 (167)0
    16380000002 (169)0
    17400000002 (171)0
    18420000002 (173)0
    19440000002 (175)0
    20450000002 (177)0
    21460000002 (179)0
    22480000002 (181)0
    23500000002 (183)0
    1105200000010+5 (198)1000 3000


    Этажи Чемпионов
    1550000001 (199)0
    2600000001 (200)500
    3650000001 (201)0
    4700000001 (202)500
    5750000001 (203)0
    6800000001 (204)500
    7850000001 (205)0
    8900000001 (206)500
    9950000001 (207)0
    101000000001 (208)0
    12012000000010+5 (223)5000 4000


    Этажи Чемпионов
    11500000002 (225)1000
    21800000002 (227)500
    32100000002 (229)1000
    42400000002 (231)500
    52700000002 (233)1000
    63100000002 (235)500
    73400000002 (237)1000
    83700000002 (239)500
    94000000002 (241)1000
    104300000002 (243)500
    114700000002 (245)1000
    13050000000010+5 (260)5000 6000
    \ No newline at end of file diff --git a/encicl/section3/aligment.txt b/encicl/section3/aligment.txt new file mode 100644 index 0000000..e8b4990 --- /dev/null +++ b/encicl/section3/aligment.txt @@ -0,0 +1,17 @@ +

    Склонность персонажа - это характеристика его основных нравственных устоев: приверженность к обществу, отношение к добру и злу в частности и к силам мироздания в целом. Изменение образа поведения и мышления будет стоить персонажу пунктов жизненного опыта и замедлит его продвижение.
    +Некоторые путают склонность с родами и орденами, но это не так. Склонность - всего лишь развитие в определенном классе с определенными приверженностями.

    +

    Чтобы понять происхождение склонности, нужно знать хорошо историю этого мира.

    +

    Мусорщик - один из Представитель Высшего Советаов Верхнего кольца, в свое время созданный Мироздателем для вспомогательных целей, отделился от своего создателя с группой поддерживающих его Представитель Высшего Советаов и занял часть реальности мира. И теперь Мироздатель находится в патовой ситуации и не может уничтожить Мусорщика, так как тем самым уничтожит часть себя.

    +

    У Мусорщика навязчивая идея свергнуть, аннулировать власть Мироздателя и перекроить реальность по своему плану. Как бы эти существа ни ненавидели друг друга, они взаимосвязаны, ведь только вследствие их борьбы они (и, как следствие, мир) имеют возможность эволюционировать. Поэтому Мироздатель и Мусорщик давно ведут тихую войну за преобладание миром, да и сами не прочь иногда скрестить свои силы... Чем больше сторонников у каждого из них, тем сильнее они становятся.
    + Существуют также Верхние, которые хотят вообще уничтожить существующую реальность. Правда, до сих пор все их попытки оказывались безуспешными.
    + Они несут в себе склонность к Хаосу.

    +

    В итоге в мире нет понятия абсолютного Добра и Зла, просто есть три противоборствующие силы и те, кто по каким-либо причинам не склонен принимать чью-либо сторону. Про таких персонажей говорят, что они нейтральны. Соответственно, всего склонностей 4:

    +
      +
    1. Нейтральность.
    2. +
    3. Хаос.
      +
    4. +
    5. Путь Света.
      +
    6. +
    7. Путь Тьмы.
      +
    8. +
    \ No newline at end of file diff --git a/encicl/section3/change_align.txt b/encicl/section3/change_align.txt new file mode 100644 index 0000000..f23e6fd --- /dev/null +++ b/encicl/section3/change_align.txt @@ -0,0 +1,15 @@ +

    Изменение склонности происходит так-же как и ее получание.

    +

    На данный момент существует четыре склонности:

    +

    1. Путь Света.
    + Эту склонность можно получить через существующие светлые группировки (условия у них могут отличаться, каждая группировка имеет лимит на принятие новых членов), и также просто за деньги
    + 2. Путь Тьмы.
    + Эту склонность можно получить через существующие темные группировки (условия у них могут отличаться, каждая группировка имеет лимит на принятие новых членов), и также просто за деньги.
    + 3. Нейтральность.
    + Эту склонность также можно получить через существующие нейстральные группировки (условия у них могут отличаться, каждая группировка имеет лимит на принятие новых членов), и также просто за деньги.

    +

    4. Хаос
    + Эта склонность легко получается при нарушении законов клуба. Однако, в отличие от Пути Света или Пути Тьмы, нарушитель может избавиться от склонности Хаоса при примерном поведении и с разрешения Законников.

    +

    Так же склонность может быть утеряна, как в наказание за нарушение законов Бойцовского Квартала, так и при других обстоятельствах, - напрмер, если Законник войдет в бой на строну темного, то он потеряет свою склонность автоматически.

    +
    +
    +
    +
    \ No newline at end of file diff --git a/encicl/section3/dark.txt b/encicl/section3/dark.txt new file mode 100644 index 0000000..eaefa75 --- /dev/null +++ b/encicl/section3/dark.txt @@ -0,0 +1,14 @@ +

    Декларация Тьмы


    + + +

    1. Мы свободные. + +

    2. Мы не признаем иных законов, кроме законов, установленных Представитель Высшего Советаами этого Мира. + +

    3. Любой, идущий путем Тьмы, действует исключительно на основании собственных желаний, соображений морали либо ее отсутствия. + +

    4. Идущий путем Тьмы всегда готов встать плечом к плечу с кровным врагом ради победы над заклятым врагом - Светом. + +

    5. Тёмные не связывают себя выбором форматов, мы вольны выбирать удобный нам метод сражений. Но мы оставляем за собой право как нарушать формат, так и карать за нарушение форматов любых персонажей. + +

    6. Каждый темный отыгрывает свою склонность любыми доступными игровыми методами. \ No newline at end of file diff --git a/encicl/section3/haos.txt b/encicl/section3/haos.txt new file mode 100644 index 0000000..d23ea9a --- /dev/null +++ b/encicl/section3/haos.txt @@ -0,0 +1,5 @@ +Хаос... Что может быть проще и одновременно непонятнее, чем Хаос?
    +Хаос - это отрицание всего и вся: морали, устоев, нормальных правил общения и других общечеловеческих ценностей.
    +Заработать эту склонность проще простого, надо просто следовать Пути Хаоса. При этом ваше появление будет многих раздражать, вам никто не будет доверять. Они замедленны в своём развитии. За ними ведётся пристальное наблюдение Законников, и в случае крайней опасности могут быть применены самые жестокие меры, вплоть до физического удаления.
    +В эту категорию легко могут попасть игроки, имеющие более одного персонажа, и уж тем более попадут те, кто использует их для прокачки самих же себя.
    +Наиболее вероятно попадание в эту категорию лиц имеющих несдержанный, вспыльчивый характер, потому что в этом порыве они могут не замечать ничего и никого вокруг себя.


    \ No newline at end of file diff --git a/encicl/section3/middle.txt b/encicl/section3/middle.txt new file mode 100644 index 0000000..1435851 --- /dev/null +++ b/encicl/section3/middle.txt @@ -0,0 +1,17 @@ +

    Декларация Нейтрального Братства


    + + +

    1. В данной Декларации Нейтральное Братство заявляет, что: + +

    - Нейтралы безразличны к идеям и делу Света +
    - Нейтралы безразличны к идеям и делу Тьмы + +

    2. Нейтралы обязуются прилагать все усилия для сохранения Баланса в Бойцовском Квартале. Под сохранением Баланса нейтралы понимают поддержку игрового процесса таким образом, чтобы не допустить тотального превосходства Света или Тьмы. + +

    3. Каждый нейтральный клан или свободный нейтрал имеет право выбирать какую сторону поддерживать, и поддерживать ли вообще, основываясь на стремлении восстановить баланс Света и Тьмы, и лично несет ответственность за каждое своё действие или бездействие. Мы - разные и в этом наша сила! Третья сила! + +

    4. Действия нейтралов ограничиваются исключительно Законами Игры. При этом нейтралы уважают общепринятые форматы боя, такие как "первичка", "кулонка", "ювелирка", и придерживаются их. + +

    5. Нейтралы оставляют за собой право любыми законными игровыми методами противостоять персонажам, проявляющим агрессию против них или других игроков в той или иной форме. + +

    6. Декларация может быть исправлена или дополнена в ходе развития Игры простым общим голосованием глав нейтральных кланов. \ No newline at end of file diff --git a/encicl/section3/paladin.txt b/encicl/section3/paladin.txt new file mode 100644 index 0000000..70bced9 --- /dev/null +++ b/encicl/section3/paladin.txt @@ -0,0 +1,24 @@ +

    Декларация Ордена Cвета


    + + +

    1. Светлая склонность

    +

    +

    1.1. Законники олицетворяет своим существованием светлую склонность на просторах Бойцовского Квартала . +

    1.2. Все приверженцы тёмной склонности являются протиборствующей стороной, по отношению к которым разрешены боевые действия любыми законными игровыми способами. +

    1.3. Воины Ордена Света придерживаются основных форматов боев и поединков и оставляют за собой право игровыми методами наказывать тех, кто их не соблюдает, нарушает или игнорирует. +

    1.4. Воины Ордена Света оставляют за собой право помогать игровыми методами в рамках закона слабым, обманутым и угнетенным. +

    1.5. Законники, как представитель светлой склонности в Бойцовском Квартале, признает право выбора каждого. Законники занимает нейтральную позицию к еще не определившимся, и поддерживает тех, кто, приняв изначально темную сторону, в итоге приходит к Свету. +

    1.6. Законники обязуется отыгрывать светлую склонность в Бойцовском Квартале не применяя модераторских полномочий. +

    + +2. Модерация и Закон

    +

    +

    2.1.Законники являются представителями Закона в Бойцовском Квартале и его исполнительной властью, неукоснительно следя за соблюдением буквы Закона. +

    2.2. Законники консультируют по вопросам, связанным с Законом и игровым процессом, всех игроков, независимо от их склонностей или предпочтений. +

    2.3. Законникам запрещено использовать служебную информацию либо модераторские функции для борьбы с приверженцами Тьмы в рамках игрового противостояния. +

    2.4. По наличию доказанного факта использования служебной информации либо модераторских функций в целях получения преимущества в противоборстве с Тьмой, Законник несет суровое наказание вплоть до изгнания из Ордена. +

    2.5. Перед Законом Бойцовского Квартала равны все и всегда, вне зависимости от склонностей, приоритетов, предпочтений и прочих факторов и причин. + + + +



    \ No newline at end of file diff --git a/encicl/section5/amulet1.txt b/encicl/section5/amulet1.txt new file mode 100644 index 0000000..eb706d1 --- /dev/null +++ b/encicl/section5/amulet1.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + +

    + +

    Кулон дракона

    + +
    +
    +
    +
    Кулон дракона (Масса: 1)
    +

    Цена: 30 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 10
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Ловкость: +2
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    + diff --git a/encicl/section5/amulet2.txt b/encicl/section5/amulet2.txt new file mode 100644 index 0000000..5716fb0 --- /dev/null +++ b/encicl/section5/amulet2.txt @@ -0,0 +1,24 @@ + + + + +Библиотека - Амуниция + + + + +

    Кулон Друидов

    + +
    +
    +
    +
    Кулон Друидов (Масса: 1)
    +

    Цена: 1 кр.

    +

    Долговечность : 0/50


    + +
    +
    \ No newline at end of file diff --git a/encicl/section5/amulet20.txt b/encicl/section5/amulet20.txt new file mode 100644 index 0000000..bbc4bb6 --- /dev/null +++ b/encicl/section5/amulet20.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Кулон стихий

    + +
    +
    +
    +
    Кулон стихий (Масса: 1)
    +

    Цена: 85 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
  • Сила: 20
  • +
  • Ловкость: 15
  • +
  • Интуиция: 15
  • +
  • Выносливость: 15
  • +
  • Уровень: 5
  • + +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Ловкость: +2
    • +
    • Интуиция: +2
    • +
    • Мф. против крит. ударов: +30%
    • +
    • Мф. против увертлив.: +30%
    • +
    +
    +
    diff --git a/encicl/section5/amulet3.txt b/encicl/section5/amulet3.txt new file mode 100644 index 0000000..d84db34 --- /dev/null +++ b/encicl/section5/amulet3.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Кулон Огненный дух

    + +
    +
    +
    +
    Кулон Огненный дух (Масса: 1)
    +

    Цена: 120 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения мечами: +4
    • +
    +
    +
    + diff --git a/encicl/section5/amulet4.txt b/encicl/section5/amulet4.txt new file mode 100644 index 0000000..ddd85bf --- /dev/null +++ b/encicl/section5/amulet4.txt @@ -0,0 +1,22 @@ + + + + +Библиотека - Амуниция + + + + +

    Янтарное ожерелье

    +
    +
    +
    +
    Янтарное ожерелье (Масса: 1)
    +

    Цена: 1 кр.

    +

    Долговечность : 0/50


    + +
    diff --git a/encicl/section5/amulet5.txt b/encicl/section5/amulet5.txt new file mode 100644 index 0000000..7b7ff0c --- /dev/null +++ b/encicl/section5/amulet5.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Янтарное Колье Страшилки

    + +
    +
    +
    +
    Янтарное Колье Страшилки (Масса: 1)
    +

    Цена: 15 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +10%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/amulet6.txt b/encicl/section5/amulet6.txt new file mode 100644 index 0000000..93795f4 --- /dev/null +++ b/encicl/section5/amulet6.txt @@ -0,0 +1,23 @@ + + + + +Библиотека - Амуниция + + + + +

    Зодиакальное ожерелье

    +
    +
    +
    +
    Зодиакальное ожерелье (Масса: 1)
    +

    Цена: 1 кр.

    +

    Долговечность : 0/50


    + +
    +
    \ No newline at end of file diff --git a/encicl/section5/amulet7.txt b/encicl/section5/amulet7.txt new file mode 100644 index 0000000..2b426c1 --- /dev/null +++ b/encicl/section5/amulet7.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Кулон призрачного дракона

    + +
    +
    +
    +
    Кулон призрачного дракона (Масса: 1)
    +

    Цена: 85 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Интуиция: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +2
    • +
    • Уровень жизни: +12
    • +
    • Мф. против крит. ударов: +50%
    • +
    • Мф. увертливости: +20%
    • +
    +
    +
    diff --git a/encicl/section5/amulet8.txt b/encicl/section5/amulet8.txt new file mode 100644 index 0000000..f50ea7f --- /dev/null +++ b/encicl/section5/amulet8.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Кулон золотого дракона

    + +
    +
    +
    +
    Кулон золотого дракона (Масса: 1)
    +

    Цена: 35 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 10
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: +30%
    • +
    • Броня головы: 6
    • +
    • Броня корпуса: 6
    • +
    • Броня пояса: 6
    • +
    • Броня ног: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/amulet9.txt b/encicl/section5/amulet9.txt new file mode 100644 index 0000000..e42bd48 --- /dev/null +++ b/encicl/section5/amulet9.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + + + +

    Драконы-Близнецы

    + +
    +
    +
    +
    Драконы-Близнецы (Масса: 1)
    +

    Цена: 85 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Интуиция: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Ловкость: +2
    • +
    • Интуиция: +2
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. против увертлив.: +15%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/amulets.txt b/encicl/section5/amulets.txt new file mode 100644 index 0000000..e7ea303 --- /dev/null +++ b/encicl/section5/amulets.txt @@ -0,0 +1,194 @@ +Библиотека - Ожерелья + + + + +
    + + + +

    Ожерелья

    + +
    +
    +
    + +

    Цена: 1 кр.

    +

    Долговечность : 0/50


    + +
    +
    +
    +
    +
    + +

    Цена: 1 кр.

    +

    Долговечность : 0/50


    + +
    +
    +
    +
    +
    + +

    Цена: 1 кр.

    +

    Долговечность : 0/50


    + +
    +
    +
    +
    +
    + +

    Цена: 15 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +10%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 30 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 10
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Ловкость: +2
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 35 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 10
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: +30%
    • +
    • Броня головы: 6
    • +
    • Броня корпуса: 6
    • +
    • Броня пояса: 6
    • +
    • Броня ног: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 85 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Интуиция: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Ловкость: +2
    • +
    • Интуиция: +2
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. против увертлив.: +15%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 85 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Интуиция: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +2
    • +
    • Уровень жизни: +12
    • +
    • Мф. против крит. ударов: +50%
    • +
    • Мф. увертливости: +20%
    • +
    +
    +
    +
    +
    +
    +
    Кулон стихий (Масса: 1)
    +

    Цена: 85 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
  • Сила: 20
  • +
  • Ловкость: 15
  • +
  • Интуиция: 15
  • +
  • Выносливость: 15
  • +
  • Уровень: 5
  • + +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Ловкость: +2
    • +
    • Интуиция: +2
    • +
    • Мф. против крит. ударов: +30%
    • +
    • Мф. против увертлив.: +30%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 120 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения мечами: +4
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/amun.txt b/encicl/section5/amun.txt new file mode 100644 index 0000000..cae1804 --- /dev/null +++ b/encicl/section5/amun.txt @@ -0,0 +1,51 @@ + + + + +Библиотека - Амуниция + + + + +
    + + + +

    Амуниция

    + +
    +
    +
    + +

    Цена: 100 кр.

    +

    Долговечность : 0/1


    +

    Требуется минимальное:

    +
      +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Увеличивает рюкзак: +100
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 100 кр.

    +

    Долговечность : 0/1


    +

    Требуется минимальное:

    +
      +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Увеличивает рюкзак: +200
    • +
    +
    +
    + +
    diff --git a/encicl/section5/armor2.txt b/encicl/section5/armor2.txt new file mode 100644 index 0000000..2bc4487 --- /dev/null +++ b/encicl/section5/armor2.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Кираса

    +
    +
    +
    +
    Кираса (Масса: 8)
    +

    Цена: 23 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +12
    • +
    • Ловкость: +1
    • +
    • Мф. против крит. ударов: +3%
    • +
    • Броня корпуса: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/armor3.txt b/encicl/section5/armor3.txt new file mode 100644 index 0000000..f57a3bf --- /dev/null +++ b/encicl/section5/armor3.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Экзотический нагрудник

    +
    +
    +
    +
    Экзотический нагрудник (Масса: 7)
    +

    Цена: 74 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +21
    • +
    • Мф. против крит. ударов: +25%
    • +
    • Мф. увертливости: 10%
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня корпуса: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/armor4.txt b/encicl/section5/armor4.txt new file mode 100644 index 0000000..d97ceb3 --- /dev/null +++ b/encicl/section5/armor4.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Тяжелый нагрудник

    +
    +
    +
    +
    Тяжелый нагрудник (Масса: 9)
    +

    Цена: 30 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +12
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: -5%
    • +
    • Броня корпуса: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/armor5.txt b/encicl/section5/armor5.txt new file mode 100644 index 0000000..442d091 --- /dev/null +++ b/encicl/section5/armor5.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Пластинчатые латы

    +
    +
    +
    +
    Пластинчатые латы (Масса: 10)
    +

    Цена: 35 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +21
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: -10%
    • +
    • Броня корпуса: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/armor6.txt b/encicl/section5/armor6.txt new file mode 100644 index 0000000..d1b3a55 --- /dev/null +++ b/encicl/section5/armor6.txt @@ -0,0 +1,44 @@ + + + + +Библиотека - Амуниция + + + + +

    Тяжелая Законникская Броня

    +
    +
    +
    +
    Тяжелая Законникская Броня (Масса: 25)
    +

    Цена: 165 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 21
    • +
    • Выносливость: 21
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Интеллект: +1
    • +
    • Уровень жизни: +33
    • +
    • Мф. критических ударов: +45%
    • +
    • Мф. против крит. ударов: +35%
    • +
    • Мф. увертливости: +35%
    • +
    • Мф. против увертлив.: +45%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    • Броня корпуса: 18
    • +
    • Броня пояса: 18
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/armor8.txt b/encicl/section5/armor8.txt new file mode 100644 index 0000000..b05d780 --- /dev/null +++ b/encicl/section5/armor8.txt @@ -0,0 +1,44 @@ + + + + +Библиотека - Амуниция + + + + +

    Тяжелая Броня Печали

    +
    +
    +
    +
    Тяжелая Броня Печали (Масса: 25)
    +

    Цена: 145 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 25
    • +
    • Выносливость: 25
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Интеллект: +1
    • +
    • Уровень жизни: +33
    • +
    • Мф. критических ударов: +25%
    • +
    • Мф. против крит. ударов: +20%
    • +
    • Мф. увертливости: +25%
    • +
    • Мф. против увертлив.: +20%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня корпуса: 18
    • +
    • Броня пояса: 18
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/armorl1.txt b/encicl/section5/armorl1.txt new file mode 100644 index 0000000..2f1f969 --- /dev/null +++ b/encicl/section5/armorl1.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Легкий доспех

    +
    +
    +
    +
    Легкий доспех (Масса: 8)
    +

    Цена: 19 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Ловкость: 9
    • +
    • Выносливость: 6
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +12
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Броня корпуса: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/armors.txt b/encicl/section5/armors.txt new file mode 100644 index 0000000..d460182 --- /dev/null +++ b/encicl/section5/armors.txt @@ -0,0 +1,171 @@ +Библиотека - Дубины и булавы + + + + +
    + + + +

    Тяжелая броня

    + +
    +
    +
    + +

    Цена: 19 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Ловкость: 9
    • +
    • Выносливость: 6
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +12
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Броня корпуса: 6
    • +
    +
    +
    + + +
    +
    +
    +
    Кираса (Масса: 8)
    +

    Цена: 23 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +12
    • +
    • Ловкость: +1
    • +
    • Мф. против крит. ударов: +3%
    • +
    • Броня корпуса: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 30 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +12
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: -5%
    • +
    • Броня корпуса: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 35 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +21
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: -10%
    • +
    • Броня корпуса: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 74 кр.

    +

    Долговечность : 0/100


    + + Свойства предмета не идентифицированы + +
    +
    +
    +
    +
    + +

    Цена: 145 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 25
    • +
    • Выносливость: 25
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Интеллект: +1
    • +
    • Уровень жизни: +33
    • +
    • Мф. критических ударов: +25%
    • +
    • Мф. против крит. ударов: +20%
    • +
    • Мф. увертливости: +25%
    • +
    • Мф. против увертлив.: +20%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня корпуса: 18
    • +
    • Броня пояса: 18
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 165 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 21
    • +
    • Выносливость: 21
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Интеллект: +1
    • +
    • Уровень жизни: +33
    • +
    • Мф. критических ударов: +45%
    • +
    • Мф. против крит. ударов: +35%
    • +
    • Мф. увертливости: +35%
    • +
    • Мф. против увертлив.: +45%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    • Броня корпуса: 18
    • +
    • Броня пояса: 18
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe1.txt b/encicl/section5/axe1.txt new file mode 100644 index 0000000..4109c99 --- /dev/null +++ b/encicl/section5/axe1.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Топор

    +
    +
    +
    +
    Топор (Масса: 4)
    +

    Цена: 19 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Ловкость: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 9
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe10.txt b/encicl/section5/axe10.txt new file mode 100644 index 0000000..7cb3304 --- /dev/null +++ b/encicl/section5/axe10.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Карающий Топор

    +
    +
    +
    +
    Карающий Топор (Масса: 5)
    +

    Цена: 90 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Мф. увертливости: +50%
    • +
    • Мф. против увертлив.: +50%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe12.txt b/encicl/section5/axe12.txt new file mode 100644 index 0000000..2ba90d6 --- /dev/null +++ b/encicl/section5/axe12.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Боевой топор

    +
    +
    +
    +
    Боевой топор (Масса: 5)
    +

    Цена: 83 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 17
    • +
    • Ловкость: 17
    • +
    • Выносливость: 17
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 17
    • +
    • Мф. критических ударов: +25%
    • +
    • Мф. против увертлив.: +50%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe13.txt b/encicl/section5/axe13.txt new file mode 100644 index 0000000..57ea5c8 --- /dev/null +++ b/encicl/section5/axe13.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + + + +

    Топор Жестокости

    + +
    +
    +
    +
    Топор Жестокости (Масса: 6)
    +

    Цена: 90 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Мф. критических ударов: +50%
    • +
    • Мф. против увертлив.: +25%
    • +
    +
    +
    + + \ No newline at end of file diff --git a/encicl/section5/axe15.txt b/encicl/section5/axe15.txt new file mode 100644 index 0000000..539490e --- /dev/null +++ b/encicl/section5/axe15.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Двойной Топор Света

    +
    +
    +
    +
    Двойной Топор Света (Масса: 6)
    +

    Цена: 100 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Интуиция: +1
    • +
    • Мф. критических ударов: +40%
    • +
    • Мф. против увертлив.: +40%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe2.txt b/encicl/section5/axe2.txt new file mode 100644 index 0000000..d98713b --- /dev/null +++ b/encicl/section5/axe2.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Церемониальный Топор

    +
    +
    +
    +
    Церемониальный Топор (Масса: 3)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe20.txt b/encicl/section5/axe20.txt new file mode 100644 index 0000000..ac1b150 --- /dev/null +++ b/encicl/section5/axe20.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + + + +

    Топор равновесия

    +
    +
    +
    +
    Топор равновесия (Масса: 5)
    +

    Цена: 95 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Интуиция: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 17
    • +
    • Интуиция: +1
    • +
    • Мф. критических ударов: +50%
    • +
    • Мф. против увертлив.: +30%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe3.txt b/encicl/section5/axe3.txt new file mode 100644 index 0000000..32c36ca --- /dev/null +++ b/encicl/section5/axe3.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Боевой индийский топор

    +
    +
    +
    +
    Боевой индийский топор (Масса: 4)
    +

    Цена: 28 кр.

    +

    Долговечность : 0/60


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Ловкость: 8
    • +
    • Выносливость: 8
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 6
    • +
    • Максимальное наносимое повреждение: 8
    • +
    • Мф. критических ударов: +5%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe4.txt b/encicl/section5/axe4.txt new file mode 100644 index 0000000..97f8bf3 --- /dev/null +++ b/encicl/section5/axe4.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Секира Печали

    +
    +
    +
    +
    Секира Печали (Масса: 10)
    +

    Цена: 85 кр.

    +

    Долговечность : 0/60


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 15
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 15
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Мф. критических ударов: +20%
    • +
    • Мф. против увертлив.: +20%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe5.txt b/encicl/section5/axe5.txt new file mode 100644 index 0000000..35a024a --- /dev/null +++ b/encicl/section5/axe5.txt @@ -0,0 +1,33 @@ + + + + + +Библиотека - Амуниция + + + +

    Столярный топор

    +
    +
    +
    +
    Столярный топор (Масса: 3)
    +

    Цена: 13 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe6.txt b/encicl/section5/axe6.txt new file mode 100644 index 0000000..f6d0462 --- /dev/null +++ b/encicl/section5/axe6.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Двойной Топор

    +
    +
    +
    +
    Двойной Топор (Масса: 6)
    +

    Цена: 40 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 9
    • +
    • Максимальное наносимое повреждение: 12
    • +
    • Мф. критических ударов: +5%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe7.txt b/encicl/section5/axe7.txt new file mode 100644 index 0000000..9f0ba08 --- /dev/null +++ b/encicl/section5/axe7.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Итальянский Пехотный топор

    +
    +
    +
    +
    Итальянский Пехотный топор (Масса: 4)
    +

    Цена: 32 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Ловкость: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 8
    • +
    • Максимальное наносимое повреждение: 10
    • +
    • Мф. против увертлив.: +10%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe8.txt b/encicl/section5/axe8.txt new file mode 100644 index 0000000..6671592 --- /dev/null +++ b/encicl/section5/axe8.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Готическая Секира

    +
    +
    +
    +
    Готическая Секира (Масса: 9)
    +

    Цена: 65 кр.

    +

    Долговечность : 0/60


    +

    Требуется минимальное:

    +
      +
    • Сила: 16
    • +
    • Ловкость: 16
    • +
    • Выносливость: 16
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 13
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Мф. увертливости: +10%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/axe9.txt b/encicl/section5/axe9.txt new file mode 100644 index 0000000..e821020 --- /dev/null +++ b/encicl/section5/axe9.txt @@ -0,0 +1,41 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Демонический Топор

    +
    +
    +
    +
    Демонический Топор (Масса: 5)
    +

    Цена: 90 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 15
    • +
    • Интуиция: +2
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. увертливости: +30%
    • +
    • Мф. против увертлив.: +30%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/boots.txt b/encicl/section5/boots.txt new file mode 100644 index 0000000..2b2d414 --- /dev/null +++ b/encicl/section5/boots.txt @@ -0,0 +1,158 @@ + + + + +Библиотека - Сапоги + + + + +
    + + + +

    Сапоги

    + +
    +
    +
    + +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Броня ног: 3
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 10 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня ног: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 25 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +1
    • +
    • Уровень жизни: +6
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против увертлив.: +10%
    • +
    • Броня ног: 9
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 25 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Уровень жизни: +10
    • +
    • Мф. против крит. ударов: +10%
    • +
    • Мф. увертливости: +10%
    • +
    • Броня ног: 7
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 30 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Ловкость: 10
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Уровень жизни: +10
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: +10%
    • +
    • Броня ног: 8
    • +
    +
    +
    + +
    +
    +
    + +

    Цена: 50 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Интуиция: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +2
    • +
    • Интуиция: +2
    • +
    • Уровень жизни: +15
    • +
    • Мф. критических ударов: +30%
    • +
    • Мф. увертливости: +30%
    • +
    • Броня ног: 7
    • +
    +
    +
    +
    + +
    + +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/boots1.txt b/encicl/section5/boots1.txt new file mode 100644 index 0000000..71efe27 --- /dev/null +++ b/encicl/section5/boots1.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Кожаные сапоги

    +
    +
    +
    +
    Кожаные сапоги (Масса: 2)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Броня ног: 3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/boots2.txt b/encicl/section5/boots2.txt new file mode 100644 index 0000000..67fbb8e --- /dev/null +++ b/encicl/section5/boots2.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Хромовые сапоги

    +
    +
    +
    +
    Хромовые сапоги (Масса: 3)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня ног: 6
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/boots20.txt b/encicl/section5/boots20.txt new file mode 100644 index 0000000..1a7d28b --- /dev/null +++ b/encicl/section5/boots20.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Латные сапоги пустыни

    +
    +
    +
    +
    Латные сапоги пустыни (Масса: 4)
    +

    Цена: 30 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Ловкость: 10
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Уровень жизни: +10
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: +10%
    • +
    • Броня ног: 8
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/boots21.txt b/encicl/section5/boots21.txt new file mode 100644 index 0000000..550101f --- /dev/null +++ b/encicl/section5/boots21.txt @@ -0,0 +1,40 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Позолоченые ботинки

    +
    +
    +
    +
    Позолоченые ботинки (Масса: 6)
    +

    Цена: 50 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Интуиция: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +2
    • +
    • Интуиция: +2
    • +
    • Уровень жизни: +15
    • +
    • Мф. критических ударов: +30%
    • +
    • Мф. увертливости: +30%
    • +
    • Броня ног: 7
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/boots3.txt b/encicl/section5/boots3.txt new file mode 100644 index 0000000..0fd8350 --- /dev/null +++ b/encicl/section5/boots3.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Рыцарские сандали

    +
    +
    +
    +
    Рыцарские сандали (Масса: 5)
    +

    Цена: 25 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +1
    • +
    • Уровень жизни: +6
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против увертлив.: +10%
    • +
    • Броня ног: 9
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/boots5.txt b/encicl/section5/boots5.txt new file mode 100644 index 0000000..a85223c --- /dev/null +++ b/encicl/section5/boots5.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Укрепленные Сапоги

    +
    +
    +
    +
    Укрепленные Сапоги (Масса: 4)
    +

    Цена: 25 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Уровень жизни: +10
    • +
    • Мф. против крит. ударов: +10%
    • +
    • Мф. увертливости: +10%
    • +
    • Броня ног: 7
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/clip1.txt b/encicl/section5/clip1.txt new file mode 100644 index 0000000..1ba7036 --- /dev/null +++ b/encicl/section5/clip1.txt @@ -0,0 +1,36 @@ + + + + +Библиотека - Амуниция + + + + +

    Изумрудные серьги

    + +
    +
    +
    +
    Изумрудные серьги (Масса: 1)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +12
    • +
    • Мф. критических ударов: +50%
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/clip10.txt b/encicl/section5/clip10.txt new file mode 100644 index 0000000..2ae696f --- /dev/null +++ b/encicl/section5/clip10.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + + + +

    Серьги Брони Великана

    + +
    +
    +
    +
    Серьги Брони Великана (Масса: 1)
    +

    Цена: 98 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 25
    • +
    • Выносливость: 25
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +66
    • +
    • Броня головы: 18
    • +
    • Броня корпуса: 18
    • +
    • Броня пояса: 18
    • +
    • Броня ног: 18
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/clip11.txt b/encicl/section5/clip11.txt new file mode 100644 index 0000000..fa5105b --- /dev/null +++ b/encicl/section5/clip11.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + + + +

    Серьги Мастерства

    + +
    +
    +
    +
    Серьги Мастерства (Масса: 1)
    +

    Цена: 64 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 13
    • +
    • Выносливость: 13
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/clip2.txt b/encicl/section5/clip2.txt new file mode 100644 index 0000000..0e47a8c --- /dev/null +++ b/encicl/section5/clip2.txt @@ -0,0 +1,41 @@ + + + + +Библиотека - Амуниция + + + + +

    Серьги Законника

    + +
    +
    +
    +
    Серьги Законника (Масса: 1)
    +

    Цена: 100 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +2
    • +
    • Мф. критических ударов: +40%
    • +
    • Мф. против увертлив.: +40%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/clip3.txt b/encicl/section5/clip3.txt new file mode 100644 index 0000000..8f3de7c --- /dev/null +++ b/encicl/section5/clip3.txt @@ -0,0 +1,42 @@ + + + + +Библиотека - Амуниция + + + + +

    Cережки растления

    + +
    +
    +
    +
    Cережки растления (Масса: 1)
    +

    Цена: 160 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Мф. критических ударов: +30%
    • +
    • Мф. против крит. ударов: +30%
    • +
    • Мф. увертливости: +30%
    • +
    • Мф. против увертлив.: +30%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/clip4.txt b/encicl/section5/clip4.txt new file mode 100644 index 0000000..8223aec --- /dev/null +++ b/encicl/section5/clip4.txt @@ -0,0 +1,33 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубиновые серьги жизни

    + +
    +
    +
    +
    Рубиновые серьги жизни (Масса: 1)
    +

    Цена: 68 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +99
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/clip5.txt b/encicl/section5/clip5.txt new file mode 100644 index 0000000..4d307fa --- /dev/null +++ b/encicl/section5/clip5.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Гранатовые серьги ловкости

    + +
    +
    +
    +
    Гранатовые серьги ловкости (Масса: 1)
    +

    Цена: 30 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. критических ударов: +20%
    • +
    • Мф. увертливости: +30%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/clip6.txt b/encicl/section5/clip6.txt new file mode 100644 index 0000000..c604652 --- /dev/null +++ b/encicl/section5/clip6.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Серьги Страшилки

    + +
    +
    +
    +
    Серьги Страшилки (Масса: 1)
    +

    Цена: 15 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. против увертлив.: +15%
    • +
    +
    +
    + diff --git a/encicl/section5/clip7.txt b/encicl/section5/clip7.txt new file mode 100644 index 0000000..d092d0c --- /dev/null +++ b/encicl/section5/clip7.txt @@ -0,0 +1,36 @@ + + + + +Библиотека - Амуниция + + + + +

    Серьги Защиты

    + +
    +
    +
    +
    Серьги Защиты (Масса: 1)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 8
    • +
    • Выносливость: 8
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/clip8.txt b/encicl/section5/clip8.txt new file mode 100644 index 0000000..2f9ec4e --- /dev/null +++ b/encicl/section5/clip8.txt @@ -0,0 +1,44 @@ + + + + +Библиотека - Амуниция + + + + +

    Царские серьги

    + +
    +
    +
    +
    Царские серьги (Масса: 1)
    +

    Цена: 100 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Интуиция: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Мф. критических ударов: +20%
    • +
    • Мф. против крит. ударов: +20%
    • +
    • Мф. увертливости: +20%
    • +
    • Мф. против увертлив.: +20%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/clips.txt b/encicl/section5/clips.txt new file mode 100644 index 0000000..3de6980 --- /dev/null +++ b/encicl/section5/clips.txt @@ -0,0 +1,223 @@ + + + + +Библиотека - Серьги + + + + +
    + + + +

    Серьги

    + +
    +
    +
    + +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 8
    • +
    • Выносливость: 8
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 15 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. против увертлив.: +15%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 30 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. критических ударов: +20%
    • +
    • Мф. увертливости: +30%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 64 кр.

    +

    Долговечность : 0/50


    + Свойства предмета не идентифицированы + +
    +
    +
    +
    +
    + +

    Цена: 68 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +99
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +12
    • +
    • Мф. критических ударов: +50%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 98 кр.

    +

    Долговечность : 0/50


    + Свойства предмета не идентифицированы + +
    +
    +
    +
    +
    + +

    Цена: 100 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +2
    • +
    • Мф. критических ударов: +40%
    • +
    • Мф. против увертлив.: +40%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 100 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Интуиция: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Мф. критических ударов: +20%
    • +
    • Мф. против крит. ударов: +20%
    • +
    • Мф. увертливости: +20%
    • +
    • Мф. против увертлив.: +20%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 160 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Мф. критических ударов: +30%
    • +
    • Мф. против крит. ударов: +30%
    • +
    • Мф. увертливости: +30%
    • +
    • Мф. против увертлив.: +30%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    + + + + +
    \ No newline at end of file diff --git a/encicl/section5/credit.txt b/encicl/section5/credit.txt new file mode 100644 index 0000000..b695d5a --- /dev/null +++ b/encicl/section5/credit.txt @@ -0,0 +1,7 @@ +

    Кредиты - основная денежная единица игры.

    +

    За кредиты персонаж может приобрести предметы, заклинания, отремонтировать предметы или воспользоваться другими услугами.

    +

    Персонаж получает определенное количество кредитов при получении улучшения.

    +

    Также кредиты можно получить выполняя определенные работы (подробнее см. Виды заработка).

    +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/dark.txt b/encicl/section5/dark.txt new file mode 100644 index 0000000..eaefa75 --- /dev/null +++ b/encicl/section5/dark.txt @@ -0,0 +1,14 @@ +

    Декларация Тьмы


    + + +

    1. Мы свободные. + +

    2. Мы не признаем иных законов, кроме законов, установленных Представитель Высшего Советаами этого Мира. + +

    3. Любой, идущий путем Тьмы, действует исключительно на основании собственных желаний, соображений морали либо ее отсутствия. + +

    4. Идущий путем Тьмы всегда готов встать плечом к плечу с кровным врагом ради победы над заклятым врагом - Светом. + +

    5. Тёмные не связывают себя выбором форматов, мы вольны выбирать удобный нам метод сражений. Но мы оставляем за собой право как нарушать формат, так и карать за нарушение форматов любых персонажей. + +

    6. Каждый темный отыгрывает свою склонность любыми доступными игровыми методами. \ No newline at end of file diff --git a/encicl/section5/dubina.txt b/encicl/section5/dubina.txt new file mode 100644 index 0000000..dc404c3 --- /dev/null +++ b/encicl/section5/dubina.txt @@ -0,0 +1,246 @@ + + + + +Библиотека - Дубины и булавы + + + + +

    + + + +

    Дубины и булавы

    + +
    +
    +
    +
    Дубина (Масса: 4)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    • Ловкость: 5
    • +
    • Выносливость: 5
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 9
    • +
    • Ловкость: -1
    • +
    +
    +
    + +
    +
    +
    + +

    Цена: 11 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 12
    • +
    • Ловкость: -1
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 28 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Ловкость: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 15
    • +
    • Ловкость: -1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 33 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 13
    • +
    • Ловкость: 13
    • +
    • Выносливость: 13
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 19
    • +
    • Ловкость: -2
    • +
    • Мф. против крит. ударов: +10%
    • +
    • Мф. против увертлив.: +30%
    • +
    +
    +
    +
    +
    +
    +
    Молот Страха (Масса: 8)
    +

    Цена: 40 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против увертлив.: +15%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 56 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 14
    • +
    • Ловкость: 14
    • +
    • Выносливость: 14
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 12
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +10%
    • +
    +
    +
    +
    +
    +
    +
    Ледяной Молот (Масса: 10)
    +

    Цена: 100 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 15
    • +
    • Выносливость: 20
    • +
    • Уровень: 6
    • +
    • Мастерство владения дубинами и булавами: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 22
    • +
    • Сила: +2
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +35%
    • +
    • Мф. увертливости: +10%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 110 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Интуиция: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 13
    • +
    • Максимальное наносимое повреждение: 25
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +50%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 115 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    • Мастерство владения дубинами и булавами: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 11
    • +
    • Максимальное наносимое повреждение: 22
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +35%
    • +
    • Мф. против увертлив.: +35%
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 50 екр.

    +

    Долговечность : 0/500


    +

    Требуется минимальное:

    +
      +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 35
    • +
    • Максимальное наносимое повреждение: 50
    • +
    • Сила: +5
    • +
    • Мф. критических ударов: +100%
    • +
    • Мф. против увертлив.: +100%
    • +
    • Мастерство владения дубинами и булавами: +5
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/dubina1.txt b/encicl/section5/dubina1.txt new file mode 100644 index 0000000..9a60751 --- /dev/null +++ b/encicl/section5/dubina1.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Дубина

    +
    +
    +
    +
    Дубина (Масса: 12)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    • Ловкость: 5
    • +
    • Выносливость: 5
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 9
    • +
    • Ловкость: -1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/dubina2.txt b/encicl/section5/dubina2.txt new file mode 100644 index 0000000..ccdd3c2 --- /dev/null +++ b/encicl/section5/dubina2.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Шипованная Дубина

    +
    +
    +
    +
    Шипованная Дубина (Масса: 12)
    +

    Цена: 11 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 12
    • +
    • Ловкость: -1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/dubina20.txt b/encicl/section5/dubina20.txt new file mode 100644 index 0000000..557b4cb --- /dev/null +++ b/encicl/section5/dubina20.txt @@ -0,0 +1,41 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Тяжелый молот возмездия

    +
    +
    +
    +
    Тяжелый молот возмездия (Масса: 20)
    +

    Цена: 115 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    • Мастерство владения дубинами и булавами: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 11
    • +
    • Максимальное наносимое повреждение: 22
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +35%
    • +
    • Мф. против увертлив.: +35%
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/dubina3.txt b/encicl/section5/dubina3.txt new file mode 100644 index 0000000..5f64674 --- /dev/null +++ b/encicl/section5/dubina3.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Легкая боевая дубина

    +
    +
    +
    +
    Легкая боевая дубина (Масса: 13)
    +

    Цена: 28 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Ловкость: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 15
    • +
    • Ловкость: -1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/dubinaradosti.txt b/encicl/section5/dubinaradosti.txt new file mode 100644 index 0000000..e6d1e01 --- /dev/null +++ b/encicl/section5/dubinaradosti.txt @@ -0,0 +1,33 @@ + + +Библиотека - Амуниция + + +
    + + +

    Дубинка Радости

    +
    +
    +

    Цена: 50 екр.

    +

    Долговечность : 0/500


    +

    Требуется минимальное:

    +
      +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 35
    • +
    • Максимальное наносимое повреждение: 50
    • +
    • Сила: +5
    • +
    • Мф. критических ударов: +100%
    • +
    • Мф. против увертлив.: +100%
    • +
    • Мастерство владения дубинами и булавами: +5
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/gilet1.txt b/encicl/section5/gilet1.txt new file mode 100644 index 0000000..823db75 --- /dev/null +++ b/encicl/section5/gilet1.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Жилет

    +
    +
    +
    +
    Жилет (Масса: 4)
    +

    Цена: 12 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Мф. увертливости: +15%
    • +
    • Броня корпуса: 3
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/grshield.txt b/encicl/section5/grshield.txt new file mode 100644 index 0000000..cc73d8b --- /dev/null +++ b/encicl/section5/grshield.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Большой круглый щит

    + +
    +
    +
    +
    Большой круглый щит (Масса: 12)
    +

    Цена: 16 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/grshield2.txt b/encicl/section5/grshield2.txt new file mode 100644 index 0000000..1e22374 --- /dev/null +++ b/encicl/section5/grshield2.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + + + +

    Щит Солнца

    + +
    +
    +
    +
    Щит Солнца (Масса: 12)
    +

    Цена: 37 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +15
    • +
    • Мф. против крит. ударов: +10%
    • +
    • Броня головы: 6
    • +
    • Броня корпуса: 6
    • +
    • Броня пояса: 6
    • +
    • Броня ног: 6
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/hammer1.txt b/encicl/section5/hammer1.txt new file mode 100644 index 0000000..493c722 --- /dev/null +++ b/encicl/section5/hammer1.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Молот Страха

    +
    +
    +
    +
    Молот Страха (Масса: 8)
    +

    Цена: 40 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против увертлив.: +15%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/hammer3.txt b/encicl/section5/hammer3.txt new file mode 100644 index 0000000..640728e --- /dev/null +++ b/encicl/section5/hammer3.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Боевой Молоток (Клевец)

    +
    +
    +
    +
    Боевой Молоток (Клевец) (Масса: 8)
    +

    Цена: 56 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 14
    • +
    • Ловкость: 14
    • +
    • Выносливость: 14
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 12
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +10%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/hammer4.txt b/encicl/section5/hammer4.txt new file mode 100644 index 0000000..48af4e6 --- /dev/null +++ b/encicl/section5/hammer4.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Молот Оправдания

    +
    +
    +
    +
    Молот Оправдания (Масса: 20)
    +

    Цена: 110 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Интуиция: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 13
    • +
    • Максимальное наносимое повреждение: 25
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +50%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/hammer5.txt b/encicl/section5/hammer5.txt new file mode 100644 index 0000000..31e2d2f --- /dev/null +++ b/encicl/section5/hammer5.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Молот Дробления

    +
    +
    +
    +
    Молот Дробления (Масса: 9)
    +

    Цена: 33 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 13
    • +
    • Ловкость: 13
    • +
    • Выносливость: 13
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 19
    • +
    • Ловкость: -2
    • +
    • Мф. против крит. ударов: +10%
    • +
    • Мф. против увертлив.: +30%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/helmet.txt b/encicl/section5/helmet.txt new file mode 100644 index 0000000..1834737 --- /dev/null +++ b/encicl/section5/helmet.txt @@ -0,0 +1,290 @@ + + + + +Библиотека - Шлемы + + + +
    + + + +

    Шлемы

    + +
    +
    +
    +
    Рогатый шлем (Масса: 3)
    +

    Цена: 6 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. против крит. ударов: +1%
    • +
    • Броня головы: 3
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 6 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. увертливости: +5%
    • +
    • Броня головы: 3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Броня головы: 1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +6
    • +
    • Броня головы: 3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 23 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Уровень жизни: +12
    • +
    • Мф. против крит. ударов: +2%
    • +
    • Мф. увертливости: +10%
    • +
    • Броня головы: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 24 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня головы: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 43 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Уровень жизни: +15
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +10%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 9
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 55 кр.

    +

    Долговечность : 0/40


    + + Свойства предмета не идентифицированы + +
    +
    +
    +
    +
    + +

    Цена: 57 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 13
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +1
    • +
    • Уровень жизни: +10
    • +
    • Мф. критических ударов: +15%
    • +
    • Мф. против увертлив.: +15%
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Броня головы: 9
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 60 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Интуиция: +1
    • +
    • Уровень жизни: +10
    • +
    • Мф. против крит. ударов: +20%
    • +
    • Мф. против увертлив.: +20%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 9
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 61 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 14
    • +
    • Выносливость: 14
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +2
    • +
    • Уровень жизни: +10
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: +15%
    • +
    • Мф. против увертлив.: +15%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Броня головы: 9
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 65 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 14
    • +
    • Выносливость: 12
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Интуиция: +2
    • +
    • Уровень жизни: +10
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против крит. ударов: +10%
    • +
    • Мф. увертливости: +10%
    • +
    • Мф. против увертлив.: +10%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 9
    • +
    +
    +
    + + +
    + +
    + +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/helmet1.txt b/encicl/section5/helmet1.txt new file mode 100644 index 0000000..9d11a47 --- /dev/null +++ b/encicl/section5/helmet1.txt @@ -0,0 +1,31 @@ + + + + +Библиотека - Амуниция + + + + +

    Шлем -Максимус-

    +
    +
    +
    +
    Шлем -Максимус- (Масса: 3)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Броня головы: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/helmet10.txt b/encicl/section5/helmet10.txt new file mode 100644 index 0000000..f366411 --- /dev/null +++ b/encicl/section5/helmet10.txt @@ -0,0 +1,40 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Маска Темного Дровосека

    +
    +
    +
    +
    Маска Темного Дровосека (Масса: 9)
    +

    Цена: 61 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 14
    • +
    • Выносливость: 14
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +2
    • +
    • Уровень жизни: +10
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: +15%
    • +
    • Мф. против увертлив.: +15%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Броня головы: 9
    • +
    +
    +
    diff --git a/encicl/section5/helmet11.txt b/encicl/section5/helmet11.txt new file mode 100644 index 0000000..41d3374 --- /dev/null +++ b/encicl/section5/helmet11.txt @@ -0,0 +1,40 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Маска Мельника

    +
    +
    +
    +
    Маска Мельника (Масса: 9)
    +

    Цена: 57 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 13
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +1
    • +
    • Уровень жизни: +10
    • +
    • Мф. критических ударов: +15%
    • +
    • Мф. против увертлив.: +15%
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Броня головы: 9
    • +
    +
    +
    + diff --git a/encicl/section5/helmet2.txt b/encicl/section5/helmet2.txt new file mode 100644 index 0000000..4992acc --- /dev/null +++ b/encicl/section5/helmet2.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Рогатый шлем

    +
    +
    +
    +
    Рогатый шлем (Масса: 3)
    +

    Цена: 6 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. против крит. ударов: +1%
    • +
    • Броня головы: 3
    • +
    +
    +
    + diff --git a/encicl/section5/helmet21.txt b/encicl/section5/helmet21.txt new file mode 100644 index 0000000..c0b3f13 --- /dev/null +++ b/encicl/section5/helmet21.txt @@ -0,0 +1,44 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Позолоченый шлем

    +
    +
    +
    +
    Позолоченый шлем (Масса: 6)
    +

    Цена: 60 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Интуиция: +1
    • +
    • Уровень жизни: +10
    • +
    • Мф. против крит. ударов: +20%
    • +
    • Мф. против увертлив.: +20%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 9
    • +
    +
    +
    + diff --git a/encicl/section5/helmet3.txt b/encicl/section5/helmet3.txt new file mode 100644 index 0000000..aef1d3f --- /dev/null +++ b/encicl/section5/helmet3.txt @@ -0,0 +1,36 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Шлем Конквистадор

    +
    +
    +
    +
    Шлем Конквистадор (Масса: 3)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +6
    • +
    • Броня головы: 3
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/helmet4.txt b/encicl/section5/helmet4.txt new file mode 100644 index 0000000..b253d99 --- /dev/null +++ b/encicl/section5/helmet4.txt @@ -0,0 +1,36 @@ + + + + +Библиотека - Амуниция + + + + +

    Рыцарский турнирный шлем

    +
    +
    +
    +
    Рыцарский турнирный шлем (Масса: 6)
    +

    Цена: 23 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Уровень жизни: +12
    • +
    • Мф. против крит. ударов: +2%
    • +
    • Мф. увертливости: +10%
    • +
    • Броня головы: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/helmet5.txt b/encicl/section5/helmet5.txt new file mode 100644 index 0000000..3e6e85e --- /dev/null +++ b/encicl/section5/helmet5.txt @@ -0,0 +1,44 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Шлем Крестоносца

    +
    +
    +
    +
    Шлем Крестоносца (Масса: 6)
    +

    Цена: 55 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Уровень жизни: +15
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против увертлив.: +10%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 9
    • +
    +
    +
    + diff --git a/encicl/section5/helmet6.txt b/encicl/section5/helmet6.txt new file mode 100644 index 0000000..447d2dc --- /dev/null +++ b/encicl/section5/helmet6.txt @@ -0,0 +1,41 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Немецкий полный шлем

    +
    +
    +
    +
    Немецкий полный шлем (Масса: 5)
    +

    Цена: 24 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня головы: 6
    • +
    +
    +
    + + \ No newline at end of file diff --git a/encicl/section5/helmet7.txt b/encicl/section5/helmet7.txt new file mode 100644 index 0000000..23d10f6 --- /dev/null +++ b/encicl/section5/helmet7.txt @@ -0,0 +1,36 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Нормандский шлем

    +
    +
    +
    +
    Нормандский шлем (Масса: 3)
    +

    Цена: 6 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. увертливости: +5%
    • +
    • Броня головы: 3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/helmet8.txt b/encicl/section5/helmet8.txt new file mode 100644 index 0000000..5bfbebb --- /dev/null +++ b/encicl/section5/helmet8.txt @@ -0,0 +1,42 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Шлем -Венец Некриса-

    +
    +
    +
    +
    Шлем -Венец Некриса- (Масса: 6)
    +

    Цена: 43 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Уровень жизни: +15
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +10%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 9
    • +
    +
    +
    diff --git a/encicl/section5/helmet9.txt b/encicl/section5/helmet9.txt new file mode 100644 index 0000000..7e82bda --- /dev/null +++ b/encicl/section5/helmet9.txt @@ -0,0 +1,47 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Элитный Шлем защиты от Огня

    +
    +
    +
    +
    Элитный Шлем защиты от Огня (Масса: 6)
    +

    Цена: 65 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 14
    • +
    • Выносливость: 12
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Сила: +2
    • +
    • Интуиция: +2
    • +
    • Уровень жизни: +10
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против крит. ударов: +10%
    • +
    • Мф. увертливости: +10%
    • +
    • Мф. против увертлив.: +10%
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 9
    • +
    +
    +
    + diff --git a/encicl/section5/kastet1.txt b/encicl/section5/kastet1.txt new file mode 100644 index 0000000..3e06cb1 --- /dev/null +++ b/encicl/section5/kastet1.txt @@ -0,0 +1,31 @@ + + + + +Библиотека - Амуниция + + + + +

    Кастет -Укус змеи-

    +
    +
    +
    +
    Кастет -Укус змеи- (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 3
    • +
    • Максимальное наносимое повреждение: 4
    • +
    + +
    + + + +Библиотека - Амуниция + + + + + +

    Кастет -Когти медведя-

    +
    +
    +
    +
    Кастет -Когти медведя- (Масса: 2)
    +

    Цена: 3 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 4
    • +
    • Ловкость: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 2
    • +
    • Максимальное наносимое повреждение: 4
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/kastet3.txt b/encicl/section5/kastet3.txt new file mode 100644 index 0000000..3addd89 --- /dev/null +++ b/encicl/section5/kastet3.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Боевой кастет

    +
    +
    +
    +
    Боевой кастет (Масса: 2)
    +

    Цена: 17 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Ловкость: +1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/kastet4.txt b/encicl/section5/kastet4.txt new file mode 100644 index 0000000..98f97f4 --- /dev/null +++ b/encicl/section5/kastet4.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Кастет -Лезвия Смерти-

    +
    +
    +
    +
    Кастет -Лезвия Смерти- (Масса: 3)
    +

    Цена: 19 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Ловкость: +1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/knife1.txt b/encicl/section5/knife1.txt new file mode 100644 index 0000000..793c947 --- /dev/null +++ b/encicl/section5/knife1.txt @@ -0,0 +1,32 @@ + + + + +Библиотека - Амуниция + + + + +

    Кинжал -Jackal-

    +
    +
    +
    +
    Кинжал -Jackal- (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    • Выносливость: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/knife2.txt b/encicl/section5/knife2.txt new file mode 100644 index 0000000..7e7ff49 --- /dev/null +++ b/encicl/section5/knife2.txt @@ -0,0 +1,32 @@ + + + + +Библиотека - Амуниция + + + + +

    Нож -Убийцы-

    +
    +
    +
    +
    Нож -Убийцы- (Масса: 2)
    +

    Цена: 3 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 4
    • +
    • Ловкость: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 5
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/knife3.txt b/encicl/section5/knife3.txt new file mode 100644 index 0000000..0c8fc76 --- /dev/null +++ b/encicl/section5/knife3.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Кинжал -Жало кобры-

    +
    +
    +
    +
    Кинжал -Жало кобры- (Масса: 2)
    +

    Цена: 14 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 3
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Мф. критических ударов: +2%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/knife4.txt b/encicl/section5/knife4.txt new file mode 100644 index 0000000..976512b --- /dev/null +++ b/encicl/section5/knife4.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Кинжал -Зуб дракона-

    +
    +
    +
    +
    Кинжал -Зуб дракона- (Масса: 2)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Ловкость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Уровень жизни: +3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/knife5.txt b/encicl/section5/knife5.txt new file mode 100644 index 0000000..64a72ab --- /dev/null +++ b/encicl/section5/knife5.txt @@ -0,0 +1,36 @@ + + + + +Библиотека - Амуниция + + + + +

    Кинжал -Императорский-

    +
    +
    +
    +
    Кинжал -Императорский- (Масса: 2)
    +

    Цена: 14 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Интуиция: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 2
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/knife6.txt b/encicl/section5/knife6.txt new file mode 100644 index 0000000..242c46c --- /dev/null +++ b/encicl/section5/knife6.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Кинжал -Царский-

    +
    +
    +
    +
    Кинжал -Царский- (Масса: 2)
    +

    Цена: 26 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 8
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 10
    • +
    • Уровень жизни: +3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/knife7.txt b/encicl/section5/knife7.txt new file mode 100644 index 0000000..13eecc4 --- /dev/null +++ b/encicl/section5/knife7.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Ритуальный нож жертвоприношений

    +
    +
    +
    +
    Ритуальный нож жертвоприношений (Масса: 2)
    +

    Цена: 26 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Интуиция: 12
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 10
    • +
    • Мф. увертливости: +10%
    • +
    • Мф. против крита: +1%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/mag1.txt b/encicl/section5/mag1.txt new file mode 100644 index 0000000..a1396a6 --- /dev/null +++ b/encicl/section5/mag1.txt @@ -0,0 +1,694 @@ + + + + +Библиотека - Нейтральные + + + + +
    + + + +

    Нейтральные

    + +
    +
    +
    +
    Бумага (Масса: 1)
    +

    Цена: 0.02 кр.

    +

    Долговечность : 0/1

    + +
    +
    + +
    +
    +
    +
    Чеснок (защита от вампиров) (Масса: 1)
    +

    Цена: 2 кр.

    +

    Долговечность : 0/20

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: Против вампиров
    • +
    +
    +
    + +
    +
    +
    +
    Заклятие молчания на 15 мин. (Масса: 1)
    +

    Цена: 2 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: молчания
    • +
    +
    +
    + +
    +
    +
    +
    Заклятие молчания на 30 мин. (Масса: 1)
    +

    Цена: 4 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 80%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 2
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: молчания
    • +
    +
    +
    + +
    +
    +
    +
    Нападение (Масса: 1)
    +

    Цена: 4 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Мастерство владения серой магией: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: внезапность
    • +
    +
    +
    + +
    +
    +
    +
    Идентификация предметов (Масса: 1)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/3

    +

    Вероятность срабатывания: 50%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 2
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: идентификация
    • +
    +
    +
    + +
    +
    +
    +
    Кулачное нападение (Масса: 1)
    +

    Цена: 6 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 6
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: внезапность
    • +
    +
    +
    + +
    +
    +
    +
    Лечение легких травм (Масса: 1)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/2

    +

    Вероятность срабатывания: 50%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Мастерство владения магией Света: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: лечение
    • +
    +
    +
    + +
    +
    +
    +
    Осиновый кол (Масса: 1)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 8
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: Против вампиров
    • +
    +
    +
    + +
    +
    +
    +
    Кровавое нападение (Масса: 1)
    +

    Цена: 8 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 10
    • +
    • Мастерство владения магией Тьмы: 4
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: внезапность
    • +
    +
    +
    + +
    +
    +
    +
    Лечение средних травм (Масса: 1)
    +

    Цена: 14 кр.

    +

    Долговечность : 0/2

    +

    Вероятность срабатывания: 60%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 6
    • +
    • Мастерство владения магией Света: 3
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: лечение
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на мечи +1 (Масса: 1)
    +

    Цена: 20 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 50%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Мастерство владения мечами: 1
    • +
    • Мастерство владения серой магией: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на топоры +1 (Масса: 1)
    +

    Цена: 20 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 50%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Мастерство владения топорами и секирами: 1
    • +
    • Мастерство владения серой магией: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на дубины +1 (Масса: 1)
    +

    Цена: 20 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 50%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Мастерство владения дубинами и булавами: 1
    • +
    • Мастерство владения серой магией: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на ножи +1 (Масса: 1)
    +

    Цена: 20 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 50%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Мастерство владения ножами и кастетами: 1
    • +
    • Мастерство владения серой магией: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Лечение тяжелых травм (Масса: 1)
    +

    Цена: 21 кр.

    +

    Долговечность : 0/2

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 8
    • +
    • Мастерство владения магией Света: 6
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: лечение
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на мечи +2 (Масса: 1)
    +

    Цена: 40 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 60%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 6
    • +
    • Мастерство владения мечами: 2
    • +
    • Мастерство владения серой магией: 2
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на топоры +2 (Масса: 1)
    +

    Цена: 40 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 60%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 6
    • +
    • Мастерство владения топорами и секирами: 2
    • +
    • Мастерство владения серой магией: 2
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на дубины +2 (Масса: 1)
    +

    Цена: 40 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 60%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 6
    • +
    • Мастерство владения дубинами и булавами: 2
    • +
    • Мастерство владения серой магией: 2
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на ножи +2 (Масса: 1)
    +

    Цена: 40 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 60%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 6
    • +
    • Мастерство владения ножами и кастетами: 2
    • +
    • Мастерство владения серой магией: 2
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на мечи +3 (Масса: 1)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 8
    • +
    • Мастерство владения мечами: 3
    • +
    • Мастерство владения серой магией: 3
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на топоры +3 (Масса: 1)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 8
    • +
    • Мастерство владения топорами и секирами: 3
    • +
    • Мастерство владения серой магией: 3
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на дубины +3 (Масса: 1)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 8
    • +
    • Мастерство владения дубинами и булавами: 3
    • +
    • Мастерство владения серой магией: 3
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на ножи +3 (Масса: 1)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 8
    • +
    • Мастерство владения ножами и кастетами: 3
    • +
    • Мастерство владения серой магией: 3
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Шаг назад (Масса: 1)
    +

    Цена: 150 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 70%


    +

    Требуется минимальное:

    +
      +
    • Уровень: 4
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на мечи +4 (Масса: 1)
    +

    Цена: 160 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 80%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 10
    • +
    • Мастерство владения мечами: 4
    • +
    • Мастерство владения серой магией: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на топоры +4 (Масса: 1)
    +

    Цена: 160 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 80%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 10
    • +
    • Мастерство владения топорами и секирами: 4
    • +
    • Мастерство владения серой магией: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на дубины +4 (Масса: 1)
    +

    Цена: 160 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 80%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 10
    • +
    • Мастерство владения дубинами и булавами: 4
    • +
    • Мастерство владения серой магией: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на ножи +4 (Масса: 1)
    +

    Цена: 160 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 80%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 10
    • +
    • Мастерство владения ножами и кастетами: 4
    • +
    • Мастерство владения серой магией: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Встраивание магии (Масса: 1)
    +

    Цена: 250 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 80%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 17
    • +
    • Мудрость: 3
    • +
    • Уровень: 7
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: встраивание магии
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на мечи +5 (Масса: 1)
    +

    Цена: 320 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 12
    • +
    • Мастерство владения мечами: 5
    • +
    • Мастерство владения серой магией: 5
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на топоры +5 (Масса: 1)
    +

    Цена: 320 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 12
    • +
    • Мастерство владения топорами и секирами: 5
    • +
    • Мастерство владения серой магией: 5
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на дубины +5 (Масса: 1)
    +

    Цена: 320 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 12
    • +
    • Мастерство владения дубинами и булавами: 5
    • +
    • Мастерство владения серой магией: 5
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    + +
    +
    +
    +
    Заточка на ножи +5 (Масса: 1)
    +

    Цена: 320 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 12
    • +
    • Мастерство владения ножами и кастетами: 5
    • +
    • Мастерство владения серой магией: 5
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: заточка оружия
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/mag2.txt b/encicl/section5/mag2.txt new file mode 100644 index 0000000..862127c --- /dev/null +++ b/encicl/section5/mag2.txt @@ -0,0 +1,155 @@ + + + + +Библиотека - Боевые и защитные + + + + +
    + + + +

    Боевые и защитные

    + +
    +
    +
    +
    Восстановление энергии 15HP (Масса: 1)
    +

    Цена: 1 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 75%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 1
    • +
    • Мастерство владения серой магией: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: исцеление
    • +
    +
    +
    + +
    +
    +
    +
    Восстановление энергии 30HP (Масса: 1)
    +

    Цена: 2 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 80%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 3
    • +
    • Мастерство владения серой магией: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: исцеление
    • +
    +
    +
    + +
    +
    +
    +
    Восстановление энергии 45HP (Масса: 1)
    +

    Цена: 3 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 85%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 5
    • +
    • Мастерство владения серой магией: 1
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: исцеление
    • +
    +
    +
    + +
    +
    +
    +
    Восстановление энергии 60HP (Масса: 1)
    +

    Цена: 4 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 8
    • +
    • Мастерство владения серой магией: 2
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: исцеление
    • +
    +
    +
    + +
    +
    +
    +
    Переманить клона (Масса: 1)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/1

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 3
    • +
    • Мастерство владения серой магией: 2
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: Эфирное воздействие
    • +
    +
    +
    + +
    +
    +
    +
    Клонирование (Масса: 1)
    +

    Цена: 20 кр.

    +

    Долговечность : 0/2

    +

    Вероятность срабатывания: 90%


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 6
    • +
    • Мастерство владения серой магией: 3
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: Порождение клона
    • +
    +
    +
    + +
    +
    +
    +
    Записки комментатора (Масса: 1)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/10

    +

    Вероятность срабатывания: 99%


    +

    Требуется минимальное:

    +
      +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Наложены заклятия: записки
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/mesh.txt b/encicl/section5/mesh.txt new file mode 100644 index 0000000..6df4da2 --- /dev/null +++ b/encicl/section5/mesh.txt @@ -0,0 +1,30 @@ + + + + +Библиотека - Амуниция + + + + +

    Мешок Торговца

    +
    +
    +
    +
    Мешок Торговца (Масса: 1)
    +

    Цена: 100 кр.

    +

    Долговечность : 0/1


    +

    Требуется минимальное:

    +
      +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Увеличивает рюкзак: +100
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/mesh1.txt b/encicl/section5/mesh1.txt new file mode 100644 index 0000000..a105be3 --- /dev/null +++ b/encicl/section5/mesh1.txt @@ -0,0 +1,31 @@ + + + + +Библиотека - Амуниция + + + + +

    Большой Мешок Торговца

    + +
    +
    +
    +
    Большой Мешок Торговца (Масса: 1)
    +

    Цена: 100 кр.

    +

    Долговечность : 0/1


    +

    Требуется минимальное:

    +
      +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Увеличивает рюкзак: +200
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/molot1.txt b/encicl/section5/molot1.txt new file mode 100644 index 0000000..871d514 --- /dev/null +++ b/encicl/section5/molot1.txt @@ -0,0 +1,41 @@ + + + + +Библиотека - Амуниция + + +
    + + + +

    Ледяной Молот

    +
    +
    +
    +
    Ледяной Молот (Масса: 10)
    +

    Цена: 100 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 15
    • +
    • Выносливость: 20
    • +
    • Уровень: 6
    • +
    • Мастерство владения дубинами и булавами: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 22
    • +
    • Сила: +2
    • +
    • Ловкость: -2
    • +
    • Мф. критических ударов: +35%
    • +
    • Мф. увертливости: +10%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi.txt b/encicl/section5/naruchi.txt new file mode 100644 index 0000000..13fe2b1 --- /dev/null +++ b/encicl/section5/naruchi.txt @@ -0,0 +1,283 @@ + + + + +Библиотека - Перчатки + + + + + +
    + + + +

    Перчатки

    + +
    +
    +
    + +

    Цена: 10 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения ножами и кастетами: +1
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 10 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 8
    • +
    • Ловкость: 7
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения топорами и секирами: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 10 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Ловкость: 7
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения дубинами и булавами: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 10 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Ловкость: 7
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения мечами: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 20 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 30 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +25
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 30 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 13
    • +
    • Ловкость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +25
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 30 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +25
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 50 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 5
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +1
    • +
    • Мастерство владения магией Света: +4
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 16
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +35
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: +15%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    + Свойства предмета не идентифицированы + +
    +
    +
    +
    +
    + +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 16
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +60
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. увертливости: +5%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    + +
    +
    +
    + +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +50
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    + + + + +
    + +
    + +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi1.txt b/encicl/section5/naruchi1.txt new file mode 100644 index 0000000..36e1ba4 --- /dev/null +++ b/encicl/section5/naruchi1.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки крестоносца

    + +
    +
    +
    +
    Перчатки крестоносца (Масса: 3)
    +

    Цена: 20 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi10.txt b/encicl/section5/naruchi10.txt new file mode 100644 index 0000000..7a3797d --- /dev/null +++ b/encicl/section5/naruchi10.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки Законника

    + +
    +
    +
    +
    Перчатки Законника (Масса: 5)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 16
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +60
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. увертливости: +5%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi2.txt b/encicl/section5/naruchi2.txt new file mode 100644 index 0000000..7875725 --- /dev/null +++ b/encicl/section5/naruchi2.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки убийцы

    + +
    +
    +
    +
    Перчатки убийцы (Масса: 2)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения ножами и кастетами: +1
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/naruchi20.txt b/encicl/section5/naruchi20.txt new file mode 100644 index 0000000..4d2bdf0 --- /dev/null +++ b/encicl/section5/naruchi20.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки из чешуи дракона

    + +
    +
    +
    +
    Перчатки из чешуи дракона (Масса: 5)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +35
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. против увертлив.: +15%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi21.txt b/encicl/section5/naruchi21.txt new file mode 100644 index 0000000..992fc67 --- /dev/null +++ b/encicl/section5/naruchi21.txt @@ -0,0 +1,42 @@ + + + + + +Библиотека - Амуниция + + + +

    Позолоченые перчатки

    +
    +
    +
    +
    Позолоченые перчатки (Масса: 6)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +50
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    + +
    \ No newline at end of file diff --git a/encicl/section5/naruchi3.txt b/encicl/section5/naruchi3.txt new file mode 100644 index 0000000..ad40aa2 --- /dev/null +++ b/encicl/section5/naruchi3.txt @@ -0,0 +1,33 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки дровосека

    + +
    +
    +
    +
    Перчатки дровосека (Масса: 2)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 8
    • +
    • Ловкость: 7
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения топорами и секирами: +1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi4.txt b/encicl/section5/naruchi4.txt new file mode 100644 index 0000000..ee36401 --- /dev/null +++ b/encicl/section5/naruchi4.txt @@ -0,0 +1,36 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольчужные перчатки

    + +
    +
    +
    +
    Кольчужные перчатки (Масса: 2)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Ловкость: 7
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения мечами: +1
    • +
    +
    +
    + +
    + \ No newline at end of file diff --git a/encicl/section5/naruchi5.txt b/encicl/section5/naruchi5.txt new file mode 100644 index 0000000..1fa6d92 --- /dev/null +++ b/encicl/section5/naruchi5.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки мечника

    + +
    +
    +
    +
    Перчатки мечника (Масса: 4)
    +

    Цена: 30 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +25
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi6.txt b/encicl/section5/naruchi6.txt new file mode 100644 index 0000000..9ca8f9f --- /dev/null +++ b/encicl/section5/naruchi6.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки великана

    + +
    +
    +
    +
    Перчатки великана (Масса: 2)
    +

    Цена: 10 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Ловкость: 7
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения дубинами и булавами: +1
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/naruchi7.txt b/encicl/section5/naruchi7.txt new file mode 100644 index 0000000..d197719 --- /dev/null +++ b/encicl/section5/naruchi7.txt @@ -0,0 +1,33 @@ + + + + +Библиотека - Амуниция + + + + +

    Рукавицы железного дровосека

    +
    +
    +
    +
    Рукавицы железного дровосека (Масса: 4)
    +

    Цена: 30 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 13
    • +
    • Ловкость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +25
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi8.txt b/encicl/section5/naruchi8.txt new file mode 100644 index 0000000..1deb943 --- /dev/null +++ b/encicl/section5/naruchi8.txt @@ -0,0 +1,40 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки Вампира

    + +
    +
    +
    +
    Перчатки Вампира (Масса: 5)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 16
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +35
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мф. увертливости: +15%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    + diff --git a/encicl/section5/naruchi9.txt b/encicl/section5/naruchi9.txt new file mode 100644 index 0000000..111279a --- /dev/null +++ b/encicl/section5/naruchi9.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Шипованные перчатки великана

    + +
    +
    +
    +
    Шипованные перчатки великана (Масса: 4)
    +

    Цена: 30 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +25
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/naruchi_lekar.txt b/encicl/section5/naruchi_lekar.txt new file mode 100644 index 0000000..59fc765 --- /dev/null +++ b/encicl/section5/naruchi_lekar.txt @@ -0,0 +1,33 @@ + + + + +Библиотека - Амуниция + + + + +

    Перчатки лекаря

    + +
    +
    +
    +
    Перчатки лекаря (Масса: 2)
    +

    Цена: 50 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 5
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +1
    • +
    • Мастерство владения магией Света: +4
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/noziikasteti.txt b/encicl/section5/noziikasteti.txt new file mode 100644 index 0000000..a1477a1 --- /dev/null +++ b/encicl/section5/noziikasteti.txt @@ -0,0 +1,229 @@ + + + + +Библиотека ОлдБК - Кастеты и ножи + + + + +
    + + + +

    Кастеты и ножи

    + +
    +
    +
    + +

    Цена: 3 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 4
    • +
    • Ловкость: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 2
    • +
    • Максимальное наносимое повреждение: 4
    • +
    +
    +
    + + +
    +
    +
    +
    Нож -Убийцы- (Масса: 2)
    +

    Цена: 3 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 4
    • +
    • Ловкость: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 5
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 3
    • +
    • Максимальное наносимое повреждение: 4
    • +
    +
    +
    +
    +
    +
    +
    Кинжал -Jackal- (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    • Выносливость: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 6
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 10 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Ловкость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Уровень жизни: +3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 14 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 3
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Мф. критических ударов: +2%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 14 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Интуиция: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 2
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 17 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Ловкость: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 19 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 6
    • +
    • Ловкость: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 25 кр.

    +

    Долговечность : 0/100


    +

    Свойства предмета не идентифицированы + +

    +
    +
    +
    +
    + +

    Цена: 26 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Выносливость: 8
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 10
    • +
    • Уровень жизни: +3
    • +
    +
    +
    + +
    + +
    + +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/ring1.txt b/encicl/section5/ring1.txt new file mode 100644 index 0000000..0dd94aa --- /dev/null +++ b/encicl/section5/ring1.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Неуязвимости

    + +
    +
    +
    +
    Кольцо Неуязвимости (Масса: 1)
    +

    Цена: 30 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Интуиция: +1
    • +
    • Уровень жизни: +6
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +10%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/ring2.txt b/encicl/section5/ring2.txt new file mode 100644 index 0000000..21bb0d5 --- /dev/null +++ b/encicl/section5/ring2.txt @@ -0,0 +1,41 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Ужаса

    + +
    +
    +
    +
    Кольцо Ужаса (Масса: 1)
    +

    Цена: 75 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 25
    • +
    • Выносливость: 25
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +1
    • +
    • Мф. критических ударов: +20%
    • +
    • Мф. против крит. ударов: +20%
    • +
    • Мф. увертливости: +20%
    • +
    • Мф. против увертлив.: +20%
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/ring20.txt b/encicl/section5/ring20.txt new file mode 100644 index 0000000..0ef840b --- /dev/null +++ b/encicl/section5/ring20.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Сумрака

    + +
    +
    +
    +
    Кольцо Сумрака (Масса: 1)
    +

    Цена: 50 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +1
    • +
    • Мастерство владения серой магией: +4
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/ring21.txt b/encicl/section5/ring21.txt new file mode 100644 index 0000000..5d3c6ec --- /dev/null +++ b/encicl/section5/ring21.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Демонов

    + +
    +
    +
    +
    Кольцо Демонов (Масса: 1)
    +

    Цена: 70 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +4
    • +
    • Мастерство владения магией Тьмы: +4
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/ring3.txt b/encicl/section5/ring3.txt new file mode 100644 index 0000000..1ff2a33 --- /dev/null +++ b/encicl/section5/ring3.txt @@ -0,0 +1,32 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Силы

    + +
    +
    +
    +
    Кольцо Силы (Масса: 1)
    +

    Цена: 20 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Сила: +3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/ring4.txt b/encicl/section5/ring4.txt new file mode 100644 index 0000000..61fcef9 --- /dev/null +++ b/encicl/section5/ring4.txt @@ -0,0 +1,31 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Ловкости

    +
    +
    +
    +
    Кольцо Ловкости (Масса: 1)
    +

    Цена: 18 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/ring5.txt b/encicl/section5/ring5.txt new file mode 100644 index 0000000..35061db --- /dev/null +++ b/encicl/section5/ring5.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Ума

    + +
    +
    +
    +
    Кольцо Ума (Масса: 1)
    +

    Цена: 71 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Интуиция: 25
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +5
    • +
    • Уровень жизни: +33
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/ring6.txt b/encicl/section5/ring6.txt new file mode 100644 index 0000000..04e9033 --- /dev/null +++ b/encicl/section5/ring6.txt @@ -0,0 +1,32 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Интуиции

    +
    +
    +
    +
    Кольцо Интуиции (Масса: 1)
    +

    Цена: 18 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/ring7.txt b/encicl/section5/ring7.txt new file mode 100644 index 0000000..7946b12 --- /dev/null +++ b/encicl/section5/ring7.txt @@ -0,0 +1,40 @@ + + + + +Библиотека - Амуниция + + + + +

    Кольцо Огня

    + +
    +
    +
    +
    Кольцо Огня (Масса: 1)
    +

    Цена: 32 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +2
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/rings.txt b/encicl/section5/rings.txt new file mode 100644 index 0000000..8c212de --- /dev/null +++ b/encicl/section5/rings.txt @@ -0,0 +1,198 @@ +Библиотека - Кольца + + + + +
    + + + +

    Кольца

    + +
    +
    +
    + +

    Цена: 18 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 18 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +2
    • +
    +
    +
    +
    +
    +
    +
    Кольцо Силы (Масса: 1)
    +

    Цена: 20 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Сила: +3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 30 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Интуиция: +1
    • +
    • Уровень жизни: +6
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +10%
    • +
    +
    +
    +
    +
    +
    +
    Кольцо Огня (Масса: 1)
    +

    Цена: 32 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +2
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. против крит. ударов: +5%
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 50 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +1
    • +
    • Мастерство владения серой магией: +4
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 70 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Интеллект: 4
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +4
    • +
    • Мастерство владения магией Тьмы: +4
    • +
    +
    +
    +
    +
    +
    +
    Кольцо Ума (Масса: 1)
    +

    Цена: 71 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Интуиция: 25
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +5
    • +
    • Уровень жизни: +33
    • +
    +
    +
    +
    +
    +
    +
    Кольцо Ужаса (Масса: 1)
    +

    Цена: 75 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 25
    • +
    • Выносливость: 25
    • +
    • Уровень: 6
    • +
    +

    Действует на:

    +
      +
    • Интеллект: +1
    • +
    • Мф. критических ударов: +20%
    • +
    • Мф. против крит. ударов: +20%
    • +
    • Мф. увертливости: +20%
    • +
    • Мф. против увертлив.: +20%
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    + + + +
    \ No newline at end of file diff --git a/encicl/section5/roba10.txt b/encicl/section5/roba10.txt new file mode 100644 index 0000000..fcdc0d6 --- /dev/null +++ b/encicl/section5/roba10.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка мечника

    +
    +
    +
    +
    Рубашка мечника (Масса: 3)
    +

    Цена: 15 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня корпуса: 2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba11.txt b/encicl/section5/roba11.txt new file mode 100644 index 0000000..f8ce826 --- /dev/null +++ b/encicl/section5/roba11.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка дровосека

    +
    +
    +
    +
    Рубашка дровосека (Масса: 3)
    +

    Цена: 15 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Броня корпуса: 2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba2.txt b/encicl/section5/roba2.txt new file mode 100644 index 0000000..6d0cc53 --- /dev/null +++ b/encicl/section5/roba2.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка дубинщика

    +
    +
    +
    +
    Рубашка дубинщика (Масса: 3)
    +

    Цена: 15 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Броня корпуса: 2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba20.txt b/encicl/section5/roba20.txt new file mode 100644 index 0000000..00ae3fc --- /dev/null +++ b/encicl/section5/roba20.txt @@ -0,0 +1,33 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка Нейтрала

    +
    +
    +
    +
    Рубашка Нейтрала (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +1
    • +
    • Уровень жизни: +3
    • +
    • Броня корпуса: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba21.txt b/encicl/section5/roba21.txt new file mode 100644 index 0000000..92c183e --- /dev/null +++ b/encicl/section5/roba21.txt @@ -0,0 +1,33 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубаха Грифона

    +
    +
    +
    +
    Рубаха Грифона (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Уровень жизни: +3
    • +
    • Броня корпуса: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba3.txt b/encicl/section5/roba3.txt new file mode 100644 index 0000000..9617b5d --- /dev/null +++ b/encicl/section5/roba3.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка Законника

    +
    +
    +
    +
    Рубашка Законника (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 1
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Уровень жизни: +3
    • +
    • Броня корпуса: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba4.txt b/encicl/section5/roba4.txt new file mode 100644 index 0000000..875a825 --- /dev/null +++ b/encicl/section5/roba4.txt @@ -0,0 +1,35 @@ + + + + + +Библиотека - Амуниция + + + +

    Рубашка Серости

    +
    +
    +
    +
    Рубашка Серости (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 5
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. против крит. ударов: +1%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня корпуса: 1
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/roba5.txt b/encicl/section5/roba5.txt new file mode 100644 index 0000000..018c29d --- /dev/null +++ b/encicl/section5/roba5.txt @@ -0,0 +1,32 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка помощи

    +
    +
    +
    +
    Рубашка помощи (Масса: 2)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 5
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Броня корпуса: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba6.txt b/encicl/section5/roba6.txt new file mode 100644 index 0000000..55b2015 --- /dev/null +++ b/encicl/section5/roba6.txt @@ -0,0 +1,34 @@ + + + + +Библиотека - Амуниция + + + + +

    Роба Земли

    +
    +
    +
    +
    Роба Земли (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня корпуса: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba7.txt b/encicl/section5/roba7.txt new file mode 100644 index 0000000..e0db710 --- /dev/null +++ b/encicl/section5/roba7.txt @@ -0,0 +1,32 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка раскаяния

    +
    +
    +
    +
    Рубашка раскаяния (Масса: 2)
    +

    Цена: 21 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +30
    • +
    • Броня корпуса: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba8.txt b/encicl/section5/roba8.txt new file mode 100644 index 0000000..8257692 --- /dev/null +++ b/encicl/section5/roba8.txt @@ -0,0 +1,33 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка неофита

    +
    +
    +
    +
    Рубашка неофита (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Уровень жизни: +3
    • +
    • Броня корпуса: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/roba9.txt b/encicl/section5/roba9.txt new file mode 100644 index 0000000..514ffb7 --- /dev/null +++ b/encicl/section5/roba9.txt @@ -0,0 +1,40 @@ + + + + +Библиотека - Амуниция + + + + +

    Рубашка торговца

    +
    +
    +
    +
    Рубашка торговца (Масса: 1)
    +

    Цена: 70 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Ловкость: +1
    • +
    • Интуиция: +1
    • +
    • Интеллект: +2
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня корпуса: 3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/robi.txt b/encicl/section5/robi.txt new file mode 100644 index 0000000..2c13033 --- /dev/null +++ b/encicl/section5/robi.txt @@ -0,0 +1,276 @@ +Библиотека - Легкая броня + + + + +
    + + + +

    Легкая броня

    + +
    +
    +
    +
    Роба Земли (Масса: 2)
    +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. увертливости: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня корпуса: 1
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 5
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мф. против крит. ударов: +1%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня корпуса: 1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Уровень жизни: +3
    • +
    • Броня корпуса: 1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 1
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Уровень жизни: +3
    • +
    • Броня корпуса: 1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Интуиция: +1
    • +
    • Уровень жизни: +3
    • +
    • Броня корпуса: 1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 5
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Броня корпуса: 1
    • +
    +
    +
    +
    +
    +
    +
    Жилет (Масса: 4)
    +

    Цена: 12 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Мф. увертливости: +15%
    • +
    • Броня корпуса: 3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 15 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Броня корпуса: 2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 15 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Броня корпуса: 2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 15 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +3
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня корпуса: 2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 21 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +30
    • +
    • Броня корпуса: 1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 70 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Ловкость: +1
    • +
    • Интуиция: +1
    • +
    • Интеллект: +2
    • +
    • Мастерство владения ножами и кастетами: +1
    • +
    • Мастерство владения топорами и секирами: +1
    • +
    • Мастерство владения дубинами и булавами: +1
    • +
    • Мастерство владения мечами: +1
    • +
    • Броня корпуса: 3
    • +
    +
    +
    + +
    +
    +
    + +

    Цена: 5 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Сила: +1
    • +
    • Уровень жизни: +3
    • +
    • Броня корпуса: 1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/shield10.txt b/encicl/section5/shield10.txt new file mode 100644 index 0000000..f56b4cf --- /dev/null +++ b/encicl/section5/shield10.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + + + +

    Щиток

    + +
    +
    +
    +
    Щиток (Масса: 3)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +6
    • +
    • Броня головы: 1
    • +
    • Броня корпуса: 1
    • +
    • Броня пояса: 1
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/shield20.txt b/encicl/section5/shield20.txt new file mode 100644 index 0000000..c574dfe --- /dev/null +++ b/encicl/section5/shield20.txt @@ -0,0 +1,44 @@ + + + + +Библиотека - Амуниция + + + + +

    Щит наемника

    + +
    +
    +
    +
    Щит наемника (Масса: 15)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +45
    • +
    • Мф. против крит. ударов: +30%
    • +
    • Мф. против увертлив.: +30%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    • Броня головы: 8
    • +
    • Броня корпуса: 8
    • +
    • Броня пояса: 8
    • +
    • Броня ног: 8
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/shield3.txt b/encicl/section5/shield3.txt new file mode 100644 index 0000000..3e9df79 --- /dev/null +++ b/encicl/section5/shield3.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Щит пегаса

    + +
    +
    +
    +
    Щит пегаса (Масса: 13)
    +

    Цена: 76 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +15
    • +
    • Мф. против крит. ударов: +50%
    • +
    • Броня головы: 6
    • +
    • Броня корпуса: 6
    • +
    • Броня пояса: 6
    • +
    • Броня ног: 6
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/shields.txt b/encicl/section5/shields.txt new file mode 100644 index 0000000..3d07fd3 --- /dev/null +++ b/encicl/section5/shields.txt @@ -0,0 +1,183 @@ +Библиотека - Легкая броня + + + + +
    + + + +

    Щиты

    + +
    +
    +
    +
    Щиток (Масса: 3)
    +

    Цена: 7 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +6
    • +
    • Броня головы: 1
    • +
    • Броня корпуса: 1
    • +
    • Броня пояса: 1
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 12 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 16 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +9
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 25 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    +
    +
    +
    +
    Щит Солнца (Масса: 12)
    +

    Цена: 37 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +15
    • +
    • Мф. против крит. ударов: +10%
    • +
    • Броня головы: 6
    • +
    • Броня корпуса: 6
    • +
    • Броня пояса: 6
    • +
    • Броня ног: 6
    • +
    +
    +
    +
    +
    +
    +
    Щит пегаса (Масса: 13)
    +

    Цена: 76 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +15
    • +
    • Мф. против крит. ударов: +50%
    • +
    • Броня головы: 6
    • +
    • Броня корпуса: 6
    • +
    • Броня пояса: 6
    • +
    • Броня ног: 6
    • +
    +
    +
    +
    +
    +
    +
    Щит наемника (Масса: 15)
    +

    Цена: 80 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Уровень жизни: +45
    • +
    • Мф. против крит. ударов: +30%
    • +
    • Мф. против увертлив.: +30%
    • +
    • Мастерство владения ножами и кастетами: +2
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    • Мастерство владения дубинами и булавами: +2
    • +
    • Мастерство владения мечами: +2
    • +
    • Броня головы: 8
    • +
    • Броня корпуса: 8
    • +
    • Броня пояса: 8
    • +
    • Броня ног: 8
    • +
    +
    +
    + + + + + +
    \ No newline at end of file diff --git a/encicl/section5/sword.txt b/encicl/section5/sword.txt new file mode 100644 index 0000000..cb74b19 --- /dev/null +++ b/encicl/section5/sword.txt @@ -0,0 +1,247 @@ + + + + +Библиотека - Мечи + + + + +
    + + + +

    Мечи

    + +
    +
    +
    + +

    Цена: 16 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 8
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 8
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 48 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 11
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 15
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против увертлив.: +30%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 50 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 11
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Максимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 15
    • +
    • Сила: +1
    • +
    • Ловкость: +1
    • +
    • Мф. критических ударов: +7%
    • +
    • Мф. против увертлив.: +10%
    • +
    • Мастерство владения мечами: +1
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 56 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 13
    • +
    • Выносливость: 13
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. увертливости: +20%
    • +
    • Мф. против увертлив.: +30%
    • +
    +
    +
    +
    +
    +
    +
    Меч Огня (Масса: 5)
    +

    Цена: 57 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 6
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Интуиция: +2
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Мастерство владения мечами: +1
    • +
    +
    +
    +
    +
    +
    +
    Меч Красоты (Масса: 8)
    +

    Цена: 85 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 9
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Ловкость: +1
    • +
    • Мф. увертливости: +50%
    • +
    • Мф. против увертлив.: +50%
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 90 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 9
    • +
    • Максимальное наносимое повреждение: 19
    • +
    • Мф. критических ударов: +50%
    • +
    +
    +
    +
    +
    +
    +
    Меч Мольбы (Масса: 8)
    +

    Цена: 94 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 15
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 7
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Мф. критических ударов: +50%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 94 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 7
    • +
    • Максимальное наносимое повреждение: 17
    • +
    • Мф. против крит. ударов: +50%
    • +
    • Мф. против увертлив.: +10%
    • +
    +
    +
    + +
    +
    +
    + +

    Цена: 100 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 15
    • +
    • Интуиция: 15
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 9
    • +
    • Максимальное наносимое повреждение: 19
    • +
    • Сила: +2
    • +
    • Мф. критических ударов: +50%
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    + +
    + +
    + +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword10.txt b/encicl/section5/sword10.txt new file mode 100644 index 0000000..c09cb99 --- /dev/null +++ b/encicl/section5/sword10.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Меч Сопротивления

    +
    +
    +
    +
    Меч Сопротивления (Масса: 8)
    +

    Цена: 94 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 7
    • +
    • Максимальное наносимое повреждение: 17
    • +
    • Мф. против крит. ударов: +50%
    • +
    • Мф. против увертлив.: +10%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword11.txt b/encicl/section5/sword11.txt new file mode 100644 index 0000000..9f9abd0 --- /dev/null +++ b/encicl/section5/sword11.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + + + +

    Меч Красоты

    +
    +
    +
    +
    Меч Красоты (Масса: 8)
    +

    Цена: 85 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 9
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Ловкость: +1
    • +
    • Мф. увертливости: +50%
    • +
    • Мф. против увертлив.: +50%
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword13.txt b/encicl/section5/sword13.txt new file mode 100644 index 0000000..6ebbfff --- /dev/null +++ b/encicl/section5/sword13.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Меч Жестокости

    +
    +
    +
    +
    Меч Жестокости (Масса: 8)
    +

    Цена: 90 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 9
    • +
    • Максимальное наносимое повреждение: 19
    • +
    • Мф. критических ударов: +50%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword2.txt b/encicl/section5/sword2.txt new file mode 100644 index 0000000..6290c34 --- /dev/null +++ b/encicl/section5/sword2.txt @@ -0,0 +1,33 @@ + + + + +Библиотека - Амуниция + + + + +

    Короткий готический меч

    +
    +
    +
    +
    Короткий готический меч (Масса: 3)
    +

    Цена: 16 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 8
    • +
    • Выносливость: 7
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 8
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword21.txt b/encicl/section5/sword21.txt new file mode 100644 index 0000000..11254cb --- /dev/null +++ b/encicl/section5/sword21.txt @@ -0,0 +1,40 @@ + + + + +Библиотека - Амуниция + + + + +

    Меч ярости Света

    +
    +
    +
    +
    Меч ярости Света (Масса: 9)
    +

    Цена: 100 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 15
    • +
    • Интуиция: 15
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 9
    • +
    • Максимальное наносимое повреждение: 19
    • +
    • Сила: +2
    • +
    • Мф. критических ударов: +50%
    • +
    • Мф. против крит. ударов: +15%
    • +
    • Мастерство владения мечами: +2
    • +
    +
    +
    + \ No newline at end of file diff --git a/encicl/section5/sword3.txt b/encicl/section5/sword3.txt new file mode 100644 index 0000000..f687e78 --- /dev/null +++ b/encicl/section5/sword3.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + + + +

    Меч Огня

    +
    +
    +
    +
    Меч Огня (Масса: 5)
    +

    Цена: 57 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 6
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Интуиция: +2
    • +
    • Мф. критических ударов: +5%
    • +
    • Мф. против увертлив.: +5%
    • +
    • Мастерство владения мечами: +1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword4.txt b/encicl/section5/sword4.txt new file mode 100644 index 0000000..77949ea --- /dev/null +++ b/encicl/section5/sword4.txt @@ -0,0 +1,38 @@ + + + + +Библиотека - Амуниция + + + + +

    Демонический меч

    +
    +
    +
    +
    Демонический меч (Масса: 7)
    +

    Цена: 50 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 11
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Максимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 15
    • +
    • Сила: +1
    • +
    • Ловкость: +1
    • +
    • Мф. критических ударов: +7%
    • +
    • Мф. против увертлив.: +10%
    • +
    • Мастерство владения мечами: +1
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword7.txt b/encicl/section5/sword7.txt new file mode 100644 index 0000000..d68e08a --- /dev/null +++ b/encicl/section5/sword7.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Меч Возмездия

    +
    +
    +
    +
    Меч Возмездия (Масса: 6)
    +

    Цена: 48 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Выносливость: 11
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 15
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. против увертлив.: +30%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword8.txt b/encicl/section5/sword8.txt new file mode 100644 index 0000000..f528459 --- /dev/null +++ b/encicl/section5/sword8.txt @@ -0,0 +1,35 @@ + + + + +Библиотека - Амуниция + + + + +

    Меч Мольбы

    +
    +
    +
    +
    Меч Мольбы (Масса: 8)
    +

    Цена: 94 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 15
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 7
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Мф. критических ударов: +50%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/sword9.txt b/encicl/section5/sword9.txt new file mode 100644 index 0000000..49dc63b --- /dev/null +++ b/encicl/section5/sword9.txt @@ -0,0 +1,36 @@ + + + + +Библиотека - Амуниция + + + + +

    Меч Обреченных

    +
    +
    +
    +
    Меч Обреченных (Масса: 7)
    +

    Цена: 56 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 13
    • +
    • Выносливость: 13
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 5
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. увертливости: +20%
    • +
    • Мф. против увертлив.: +30%
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/topori.txt b/encicl/section5/topori.txt new file mode 100644 index 0000000..21caed1 --- /dev/null +++ b/encicl/section5/topori.txt @@ -0,0 +1,334 @@ + + + + +Библиотека - Топоры + + + +
    + + +

    Топоры и секиры

    + +
    +
    +
    + +

    Цена: 10 кр.

    +

    Долговечность : 0/30


    +

    Требуется минимальное:

    +
      +
    • Сила: 5
    • +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Минимальное наносимое повреждение: 1
    • +
    • Максимальное наносимое повреждение: 6
    • +
    +
    +
    + + +
    +
    +
    + +

    Цена: 13 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Ловкость: 6
    • +
    • Выносливость: 6
    • +
    • Уровень: 1
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 6
    • +
    +
    +
    +
    +
    +
    +
    Топор (Масса: 4)
    +

    Цена: 19 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 7
    • +
    • Ловкость: 9
    • +
    • Выносливость: 9
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 4
    • +
    • Максимальное наносимое повреждение: 9
    • +
    +
    +
    + +
    +
    +
    + +

    Цена: 28 кр.

    +

    Долговечность : 0/60


    +

    Требуется минимальное:

    +
      +
    • Сила: 9
    • +
    • Ловкость: 8
    • +
    • Выносливость: 8
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 6
    • +
    • Максимальное наносимое повреждение: 8
    • +
    • Мф. критических ударов: +5%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 32 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Ловкость: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 8
    • +
    • Максимальное наносимое повреждение: 10
    • +
    • Мф. против увертлив.: +10%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 40 кр.

    +

    Долговечность : 0/40


    +

    Требуется минимальное:

    +
      +
    • Сила: 12
    • +
    • Ловкость: 12
    • +
    • Выносливость: 12
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 9
    • +
    • Максимальное наносимое повреждение: 12
    • +
    • Мф. критических ударов: +5%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 65 кр.

    +

    Долговечность : 0/60


    +

    Требуется минимальное:

    +
      +
    • Сила: 16
    • +
    • Ловкость: 16
    • +
    • Выносливость: 16
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 13
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Мф. увертливости: +10%
    • +
    +
    +
    +
    +
    +
    +
    Боевой топор (Масса: 5)
    +

    Цена: 83 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 17
    • +
    • Ловкость: 17
    • +
    • Выносливость: 17
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 17
    • +
    • Мф. критических ударов: +25%
    • +
    • Мф. против увертлив.: +50%
    • +
    +
    +
    +
    +
    +
    +
    Секира Печали (Масса: 10)
    +

    Цена: 85 кр.

    +

    Долговечность : 0/60


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 15
    • +
    • Выносливость: 20
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 15
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Мф. критических ударов: +20%
    • +
    • Мф. против увертлив.: +20%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 90 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 20
    • +
    • Ловкость: 20
    • +
    • Выносливость: 20
    • +
    • Уровень: 4
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Мф. критических ударов: +50%
    • +
    • Мф. против увертлив.: +25%
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 90 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Ловкость: +1
    • +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 16
    • +
    • Мф. увертливости: +50%
    • +
    • Мф. против увертлив.: +50%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 90 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 3
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 15
    • +
    • Интуиция: +2
    • +
    • Мф. критических ударов: +10%
    • +
    • Мф. увертливости: +30%
    • +
    • Мф. против увертлив.: +30%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 95 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Интуиция: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 17
    • +
    • Интуиция: +1
    • +
    • Мф. критических ударов: +50%
    • +
    • Мф. против увертлив.: +30%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    +
    +
    +
    + +

    Цена: 100 кр.

    +

    Долговечность : 0/100


    +

    Требуется минимальное:

    +
      +
    • Сила: 15
    • +
    • Ловкость: 15
    • +
    • Выносливость: 15
    • +
    • Уровень: 5
    • +
    +

    Действует на:

    +
      +
    • Минимальное наносимое повреждение: 10
    • +
    • Максимальное наносимое повреждение: 18
    • +
    • Интуиция: +1
    • +
    • Мф. критических ударов: +40%
    • +
    • Мф. против увертлив.: +40%
    • +
    • Мастерство владения топорами и секирами: +2
    • +
    +
    +
    + + +
    + +
    + +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/trshield.txt b/encicl/section5/trshield.txt new file mode 100644 index 0000000..a12a430 --- /dev/null +++ b/encicl/section5/trshield.txt @@ -0,0 +1,37 @@ + + + + +Библиотека - Амуниция + + + + +

    Рыцарский щит Льва

    + +
    +
    +
    +
    Рыцарский щит Льва (Масса: 10)
    +

    Цена: 12 кр.

    +

    Долговечность : 0/50


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Мастерство владения мечами: +1
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    \ No newline at end of file diff --git a/encicl/section5/trshield2.txt b/encicl/section5/trshield2.txt new file mode 100644 index 0000000..44e5ddc --- /dev/null +++ b/encicl/section5/trshield2.txt @@ -0,0 +1,39 @@ + + + + +Библиотека - Амуниция + + + + +

    Нормандский Щит

    + +
    +
    +
    +
    Нормандский Щит (Масса: 5)
    +

    Цена: 25 кр.

    +

    Долговечность : 0/20


    +

    Требуется минимальное:

    +
      +
    • Сила: 10
    • +
    • Выносливость: 10
    • +
    • Уровень: 2
    • +
    +

    Действует на:

    +
      +
    • Сила: +4
    • +
    • Мф. против увертлив.: +5%
    • +
    • Броня головы: 3
    • +
    • Броня корпуса: 3
    • +
    • Броня пояса: 3
    • +
    • Броня ног: 3
    • +
    +
    +
    + diff --git a/encicl/section5/type_money.txt b/encicl/section5/type_money.txt new file mode 100644 index 0000000..d033e4b --- /dev/null +++ b/encicl/section5/type_money.txt @@ -0,0 +1,5 @@ +

    Существующие денежные единицы в клубе

    + +- Кредиты
    +- ЕвроКредиты


    +
    \ No newline at end of file diff --git a/encicl/section5/type_work.txt b/encicl/section5/type_work.txt new file mode 100644 index 0000000..c43e998 --- /dev/null +++ b/encicl/section5/type_work.txt @@ -0,0 +1,18 @@ + Один из основных вопросов + возникающих у участников игры - это как зарабатываются + кредиты? Или где их взять дополнительно? Ответ простой - + их можно заработать, для этого есть несколько + возможностей. Пока их 4 но со временем, возможно, их будет + больше.
    +
    + 1. Деньги за развитие.
    + 2. Статьи и творчество.
    + 3. Художники (3D, + 2D, Flash-аниматоры).
    + 4. Покупка баннеров.
    +
    +
    По любым видам заработка, большая просьба обращаться + на почтовый адрес + support@g.capitalcity.old-dark.ru . Пришлите письмо на этот адрес, где + напишите, какую работу вы хотели бы выполнить и + претендуете.
    \ No newline at end of file diff --git a/encicl/section99/clans1.txt b/encicl/section99/clans1.txt new file mode 100644 index 0000000..fdbeec5 --- /dev/null +++ b/encicl/section99/clans1.txt @@ -0,0 +1,75 @@ + +
    +
      +$row[short] (Очки рейтинга: $row[rating]) "; +} +?> +
    +$row[name]
    "; +echo "$row[descr]

    "; +echo "$row[homepage]

    "; + +} +$clan = $_GET['clan']; +$glid=mysql_fetch_array(mysql_query("SELECT `glava` FROM `clans` WHERE `short` = '".$clan."' LIMIT 1")); +$glid=$glid['glava']; +$gl=mysql_fetch_array(mysql_query("SELECT `login` FROM `users` WHERE `id` = '".$glid."' LIMIT 1")); +$gl=$gl['login']; +$gl2=mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `id` = '".$glid."' LIMIT 1")); +$gl2=$gl2['id']; +$gl3=mysql_fetch_array(mysql_query("SELECT `level` FROM `users` WHERE `id` = '".$glid."' LIMIT 1")); +$gl3=$gl3['level']; +$gl4=mysql_fetch_array(mysql_query("SELECT `status` FROM `users` WHERE `id` = '".$glid."' LIMIT 1")); +$gl4=$gl4['status']; +echo "
    {$gl4}: {$gl}[{$gl3}]\"Инф.
    " ; +echo "
    Состав клана:
    " ; +$clanss=mysql_fetch_array(mysql_query("SELECT `id` FROM `clans` WHERE `short` = '".$clan."' LIMIT 1")); +$clanss=$clanss['id']; +$clansss=mysql_query("SELECT `id`,`level`,`align`,`login` FROM `users` WHERE `klan` = '".$clanss."' ORDER BY level desc, login asc;"); + while ($row3 = mysql_fetch_array($clansss)) { + echo(""); + echo(""); + echo ($row3['login']); + echo(""); + echo("["); + echo ($row3['level']); + echo("]"); + echo("\"Инф."); + + echo("
    "); +} + +$total = mysql_num_rows($clansss); + +echo "
    Всего: ".$total."" ; +$clanrait=mysql_query("SELECT `rating` FROM `clans` WHERE short = '".$clan."' LIMIT 1"); +while ($row4 = mysql_fetch_array($clanrait)) +{ +echo "
    Очки рейтинга: $row4[rating]

    " ; +} +} + +mysql_close($db); +?> \ No newline at end of file diff --git a/engine/datetime.php b/engine/datetime.php new file mode 100644 index 0000000..ceb6c90 --- /dev/null +++ b/engine/datetime.php @@ -0,0 +1,27 @@ +getTimestamp(); + $sunrise = date_sunrise($now, SUNFUNCS_RET_TIMESTAMP); + $sunset = date_sunset($now, SUNFUNCS_RET_TIMESTAMP); + return ($now > $sunrise && $now <= $sunset); + } + + public function isNight() { + return (!$this->isDay()); + } + + public function getTimeOfDay() { + return ($this->isDay() ? 'day' : 'night'); + } +} \ No newline at end of file diff --git a/enter.php b/enter.php new file mode 100644 index 0000000..66c294c --- /dev/null +++ b/enter.php @@ -0,0 +1,69 @@ + $val) { //??????????????? + $_POST[$key] = iconv(mb_detect_encoding($_POST[$key], 'auto'), 'utf-8', $val); +} + +$username = filter_input(INPUT_POST, 'username', FILTER_SANITIZE_SPECIAL_CHARS); +$password = filter_input(INPUT_POST, 'password'); +$battle = filter_input(INPUT_COOKIE, 'battle'); +$error = ""; + +$data = db::c()->query('SELECT `id`, `login` ,`pass`, `room`, `block` FROM `users` WHERE `login` = "?s" AND `pass` = "?s" LIMIT 1', $username, md5($password))->fetch_assoc(); + +if (!$data['id']) { + $error = 'Неверные учётные данные!'; +} elseif ($data['block'] == 1) { + $error = 'Ваш персонаж был заблокирован!'; +} + +if (!$error) { + if ($battle != null && $data['id'] != $battle) { + db::c()->query('INSERT INTO `delo_multi` (`idperslater`, `idpersnow`) VALUES (?i, ?i)', $battle, $data['id']); + } + + setcookie("battle", $data['id']); + $_SESSION['uid'] = $data['id']; + setcookie("uid", $data['id'], time() + 43200, "/", GAMEDOMAIN); + setcookie("hashcode", md5($data['id'] . $data["pass"] . $data["login"]), time() + 43200, "/", GAMEDOMAIN); + $_SESSION['sid'] = session_id(); + + $onl = db::c()->query('SELECT `id` FROM `online` WHERE `id` = "?s" LIMIT 1', $data['id'])->fetch_assoc(); + if (isset($onl['id'])) { + db::c()->query('UPDATE `online` SET `date` = ?i WHERE `id` = "?s"', time(), $data['id']); + } else { + db::c()->query('INSERT INTO `online` (`id`, `date`, `room`) VALUES (?i, ?i, ?i)', $data['id'], time(), $data['room']); + } + + db::c()->query('UPDATE `users` SET `sid` = "?s", `enter_game` = ?i WHERE `id` = ?i LIMIT 1', session_id(), 1, $data['id']); + $_SESSION['sid'] = session_id(); + + //TODO Лог IP адресов планировался удаляться из проекта. + $ip = $_SERVER['REMOTE_ADDR']; + db::c()->query('INSERT INTO `iplog` (`owner`, `ip`, `date`) VALUES (?i, "?s", ?i)', $data['id'], $ip, time()); + + $rs = db::c()->query('SELECT * FROM `telegraph` WHERE `owner` = ?i', $data['id'])->fetch_assoc(); + while ($rs) { + addchp($rs['text'], '{[]}' . $data['login'] . '{[]}'); + } + db::c()->query('DELETE FROM `telegraph` WHERE `owner` = ?i', $data['id']); + header("Location: fight.php"); +} +?> + + + + + + + Входим... + + + + ← на главную +

    + + + \ No newline at end of file diff --git a/enter_cave.php b/enter_cave.php new file mode 100644 index 0000000..697d4c8 --- /dev/null +++ b/enter_cave.php @@ -0,0 +1,402 @@ +Подали заявку и убегаем? Не хорошо..."; + } else { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2111', `online`.`room` = '2111' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: main.php'); + } +} + + +if(in_array($user['room'], $canalenters)) { + $podzemroom = $user['room']+1; + $cavedata = array(620 => array('x1' => 3, 'y1' => 2, 'dir1' => 2)); + $podzemdata = array(621 => array('name1' => 'Проклятый Рудник', 'name2' => 'Проклятого Рудника')); +?> + + + + + + + + + + + 1) { echo "$_GET[warning]"; } ?> +
    + + +

    + 0 LIMIT 1"); +if($el = mysql_fetch_array($select)) { + $wait_sec = $el['time']; + $new_t = time(); + $left_time = $wait_sec-$new_t; + $left_min = floor($left_time/60); + $left_sec = $left_time-$left_min*60; + + if(($user['align'] == '2.99') && $wait_sec > $new_t) { + $wait_sec = 1; + mysql_query("UPDATE `visit_podzem` SET `time` = 1 WHERE `login` = '$user[login]' AND `time` > 0 AND `room` = '$user[room]' LIMIT 1"); + } + + if($wait_sec > $new_t) { + if($_GET['donate']) { + if($user['money'] >= $podzemdata[$podzemroom]['passprice']) { + mysql_query("UPDATE `users` SET `money` = (`money`-".$podzemdata[$podzemroom]['passprice'].") WHERE `id` = '$user[id]' LIMIT 1"); + mysql_query("INSERT INTO `delo` (`id`, `author`, `pers`, `text`, `type`, `date`) VALUES ('', '0', '{$_SESSION['uid']}', '\"".$user['login']."\" пожертвовал на благоустройство пещеры \"".$podzemdata[$podzemroom]['passprice']."\" кр. ($user[money]/$user[ekr]). ', 7, '".time()."')"); + $wait_sec = 0; + } else { + echo "У вас недостаточно денег"; + } + } + } + + if($wait_sec > $new_t) { + echo " Вы можете посетить ".$podzemdata[$podzemroom]['name1']." через ".secs2hrs($left_time)."
    "; + if($podzemdata[$podzemroom]['passprice']) { + echo "Пожертвовав ".$podzemdata[$podzemroom]['passprice']." кр. на благоустройство ".$podzemdata[$podzemroom]['name2'].", это можно сделать прямо сейчас. Пожертвовать."; + } + } else { + mysql_query("DELETE FROM `visit_podzem` WHERE `login` = '".$user['login']."' AND `room` = '$podzemroom' LIMIT 1"); + echo ""; + exit(); + } +} else { + $login = $user['login']; + $ya = mysql_query("SELECT `login` FROM `vxodd` WHERE `login` = '$login' LIMIT 1"); + $wawe = "0"; + if($daw = mysql_fetch_array($ya)) { $wawe = "1"; } + $naw = mysql_query("SELECT `login` FROM `vxod` WHERE `login` = '$login' LIMIT 1"); + $nawe = "0"; + if($ser = mysql_fetch_array($naw)) { $nawe = "1"; } + $rt = mysql_query("SELECT `id`, `level` FROM `users` WHERE `login` = '$login' LIMIT 1"); + $est = mysql_fetch_array($rt); + $user_id = $est['id']; + $user_lvl = $est['level']; + + if($wawe == 0) { + echo "
    +
    Группа + + + + + + + + + + + + + +
    Комментарий
    Пароль
    +
    +
    "; +} else { + echo "
    +
    + Группа "; + if($nawe == 1) { + echo "  "; + } + echo "
    "; +} + + if($_GET['warning'] == 1) { echo " Вы покинули группу"; } + if($_GET['warning'] == 2) { echo " Увы! Не угадали пароль!"; } + if($_GET['warning'] == 3) { echo " Вы подали заявку, сначала отзовите её!"; } + if($_GET['warning'] == 4) { echo " Вы уже в группе!"; } + if($_GET['warning'] == 5) { echo " Группа уже собрана!"; } + if($_GET['warning'] == 6) { + echo " Максимальная плата для вашего уровня: "; + if($user['level'] < 5) { + echo "1500 кр"; + } elseif($user['level'] < 7) { + echo "3500 кр"; + } else { + echo "6500 кр"; + } + echo "!"; + } + if($_GET['warning'] == 7) { echo " Недостаточно денег для оплаты."; } + if($_GET['warning'] == 8) { echo " Со склонностью хаос оплата походов запрещена."; } + echo ""; + + $i = 0; + function isonlinelogin($l) { + $i = mysql_fetch_assoc(mysql_query("SELECT DISTINCT(`users`.`id`) FROM `online` LEFT JOIN `users` ON (`users`.`id` = `online`.`id`) WHERE `date` >= ".(time()-60)." AND `users`.`login` = '$l'")); + return $i; + } + + $Q = mysql_query("SELECT * FROM `vxod` WHERE `room` = '$user[room]'"); + while($DATA = mysql_fetch_array($Q)) { + $cr = $DATA['glav_id']; + $z_login[$i] = $DATA['login']; + $date[$i] = $DATA['date']; + $comment[$i] = $DATA['comment']; + $password[$i] = $DATA['pass']; + $mine_z[$i] = 0; + + $Q2 = mysql_query("SELECT `glav_id` FROM `vxodd` WHERE `glav_id` = '$cr'"); + $t1_all[$i] = 0; + while($DATAS = mysql_fetch_array($Q2)) { + $t1_all[$i]++; + } + $creator[$i] = $DATA['glav_id']; + $i++; + } + + for($n = 0; $n < $i; $n++) { + echo ""; + } +?> + + + +
    $date[$n] "; + + $QUER = mysql_query("SELECT `login`, `lvl`, `fee` FROM `vxodd` WHERE `glav_id` = '$creator[$n]' ORDER BY `id` ASC"); + while($DATAS = mysql_fetch_array($QUER)) { + if($user['id'] == 10022) { + $ol = isonlinelogin($DATAS['login']); + if(!$ol) { + mysql_query("DELETE FROM `vxod` WHERE `login` = '$DATAS[login]'"); + mysql_query("DELETE FROM `vxodd` WHERE `glav_id` = '".mysql_fetch_assoc(mysql_query("SELECT `id` FROM `users` WHERE `login` = '$DATAS[login]'"))."'"); + mysql_query("DELETE FROM `vxodd` WHERE `login` = '$DATAS[login]'"); + } + } + + $p1 = $DATAS['login']; + $p_login = $DATAS['login']; + $p_lvl = $DATAS['lvl']; + if($p1 != '') { + $p1 = "$p1 [$p_lvl] "; + if($t1_all[$n] == 1) { echo "$p1"; } else { echo "$p1,"; } + } + } + + if(!empty($comment[$n])) { + echo "| $comment[$n] "; + } + + if($wawe == 0) { + if(!empty($password[$n])) { + echo " "; + } + echo ""; + } + echo "
    +
    +location.href='?warning=4'"; + exit(); + } + $time = date("H:i"); + $SQL2 = mysql_query("INSERT INTO `vxod` (`date`, `login`, `glav_id`, `comment`, `pass`, `room`) VALUES('$time', '$login', '$user_id', '".mysql_real_escape_string($_GET['cmt'])."', '".mysql_real_escape_string($_GET['pass'])."', '$user[room]')"); + $SQL2 = mysql_query("INSERT INTO `vxodd` (`login`, `glav_id`, `lvl`) VALUES('$login', '$user_id', '$user_lvl')"); + if($SQL2) { + echo ""; + exit(); + } else { + echo "Ошибка!!! Сообщите администратору!"; + } +} +//////////////Удаление заявки////////////////////// +if($_GET['del']) { + $e = mysql_query("DELETE FROM `vxod` WHERE `login` = '$login'"); + $es = mysql_query("DELETE FROM `vxodd` WHERE `glav_id` = '$user_id'"); + $ed = mysql_query("DELETE FROM `vxodd` WHERE `login` = '$login'"); + if($e) { + echo ""; + exit(); + } else { + echo "Ошибка!!! Сообщите администратору!"; + } +} + +if($_GET['add']) { + $der = mysql_query("SELECT `glav_id`, `id` FROM `vxodd` WHERE `login` = '".$user['login']."' LIMIT 1"); + if($deras = mysql_fetch_array($der)) { + echo ""; + exit(); + } + + $den = mysql_query("SELECT `id` FROM `vxodd` WHERE `glav_id` = '".$_GET['naw_id']."'"); + if(mysql_num_rows($den) >= (in_array($user['room']+1, $caverooms)?5:4)) { + echo ""; + exit(); + } + + if($_GET['naw_id']) { + $fee = (int)$_GET['fee']; + if($fee < 0) { + $fee = 0; + } + $badfee = 0; + if($fee > 1500 && $user['level'] < 5) { + $badfee = 1; + } elseif($fee > 3500 && $user['level'] < 7) { + $badfee = 1; + } elseif($fee > 6500) { + $badfee = 1; + } elseif($fee > $user['money']) { + $badfee = 2; + } + if($user['align'] == 4 && $fee > 0) { + $badfee = 3; + } + $p = mysql_fetch_assoc(mysql_query("SELECT `pass` FROM `vxod` WHERE `glav_id` = '$_GET[naw_id]' LIMIT 1")); + if($badfee) { + echo ""; + exit(); + } elseif($p['pass'] == $_GET['pass']) { + $rt = mysql_query("SELECT `level` FROM `users` WHERE `login` = '$login' LIMIT 1"); + $est = mysql_fetch_array($rt); + $s = mysql_query("INSERT INTO `vxodd` (`login`, `glav_id`, `lvl`, `fee`) VALUES('$login', '".$_GET['naw_id']."', '".$est['level']."', '$fee')"); + if($s) { + echo ""; + exit(); + } else { + echo "Ошибка!!! Сообщите администратору!"; + } + } else { + echo ""; + exit(); + } + } else { + echo ""; + exit(); + } +} + +if($_GET['start']){ + if(in_array($user['room']+1, $caverooms)) { + $nc = 1; + $locs = array(); + } + $zax = mysql_query("SELECT `login`, `fee` FROM `vxodd` WHERE `glav_id` = '".$user['id']."'"); + $level = 0; + while($nana = mysql_fetch_array($zax)) { + $n_login = $nana['login']; + $rty = mysql_query("SELECT `id`, `level`, `login`, `sex`, `shadow`, `money`, `hp` FROM `users` WHERE `login` = '$n_login' LIMIT 1"); + $esth = mysql_fetch_array($rty); + if($esth['hp'] <= 0) { $esth['hp'] = 1; mysql_query('UPDATE `users` SET `hp` = "'.$esth['hp'].'" WHERE `id` = "'.$esth['id'].'" LIMIT 1'); } + if($nana['fee']) { + if($nana['fee'] > $esth['money']) continue; + mysql_query("UPDATE `users` SET `money` = (`money+$nana[fee]) WHERE `id` = '$user[id]' LIMIT 1"); + mysql_query("update `users` SET `money` = (`money-$nana[fee]) WHERE `id` = '$esth[id]' LIMIT 1"); + $user['money'] += $nana['fee']; + $esth['money'] -= $nana['fee']; + adddelo($user['id'], "Персонаж $user[login] получил $nana[fee] кр. за поход по локации \"".$rooms[$user['room']+1]."\" от персонажа $esth[login] ($user[money]).", 1); + adddelo($esth['id'], "Персонаж $esth[login] заплатил $nana[fee] кр. за поход по локации \"".$rooms[$user['room']+1]."\" персонажу $user[login] ($esth[money]).", 1); + } + if($esth['level'] > $level) { + $level = $esth['level']; + } + $est_id = $esth['id']; + $est_login = $esth['login']; + if($user['align'] == 2.99) { + $vremya = 60*60*6+time(); + } else { + $vremya = 60*60*6+time(); + } + + mysql_query('INSERT INTO `visit_podzem` (`login`, `time`, `room`) VALUES ("'.$n_login.'", "'.$vremya.'", \''.$podzemroom.'\')'); + $vrem = 30*60+time(); + + include_once("cavedata.php"); + mysql_query("INSERT INTO `caveparties` SET `user` = '$esth[id]', `leader` = '$user[id]', `login` = '$esth[login]', `shadow` = '$esth[sex]/0.png', `x` = '".$cavedata[$user['room']+1]['x1']."', `y` = '".$cavedata[$user['room']+1]['y1']."', `dir` = '".$cavedata[$user['room']+1]['dir1']."', `floor` = 1"); + + mysql_query("UPDATE `users`, `online` SET ".($nc?"`users`.`caveleader` = '$user[id]', ":"")." `users`.`room` = '".($user['room']+1)."', `online`.`room` = '".($user['room']+1)."' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$esth['id']."'"); + } + + if($nc) { + $r = mysql_query("SELECT * FROM `cavemaps` WHERE `room` = '$user[room]'"); + while($rec = mysql_fetch_assoc($r)) { + $map = unserialize($rec['map']); + foreach($map as $k => $v) { + foreach($v as $k2 => $v2) { + $obj = substr($v2, 0, 1); + if($obj == "b" || $obj == "a" || $obj == "w") { + $tmp = explode("/", $v2); + $i = 1; + if($obj == "b") { + $t = 0; + } elseif($obj == "w") { + $t = 1; + } else { + $t = 2; + } + while($tmp[$i]) { + mysql_query("INSERT INTO `cavebots` SET `leader` = '$user[id]', `x` = '$k2', `y` = '$k', `startx` = '$k2', `starty` = '$k', `bot` = '$tmp[$i]', `cnt` = '".($tmp[$i+1])."', `floor` = '$rec[floor]', `type` = '$t'"); + $i += 2; + } + $map[$k][$k2]=2; + } + } + } + include('cave_add_objects.php'); + mysql_query("INSERT INTO `caves` SET `leader` = '$user[id]', `map` = '".serialize($map)."', `level` = '$level', `floor` = '$rec[floor]'"); + savecavedata(array(), $user['id'], $rec['floor']); + } + } +?> + +location.href='cave.php'"; +exit(); +} +} +?> + +
    + +
    +
    + + +
    +
    +
     
    +

    + + + \ No newline at end of file diff --git a/exp_koef.php b/exp_koef.php new file mode 100644 index 0000000..dcc2d6b --- /dev/null +++ b/exp_koef.php @@ -0,0 +1,24 @@ + diff --git a/exp_koef2222.php b/exp_koef2222.php new file mode 100644 index 0000000..7a5f565 --- /dev/null +++ b/exp_koef2222.php @@ -0,0 +1,23 @@ + +
    УровеньАпОпытУменияПараметрыКредиты
    000030
    120
    10
    245
    12
    375
    14
    1011013+18
    Доступны Физические поединки.
    + Закрыт доступ в бои для новичков.
    Открыт доступ в Залы Воинов.
    1160
    12
    2215
    12
    3280
    14
    4350
    18
    2041013+116
    Доступны групповые и хаотические бои.1530
    18
    2670
    112
    3830
    116
    4950
    124
    51100
    132
    30130013+140

    11450
    110
    21650
    120
    31850
    130
    42050
    140
    52200
    150
    40250015+170
    Открыт доступ в Рыцарский Зал, Торговый Зал.
    + Доступна передача кредитов/вещей.
    Открыт доступ на форум.
    Доступно развитие Интеллекта.
    Доступен параметр Стойкость.
    Открыт вход в Лабиринт Хаоса для новичков.
    12900
    110
    23350
    120
    33800
    130
    44200
    140
    54600
    150
    50500013+180
    16000
    115
    27000
    130
    38000
    140
    49000
    150
    510000
    140
    611000
    150
    712000
    160
    601250013+190
    Открыт вход в Башню Смерти.
    +
    Открыт вход в Лабиринт Хаоса.
    114000
    120
    215500
    130
    317000
    150
    419000
    155
    521000
    150
    623000
    155
    727000
    150
    703000015+1100
    Доступно развитие Мудрости.
    +
    Открыт вход в Башню Рыцарей-Магов.
    Доступно вступление в клан или создание своего.
    Доступны бои склонностей.
    160000
    1100
    275000
    1100
    3150000
    1150
    4175000
    150
    5200000
    1100
    6225000
    150
    7250000
    1100
    8260000
    150
    9280000
    1100
    8030000015+1700
    11500000
    1500
    21750000
    1200
    32000000
    1300
    42175000
    1100
    52300000
    1100
    62400000
    1100
    72500000
    1200
    82600000
    1100
    92800000
    1200
    90300000015+21000
    16000000
    1200
    26500000
    1250
    37500000
    1200
    48500000
    1250
    59000000
    1400
    69250000
    1250
    79500000
    1400
    89750000
    1350
    99900000
    1500
    1001000000019+32000
    113000000
    2200
    214000000
    2200
    315000000
    2200
    416000000
    2200
    517000000
    2200
    617500000
    2200
    718000000
    2200
    819000000
    2200
    9
    19500000
    2200
    1020000000

    2250
    1130000000
    2200
    1232000000
    2250
    1334000000
    2200
    1435000000
    2250
    1536000000
    2200
    1638000000
    2250
    1740000000
    2200
    1842000000
    2250
    1944000000
    2350
    2047000000
    2300
    2150000000
    2350
    11052000000110+33000
    158000000
    1350
    265000000
    1300
    372000000
    1350
    477000000
    1350
    582000000
    1300
    687000000
    1350
    792000000
    1350
    8100000000
    1350
    9120000000
    2400
    10140000000
    2400
    11160000000
    2600
    12180000000
    2400
    13210000000
    2400
    120240000000210+45000
    1260000000
    2400
    2320000000
    2400
    3400000000
    3600
    4455000000
    2150
    5510000000
    2100
    6600000000
    2300
    7750000000
    5700
    8770000000
    1400
    9815000000
    1200
    10860000000
    1600
    111000000000
    1300
    121100000000
    1450
    \ No newline at end of file diff --git a/exptablel.html b/exptablel.html new file mode 100644 index 0000000..35de69c --- /dev/null +++ b/exptablel.html @@ -0,0 +1,894 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    УровеньАпОпытУменияПараметрыКредиты
    000030
    120
    10
    245
    12
    375
    14
    1011013+18
    Доступны Физические поединки.
    + Закрыт доступ в бои для новичков.
    Открыт доступ в Залы Воинов.
    1160
    12
    2215
    12
    3280
    14
    4350
    18
    2041013+116
    Доступны групповые и хаотические бои.1530
    18
    2670
    112
    3830
    116
    4950
    124
    51100
    132
    30130013+140

    11450
    110
    21650
    120
    31850
    130
    42050
    140
    52200
    150
    40250015+170
    Открыт доступ в Рыцарский Зал, Торговый Зал.
    + Доступна передача кредитов/вещей.
    Открыт доступ на форум.
    Доступно развитие Интеллекта.
    Доступен параметр Стойкость.
    Открыт вход в Лабиринт Хаоса для новичков.
    12900
    110
    23350
    120
    33800
    130
    44200
    140
    54600
    150
    50500013+180
    16000
    115
    27000
    130
    38000
    140
    49000
    150
    510000
    140
    611000
    150
    712000
    160
    601250013+190
    Открыт вход в Башню Смерти.
    +
    Открыт вход в Лабиринт Хаоса.
    114000
    120
    215500
    130
    317000
    150
    419000
    155
    521000
    150
    623000
    155
    727000
    150
    703000015+1100
    Доступно развитие Мудрости.
    +
    Открыт вход в Башню Рыцарей-Магов.
    Доступно вступление в клан или создание своего.
    Доступны бои склонностей.
    160000
    1100
    275000
    1100
    3150000
    1150
    4175000
    150
    5200000
    1100
    6225000
    150
    7250000
    1100
    8260000
    150
    9280000
    1100
    8030000015+1700
    11500000
    1500
    21750000
    1200
    32000000
    1300
    42175000
    1100
    52300000
    1100
    62400000
    1100
    72500000
    1200
    82600000
    1100
    92800000
    1200
    90300000015+21000
    16000000
    1200
    26500000
    1250
    37500000
    1200
    48500000
    1250
    59000000
    1400
    69250000
    1250
    79500000
    1400
    89750000
    1350
    99900000
    1500
    1001000000019+32000
    113000000
    2200
    214000000
    2200
    315000000
    2200
    416000000
    2200
    517000000
    2200
    617500000
    2200
    718000000
    2200
    819000000
    2200
    9
    19500000
    2200
    1020000000

    2250
    1130000000
    2200
    1232000000
    2250
    1334000000
    2200
    1435000000
    2250
    1536000000
    2200
    1638000000
    2250
    1740000000
    2200
    1842000000
    2250
    1944000000
    2350
    2047000000
    2300
    2150000000
    2350
    11052000000110+33000
    158000000
    1350
    265000000
    1300
    372000000
    1350
    477000000
    1350
    582000000
    1300
    687000000
    1350
    792000000
    1350
    8100000000
    1350
    9120000000
    2400
    10140000000
    2400
    11160000000
    2600
    12180000000
    2400
    13210000000
    2400
    120240000000210+45000
    1260000000
    2400
    2320000000
    2400
    3400000000
    3600
    4455000000
    2150
    5510000000
    2100
    6600000000
    2300
    7750000000
    5700
    8770000000
    1400
    9815000000
    1200
    10860000000
    1600
    111000000000
    1300
    121100000000
    1450
    \ No newline at end of file diff --git a/fancy/buy.php b/fancy/buy.php new file mode 100644 index 0000000..886c9cc --- /dev/null +++ b/fancy/buy.php @@ -0,0 +1,39 @@ += $price) { + if(isset($is_now['id'])) { + if($user['battle'] == 0) { + if(add_user_abil($abil, $price) == true) { + echo 'success'; + } else { + echo 'Error'; + } + } else { + echo 'Не в бою ...'; + } + } else { + echo 1; + } + } else { + echo 'Не хватает средств'; + } + } else { + echo 'Выберите счёт в банке'; + } + } else { + echo "Вы не авторизированы"; + } +} \ No newline at end of file diff --git a/fancy/buy_klan.php b/fancy/buy_klan.php new file mode 100644 index 0000000..e564ffe --- /dev/null +++ b/fancy/buy_klan.php @@ -0,0 +1,44 @@ += $price && $user['id'] == $clan['glava']) { + if(isset($is_now['id'])) { + if($user['battle'] == 0) { + if(add_klan_abil($abil, $price) == true) { + echo 'success'; + } else { + echo 'Error'; + } + } else { + echo 'Не в бою ...'; + } + } else { + echo 'NULL'; + } + } elseif($user['id'] != $clan['glava']) { + echo 'Вы не глава клана'; + } else { + echo 'Не хватает средств'; + } + } else { + echo 'Выберите счёт в банке'; + } + } else { + echo "Вы не авторизированы ..."; + } +} \ No newline at end of file diff --git a/fancy/css/header.css b/fancy/css/header.css new file mode 100644 index 0000000..2d4e791 --- /dev/null +++ b/fancy/css/header.css @@ -0,0 +1,37 @@ +header { + background-color:#212121; + top:0; + box-shadow: 0 -1px 2px #111111; + display:block; + height:auto; + left:0; + position:fixed; + width:100%; + z-index:100; + } + header p { + font-size:20px !important; + position:relative; + display:block; + margin:20px 0 20px 0; + font-family:tahoma; + font-weight:normal; + text-align:center; + color:#fff; + } + header a.stuts,a.stuts:visited{ + border:none; + text-decoration:none; + font-family:tahoma; + color:#4280af; + font-size:14px; + line-height:31px; + } + header a.stuts:hover { + color:#fffb89; + } + header .stuts span { + font-size:22px; + font-weight:bold; + margin-left:5px; + } \ No newline at end of file diff --git a/fancy/css/style.css b/fancy/css/style.css new file mode 100644 index 0000000..6de90cd --- /dev/null +++ b/fancy/css/style.css @@ -0,0 +1,79 @@ +h2 { font-size: 1.8em; line-height: 1.9em; margin-bottom: 15px; } + +p { color: #656565; font-size: 1.2em; margin-bottom: 10px; } + +#wrapper { width: 640px; margin: 0 auto; padding:90px 0 0 0; } + +#inlin { display: none; width: 600px; } +#inlines { display: none; width: 600px; } + +label { margin-right: 12px; margin-bottom: 9px; font-family: Georgia, serif; color: #646464; font-size: 1.2em; } + +.txt { +display: inline-block; +color: #676767; +width: 420px; +font-family: Arial, Tahoma, sans-serif; +margin-bottom: 10px; +border: 1px dotted #ccc; +padding: 5px 9px; +font-size: 1.2em; +line-height: 1.4em; +} + +.txtarea { +display: block; +resize: none; +color: #676767; +font-family: Arial, Tahoma, sans-serif; +margin-bottom: 10px; +width: 500px; +height: 150px; +border: 1px dotted #ccc; +padding: 5px 9px; +font-size: 1.2em; +line-height: 1.4em; +} + +.txt:focus, .txtarea:focus { border-style: solid; border-color: #bababa; color: #444; } + +input.error, textarea.error { border-color: #973d3d; border-style: solid; background: #f0bebe; color: #a35959; } +input.error:focus, textarea.error:focus { border-color: #973d3d; color: #a35959; } + +#send { +color: #dee5f0; +display: block; +cursor: pointer; +padding: 5px 11px; +font-size: 1.2em; +border: solid 1px #224983; +border-radius: 5px; +background: #1e4c99; +background: -webkit-gradient(linear, left top, left bottom, from(#2f52b7), to(#0e3a7d)); +background: -moz-linear-gradient(top, #2f52b7, #0e3a7d); +background: -webkit-linear-gradient(top, #2f52b7, #0e3a7d); +background: -o-linear-gradient(top, #2f52b7, #0e3a7d); +background: -ms-linear-gradient(top, #2f52b7, #0e3a7d); +background: linear-gradient(top, #2f52b7, #0e3a7d); +filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2f52b7', endColorstr='#0e3a7d'); +} +#send:hover { +background: #183d80; +background: -webkit-gradient(linear, left top, left bottom, from(#284f9d), to(#0c2b6b)); +background: -moz-linear-gradient(top, #284f9d, #0c2b6b); +background: -webkit-linear-gradient(top, #284f9d, #0c2b6b); +background: -o-linear-gradient(top, #284f9d, #0c2b6b); +background: -ms-linear-gradient(top, #284f9d, #0c2b6b); +background: linear-gradient(top, #284f9d, #0c2b6b); +filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#284f9d', endColorstr='#0c2b6b'); +} +#send:active { +color: #8c9dc0; +background: -webkit-gradient(linear, left top, left bottom, from(#0e387d), to(#2f55b7)); +background: -moz-linear-gradient(top, #0e387d, #2f55b7); +background: -webkit-linear-gradient(top, #0e387d, #2f55b7); +background: -o-linear-gradient(top, #0e387d, #2f55b7); +background: -ms-linear-gradient(top, #0e387d, #2f55b7); +background: linear-gradient(top, #0e387d, #2f55b7); +filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0e387d', endColorstr='#2f55b7'); +} \ No newline at end of file diff --git a/fancy/fancybox/blank.gif b/fancy/fancybox/blank.gif new file mode 100644 index 0000000..35d42e8 Binary files /dev/null and b/fancy/fancybox/blank.gif differ diff --git a/fancy/fancybox/fancybox.pack.js b/fancy/fancybox/fancybox.pack.js new file mode 100644 index 0000000..a33200a --- /dev/null +++ b/fancy/fancybox/fancybox.pack.js @@ -0,0 +1,46 @@ +/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ +(function(s,H,f,w){var K=f("html"),q=f(s),p=f(H),b=f.fancybox=function(){b.open.apply(this,arguments)},J=navigator.userAgent.match(/msie/i),C=null,t=H.createTouch!==w,u=function(a){return a&&a.hasOwnProperty&&a instanceof f},r=function(a){return a&&"string"===f.type(a)},F=function(a){return r(a)&&0
    ',image:'',iframe:'",error:'

    The requested content cannot be loaded.
    Please try again later.

    ',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0, +openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1, +isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=u(a)?f(a).get():[a]),f.each(a,function(e,c){var l={},g,h,k,n,m;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),u(c)?(l={href:c.data("fancybox-href")||c.attr("href"),title:f("
    ").text(c.data("fancybox-title")||c.attr("title")).html(),isDom:!0,element:c}, +f.metadata&&f.extend(!0,l,c.metadata())):l=c);g=d.href||l.href||(r(c)?c:null);h=d.title!==w?d.title:l.title||"";n=(k=d.content||l.content)?"html":d.type||l.type;!n&&l.isDom&&(n=c.data("fancybox-type"),n||(n=(n=c.prop("class").match(/fancybox\.(\w+)/))?n[1]:null));r(g)&&(n||(b.isImage(g)?n="image":b.isSWF(g)?n="swf":"#"===g.charAt(0)?n="inline":r(c)&&(n="html",k=c)),"ajax"===n&&(m=g.split(/\s+/,2),g=m.shift(),m=m.shift()));k||("inline"===n?g?k=f(r(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):l.isDom&&(k=c): +"html"===n?k=g:n||g||!l.isDom||(n="inline",k=c));f.extend(l,{href:g,type:n,content:k,title:h,selector:m});a[e]=l}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==w&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1===b.trigger("onCancel")||(b.hideLoading(),a&&(b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(), +b.coming=null,b.current||b._afterZoomOut(a)))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(b.isOpen&&!0!==a?(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]()):(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&& +(b.player.timer=setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};!0===a||!b.player.isActive&&!1!==a?b.current&&(b.current.loop||b.current.index=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==w&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,l;c&&(l=b._getPosition(d),a&&"scroll"===a.type?(delete l.position,c.stop(!0,!0).animate(l,200)):(c.css(l),e.pos=f.extend({},e.dim,l)))}, +update:function(a){var d=a&&a.originalEvent&&a.originalEvent.type,e=!d||"orientationchange"===d;e&&(clearTimeout(C),C=null);b.isOpen&&!C&&(C=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),C=null)},e&&!t?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,t&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"), +b.trigger("onUpdate")),b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('
    ').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){27===(a.which||a.keyCode)&&(a.preventDefault(),b.cancel())});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}));b.trigger("onLoading")},getViewport:function(){var a=b.current&& +b.current.locked||!1,d={x:q.scrollLeft(),y:q.scrollTop()};a&&a.length?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=t&&s.innerWidth?s.innerWidth:q.width(),d.h=t&&s.innerHeight?s.innerHeight:q.height());return d},unbindEvents:function(){b.wrap&&u(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");q.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(q.bind("orientationchange.fb"+(t?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c= +e.which||e.keyCode,l=e.target||e.srcElement;if(27===c&&b.coming)return!1;e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||l&&(l.type||f(l).is("[contenteditable]"))||f.each(d,function(d,l){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();0!==c&&!k&&1g||0>l)&&b.next(0>g?"up":"right"),d.preventDefault())}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&& +b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,{},b.helpers[d].defaults,e),c)})}p.trigger(a)},isImage:function(a){return r(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return r(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=m(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c, +c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"=== +c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&t&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(t?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,x(d.padding[a]))});b.trigger("onReady"); +if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width= +this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming, +d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",t?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);t||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload|| +b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,l,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()); +b.unbindEvents();e=a.content;c=a.type;l=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("
    ").html(e).find(a.selector):u(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('
    ').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder", +!1)}));break;case "image":e=a.tpl.image.replace(/\{href\}/g,g);break;case "swf":e='',h="",f.each(a.swf,function(a,b){e+='';h+=" "+a+'="'+b+'"'}),e+='"}u(e)&&e.parent().is(a.inner)||a.inner.append(e);b.trigger("beforeShow"); +a.inner.css("overflow","yes"===l?"scroll":"no"===l?"hidden":l);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(!b.isOpened)f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();else if(d.prevMethod)b.transitions[d.prevMethod]();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,l=b.skin,g=b.inner,h=b.current,c=h.width,k=h.height,n=h.minWidth,v=h.minHeight,p=h.maxWidth, +q=h.maxHeight,t=h.scrolling,r=h.scrollOutside?h.scrollbarWidth:0,y=h.margin,z=m(y[1]+y[3]),s=m(y[0]+y[2]),w,A,u,D,B,G,C,E,I;e.add(l).add(g).width("auto").height("auto").removeClass("fancybox-tmp");y=m(l.outerWidth(!0)-l.width());w=m(l.outerHeight(!0)-l.height());A=z+y;u=s+w;D=F(c)?(a.w-A)*m(c)/100:c;B=F(k)?(a.h-u)*m(k)/100:k;if("iframe"===h.type){if(I=h.content,h.autoHeight&&1===I.data("ready"))try{I[0].contentWindow.document.location&&(g.width(D).height(9999),G=I.contents().find("body"),r&&G.css("overflow-x", +"hidden"),B=G.outerHeight(!0))}catch(H){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(D),h.autoHeight||g.height(B),h.autoWidth&&(D=g.width()),h.autoHeight&&(B=g.height()),g.removeClass("fancybox-tmp");c=m(D);k=m(B);E=D/B;n=m(F(n)?m(n,"w")-A:n);p=m(F(p)?m(p,"w")-A:p);v=m(F(v)?m(v,"h")-u:v);q=m(F(q)?m(q,"h")-u:q);G=p;C=q;h.fitToView&&(p=Math.min(a.w-A,p),q=Math.min(a.h-u,q));A=a.w-z;s=a.h-s;h.aspectRatio?(c>p&&(c=p,k=m(c/E)),k>q&&(k=q,c=m(k*E)),cA||z>s)&&c>n&&k>v&&!(19p&&(c=p,k=m(c/E)),g.width(c).height(k),e.width(c+y),a=e.width(),z=e.height();else c=Math.max(n,Math.min(c,c-(a-A))),k=Math.max(v,Math.min(k,k-(z-s)));r&&"auto"===t&&kA||z>s)&&c>n&&k>v;c=h.aspectRatio?cv&&k
    ').appendTo(d&&d.lenth?d:"body");this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(q.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay", +function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive?b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){q.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),this.el.removeClass("fancybox-lock"),q.scrollTop(this.scrollV).scrollLeft(this.scrollH));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%"); +J?(b=Math.max(H.documentElement.offsetWidth,H.body.offsetWidth),p.width()>b&&(a=p.width())):p.width()>q.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&this.fixed&&b.fixed&&(b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){b.locked&&!this.el.hasClass("fancybox-lock")&&(!1!==this.fixPosition&&f("*").filter(function(){return"fixed"=== +f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin"),this.scrollV=q.scrollTop(),this.scrollH=q.scrollLeft(),this.el.addClass("fancybox-lock"),q.scrollTop(this.scrollV).scrollLeft(this.scrollH));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float", +position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(r(e)&&""!==f.trim(e)){d=f('
    '+e+"
    ");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),J&&d.width(d.width()),d.wrapInner(''),b.current.margin[2]+=Math.abs(m(d.css("margin-bottom")))}d["top"===a.position?"prependTo": +"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",l=function(g){var h=f(this).blur(),k=d,l,m;g.ctrlKey||g.altKey||g.shiftKey||g.metaKey||h.is(".fancybox-wrap")||(l=a.groupAttr||"data-fancybox-group",m=h.attr(l),m||(l="rel",m=h.get(0)[l]),m&&""!==m&&"nofollow"!==m&&(h=c.length?f(c):e,h=h.filter("["+l+'="'+m+'"]'),k=h.index(this)),a.index=k,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;c&&!1!==a.live?p.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')", +"click.fb-start",l):e.unbind("click.fb-start").bind("click.fb-start",l);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===w&&(f.scrollbarWidth=function(){var a=f('
    ').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});f.support.fixedPosition===w&&(f.support.fixedPosition=function(){var a=f('
    ').appendTo("body"), +b=20===a[0].offsetTop||15===a[0].offsetTop;a.remove();return b}());f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(s).width();K.addClass("fancybox-lock-test");d=f(s).width();K.removeClass("fancybox-lock-test");f("").appendTo("head")})})(window,document,jQuery); \ No newline at end of file diff --git a/fancy/fancybox/fancybox_loading.gif b/fancy/fancybox/fancybox_loading.gif new file mode 100644 index 0000000..0158617 Binary files /dev/null and b/fancy/fancybox/fancybox_loading.gif differ diff --git a/fancy/fancybox/fancybox_overlay.png b/fancy/fancybox/fancybox_overlay.png new file mode 100644 index 0000000..a439139 Binary files /dev/null and b/fancy/fancybox/fancybox_overlay.png differ diff --git a/fancy/fancybox/fancybox_sprite.png b/fancy/fancybox/fancybox_sprite.png new file mode 100644 index 0000000..fd8d5ca Binary files /dev/null and b/fancy/fancybox/fancybox_sprite.png differ diff --git a/fancy/fancybox/helpers/fancybox_buttons.png b/fancy/fancybox/helpers/fancybox_buttons.png new file mode 100644 index 0000000..0787207 Binary files /dev/null and b/fancy/fancybox/helpers/fancybox_buttons.png differ diff --git a/fancy/fancybox/helpers/jquery.fancybox-buttons.css b/fancy/fancybox/helpers/jquery.fancybox-buttons.css new file mode 100644 index 0000000..9453b46 --- /dev/null +++ b/fancy/fancybox/helpers/jquery.fancybox-buttons.css @@ -0,0 +1,96 @@ +#fancybox-buttons { + position: fixed; + left: 0; + width: 100%; + z-index: 8050; +} + +#fancybox-buttons.top { + top: 10px; +} + +#fancybox-buttons.bottom { + bottom: 10px; +} + +#fancybox-buttons ul { + display: block; + width: 166px; + height: 30px; + margin: 0 auto; + padding: 0; + list-style: none; + border: 1px solid #111; + border-radius: 3px; + -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + background: rgb(50,50,50); + background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51))); + background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 ); +} + +#fancybox-buttons ul li { + float: left; + margin: 0; + padding: 0; +} + +#fancybox-buttons a { + display: block; + width: 30px; + height: 30px; + text-indent: -9999px; + background-image: url('fancybox_buttons.png'); + background-repeat: no-repeat; + outline: none; + opacity: 0.8; +} + +#fancybox-buttons a:hover { + opacity: 1; +} + +#fancybox-buttons a.btnPrev { + background-position: 5px 0; +} + +#fancybox-buttons a.btnNext { + background-position: -33px 0; + border-right: 1px solid #3e3e3e; +} + +#fancybox-buttons a.btnPlay { + background-position: 0 -30px; +} + +#fancybox-buttons a.btnPlayOn { + background-position: -30px -30px; +} + +#fancybox-buttons a.btnToggle { + background-position: 3px -60px; + border-left: 1px solid #111; + border-right: 1px solid #3e3e3e; + width: 35px +} + +#fancybox-buttons a.btnToggleOn { + background-position: -27px -60px; +} + +#fancybox-buttons a.btnClose { + border-left: 1px solid #111; + width: 35px; + background-position: -56px 0px; +} + +#fancybox-buttons a.btnDisabled { + opacity : 0.4; + cursor: default; +} \ No newline at end of file diff --git a/fancy/fancybox/helpers/jquery.fancybox-buttons.js b/fancy/fancybox/helpers/jquery.fancybox-buttons.js new file mode 100644 index 0000000..50baeca --- /dev/null +++ b/fancy/fancybox/helpers/jquery.fancybox-buttons.js @@ -0,0 +1,121 @@ + /*! + * Buttons helper for fancyBox + * version: 1.0.5 (Mon, 15 Oct 2012) + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * helpers : { + * buttons: { + * position : 'top' + * } + * } + * }); + * + */ +(function ($) { + //Shortcut for fancyBox object + var F = $.fancybox; + + //Add helper object + F.helpers.buttons = { + defaults : { + skipSingle : false, // disables if gallery contains single image + position : 'top', // 'top' or 'bottom' + tpl : '
    ' + }, + + list : null, + buttons: null, + + beforeLoad: function (opts, obj) { + //Remove self if gallery do not have at least two items + + if (opts.skipSingle && obj.group.length < 2) { + obj.helpers.buttons = false; + obj.closeBtn = true; + + return; + } + + //Increase top margin to give space for buttons + obj.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30; + }, + + onPlayStart: function () { + if (this.buttons) { + this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn'); + } + }, + + onPlayEnd: function () { + if (this.buttons) { + this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn'); + } + }, + + afterShow: function (opts, obj) { + var buttons = this.buttons; + + if (!buttons) { + this.list = $(opts.tpl).addClass(opts.position).appendTo('body'); + + buttons = { + prev : this.list.find('.btnPrev').click( F.prev ), + next : this.list.find('.btnNext').click( F.next ), + play : this.list.find('.btnPlay').click( F.play ), + toggle : this.list.find('.btnToggle').click( F.toggle ) + } + } + + //Prev + if (obj.index > 0 || obj.loop) { + buttons.prev.removeClass('btnDisabled'); + } else { + buttons.prev.addClass('btnDisabled'); + } + + //Next / Play + if (obj.loop || obj.index < obj.group.length - 1) { + buttons.next.removeClass('btnDisabled'); + buttons.play.removeClass('btnDisabled'); + + } else { + buttons.next.addClass('btnDisabled'); + buttons.play.addClass('btnDisabled'); + } + + this.buttons = buttons; + + this.onUpdate(opts, obj); + }, + + onUpdate: function (opts, obj) { + var toggle; + + if (!this.buttons) { + return; + } + + toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn'); + + //Size toggle button + if (obj.canShrink) { + toggle.addClass('btnToggleOn'); + + } else if (!obj.canExpand) { + toggle.addClass('btnDisabled'); + } + }, + + beforeClose: function () { + if (this.list) { + this.list.remove(); + } + + this.list = null; + this.buttons = null; + } + }; + +}(jQuery)); \ No newline at end of file diff --git a/fancy/fancybox/helpers/jquery.fancybox-media.js b/fancy/fancybox/helpers/jquery.fancybox-media.js new file mode 100644 index 0000000..4b5e783 --- /dev/null +++ b/fancy/fancybox/helpers/jquery.fancybox-media.js @@ -0,0 +1,196 @@ +/*! + * Media helper for fancyBox + * version: 1.0.5 (Tue, 23 Oct 2012) + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * helpers : { + * media: true + * } + * }); + * + * Set custom URL parameters: + * $(".fancybox").fancybox({ + * helpers : { + * media: { + * youtube : { + * params : { + * autoplay : 0 + * } + * } + * } + * } + * }); + * + * Or: + * $(".fancybox").fancybox({, + * helpers : { + * media: true + * }, + * youtube : { + * autoplay: 0 + * } + * }); + * + * Supports: + * + * Youtube + * http://www.youtube.com/watch?v=opj24KnzrWo + * http://www.youtube.com/embed/opj24KnzrWo + * http://youtu.be/opj24KnzrWo + * Vimeo + * http://vimeo.com/40648169 + * http://vimeo.com/channels/staffpicks/38843628 + * http://vimeo.com/groups/surrealism/videos/36516384 + * http://player.vimeo.com/video/45074303 + * Metacafe + * http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/ + * http://www.metacafe.com/watch/7635964/ + * Dailymotion + * http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people + * Twitvid + * http://twitvid.com/QY7MD + * Twitpic + * http://twitpic.com/7p93st + * Instagram + * http://instagr.am/p/IejkuUGxQn/ + * http://instagram.com/p/IejkuUGxQn/ + * Google maps + * http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17 + * http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16 + * http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56 + */ +(function ($) { + "use strict"; + + //Shortcut for fancyBox object + var F = $.fancybox, + format = function( url, rez, params ) { + params = params || ''; + + if ( $.type( params ) === "object" ) { + params = $.param(params, true); + } + + $.each(rez, function(key, value) { + url = url.replace( '$' + key, value || '' ); + }); + + if (params.length) { + url += ( url.indexOf('?') > 0 ? '&' : '?' ) + params; + } + + return url; + }; + + //Add helper object + F.helpers.media = { + defaults : { + youtube : { + matcher : /(youtube\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i, + params : { + autoplay : 1, + autohide : 1, + fs : 1, + rel : 0, + hd : 1, + wmode : 'opaque', + enablejsapi : 1 + }, + type : 'iframe', + url : '//www.youtube.com/embed/$3' + }, + vimeo : { + matcher : /(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/, + params : { + autoplay : 1, + hd : 1, + show_title : 1, + show_byline : 1, + show_portrait : 0, + fullscreen : 1 + }, + type : 'iframe', + url : '//player.vimeo.com/video/$1' + }, + metacafe : { + matcher : /metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/, + params : { + autoPlay : 'yes' + }, + type : 'swf', + url : function( rez, params, obj ) { + obj.swf.flashVars = 'playerVars=' + $.param( params, true ); + + return '//www.metacafe.com/fplayer/' + rez[1] + '/.swf'; + } + }, + dailymotion : { + matcher : /dailymotion.com\/video\/(.*)\/?(.*)/, + params : { + additionalInfos : 0, + autoStart : 1 + }, + type : 'swf', + url : '//www.dailymotion.com/swf/video/$1' + }, + twitvid : { + matcher : /twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i, + params : { + autoplay : 0 + }, + type : 'iframe', + url : '//www.twitvid.com/embed.php?guid=$1' + }, + twitpic : { + matcher : /twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i, + type : 'image', + url : '//twitpic.com/show/full/$1/' + }, + instagram : { + matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i, + type : 'image', + url : '//$1/p/$2/media/' + }, + google_maps : { + matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i, + type : 'iframe', + url : function( rez ) { + return '//maps.google.' + rez[1] + '/' + rez[3] + '' + rez[4] + '&output=' + (rez[4].indexOf('layer=c') > 0 ? 'svembed' : 'embed'); + } + } + }, + + beforeLoad : function(opts, obj) { + var url = obj.href || '', + type = false, + what, + item, + rez, + params; + + for (what in opts) { + item = opts[ what ]; + rez = url.match( item.matcher ); + + if (rez) { + type = item.type; + params = $.extend(true, {}, item.params, obj[ what ] || ($.isPlainObject(opts[ what ]) ? opts[ what ].params : null)); + + url = $.type( item.url ) === "function" ? item.url.call( this, rez, params, obj ) : format( item.url, rez, params ); + + break; + } + } + + if (type) { + obj.href = url; + obj.type = type; + + obj.autoHeight = false; + } + } + }; + +}(jQuery)); \ No newline at end of file diff --git a/fancy/fancybox/helpers/jquery.fancybox-thumbs.css b/fancy/fancybox/helpers/jquery.fancybox-thumbs.css new file mode 100644 index 0000000..e40ae82 --- /dev/null +++ b/fancy/fancybox/helpers/jquery.fancybox-thumbs.css @@ -0,0 +1,54 @@ +#fancybox-thumbs { + position: fixed; + left: 0; + width: 100%; + overflow: hidden; + z-index: 8050; +} + +#fancybox-thumbs.bottom { + bottom: 2px; +} + +#fancybox-thumbs.top { + top: 2px; +} + +#fancybox-thumbs ul { + position: relative; + list-style: none; + margin: 0; + padding: 0; +} + +#fancybox-thumbs ul li { + float: left; + padding: 1px; + opacity: 0.5; +} + +#fancybox-thumbs ul li.active { + opacity: 0.75; + padding: 0; + border: 1px solid #fff; +} + +#fancybox-thumbs ul li:hover { + opacity: 1; +} + +#fancybox-thumbs ul li a { + display: block; + position: relative; + overflow: hidden; + border: 1px solid #222; + background: #111; + outline: none; +} + +#fancybox-thumbs ul li img { + display: block; + position: relative; + border: 0; + padding: 0; +} \ No newline at end of file diff --git a/fancy/fancybox/helpers/jquery.fancybox-thumbs.js b/fancy/fancybox/helpers/jquery.fancybox-thumbs.js new file mode 100644 index 0000000..5db3d4a --- /dev/null +++ b/fancy/fancybox/helpers/jquery.fancybox-thumbs.js @@ -0,0 +1,162 @@ + /*! + * Thumbnail helper for fancyBox + * version: 1.0.7 (Mon, 01 Oct 2012) + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * helpers : { + * thumbs: { + * width : 50, + * height : 50 + * } + * } + * }); + * + */ +(function ($) { + //Shortcut for fancyBox object + var F = $.fancybox; + + //Add helper object + F.helpers.thumbs = { + defaults : { + width : 50, // thumbnail width + height : 50, // thumbnail height + position : 'bottom', // 'top' or 'bottom' + source : function ( item ) { // function to obtain the URL of the thumbnail image + var href; + + if (item.element) { + href = $(item.element).find('img').attr('src'); + } + + if (!href && item.type === 'image' && item.href) { + href = item.href; + } + + return href; + } + }, + + wrap : null, + list : null, + width : 0, + + init: function (opts, obj) { + var that = this, + list, + thumbWidth = opts.width, + thumbHeight = opts.height, + thumbSource = opts.source; + + //Build list structure + list = ''; + + for (var n = 0; n < obj.group.length; n++) { + list += '
  • '; + } + + this.wrap = $('
    ').addClass(opts.position).appendTo('body'); + this.list = $('
      ' + list + '
    ').appendTo(this.wrap); + + //Load each thumbnail + $.each(obj.group, function (i) { + var href = thumbSource( obj.group[ i ] ); + + if (!href) { + return; + } + + $("").load(function () { + var width = this.width, + height = this.height, + widthRatio, heightRatio, parent; + + if (!that.list || !width || !height) { + return; + } + + //Calculate thumbnail width/height and center it + widthRatio = width / thumbWidth; + heightRatio = height / thumbHeight; + + parent = that.list.children().eq(i).find('a'); + + if (widthRatio >= 1 && heightRatio >= 1) { + if (widthRatio > heightRatio) { + width = Math.floor(width / heightRatio); + height = thumbHeight; + + } else { + width = thumbWidth; + height = Math.floor(height / widthRatio); + } + } + + $(this).css({ + width : width, + height : height, + top : Math.floor(thumbHeight / 2 - height / 2), + left : Math.floor(thumbWidth / 2 - width / 2) + }); + + parent.width(thumbWidth).height(thumbHeight); + + $(this).hide().appendTo(parent).fadeIn(300); + + }).attr('src', href); + }); + + //Set initial width + this.width = this.list.children().eq(0).outerWidth(true); + + this.list.width(this.width * (obj.group.length + 1)).css('left', Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5))); + }, + + beforeLoad: function (opts, obj) { + //Remove self if gallery do not have at least two items + if (obj.group.length < 2) { + obj.helpers.thumbs = false; + + return; + } + + //Increase bottom margin to give space for thumbs + obj.margin[ opts.position === 'top' ? 0 : 2 ] += ((opts.height) + 15); + }, + + afterShow: function (opts, obj) { + //Check if exists and create or update list + if (this.list) { + this.onUpdate(opts, obj); + + } else { + this.init(opts, obj); + } + + //Set active element + this.list.children().removeClass('active').eq(obj.index).addClass('active'); + }, + + //Center list + onUpdate: function (opts, obj) { + if (this.list) { + this.list.stop(true).animate({ + 'left': Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5)) + }, 150); + } + }, + + beforeClose: function () { + if (this.wrap) { + this.wrap.remove(); + } + + this.wrap = null; + this.list = null; + this.width = 0; + } + } + +}(jQuery)); \ No newline at end of file diff --git a/fancy/fancybox/jquery.fancybox.css b/fancy/fancybox/jquery.fancybox.css new file mode 100644 index 0000000..d6ff8a1 --- /dev/null +++ b/fancy/fancybox/jquery.fancybox.css @@ -0,0 +1,249 @@ +/*! fancyBox v2.1.3 fancyapps.com | fancyapps.com/fancybox/#license */ +.fancybox-wrap, +.fancybox-skin, +.fancybox-outer, +.fancybox-inner, +.fancybox-image, +.fancybox-wrap iframe, +.fancybox-wrap object, +.fancybox-nav, +.fancybox-nav span, +.fancybox-tmp +{ + padding: 0; + margin: 0; + border: 0; + outline: none; + vertical-align: top; +} + +.fancybox-wrap { + position: absolute; + top: 0; + left: 0; + z-index: 8020; +} + +.fancybox-skin { + position: relative; + background: #f9f9f9; + color: #444; + text-shadow: none; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.fancybox-opened { + z-index: 8030; +} + +.fancybox-opened .fancybox-skin { + -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); +} + +.fancybox-outer, .fancybox-inner { + position: relative; +} + +.fancybox-inner { + overflow: hidden; +} + +.fancybox-type-iframe .fancybox-inner { + -webkit-overflow-scrolling: touch; +} + +.fancybox-error { + color: #444; + font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + margin: 0; + padding: 15px; + white-space: nowrap; +} + +.fancybox-image, .fancybox-iframe { + display: block; + width: 100%; + height: 100%; +} + +.fancybox-image { + max-width: 100%; + max-height: 100%; +} + +#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: url('fancybox_sprite.png'); +} + +#fancybox-loading { + position: fixed; + top: 50%; + left: 50%; + margin-top: -22px; + margin-left: -22px; + background-position: 0 -108px; + opacity: 0.8; + cursor: pointer; + z-index: 8060; +} + +#fancybox-loading div { + width: 44px; + height: 44px; + background: url('fancybox_loading.gif') center center no-repeat; +} + +.fancybox-close { + position: absolute; + top: -18px; + right: -18px; + width: 36px; + height: 36px; + cursor: pointer; + z-index: 8040; +} + +.fancybox-nav { + position: absolute; + top: 0; + width: 40%; + height: 100%; + cursor: pointer; + text-decoration: none; + background: transparent url('blank.gif'); /* helps IE */ + -webkit-tap-highlight-color: rgba(0,0,0,0); + z-index: 8040; +} + +.fancybox-prev { + left: 0; +} + +.fancybox-next { + right: 0; +} + +.fancybox-nav span { + position: absolute; + top: 50%; + width: 36px; + height: 34px; + margin-top: -18px; + cursor: pointer; + z-index: 8040; + visibility: hidden; +} + +.fancybox-prev span { + left: 10px; + background-position: 0 -36px; +} + +.fancybox-next span { + right: 10px; + background-position: 0 -72px; +} + +.fancybox-nav:hover span { + visibility: visible; +} + +.fancybox-tmp { + position: absolute; + top: -99999px; + left: -99999px; + visibility: hidden; + max-width: 99999px; + max-height: 99999px; + overflow: visible !important; +} + +/* Overlay helper */ + +.fancybox-lock { + overflow: hidden; +} + +.fancybox-overlay { + position: absolute; + top: 0; + left: 0; + overflow: hidden; + display: none; + z-index: 8010; + background: url('fancybox_overlay.png'); +} + +.fancybox-overlay-fixed { + position: fixed; + bottom: 0; + right: 0; +} + +.fancybox-lock .fancybox-overlay { + overflow: auto; + overflow-y: scroll; +} + +/* Title helper */ + +.fancybox-title { + visibility: hidden; + font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + position: relative; + text-shadow: none; + z-index: 8050; +} + +.fancybox-opened .fancybox-title { + visibility: visible; +} + +.fancybox-title-float-wrap { + position: absolute; + bottom: 0; + right: 50%; + margin-bottom: -35px; + z-index: 8050; + text-align: center; +} + +.fancybox-title-float-wrap .child { + display: inline-block; + margin-right: -100%; + padding: 2px 20px; + background: transparent; /* Fallback for web browsers that doesn't support RGBa */ + background: rgba(0, 0, 0, 0.8); + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + text-shadow: 0 1px 2px #222; + color: #FFF; + font-weight: bold; + line-height: 24px; + white-space: nowrap; +} + +.fancybox-title-outside-wrap { + position: relative; + margin-top: 10px; + color: #fff; +} + +.fancybox-title-inside-wrap { + padding-top: 10px; +} + +.fancybox-title-over-wrap { + position: absolute; + bottom: 0; + left: 0; + color: #fff; + padding: 10px; + background: #000; + background: rgba(0, 0, 0, .8); +} \ No newline at end of file diff --git a/fancy/fancybox/jquery.fancybox.js b/fancy/fancybox/jquery.fancybox.js new file mode 100644 index 0000000..927da91 --- /dev/null +++ b/fancy/fancybox/jquery.fancybox.js @@ -0,0 +1,1985 @@ +/*! + * fancyBox - jQuery Plugin + * version: 2.1.3 (Tue, 23 Oct 2012) + * @requires jQuery v1.6 or later + * + * Examples at http://fancyapps.com/fancybox/ + * License: www.fancyapps.com/fancybox/#license + * + * Copyright 2012 Janis Skarnelis - janis@fancyapps.com + * + */ + +(function (window, document, $, undefined) { + "use strict"; + + var W = $(window), + D = $(document), + F = $.fancybox = function () { + F.open.apply( this, arguments ); + }, + didUpdate = null, + isTouch = document.createTouch !== undefined, + + isQuery = function(obj) { + return obj && obj.hasOwnProperty && obj instanceof $; + }, + isString = function(str) { + return str && $.type(str) === "string"; + }, + isPercentage = function(str) { + return isString(str) && str.indexOf('%') > 0; + }, + isScrollable = function(el) { + return (el && !(el.style.overflow && el.style.overflow === 'hidden') && ((el.clientWidth && el.scrollWidth > el.clientWidth) || (el.clientHeight && el.scrollHeight > el.clientHeight))); + }, + getScalar = function(orig, dim) { + var value = parseInt(orig, 10) || 0; + + if (dim && isPercentage(orig)) { + value = F.getViewport()[ dim ] / 100 * value; + } + + return Math.ceil(value); + }, + getValue = function(value, dim) { + return getScalar(value, dim) + 'px'; + }; + + $.extend(F, { + // The current version of fancyBox + version: '2.1.3', + + defaults: { + padding : 15, + margin : 20, + + width : 800, + height : 600, + minWidth : 100, + minHeight : 100, + maxWidth : 9999, + maxHeight : 9999, + + autoSize : true, + autoHeight : false, + autoWidth : false, + + autoResize : true, + autoCenter : !isTouch, + fitToView : true, + aspectRatio : false, + topRatio : 0.5, + leftRatio : 0.5, + + scrolling : 'auto', // 'auto', 'yes' or 'no' + wrapCSS : '', + + arrows : true, + closeBtn : true, + closeClick : false, + nextClick : false, + mouseWheel : true, + autoPlay : false, + playSpeed : 3000, + preload : 3, + modal : false, + loop : true, + + ajax : { + dataType : 'html', + headers : { 'X-fancyBox': true } + }, + iframe : { + scrolling : 'auto', + preload : true + }, + swf : { + wmode: 'transparent', + allowfullscreen : 'true', + allowscriptaccess : 'always' + }, + + keys : { + next : { + 13 : 'left', // enter + 34 : 'up', // page down + 39 : 'left', // right arrow + 40 : 'up' // down arrow + }, + prev : { + 8 : 'right', // backspace + 33 : 'down', // page up + 37 : 'right', // left arrow + 38 : 'down' // up arrow + }, + close : [27], // escape key + play : [32], // space - start/stop slideshow + toggle : [70] // letter "f" - toggle fullscreen + }, + + direction : { + next : 'left', + prev : 'right' + }, + + scrollOutside : true, + + // Override some properties + index : 0, + type : null, + href : null, + content : null, + title : null, + + // HTML templates + tpl: { + wrap : '
    ', + image : '', + iframe : '', + error : '

    The requested content cannot be loaded.
    Please try again later.

    ', + closeBtn : '', + next : '', + prev : '' + }, + + // Properties for each animation type + // Opening fancyBox + openEffect : 'fade', // 'elastic', 'fade' or 'none' + openSpeed : 250, + openEasing : 'swing', + openOpacity : true, + openMethod : 'zoomIn', + + // Closing fancyBox + closeEffect : 'fade', // 'elastic', 'fade' or 'none' + closeSpeed : 250, + closeEasing : 'swing', + closeOpacity : true, + closeMethod : 'zoomOut', + + // Changing next gallery item + nextEffect : 'elastic', // 'elastic', 'fade' or 'none' + nextSpeed : 250, + nextEasing : 'swing', + nextMethod : 'changeIn', + + // Changing previous gallery item + prevEffect : 'elastic', // 'elastic', 'fade' or 'none' + prevSpeed : 250, + prevEasing : 'swing', + prevMethod : 'changeOut', + + // Enable default helpers + helpers : { + overlay : true, + title : true + }, + + // Callbacks + onCancel : $.noop, // If canceling + beforeLoad : $.noop, // Before loading + afterLoad : $.noop, // After loading + beforeShow : $.noop, // Before changing in current item + afterShow : $.noop, // After opening + beforeChange : $.noop, // Before changing gallery item + beforeClose : $.noop, // Before closing + afterClose : $.noop // After closing + }, + + //Current state + group : {}, // Selected group + opts : {}, // Group options + previous : null, // Previous element + coming : null, // Element being loaded + current : null, // Currently loaded element + isActive : false, // Is activated + isOpen : false, // Is currently open + isOpened : false, // Have been fully opened at least once + + wrap : null, + skin : null, + outer : null, + inner : null, + + player : { + timer : null, + isActive : false + }, + + // Loaders + ajaxLoad : null, + imgPreload : null, + + // Some collections + transitions : {}, + helpers : {}, + + /* + * Static methods + */ + + open: function (group, opts) { + if (!group) { + return; + } + + if (!$.isPlainObject(opts)) { + opts = {}; + } + + // Close if already active + if (false === F.close(true)) { + return; + } + + // Normalize group + if (!$.isArray(group)) { + group = isQuery(group) ? $(group).get() : [group]; + } + + // Recheck if the type of each element is `object` and set content type (image, ajax, etc) + $.each(group, function(i, element) { + var obj = {}, + href, + title, + content, + type, + rez, + hrefParts, + selector; + + if ($.type(element) === "object") { + // Check if is DOM element + if (element.nodeType) { + element = $(element); + } + + if (isQuery(element)) { + obj = { + href : element.data('fancybox-href') || element.attr('href'), + title : element.data('fancybox-title') || element.attr('title'), + isDom : true, + element : element + }; + + if ($.metadata) { + $.extend(true, obj, element.metadata()); + } + + } else { + obj = element; + } + } + + href = opts.href || obj.href || (isString(element) ? element : null); + title = opts.title !== undefined ? opts.title : obj.title || ''; + + content = opts.content || obj.content; + type = content ? 'html' : (opts.type || obj.type); + + if (!type && obj.isDom) { + type = element.data('fancybox-type'); + + if (!type) { + rez = element.prop('class').match(/fancybox\.(\w+)/); + type = rez ? rez[1] : null; + } + } + + if (isString(href)) { + // Try to guess the content type + if (!type) { + if (F.isImage(href)) { + type = 'image'; + + } else if (F.isSWF(href)) { + type = 'swf'; + + } else if (href.charAt(0) === '#') { + type = 'inline'; + + } else if (isString(element)) { + type = 'html'; + content = element; + } + } + + // Split url into two pieces with source url and content selector, e.g, + // "/mypage.html #my_id" will load "/mypage.html" and display element having id "my_id" + if (type === 'ajax') { + hrefParts = href.split(/\s+/, 2); + href = hrefParts.shift(); + selector = hrefParts.shift(); + } + } + + if (!content) { + if (type === 'inline') { + if (href) { + content = $( isString(href) ? href.replace(/.*(?=#[^\s]+$)/, '') : href ); //strip for ie7 + + } else if (obj.isDom) { + content = element; + } + + } else if (type === 'html') { + content = href; + + } else if (!type && !href && obj.isDom) { + type = 'inline'; + content = element; + } + } + + $.extend(obj, { + href : href, + type : type, + content : content, + title : title, + selector : selector + }); + + group[ i ] = obj; + }); + + // Extend the defaults + F.opts = $.extend(true, {}, F.defaults, opts); + + // All options are merged recursive except keys + if (opts.keys !== undefined) { + F.opts.keys = opts.keys ? $.extend({}, F.defaults.keys, opts.keys) : false; + } + + F.group = group; + + return F._start(F.opts.index); + }, + + // Cancel image loading or abort ajax request + cancel: function () { + var coming = F.coming; + + if (!coming || false === F.trigger('onCancel')) { + return; + } + + F.hideLoading(); + + if (F.ajaxLoad) { + F.ajaxLoad.abort(); + } + + F.ajaxLoad = null; + + if (F.imgPreload) { + F.imgPreload.onload = F.imgPreload.onerror = null; + } + + if (coming.wrap) { + coming.wrap.stop(true, true).trigger('onReset').remove(); + } + + F.coming = null; + + // If the first item has been canceled, then clear everything + if (!F.current) { + F._afterZoomOut( coming ); + } + }, + + // Start closing animation if is open; remove immediately if opening/closing + close: function (event) { + F.cancel(); + + if (false === F.trigger('beforeClose')) { + return; + } + + F.unbindEvents(); + + if (!F.isActive) { + return; + } + + if (!F.isOpen || event === true) { + $('.fancybox-wrap').stop(true).trigger('onReset').remove(); + + F._afterZoomOut(); + + } else { + F.isOpen = F.isOpened = false; + F.isClosing = true; + + $('.fancybox-item, .fancybox-nav').remove(); + + F.wrap.stop(true, true).removeClass('fancybox-opened'); + + F.transitions[ F.current.closeMethod ](); + } + }, + + // Manage slideshow: + // $.fancybox.play(); - toggle slideshow + // $.fancybox.play( true ); - start + // $.fancybox.play( false ); - stop + play: function ( action ) { + var clear = function () { + clearTimeout(F.player.timer); + }, + set = function () { + clear(); + + if (F.current && F.player.isActive) { + F.player.timer = setTimeout(F.next, F.current.playSpeed); + } + }, + stop = function () { + clear(); + + $('body').unbind('.player'); + + F.player.isActive = false; + + F.trigger('onPlayEnd'); + }, + start = function () { + if (F.current && (F.current.loop || F.current.index < F.group.length - 1)) { + F.player.isActive = true; + + $('body').bind({ + 'afterShow.player onUpdate.player' : set, + 'onCancel.player beforeClose.player' : stop, + 'beforeLoad.player' : clear + }); + + set(); + + F.trigger('onPlayStart'); + } + }; + + if (action === true || (!F.player.isActive && action !== false)) { + start(); + } else { + stop(); + } + }, + + // Navigate to next gallery item + next: function ( direction ) { + var current = F.current; + + if (current) { + if (!isString(direction)) { + direction = current.direction.next; + } + + F.jumpto(current.index + 1, direction, 'next'); + } + }, + + // Navigate to previous gallery item + prev: function ( direction ) { + var current = F.current; + + if (current) { + if (!isString(direction)) { + direction = current.direction.prev; + } + + F.jumpto(current.index - 1, direction, 'prev'); + } + }, + + // Navigate to gallery item by index + jumpto: function ( index, direction, router ) { + var current = F.current; + + if (!current) { + return; + } + + index = getScalar(index); + + F.direction = direction || current.direction[ (index >= current.index ? 'next' : 'prev') ]; + F.router = router || 'jumpto'; + + if (current.loop) { + if (index < 0) { + index = current.group.length + (index % current.group.length); + } + + index = index % current.group.length; + } + + if (current.group[ index ] !== undefined) { + F.cancel(); + + F._start(index); + } + }, + + // Center inside viewport and toggle position type to fixed or absolute if needed + reposition: function (e, onlyAbsolute) { + var current = F.current, + wrap = current ? current.wrap : null, + pos; + + if (wrap) { + pos = F._getPosition(onlyAbsolute); + + if (e && e.type === 'scroll') { + delete pos.position; + + wrap.stop(true, true).animate(pos, 200); + + } else { + wrap.css(pos); + + current.pos = $.extend({}, current.dim, pos); + } + } + }, + + update: function (e) { + var type = (e && e.type), + anyway = !type || type === 'orientationchange'; + + if (anyway) { + clearTimeout(didUpdate); + + didUpdate = null; + } + + if (!F.isOpen || didUpdate) { + return; + } + + didUpdate = setTimeout(function() { + var current = F.current; + + if (!current || F.isClosing) { + return; + } + + F.wrap.removeClass('fancybox-tmp'); + + if (anyway || type === 'load' || (type === 'resize' && current.autoResize)) { + F._setDimension(); + } + + if (!(type === 'scroll' && current.canShrink)) { + F.reposition(e); + } + + F.trigger('onUpdate'); + + didUpdate = null; + + }, (anyway && !isTouch ? 0 : 300)); + }, + + // Shrink content to fit inside viewport or restore if resized + toggle: function ( action ) { + if (F.isOpen) { + F.current.fitToView = $.type(action) === "boolean" ? action : !F.current.fitToView; + + // Help browser to restore document dimensions + if (isTouch) { + F.wrap.removeAttr('style').addClass('fancybox-tmp'); + + F.trigger('onUpdate'); + } + + F.update(); + } + }, + + hideLoading: function () { + D.unbind('.loading'); + + $('#fancybox-loading').remove(); + }, + + showLoading: function () { + var el, viewport; + + F.hideLoading(); + + el = $('
    ').click(F.cancel).appendTo('body'); + + // If user will press the escape-button, the request will be canceled + D.bind('keydown.loading', function(e) { + if ((e.which || e.keyCode) === 27) { + e.preventDefault(); + + F.cancel(); + } + }); + + if (!F.defaults.fixed) { + viewport = F.getViewport(); + + el.css({ + position : 'absolute', + top : (viewport.h * 0.5) + viewport.y, + left : (viewport.w * 0.5) + viewport.x + }); + } + }, + + getViewport: function () { + var locked = (F.current && F.current.locked) || false, + rez = { + x: W.scrollLeft(), + y: W.scrollTop() + }; + + if (locked) { + rez.w = locked[0].clientWidth; + rez.h = locked[0].clientHeight; + + } else { + // See http://bugs.jquery.com/ticket/6724 + rez.w = isTouch && window.innerWidth ? window.innerWidth : W.width(); + rez.h = isTouch && window.innerHeight ? window.innerHeight : W.height(); + } + + return rez; + }, + + // Unbind the keyboard / clicking actions + unbindEvents: function () { + if (F.wrap && isQuery(F.wrap)) { + F.wrap.unbind('.fb'); + } + + D.unbind('.fb'); + W.unbind('.fb'); + }, + + bindEvents: function () { + var current = F.current, + keys; + + if (!current) { + return; + } + + // Changing document height on iOS devices triggers a 'resize' event, + // that can change document height... repeating infinitely + W.bind('orientationchange.fb' + (isTouch ? '' : ' resize.fb') + (current.autoCenter && !current.locked ? ' scroll.fb' : ''), F.update); + + keys = current.keys; + + if (keys) { + D.bind('keydown.fb', function (e) { + var code = e.which || e.keyCode, + target = e.target || e.srcElement; + + // Skip esc key if loading, because showLoading will cancel preloading + if (code === 27 && F.coming) { + return false; + } + + // Ignore key combinations and key events within form elements + if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey && !(target && (target.type || $(target).is('[contenteditable]')))) { + $.each(keys, function(i, val) { + if (current.group.length > 1 && val[ code ] !== undefined) { + F[ i ]( val[ code ] ); + + e.preventDefault(); + return false; + } + + if ($.inArray(code, val) > -1) { + F[ i ] (); + + e.preventDefault(); + return false; + } + }); + } + }); + } + + if ($.fn.mousewheel && current.mouseWheel) { + F.wrap.bind('mousewheel.fb', function (e, delta, deltaX, deltaY) { + var target = e.target || null, + parent = $(target), + canScroll = false; + + while (parent.length) { + if (canScroll || parent.is('.fancybox-skin') || parent.is('.fancybox-wrap')) { + break; + } + + canScroll = isScrollable( parent[0] ); + parent = $(parent).parent(); + } + + if (delta !== 0 && !canScroll) { + if (F.group.length > 1 && !current.canShrink) { + if (deltaY > 0 || deltaX > 0) { + F.prev( deltaY > 0 ? 'down' : 'left' ); + + } else if (deltaY < 0 || deltaX < 0) { + F.next( deltaY < 0 ? 'up' : 'right' ); + } + + e.preventDefault(); + } + } + }); + } + }, + + trigger: function (event, o) { + var ret, obj = o || F.coming || F.current; + + if (!obj) { + return; + } + + if ($.isFunction( obj[event] )) { + ret = obj[event].apply(obj, Array.prototype.slice.call(arguments, 1)); + } + + if (ret === false) { + return false; + } + + if (obj.helpers) { + $.each(obj.helpers, function (helper, opts) { + if (opts && F.helpers[helper] && $.isFunction(F.helpers[helper][event])) { + opts = $.extend(true, {}, F.helpers[helper].defaults, opts); + + F.helpers[helper][event](opts, obj); + } + }); + } + + $.event.trigger(event + '.fb'); + }, + + isImage: function (str) { + return isString(str) && str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$)/i); + }, + + isSWF: function (str) { + return isString(str) && str.match(/\.(swf)((\?|#).*)?$/i); + }, + + _start: function (index) { + var coming = {}, + obj, + href, + type, + margin, + padding; + + index = getScalar( index ); + obj = F.group[ index ] || null; + + if (!obj) { + return false; + } + + coming = $.extend(true, {}, F.opts, obj); + + // Convert margin and padding properties to array - top, right, bottom, left + margin = coming.margin; + padding = coming.padding; + + if ($.type(margin) === 'number') { + coming.margin = [margin, margin, margin, margin]; + } + + if ($.type(padding) === 'number') { + coming.padding = [padding, padding, padding, padding]; + } + + // 'modal' propery is just a shortcut + if (coming.modal) { + $.extend(true, coming, { + closeBtn : false, + closeClick : false, + nextClick : false, + arrows : false, + mouseWheel : false, + keys : null, + helpers: { + overlay : { + closeClick : false + } + } + }); + } + + // 'autoSize' property is a shortcut, too + if (coming.autoSize) { + coming.autoWidth = coming.autoHeight = true; + } + + if (coming.width === 'auto') { + coming.autoWidth = true; + } + + if (coming.height === 'auto') { + coming.autoHeight = true; + } + + /* + * Add reference to the group, so it`s possible to access from callbacks, example: + * afterLoad : function() { + * this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : ''); + * } + */ + + coming.group = F.group; + coming.index = index; + + // Give a chance for callback or helpers to update coming item (type, title, etc) + F.coming = coming; + + if (false === F.trigger('beforeLoad')) { + F.coming = null; + + return; + } + + type = coming.type; + href = coming.href; + + if (!type) { + F.coming = null; + + //If we can not determine content type then drop silently or display next/prev item if looping through gallery + if (F.current && F.router && F.router !== 'jumpto') { + F.current.index = index; + + return F[ F.router ]( F.direction ); + } + + return false; + } + + F.isActive = true; + + if (type === 'image' || type === 'swf') { + coming.autoHeight = coming.autoWidth = false; + coming.scrolling = 'visible'; + } + + if (type === 'image') { + coming.aspectRatio = true; + } + + if (type === 'iframe' && isTouch) { + coming.scrolling = 'scroll'; + } + + // Build the neccessary markup + coming.wrap = $(coming.tpl.wrap).addClass('fancybox-' + (isTouch ? 'mobile' : 'desktop') + ' fancybox-type-' + type + ' fancybox-tmp ' + coming.wrapCSS).appendTo( coming.parent || 'body' ); + + $.extend(coming, { + skin : $('.fancybox-skin', coming.wrap), + outer : $('.fancybox-outer', coming.wrap), + inner : $('.fancybox-inner', coming.wrap) + }); + + $.each(["Top", "Right", "Bottom", "Left"], function(i, v) { + coming.skin.css('padding' + v, getValue(coming.padding[ i ])); + }); + + F.trigger('onReady'); + + // Check before try to load; 'inline' and 'html' types need content, others - href + if (type === 'inline' || type === 'html') { + if (!coming.content || !coming.content.length) { + return F._error( 'content' ); + } + + } else if (!href) { + return F._error( 'href' ); + } + + if (type === 'image') { + F._loadImage(); + + } else if (type === 'ajax') { + F._loadAjax(); + + } else if (type === 'iframe') { + F._loadIframe(); + + } else { + F._afterLoad(); + } + }, + + _error: function ( type ) { + $.extend(F.coming, { + type : 'html', + autoWidth : true, + autoHeight : true, + minWidth : 0, + minHeight : 0, + scrolling : 'no', + hasError : type, + content : F.coming.tpl.error + }); + + F._afterLoad(); + }, + + _loadImage: function () { + // Reset preload image so it is later possible to check "complete" property + var img = F.imgPreload = new Image(); + + img.onload = function () { + this.onload = this.onerror = null; + + F.coming.width = this.width; + F.coming.height = this.height; + + F._afterLoad(); + }; + + img.onerror = function () { + this.onload = this.onerror = null; + + F._error( 'image' ); + }; + + img.src = F.coming.href; + + if (img.complete !== true) { + F.showLoading(); + } + }, + + _loadAjax: function () { + var coming = F.coming; + + F.showLoading(); + + F.ajaxLoad = $.ajax($.extend({}, coming.ajax, { + url: coming.href, + error: function (jqXHR, textStatus) { + if (F.coming && textStatus !== 'abort') { + F._error( 'ajax', jqXHR ); + + } else { + F.hideLoading(); + } + }, + success: function (data, textStatus) { + if (textStatus === 'success') { + coming.content = data; + + F._afterLoad(); + } + } + })); + }, + + _loadIframe: function() { + var coming = F.coming, + iframe = $(coming.tpl.iframe.replace(/\{rnd\}/g, new Date().getTime())) + .attr('scrolling', isTouch ? 'auto' : coming.iframe.scrolling) + .attr('src', coming.href); + + // This helps IE + $(coming.wrap).bind('onReset', function () { + try { + $(this).find('iframe').hide().attr('src', '//about:blank').end().empty(); + } catch (e) {} + }); + + if (coming.iframe.preload) { + F.showLoading(); + + iframe.one('load', function() { + $(this).data('ready', 1); + + // iOS will lose scrolling if we resize + if (!isTouch) { + $(this).bind('load.fb', F.update); + } + + // Without this trick: + // - iframe won't scroll on iOS devices + // - IE7 sometimes displays empty iframe + $(this).parents('.fancybox-wrap').width('100%').removeClass('fancybox-tmp').show(); + + F._afterLoad(); + }); + } + + coming.content = iframe.appendTo( coming.inner ); + + if (!coming.iframe.preload) { + F._afterLoad(); + } + }, + + _preloadImages: function() { + var group = F.group, + current = F.current, + len = group.length, + cnt = current.preload ? Math.min(current.preload, len - 1) : 0, + item, + i; + + for (i = 1; i <= cnt; i += 1) { + item = group[ (current.index + i ) % len ]; + + if (item.type === 'image' && item.href) { + new Image().src = item.href; + } + } + }, + + _afterLoad: function () { + var coming = F.coming, + previous = F.current, + placeholder = 'fancybox-placeholder', + current, + content, + type, + scrolling, + href, + embed; + + F.hideLoading(); + + if (!coming || F.isActive === false) { + return; + } + + if (false === F.trigger('afterLoad', coming, previous)) { + coming.wrap.stop(true).trigger('onReset').remove(); + + F.coming = null; + + return; + } + + if (previous) { + F.trigger('beforeChange', previous); + + previous.wrap.stop(true).removeClass('fancybox-opened') + .find('.fancybox-item, .fancybox-nav') + .remove(); + } + + F.unbindEvents(); + + current = coming; + content = coming.content; + type = coming.type; + scrolling = coming.scrolling; + + $.extend(F, { + wrap : current.wrap, + skin : current.skin, + outer : current.outer, + inner : current.inner, + current : current, + previous : previous + }); + + href = current.href; + + switch (type) { + case 'inline': + case 'ajax': + case 'html': + if (current.selector) { + content = $('
    ').html(content).find(current.selector); + + } else if (isQuery(content)) { + if (!content.data(placeholder)) { + content.data(placeholder, $('
    ').insertAfter( content ).hide() ); + } + + content = content.show().detach(); + + current.wrap.bind('onReset', function () { + if ($(this).find(content).length) { + content.hide().replaceAll( content.data(placeholder) ).data(placeholder, false); + } + }); + } + break; + + case 'image': + content = current.tpl.image.replace('{href}', href); + break; + + case 'swf': + content = ''; + embed = ''; + + $.each(current.swf, function(name, val) { + content += ''; + embed += ' ' + name + '="' + val + '"'; + }); + + content += ''; + break; + } + + if (!(isQuery(content) && content.parent().is(current.inner))) { + current.inner.append( content ); + } + + // Give a chance for helpers or callbacks to update elements + F.trigger('beforeShow'); + + // Set scrolling before calculating dimensions + current.inner.css('overflow', scrolling === 'yes' ? 'scroll' : (scrolling === 'no' ? 'hidden' : scrolling)); + + // Set initial dimensions and start position + F._setDimension(); + + F.reposition(); + + F.isOpen = false; + F.coming = null; + + F.bindEvents(); + + if (!F.isOpened) { + $('.fancybox-wrap').not( current.wrap ).stop(true).trigger('onReset').remove(); + + } else if (previous.prevMethod) { + F.transitions[ previous.prevMethod ](); + } + + F.transitions[ F.isOpened ? current.nextMethod : current.openMethod ](); + + F._preloadImages(); + }, + + _setDimension: function () { + var viewport = F.getViewport(), + steps = 0, + canShrink = false, + canExpand = false, + wrap = F.wrap, + skin = F.skin, + inner = F.inner, + current = F.current, + width = current.width, + height = current.height, + minWidth = current.minWidth, + minHeight = current.minHeight, + maxWidth = current.maxWidth, + maxHeight = current.maxHeight, + scrolling = current.scrolling, + scrollOut = current.scrollOutside ? current.scrollbarWidth : 0, + margin = current.margin, + wMargin = getScalar(margin[1] + margin[3]), + hMargin = getScalar(margin[0] + margin[2]), + wPadding, + hPadding, + wSpace, + hSpace, + origWidth, + origHeight, + origMaxWidth, + origMaxHeight, + ratio, + width_, + height_, + maxWidth_, + maxHeight_, + iframe, + body; + + // Reset dimensions so we could re-check actual size + wrap.add(skin).add(inner).width('auto').height('auto').removeClass('fancybox-tmp'); + + wPadding = getScalar(skin.outerWidth(true) - skin.width()); + hPadding = getScalar(skin.outerHeight(true) - skin.height()); + + // Any space between content and viewport (margin, padding, border, title) + wSpace = wMargin + wPadding; + hSpace = hMargin + hPadding; + + origWidth = isPercentage(width) ? (viewport.w - wSpace) * getScalar(width) / 100 : width; + origHeight = isPercentage(height) ? (viewport.h - hSpace) * getScalar(height) / 100 : height; + + if (current.type === 'iframe') { + iframe = current.content; + + if (current.autoHeight && iframe.data('ready') === 1) { + try { + if (iframe[0].contentWindow.document.location) { + inner.width( origWidth ).height(9999); + + body = iframe.contents().find('body'); + + if (scrollOut) { + body.css('overflow-x', 'hidden'); + } + + origHeight = body.height(); + } + + } catch (e) {} + } + + } else if (current.autoWidth || current.autoHeight) { + inner.addClass( 'fancybox-tmp' ); + + // Set width or height in case we need to calculate only one dimension + if (!current.autoWidth) { + inner.width( origWidth ); + } + + if (!current.autoHeight) { + inner.height( origHeight ); + } + + if (current.autoWidth) { + origWidth = inner.width(); + } + + if (current.autoHeight) { + origHeight = inner.height(); + } + + inner.removeClass( 'fancybox-tmp' ); + } + + width = getScalar( origWidth ); + height = getScalar( origHeight ); + + ratio = origWidth / origHeight; + + // Calculations for the content + minWidth = getScalar(isPercentage(minWidth) ? getScalar(minWidth, 'w') - wSpace : minWidth); + maxWidth = getScalar(isPercentage(maxWidth) ? getScalar(maxWidth, 'w') - wSpace : maxWidth); + + minHeight = getScalar(isPercentage(minHeight) ? getScalar(minHeight, 'h') - hSpace : minHeight); + maxHeight = getScalar(isPercentage(maxHeight) ? getScalar(maxHeight, 'h') - hSpace : maxHeight); + + // These will be used to determine if wrap can fit in the viewport + origMaxWidth = maxWidth; + origMaxHeight = maxHeight; + + if (current.fitToView) { + maxWidth = Math.min(viewport.w - wSpace, maxWidth); + maxHeight = Math.min(viewport.h - hSpace, maxHeight); + } + + maxWidth_ = viewport.w - wMargin; + maxHeight_ = viewport.h - hMargin; + + if (current.aspectRatio) { + if (width > maxWidth) { + width = maxWidth; + height = getScalar(width / ratio); + } + + if (height > maxHeight) { + height = maxHeight; + width = getScalar(height * ratio); + } + + if (width < minWidth) { + width = minWidth; + height = getScalar(width / ratio); + } + + if (height < minHeight) { + height = minHeight; + width = getScalar(height * ratio); + } + + } else { + width = Math.max(minWidth, Math.min(width, maxWidth)); + + if (current.autoHeight && current.type !== 'iframe') { + inner.width( width ); + + height = inner.height(); + } + + height = Math.max(minHeight, Math.min(height, maxHeight)); + } + + // Try to fit inside viewport (including the title) + if (current.fitToView) { + inner.width( width ).height( height ); + + wrap.width( width + wPadding ); + + // Real wrap dimensions + width_ = wrap.width(); + height_ = wrap.height(); + + if (current.aspectRatio) { + while ((width_ > maxWidth_ || height_ > maxHeight_) && width > minWidth && height > minHeight) { + if (steps++ > 19) { + break; + } + + height = Math.max(minHeight, Math.min(maxHeight, height - 10)); + width = getScalar(height * ratio); + + if (width < minWidth) { + width = minWidth; + height = getScalar(width / ratio); + } + + if (width > maxWidth) { + width = maxWidth; + height = getScalar(width / ratio); + } + + inner.width( width ).height( height ); + + wrap.width( width + wPadding ); + + width_ = wrap.width(); + height_ = wrap.height(); + } + + } else { + width = Math.max(minWidth, Math.min(width, width - (width_ - maxWidth_))); + height = Math.max(minHeight, Math.min(height, height - (height_ - maxHeight_))); + } + } + + if (scrollOut && scrolling === 'auto' && height < origHeight && (width + wPadding + scrollOut) < maxWidth_) { + width += scrollOut; + } + + inner.width( width ).height( height ); + + wrap.width( width + wPadding ); + + width_ = wrap.width(); + height_ = wrap.height(); + + canShrink = (width_ > maxWidth_ || height_ > maxHeight_) && width > minWidth && height > minHeight; + canExpand = current.aspectRatio ? (width < origMaxWidth && height < origMaxHeight && width < origWidth && height < origHeight) : ((width < origMaxWidth || height < origMaxHeight) && (width < origWidth || height < origHeight)); + + $.extend(current, { + dim : { + width : getValue( width_ ), + height : getValue( height_ ) + }, + origWidth : origWidth, + origHeight : origHeight, + canShrink : canShrink, + canExpand : canExpand, + wPadding : wPadding, + hPadding : hPadding, + wrapSpace : height_ - skin.outerHeight(true), + skinSpace : skin.height() - height + }); + + if (!iframe && current.autoHeight && height > minHeight && height < maxHeight && !canExpand) { + inner.height('auto'); + } + }, + + _getPosition: function (onlyAbsolute) { + var current = F.current, + viewport = F.getViewport(), + margin = current.margin, + width = F.wrap.width() + margin[1] + margin[3], + height = F.wrap.height() + margin[0] + margin[2], + rez = { + position: 'absolute', + top : margin[0], + left : margin[3] + }; + + if (current.autoCenter && current.fixed && !onlyAbsolute && height <= viewport.h && width <= viewport.w) { + rez.position = 'fixed'; + + } else if (!current.locked) { + rez.top += viewport.y; + rez.left += viewport.x; + } + + rez.top = getValue(Math.max(rez.top, rez.top + ((viewport.h - height) * current.topRatio))); + rez.left = getValue(Math.max(rez.left, rez.left + ((viewport.w - width) * current.leftRatio))); + + return rez; + }, + + _afterZoomIn: function () { + var current = F.current; + + if (!current) { + return; + } + + F.isOpen = F.isOpened = true; + + F.wrap.css('overflow', 'visible').addClass('fancybox-opened'); + + F.update(); + + // Assign a click event + if ( current.closeClick || (current.nextClick && F.group.length > 1) ) { + F.inner.css('cursor', 'pointer').bind('click.fb', function(e) { + if (!$(e.target).is('a') && !$(e.target).parent().is('a')) { + e.preventDefault(); + + F[ current.closeClick ? 'close' : 'next' ](); + } + }); + } + + // Create a close button + if (current.closeBtn) { + $(current.tpl.closeBtn).appendTo(F.skin).bind( isTouch ? 'touchstart.fb' : 'click.fb', function(e) { + e.preventDefault(); + + F.close(); + }); + } + + // Create navigation arrows + if (current.arrows && F.group.length > 1) { + if (current.loop || current.index > 0) { + $(current.tpl.prev).appendTo(F.outer).bind('click.fb', F.prev); + } + + if (current.loop || current.index < F.group.length - 1) { + $(current.tpl.next).appendTo(F.outer).bind('click.fb', F.next); + } + } + + F.trigger('afterShow'); + + // Stop the slideshow if this is the last item + if (!current.loop && current.index === current.group.length - 1) { + F.play( false ); + + } else if (F.opts.autoPlay && !F.player.isActive) { + F.opts.autoPlay = false; + + F.play(); + } + }, + + _afterZoomOut: function ( obj ) { + obj = obj || F.current; + + $('.fancybox-wrap').trigger('onReset').remove(); + + $.extend(F, { + group : {}, + opts : {}, + router : false, + current : null, + isActive : false, + isOpened : false, + isOpen : false, + isClosing : false, + wrap : null, + skin : null, + outer : null, + inner : null + }); + + F.trigger('afterClose', obj); + } + }); + + /* + * Default transitions + */ + + F.transitions = { + getOrigPosition: function () { + var current = F.current, + element = current.element, + orig = current.orig, + pos = {}, + width = 50, + height = 50, + hPadding = current.hPadding, + wPadding = current.wPadding, + viewport = F.getViewport(); + + if (!orig && current.isDom && element.is(':visible')) { + orig = element.find('img:first'); + + if (!orig.length) { + orig = element; + } + } + + if (isQuery(orig)) { + pos = orig.offset(); + + if (orig.is('img')) { + width = orig.outerWidth(); + height = orig.outerHeight(); + } + + } else { + pos.top = viewport.y + (viewport.h - height) * current.topRatio; + pos.left = viewport.x + (viewport.w - width) * current.leftRatio; + } + + if (F.wrap.css('position') === 'fixed' || current.locked) { + pos.top -= viewport.y; + pos.left -= viewport.x; + } + + pos = { + top : getValue(pos.top - hPadding * current.topRatio), + left : getValue(pos.left - wPadding * current.leftRatio), + width : getValue(width + wPadding), + height : getValue(height + hPadding) + }; + + return pos; + }, + + step: function (now, fx) { + var ratio, + padding, + value, + prop = fx.prop, + current = F.current, + wrapSpace = current.wrapSpace, + skinSpace = current.skinSpace; + + if (prop === 'width' || prop === 'height') { + ratio = fx.end === fx.start ? 1 : (now - fx.start) / (fx.end - fx.start); + + if (F.isClosing) { + ratio = 1 - ratio; + } + + padding = prop === 'width' ? current.wPadding : current.hPadding; + value = now - padding; + + F.skin[ prop ]( getScalar( prop === 'width' ? value : value - (wrapSpace * ratio) ) ); + F.inner[ prop ]( getScalar( prop === 'width' ? value : value - (wrapSpace * ratio) - (skinSpace * ratio) ) ); + } + }, + + zoomIn: function () { + var current = F.current, + startPos = current.pos, + effect = current.openEffect, + elastic = effect === 'elastic', + endPos = $.extend({opacity : 1}, startPos); + + // Remove "position" property that breaks older IE + delete endPos.position; + + if (elastic) { + startPos = this.getOrigPosition(); + + if (current.openOpacity) { + startPos.opacity = 0.1; + } + + } else if (effect === 'fade') { + startPos.opacity = 0.1; + } + + F.wrap.css(startPos).animate(endPos, { + duration : effect === 'none' ? 0 : current.openSpeed, + easing : current.openEasing, + step : elastic ? this.step : null, + complete : F._afterZoomIn + }); + }, + + zoomOut: function () { + var current = F.current, + effect = current.closeEffect, + elastic = effect === 'elastic', + endPos = {opacity : 0.1}; + + if (elastic) { + endPos = this.getOrigPosition(); + + if (current.closeOpacity) { + endPos.opacity = 0.1; + } + } + + F.wrap.animate(endPos, { + duration : effect === 'none' ? 0 : current.closeSpeed, + easing : current.closeEasing, + step : elastic ? this.step : null, + complete : F._afterZoomOut + }); + }, + + changeIn: function () { + var current = F.current, + effect = current.nextEffect, + startPos = current.pos, + endPos = { opacity : 1 }, + direction = F.direction, + distance = 200, + field; + + startPos.opacity = 0.1; + + if (effect === 'elastic') { + field = direction === 'down' || direction === 'up' ? 'top' : 'left'; + + if (direction === 'down' || direction === 'right') { + startPos[ field ] = getValue(getScalar(startPos[ field ]) - distance); + endPos[ field ] = '+=' + distance + 'px'; + + } else { + startPos[ field ] = getValue(getScalar(startPos[ field ]) + distance); + endPos[ field ] = '-=' + distance + 'px'; + } + } + + // Workaround for http://bugs.jquery.com/ticket/12273 + if (effect === 'none') { + F._afterZoomIn(); + + } else { + F.wrap.css(startPos).animate(endPos, { + duration : current.nextSpeed, + easing : current.nextEasing, + complete : function() { + // This helps FireFox to properly render the box + setTimeout(F._afterZoomIn, 20); + } + }); + } + }, + + changeOut: function () { + var previous = F.previous, + effect = previous.prevEffect, + endPos = { opacity : 0.1 }, + direction = F.direction, + distance = 200; + + if (effect === 'elastic') { + endPos[ direction === 'down' || direction === 'up' ? 'top' : 'left' ] = ( direction === 'up' || direction === 'left' ? '-' : '+' ) + '=' + distance + 'px'; + } + + previous.wrap.animate(endPos, { + duration : effect === 'none' ? 0 : previous.prevSpeed, + easing : previous.prevEasing, + complete : function () { + $(this).trigger('onReset').remove(); + } + }); + } + }; + + /* + * Overlay helper + */ + + F.helpers.overlay = { + defaults : { + closeClick : true, // if true, fancyBox will be closed when user clicks on the overlay + speedOut : 200, // duration of fadeOut animation + showEarly : true, // indicates if should be opened immediately or wait until the content is ready + css : {}, // custom CSS properties + locked : !isTouch, // if true, the content will be locked into overlay + fixed : true // if false, the overlay CSS position property will not be set to "fixed" + }, + + overlay : null, // current handle + fixed : false, // indicates if the overlay has position "fixed" + + // Public methods + create : function(opts) { + opts = $.extend({}, this.defaults, opts); + + if (this.overlay) { + this.close(); + } + + this.overlay = $('
    ').appendTo( 'body' ); + this.fixed = false; + + if (opts.fixed && F.defaults.fixed) { + this.overlay.addClass('fancybox-overlay-fixed'); + + this.fixed = true; + } + }, + + open : function(opts) { + var that = this; + + opts = $.extend({}, this.defaults, opts); + + if (this.overlay) { + this.overlay.unbind('.overlay').width('auto').height('auto'); + + } else { + this.create(opts); + } + + if (!this.fixed) { + W.bind('resize.overlay', $.proxy( this.update, this) ); + + this.update(); + } + + if (opts.closeClick) { + this.overlay.bind('click.overlay', function(e) { + if ($(e.target).hasClass('fancybox-overlay')) { + if (F.isActive) { + F.close(); + } else { + that.close(); + } + } + }); + } + + this.overlay.css( opts.css ).show(); + }, + + close : function() { + $('.fancybox-overlay').remove(); + + W.unbind('resize.overlay'); + + this.overlay = null; + + if (this.margin !== false) { + $('body').css('margin-right', this.margin); + + this.margin = false; + } + + if (this.el) { + this.el.removeClass('fancybox-lock'); + } + }, + + // Private, callbacks + + update : function () { + var width = '100%', offsetWidth; + + // Reset width/height so it will not mess + this.overlay.width(width).height('100%'); + + // jQuery does not return reliable result for IE + if ($.browser.msie) { + offsetWidth = Math.max(document.documentElement.offsetWidth, document.body.offsetWidth); + + if (D.width() > offsetWidth) { + width = D.width(); + } + + } else if (D.width() > W.width()) { + width = D.width(); + } + + this.overlay.width(width).height(D.height()); + }, + + // This is where we can manipulate DOM, because later it would cause iframes to reload + onReady : function (opts, obj) { + $('.fancybox-overlay').stop(true, true); + + if (!this.overlay) { + this.margin = D.height() > W.height() || $('body').css('overflow-y') === 'scroll' ? $('body').css('margin-right') : false; + this.el = document.all && !document.querySelector ? $('html') : $('body'); + + this.create(opts); + } + + if (opts.locked && this.fixed) { + obj.locked = this.overlay.append( obj.wrap ); + obj.fixed = false; + } + + if (opts.showEarly === true) { + this.beforeShow.apply(this, arguments); + } + }, + + beforeShow : function(opts, obj) { + if (obj.locked) { + this.el.addClass('fancybox-lock'); + + if (this.margin !== false) { + $('body').css('margin-right', getScalar( this.margin ) + obj.scrollbarWidth); + } + } + + this.open(opts); + }, + + onUpdate : function() { + if (!this.fixed) { + this.update(); + } + }, + + afterClose: function (opts) { + // Remove overlay if exists and fancyBox is not opening + // (e.g., it is not being open using afterClose callback) + if (this.overlay && !F.isActive) { + this.overlay.fadeOut(opts.speedOut, $.proxy( this.close, this )); + } + } + }; + + /* + * Title helper + */ + + F.helpers.title = { + defaults : { + type : 'float', // 'float', 'inside', 'outside' or 'over', + position : 'bottom' // 'top' or 'bottom' + }, + + beforeShow: function (opts) { + var current = F.current, + text = current.title, + type = opts.type, + title, + target; + + if ($.isFunction(text)) { + text = text.call(current.element, current); + } + + if (!isString(text) || $.trim(text) === '') { + return; + } + + title = $('
    ' + text + '
    '); + + switch (type) { + case 'inside': + target = F.skin; + break; + + case 'outside': + target = F.wrap; + break; + + case 'over': + target = F.inner; + break; + + default: // 'float' + target = F.skin; + + title.appendTo('body'); + + if ($.browser.msie) { + title.width( title.width() ); + } + + title.wrapInner(''); + + //Increase bottom margin so this title will also fit into viewport + F.current.margin[2] += Math.abs( getScalar(title.css('margin-bottom')) ); + break; + } + + title[ (opts.position === 'top' ? 'prependTo' : 'appendTo') ](target); + } + }; + + // jQuery plugin initialization + $.fn.fancybox = function (options) { + var index, + that = $(this), + selector = this.selector || '', + run = function(e) { + var what = $(this).blur(), idx = index, relType, relVal; + + if (!(e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) && !what.is('.fancybox-wrap')) { + relType = options.groupAttr || 'data-fancybox-group'; + relVal = what.attr(relType); + + if (!relVal) { + relType = 'rel'; + relVal = what.get(0)[ relType ]; + } + + if (relVal && relVal !== '' && relVal !== 'nofollow') { + what = selector.length ? $(selector) : that; + what = what.filter('[' + relType + '="' + relVal + '"]'); + idx = what.index(this); + } + + options.index = idx; + + // Stop an event from bubbling if everything is fine + if (F.open(what, options) !== false) { + e.preventDefault(); + } + } + }; + + options = options || {}; + index = options.index || 0; + + if (!selector || options.live === false) { + that.unbind('click.fb-start').bind('click.fb-start', run); + + } else { + D.undelegate(selector, 'click.fb-start').delegate(selector + ":not('.fancybox-item, .fancybox-nav')", 'click.fb-start', run); + } + + this.filter('[data-fancybox-start=1]').trigger('click'); + + return this; + }; + + // Tests that need a body at doc ready + D.ready(function() { + if ( $.scrollbarWidth === undefined ) { + // http://benalman.com/projects/jquery-misc-plugins/#scrollbarwidth + $.scrollbarWidth = function() { + var parent = $('
    ').appendTo('body'), + child = parent.children(), + width = child.innerWidth() - child.height( 99 ).innerWidth(); + + parent.remove(); + + return width; + }; + } + + if ( $.support.fixedPosition === undefined ) { + $.support.fixedPosition = (function() { + var elem = $('
    ').appendTo('body'), + fixed = ( elem[0].offsetTop === 20 || elem[0].offsetTop === 15 ); + + elem.remove(); + + return fixed; + }()); + } + + $.extend(F.defaults, { + scrollbarWidth : $.scrollbarWidth(), + fixed : $.support.fixedPosition, + parent : $('body') + }); + }); + +}(window, document, jQuery)); \ No newline at end of file diff --git a/fancy/fancybox/jquery.fancybox.pack.js b/fancy/fancybox/jquery.fancybox.pack.js new file mode 100644 index 0000000..088b5c6 --- /dev/null +++ b/fancy/fancybox/jquery.fancybox.pack.js @@ -0,0 +1,45 @@ +/*! fancyBox v2.1.3 fancyapps.com | fancyapps.com/fancybox/#license */ +(function(B,x,f,q){var r=f(B),m=f(x),b=f.fancybox=function(){b.open.apply(this,arguments)},u=null,n=x.createTouch!==q,s=function(a){return a&&a.hasOwnProperty&&a instanceof f},p=function(a){return a&&"string"===f.type(a)},E=function(a){return p(a)&&0
    ',image:'',iframe:'",error:'

    The requested content cannot be loaded.
    Please try again later.

    ',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing", +openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null, +isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=s(a)?f(a).get():[a]),f.each(a,function(e,c){var j={},g,h,i,l,k;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),s(c)?(j={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0, +j,c.metadata())):j=c);g=d.href||j.href||(p(c)?c:null);h=d.title!==q?d.title:j.title||"";l=(i=d.content||j.content)?"html":d.type||j.type;!l&&j.isDom&&(l=c.data("fancybox-type"),l||(l=(l=c.prop("class").match(/fancybox\.(\w+)/))?l[1]:null));p(g)&&(l||(b.isImage(g)?l="image":b.isSWF(g)?l="swf":"#"===g.charAt(0)?l="inline":p(c)&&(l="html",i=c)),"ajax"===l&&(k=g.split(/\s+/,2),g=k.shift(),k=k.shift()));i||("inline"===l?g?i=f(p(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):j.isDom&&(i=c):"html"===l?i=g:!l&&(!g&& +j.isDom)&&(l="inline",i=c));f.extend(j,{href:g,type:l,content:i,title:h,selector:k});a[e]=j}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==q&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current|| +b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer= +setTimeout(b.next,b.current.playSpeed))},c=function(){d();f("body").unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==q&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,j;c&&(j=b._getPosition(d),a&&"scroll"===a.type?(delete j.position,c.stop(!0,!0).animate(j,200)):(c.css(j),e.pos=f.extend({}, +e.dim,j)))},update:function(a){var d=a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(u),u=null);b.isOpen&&!u&&(u=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),u=null)},e&&!n?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,n&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"), +b.trigger("onUpdate")),b.update())},hideLoading:function(){m.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('
    ').click(b.cancel).appendTo("body");m.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked|| +!1,d={x:r.scrollLeft(),y:r.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=n&&B.innerWidth?B.innerWidth:r.width(),d.h=n&&B.innerHeight?B.innerHeight:r.height());return d},unbindEvents:function(){b.wrap&&s(b.wrap)&&b.wrap.unbind(".fb");m.unbind(".fb");r.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(r.bind("orientationchange.fb"+(n?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&m.bind("keydown.fb",function(e){var c=e.which||e.keyCode,j= +e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!j||!j.type&&!f(j).is("[contenteditable]")))&&f.each(d,function(d,j){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!i&&1g||0>j)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d, +e){e&&(b.helpers[d]&&f.isFunction(b.helpers[d][a]))&&(e=f.extend(!0,{},b.helpers[d].defaults,e),b.helpers[d][a](e,c))});f.event.trigger(a+".fb")}},isImage:function(a){return p(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$)/i)},isSWF:function(a){return p(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c,a=k(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&& +(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive= +!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&n&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(n?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,v(d.padding[a]))});b.trigger("onReady"); +if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width= +this.width;b.coming.height=this.height;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g, +(new Date).getTime())).attr("scrolling",n?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);n||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a= +b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,j,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents(); +e=a.content;c=a.type;j=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("
    ").html(e).find(a.selector):s(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('
    ').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder", +!1)}));break;case "image":e=a.tpl.image.replace("{href}",g);break;case "swf":e='',h="",f.each(a.swf,function(a,b){e+='';h+=" "+a+'="'+b+'"'}),e+='"}(!s(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow"); +a.inner.css("overflow","yes"===j?"scroll":"no"===j?"hidden":j);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,j=b.skin,g=b.inner,h=b.current,c=h.width,i=h.height,l=h.minWidth,t=h.minHeight,m=h.maxWidth, +n=h.maxHeight,r=h.scrolling,p=h.scrollOutside?h.scrollbarWidth:0,w=h.margin,y=k(w[1]+w[3]),q=k(w[0]+w[2]),x,z,s,C,A,F,B,D,u;e.add(j).add(g).width("auto").height("auto").removeClass("fancybox-tmp");w=k(j.outerWidth(!0)-j.width());x=k(j.outerHeight(!0)-j.height());z=y+w;s=q+x;C=E(c)?(a.w-z)*k(c)/100:c;A=E(i)?(a.h-s)*k(i)/100:i;if("iframe"===h.type){if(u=h.content,h.autoHeight&&1===u.data("ready"))try{u[0].contentWindow.document.location&&(g.width(C).height(9999),F=u.contents().find("body"),p&&F.css("overflow-x", +"hidden"),A=F.height())}catch(G){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass("fancybox-tmp");c=k(C);i=k(A);D=C/A;l=k(E(l)?k(l,"w")-z:l);m=k(E(m)?k(m,"w")-z:m);t=k(E(t)?k(t,"h")-s:t);n=k(E(n)?k(n,"h")-s:n);F=m;B=n;h.fitToView&&(m=Math.min(a.w-z,m),n=Math.min(a.h-s,n));z=a.w-y;q=a.h-q;h.aspectRatio?(c>m&&(c=m,i=k(c/D)),i>n&&(i=n,c=k(i*D)),cz||y>q)&&(c>l&&i>t)&&!(19m&&(c=m,i=k(c/D)),g.width(c).height(i),e.width(c+w),a=e.width(),y=e.height();else c=Math.max(l,Math.min(c,c-(a-z))),i=Math.max(t,Math.min(i,i-(y-q)));p&&("auto"===r&&iz||y>q)&&c>l&&i>t;c=h.aspectRatio?ct&&i
    ').appendTo("body");this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this,a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(r.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){f(a.target).hasClass("fancybox-overlay")&& +(b.isActive?b.close():d.close())});this.overlay.css(a.css).show()},close:function(){f(".fancybox-overlay").remove();r.unbind("resize.overlay");this.overlay=null;!1!==this.margin&&(f("body").css("margin-right",this.margin),this.margin=!1);this.el&&this.el.removeClass("fancybox-lock")},update:function(){var a="100%",b;this.overlay.width(a).height("100%");f.browser.msie?(b=Math.max(x.documentElement.offsetWidth,x.body.offsetWidth),m.width()>b&&(a=m.width())):m.width()>r.width()&&(a=m.width());this.overlay.width(a).height(m.height())}, +onReady:function(a,b){f(".fancybox-overlay").stop(!0,!0);this.overlay||(this.margin=m.height()>r.height()||"scroll"===f("body").css("overflow-y")?f("body").css("margin-right"):!1,this.el=x.all&&!x.querySelector?f("html"):f("body"),this.create(a));a.locked&&this.fixed&&(b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){b.locked&&(this.el.addClass("fancybox-lock"),!1!==this.margin&&f("body").css("margin-right",k(this.margin)+ +b.scrollbarWidth));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.isActive&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(p(e)&&""!==f.trim(e)){d=f('
    '+e+"
    ");switch(c){case "inside":c=b.skin;break;case "outside":c= +b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),f.browser.msie&&d.width(d.width()),d.wrapInner(''),b.current.margin[2]+=Math.abs(k(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",j=function(g){var h=f(this).blur(),i=d,j,k;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(j=a.groupAttr||"data-fancybox-group",k=h.attr(j),k||(j="rel", +k=h.get(0)[j]),k&&(""!==k&&"nofollow"!==k)&&(h=c.length?f(c):e,h=h.filter("["+j+'="'+k+'"]'),i=h.index(this)),a.index=i,!1!==b.open(h,a)&&g.preventDefault())},a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",j):m.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')","click.fb-start",j);this.filter("[data-fancybox-start=1]").trigger("click");return this};m.ready(function(){f.scrollbarWidth===q&&(f.scrollbarWidth=function(){var a=f('
    ').appendTo("body"), +b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===q){var a=f.support,d=f('
    ').appendTo("body"),e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")})})})(window,document,jQuery); \ No newline at end of file diff --git a/fancy/type_rating.php b/fancy/type_rating.php new file mode 100644 index 0000000..51ce4f2 --- /dev/null +++ b/fancy/type_rating.php @@ -0,0 +1,63 @@ + '; + } + if($user['klan'] != '') { + $r .= ' '; + } + $r .= ''.$user['login'].' ['.$user['level'].'] '; + return $r; +} + +function ClanImage($clan_id) { + $clanimg = mysql_fetch_assoc(mysql_query("SELECT `short` FROM `clans` WHERE `id` = '{$clan_id}' LIMIT 1")); + if($clanimg['short']) { + $clanimg = $clanimg['short']; + } else { + $clanimg = "1x1"; + } + return $clanimg; +} + +function form($type) { + $i = 1; $r = ''; $rs = ''; + $tps = array('exp' => 'Опыта', 'win' => 'Побед', 'lose' => 'Поражений', 'nich' => 'Ничьих'); + $r .= '
    '; + $r .= ' '; + $data = mysql_query('SELECT `id`, `login`, `level`, `align`, `klan`, `exp`, `win`, `lose`, `nich`, `bot`, `block` FROM `users` WHERE `bot` = 0 AND `align` != 2.99 AND `block` = 0 AND `email` != "admin@old-dark.ru" ORDER BY `'.$type.'` DESC LIMIT 100'); + while($row = mysql_fetch_array($data)) { + if($type == 'exp') { $rs = $row['exp']; } + if($type == 'win') { $rs = $row['win']; } + if($type == 'lose') { $rs = $row['lose']; } + if($type == 'nich') { $rs = $row['nich']; } + $r .= ''; + $r .= ''; + $r .= ''; + $r .= ''; + $r .= ''; + $i++; + } + $r .= '
      Персонаж '.$tps[$type].'
    '.$i.''.show_nick($row).''.$rs.'
    '; + $r .= '
    '; + return $r; +} + +if($_POST['type']) { + if($_POST['type'] == 'exp') { + echo form('exp'); + } elseif($_POST['type'] == 'win') { + echo form('win'); + } elseif($_POST['type'] == 'lose') { + echo form('lose'); + } elseif($_POST['type'] == 'nich') { + echo form('nich'); + } else { + echo 'Потерян параметр сортировки ...'; + } +} + +?> \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..aa03a2c Binary files /dev/null and b/favicon.ico differ diff --git a/fbattle.php b/fbattle.php new file mode 100644 index 0000000..81888aa --- /dev/null +++ b/fbattle.php @@ -0,0 +1,663 @@ + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + +
    + + + + +
    + +
    +
    + return) { + case 1 : + ?> + + + + + + + + +

    Поединок

    + Ваш ход +  
    +
    + 3) { + if (@$_GET['use']) { + $dressed = mysql_fetch_row(mysql_query("SELECT `id` FROM `inventory` WHERE `id` = '" . (int)$_GET['use'] . "' AND `dressed` = 1")); + if ((int)$dressed[0] > 0) { + $my_class = $fbattle->my_class; + ob_start(); + usemagic($_GET['use'], "" . $_POST['target']); + $bb = explode(" +
    + + Обновить + + + Сменить противника + +
    + + + + + + 0) && $fbattle->battle) { + echo '
    Ожидаем хода противника...
    0) ? "battle" : "end") . '>
    '; + } elseif ($user['hp'] <= 0 && $fbattle->battle) { + ref_drop($user['id']); + echo '
    Ожидаем, пока бой закончат другие игроки...
    0) ? "battle" : "end") . '>
    '; + } + break; + case 3 : + echo "

    Противник долго не делает свой ход, вы можете закончить бой победителем
    +
    "; + if (!$fbattle->user['in_tower'] && $fbattle->user['room'] != 200) { + echo "или признать ничью
    +
    "; + } + echo "или
    + +
    "; + break; + } + + if ($enemy == 0) { + // проверяем на вшивость + if (!$fbattle->battle) { + if ($user['battle']) { + $ll = $user['battle']; + } else { + $ll = $_POST['batl']; + } + if (!$ll) { + $ll_r = mysql_fetch_array(mysql_query("SELECT `id` FROM `battle` WHERE (`t1` LIKE '%{$user['id']}%' || `t2` LIKE '%{$user['id']}%') AND `win` = '3' LIMIT 1")); + $ll = $ll_r['id']; + } + $data = @mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id` = {$ll} LIMIT 1")); + $damage = unserialize($data['damage']); + $exp = unserialize($data['exp']); + if (empty($damage[$user['id']])) { + $damage[$user['id']] = 0; + } + if ($user['caveleader'] > 0 || $user['laba'] > 0) { + $rep = floor($damage[$user['id']] / 300); + if ($rep <= 0) { + $rep = 0; + } + $ads = '. Репутации: ' . $rep . ' ед.'; + } else { + $rep = 0; + $ads = '.'; + } + + echo '

    Бой закончен! Всего вами нанесено урона ' . $damage[$user['id']] . ' HP. Получено опыта ' . (int)$exp[$user['id']] . ' (' . check_proc($user['id']) . '%)' . $ads . '

    '; + } + } else { + ?> + + + + battle) { + ?> +
    +
    + t1 as $k => $v) { + if (in_array($v, array_keys($fbattle->battle))) { + ++$i; + if ($i > 1) { + $cc = ', '; + } else { + $cc = ''; + } + $ffs .= $cc . nick4($v, "B1"); + $zz .= "private [" . nick7($v) . "] "; + } + } + + $i = 0; + ?> + + + против + t2 as $k => $v) { + if (in_array($v, array_keys($fbattle->battle))) { + ++$i; + if ($i > 1) { + $cc = ', '; + } else { + $cc = ''; + } + $ffs .= $cc . nick4($v, "B2"); + $zz .= "private [" . nick7($v) . "] "; + } + } + $i = 0; + ?> + + +
    + На данный момент вами нанесено урона: damage[$user['id']] ?> HP. + + (Бой идет с + таймаутом battle_data['timeout'] ?> мин.) + +
    +
    +
    + "; + } + + if ($user['battle']) { + $ll = $user['battle']; + } elseif ($_REQUEST['batl']) { + $ll = $_REQUEST['batl']; + } else { + $ll = $_SESSION['batl']; + } + + if (!$ll) { + $ll_r = mysql_fetch_array(mysql_query("SELECT `id` FROM `battle` WHERE (`t1` LIKE '%{$user['id']}%' OR `t2` LIKE '%{$user['id']}%') AND `win` = 3 LIMIT 1")); + $ll = $ll_r['id']; + } + + $fs = filesize("backup/logs/battle" . $ll . ".txt"); + $fh = fopen("backup/logs/battle" . $ll . ".txt", "r"); + fseek($fh, -4256, SEEK_END); + $log[0] = fread($fh, 4256); + fclose($fh); + $log = explode("
    ", $log[0]); + $ic = count($log) - 2; + + if ($fs >= 4256) { + $max = 1; + } else { + $max = 0; + } + + for ($i = $ic; $i >= 0 + $max; --$i) { + if (eregi("
    ", $log[$i])) { + $log[$i] = str_replace("
    ", "", $log[$i]); + $log[$i] = $log[$i] . "
    "; + } + if (eregi(">" . $user['login'] . "", $log[$i])) { + $log[$i] = str_replace("", "", $log[$i]); + } + if ($ll != 0) { + if (eregi("
    ", $log[$i])) { + echo $log[$i]; + } else { + echo $log[$i] . "
    "; + } + } + } + unset($ic); + + if ($max == 1) { + ?> + Обрезано для уменьшения объема информации. Полную версию смотрите здесь» +
    + (Бой идет с таймаутом battle_data['timeout'] ?> мин.)
    + +
    + На данный момент вами нанесено урона: damage[$user['id']] ?> HP. + + + + + + + +
    +
    + return == 1) { + echo showinf_pers($fbattle->enemy, 1, 1); + } else { + if ($fbattle->battle_data['type'] == 4 || $fbattle->battle_data['type'] == 5) { + $a = array(6, 16); + echo ""; + } elseif ($fbattle->return > 1) { + echo ""; + } elseif ($exp[$user['id']] > 0) { + echo ""; + } else { + echo ""; + } + } + + if ($fbattle->needrefresh) { + header("Location: fbattle.php?" . time()); + } + + if ($fbattle->battle_data['needbb']) { + foreach ($fbattle->battle as $k => $v) { + if ($k > _BOTSEPARATOR_) { + foreach ($v as $k2 => $v2) { + if ($k2 < _BOTSEPARATOR_) continue; + $hp_1 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "' . $k . '" LIMIT 1')); + $hp_2 = mysql_fetch_array(mysql_query('SELECT `hp` FROM `bots` WHERE `id` = "' . $k2 . '" LIMIT 1')); + if ($fbattle->battle[$k][$k2][0] && $fbattle->battle[$k2][$k][0] && $hp_1['hp'] > 0 && $hp_2['hp'] > 0 && time() - $fbattle->battle[$k][$k2][2] > 1 && time() - $fbattle->battle[$k2][$k][2] > 1) { + $at_1 = $fbattle->battle[$k][$k2][0]; + $def_1 = $fbattle->battle[$k][$k2][1]; + $at_2 = $fbattle->battle[$k2][$k][0]; + $def_2 = $fbattle->battle[$k2][$k][1]; + $fbattle->makechange($k, $k2, $at_1, $at_2, $def_1, $def_2); + $fbattle->write_log(); + $fbattle->battle[$k][$k2] = array(0, 0, time()); + $fbattle->battle[$k2][$k] = array(0, 0, time()); + $fbattle->needupdate = 1; + } + } + } + } + if ($fbattle->needupdate) { + $fbattle->UpdateBattle(); + } + } + + ?> +
    + + + + + + + + + + + + + + \ No newline at end of file diff --git a/fight.php b/fight.php new file mode 100644 index 0000000..c6ae993 --- /dev/null +++ b/fight.php @@ -0,0 +1,378 @@ + + + + Ещё один БК... + + + + + + + + + + + \ No newline at end of file diff --git a/file_db_func.php b/file_db_func.php new file mode 100644 index 0000000..ce90700 --- /dev/null +++ b/file_db_func.php @@ -0,0 +1,87 @@ + $v) { + $kv = explode('@=||=@', $v); + if($key == '*') { + $arr[$kv[0]] = $kv[1]; + } elseif ($kv[0] == $key) { + $arr = $kv[1]; + } + } + return $arr; + } else { + return false; + } +} + +function select_line_to_file($name, $query, $key = '*') { + global $start_dir; + $r = mysql_fetch_assoc(mysql_query($query)); + if($key != '*') { + if(file_exists($start_dir.$name)) { + $oldl = ($start_dir.$name); + foreach($oldl as $k => $v) { + $kv = explode('@=||=@', $v); + $oldv[$kv[0]]=$kv[1]; + } + } + } + $nf = fopen($start_dir.$name, 'w'); + if($key != '*') { + $found = false; + foreach($oldv as $k => $v) { + if($k == $key) { + $found = true; + $v = $r[$k]; + } + fputs($nf, $k."@=||=@".$v."@=||=@\n"); + } + if($found == false) { + fwrite($nf,$key."@=||=@".$r[$key]."@=||=@\n"); + } + } else { + foreach($r as $k => $v) { + fwrite($nf,$k."@=||=@".$v."@=||=@\n"); + } + } + fclose($nf); + return $r; +} + +function update_file($name, $key, $val, $inc = false) { + global $start_dir; + $ex = file_exists($start_dir.$name); + if($ex) { + $oldl = ($start_dir.$name); + foreach($oldl as $k => $v) { + $kv = explode('@=||=@', $v); + $oldv[$kv[0]] = $kv[1]; + } + } + if($ex || $inc == false) { + $nf = fopen($start_dir.$name, 'w'); + $found = false; + if(is_array($oldv)) + foreach($oldv as $k => $v) { + if($k == $key) { + $found = true; + $v = $inc == false ? $val:$v+$val; + } + fputs($nf,$k."@=||=@".$v."@=||=@\n"); + } + if($found == false) { + fwrite($nf,$key."@=||=@".$val."@=||=@\n"); + } + fclose($nf); + return "OK"; + } + return false; +} +?> \ No newline at end of file diff --git a/fontan_luck.php b/fontan_luck.php new file mode 100644 index 0000000..8f3740c --- /dev/null +++ b/fontan_luck.php @@ -0,0 +1,134 @@ + + + + 404 + + + + + + + + + + + + + + + + +
    + + +
    +
    + +

    Фонтан удачи

    + + + +
    + +
    +Выпив живительной воды из фонтана можно восстановить свои силы.
    +Персонажи до 7 уровня включительно могут восстанавливать здоровье бесплатно. +

    +  +  + + +
    + +
    +
    + +
    +

    + +

    +

    Монет в фонтане:
    +
    +
    + +
    + +
    + +
    + + + \ No newline at end of file diff --git a/forest.php b/forest.php new file mode 100644 index 0000000..b0d401f --- /dev/null +++ b/forest.php @@ -0,0 +1,233 @@ +".nick3($user['id'])."
    и ".nick3($bot).""; + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + addchp ('Внимание! На вас напал "'.$bots[$rbot].'". ','{[]}'.nick7 ($user["id"]).'{[]}'); +} + + +if($user['battle'] > 0) { header('location: fbattle.php'); die(); } + +$les_login = mysql_fetch_array(mysql_query("SELECT * FROM `les_game` WHERE `owner` = '".$user['id']."' LIMIT 1")); + +$rooms = array("A1" => array('20', '', 'A2', '', 'B1'), "A2" => array('15', 'A1', 'A3', '', ''), "A3" => array('15', 'A2', '', '', ''), "A4" => array('15', '', 'A5', '', 'B4'), "A5" => array('15', 'A4', '', '', 'B5'), "A6" => array('15', '', 'A7', '', 'B6'), "A7" => array('15', 'A6', 'A8', '', ''), "A8" => array('15', 'A7', '', '', 'B8'), "B1" => array('20', '', '', 'A1', ''), "B2" => array('15', '', 'B3', '', 'C2'), "B3" => array('15', 'B2', 'B4', '', ''), "B4" => array('15', 'B3', '', 'A4', ''), "B5" => array('15', '', 'B6', 'A5', ''), "B6" => array('15', 'B5', 'B7', 'A6', ''), "B7" => array('15', 'B6', '', '', 'C7'), "B8" => array('15', '', '', 'A8', 'C8'), "C1" => array('20', '', '', '', 'D1'), "C2" => array('15', '', 'C3', 'B2', 'D2'), "C3" => array('15', 'C2', '', '', 'D3'), "C4" => array('15', '', '', '', 'D4'), "C5" => array('15', '', '', '', 'D5'), "C6" => array('15', '', 'C7', '', ''), "C7" => array('15', 'C6', 'C8', 'B7', ''), "C8" => array('15', 'C7', '', 'B8', 'D8'), "D1" => array('20', '', 'D2', 'C1', 'E1'), "D2" => array('15', 'D1', 'D3', 'C2', 'E2'), "D3" => array('15', 'D2', 'D4', 'C3', 'E3'), "D4" => array('15', 'D3', 'D5', 'C4', 'E4'), "D5" => array('15', 'D4', '', 'C5', ''), "D6" => array('15', '', 'D7', '', 'E6'), "D7" => array('15', 'D6', '', '', ''), "D8" => array('15', '', '', 'C8', 'E8'), "E1" => array('20', '', 'E2', 'D1', 'F1'), "E2" => array('15', 'E1', 'E3', 'D2', 'F2'), "E3" => array('15', 'E2', 'E4', 'D3', 'F3'), "E4" => array('15', 'E3', 'E5', 'D4', 'F4'), "E5" => array('15', 'E4', 'E6', '', 'F5'), "E6" => array('15', 'E5', '', 'D6', ''), "E7" => array('15', '', 'E8', '', 'F7'), "E8" => array('15', 'E7', '', 'D8', 'F8'), "F1" => array('20', '', 'F2', 'E1', 'G1'), "F2" => array('15', 'F1', 'F3', 'E2', 'G2'), "F3" => array('15', 'F2', 'F4', 'E3', 'G3'), "F4" => array('15', 'F3', 'F5', 'E4', 'G4'), "F5" => array('15', 'F4', '', 'E5', 'G5'), "F6" => array('15', '', '', '', 'G6'), "F7" => array('15', '', '', 'E7', 'G7'), "F8" => array('15', '', '', 'E8', 'G8'), "G1" => array('20', '', '', 'F1', 'H1'), "G2" => array('15', '', '', 'F2', ''), "G3" => array('15', '', '', 'F3', ''), "G4" => array('15', '', '', 'F4', ''), "G5" => array('15', '', 'G6', 'F5', ''), "G6" => array('15', 'G5', 'G7', 'F6', ''), "G7" => array('15', 'G6', 'G8', 'F7', ''), "G8" => array('15', 'G7', '', 'F8', 'H8'), "H1" => array('20', '', 'H2', 'G1', 'I1'), "H2" => array('15', 'H1', '', '', 'I2'), "H3" => array('15', '', '', '', 'I3'), "H4" => array('15', '', 'H5', '', 'I4'), "H5" => array('15', 'H4', '', '', 'I5'), "H6" => array('15', '', 'H7', '', 'I6'), "H7" => array('15', 'H6', '', '', 'I7'), "H8" => array('15', 'H7', '', 'G8', 'I8'), "I1" => array('20', '', 'I2', 'H1', ''), "I2" => array('15', 'I1', 'I3', 'H2', ''), "I3" => array('15', 'I2', 'I4', 'H3', ''), "I4" => array('15', 'I3', 'I5', 'H4', ''), "I5" => array('15', 'I4', 'I6', 'H5', ''), "I6" => array('15', 'I5', 'I7', 'H6', ''), "I7" => array('15', 'I6', 'I8', 'H7', ''), "I8" => array('15', 'I7', '', 'H8', '')); + +$time = $_SESSION['time']-time(); +if($time < 0) { $time = 0; } + +if($_GET["v"] && $_GET["v"] != '' && $time <= 0 && $rooms[$les_login['room']][1] == $_GET["v"]) { + $_SESSION['time'] = time()+$rooms[$les_login['room']][0]; + mysql_query("UPDATE `les_game` SET `room` = '".$_GET["v"]."' WHERE `owner` = '".$user['id']."' LIMIT 1"); + $_GET["v"] = 0; +} + +if($_GET["n"] && $_GET["n"] != '' && $time <= 0 && $rooms[$les_login['room']][2] == $_GET["n"]) { + $_SESSION['time'] = time()+$rooms[$les_login['room']][0]; + mysql_query("UPDATE `les_game` SET `room` = '".$_GET["n"]."' WHERE `owner` = '".$user['id']."' LIMIT 1"); + $_GET["n"] = 0; +} + +if($_GET["l"] && $_GET["l"] != '' && $time <= 0 && $rooms[$les_login['room']][3] == $_GET["l"]) { + $_SESSION['time'] = time()+$rooms[$les_login['room']][0]; + mysql_query("UPDATE `les_game` SET `room` = '".$_GET["l"]."' WHERE `owner` = '".$user['id']."' LIMIT 1"); + $_GET["l"] = 0; +} + +if($_GET["p"] && $_GET["p"] != '' && $time <= 0 && $rooms[$les_login['room']][4] == $_GET["p"]) { + $_SESSION['time'] = time()+$rooms[$les_login['room']][0]; + mysql_query("UPDATE `les_game` SET `room` = '".$_GET["p"]."' WHERE `owner` = '".$user['id']."' LIMIT 1"); + $_GET["p"] = 0; +} + + +///////////////Сбор///////////// +if($_GET['res']) { + $gss = mysql_fetch_array(mysql_query("SELECT * FROM `les_res` WHERE `owner` = '".$user['id']."' AND `id` = '".mysql_real_escape_string($_GET['res'])."' AND `kom` = '".$les_login['room']."' LIMIT 1")); + if($gss) { + $f = mysql_query("SELECT `koll` FROM `inventory` WHERE `owner` = '".$user['id']."' AND `type` = '200' AND `name` = '".$gss['name']."' LIMIT 1"); + if($g = mysql_fetch_array($f)) { + mysql_query("UPDATE `inventory` SET `koll` = (`koll`+1), `massa` = (`massa`+0.1) WHERE `owner` = '".$user['id']."' AND `type` = '200' AND `name` = '".$gss['name']."' LIMIT 1"); + } else { + $fo = mysql_query("INSERT INTO `inventory`(`name`, `koll`, `img`, `owner`, `type`, `massa`, `isrep`, `podzem`, `maxdur`, `present`) VALUES ('".$gss['name']."', '1', '".$gss['img']."', '".$user['id']."', '200', '0.1', '0', '1', '1', 'Лес')"); + } + mysql_query("DELETE FROM `les_res` WHERE `id` = '".$gss['id']."' LIMIT 1"); + addchp ('Внимание! '.$user["login"].', поднял предмет "'.$gss['name'].'".', '{[]}'.nick7 ($user["id"]).'{[]}'); + echo "Вы подняли '".$gss['name']."'."; + } else { + echo " Кто-то оказался быстрее!";} +} + +?> + + + + + + +)"> +

    Лес

    +
    + +
    + + + +
    +
    + + + + + + + + + + +"; +} +?> +
    ИмяHpРасположение
    + target=_blank title="Информация о ">/
    +
    + +
    + + + + +
    + + + + + + + + + + +
    +Карта +
    +Расположение :
    +Не собрано ресурсов :
    + + +
    +"; +} +?> +
    + +
    + + \ No newline at end of file diff --git a/forum.php b/forum.php new file mode 100644 index 0000000..56273a2 --- /dev/null +++ b/forum.php @@ -0,0 +1,1024 @@ + "' . time() . '" AND `type` = "3" LIMIT 1')); + +if (!isset($_GET['page'])) { + $ps = 0; +} else { + $ps = $_GET['page']; +} + + +$dostupPal = false; +$dostupSovet = false; +if (($user['align'] >= 1.7 && $user['align'] < 2) || $user['align'] == 2.4) { + $dostupPal = true; +} + +if (($user['align'] >= 1.98 && $user['align'] <= 1.99) || $user['admin'] == 1 || $user['align'] == 10) { + $dostupSovet = true; + $dostupPal = true; +} + +$edit = ''; + +function nick3($id) +{ + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '" . mysql_real_escape_string($id) . "' LIMIT 1")); + $mm = ''; + if (isset($user['id'])) { + if ($user['baned'] == 1) { + $mm .= ''; + } + if ($user['align'] > 0) { + $mm .= ''; + } + if ($user['klan'] != '') { + $mm .= ' '; + } + $mm .= '' . $user['login'] . ''; + + $mm .= ' [' . $user['level'] . ']'; + + } + return $mm; +} + +function ClanImage($clan_id) +{ + $clanimg = mysql_fetch_assoc(mysql_query("SELECT `short` FROM `clans` WHERE `id` = '{$clan_id}' LIMIT 1")); + if ($clanimg['short']) { + $clanimg = $clanimg['short']; + } else { + $clanimg = "1x1"; + } + return $clanimg; +} + +$search = ''; +if (isset($_GET['do']) && $_GET['do'] != "search" && $_GET['do'] != "my_topics" && $_GET['do'] != "my_comments" && $_GET['do'] != "open" && $_GET['do'] != "close" && $_GET['do'] != "fix" && $_GET['do'] != "unfix") { + echo ''; +} elseif (isset($_GET['do']) && $_GET['do'] == "search") { + $search .= '


    '; +} + +$news_topic = false; +if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228043095) { + $news_topic = true; +} + +?> + + + + Форум Бойцовского клуба + + + + + + + + + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + +
    + +
    +

    +
    +
    + Не авторизованы
    "; + } else { + echo "Игрок : " . nick3($user['id']) . "
    "; + } + ?> +
    + Конференции +
    + + + + + + +
    + + + +
    + = $row['min_align'] && $user['align'] <= $row['max_align']) || $user['align'] == '1.99' || $user['admin'] == '1' || $user['align'] == '10') { + $replasepost .= ""; + + $min = $row['min_align'] == 0; + $max = $row['max_align'] == 0; + + if (!isset($user['id']) || (($user['align'] < $row['min_align']) || ($user['align'] > $row['max_align']) && !$min && !$max) && $user['align'] != '2.99') { + echo '   '; + } else { + echo '    '; + } + echo '' . $row['topic'] . '
    '; + } + } + } + ?> +
    + + + + + + +
    + + + +
    +
    +
    + "<$1$2>", + '/\[(left|center|right)\]/' => '

    ', + '/\[\/(left|center|right)\]/' => '

    ', + '/\[url\s?(src=)?\s?(.+?)\s?(target=(_blank|_self))?\](.+?)\[\/url\]/' => '$5', + '/\[img width=([0-9]{1,4}) height=([0-9]{1,4})\](.+?)\[\/img\]/' => '', + '/\[img\](.+?)\[\/img\]/' => '', + '/\[quote\](.+?)\[\/quote\]/' => "
    $1
    ", + '/\[code\](.+?)\[\/code\]/' => "
    $1
    ", + // Смайлы + '/\:smile0\:/' => '', + '/\:baby\:/' => '', + '/\:sniper\:/' => '', + '/\:trup\:/' => '', + '/\:beggar\:/' => '', + '/\:rotate\:/' => '', + '/\:hello\:/' => '', + '/\:sten\:/' => '', + '/\:shuffle\:/' => '', + '/\:elix\:/' => '', + '/\:smil\:/' => '', + '/\:mdr\:/' => '', + '/\:podz\:/' => '', + '/\:dont\:/' => '', + '/\:grust\:/' => '', + '/\:boks\:/' => '', + '/\:susel\:/' => '', + '/\:dedmoroz\:/' => '', + '/\:creator\:/' => '', + '/\:no\:/' => '', + '/\:horse\:/' => '', + '/\:vamp\:/' => '', + '/\:eek\:/' => '', + '/\:sorry\:/' => '', + '/\:friday\:/' => '', + '/\:obm\:/' => '', + '/\:smile\:/' => '', + '/\:nail\:/' => '', + '/\:gent\:/' => '', + '/\:beer\:/' => '', + '/\:inv\:/' => '', + '/\:fire\:/' => '', + '/\:dance1\:/' => '', + '/\:maniac\:/' => '', + '/\:kiss4\:/' => '', + '/\:confused\:/' => '', + '/\:kiss2\:/' => '', + '/\:snowfight\:/' => '', + '/\:row\:/' => '', + '/\:naem\:/' => '', + '/\:radio1\:/' => '', + '/\:fie\:/' => '', + '/\:love\:/' => '', + '/\:sneeze\:/' => '', + '/\:mol\:/' => '', + '/\:showng\:/' => '', + '/\:rocket\:/' => '', + '/\:dustman\:/' => '', + '/\:rupor\:/' => '', + '/\:nnn\:/' => '', + '/\:snegur\:/' => '', + '/\:dance2\:/' => '', + '/\:jeer\:/' => '', + '/\:kiss\:/' => '', + '/\:ponder\:/' => '', + '/\:drink\:/' => '', + '/\:angel\:/' => '', + '/\:idea\:/' => '', + '/\:lady\:/' => '', + '/\:gun\:/' => '', + '/\:pif\:/' => '', + '/\:help\:/' => '', + '/\:alch\:/' => '', + '/\:kiss3\:/' => '', + '/\:hug\:/' => '', + '/\:lordhaos\:/' => '', + '/\:rose\:/' => '', + '/\:radio2\:/' => '', + '/\:boks2\:/' => '', + '/\:str\:/' => '', + '/\:invis\:/' => '', + '/\:rev\:/' => '', + '/\:ok\:/' => '', + '/\:alien\:/' => '', + '/\:smash\:/' => '', + '/\:super\:/' => '', + '/\:love2\:/' => '', + '/\:victory\:/' => '', + '/\:kruger\:/' => '', + '/\:agree\:/' => '', + '/\:hi\:/' => '', + '/\:privet\:/' => '', + '/\:devil\:/' => '', + '/\:naem2\:/' => '', + '/\:tongue\:/' => '', + '/\:red\:/' => '', + '/\:doc\:/' => '', + '/\:icon7\:/' => '', + '/\:lightfly\:/' => '', + '/\:owl\:/' => '', + '/\:pirate\:/' => '', + '/\:sword\:/' => '', + '/\:bye\:/' => '', + '/\:mad\:/' => '', + '/\:fingal\:/' => '', + '/\:nono\:/' => '', + '/\:loveya\:/' => '', + '/\:cry\:/' => '', + '/\:superng\:/' => '', + '/\:yes\:/' => '', + '/\:crying\:/' => '', + '/\:\'\(\:/' => '', + '/\:flowers\:/' => '', + '/\:tease\:/' => '', + '/\:wink\:/' => '', + '/\:sharp\:/' => '', + '/\:nunu\:/' => '', + '/\:angel2\:/' => '', + '/\:naem3\:/' => '', + '/\:lick\:/' => '', + '/\:ninja\:/' => '', + '/\:cat\:/' => '', + '/\:smoke\:/' => '', + '/\:chtoza\:/' => '', + '/\:grace\:/' => '', + '/\:tongue2\:/' => '', + '/\:sorry2\:/' => '', + '/\:yar\:/' => '', + '/\:king2\:/' => '', + '/\:carreat\:/' => '', + '/\:hlw\:/' => '', + '/\:grenade\:/' => '', + '/\:bow\:/' => '', + '/\:doc2\:/' => '', + '/\:duel\:/' => '', + '/\:mag\:/' => '', + '/\:king\:/' => '', + '/\:laugh\:/' => '', + '/\:pal\:/' => '', + '/\:nun\:/' => '', + '/\:ura\:/' => '', + ); + + $text = preg_replace(array_keys($bbCodes), array_values($bbCodes), $text); + $text = close_dangling_tags($text); + + return $text; + } + + function close_dangling_tags($html) + { + preg_match_all("#<([a-z]+)( .*)?(?!/)>#iU", $html, $result); + $openedtags = $result[1]; + preg_match_all("##iU", $html, $result); + $closedtags = $result[1]; + $len_opened = count($openedtags); + if (count($closedtags) == $len_opened) { + return $html; + } + $openedtags = array_reverse($openedtags); + for ($i = 0; $i < $len_opened; $i++) { + if (!in_array($openedtags[$i], $closedtags)) { + if ($openedtags[$i] != 'br') { + $html .= ''; + } + } else { + unset($closedtags[array_search($openedtags[$i], $closedtags)]); + } + } + return $html; + } + + if (isset($_POST['add']) && isset($user['id'])) { + + $icon = htmlentities($_POST['icon'], ENT_NOQUOTES, 'utf8'); + $text2 = htmlspecialchars($_POST['title'], ENT_NOQUOTES, 'utf8'); + $text1 = parse_bb_code(preg_replace("/\n/", "
    ", $_POST['text'])); + + $minmax = mysql_fetch_array(mysql_query("SELECT `min_align`, `max_align` FROM `forum` WHERE `id` = '" . mysql_real_escape_string($_GET['conf']) . "' LIMIT 1")); + $min_align = $minmax['min_align']; + $max_align = $minmax['max_align']; + if (!isset($_POST['text']) || !isset($_POST['title']) || $_POST['title'] == "" || $_POST['title'] == " " || $_POST['text'] == "" || $_POST['text'] == " ") { + $error = "Заголовок или текст не могут быть пустыми"; + } elseif (($minmax['min_align'] == 0 && $minmax['max_align'] == 0) || ($user['align'] >= $minmax['min_align'] && $user['align'] <= $minmax['max_align']) || $dostupSovet) { + if ($user['invis'] == 1) { + $userPost = 'Невидимка'; + } else { + $userPost = nick3($user['id']); + } + if ($dostupPal == true) { + $text1 = $text1; + } else { + $text1 = strip_tags($text1, '
    '); + } + mysql_query("INSERT INTO `forum` (`type`, `topic`, `text`, `parent`, `author`, `date`, `min_align`, `max_align`, `icon`) VALUES ('2', '" . mysql_real_escape_string($text2) . "', '" . $text1 . "', '" . mysql_real_escape_string($_GET['conf']) . "', '" . $userPost . "', '" . date('d.m.y H:i:s') . "', '" . mysql_real_escape_string($min_align) . "', '" . mysql_real_escape_string($max_align) . "', '" . mysql_real_escape_string($icon) . "')"); + $topic_id = mysql_insert_id(); + unset($_POST['text']); + print ""; + exit(); + } else { + $error = "Вы не можете писать в этой конференции"; + } + unset($_POST['add']); + } + + if (isset($_POST['add2']) && isset($user['id'])) { + $text2 = htmlspecialchars($_POST['title'], ENT_NOQUOTES, 'utf8'); + $text1 = parse_bb_code(preg_replace("/\n/", "
    ", $_POST['text'])); + + $minmax = mysql_fetch_array(mysql_query("SELECT `min_align`,`max_align`, `close`, `parent` FROM `forum` WHERE `id` = '" . mysql_real_escape_string($_GET['topic']) . "' LIMIT 1")); + $min_align = $minmax['min_align']; + $max_align = $minmax['max_align']; + + if (!isset($_POST['text']) || $_POST['text'] == "" || $_POST['text'] == " ") { + $error = "Текст не может быть пустыми"; + } elseif (!is_numeric($_GET['topic'])) { + $error = "Не надо так делать"; + } + + if (($minmax['min_align'] == 0 && $minmax['max_align'] == 0) || ($user['align'] >= $minmax['min_align'] && $user['align'] <= $minmax['max_align']) && $minmax['close'] == "0" || $dostupSovet) { + if ($user['invis'] == 1) { + $userPost = 'Невидимка'; + } else { + $userPost = nick3($user['id']); + } + + if ($dostupPal == false) { + $text1 = strip_tags($text1, '

    '); + } + + mysql_query("INSERT INTO `forum` (`type`, `topic`, `text`, `parent`, `author`, `date`, `min_align`, `max_align`) VALUES ('2', '" . mysql_real_escape_string($text2) . "', '" . $text1 . "', '" . mysql_real_escape_string($_GET['topic']) . "', '" . $userPost . "', '" . date("d.m.y H:i:s") . "', '" . mysql_real_escape_string($min_align) . "', '" . mysql_real_escape_string($max_align) . "')"); + mysql_query('UPDATE `forum` SET `updated` = now() WHERE `id` = "' . mysql_real_escape_string($_GET['topic']) . '" LIMIT 1'); + + + unset($_POST['text']); + if (isset($_GET['page']) && (int)$_GET['page'] > 0) { + $page_num = '&page=' . $_GET['page']; + } else { + $page_num = '&page=0'; + } + echo ''; + exit(); + } else { + $error = "Вы не можете писать в этой конференции"; + } + unset($_POST['add2']); + } + + if (isset($_GET['dp']) && $dostupPal == true) { + if ($_GET['dp'] > 100) { + mysql_query("DELETE FROM `forum` WHERE `id` = '" . mysql_real_escape_string($_GET['dp']) . "' LIMIT 1"); + mysql_query("DELETE FROM `forum` WHERE `parent` = '" . mysql_real_escape_string($_GET['dp']) . "'"); + echo ""; + exit(); + } + } + + if (isset($_GET['dt']) && $dostupPal == true) { + if ($_GET['dt'] > 100) { + mysql_query("DELETE FROM `forum` WHERE `id` = '" . mysql_real_escape_string($_GET['dt']) . "' LIMIT 1"); + mysql_query("DELETE FROM `forum` WHERE `parent` = '" . mysql_real_escape_string($_GET['dt']) . "'"); + echo ""; + exit(); + } + } + + if (isset($_GET['com']) && isset($_GET['cpr']) && $dostupPal == true) { + if ($user['invis'] == 1) { + mysql_query("UPDATE `forum` SET `text` = CONCAT(`text`,'
    Невидимка: " . mysql_real_escape_string($_GET['cpr']) . "') WHERE `id` = '" . mysql_real_escape_string($_GET['com']) . "' LIMIT 1"); + } else { + mysql_query("UPDATE `forum` SET `text` = CONCAT(`text`,'
    " . mysql_real_escape_string(nick3($user['id'])) . ": " . mysql_real_escape_string($_GET['cpr']) . "') WHERE `id` = '" . mysql_real_escape_string($_GET['com']) . "' LIMIT 1"); + } + echo ""; + exit(); + } + + if (isset($_GET['do']) && $dostupPal == true) { + if ($user['align'] >= 1.7 && $user['align'] < 2) { + $palclose = 'паладином ' . nick3($user['id']); + } elseif ((int)$user['admin'] == 1) { + $palclose = 'Администрацией'; + } + + if ($_GET['do'] == "open") { + mysql_query("UPDATE `forum` SET `close` = '0' WHERE `id` = '" . mysql_real_escape_string($_GET['topic']) . "' LIMIT 1"); + echo ""; + exit(); + } + Обсуждение закрыто " . $palclose . " + if ($_GET['do'] == "close") { + mysql_query("UPDATE `forum` SET `close` = '1', `closepal` = 'Обсуждение закрыто " . $palclose . "' WHERE `id` = '" . mysql_real_escape_string($_GET['topic']) . "' LIMIT 1"); + echo ""; + exit(); + } + + if ($_GET['do'] == "fix") { + mysql_query("UPDATE `forum` SET `fix` = '1' WHERE `id` = '" . mysql_real_escape_string($_GET['topic']) . "' LIMIT 1"); + echo ""; + exit(); + } + + if ($_GET['do'] == "unfix") { + mysql_query("UPDATE `forum` SET `fix` = '0' WHERE `id` = '" . mysql_real_escape_string($_GET['topic']) . "' LIMIT 1"); + echo ""; + exit(); + } + } + + if (!isset($_GET['conf'])) { + $row = mysql_fetch_array(mysql_query("SELECT * FROM `forum` WHERE `id` = '" . mysql_real_escape_string($_GET['topic']) . "'")); + if (($row['min_align'] == 0 && $row['max_align'] == 0) || ($user['align'] >= $row['min_align'] && $user['align'] <= $row['max_align']) || $user['align'] == "1.99" || $user['align'] == 2.99) { + $top = $row['parent']; + $parentCat = mysql_fetch_array(mysql_query("SELECT * FROM `forum` WHERE `id` = '" . $top . "' LIMIT 1")); + $icons = $row['icon']; + ?> +

    + + +

    + Конференция "" + +

    + ' . $error . ''; + } ?> +
    + 0)) { + if ($row['close'] == 1) { + $close = "Открыть"; + $closed = 1; + $closepal = $row['closepal']; + } else { + $close = "Закрыть"; + } + if ($row['fix'] == 1) { + $fix = "Открепить"; + } else { + $fix = "Прикрепить"; + } + + if ($dostupPal == true) { + echo '
    +
    + + ' . $close . ' | ' . $fix . ' + +

    + '; + echo "
    "; + if (isset($_POST['selectt'], $_POST['numt']) && $_POST['selectt'] != '' && $_POST['numt'] != '') { + $error = "

    Тема перемещена.

    forum.php?topic=" . $_POST['numt'] . "&konftop=" . $_POST['selectt'] . "
    "; + } + } + $pgs = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `forum` WHERE `parent` = '" . mysql_real_escape_string($_GET['topic']) . "'")); + $pgs = $pgs[0] / 20; + if ($pgs > 1) { + echo " Страницы : "; + } + $pages_str = ''; + $page = (int)$_GET['page'] > 0 ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0; + $page = ceil($page); + if ($pgs > 1) { + for ($i = 0; $i < ceil($pgs); $i++) { + if (($i > ($page - 5)) && ($i <= ($page + 4))) { + $pages_str .= ($i == $page ? " " . ($i + 1) . "" : " " . ($i + 1) . ""); + } + } + $pages_str .= ($page < $pgs - 5 ? " ..." : ""); + $pages_str = ($page > 4 ? " « ... " : "") . $pages_str . (($page < ($pgs - 1) ? " » " : "")); + } + $FirstPage = (ceil($pgs) > 4 ? $_GET['page'] > 0 ? " Первая " : "" : ""); + $LastPage = (ceil($pgs) > 4 ? (ceil($pgs) - 1) != $_GET['page'] ? " Последняя " : "" : ""); + $pages_str = $FirstPage . $pages_str . $LastPage; + echo $pages_str; + + if ($dostupSovet == true) { + $edit = ""; + } + + + echo "
    + + {$row['topic']} + "; + echo "
    " . $row['author'] . " +
    (" . $row['date'] . ")
    + + + $edit + "; + + if ($dostupPal == true && $news_topic == false) { + echo " "; + echo " "; + } + + echo "

    "; + echo " " . $row['text'] . "
    "; + + $sort_type = 'ASC'; + + if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228043095) { + $sort_type = 'DESC'; + } + + $data = mysql_query("SELECT * FROM `forum` WHERE `parent` = '" . mysql_real_escape_string($_GET['topic']) . "' ORDER by `id` {$sort_type} LIMIT " . (int)($_GET['page'] * 20) . ",20"); + while ($row = mysql_fetch_array($data)) { + echo "
    + + + + + +
    + + " . $row['author'] . " (" . $row['date'] . ") + "; + if ($dostupSovet == true) { + $edit = ""; + } + + if ($dostupPal == true && $news_topic == false) { + echo " "; + echo " "; + } + echo " + + + + $edit +
    + "; + echo " " . ($row['text']) . " +
    +
    + "; + } + if ($pgs > 1) { + echo " Страницы : "; + } + echo $pages_str; + $closed=''; $closepal=''; + + if (($closed == 1 && $_GET['topic'] != 228043095)) { + echo "
    " . $closepal . "


    "; + } else { + if ($user['align'] == 4 && $_GET['conf'] != 23) { + $error = "

    Персонажам со склонностью хаос запрещено писать на этом форуме!


    "; + } elseif ($user['baned'] == 1) { + $error = "

    Заблокированным персонажам запрещено писать на форуме!


    "; + } elseif ($user['level'] < 2) { + $error = "

    Персонажам до 2-го уровня запрещено писать на форуме!


    "; + } elseif (isset($sleep['id'])) { + $error = "

    Персонажам с заклинанием форумного молчания запрещено писать на форуме!


    "; + } elseif ($user['level'] > 1 && !isset($sleep['id'])) { + ?> + +
    + + + + +

    + + + + + + + + + + +
    +

    Оставить комментарий

    +
    + + + + +
    + +
    +
    + +
    +
    + + + + + +
    +
    "; + } + } + } else { + echo "Тема удалена с форума, либо её не существует
    "; + } + } + } else { + if (is_numeric($_GET['conf']) && $row = mysql_fetch_array(mysql_query("SELECT * FROM `forum` WHERE `id` = '" . mysql_real_escape_string($_GET['conf']) . "'"))) { + if (($row['min_align'] == 0 && $row['max_align'] == 0) || ($user['align'] >= $row['min_align'] && $user['align'] <= $row['max_align']) || $dostupSovet) { + ?> +
    + +
    + + +


    + ' . $error . ''; + } ?> + '; + + $pgs = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `forum` WHERE `parent` = '" . mysql_real_escape_string($_GET['conf']) . "' ORDER by `fix` DESC, `updated` DESC;")); + $pgs = $pgs[0] / 20; + $pages_str = ''; + $page = (int)$_GET['page'] > 0 ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0; + $page = ceil($page); + if ($pgs > 1) { + for ($i = 0; $i < ceil($pgs); $i++) { + if (($i > ($page - 5)) && ($i <= ($page + 4))) { + $pages_str .= ($i == $page ? " " . ($i + 1) . "" : " " . ($i + 1) . ""); + } + } + $pages_str .= ($page < $pgs - 5 ? " ..." : ""); + $pages_str = ($page > 4 ? " « ... " : "") . $pages_str . (($page < ($pgs - 1) ? " »" : "")); + } + $FirstPage = (ceil($pgs) > 4 ? $_GET['page'] > 0 ? " Первая " : "" : ""); + $LastPage = (ceil($pgs) > 4 ? (ceil($pgs) - 1) != $_GET['page'] ? " Последняя " : "" : ""); + $pages_str = $FirstPage . $pages_str . $LastPage; + ?> + + + + +
    Страницы:
    + + + + + + +
    + +

    " . ($row['fix'] ? "\"Закреплено\" " : "") . " 0 ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0; + $page1 = ceil($page1); + if ($pgs1 > 1) { + for ($i = 0; $i < ceil($pgs1); $i++) + if (($i > ($page1 - 5)) && ($i <= ($page1 + 4))) + $pages_str1 .= ($i == $page1 ? "" . ($i + 1) . "" : "" . ($i + 1) . ""); + $pages_str1 .= ($page1 < $pgs1 - 5 ? " ..." : ""); + } + if ($pgs1 > 1) { + $pages_str1 = "" . $pages_str1 . ""; + } + + + echo "'> {$row['topic']} " . $pages_str1 . " {$row['author']}"; + + if ($dostupPal == true && $row['id'] != 228043095) { + echo " "; + } + + echo "
    " . $row['date'] . " " . strip_tags(substr($row['text'], 0, 250), "") . " +
    Ответов: " . $count . " (" . $lasttime . ") +

    "; + } + if ($pgs > 1) { + echo "

    Страницы :"; + } + echo $pages_str . "

    "; + + + if ($user['align'] == 4 && $_GET['conf'] != 23) { + $error = "

    Персонажам со склонностью хаос запрещено писать на этом форуме!


    "; + } elseif ($user['baned'] == 1) { + $error = "

    Заблокированным персонажам запрещено писать на форуме!


    "; + } elseif ($user['level'] < 2) { + $error = "

    Персонажам до 4-го уровня запрещено писать на форуме!


    "; + } elseif (isset($sleep['id'])) { + $error = "

    Персонажам с заклинанием форумного молчания запрещено писать на форуме!


    "; + } elseif ($user['level'] > 1 && !isset($sleep['id'])) { + + + ?> + +
    +
    + + + + +
    + + + + + + + + + + + + + +
    +

    Добавить свой вопрос в форум

    Тема сообщения +
    + +
    + + + + + +
    +   +   +   +   +   +   +
    +   +   +   +   +   +   + +
    +
    + + + +
    +
    +
    +
    +
    "; + } + + + } + } else echo '
    Ничего не найдено!
    '; + } + ?> + +
        
     
    + + + + + + + + + +
    +
    +
    +
    + (c) Ещё один клон БК...
    +
    +
    + + +
    + + +
    + + + \ No newline at end of file diff --git a/friend.php b/friend.php new file mode 100644 index 0000000..636f7b9 --- /dev/null +++ b/friend.php @@ -0,0 +1,398 @@ +Персонаж не найден."; +}else{ + $igogo = mysql_fetch_array(mysql_query("SELECT id FROM `users` WHERE `login` = '{$_POST['friendadd']}' LIMIT 1;")); +} +$_POST['comment']=htmlspecialchars($_POST['comment'], NULL, ""); +$igogo2 = mysql_fetch_array(mysql_query("SELECT enemy,friend,notinlist FROM `friends` WHERE `user` = '".$user['id']."' and (`friend`=".$igogo['id']." or `enemy`=".$igogo['id']." or `notinlist`=".$igogo['id'].") LIMIT 1;")); +if(!$igogo['id']){echo"Персонаж не найден.";} +elseif($igogo['id']==$user['id']){echo"Себя добавить нельзя.";} +elseif(preg_match("/__/",$_POST['comment']) || preg_match("/--/",$_POST['comment'])){echo"Введен неверный текст.";} +elseif($igogo2['enemy'] or $igogo2['friend'] or $igogo2['notinlist']){echo"Персонаж уже есть в вашем списке.";} +else{ +if($_POST['group']==0){$notinlist=0; $friend=$igogo['id']; $enemy=0;} +elseif($_POST['group']==1){$notinlist=0; $friend=0; $enemy=$igogo['id'];} +else{$notinlist=$igogo['id']; $friend=0; $enemy=0;} +mysql_query("INSERT INTO `friends` (`user`, `friend`, `enemy`, `notinlist`, `comment`) VALUES(".$user['id'].", ".$friend.", ".$enemy.", ".$notinlist.", '".$_POST['comment']."');"); +echo"Персонаж ".$_POST['friendadd']." добавлен."; +} +} + +if($_POST['friendremove']){ +$_POST['friendremove']=htmlspecialchars($_POST['friendremove'], NULL, 'cp1251'); +if(preg_match("/__/",$_POST['friendremove']) || preg_match("/--/",$_POST['friendremove'])){ +echo"Персонаж не найден."; +}else{ + $igogo = mysql_fetch_array(mysql_query("SELECT id FROM `users` WHERE `login` = '{$_POST['friendremove']}' LIMIT 1;")); +} +if(!$igogo['id']){echo"Персонаж не найден.";} +else{$igogo2 = mysql_fetch_array(mysql_query("SELECT enemy,friend,notinlist FROM `friends` WHERE `user` = '".$user['id']."' and (`friend`=".$igogo['id']." or `enemy`=".$igogo['id']." or `notinlist`=".$igogo['id'].") LIMIT 1;")); +if(!$igogo2['enemy'] && !$igogo2['friend'] && !$igogo2['notinlist']){echo"Персонаж не найден в вашем списке.";}else{ +if($igogo2['friend']>0){$per="`friend`='".$igogo2['friend']."'";} +if($igogo2['enemy']>0){$per="`enemy`='".$igogo2['enemy']."'";} +if($igogo2['notinlist']>0){$per="`notinlist`='".$igogo2['notinlist']."'";} +if(mysql_query("DELETE FROM `friends` WHERE `user`='".$user['id']."' and ".$per.";")){echo"Данные контакта ".$_POST['friendremove']." успешно удалены.";} +} + + +} + +} + + + +if($_POST['friendedit']){ + + + +$_POST['friendedit']=htmlspecialchars($_POST['friendedit'], NULL, 'cp1251'); +if(preg_match("/__/",$_POST['friendedit']) || preg_match("/--/",$_POST['friendedit'])){ +echo"Персонаж не найден."; +}else{ + $igogo = mysql_fetch_array(mysql_query("SELECT id FROM `users` WHERE `login` = '{$_POST['friendedit']}' LIMIT 1;")); +} +$_POST['comment']=htmlspecialchars($_POST['comment'], NULL, ""); +if(!$igogo['id']){echo"Персонаж не найден.";} +elseif($igogo['id']==$user['id']){echo"Себя отредактировать нельзя.";} +elseif(preg_match("/__/",$_POST['comment']) || preg_match("/--/",$_POST['comment'])){echo"Введен неверный текст.";} +else{ + +if($_POST['group']==0){$notinlist=0; $friend=$igogo['id']; $enemy=0;} +elseif($_POST['group']==1){$notinlist=0; $friend=0; $enemy=$igogo['id'];} +else{$notinlist=$igogo['id']; $friend=0; $enemy=0;} +$igogo2 = mysql_fetch_array(mysql_query("SELECT enemy,friend,notinlist FROM `friends` WHERE `user` = '".$user['id']."' and (`friend`=".$igogo['id']." or `enemy`=".$igogo['id']." or `notinlist`=".$igogo['id'].") LIMIT 1;")); +if(!$igogo2['enemy'] && !$igogo2['friend'] && !$igogo2['notinlist']){echo"Персонаж не найден в вашем списке.";}else{ +if($igogo2['friend']>0){$per="`friend`='".$igogo2['friend']."'";} +if($igogo2['enemy']>0){$per="`enemy`='".$igogo2['enemy']."'";} +if($igogo2['notinlist']>0){$per="`notinlist`='".$igogo2['notinlist']."'";} +mysql_query("UPDATE `friends` SET `friend` = ".$friend.",`enemy` = ".$enemy.",`notinlist` = ".$notinlist.",`comment` = ".$_POST['comment']." WHERE `user`='".$user['id']."' and ".$per.""); +echo"Данные контакта ".$_POST['friendedit']." успешно изменены."; +} + + +} + +} + + + +?> + + + + + + + + + + + + + + +
    + + + + + + + +
    + + + +0;"); + while ($row = mysql_fetch_array($data)) { + $us = mysql_fetch_array(mysql_query("SELECT `id`,`login`,`klan`,`level`,`align`,`room`, `invis`, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '".$row['notinlist']."';"));?> + + + + + + + + + + +0;"); + while ($row = mysql_fetch_array($data)) { + $us=mysql_fetch_array(mysql_query("SELECT `id`,`login`,`klan`,`level`,`align`,`room`, `invis`, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '".$row['enemy']."';"));?> + + + + + + + + + + + +0;"); + while ($row = mysql_fetch_array($data)) { + $us=mysql_fetch_array(mysql_query("SELECT `id`,`login`,`klan`,`level`,`align`,`room`, `invis`, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '".$row['friend']."';"));?> + + + + + + + + + + +

    Контакты

    + 0 && !$us["invis"]) { + echo ''; + echo mick2s($us['id'], 0); + $rrm = $rooms[$us['room']]; + echo ' - ',$rrm,'
    '; +}else{ + + echo 'Нет в клубе'; + echo mick2s($us['id'], 0); + echo ' - Нет в клубе
    '; + +} + + +?> +
    +", "", "2", new Array( "Друзья","Враги","Не в группе" ), "", new Array( ), "");'>

    Враги

    + 0 && !$us["invis"]) { + echo ''; +echo mick2s($us['id'], 0); + $rrm = $rooms[$us['room']]; + echo ' - ',$rrm,'
    '; +}else{ + + echo 'Нет в клубе'; + echo mick2s($us['id'], 0); + echo ' - Нет в клубе
    '; + +} + + +?> +
    +", "", "1", new Array( "Друзья","Враги","Не в группе" ), "", new Array( ), "");'>

    Друзья

    + 0 && !$us["invis"]) { + echo ''; +echo mick2s($us['id'], 0); + if($us['room']>500 && $us['room']<561) + $rrm = "Башня Смерти"; + else + $rrm = $rooms[$us['room']]; + echo ' - ',$rrm,'
    '; +}else{ + + echo 'Нет в клубе'; + echo mick2s($us['id'], 0); + echo ' - Нет в клубе
    '; + +} + + +?> +
    +", "", "7", new Array( "Друзья","Враги","Не в группе" ), "", new Array( ), "");'>
    +    +
      + + + + + + + + + + + + + + + + + + + + + + +

    Модераторы on-line

    + = ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE (align>1 and align<2) or (align>3 and align<4) order by align desc, login asc ;"); + while ($row = mysql_fetch_array($data)) { + if ($row['online']>0 && $row['id']>0) { + echo ''; + } + } + ?> +
    '; + echo mick2s($row['id'], 0); + echo'
    Уважаемые Игроки!
    Для более быстрого и эффективного решения Вашей проблемы просьба обращаться к тем Модераторам, ники которых находятся вверху списка "Модераторы on-line".
    Цените свое и чужое время!

    Дилеры on-line

    + = ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE (`deal` = 1 OR `align` = 5) order by align desc, login asc ;"); + while ($row = mysql_fetch_array($data)) { + if($row['id'] == 777 || $row['id'] == 9081 ) { $row["invis"] = 1; } + if ($row['online']>0 && $row['id']>0 && !$row["invis"]) { + echo ''; + } + } + ?> +
    '; + echo mick2s($row['id'], 0); + echo'
    Список дилеров находящихся на данный момент в on-line.
    Вы всегда можете узнать как приобрести екр в игре.
    + + \ No newline at end of file diff --git a/fshop.php b/fshop.php new file mode 100644 index 0000000..c8ff66c --- /dev/null +++ b/fshop.php @@ -0,0 +1,1112 @@ +0)) header("Location: index.php"); + include "config.php"; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + include "functions.php"; + if ($user['room'] != 34) header("Location: main.php"); + $d = mysql_fetch_array(mysql_query("SELECT sum(`massa`) FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `setsale` = 0 ; ")); + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + $_GET['otdel'] = 1; + + if(!$_SESSION['flowers']) { $_SESSION['flowers'] = array(); } + + if ($_GET['add']) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$_GET['add']}' AND `owner` = '{$_SESSION['uid']}' LIMIT 1;")); + //destructitem($dress['id']); + //mysql_query("UPDATE `users` set `money` = `money`+ '".(round(($dress['cost']/2)-$dress['duration']*($dress['cost']/($dress['maxdur']*10)),2))."' WHERE id = {$_SESSION['uid']}"); + //echo "Вы продали \"{$dress['name']}\"."; + if($dress) { + $_SESSION['flowers'][$dress['id']] = array($dress['img'],$dress['id'],$dress['name']); + } + } + if ($_POST['delflower']) { + unset($_SESSION['flowers'][$_POST['flower']]); + } + + + + if (($_GET['set'] OR $_POST['set'])) { + if ($_GET['set']) { $set = $_GET['set']; } + if ($_POST['set']) { $set = $_POST['set']; } + if(!$_POST['count']) $_POST['count']=1; + if(!is_numeric($_POST['count']) || $_POST['count']!=((int)$_POST['count'])) + { + $_POST['count']=0; + $count_ok=0; + } + elseif ($_POST['count'] < 1) { $_POST['count'] =1; } + else $count_ok=1; + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `fshop` WHERE `id` = '{$set}' LIMIT 1;")); + if ($count_ok==0) { + echo "Неправильно введено количество"; + //$good = 0; + } + elseif (($dress['massa']*$_POST['count']+$d[0]) > (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + //$good = 0; + } + elseif($count_ok==1 && ($user['money']>= ($dress['cost']*$_POST['count'])) && ($dress['count'] >= $_POST['count'])) { + + for($k=1;$k<=$_POST['count'];$k++) { + if(mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact` + ) + VALUES + ('{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}' + ) ;")) + { + $good = 1; + } + else { + $good = 0; + } + } + if ($good) { + mysql_query("UPDATE `fshop` SET `count`=`count`-{$_POST['count']} WHERE `id` = '{$set}' LIMIT 1;"); + echo "Вы купили {$_POST['count']} шт. \"{$dress['name']}\"."; + mysql_query("UPDATE `users` set `money` = `money`- '".($_POST['count']*$dress['cost'])."' WHERE id = {$user['id']} ;"); + $user['money'] -= $_POST['count']*$dress['cost']; + $limit=$_POST['count']; + $invdb = mysql_query("SELECT `id` FROM `inventory` WHERE `name` = '".$dress['name']."' ORDER by `id` DESC LIMIT ".$limit." ;" ); + if ($limit == 1) { + $dressinv = mysql_fetch_array($invdb); + $dressid = "cap".$dressinv['id']; + $dresscount=" "; + } + else { + $dressid=""; + while ($dressinv = mysql_fetch_array($invdb)) { + $dressid .= "cap".$dressinv['id'].","; + } + $dresscount="(x".$_POST['count'].") "; + } + $allcost=$_POST['count']*$dress['cost']; +mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."] за ".$allcost." кр. ',1,'".time()."');"); + } + } + else { + echo "Недостаточно денег или нет вещей в наличии."; + } + } + +?> + + + + + + + + + + + + + +

    Цветочный магазин

    + +
    + array( + "Тюльпан"=>1, + "Трава для оформления 1"=>1 + ), + "Букет тюльпанов 3" => array( + "Тюльпан"=>3, + "Трава для оформления 1"=>1 + ), + "Букет тюльпанов 5" => array( + "Тюльпан"=>5, + "Трава для оформления 2"=>1 + ), + "Букет тюльпанов 7" => array( + "Тюльпан"=>7, + "Трава для оформления 3"=>1 + ), + "Букет тюльпанов 9" => array( + "Тюльпан"=>9, + "Трава для оформления 4"=>1 + ), + "Букет тюльпанов 21" => array( + "Тюльпан"=>21, + "Трава для оформления 5"=>1 + ), + "Букет нарциссов 1" => array( + "Нарцисс"=>1, + "Трава для оформления 1"=>1 + ), + "Букет нарциссов 3" => array( + "Нарцисс"=>3, + "Трава для оформления 1"=>1 + ), + "Букет нарциссов 5" => array( + "Нарцисс"=>5, + "Трава для оформления 2"=>1 + ), + "Букет нарциссов 7" => array( + "Нарцисс"=>7, + "Трава для оформления 3"=>1 + ), + "Букет нарциссов 9" => array( + "Нарцисс"=>9, + "Трава для оформления 4"=>1 + ), + "Букет нарциссов 21" => array( + "Нарцисс"=>21, + "Трава для оформления 5"=>1 + ), + "Букет сирени 3" => array( + "Сирень"=>3, + "Трава для оформления 1"=>1 + ), + "Букет сирени 5" => array( + "Сирень"=>5, + "Трава для оформления 2"=>1 + ), + "Букет сирени 7" => array( + "Сирень"=>7, + "Трава для оформления 3"=>1 + ), + "Букет сирени 9" => array( + "Сирень"=>9, + "Трава для оформления 4"=>1 + ), + "Букет сирени 21" => array( + "Сирень"=>21, + "Трава для оформления 5"=>1 + ), + "Букет рихардий 3" => array( + "Рихардия"=>3, + "Трава для оформления 1"=>1 + ), + "Букет рихардий 5" => array( + "Рихардия"=>5, + "Трава для оформления 2"=>1 + ), + "Букет рихардий 7" => array( + "Рихардия"=>7, + "Трава для оформления 3"=>1 + ), + "Букет рихардий 9" => array( + "Рихардия"=>9, + "Трава для оформления 4"=>1 + ), + "Букет рихардий 21" => array( + "Рихардия"=>21, + "Трава для оформления 5"=>1 + ), + "Букет хризантем 3" => array( + "Хризантема"=>3, + "Трава для оформления 1"=>1 + ), + "Букет хризантем 5" => array( + "Хризантема"=>5, + "Трава для оформления 2"=>1 + ), + "Букет хризантем 7" => array( + "Хризантема"=>7, + "Трава для оформления 3"=>1 + ), + "Букет хризантем 9" => array( + "Хризантема"=>9, + "Трава для оформления 4"=>1 + ), + "Букет хризантем 21" => array( + "Хризантема"=>21, + "Трава для оформления 5"=>1 + ), + "Букет желтых роз 3" => array( + "Желтая роза"=>3, + "Трава для оформления 1"=>1 + ), + "Букет желтых роз 5" => array( + "Желтая роза"=>5, + "Трава для оформления 2"=>1 + ), + "Букет желтых роз 7" => array( + "Желтая роза"=>7, + "Трава для оформления 3"=>1 + ), + "Букет желтых роз 9" => array( + "Желтая роза"=>9, + "Трава для оформления 4"=>1 + ), + "Букет желтых роз 21" => array( + "Желтая роза"=>21, + "Трава для оформления 5"=>1 + ), + "Букет гортензий 3" => array( + "Гортензия"=>3, + "Трава для оформления 1"=>1 + ), + "Букет гортензий 5" => array( + "Гортензия"=>5, + "Трава для оформления 2"=>1 + ), + "Букет гортензий 7" => array( + "Гортензия"=>7, + "Трава для оформления 3"=>1 + ), + "Букет гортензий 9" => array( + "Гортензия"=>9, + "Трава для оформления 4"=>1 + ), + "Букет гортензий 21" => array( + "Гортензия"=>21, + "Трава для оформления 5"=>1 + ), + "Букет влюбленного" => array( + "Фиолетовый цветок"=>3, + "Трава для оформления 1"=>1 + ), + "Букет поклонника" => array( + "Фиолетовый цветок"=>5, + "Трава для оформления 2"=>1 + ), + "Букет любовника" => array( + "Фиолетовый цветок"=>7, + "Трава для оформления 3"=>1 + ), + "Букет супруга" => array( + "Фиолетовый цветок"=>9, + "Трава для оформления 4"=>1 + ), + "Букет романтика" => array( + "Фиолетовый цветок"=>21, + "Трава для оформления 5"=>1 + ), + "Букет влюбленной" => array( + "Желтый цветок"=>3, + "Трава для оформления 1"=>1 + ), + "Букет поклонницы" => array( + "Желтый цветок"=>5, + "Трава для оформления 2"=>1 + ), + "Букет любовницы" => array( + "Желтый цветок"=>7, + "Трава для оформления 3"=>1 + ), + "Букет супруги" => array( + "Желтый цветок"=>9, + "Трава для оформления 4"=>1 + ), + "Букет счастья" => array( + "Желтый цветок"=>21, + "Трава для оформления 5"=>1 + ), + ); + $resultbuk = array ( + "Букет тюльпанов 1"=>array( + "name"=>"Букет тюльпанов 1", + 'maxdur'=>1, + "img"=>"tulip1.gif", + 'minu'=>1, + 'maxu'=>2, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет тюльпанов 3"=>array( + "name"=>"Букет тюльпанов 3", + 'maxdur'=>3, + "img"=>"tulip3.gif", + 'minu'=>1, + 'maxu'=>3, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет тюльпанов 5"=>array( + "name"=>"Букет тюльпанов 5", + 'maxdur'=>5, + "img"=>"tulip5.gif", + 'minu'=>1, + 'maxu'=>5, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет тюльпанов 7"=>array( + "name"=>"Букет тюльпанов 7", + 'maxdur'=>7, + "img"=>"tulip7.gif", + 'minu'=>1, + 'maxu'=>7, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет тюльпанов 9"=>array( + "name"=>"Букет тюльпанов 9", + 'maxdur'=>9, + "img"=>"tulip9.gif", + 'minu'=>1, + 'maxu'=>9, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>1, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет тюльпанов 21"=>array( + "name"=>"Букет тюльпанов 21", + 'maxdur'=>10, + "img"=>"tulip21.gif", + 'minu'=>1, + 'maxu'=>21, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>5, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет нарциссов 1"=>array( + "name"=>"Букет нарциссов 1", + 'maxdur'=>1, + "img"=>"narcissus1.gif", + 'minu'=>1, + 'maxu'=>2, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет нарциссов 3"=>array( + "name"=>"Букет нарциссов 3", + 'maxdur'=>3, + "img"=>"narcissus3.gif", + 'minu'=>1, + 'maxu'=>3, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет нарциссов 5"=>array( + "name"=>"Букет нарциссов 5", + 'maxdur'=>5, + "img"=>"narcissus5.gif", + 'minu'=>1, + 'maxu'=>5, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет нарциссов 7"=>array( + "name"=>"Букет нарциссов 7", + 'maxdur'=>7, + "img"=>"narcissus7.gif", + 'minu'=>1, + 'maxu'=>7, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет нарциссов 9"=>array( + "name"=>"Букет нарциссов 9", + 'maxdur'=>9, + "img"=>"narcissus9.gif", + 'minu'=>1, + 'maxu'=>9, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>1, + 'goden'=>10), + "Букет нарциссов 21"=>array( + "name"=>"Букет нарциссов 21", + 'maxdur'=>10, + "img"=>"narcissus21.gif", + 'minu'=>1, + 'maxu'=>21, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>5, + 'goden'=>10), + "Букет сирени 3"=>array( + "name"=>"Букет сирени 3", + 'maxdur'=>3, + "img"=>"siren_3.gif", + 'minu'=>3, + 'maxu'=>5, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет сирени 5"=>array( + "name"=>"Букет сирени 5", + 'maxdur'=>5, + "img"=>"siren_5.gif", + 'minu'=>3, + 'maxu'=>7, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет сирени 7"=>array( + "name"=>"Букет сирени 7", + 'maxdur'=>7, + "img"=>"siren_7.gif", + 'minu'=>3, + 'maxu'=>9, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>15, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет сирени 9"=>array( + "name"=>"Букет сирени 9", + 'maxdur'=>9, + "img"=>"siren_9.gif", + 'minu'=>3, + 'maxu'=>15, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>15, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет сирени 21"=>array( + "name"=>"Букет сирени 21", + 'maxdur'=>10, + "img"=>"siren_21.gif", + 'minu'=>3, + 'maxu'=>25, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>15, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет рихардий 3"=>array( + "name"=>"Букет рихардий 3", + 'maxdur'=>3, + "img"=>"cally_3.gif", + 'minu'=>3, + 'maxu'=>5, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет рихардий 5"=>array( + "name"=>"Букет рихардий 5", + 'maxdur'=>5, + "img"=>"cally_5.gif", + 'minu'=>3, + 'maxu'=>7, + 'mfkrit'=>0, + 'mfakrit'=>1, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет рихардий 7"=>array( + "name"=>"Букет рихардий 7", + 'maxdur'=>7, + "img"=>"cally_7.gif", + 'minu'=>3, + 'maxu'=>10, + 'mfkrit'=>0, + 'mfakrit'=>10, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет рихардий 9"=>array( + "name"=>"Букет рихардий 9", + 'maxdur'=>9, + "img"=>"cally_9.gif", + 'minu'=>3, + 'maxu'=>15, + 'mfkrit'=>0, + 'mfakrit'=>15, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет рихардий 21"=>array( + "name"=>"Букет рихардий 21", + 'maxdur'=>10, + "img"=>"cally_21.gif", + 'minu'=>3, + 'maxu'=>25, + 'mfkrit'=>0, + 'mfakrit'=>20, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет хризантем 3"=>array( + "name"=>"Букет хризантем 3", + 'maxdur'=>3, + "img"=>"chrysanthemum3.gif", + 'minu'=>2, + 'maxu'=>6, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет хризантем 5"=>array( + "name"=>"Букет хризантем 5", + 'maxdur'=>5, + "img"=>"chrysanthemum5.gif", + 'minu'=>2, + 'maxu'=>8, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет хризантем 7"=>array( + "name"=>"Букет хризантем 7", + 'maxdur'=>7, + "img"=>"chrysanthemum7.gif", + 'minu'=>2, + 'maxu'=>10, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет хризантем 9"=>array( + "name"=>"Букет хризантем 9", + 'maxdur'=>9, + "img"=>"chrysanthemum9.gif", + 'minu'=>2, + 'maxu'=>12, + 'mfkrit'=>5, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет хризантем 21"=>array( + "name"=>"Букет хризантем 21", + 'maxdur'=>10, + "img"=>"chrysanthemum21.gif", + 'minu'=>2, + 'maxu'=>24, + 'mfkrit'=>10, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет желтых роз 3"=>array( + "name"=>"Букет желтых роз 3", + 'maxdur'=>3, + "img"=>"flove3.gif", + 'minu'=>3, + 'maxu'=>7, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет желтых роз 5"=>array( + "name"=>"Букет желтых роз 5", + 'maxdur'=>5, + "img"=>"flove5.gif", + 'minu'=>3, + 'maxu'=>9, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет желтых роз 7"=>array( + "name"=>"Букет желтых роз 7", + 'maxdur'=>7, + "img"=>"flove7.gif", + 'minu'=>3, + 'maxu'=>11, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет желтых роз 9"=>array( + "name"=>"Букет желтых роз 9", + 'maxdur'=>9, + "img"=>"flove9.gif", + 'minu'=>3, + 'maxu'=>13, + 'mfkrit'=>0, + 'mfakrit'=>5, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет желтых роз 21"=>array( + "name"=>"Букет желтых роз 21", + 'maxdur'=>10, + "img"=>"flove21.gif", + 'minu'=>3, + 'maxu'=>25, + 'mfkrit'=>0, + 'mfakrit'=>10, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет гортензий 3"=>array( + "name"=>"Букет гортензий 3", + 'maxdur'=>3, + "img"=>"hydrangea3.gif", + 'minu'=>3, + 'maxu'=>7, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет гортензий 5"=>array( + "name"=>"Букет гортензий 5", + 'maxdur'=>5, + "img"=>"hydrangea5.gif", + 'minu'=>3, + 'maxu'=>9, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет гортензий 7"=>array( + "name"=>"Букет гортензий 7", + 'maxdur'=>7, + "img"=>"hydrangea7.gif", + 'minu'=>3, + 'maxu'=>11, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет гортензий 9"=>array( + "name"=>"Букет гортензий 9", + 'maxdur'=>9, + "img"=>"hydrangea9.gif", + 'minu'=>3, + 'maxu'=>13, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>10, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет гортензий 21"=>array( + "name"=>"Букет гортензий 21", + 'maxdur'=>10, + "img"=>"hydrangea21.gif", + 'minu'=>3, + 'maxu'=>25, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>10, + 'mfauvorot'=>10, + 'goden'=>10), + "Букет влюбленного"=>array( + "name"=>"Букет влюбленного", + 'maxdur'=>3, + "img"=>"love3.gif", + 'minu'=>1, + 'maxu'=>3, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет поклонника"=>array( + "name"=>"Букет поклонника", + 'maxdur'=>5, + "img"=>"love5.gif", + 'minu'=>1, + 'maxu'=>5, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет любовника"=>array( + "name"=>"Букет любовника", + 'maxdur'=>7, + "img"=>"love7.gif", + 'minu'=>1, + 'maxu'=>7, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет супруга"=>array( + "name"=>"Букет супруга", + 'maxdur'=>9, + "img"=>"love9.gif", + 'minu'=>1, + 'maxu'=>9, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>1, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет романтика"=>array( + "name"=>"Букет романтика", + 'maxdur'=>10, + "img"=>"love21.gif", + 'minu'=>1, + 'maxu'=>21, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>5, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет влюбленной"=>array( + "name"=>"Букет влюбленной", + 'maxdur'=>3, + "img"=>"flove3.gif", + 'minu'=>1, + 'maxu'=>3, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет поклонницы"=>array( + "name"=>"Букет поклонницы", + 'maxdur'=>5, + "img"=>"flove5.gif", + 'minu'=>1, + 'maxu'=>5, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет любовницы"=>array( + "name"=>"Букет любовницы", + 'maxdur'=>7, + "img"=>"flove7.gif", + 'minu'=>1, + 'maxu'=>7, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>0, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет супруги"=>array( + "name"=>"Букет супруги", + 'maxdur'=>9, + "img"=>"flove9.gif", + 'minu'=>1, + 'maxu'=>9, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>1, + 'mfauvorot'=>0, + 'goden'=>10), + "Букет счастья"=>array( + "name"=>"Букет счастья", + 'maxdur'=>10, + "img"=>"flove21.gif", + 'minu'=>1, + 'maxu'=>21, + 'mfkrit'=>0, + 'mfakrit'=>0, + 'mfuvorot'=>5, + 'mfauvorot'=>0, + 'goden'=>10), + ); + foreach ($_SESSION['flowers'] as $v) { + $errs[$v[2]] ++; + } + foreach ($bukets as $k=>$v) { + $zbor = true; + foreach($v as $name=>$count) { + if($errs[$name] != $count) { $zbor = false; } + //unset ($errs[$name]); + } + //if(count($errs) > 0) { $zbor = false; } + if ($zbor) { + $dress = $resultbuk[$k]; + if(mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`maxu`,`minu`,`dategoden`,`goden` + ) + VALUES + ('','{$_SESSION['uid']}','{$dress['name']}','3',1,0,'{$dress['img']}',{$dress['maxdur']},0, + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}', + '{$dress['maxu']}','{$dress['minu']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}' + ) ;")) + { + $buket_id=mysql_insert_id(); + $good = 1; + } + else { + $good = 0; + } + + if ($good) { + echo 'Удачно составлен букет
    (находится у вас в рюкзаке)
    '; + foreach ($_SESSION['flowers'] as $k=>$v) { + $dressid .= "cap".$k.","; + mysql_query("DELETE FROM `inventory` WHERE `id` = '".$k."' LIMIT 1;"); + } + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" получила предмет: \"".$dress['name']."\" ".$dresscount."id:(cap".$buket_id.") [0/".$dress['maxdur']."] за id:(".$dressid.") ',1,'".time()."');"); + } + else { + echo 'Произошла ошибка!'; + } + } + } + if (!$good) { + foreach ($_SESSION['flowers'] as $k=>$v) { + $fname=mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '".$k."' LIMIT 1;")); + mysql_query("DELETE FROM `inventory` WHERE `id` = '".$k."' LIMIT 1;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','Утерян предмет \"".$fname['name']."\" id:(cap".$k.") [".$fname['duration']."/".$fname['maxdur']."] у \"".$user['login']."\" ',1,'".time()."');"); + } + } + $_SESSION['flowers'] = array(); + + } +?> + + + + + + + + + +
    + +> + + + + +
    + + +
    + + + + + + +
    Цветы для букета:
    +
    +
    + 1) { + echo 'Букет можно собрать только из цветов одного типа!'; + } + + if(!$_SESSION['flowers']) { echo 'Добавляйте сюда цветы, из которых хотите составить букет'; } else { + foreach ($_SESSION['flowers'] as $k=>$v) { + echo '

    '; + } + } + ?> +
    + + + + +
    Цветы у вас в рюкзаке
    + + + "; + showitem ($row); + echo ""; + } + } + } elseif($_REQUEST['present']) { + + if($_POST['to_login'] && $_POST['flower']) { + $to = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['to_login']}' LIMIT 1;")); + if ($_POST['to_login'] == $user['login']) { + echo "Очень щедро дарить что-то самому себе ;)"; + } + elseif ($to['room'] > 500 && $to['room'] < 561) { + echo "Персонаж в данный момент участвует в турнире в Башне Смерти. Попробуйте позже."; + } + else { + + if((int)$_POST['from']==1) { $from = 'Аноним'; } + elseif((int)$_POST['from']==2 && $user['klan']) { $from = ' клан '.$user['klan']; } + else {$from = $user['login'];} + if ($to) if(mysql_query("UPDATE `inventory` SET `owner` = '".$to['id']."', `present` = '".$from."', `letter` = '".$_POST['podarok2']."' WHERE `present` = '' AND `id` = '".$_POST['flower']."' AND `owner` = '{$_SESSION['uid']}' AND `dressed` = 0 AND `name` LIKE 'Букет%' AND `setsale`=0")) { + $buket = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$_POST['flower']}' AND `name` LIKE 'Букет%' LIMIT 1; ")); + $buket_name=$buket['name']; + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','Подарен букет цветов \"".$buket['name']."\" id:(cap".$_POST['flower'].") [".$buket['duration']."/".$buket['maxdur']."] от \"".$from."\" к \"".$to['login']."\"','1','".time()."');"); + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$to['id']}','Подарен букет цветов \"".$buket['name']."\" id:(cap".$buket['id'].") [".$buket['duration']."/".$buket['maxdur']."] от \"".$from."\" к \"".$to['login']."\"','1','".time()."');"); + if(($_POST['from']==1) || ($_POST['from']==2)) { + $action="подарил"; + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$to['id']}','Подарен букет цветов \"".$buket['name']."\" id:(cap".$buket['id'].") [".$buket['duration']."/".$buket['maxdur']."] от \"".$user['login']."\" к \"".$to['login']."\"','5','".time()."');"); + } + else { + if ($user['sex'] == 0) {$action="подарила";} + else {$action="подарил";} + } + $us = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = '{$to['id']}' LIMIT 1;")); + if($us[0]){ + addchp ('Внимание!'.$from.' '.$action.' вам '.$buket_name.'. ','{[]}'.$_POST['to_login'].'{[]}'); + } else { + // если в офе + mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) values ('".$to['id']."','','".'Внимание!'.$from.' '.$action.' вам '.$buket_name.'. '."');"); + } + echo "Букет удачно доставлен к \"",$_POST['to_login'],"\""; + } + echo mysql_error(); + } + } + + ?> + + + +
    "; + ?> +
    добавить в букет +
    + "; + showitem ($row); + echo ""; + } +} +?> +
    + +Вы можете подарить ваш букет дорогому человеку. Ваш подарок будет отображаться в информации о персонаже. +
      +
    1. Укажите логин персонажа, которому хотите подарить букет
      +Login +
    2. Цель подарка. Будет отображаться в информации о персонаже (не более 60 символов)
      + +
    3. Напишите текст сопроводительной записки (в информации о персонаже не отображается)
      + +
    4. Выберите, от чьего имени подарок:
      +
      + анонимно
      + от имени клана
      +
    5. Нажмите кнопку Подарить под букетом, который хотите преподнести в подарок:
      +
    + + + + "; + showitem ($row); + echo ""; + } + } +?> +
    "; + ?> +
    +
    + + 0 AND `razdel` = '{$_GET['otdel']}' ORDER by `cost` ASC"); + while($row = mysql_fetch_array($data)) { + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo "
    "; + ?> +
    купить + Купить несколько штук
    +
    + +
    + +
    Масса всех ваших вещей: /
    + У вас в наличии: кр.
    +
    +
    +
    +
    +
    +
    +
    +
    + + diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..b5c981c --- /dev/null +++ b/functions.php @@ -0,0 +1,6395 @@ +query('SELECT `id`, `login`, `maxhp` FROM `users` WHERE `id` = "?s" LIMIT 1', $bot)->fetch_assoc(); + if (isset($rec['id'])) { + if ($login) { + $rec['login'] = $login; + } + $botname = $rec['login']; + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) VALUES ('$botname', '$bot', '$battle', '$rec[maxhp]')"); + return array("id" => mysql_insert_id(), "login" => $botname); + } else { + return false; + } +} + +function statsat($nu) +{ /*in admin.php*/ + global $exptable; + $stats = 0; + $master = 0; + $vinos = 0; + + foreach ($exptable as $k => $v) { + if ($k == $nu) break; + $stats += $v[0]; + $master += $v[1]; + $vinos += $v[2]; + $money += $v[3]; + } + return array("stats" => $stats + 12, "master" => $master + 1, "vinos" => $vinos + 3, "money" => $money); +} + +//function basestats($user) { +// $rec1 = mysql_fetch_array(mysql_query("SELECT * FROM `userdata` WHERE `id` = '$user' LIMIT 1")); +// $hp = 30; +// $r = mysql_query("SELECT `sila`, `lovk`, `inta`, `vinos`, `hp`, `intel`, `type` FROM `effects` WHERE `owner` = '$user'"); +// while($rec = mysql_fetch_assoc($r)) { +// if($rec['type'] == 11 || $rec['type'] == 12 || $rec['type'] == 13 || $rec['type'] == 14) { +// $rec1['sila'] -= $rec['sila']; +// $rec1['lovk'] -= $rec['lovk']; +// $rec1['inta'] -= $rec['inta']; +// $rec1['vinos'] -= $rec['vinos']; +// $rec1['intel'] -= $rec['intel']; +// $rec1['mudra'] -= $rec['mudra']; +// } else { +// $rec1['sila'] += $rec['sila']; +// $rec1['lovk'] += $rec['lovk']; +// $rec1['inta'] += $rec[ 'inta']; +// $rec1['vinos'] += $rec['vinos']; +// $rec1['intel'] += $rec['intel']; +// $rec1['mudra'] += $rec['mudra']; +// } +// $hp += $rec['hp']; +// } +// $hp += $rec1['vinos']*6; +// $rec1['maxhp'] = $hp; +// return $rec1; +//} +// +//function statsback($user, $room = 0) { +// global $dressslots; +// $rec1 = basestats($user); +// $nu = mysql_fetch_array(mysql_query("SELECT `nextup` FROM `users` WHERE `id` = '$user' LIMIT 1")); +// mysql_query("UPDATE `inventory` SET `dressed` = 0 WHERE `owner` = '$user'"); +// mysql_query("UPDATE `users` SET `in_tower` = 0, `sila` = '$rec1[sila]', `lovk` = '$rec1[lovk]', `inta` = '$rec1[inta]', `vinos` = '$rec1[vinos]', `intel` = '$rec1[intel]', `stats` = '$rec1[stats]', `hp` = '$rec1[maxhp]', `maxhp` = '$rec1[maxhp]', `level` = '".levelatnextup($nu['nextup'])."', `mec` = '$rec1[mec]', `topor` = '$rec1[topor]', `dubina` = '$rec1[dubina]', `noj` = '$rec1[noj]', `mfire` = '$rec1[mfire]', `mwater` = '$rec1[mwater]', `mair` = '$rec1[mair]', `mearth` = '$rec1[mearth]', `mlight` = '$rec1[mlight]', `mgray` = '$rec1[mgray]', `mdark` = '$rec1[mdark]', `master` = '$rec1[master]', `align` = '$rec1[align]', ".($room?"`room` = '$room',":"")."".implode("=0, ", $dressslots)."=0 WHERE `id` = '$user' LIMIT 1"); +//} +// +//function levelatnextup($exp) { +// global $exptable; +// $ret = 0; +// foreach($exptable as $k => $v) { +// if($v[5] > $exp) return $ret; +// if($v[4]) $ret++; +// } +// return $ret; +//} + +#####Для нападалок. Сперва комнаты в которых нельзя напасть, потом персонаж на которого нельзя напасть. +$unkilable = array( + 'rooms' => array(620, 621, 1051, 1052), + 'users' => array(10962, 10964, 10965) +); + +$clan_acces = array( + 1 => array(0, 'Просмотр событий клана'), + 2 => array(0, 'Создание событий клана'), + 3 => array(0, 'Просмотр хранилища'), + 4 => array(0, 'Использование вещей из хранилища'), + 5 => array(0, 'Изъятие предметов из хранилища'), + 6 => array(0, 'Просмотр казны и списка игроков, пополнявших казну'), + 7 => array(0, 'Пополнение казны'), + 8 => array(0, 'Использование казны'), + 9 => array(0, 'Прием в клан'), + 10 => array(0, 'Изгнание из клана'), + 11 => array(0, 'Редактирование информации о клане') +); + +$runes_exp = array('1' => 10500, '2' => 23500, '3' => 38500, '4' => 57000, '5' => 77000, '6' => 103000, '7' => 136500, '8' => 171500, '9' => 212500, '10' => 257500); +##### + +$canalenters = array(620); +$caverooms = array(621); +$userslots = array('sergi', 'kulon', 'perchi', 'weap', 'bron', 'r1', 'r2', 'r3', 'helm', 'shit', 'boots', 'rybax', 'plaw', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm10'); +$dressslots = array('sergi', 'kulon', 'perchi', 'weap', 'bron', 'r1', 'r2', 'r3', 'helm', 'shit', 'boots', 'rybax', 'plaw', 'rune_1', 'rune_2', 'rune_3'); + +function getuserdata($id = 0) +{ + if (!$id) $id = $_SESSION['uid']; + if (!$id) return array(); + $rec = db::c()->query('SELECT `hp`, `maxhp`, `fullhptime`, `battle` FROM `users` WHERE `id` = "?s"', $id)->fetch_assoc(); + if ($rec['hp'] < $rec['maxhp'] && time() > $rec['fullhptime'] && !$rec['battle'] && ($rec['hp'] > 0)) { + regenhp($rec, 0); + if ($rec['hp'] == $rec['maxhp']) { + $rec['hp']--; + } + } + return $rec; +} + +if (!isset($user)) { + $user = getuserdata(); +} + +if ($user['battle'] == 0 && $user['hp'] < $user['maxhp']) { + regenhp($user); +} + +if (!isset($banks['id'])) { + //$banks = mysql_fetch_array(mysql_query('SELECT `id`, `cr`, `ekr` FROM `bank` WHERE `id` = "' . $_COOKIE['inder'] . '" AND `owner` = "' . $user['id'] . '" LIMIT 1')); + $banks = db::c()->query('SELECT `id`, `cr`, `ekr` FROM `bank` WHERE `id` = "?s" AND `owner` = "?S" LIMIT 1', $_COOKIE['inder'], $user['id'])->fetch_assoc(); +} + +function auth_bank($id, $pass, $us) +{ + global $banks; + $r = ''; +// $bn = mysql_fetch_array(mysql_query('SELECT `id`, `pass` FROM `bank` WHERE `id` = "' . (int)$id . '" AND `owner` = "' . $us . '" LIMIT 1')); + $bn = db::c()->query('SELECT `id`, `pass` FROM `bank` WHERE `id` = ?i AND `owner` = "?s" LIMIT 1', $id, $us)->fetch_assoc(); + if (isset($bn['id'])) { + if ($bn['pass'] == md5($pass)) { + setcookie('inder', $bn['id'], time() + 60 * 60 * 24 * 7, '/', GAMEDOMAIN, 0, true); + $banks['id'] = $bn['id']; +// $banks['cr'] = $banks['cr']; +// $banks['ekr'] = $banks['ekr']; + $r = 'Успешная авторизация ...'; + } else { + $r = 'Неверный пароль ...'; + } + } else { + $r = 'Счёт не найден ...'; + } + return $r; +} + +function exit_bank($link) +{ + global $banks; + $r = 'Работа со счётом завершена ...'; + setcookie('inder', '', time() + 60 * 60 * 24 * 7, '', GAMEDOMAIN); + $banks['id'] = null; + header('Location: ' . $link); + return $r; +} + +function getNum($v) +{ + $plid = $v; + $pi = iconv_strlen($plid); + if ($pi < 5) { + $i = 0; + while ($i <= 5 - $pi) { + $plid = '0' . $plid; + $i++; + } + } + return $plid; +} + +function banks($id) +{ + global $user, $banks; +// $bank = mysql_fetch_array(mysql_query('SELECT `id`, `cr`, `ekr` FROM `bank` WHERE `id` = "' . $banks['id'] . '" AND `owner` = "' . $user['id'] . '" LIMIT 1')); + $bank = db::c()->query('SELECT `id`, `cr`, `ekr` FROM `bank` WHERE `id` = "?s" AND `owner` = "?s" LIMIT 1', $banks['id'], $user['id'])->fetch_assoc(); + if (isset($bank['id'])) { + echo '
    СчётБанковский счёт №' . $bank['id'] . '. x
    На счету ' . $bank['ekr'] . ' еврокредитов.
    '; + } else { +// $sp = mysql_query('SELECT `id` FROM `bank` WHERE `owner` = "' . $user['id'] . '" ORDER BY `id` ASC'); + $sp = db::c()->query('SELECT `id` FROM `bank` WHERE `owner` = "?s" ORDER BY `id` ASC', $user['id']); + if ($sp->getNumRows() > 0) { +// if (mysql_num_rows($sp) > 0) { + $nums .= ' '; + } else { + $nums = 'У вас нет счетов'; + } + $auth = $nums; + echo '
    Авторизация
    ' . $auth . '
    '; + } +} + +if (isset($user['id']) && $user['block'] == 1) { + die(); +} + +//function SecureAll() { +// $RichText = array("title", "text", "comment"); +// if(count($_POST) > 0) +// foreach($_POST as $k => $v) { +// if($v != null) { +// if(in_array($k, $RichText)) { +// $_POST[$k] = nl2br($_POST[$k]); +// $_POST[$k] = mysql_real_escape_string($_POST[$k]); +// } else { +// $_POST[$k] = preg_replace("/[^a-zA-Zа-яА-Я0-9_ -]/", "", $_POST[$k]); +// } +// } +// } +// +//if (count($_GET) > 0) +// foreach ($_GET as $k => $v) { +// if ($v != null) +// $_GET[$k] = preg_replace("/[^a-zA-Zа-яА-Я0-9_ -]/", "", $_GET[$k]); +// } +//} + +//function generator_fores_map() { +// $cell = 25; $i = 1; +// while($i <= $cell) { +// $params['cell_'.$i]['Up'] = mt_rand(0, 1); $params['cell_'.$i]['Down'] = mt_rand(0, 1); +// $params['cell_'.$i]['Left'] = mt_rand(0, 1); $params['cell_'.$i]['Right'] = mt_rand(0, 1); +// if($i == 1) { +// $params['cell_'.$i] = array('Up' => 0, 'Down' => mt_rand(0, 1), 'Left' => 0, 'Right' => mt_rand(0, 1)); +// } elseif($i == 2) { +// $params['cell_'.$i] = array('Up' => 0, 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 3) { +// $params['cell_'.$i] = array('Up' => 0, 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 4) { +// $params['cell_'.$i] = array('Up' => 0, 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 5) { +// $params['cell_'.$i] = array('Up' => 0, 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => 0); +// } elseif($i == 6) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => 0, 'Right' => mt_rand(0, 1)); +// } elseif($i == 7) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 8) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 9) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 10) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => 0); +// } elseif($i == 11) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => 0, 'Right' => mt_rand(0, 1)); +// } elseif($i == 12) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 13) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 14) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 15) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => 0); +// } elseif($i == 16) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => 0, 'Right' => mt_rand(0, 1)); +// } elseif($i == 17) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 18) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 19) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 20) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => mt_rand(0, 1), 'Left' => mt_rand(0, 1), 'Right' => 0); +// } elseif($i == 21) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => 0, 'Left' => 0, 'Right' => mt_rand(0, 1)); +// } elseif($i == 22) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => 0, 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 23) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => 0, 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 24) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => 0, 'Left' => mt_rand(0, 1), 'Right' => mt_rand(0, 1)); +// } elseif($i == 25) { +// $params['cell_'.$i] = array('Up' => mt_rand(0, 1), 'Down' => 0, 'Left' => mt_rand(0, 1), 'Right' => 0); +// } +// $i++; +// } +// return $params; +//} + +$var_map = array( + 'cell_1' => 'Березовая роща', 'cell_2' => 'Березовая просека', 'cell_3' => 'Тёмный угол', 'cell_4' => 'Мрачная опушка', + 'cell_5' => 'Тёмное урочище', 'cell_6' => 'Бурелом', 'cell_7' => 'Старая ива', 'cell_8' => 'Разнолесье', + 'cell_9' => 'Сосновая тропа', 'cell_10' => 'Забытая дорога', 'cell_11' => 'Новая дорога', 'cell_12' => 'Мщаник', + 'cell_13' => 'Ясная поляна', 'cell_14' => 'Заросший тракт', 'cell_15' => 'Смутный ельник', 'cell_16' => 'Сосновый бор', + 'cell_17' => 'Тихоход', 'cell_18' => 'Сосновый гай', 'cell_19' => 'Смешаный лес', 'cell_20' => 'Темная поляна', + 'cell_21' => 'Осенний угол', 'cell_22' => 'Грибное место', 'cell_23' => 'Опушка', 'cell_24' => 'Рыжий лес', + 'cell_25' => 'Полесье' +); + + +function close_dangling_tags($html) +{ + preg_match_all("#<([a-z]+)( .*)?(?!/)>#iU", $html, $result); + $openedtags = $result[1]; + preg_match_all("##iU", $html, $result); + $closedtags = $result[1]; + $len_opened = count($openedtags); + + if (count($closedtags) == $len_opened) { + return $html; + } + + $openedtags = array_reverse($openedtags); + for ($i = 0; $i < $len_opened; $i++) { + if (!in_array($openedtags[$i], $closedtags)) { + $html .= ''; + } else { + unset($closedtags[array_search($openedtags[$i], $closedtags)]); + } + } + return $html; +} + +function gotoroom($r, $redir = 1) +{ + global $user; + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '$r', `online`.`room` = '$r' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}'"); + if ($redir) { + redirectbyroom($r); + } +} + +function redirectbyroom($r) +{ + global $canalenters; + $fn = str_replace("/", "", $_SERVER["PHP_SELF"]); + if (in_array($r, $canalenters)) { + header("location: enter_cave.php"); + die(); + } + if ($r == 1) { + header("location: main.php"); + die(); + } +} + +//function test_quest($u, $t) { +// $sp = mysql_fetch_array(mysql_query('SELECT `id` FROM `quest_user` WHERE `uid` = "'.$u.'" AND `type` = "'.$t.'" AND `end` = 0 LIMIT 1')); +// if(isset($sp['id'])) { +// return $sp; +// } else { +// return false; +// } +//} + +function battlewithbot($b, $name = '', $comment = '', $time = 3, $blood = 1, $group = 1, $battleid = 0, $otherbots = array(), $noredir = 0, $userid = 0, $type = 1) +{ + global $user; + if (!$userid) { + $user1 = $user; + } elseif (is_array($userid)) { + $user1 = $userid; + } else { + $user1 = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '$userid' LIMIT 1")); + } + + $bot = mysql_fetch_array(mysql_query("SELECT `login`, `maxhp` FROM `users` WHERE `id` = '$b' LIMIT 1")); + + if (!$name) { + $name = $bot['login']; + } + + if ($battleid) { + $botid = mysql_fetch_assoc(mysql_query("SELECT `id` FROM `bots` WHERE `prototype` = '$b' AND `battle` = '$battleid' LIMIT 1")); + } elseif ($group) { + $arha = mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `prototype` = '$b' ORDER BY `id` DESC LIMIT 1")); + $battleid = $arha['battle']; + $botid = $arha['id']; + } + + if (@$battleid > 0) { + $bd = mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id` = '$battleid' LIMIT 1")); + $battle = unserialize($bd['teams']); + + $t1 = explode(";", $bd['t1']); + $t2 = explode(";", $bd['t2']); + + $ak = array_keys($battle[$t2[0]]); + $battle[$user1['id']] = $battle[$ak[0]]; + + foreach ($battle[$user1['id']] as $k => $v) { + $battle[$user1['id']][$k] = array(0, 0, time()); + $battle[$k][$user1['id']] = array(0, 0, time()); + } + + if (in_array($botid, $t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + + if ($user1['invis'] == 1) { + addlog($battleid, '' . date("H:i") . ' невидимка вмешался в поединок!
    '); + } else { + addlog($battleid, '' . date("H:i") . ' ' . nick5($user1['id'], "B" . $ttt) . ' вмешался в поединок!
    '); + } + + mysql_query('UPDATE `battle` SET `teams` = \'' . serialize($battle) . '\', `t' . $ttt . '` = CONCAT(`t' . $ttt . '`,\';' . $user1['id'] . '\') WHERE `id` = ' . $battleid . ' LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = " . $battleid . ", `zayavka` = 0 WHERE `id`= " . $user1['id'] . " LIMIT 1"); + + if (!$noredir) { + header("Location: fbattle.php"); + } + } else { + + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) VALUES ('$name', '$b', '', '" . $bot['maxhp'] . "')"); + $botnames = array(); + $botnames[$name] = 1; + $hps[$b] = $bot['maxhp']; + $botid1 = mysql_insert_id(); + $cond = " `id` = '$botid1' "; + + $teams = array(); + $teams[$user1['id']][$botid1] = array(0, 0, time()); + $teams[$botid1][$user1['id']] = array(0, 0, time()); + $t2 = "$botid1"; + + $others = ""; + $hps = array(); + + foreach ($otherbots as $k => $v) { + if (@$botnames[$v['name']]) { + $i = 1; + while (@$botnames["$v[name] ($i)"]) $i++; + $botname = "$v[name] ($i)"; + } else { + $botname = $v['name']; + } + $botnames[$botname] = 1; + if (!@$hps[$v['id']]) { + $hps[$v['id']] = mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users` WHERE `id` = '$v[id]' LIMIT 1")); + } + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) VALUES ('$botname', '$v[id]', '', '" . $hps[$v['id']]['maxhp'] . "')"); + $botid = mysql_insert_id(); + $cond .= " OR `id` = '$botid' "; + $teams[$user1['id']][$botid] = array(0, 0, time()); + $teams[$botid][$user1['id']] = array(0, 0, time()); + $others .= "" . date("H:i") . " $botname вмешался в поединок.
    "; + $t2 .= ";$botid"; + } + $sv = array(3, 4, 5); + mysql_query("INSERT INTO `battle` (`id`, `coment`, `teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`, `date`) VALUES (NULL, '', '" . serialize($teams) . "', '" . $time . "', '$type', '0', '" . $user1['id'] . "', '" . $t2 . "', '" . time() . "', '" . time() . "', '$blood', '" . date("Y-m-d H:i") . "')"); + + $battleid = mysql_insert_id(); + mysql_query("UPDATE `bots` SET `battle` = {$battleid} WHERE $cond"); + mysql_query("UPDATE `users` SET `battle` = {$battleid} WHERE `id` = {$user1[id]} LIMIT 1"); + + if ($user1['invis'] == 1) { + $rr = "невидимка и " . nick3($botid1) . ""; + } else { + $rr = "" . nick3($user1['id']) . " и " . nick3($botid1) . ""; + } + addlog($battleid, "Часы показывали " . date("Y.m.d H.i") . ", когда " . $rr . " бросили вызов друг другу.
    " . ($others ? "$others
    " : "")); + if (!$noredir) { + header("Location: fbattle.php"); + } + } + return $battleid; + if (!$noredir) { + die(""); + } +} + + +function backpacksize($u = 0) +{ + global $user; + $l = 0; + if ($u) { + $l = $u['level']; + } + if ($l == 0) { + return 75; + } + if ($l == 1) { + return 100; + } + if ($l == 2) { + return 125; + } + if ($l == 3) { + return 175; + } + if ($l == 4) { + return 225; + } + if ($l == 5) { + return 325; + } + if ($l == 6) { + return 425; + } + if ($l == 7) { + return 525; + } + if ($l == 8) { + return 625; + } + if ($l == 9) { + return 725; + } + if ($l == 10) { + return 825; + } + if ($l == 11) { + return 925; + } + if ($l >= 12) { + return 1025; + } +} + + +function placeinbackpack($qty, $userid = 0) +{ + global $user; + if (!$userid) { + $userid = $user['id']; + } + if ($userid == $user['id']) { + $user1 = $user; + } else { + $user1 = mysql_fetch_array(mysql_query("SELECT `id`, `level` FROM `users` WHERE `id` = '$user1[id]' LIMIT 1")); + } + $cnt = mysql_fetch_assoc(mysql_query("SELECT COUNT(`id`) AS `cnt` FROM `inventory` WHERE `owner` = '$user1[id]' AND `dressed` = 0 AND `setsale` = 0")); + return $cnt['cnt'] + $qty <= backpacksize($user1['id']); +} + +function cancarry($m, $u) +{ + global $user; + if (!$u) { + $u = $user['id']; + } + $bp = mysql_fetch_array(mysql_query("SELECT SUM(`massa`) AS `massa`, SUM(`gmeshok`) AS `gmeshok` FROM `inventory` WHERE `owner` = '$u[id]' AND `dressed` = 1 AND `setsale` = 0")); + $mw = 40 * $user['level'] + $user['vinos'] + $bp['gmeshok']; + if ($bp['massa'] + $m > $mw) { + return false; + } + return true; +} + +function secs2hrs($s, $short = 0) +{ + if ($s < 60) return "$s сек."; + $retstr = ''; + if ($s < 3600) { + $min = floor($s / 60); + if ($min || !$short) $retstr .= "$min мин. "; + $sec = $s % 60; + if ($sec || !$short) $retstr .= "$sec сек."; + return $retstr; + } + $ret = ''; + $ret = floor($s / 3600); + $s = $s % 3600; + + $d = floor($ret / 24); + $h = $ret % 24; + if ($d && ($d > 1 || $h || $s)) { + $retstr .= "$d д. "; + if ($h || !$short) $retstr .= "$h ч. "; + $min = floor($s / 60); + if ($min || !$short) $retstr .= "$min мин."; + return $retstr; + } elseif ($d) $h += $d * 24; + if ($h) { + $retstr = "$h ч. "; + $min = floor($s / 60); + if ($min || !$short) $retstr .= "$min мин."; + return $retstr; + } + return floor($s / 60) . " мин. " . ($s % 60) . " сек."; +} + +///* Либо я тугой, либо эти две функции нигде не используются. */ +//function list_q($u, $par) +//{ +// $sp = mysql_query('SELECT `id`, `vars` FROM `actions` WHERE `vars` LIKE "start_quest%" AND `vals` = "go" ORDER BY `id` DESC'); +// while ($pl = mysql_fetch_array($sp)) { +// $quest = mysql_fetch_array(mysql_query('SELECT `id`, `act_date` FROM `quests` WHERE `id` = "' . str_replace('start_quest', '', $pl['vars']) . '" LIMIT 1')); +// if (isset($quest['id'])) { +// $d = explod($quest['act_date']); +// if (isset($d['kill_bot']) && $par == $d['kill_bot']) { +// return 1; +// } +// } +// } +// return 0; +//} +// +//function explod($d) +//{ +// $i = 0; +// $e = explode(':|:', $d); +// while ($i < count($e)) { +// $t = explode(':=:', $e[$i]); +// if (isset($t[0])) { +// $dr[$t[0]] = $t[1]; +// } +// $i++; +// } +// unset($i, $e, $t); +// return $dr; +//} /* Либо я тугой, либо эти две функции нигде не используются. END*/ + +function show_itm_hostel($uid, $otdel, $type = 1) +{ + $r = ''; + if ($type != 1) { + $sql = $uid; + $txt = 'В сундук'; + } else { + $sql = '-101' . $uid . ''; + $txt = 'В инвентарь'; + } + $data = mysql_query("SELECT * FROM `inventory` WHERE `otdel` = '{$otdel}' AND `owner` = " . $sql . " AND `dressed`='0' ORDER BY `id` ASC"); + while ($pl = mysql_fetch_array($data)) { + $r .= show_item($pl, 10, $txt, $type); + } + if ($r == '') { + $r = '
    Пусто.
    Попробуйте другой вариант фильтрации.
    '; + } + return $r; +} + +function get_out($u) +{ + $pers = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "' . $u . '" LIMIT 1')); + undressall($pers['id']); + mysql_query('UPDATE `inventory` SET `owner` = "' . $pers['id'] . '" WHERE `owner` = "' . ($pers['id'] + _BOTSEPARATOR_) . '"'); + ### + $row = mysql_query('SELECT * FROM `effects` WHERE `owner` = "' . ($pers['id'] + _BOTSEPARATOR_) . '"'); + while ($efs = mysql_fetch_array($row)) { + efs_go_storage($efs, $pers); + } + ### +} + +function enter_bs($u) +{ + $pers = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "' . $u . '" LIMIT 1')); + undressall($pers['id']); + ### + mysql_query('UPDATE `inventory` SET `owner` = "' . ($pers['id'] + _BOTSEPARATOR_) . '" WHERE `owner` = "' . $pers['id'] . '"'); + ### + + ### + $efs = mysql_query('SELECT * FROM `effects` WHERE `owner` = "' . $pers['id'] . '"'); + while ($row = mysql_fetch_array($efs)) { + efs_add_storage($row, $pers); + } + ### + + ### + makeuserdata($pers); + ### +} + +function makeuserdata($pl) +{ + $udata = mysql_fetch_array(mysql_query('SELECT * FROM `deztow_realchars` WHERE `owner` = "' . $pl['id'] . '" LIMIT 1')); + if (isset($udata['id'])) { + $udata['sila'] = $pl['sila']; + $udata['lovk'] = $pl['lovk']; + $udata['inta'] = $pl['inta']; + $udata['vinos'] = $pl['vinos']; + $udata['maxhp'] = $pl['maxhp']; + $udata['money'] = $pl['money']; + $udata['level'] = $pl['level']; + $udata['exp'] = $pl['exp']; + $udata['nextup'] = $pl['nextup']; + $udata['align'] = $pl['align']; + $udata['stats'] = $pl['stats']; + $udata['master'] = $pl['master']; + $udata['intel'] = $pl['intel']; + $udata['noj'] = $pl['noj']; + $udata['mec'] = $pl['mec']; + $udata['topor'] = $pl['topor']; + $udata['dubina'] = $pl['dubina']; + $udata['mlight'] = $pl['mlight']; + $udata['mgray'] = $pl['mgray']; + $udata['mdark'] = $pl['mdark']; + mysql_query('UPDATE `deztow_realchars` SET `sila` = "' . $udata['sila'] . '", `lovk` = "' . $udata['lovk'] . '", `inta` = "' . $udata['inta'] . '", `vinos` = "' . $udata['vinos'] . '", `maxhp` = "' . $udata['maxhp'] . '", `money` = "' . $udata['money'] . '", `intel` = "' . $udata['intel'] . '", `level` = "' . $udata['level'] . '", `exp` = "' . $udata['exp'] . '", `nextup` = "' . $udata['nextup'] . '", `align` = "' . $udata['align'] . '", `stats` = "' . $udata['stats'] . '", `master` = "' . $udata['master'] . '", `noj` = "' . $udata['noj'] . '", `mec` = "' . $udata['mec'] . '", `topor` = "' . $udata['topor'] . '", `dubina` = "' . $udata['dubina'] . '", `mlight` = "' . $udata['mlight'] . '", `mgray` = "' . $udata['mgray'] . '", `mdark` = "' . $udata['mdark'] . '" WHERE `owner` = "' . $udata['id'] . '" LIMIT 1'); + } else { + mysql_query('INSERT INTO `deztow_realchars` (`owner`, `sila`, `lovk`, `inta`, `vinos`, `maxhp`, `intel`, `level`, `money`, `exp`, `nextup`, `align`, `stats`, `master`, `noj`, `mec`, `topor`, `dubina`, `mlight`, `mgray`, `mdark`) VALUES ("' . $pl['id'] . '", "' . $pl['sila'] . '", "' . $pl['lovk'] . '", "' . $pl['inta'] . '", "' . $pl['vinos'] . '", "' . $pl['maxhp'] . '", "' . $pl['intel'] . '", "' . $pl['level'] . '", "' . $pl['money'] . '", "' . $pl['exp'] . '", "' . $pl['nextup'] . '", "' . $pl['align'] . '", "' . $pl['stats'] . '", "' . $pl['master'] . '", "' . $pl['noj'] . '", "' . $pl['mec'] . '", "' . $pl['topor'] . '", "' . $pl['dubina'] . '", "' . $pl['mlight'] . '", "' . $pl['mgray'] . '", "' . $pl['mdark'] . '")'); + } +} + +function efs_add_storage($pl, $us) +{ + $travm = array(11, 12, 13, 14); + if (in_array($pl['type'], $travm)) { + $us['sila'] += $pl['sila']; + $us['lovk'] += $pl['lovk']; + $us['inta'] += $pl['inta']; + $us['vinos'] += $pl['vinos']; + } else { + $us['sila'] -= $pl['sila']; + $us['lovk'] -= $pl['lovk']; + $us['inta'] -= $pl['inta']; + $us['vinos'] -= $pl['vinos']; + $us['maxhp'] -= $pl['hp']; + } + $pl['owner'] = ($user['id'] + _BOTSEPARATOR_); + mysql_query('UPDATE `effects` SET `owner` = "' . $pl['owner'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query('UPDATE `users` SET `sila` = "' . $us['sila'] . '", `lovk` = "' . $us['lovk'] . '", `inta` = "' . $us['inta'] . '", `vinos` = "' . $us['vinos'] . '", `maxhp` = "' . $us['maxhp'] . '" WHERE `id` = "' . $us['id'] . '" LIMIT 1'); +} + +function efs_go_storage($pl, $us) +{ + $travm = array(11, 12, 13, 14); + if (in_array($pl['type'], $travm)) { + $us['sila'] -= $pl['sila']; + $us['lovk'] -= $pl['lovk']; + $us['inta'] -= $pl['inta']; + $us['vinos'] -= $pl['vinos']; + } else { + $us['sila'] += $pl['sila']; + $us['lovk'] += $pl['lovk']; + $us['inta'] += $pl['inta']; + $us['vinos'] += $pl['vinos']; + $us['maxhp'] += $pl['hp']; + } + $pl['owner'] = $user['id']; + mysql_query('UPDATE `effects` SET `owner` = "' . $pl['owner'] . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'); + mysql_query('UPDATE `users` SET `sila` = "' . $us['sila'] . '", `lovk` = "' . $us['lovk'] . '", `inta` = "' . $us['inta'] . '", `vinos` = "' . $us['vinos'] . '", `maxhp` = "' . $us['maxhp'] . '" WHERE `id` = "' . $us['id'] . '" LIMIT 1'); +} + + +function takeshopitem($item, $table = "shop", $present = '', $onlyonetrip = '', $destiny = 0, $fields = 0, $uid = 0, $koll = 1, $reason = '', $podzem = 0) +{ + global $user; + if (!$uid) { + $uid = $user['id']; + } + + $r = mysql_query("SHOW FIELDS FROM $table"); + $r2 = mysql_query("SHOW FIELDS FROM inventory"); + + while ($rec = mysql_fetch_assoc($r2)) { + $flds[$rec['Field']] = 1; + } + + $rec1 = mysql_fetch_array(mysql_query("SELECT * FROM `$table` WHERE `id` = '$item' LIMIT 1")); + + if ($rec1['koll']) { + mysql_query("UPDATE `inventory` SET `koll` = (`koll`+$koll), `massa` = (`massa`+" . ($rec1['massa'] * $koll) . "), `cost` = (`cost`+" . $rec1['cost'] . ") WHERE `owner` = '$uid' AND `prototype` = '$item' LIMIT 1"); + if (mysql_affected_rows() > 0) return array("img" => $rec1['img'], "name" => $rec1['name']); + $rec1['koll'] = $koll; + $rec1['massa'] *= $koll; + } + + if ($rec1['onlyone']) { + $i = mysql_fetch_row(mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '$uid' AND `prototype` = '$item'")); + if ($i) { + return array("error" => "У вас слишком много таких вещей."); + } + } + + if ($present) { + $rec1['present'] = $present; + $rec1['cost'] = 0; + $rec1['ecost'] = 0; + } + + if ($fields) { + foreach ($fields as $k => $v) { + $rec1[$k] = $v; + } + } + + $sql = ""; + while ($rec = mysql_fetch_assoc($r)) { + if (!@$flds[$rec['Field']]) continue; + if ($rec['Field'] == "dategoden") { + $goden = $rec1[$rec['Field']]; + } + if ($rec['Field'] == "goden") { + $goden = $rec1[$rec['Field']]; + } + if ($rec['Field'] == "id" || $rec['Field'] == "prototype" || $rec['Field'] == "dategoden") continue; + $sql .= ", `$rec[Field]` = '" . $rec1[$rec['Field']] . "' "; + } + + if ($podzem) { + $rec1['podzem'] = $podzem; + } + + if ($fields['goden']) { + $goden = $fields["goden"]; + } + + mysql_query("INSERT INTO `inventory` SET " . ($present ? "`present` = '$present'," : "") . (@$rec1['podzem'] ? "`podzem` = '$rec1[podzem]'," : "") . " `owner` = '$uid', `otdel` = $rec1[razdel] , `prototype` = '$item' " . ($onlyonetrip ? ", `foronetrip` = 1" : "") . ($goden ? ", `dategoden` = '" . ($goden * 60 * 60 * 24 + time()) . "'" : "") . " $sql"); + return array("img" => $rec1['img'], "name" => $rec1['name'], "id" => mysql_insert_id()); +} + +function bank_check($item, $table = "shop", $present = '', $onlyonetrip = '', $fields = 0, $uid = 0, $name = '', $cost = 0) +{ + global $user; + if (!$uid) { + $uid = $user['id']; + } + + $r = mysql_query("SHOW FIELDS FROM `$table`"); + $r2 = mysql_query("SHOW FIELDS FROM `inventory`"); + + while ($rec = mysql_fetch_assoc($r2)) { + $flds[$rec['Field']] = 1; + } + + $rec1 = mysql_fetch_array(mysql_query("SELECT * FROM `$table` WHERE `id` = '$item' LIMIT 1")); + + if ($rec1['onlyone']) { + $i = mysql_fetch_row(mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '$uid' AND `prototype` = '$item'")); + if ($i) { + echo "У вас слишком много таких вещей."; + } + } + + if ($present) { + $rec1['present'] = $present; + } + + if ($name != '') { + $rec1['name'] = $name; + } + + if ($cost) { + $cost = $cost; + } + + if ($fields) { + foreach ($fields as $k => $v) { + $rec1[$k] = $v; + } + } + + $sql = ""; + while ($rec = mysql_fetch_assoc($r)) { + if (!@$flds[$rec['Field']]) continue; + if ($rec['Field'] == "id" || $rec['Field'] == "prototype" || $rec['Field'] == "dategoden" || $rec['Field'] == "name") continue; + $sql .= ", `$rec[Field]` = '" . $rec1[$rec['Field']] . "' "; + } + + if ($fields['goden']) { + $goden = $fields["goden"]; + } + + mysql_query("INSERT INTO `inventory` SET `name` = '" . $rec1['name'] . "', `bcost` = $cost, " . ($present ? "`present` = '$present'," : "") . (@$rec1['podzem'] ? "`podzem` = '$rec1[podzem]'," : "") . " `owner` = '$uid', `otdel` = $rec1[razdel] , `prototype` = '$item' " . ($onlyonetrip ? ", `foronetrip` = 1" : "") . ($goden ? ", `dategoden` = '" . ($goden * 60 * 60 * 24 + time()) . "'" : "") . " $sql"); +} + +function bank_show() +{ + global $user; + $pl = mysql_query('SELECT `id`, `name`, `bcost` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `bcost` > 0 ORDER BY `bcost` ASC'); + if (mysql_num_rows($pl) > 0) { + echo ' '; + } else { + echo 'Нет чеков для обмена'; + } +} + +function select_arenda($u, $type, $redirect = false) +{ + $r = ''; + $hostel = mysql_fetch_array(mysql_query('SELECT `id` FROM `hostel` WHERE `uid` = "' . $u['id'] . '" LIMIT 1')); + $price = array(1 => 8, 2 => 15, 3 => 25, 4 => 40); + if (!isset($u['id'])) { + $r = 'Персонаж не найден ...'; + } else { + if ($type > 0 && $type <= 4) { + if (isset($hostel['id'])) { + $r = 'Не более 1 арендованного места ...'; + } else { + if ($u['money'] >= $price[$type]) { + $u['money'] -= $price[$type]; + mysql_query('UPDATE `users` SET `money` = "' . $u['money'] . '" WHERE `id` = "' . $u['id'] . '" LIMIT 1'); + mysql_query('INSERT INTO `hostel` (`uid`, `type`, `time`) VALUES ("' . $u['id'] . '", "' . $type . '", "' . (time() + 60 * 60 * 24 * 7) . '")'); + $r = 'Поздравляем с успешной арендой ...'; + } else { + $r = 'Недостаточно денег ...'; + } + } + } else { + $r = 'Неверный тип аренды ...'; + } + } + if ($redirect == true) { + header('Location: main.php'); + } + return $r; +} + +function remove_hostel_items($u) +{ + $itms = mysql_query('SELECT `id`, `owner` FROM `inventory` WHERE `owner` = "-101' . $u . '"'); + while ($pl = mysql_fetch_array($itms)) { + mysql_query('UPDATE `inventory` SET `owner` = "' . $u . '" WHERE `id` = "' . $pl['id'] . '" AND `owner` = "-101' . $u . '"'); + } +} + +$abils_array = array('attack', 'sleep', 'sleepf'); +$ab_user = array('sleep15', 'sleep30', 'closebattle', 'heal20', 'heal35', 'heal50', 'travmoff', 'attack', 'bloodattack', 'death', 'comment', 'openbattle', 'reamdeath', 'clone', 'unclone'); + + +function vip_relicts() +{ + global $user; + $r = ''; + if ($user['vip'] > 0 && $user['vip_time'] > time()) { + $abils = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `sokr`, `zash`, `invisible`, `attack`, `bloodattack`, `sleep30`, `travmoff`, `dontattack`, `unsleep`, `pers_attack` FROM `abils_vip` WHERE `uid` = "' . $user['id'] . '" LIMIT 1')); + if ($abils['sokr'] > 0) { + $r .= '
    ' . $abils['sokr'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['zash'] > 0) { + $r .= '
    ' . $abils['zash'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['invisible'] > 0) { + $r .= '
    ' . $abils['invisible'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['attack'] > 0) { + $r .= '
    ' . $abils['attack'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['bloodattack'] > 0) { + $r .= '
    ' . $abils['bloodattack'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['sleep30'] > 0) { + $r .= '
    ' . $abils['sleep30'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['travmoff'] > 0) { + $r .= '
    ' . $abils['travmoff'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['dontattack'] > 0) { + $r .= '
    ' . $abils['dontattack'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['unsleep'] > 0) { + $r .= '
    ' . $abils['unsleep'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['pers_attack'] > 0) { + $r .= '
    ' . $abils['pers_attack'] . '
    '; + } else { + $r .= '
    0
    '; + } + } elseif ($user['vip'] == 0) { + $r = 'Вы не вип пользователь ...'; + } elseif ($user['vip_time'] <= time()) { + $r = 'Вы не вип пользователь ...'; + } else { + $r = 'Ошибка ...'; + } + return $r; +} + +function klan_relicts() +{ + global $user; + $r = ''; + if ($user['klan'] > 0) { + $abils = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `sleep15`, `sleep30`, `closebattle`, `heal20`, `heal35`, `heal50`, `travmoff`, `attack`, `bloodattack`, `death`, `comment`, `openbattle`, `reamdeath`, `clone`, `unclone` FROM `abils_klan` WHERE `klan` = "' . $user['klan'] . '" LIMIT 1')); + if ($abils['sleep15'] > 0) { + $r .= '
    ' . $abils['sleep15'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['sleep30'] > 0) { + $r .= '
    ' . $abils['sleep30'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['closebattle'] > 0) { + $r .= '
    ' . $abils['closebattle'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['heal20'] > 0) { + $r .= '
    ' . $abils['heal20'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['heal35'] > 0) { + $r .= '
    ' . $abils['heal35'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['heal50'] > 0) { + $r .= '
    ' . $abils['heal50'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['travmoff'] > 0) { + $r .= '
    ' . $abils['travmoff'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['attack'] > 0) { + $r .= '
    ' . $abils['attack'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['bloodattack'] > 0) { + $r .= '
    ' . $abils['bloodattack'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['death'] > 0) { + $r .= '
    ' . $abils['death'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['comment'] > 0) { + $r .= '
    ' . $abils['comment'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['openbattle'] > 0) { + $r .= '
    ' . $abils['openbattle'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['reamdeath'] > 0) { + $r .= '
    ' . $abils['reamdeath'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['clone'] > 0) { + $r .= '
    ' . $abils['clone'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['unclone'] > 0) { + $r .= '
    ' . $abils['unclone'] . '
    '; + } else { + $r .= '
    0
    '; + } + } else { + $r = 'Вы не состоите в клане ...'; + } + return $r; +} + +function user_relicts() +{ + global $user; + $r = ''; + $abils = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `sleep15`, `sleep30`, `closebattle`, `heal20`, `heal35`, `heal50`, `travmoff`, `attack`, `bloodattack`, `death`, `comment`, `openbattle`, `reamdeath`, `clone`, `unclone` FROM `abils_user` WHERE `uid` = "' . $user['id'] . '" LIMIT 1')); + if ($abils['sleep15'] > 0) { + $r .= '
    ' . $abils['sleep15'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['sleep30'] > 0) { + $r .= '
    ' . $abils['sleep30'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['closebattle'] > 0) { + $r .= '
    ' . $abils['closebattle'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['heal20'] > 0) { + $r .= '
    ' . $abils['heal20'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['heal35'] > 0) { + $r .= '
    ' . $abils['heal35'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['heal50'] > 0) { + $r .= '
    ' . $abils['heal50'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['travmoff'] > 0) { + $r .= '
    ' . $abils['travmoff'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['attack'] > 0) { + $r .= '
    ' . $abils['attack'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['bloodattack'] > 0) { + $r .= '
    ' . $abils['bloodattack'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['death'] > 0) { + $r .= '
    ' . $abils['death'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['comment'] > 0) { + $r .= '
    ' . $abils['comment'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['openbattle'] > 0) { + $r .= '
    ' . $abils['openbattle'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['reamdeath'] > 0) { + $r .= '
    ' . $abils['reamdeath'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['clone'] > 0) { + $r .= '
    ' . $abils['clone'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($abils['unclone'] > 0) { + $r .= '
    ' . $abils['unclone'] . '
    '; + } else { + $r .= '
    0
    '; + } + if ($user['id'] == 10022 || $user['id'] == 9081) { + $r .= '
    ~
    '; + } + return $r; +} + +function lookStats($m) +{ + $ist = array(); + $di = explode('|', $m); + $i = 0; + $de = false; + while ($i < count($di)) { + $de = explode('=', $di[$i]); + if (isset($de[0], $de[1])) { + if (!isset($ist[$de[0]])) { + $ist[$de[0]] = 0; + } + $ist[$de[0]] = $de[1]; + } + $i++; + } + return $ist; +} + +function impStats($m) +{ + $i = 0; + $k = array_keys($m); + $d = ''; + while ($i <= count($k)) { + if ($k[$i] != '') { + $d .= $k[$i] . '=' . $m[$k[$i]] . '|'; + } + $i++; + } + $d = rtrim($d, '|'); + return $d; +} + +function add_user_abil($ab, $cost) +{ + global $user, $banks; + if (isset($ab)) { + if ($banks['ekr'] >= $cost) { + $isset = mysql_fetch_array(mysql_query('SELECT `id`, `' . $ab . '` FROM `abils_user` WHERE `uid` = "' . $user['id'] . '" LIMIT 1')); + $isset[$ab] += 1; + mysql_query('UPDATE `abils_user` SET `' . $ab . '` = "' . $isset[$ab] . '" WHERE `uid` = "' . $user['id'] . '" LIMIT 1'); + $banks['ekr'] -= $cost; + mysql_query('UPDATE `bank` SET `ekr` = "' . $banks['ekr'] . '" WHERE `owner` = "' . $user['id'] . '" LIMIT 1'); + return true; + } + } + return false; +} + +function add_klan_abil($ab, $cost) +{ + global $user, $banks; + $clan = mysql_fetch_array(mysql_query('SELECT `id`, `glava` FROM `clans` WHERE `id` = "' . $user['klan'] . '" LIMIT 1')); + if (isset($ab)) { + if ($banks['ekr'] >= $cost && $clan['glava'] == $user['id']) { + $isset = mysql_fetch_array(mysql_query('SELECT `id`, `' . $ab . '` FROM `abils_klan` WHERE `klan` = "' . $user['klan'] . '" LIMIT 1')); + $isset[$ab] += 1; + mysql_query('UPDATE `abils_klan` SET `' . $ab . '` = "' . $isset[$ab] . '" WHERE `klan` = "' . $user['klan'] . '" LIMIT 1'); + $banks['ekr'] -= $cost; + mysql_query('UPDATE `bank` SET `ekr` = "' . $banks['ekr'] . '" WHERE `owner` = "' . $user['id'] . '" LIMIT 1'); + return true; + } + } + return false; +} + +function remove_vip($uid) +{ + mysql_query('UPDATE `users` SET `vip` = "0", `vip_time` = "0" WHERE `id` = "' . $uid . '" LIMIT 1'); + $abil = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `sokr`, `zash`, `invisible`, `attack`, `bloodattack`, `sleep30`, `travmoff`, `daontattack`, `unsleep`, `pers_attack` FROM `abils_vip` WHERE `uid` = "' . $uid . '" LIMIT 1')); + if (isset($abil['id'])) { + mysql_query('UPDATE `abils_vip` SET `sokr` = 0, `zash` = 0, `invisible` = 0, `attack` = 0, `bloodattack` = 0, `sleep30` = 0, `travmoff` = 0, `daontattack` = 0, `unsleep` = 0, `pers_attack` = 0 WHERE `id` = "' . $abil['id'] . '" LIMIT 1'); + } + return true; +} + +function upd_vip($u, $type) +{ + $abli = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `sokr`, `zash`, `invisible`, `attack`, `bloodattack`, `sleep30`, `travmoff`, `dontattack`, `unsleep`, `pers_attack` FROM `abils_vip` WHERE `uid` = "' . $u . '" LIMIT 1')); + if ($type == 1) { + $abli['attack'] += 1; + $abli['bloodattack'] += 1; + if ($abli['attack'] > 10) { + $abli['attack'] = 10; + } + if ($abli['bloodattack'] > 10) { + $abli['bloodattack'] = 10; + } + mysql_query('UPDATE `abils_vip` SET `sokr` = 1, `zash` = 1, `attack` = "' . $abli['attack'] . '", `bloodattack` = "' . $abli['bloodattack'] . '" WHERE `id` = "' . $abli['id'] . '" LIMIT 1'); + echo mysql_error(); + } elseif ($type == 2) { + $abli['attack'] += 1; + $abli['bloodattack'] += 1; + $abli['travmoff'] += 1; + if ($abli['attack'] > 10) { + $abli['attack'] = 10; + } + if ($abli['bloodattack'] > 10) { + $abli['bloodattack'] = 10; + } + if ($abli['travmoff'] > 10) { + $abli['travmoff'] = 10; + } + mysql_query('UPDATE `abils_vip` SET `sokr` = 1, `zash` = 1, `attack` = "' . $abli['attack'] . ', `bloodattack` = "' . $abli['bloodattack'] . '", `travmoff` = "' . $abli['travmoff'] . '" WHERE `id` = "' . $abli['id'] . '" LIMIT 1'); + } elseif ($type == 3) { + $abli['attack'] += 1; + $abli['bloodattack'] += 1; + $abli['travmoff'] += 1; + if ($abli['attack'] > 10) { + $abli['attack'] = 10; + } + if ($abli['bloodattack'] > 10) { + $abli['bloodattack'] = 10; + } + if ($abli['travmoff'] > 10) { + $abli['travmoff'] = 10; + } + mysql_query('UPDATE `abils_vip` SET `sokr` = 1, `zash` = 1, `attack` = "' . $abli['attack'] . ', `bloodattack` = "' . $abli['bloodattack'] . '", `travmoff` = "' . $abli['travmoff'] . '" WHERE `id` = "' . $abli['id'] . '" LIMIT 1'); + } +} + +define('_BOTSEPARATOR_', 10000000); + +$exptable = array( + 0 => array(0, 0, 0, 0, 0, 20), + 20 => array(1, 0, 0, 0, 0, 45), + 45 => array(1, 0, 0, 2, 0, 75), + 75 => array(1, 0, 0, 4, 0, 110), + 110 => array(3, 1, 1, 8, 1, 160), # Это первый уровень + + 160 => array(1, 0, 0, 2, 0, 215), + 215 => array(1, 0, 0, 2, 0, 280), + 280 => array(1, 0, 0, 4, 0, 350), + 350 => array(1, 0, 0, 8, 0, 410), + 410 => array(3, 1, 1, 16, 1, 530), # Это второй уровень + + 530 => array(1, 0, 0, 8, 0, 670), + 670 => array(1, 0, 0, 12, 0, 830), + 830 => array(1, 0, 0, 16, 0, 950), + 950 => array(1, 0, 0, 24, 0, 1100), + 1100 => array(1, 0, 0, 32, 0, 1300), + 1300 => array(3, 1, 1, 40, 1, 1450), # Это третий уровень + + 1450 => array(1, 0, 0, 10, 0, 1650), + 1650 => array(1, 0, 0, 20, 0, 1850), + 1850 => array(1, 0, 0, 30, 0, 2050), + 2050 => array(1, 0, 0, 40, 0, 2200), + 2200 => array(1, 0, 0, 50, 0, 2500), + 2500 => array(5, 1, 1, 70, 1, 2900), # Это четвёртый уровень + + 2900 => array(1, 0, 0, 10, 0, 3350), + 3350 => array(1, 0, 0, 20, 0, 3800), + 3800 => array(1, 0, 0, 30, 0, 4200), + 4200 => array(1, 0, 0, 40, 0, 4600), + 4600 => array(1, 0, 0, 50, 0, 5000), + 5000 => array(3, 1, 1, 80, 1, 6000), # Это пятый уровень + + 6000 => array(1, 0, 0, 15, 0, 7000), + 7000 => array(1, 0, 0, 30, 0, 8000), + 8000 => array(1, 0, 0, 40, 0, 9000), + 9000 => array(1, 0, 0, 50, 0, 10000), + 10000 => array(1, 0, 0, 40, 0, 11000), + 11000 => array(1, 0, 0, 50, 0, 12000), + 12000 => array(1, 0, 0, 60, 0, 12500), + 12500 => array(3, 1, 1, 90, 1, 14000), # Это шестой уровень + + 14000 => array(1, 0, 0, 20, 0, 15500), + 15500 => array(1, 0, 0, 30, 0, 17000), + 17000 => array(1, 0, 0, 50, 0, 19000), + 19000 => array(1, 0, 0, 55, 0, 21000), + 21000 => array(1, 0, 0, 50, 0, 23000), + 23000 => array(1, 0, 0, 55, 0, 27000), + 27000 => array(1, 0, 0, 50, 0, 30000), + 30000 => array(5, 1, 1, 100, 1, 60000), # Это седьмой уровень + + 60000 => array(1, 0, 0, 100, 0, 75000), + 75000 => array(1, 0, 0, 100, 0, 150000), + 150000 => array(1, 0, 0, 150, 0, 175000), + 175000 => array(1, 0, 0, 50, 0, 200000), + 200000 => array(1, 0, 0, 100, 0, 225000), + 225000 => array(1, 0, 0, 50, 0, 250000), + 250000 => array(1, 0, 0, 100, 0, 260000), + 260000 => array(1, 0, 0, 50, 0, 280000), + 280000 => array(1, 0, 0, 100, 0, 300000), + 300000 => array(5, 1, 1, 700, 1, 1500000), # Это восьмой уровень + + 1500000 => array(1, 0, 0, 500, 0, 1750000), + 1750000 => array(1, 0, 0, 200, 0, 2000000), + 2000000 => array(1, 0, 0, 300, 0, 2175000), + 2175000 => array(1, 0, 0, 100, 0, 2300000), + 2300000 => array(1, 0, 0, 100, 0, 2400000), + 2400000 => array(1, 0, 0, 100, 0, 2500000), + 2500000 => array(1, 0, 0, 200, 0, 2600000), + 2600000 => array(1, 0, 0, 100, 0, 2800000), + 2800000 => array(1, 0, 0, 200, 0, 3000000), + 3000000 => array(5, 1, 2, 1000, 1, 6000000), # Это девятый уровень + + 6000000 => array(1, 0, 0, 200, 0, 6500000), + 6500000 => array(1, 0, 0, 250, 0, 7500000), + 7500000 => array(1, 0, 0, 200, 0, 8500000), + 8500000 => array(1, 0, 0, 250, 0, 9000000), + 9000000 => array(1, 0, 0, 400, 0, 9250000), + 9250000 => array(1, 0, 0, 250, 0, 9500000), + 9500000 => array(1, 0, 0, 400, 0, 9750000), + 9750000 => array(1, 0, 0, 350, 0, 9900000), + 9900000 => array(1, 0, 0, 500, 0, 10000000), + 10000000 => array(9, 1, 3, 2000, 1, 13000000), # Это десятый уровень + + 13000000 => array(2, 0, 0, 200, 0, 14000000), + 14000000 => array(2, 0, 0, 200, 0, 15000000), + 15000000 => array(2, 0, 0, 200, 0, 16000000), + 16000000 => array(2, 0, 0, 200, 0, 17000000), + 17000000 => array(2, 0, 0, 200, 0, 17500000), + 17500000 => array(2, 0, 0, 200, 0, 18000000), + 18000000 => array(2, 0, 0, 200, 0, 19000000), + 19000000 => array(2, 0, 0, 200, 0, 19500000), + 19500000 => array(2, 0, 0, 200, 0, 20000000), + 20000000 => array(2, 0, 0, 250, 0, 30000000), + 30000000 => array(2, 0, 0, 200, 0, 32000000), + 32000000 => array(2, 0, 0, 250, 0, 34000000), + 34000000 => array(2, 0, 0, 200, 0, 35000000), + 35000000 => array(2, 0, 0, 250, 0, 36000000), + 36000000 => array(2, 0, 0, 200, 0, 38000000), + 38000000 => array(2, 0, 0, 250, 0, 40000000), + 40000000 => array(2, 0, 0, 200, 0, 42000000), + 42000000 => array(2, 0, 0, 250, 0, 44000000), + 44000000 => array(2, 0, 0, 350, 0, 47000000), + 47000000 => array(2, 0, 0, 300, 0, 50000000), + 50000000 => array(2, 0, 0, 350, 0, 52000000), + 52000000 => array(10, 1, 3, 3000, 1, 58000000), # Это одиннадцатый уровень + + 58000000 => array(1, 0, 0, 350, 0, 65000000), + 65000000 => array(1, 0, 0, 300, 0, 72000000), + 72000000 => array(1, 0, 0, 350, 0, 77000000), + 77000000 => array(1, 0, 0, 350, 0, 82000000), + 82000000 => array(1, 0, 0, 300, 0, 87000000), + 87000000 => array(1, 0, 0, 350, 0, 92000000), + 92000000 => array(1, 0, 0, 350, 0, 100000000), + 100000000 => array(1, 0, 0, 350, 0, 120000000), + 120000000 => array(2, 0, 0, 400, 0, 140000000), + 140000000 => array(2, 0, 0, 400, 0, 160000000), + 160000000 => array(2, 0, 0, 600, 0, 180000000), + 180000000 => array(2, 0, 0, 400, 0, 210000000), + 210000000 => array(2, 0, 0, 400, 0, 240000000), + 240000000 => array(10, 2, 4, 5000, 1, 260000000), # Это двеннадцатый уровень + + 260000000 => array(2, 0, 0, 400, 0, 320000000), + 320000000 => array(2, 0, 0, 400, 0, 400000000), + 400000000 => array(3, 0, 0, 600, 0, 455000000), + 455000000 => array(2, 0, 0, 150, 0, 510000000), + 510000000 => array(2, 0, 0, 100, 0, 600000000), + 600000000 => array(2, 0, 0, 300, 0, 750000000), + 750000000 => array(5, 0, 0, 700, 0, 770000000), + 770000000 => array(1, 0, 0, 400, 0, 815000000), + 815000000 => array(1, 0, 0, 200, 0, 860000000), + 860000000 => array(1, 0, 0, 600, 0, 1000000000), + 1000000000 => array(1, 0, 0, 300, 0, 1100000000), + 1100000000 => array(1, 0, 0, 450, 0, 1250000000), + 1250000000 => array(1, 0, 0, 450, 0, 1500000000), + 1500000000 => array(10, 1, 5, 8000, 1, 9999999999), # Это тринадцатый уровень +); + +$RefBonus = array( + "1" => array(5, 0), + "2" => array(10, 10), + "3" => array(20, 40), + "4" => array(30, 60), + "5" => array(40, 80), + "6" => array(100, 120), + "7" => array(150, 200), + "8" => array(200, 300), + "9" => array(400, 1000), + "10" => array(500, 2000), + "11" => array(1000, 4000), + "12" => array(3000, 10000), + "13" => array(10000, 30000), + "14" => array(15000, 40000), + "15" => array(20000, 50000), + "16" => array(30000, 60000), + "17" => array(40000, 70000), + "18" => array(50000, 100000) + +); + +$rooms = array( + "0" => "Секретная Комната", + "1" => "Комната Новичков", + "2" => "Комната Новичков 2", + "3" => "Комната Новичков 3", + "4" => "Комната Новичков 4", + "5" => "Зал Воинов ", + "6" => "Зал Воинов 1", + "7" => "Зал Воинов 2", + "8" => "Торговый зал", + "9" => "Рыцарский зал", + "10" => "Башня рыцарей-магов", + "11" => "Колдовской мир", + "12" => "Этажи духов", + "13" => "Астральные этажи", + "14" => "Огненный мир", + "15" => "Зал Паладинов", + "16" => "Совет Белого Братства", + "17" => "Зал Тьмы", + "18" => "Царство Тьмы", + "19" => "Будуар", + "20" => "Центральная площадь", + "2702" => "Центральная площадь", + "21" => "Страшилкина улица", + "22" => "Магазин", + "23" => "Ремонтная мастерская", + "24" => "Памятник Архангелу", + "25" => "Комиссионный магазин", + "26" => "Большая парковая улица", + "2655" => "Арена Богов", + "2601" => "Замковая Площадь", + "27" => "Почта", + "28" => "Регистратура кланов", + "29" => "Банк", + "30" => "Регистратура кланов", + "31" => "Башня смерти", + "32" => "Готический замок", + "33" => "Лабиринт хаоса", + "34" => "Цветочный магазин", + "35" => "Сувенирный магазин", + "36" => "Зал Стихий", + "37" => "Готический замок - приемная", + "38" => "Готический замок - арсенал", + "39" => "Готический замок - внутренний двор", + "40" => "Готический замок - мастерские", + "41" => "Готический замок - комнаты отдыха", + "42" => "Лотерея Сталкеров", + "43" => "Хижина Знахаря", + "44" => "Новогодняя елка", + "45" => "Замок Мэра", + "47" => "Замок (строительство)", + "48" => "Обитель Хаоса", + "49" => "Проход к Цитадели Хаоса", + "50" => "Магазин Берёзка", + "51" => "Парковая улица", + "52" => "Квартал Законников", + "53" => "Библиотека", + + "54" => "Зал Света", + "55" => "Царство Света", + "56" => "Царство Стихий", + "57" => "Зал Клановых Войн", + + "101" => "Противостояние сил", + "200" => "Турнир", "401" => "Врата Ада", + // БС + "501" => "Восточная Крыша", + "502" => "Бойница", + "503" => "Келья 3", + "504" => "Келья 2", + "505" => "Западная Крыша 2", + "506" => "Келья 4", + "507" => "Келья 1", + "508" => "Служебная комната", + "509" => "Зал Отдыха 2", + "510" => "Западная Крыша 1", + "511" => "Выход на Крышу", + "512" => "Зал Статуй 2", + "513" => "Храм", + "514" => "Восточная комната", + "515" => "Зал Отдыха 1", + "516" => "Старый Зал 2", + "517" => "Старый Зал 1", + "518" => "Красный Зал 3", + "519" => "Зал Статуй 1", + "520" => "Зал Статуй 3", + "521" => "Трапезная 3", + "522" => "Зал Ожиданий", + "523" => "Оружейная", + "524" => "Красный Зал-Окна", + "525" => "Красный Зал", + "526" => "Гостинная", + "527" => "Трапезная 1", + "528" => "Внутренний Двор", + "529" => "Внутр.Двор-Вход", + "530" => "Желтый Коридор", + "531" => "Мраморный Зал 1", + "532" => "Красный Зал 2", + "533" => "Библиотека 1", + "534" => "Трапезная 2", + "535" => "Проход Внутр. Двора", + "536" => "Комната с Камином", + "537" => "Библиотека 3", + "538" => "Выход из Мрам.Зала", + "539" => "Красный Зал-Коридор", + "540" => "Лестница в Подвал 1", + "541" => "Южный Внутр. Двор", + "542" => "Трапезная 4", + "543" => "Мраморный Зал 3", + "544" => "Мраморный Зал 2", + "545" => "Картинная Галерея 1", + "546" => "Лестница в Подвал 2", + "547" => "Проход Внутр. Двора 2", + "548" => "Внутр.Двор-Выход", + "549" => "Библиотека 2", + "550" => "Картинная Галерея 3", + "551" => "Картинная Галерея 2", + "552" => "Лестница в Подвал 3", + "553" => "Терасса", + "554" => "Оранжерея", + "555" => "Зал Ораторов", + "556" => "Лестница в Подвал 4", + "557" => "Темная Комната", + "558" => "Винный Погреб", + "559" => "Комната в Подвале", + "560" => "Подвал", + "600" => "Вход в Цитадель Хаоса", + "601" => "Цитадель Хаоса", + "602" => "Городской парк", + "603" => "Арена Ангелов", + + 620 => "Вход в Рудник", + 621 => "Рудник", + + 660 => "Гостиница, холл", + 661 => "Гостиница", + 662 => "Памятник Архангелу", + + 760 => "Тёмный Лес", + // Клановая улица + "650" => "Клановая улица", + "651" => "Клановая улица", + "652" => "Клановый Замок", + // + "1000" => "Вход в рудник", + "1001" => "Рудник", + 1051 => "Вход в Лабиринты", + 1052 => "Лабиринты", + 1053 => "Храмовая лавка", + 1054 => "Фонтан Удачи", + 1055 => "Групповое сражение", + // Тайный проход из Клуба в Замок Законников + "2000" => "Подземный проход", + "2001" => "Подземный проход (1)", + "2002" => "Подземный проход (2)", + "2003" => "Подземный проход (3)", + "2004" => "Подземный проход (4)", + "2005" => "Подземный проход (5)", + "2006" => "Подземный проход (6)", + "2007" => "Подземный проход (7)", + "2008" => "Подземный проход (8)", + "2009" => "Подземный проход (9)", + "2010" => "Подземный проход (10)", + "2011" => "Подземный проход (11)", + "2012" => "Подземный проход (12)", + "2013" => "Подземный проход (13)", + "2014" => "Подземный проход (14)", + "2015" => "Подземный проход (15)", + "2016" => "Подземный проход (16)", + "2017" => "Подземный проход (17)", + "2018" => "Подземный проход (18)", + "2019" => "Подземный проход (19)", + "2020" => "Подземный проход (20)", + "2021" => "Подземный проход (21)", + "2022" => "Подземный проход (22)", + "2023" => "Подземный проход (23)", + "2024" => "Подземный проход (24)", + "2025" => "Подземный проход (25)", + "2026" => "Подземный проход (26)", + "2027" => "Подземный проход (27)", + "2028" => "Подземный проход (28)", + "2029" => "Подземный проход (29)", + "2030" => "Подземный проход (30)", + "2031" => "Подземный проход (31)", + "2032" => "Подземный проход (32)", + "2033" => "Подземный проход (33)", + "2034" => "Подземный проход (34)", + "2035" => "Подземный проход (35)", + "2036" => "Подземный проход (36)", + "2037" => "Подземный проход (37)", + "2038" => "Подземный проход (38)", + "2039" => "Подземный проход (39)", + "2040" => "Подземный проход (40)", + "2041" => "Подземный проход (41)", + "2042" => "Подземный проход (42)", + "2043" => "Подземный проход (43)", + "2044" => "Подземный проход (44)", + "2045" => "Подземный проход (45)", + "2046" => "Подземный проход (46)", + "2047" => "Подземный проход (47)", + "2048" => "Подземный проход (48)", + "2049" => "Подземный проход (49)", + "2050" => "Подземный проход (50)", + "2051" => "Подземный проход (51)", + "2052" => "Подземный проход (52)", + "2053" => "Подземный проход (53)", + "2054" => "Подземный проход (54)", + "2055" => "Подземный проход (55)", + "2056" => "Подземный проход (56)", + "2057" => "Подземный проход (57)", + "2100" => "Сектор 2100" + + +); +//эффективность магии +$elem_align = array( + "a" => array("a" => "1", "e" => "0", "f" => "0.5", "w" => "0.5"), + "e" => array("a" => "0", "e" => "1", "f" => "0.5", "w" => "0.5"), + "f" => array("a" => "0.5", "e" => "0.5", "f" => "1", "w" => "0"), + "w" => array("a" => "0.5", "e" => "0.5", "f" => "0", "w" => "1"), +); + +$elem_bonus = array( + "a" => array("a" => "1", "e" => "0.75", "f" => "1.25", "w" => "1"), + "e" => array("a" => "1.25", "e" => "1", "f" => "1", "w" => "0.75"), + "f" => array("a" => "0.75", "e" => "1", "f" => "1", "w" => "1.25"), + "w" => array("a" => "1", "e" => "1.25", "f" => "0.75", "w" => "1"), +); + +header("Cache-Control: no-cache"); + +function level_up($uid) +{ + global $exptable, $RefBonus; + $us = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `level`, `money`, `sex`, `exp`, `vinos`, `nextup`, `stats`, `master`, `maxhp`, `refer`, `ip`, `in_tower` FROM `users` WHERE `id` = "' . $uid . '" LIMIT 1')); + if (isset($us['id'])) { + if ($us['exp'] >= $us['nextup'] && !$us['in_tower']) { + if ($exptable[$us['nextup']][4] == 1) { + if ($us['sex'] == 1) { + addch("Персонаж {$us['login']} перешел на " . ($us['level'] + 1) . " уровень."); + } else { + addch("Персонаж {$us['login']} перешел на " . ($us['level'] + 1) . " уровень."); + } + addchp('Внимание! Вы перешли на новый уровень. За это Вы получаете: ' . $exptable[$us['nextup']][3] . ' кр.', '{[]}' . $us['login'] . '{[]}'); + ##### + $ReferalIP = mysql_fetch_array(mysql_query("SELECT `ip` FROM `users` WHERE `id` = {$us['refer']} LIMIT 1")); + $ReferalIP = $ReferalIP['ip']; + if (!empty($ReferalIP) && ($us['ip'] != $ReferalIP) && in_array($us['level'] + 1, array_keys($RefBonus))) { + if ($RefBonus[$us['level'] + 1][0] > 0) { + $text = "Внимание! Персонаж " . $us['login'] . " перешел на " . ($us['level'] + 1) . " уровень."; + GiveKr($us['refer'], $RefBonus[$us['level'] + 1][0], null); + mysql_query("INSERT INTO `referal` (`money`, `master_id`, `ref_id`, `date`) VALUES('" . $RefBonus[$us['level'] + 1][0] . "', '{$us['refer']}', '{$us['id']}', '" . time() . "')"); + $text .= ' Вам перечислено ' . $RefBonus[$us['level'] + 1][0] . ' кр. '; + if ($RefBonus[$us['level'] + 1][1] > 0) { + GiveDoblest($us['refer'], $RefBonus[$us['level'] + 1][1], null); + $text .= ' Вы получили ' . $RefBonus[$us['level'] + 1][1] . ' доблести.'; + } + $text .= ""; + } + $RefOnline = mysql_fetch_array(mysql_query("SELECT `id` FROM `online` WHERE `date` >= " . (time() - 60) . " AND `id` = '{$us['refer']}' LIMIT 1")); + if ($RefOnline[0]) { + addchp($text, '{[]}' . nick7($us['refer']) . '{[]}'); + } else { + mysql_query("INSERT INTO `telegraph` (`owner`, `date`, `text`) values ('{$us['refer']}', '', '{$text}')"); + } + } + $us['level'] += $exptable[$us['nextup']][4]; + #### + } elseif ($exptable[$us['nextup']][4] == 0) { + addchp('Внимание! Вы перешли на новый АП. За это Вы получаете: ' . $exptable[$us['nextup']][3] . ' кр.', '{[]}' . $us['login'] . '{[]}'); + } + $us['nextup'] = $exptable[$us['nextup']][5]; + $us['stats'] += $exptable[$us['nextup']][0]; + $us['master'] += $exptable[$us['nextup']][1]; + $us['vinos'] += $exptable[$us['nextup']][2]; + $us['maxhp'] += ($exptable[$us['nextup']][2] * 6); + $us['money'] += $exptable[$us['nextup']][3]; + mysql_query('UPDATE `users` SET `nextup` = "' . $us['nextup'] . '", `stats` = "' . $us['stats'] . '", `master` = "' . $us['master'] . '", `vinos` = "' . $us['vinos'] . '", `maxhp` = "' . $us['maxhp'] . '", `money` = "' . $us['money'] . '", `level` = "' . $us['level'] . '" WHERE `id` = "' . $us['id'] . '" LIMIT 1'); + } + } +} + +######## +$in_user = mysql_fetch_array(mysql_query("SELECT `id`, `exp`, `nextup`, `level` FROM `users` WHERE `id` = {$_SESSION['uid']} LIMIT 1")); +if (isset($in_user['id']) && ($in_user['exp'] >= $in_user['nextup']) && $in_user['level'] < 13) { + level_up($in_user['id']); +} +######## + +function getcavedata($caveleader, $floor) +{ + return unserialize(implode("", file("cavedata/$caveleader-$floor.dat"))); +} + +function savecavedata($cavedata, $caveleader, $floor) +{ + $f1 = fopen("cavedata/$caveleader-$floor.dat", "wb+"); + flock($f1, LOCK_EX); + fwrite($f1, serialize($cavedata)); + flock($f1, LOCK_UN); + fclose($f1); +} + +function topsethp() +{ + global $user; + if ($user['hp'] >= $user['maxhp'] || $user['battle']) { + return "top.setHP($user[hp], $user[maxhp], 0)"; + } + $fulltime = timetoheals($user); + $delay = round(1 / ($user['maxhp'] / $fulltime) * 1000); + return "top.setHP($user[hp], $user[maxhp], $delay);"; +} + +function timetoheal() +{ + $fulltime = 600; + return $fulltime; +} + +function getslot($i, $user1 = 0) +{ + global $userslots, $user; + if (!$user1) { + $user1 = $user; + } + foreach ($userslots as $k => $v) { + if ($user1[$v] == $i) { + return $v; + } + } +} + +function nick($user) +{ + $r = ''; + $id = $user['id']; + if ($user['align'] > 0) { + $al = $user['align']; + } else { + $al = 0; + } + if ($user['klan'] != '') { + $cl = ''; + } else { + $cl = ''; + } + $r .= '
    ' . $cl . ''; + $r .= '' . $user['login'] . ' [' . $user['level'] . '] '; + $r .= ' : ' . $user['hp'] . '/' . $user['maxhp'] . '
    '; + $r .= ''; + return $r; +} + +// nick +function nicks($user) +{ + $id = $user['id']; + ?> +
    .gif"/>'; + } ?> [] target=_blank>Инф. о <?= $user['login'] ?> + Уровень жизни ' + HEIGHT=10 ALT="Уровень жизни" name=HP1>' HEIGHT=10 + ALT="Уровень жизни" name=HP2>: /
    + _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `prototype`, `hp` FROM `bots` WHERE `id` = "' . $id . '" LIMIT 1')); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT `id`, `login`, `level`, `hp`, `align`, `klan`, `hp`, `maxhp` FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT `id`, `login`, `level`, `hp`, `align`, `klan`, `hp`, `maxhp` FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + } + + if ($user[0]) { + if ($showinvis) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$id}' AND `type` = '1022' LIMIT 1")); + if ($effect) { + $user['level'] = '??'; + $user['login'] = 'невидимка'; + $user['align'] = '0'; + $user['klan'] = ''; + $user['id'] = ''; + $user['hp'] = '??'; + $user['maxhp'] = '??'; + } + } + $mm .= " 0 ? $user['align'] : "0") . ".gif\" />"; + if ($user['klan'] != '') { + $mm .= ''; + } + $mm .= "{$user['login']} [{$user['level']}]\"Инф."; + } + return $mm; +} + +// nick +function nick2($id, $showinvis = 1) +{ + if ($id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `prototype`, `hp` FROM `bots` WHERE `id` = "' . $id . '" LIMIT 1')); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT `id`, `login`, `level`, `hp`, `align`, `klan`, `hp`, `maxhp` FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT `id`, `login`, `level`, `hp`, `align`, `klan`, `hp`, `maxhp` FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + } + + if ($user[0]) { + if ($showinvis) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$id}' AND `type` = '1022' LIMIT 1")); + if ($effect) { + $user['level'] = '??'; + $user['login'] = 'невидимка'; + $user['align'] = '0'; + $user['klan'] = ''; + $user['id'] = ''; + $user['hp'] = '??'; + $user['maxhp'] = '??'; + } + } + ?>.gif" /> + '; ?> + + [] target=_blank>Инф. о <?= $user['login'] ?> + _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = ' . $id . ' LIMIT 1')); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + } + + if ($user[0]) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$id}' AND `type` = '1022' LIMIT 1")); + if ($effect) { + $user['level'] = '??'; + $user['login'] = 'невидимка'; + $user['align'] = '0'; + $user['klan'] = ''; + $user['id'] = ''; + $user['hp'] = '??'; + $user['maxhp'] = '??'; + } + return "" . $user['login'] . " [" . $user['hp'] . "/" . $user['maxhp'] . "]"; + } +} + +// nick +function nick7($id) +{ + if ($id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `id` = '{$id}' LIMIT 1")); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + } + if ($user[0]) { + if ($user['invis']) { + $user['login'] = 'невидимка'; + } + return $user['login']; + } +} + +function nick5($id, $st) +{ + if ($id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `id` = '{$id}' LIMIT 1")); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + } + + if ($user[0]) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$id}' AND `type` = '1022' LIMIT 1")); + if ($effect) { + $user['login'] = 'невидимка'; + } + return "" . $user['login'] . ""; + } +} + +function check_proc($u) +{ + $r = 100; + $usr = mysql_fetch_array(mysql_query('SELECT `id`, `vip`, `vip_time` FROM `users` WHERE `id` = "' . $u . '" LIMIT 1')); + if ($usr['vip_time'] > time()) { + if ($usr['vip'] == 1) { + $r += 10; + } elseif ($usr['vip'] == 2) { + $r += 15; + } elseif ($usr['vip'] == 3) { + $r += 20; + } + } + $effes = mysql_fetch_array(mysql_query('SELECT SUM(`proc_exp`) AS `sums` FROM `effects` WHERE `owner` = "' . $usr['id'] . '" AND `proc_exp` > 0')); + if ($effes['sums'] > 0) { + $r += $effes['sums']; + } + return $r; +} + +function join_arena($u, $btl, $team, $at) +{ + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "' . $btl . '" LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$at]); + $battle[$u] = $battle[$ak[0]]; + foreach ($battle[$u] as $k => $v) { + $battle[$u][$k] = array(0, 0, time()); + $battle[$k][$u] = array(0, 0, time()); + } + if ($team == 1) { + $adtxt = 'За сторону Тьмы.'; + } else { + $adtxt = 'За сторону Света.'; + } + addlog($btl, '' . date("H:i") . ' ' . nick5($u, "B" . $team) . ' вмешался в поединок! ' . $adtxt . '
    '); + mysql_query('UPDATE `battle` SET `teams` = \'' . serialize($battle) . '\', `t' . $team . '` = CONCAT(`t' . $team . '`,\';' . $u . '\') WHERE `id` = "' . $btl . '" LIMIT 1'); + mysql_query("UPDATE users SET `battle` = '" . $btl . "', `zayavka` = 0 WHERE `id` = '" . $u . "' LIMIT 1"); + header("Location: fbattle.php"); +} + +function aligntype($a) +{ + $lightaligns = array("1.1", "1.2", "1.5", "1.7", "1.75", "1.9", "1.91", "1.92", "1.96", "1.97", "1.98", "1.99", "6", "8.11"); + $darkaligns = array("2.2", "3", "8.21"); + $neutralaligns = array("2", "8.31"); + if (in_array($a, $lightaligns)) { + return 1; + } + if (in_array($a, $darkaligns)) { + return 2; + } + if (in_array($a, $neutralaligns)) { + return 3; + } + return 0; +} + +function nick6($id) +{ + if ($id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT `id`, `prototype`, `hp`, `name` FROM `bots` WHERE `id` = ' . $id . ' LIMIT 1')); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = ' . $id . ' LIMIT 1')); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + } else { + $user = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = ' . $id . ' LIMIT 1')); + } + if ($user[0]) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$id}' AND `type` = '1022' LIMIT 1")); + if ($effect) { + $user['login'] = 'невидимка'; + $user['level'] = '??'; + $user['id'] = '??'; + } + return "" . $user['login'] . "
    [" . $user['level'] . "] \"Инф."; + } +} + +function nick3($id) +{ + if ($id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = "' . $id . '" LIMIT 1')); + $bot = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$bot}' LIMIT 1")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + } + + if (isset($user['id'])) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$id}' AND `type` = '1022' LIMIT 1")); + if ($effect && $id < _BOTSEPARATOR_) { + $user['login'] = 'невидимка'; + $user['level'] = '??'; + $user['id'] = '??'; + $user['align'] = '0'; + $user['klan'] = '0'; + } + if ($user['align'] > 0) { + $mm .= " 0 ? $user['align'] : "0") . ".gif\" />"; + } + if ($user['klan'] > 0) { + $mm .= ''; + } + $mm .= "{$user['login']} [{$user['level']}]"; + } + return $mm; +} + +function ClanImage($clan_id) +{ + $clanimg = mysql_fetch_assoc(mysql_query("SELECT `short` FROM `clans` WHERE `id` = '{$clan_id}' LIMIT 1")); + if ($clanimg['short']) { + $clanimg = $clanimg['short']; + } else { + $clanimg = "1x1"; + } + return $clanimg; +} + +function GiveExp($id, $exp) +{ + mysql_query("UPDATE `users` SET `exp` = (`exp`+'" . $exp . "') WHERE `id` = '" . $id . "' LIMIT 1"); +} + +function GiveRep($id, $rep) +{ + mysql_query("UPDATE `users` SET `doblest` = (`doblest`+$rep), `rep_laba` = (`rep_laba`+$rep) WHERE `id` = '" . $id . "' LIMIT 1"); +} + +function GiveKr($id, $kr, $text = "Вы получили ") +{ + mysql_query("UPDATE `users` SET `money` = (`money`+{$kr}) WHERE `id` = {$id} LIMIT 1"); + if ($text != null) { + addchp($text . $kr . ' кр. ', '{[]}' . nick7($id) . '{[]}'); + } + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$id}', '\"" . $user['login'] . "\"" . $text . " " . $kr . " кр. ', '1', '" . time() . "')"); +} + +function GiveDoblest($id, $dobl, $text = "Вы получили ") +{ + mysql_query("UPDATE `users` SET `doblest` = (`doblest`+{$dobl}), `rep_laba` = (`rep_laba`+$dobl) WHERE `id` = {$id} LIMIT 1"); + if ($text != null) { + addchp($text . $dobl . ' доблести. ', '{[]}' . nick7($id) . '{[]}'); + } + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$id}', '\"" . $user['login'] . "\"" . $text . " " . $dobl . " доблести. ', '1', '" . time() . "')"); +} + +// полоска НР +function setHP($hp, $maxhp, $battle) +{ + $rr = ''; + if ($hp < $maxhp * 0.33) { + $polosa = 'i/1red.gif'; + } elseif ($hp < $maxhp * 0.66) { + $polosa = 'i/1yellow.gif'; + } else { + $polosa = 'i/1green.gif'; + } + + $rr .= "\"УровеньУровень жизни'; + $rr .= '' . $hp . '/' . $maxhp . ''; + return $rr; +} + +function setMP($mp, $maxmp, $battle) +{ + $rr = ''; + return $rr; +} + +function echoscroll($slot) +{ + global $user; + if ($user['battle']) { + $script = 'fbattle'; + } else { + $script = 'main'; + } + + if ($user['battle'] > 0) + $bat = mysql_fetch_array(mysql_query("SELECT `id`, `magic` FROM `battle` WHERE `id` = '{$user['battle']}' LIMIT 1")); + $all_magic = unserialize($bat['magic']); + $dress = mysql_fetch_array(mysql_query("SELECT `id`, `magic`, `name`, `img`, `duration`, `maxdur` FROM `inventory` WHERE `id` = '{$user[$slot]}' LIMIT 1")); + $need_charge = mysql_fetch_array(mysql_query("SELECT `needcharge` FROM `magic` WHERE `id` = '{$dress['magic']}' LIMIT 1")); + if (($user[$slot] > 0) && ($all_magic[$user['id']] < 1 || $need_charge['needcharge'] == 0)) { + $row['id'] = $user[$slot]; + if ($dress['magic']) { + $magic = magicinf($dress['magic']); + echo ""; + } + echo ''; + } elseif (($user[$slot] > 0) && ($all_magic[$user['id']] >= 1) && $need_charge['needcharge'] > 0) { + echo ""; + } else { + echo ""; + } +} + +// ссылка на магию + + +function showhrefmagic($dress) +{ + global $user; + $r = ''; + if ($user['battle']) { + $script = 'fbattle'; + } else { + $script = 'main'; + } + + $magic = magicinf($dress['includemagic']); + $r .= ""; + $r .= "" . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни +{$dress['ghp']}" : "") . (($dress['minu'] > 0) ? "
    Урон {$dress['minu']}-{$dress['maxu']}" : "") . (($dress['text'] != null) ? "
    На оружии выгравировано '{$dress['text']}'" : "") . "
    Встроена магия: " . $magic['name'] . "\" />
    "; + return $r; +} + +function timeOut($ttm) +{ + $out = ''; + $time_still = $ttm; + $tmp = floor($time_still / 2592000); + $id = 0; + if ($tmp > 0) { + $id++; + if ($id < 3) { + $out .= $tmp . " мес. "; + } + $time_still = $time_still - $tmp * 2592000; + } + $tmp = floor($time_still / 86400); + if ($tmp > 0) { + $id++; + if ($id < 3) { + $out .= $tmp . " дн. "; + } + $time_still = $time_still - $tmp * 86400; + } + $tmp = floor($time_still / 3600); + if ($tmp > 0) { + $id++; + if ($id < 3) { + $out .= $tmp . " ч. "; + } + $time_still = $time_still - $tmp * 3600; + } + $tmp = floor($time_still / 60); + if ($tmp > 0) { + $id++; + if ($id < 3) { + $out .= $tmp . " мин. "; + } + } + if ($out == '') { + if ($time_still < 0) { + $time_still = 0; + } + $out = $time_still . ' сек.'; + } + return $out; +} + +$img = array(1 => "travma.gif", 2 => "magic/sleep.gif", 3 => "magic/sleepf.gif", 4 => "magic/haos.gif", 5 => "magic/obezl.gif", 6 => "expx15.gif", 7 => "euphoria.png", 8 => "sleep_obj.gif", 10 => "magic/chains.gif", 11 => "travma.gif", 12 => "travma.gif", 13 => "travma.gif", 14 => "travma.gif", 20 => "check.gif", 21 => "magic/al_neut_power.gif", 22 => "magic/fist_def.gif", 201 => "magic/defence.gif", 202 => "magic/devastate.gif", 203 => "magic/spell_luck.gif", 215 => "magic/wis_air_def1.gif", 216 => "magic/wis_air_def2.gif", 217 => "magic/wis_air_def3.gif", 218 => "magic/wis_earth_def1.gif", 219 => "magic/wis_earth_def2.gif", 220 => "magic/wis_earth_def3.gif", 221 => "magic/wis_fire_def1.gif", 222 => "magic/wis_fire_def2.gif", 223 => "magic/wis_fire_def3.gif", 224 => "magic/wis_water_def1.gif", 225 => "magic/wis_water_def2.gif", 226 => "magic/wis_water_def3.gif", 227 => "magic/attack_defence.gif", 1022 => "sh/hidden.gif"); + +function show_eff_inf($u, $type) +{ + global $img; + $r = ''; + $and = ''; + if ($type == 1) { + $and = "AND `type` != 1022"; + } + $ef = mysql_query('SELECT * FROM `effects` WHERE `owner` = "' . $u . '" ' . $and . ''); + if ($type == 1) { + while ($effs = mysql_fetch_array($ef)) { + if ($effs['type'] == 11 || $effs['type'] == 12 || $effs['type'] == 13 || $effs['type'] == 14) { + if ($effs['type'] == 11) { + $adds = 'Легкая '; + } elseif ($effs['type'] == 12) { + $adds = 'Средняя '; + } elseif ($effs['type'] == 13) { + $adds = 'Тяжелая '; + } elseif ($effs['type'] == 14) { + $adds = 'Неизлечимая '; + } else { + $adds = ''; + } + } else { + $adds = ''; + } + $r .= '
    '; + $r .= ''; + $r .= '' . $adds . $effs['name'] . ''; + if ($effs['sleep'] != 0) { + $r .= '
    Эффект заморожен
    '; + } else { + $r .= '
    ' . timeOut($effs['time'] - time()) . '
    '; + } + $r .= '
    '; + } + } else { + while ($effs = mysql_fetch_array($ef)) { + if ($effs['type'] == 11 || $effs['type'] == 12 || $effs['type'] == 13 || $effs['type'] == 14) { + if ($effs['type'] == 11) { + $adds = 'Легкая '; + } elseif ($effs['type'] == 12) { + $adds = 'Средняя '; + } elseif ($effs['type'] == 13) { + $adds = 'Тяжелая '; + } elseif ($effs['type'] == 14) { + $adds = 'Неизлечимая '; + } else { + $adds = ''; + } + } else { + $adds = ''; + } + $r .= '
    '; + $r .= ' '; + $r .= '' . $adds . $effs['name'] . ''; + if ($effs['sleep'] != 0) { + $r .= '
    Эффект заморожен
    '; + } else { + $r .= '
    ' . timeOut($effs['time'] - time()) . '
    '; + } + $r .= '
    '; + } + } + return $r; +} + +function nick5_1($id, $st) +{ + if ($id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = ' . $id . ' LIMIT 1;')); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + $user['id'] = $bots['id']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + } + + if ($user[0]) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$id}' and `type` = '1022' LIMIT 1;")); + if ($effect) { + $user['level'] = '??'; + $user['login'] = 'невидимка'; + $user['align'] = '0'; + $user['klan'] = ''; + $user['id'] = ''; + $user['hp'] = '??'; + $user['maxhp'] = '??'; + $user['mana'] = '??'; + $user['maxmana'] = '??'; + } + $align = ($user['align'] > 0 ? $user['align'] : "0"); + if ($user['klan'] != '') { + $klan = ''; + } + $userb = "" . $klan . $user['login'] . " [" . $user['level'] . "]\"Инф."; + return "" . $userb . ""; + } +} + +function del_efs($uid, $id, $type) +{ + global $user; + $arr = array(2, 3, 4, 5, 8, 10, 11, 12, 13, 14, 20); + if ($uid == $user['id']) { + if ($id != null) { + if (!in_array($type, $arr)) { + mysql_query('DELETE FROM `effects` WHERE `owner` = "' . $uid . '" AND `id` = "' . $id . '" LIMIT 1'); + if ($type == 1022) { + mysql_query('UPDATE `users` SET `invis` = 0 WHERE `id` = "' . $uid . '" LIMIT 1'); + $user['invis'] = 0; + } + echo mysql_error(); + echo 'Эффект удалён.'; + } else { + echo 'Данный эффект нельзя удалить ...'; + } + } + } +} + +function haseffect($data, $type) +{ + foreach ($data['effects'] as $k => $v) { + if ($v['type'] == $type) { + return $k; + } + } + return false; +} + +function addictval($a) +{ + $l = 0; + $step = 300; + $curr = 0; + while (true) { + if ($a < $curr + $step) return $l; + $l++; + $curr += $step; + $step += 40; + if ($l == 25) return $l; + } +} + +function timetoheals($user) +{ + $efs = mysql_fetch_array(mysql_query('SELECT SUM(`speed`) AS `speed` FROM `effects` WHERE `owner` = "' . $user['id'] . '" LIMIT 1')); + $efs['speed'] += 0; + if ($efs['speed'] > 0) { + $fulltime = $efs['speed'] * 2000; + } else { + $fulltime = 2000; + } + return $fulltime; +} + +function regenhp($us, $update = 1) +{ + global $user; + if ($us['hp'] < $us['maxhp'] && time() > $us['fullhptime']) { + $fulltime = timetoheals($us); + $delta = ceil((time() - $us['fullhptime']) / $fulltime * $us['maxhp']); + if ($delta > 0) { + $us['hp'] = min($us['hp'] + $delta, $us['maxhp']); + if ($update) { + mysql_query("UPDATE `users` SET `hp` = if(`hp`+$delta > `maxhp`, `maxhp`, `hp`+$delta), `fullhptime` = '" . time() . "' WHERE `id` = '$us[id]' LIMIT 1"); + } + if ($us['id'] == $user['id']) { + $user['hp'] = $us['hp']; + } + } + } + return $us['hp']; +} + +function showinf_pers($id, $pas = 0, $battle = 0, $me = 0, $main = false) +{ + global $rooms; + $r = ''; + if ($id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = "' . (int)$id . '" LIMIT 1')); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $invis = $user['invis']; + } + + if ($battle && $invis && $user['id'] != $_SESSION['uid']) { + $user['level'] = '??'; + $user['login'] = 'невидимка'; + $user['align'] = '0'; + $user['klan'] = ''; + $user['id'] = ''; + $user['hp'] = '??'; + $user['maxhp'] = '??'; + $user['sila'] = '??'; + $user['lovk'] = '??'; + $user['inta'] = '??'; + $user['vinos'] = '??'; + $user['intel'] = '??'; + $user['deal'] = 0; + $user['sergi'] = 0; + $user['kulon'] = 0; + $user['r1'] = 0; + $user['r2'] = 0; + $user['r3'] = 0; + $user['weap'] = 0; + $user['bron'] = 0; + $user['helm'] = 0; + $user['perchi'] = 0; + $user['shit'] = 0; + $user['boots'] = 0; + $user['shadow'] = 'invis.gif'; + } + + $r .= '
    '; + if ($user['deal'] > 0) { + $deal = ' '; + } else { + $deal = ''; + } + + $r .= "$deal" . ($user['align'] > 0 ? "" : "") . ($user['klan'] != '' ? '' : "") . "$user[login] ["; + $r .= $user['level']; + $r .= "]"; + + if ($user['block']) { + $r .= "
    Персонаж заблокирован"; + } + + $r .= "'; + + if (($user['level'] > 3) && !$pas && !$battle) { + $r .= ''; + $r .= ''; + } + + $r .= ''; + + + $r .= '
    "; + $r .= setHP($user['hp'], $user['maxhp'], $battle); + + $r .= '
    '; + $r .= echoscroll('m1'); + $r .= echoscroll('m2'); + $r .= echoscroll('m3'); + $r .= echoscroll('m4'); + $r .= echoscroll('m5'); + $r .= '
    '; + $r .= echoscroll('m6') . '' . echoscroll('m7') . '' . echoscroll('m8') . '' . echoscroll('m9') . '' . echoscroll('m10'); + $r .= '
    '; + + if ($user['sergi'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT `id`, `name`, `img`, `duration`, `maxdur`, `ghp`, `gsila`, `glovk`, `ginta`, `gintel`, `text`, `bron1`, `bron2`, `bron3`, `bron4` FROM `inventory` WHERE `id` = '{$user['sergi']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На серьгах выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + $r .= '
    '; + + + if ($user['kulon'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['kulon']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На ожерелье выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + + $r .= '
    '; + + if ($user['weap'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['weap']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=60 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['minu'] > 0) ? "
    Урон {$dress['minu']}-{$dress['maxu']}" : "") . (($dress['text'] != null) ? "
    На оружии выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + + $r .= '
    '; + + + if ($user['bron'] > 0 || $user['rybax'] > 0 || $user['plaw'] > 0) { + $title = ''; + if ($user['plaw']) { + $d = $user['plaw']; + if ($user['bron']) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '$user[bron]' LIMIT 1")); + $title .= '
    --------------------
    ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '' . (($dress['ghp'] > 0) ? '
    Уровень жизни ' . plusorminus($dress['ghp']) : '') . (($dress['text'] != null) ? '
    На одежде вышито ' . $dress['text'] . '' : '') . (($dress['gsila'] != 0) ? '
    Сила ' . plusorminus($dress['gsila']) . '' : '') . (($dress['glovk'] != 0) ? '
    Ловкость ' . plusorminus($dress['glovk']) . '' : '') . (($dress['ginta'] != 0) ? '
    Интуиция ' . plusorminus($dress['ginta']) . '' : '') . (($dress['gintel'] != 0) ? '
    Интеллект ' . plusorminus($dress['gintel']) . '' : '') . (($dress['bron1'] != 0) ? '
    Броня головы: ' . plusorminus($dress['bron1']) . '' : '') . (($dress['bron2'] != 0) ? '
    Броня корпуса: ' . plusorminus($dress['bron2']) . '' : '') . (($dress['bron3'] != 0) ? '
    Броня пояса: ' . plusorminus($dress['bron3']) . '' : '') . (($dress['bron4'] != 0) ? '
    Броня ног: ' . plusorminus($dress['bron4']) . '' : '') . ''; + } + if ($user['rybax']) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '$user[rybax]' LIMIT 1")); + $title .= '
    --------------------
    ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '' . (($dress['ghp'] > 0) ? '
    Уровень жизни ' . plusorminus($dress['ghp']) : '') . (($dress['text'] != null) ? '
    На одежде вышито ' . $dress['text'] . '' : '') . (($dress['gsila'] != 0) ? '
    Сила ' . plusorminus($dress['gsila']) . '' : '') . (($dress['glovk'] != 0) ? '
    Ловкость ' . plusorminus($dress['glovk']) . '' : '') . (($dress['ginta'] != 0) ? '
    Интуиция ' . plusorminus($dress['ginta']) . '' : '') . (($dress['gintel'] != 0) ? '
    Интеллект ' . plusorminus($dress['gintel']) . '' : '') . (($dress['bron1'] != 0) ? '
    Броня головы: ' . plusorminus($dress['bron1']) . '' : '') . (($dress['bron2'] != 0) ? '
    Броня корпуса: ' . plusorminus($dress['bron2']) . '' : '') . (($dress['bron3'] != 0) ? '
    Броня пояса: ' . plusorminus($dress['bron3']) . '' : '') . (($dress['bron4'] != 0) ? '
    Броня ног: ' . plusorminus($dress['bron4']) . '' : '') . ''; + } + } elseif ($user['bron']) { + $d = $user['bron']; + if ($user['rybax']) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '$user[rybax]' LIMIT 1")); + $title .= "
    --------------------
    $dress[name]
    Прочность $dress[duration]/$dress[maxdur]" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На одежде вышито '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '"'; + } + } elseif ($user['rybax']) { + $d = $user['rybax']; + } + if ($main == true) { + $title = ''; + } + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$d}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=80 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На одежде вышито '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '' . $title . '" />'; + } + } else { + $r .= ''; + } + + $r .= '
    '; + + if ($user['r1'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r1']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=20 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На кольце выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + + $r .= '
    '; + + if ($user['r2'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r2']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=20 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На кольце выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + + $r .= '
    '; + + if ($user['r3'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r3']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=20 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На кольце выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + + $r .= '
    '; + + if ($user['helm'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['helm']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=60 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На шлеме выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + + $r .= '
    '; + + if ($user['perchi'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['perchi']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=40 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На перчатках выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . '" />'; + } + } else { + $r .= 'Пустой слот Перчатки'; + } + + $r .= '
    '; + + if ($user['shit'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['shit']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=60 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На щите выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + + $r .= '
    '; + + if ($user['boots'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['boots']}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + $r .= showhrefmagic($dress); + } else { + $r .= ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=40 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На ботинках выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + $r .= ''; + } + + if ($invis) { + $data['id'] = null; + } else { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `online` WHERE `date` >= " . (time() - 60) . " AND `id` = " . $user['id'] . " LIMIT 1")); + } + $dd = mysql_query("SELECT * FROM `effects` WHERE `owner` = " . $user['id'] . ""); + + $r .= '
    '; + $ru_1 = show_rune(1, $user['id']); + $ru_2 = show_rune(2, $user['id']); + $ru_3 = show_rune(3, $user['id']); + + $r .= '
    ' . $ru_1 . '' . $ru_2 . '' . $ru_3 . '
    '; + $r .= '
    '; + + if (!$battle) { + if ($pas) { + $r .= ''; + } + $r .= '
    capitalcity.old-dark.ru
    '; + $online = mysql_fetch_array(mysql_query('SELECT `u`.*, `o`.`date`, `u`.*, `o`.`real_time` FROM `users` AS `u`, `online` AS `o` WHERE `u`.`id` = `o`.`id` AND `u`.`id` = "' . $user['id'] . '" LIMIT 1')); + if ($invis) { + $invis = mysql_fetch_row(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '$user1[id]' AND `type` = '1022' LIMIT 1")); + } + if ($invis > time()) { + $data['id'] = null; + $online['date'] -= 60 * 120 - ($invis - time()); + } + + if ($data['id'] != null && $user['id'] != 326) { + if ($data['room'] > 500 && $data['room'] < 561) { + $rrm = 'Башня смерти, участвует в турнире'; + } else { + $rrm = $rooms[$data['room']]; + } + $r .= '
    Персонаж сейчас находится в игре.
    "' . $rrm . '"
    '; + } else { + $date = getDateInterval($online['date']); + $year = year_text($date['year']); + $month = month_text($date['month']); + $week = week_text($date['week']); + $days = days_text($date['day']); + $hour = hour_text($date['hour']); + $minute = minute_text($date['minute']); + if ($days > 0 || $week > 0 || $month > 0 || $year > 0) { + $minute = ""; + } + if ($week > 0 || $month > 0 || $year > 0) { + $hour = ""; + } + if ($month > 0 || $year > 0) { + $week = ""; + } + + if (empty($user['admin'])) { + $r .= "
    Персонаж не в игре, но был тут:
    " . date("Y.m.d H:i", $online['date']) . "
    "; + $r .= "
    (" . $year . $month . $week . $days . $hour . $minute . " назад)
    "; + } else { + $r .= "
    Персонаж не в игре.
    "; + } + } + + if ($user['battle'] > 0 && $user['invis'] == 0) { + $r .= '
    Персонаж сейчас в поединке'; + } + $r .= '
    '; + $r .= '
    '; + $r .= show_eff_inf($user['id'], 1); + $r .= '
    '; + $r .= ''; + $r .= 'Сила: ' . $user['sila'] . '
    '; + $r .= 'Ловкость: ' . $user['lovk'] . '
    '; + $r .= 'Интуиция: ' . $user['inta'] . '
    '; + $r .= 'Выносливость: ' . $user['vinos'] . '
    '; + if ($user['level'] > 3) { + $r .= 'Интеллект: ' . $user['intel'] . '
    '; + } + if (!$pas && (($user['stats'] > 0) || ($user['master'] > 0))) { + $r .= '+ Способности
    '; + } + $r .= '

    '; + if (!$pas) { + $r .= 'Опыт: ' . $user['exp'] . ' (' . $user['nextup'] . ')
    '; + } + $r .= 'Уровень: ' . $user['level'] . '
    '; + if (empty($user['admin'])) { + $r .= 'Побед: ' . $user['win'] . '
    '; + $r .= 'Поражений: ' . $user['lose'] . '
    '; + $r .= 'Ничьих: ' . $user['nich'] . '
    '; + } + $my_inf = mysql_fetch_assoc(mysql_query("SELECT `align`, `deal` FROM `users` WHERE `id` = '" . $_SESSION['uid'] . "' LIMIT 1")); + + if ($user['klan'] && !$pas) { + $r .= "Клан: " . ClanImage($user['klan']) . "
    "; + } elseif ($user['klan']) { + $clanname = mysql_fetch_array(mysql_query("SELECT `name`,`short` FROM `clans` WHERE `id` = '{$user['klan']}' LIMIT 1")); + $clanname = $clann['name']; + $clannamesh = $clann['short']; + $r .= "" . close_dangling_tags($clanname) . " " . close_dangling_tags($user['status']) . "
    "; + } elseif ($user['align'] > 0) { + if ((int)$user['align'] == 1) { + $r .= "Орден Паладинов {$user['status']}
    "; + } + if ($user['align'] == 3) { + $r .= "Темное братство
    "; + } + if ($user['align'] == 2) { + $r .= "Нейтральное братство
    "; + } + if ($user['align'] == 6) { + $r .= "Светлое братство
    "; + } + } + if ($user['refer'] > 0) { + $Nastavnik = mysql_fetch_array(mysql_query("SELECT `id`, `login` FROM `users` WHERE `id` = {$user['refer']} LIMIT 1")); + } + if ($Nastavnik['id'] > 0) { + $NastText = "Наставник - {$Nastavnik['login']}
    "; + } + if ($pas) { + $date1 = explode(" ", $user['borntime']); + $date2 = explode("-", $date1[0]); + $date3 = "" . $date2[2] . "-" . $date2[1] . "-" . $date2[0] . ""; + if (!empty($user['admin'])) $date3 = 'Неизвестно…'; + $r .= 'Место рождения: ' . $user['borncity'] . '
    '; + $r .= 'День рождения персонажа: ' . $date3 . '
    '; + $r .= $NastText; + $r .= '
    '; + if ($user['palcom'] && $pas) { + $r .= "Сообщение от Паладинов о причине отправки в хаос/блокировке:
    {$user['palcom']}"; + } + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$user['id']}' AND `type` = '4' LIMIT 1")); + if ($effect['time']) { + $r .= "
    Хаос еще " . timeOut($effect['time'] - time()) . ""; + } + } + } else { + $r .= ''; + $r .= 'Сила: ' . $user['sila'] . '
    '; + $r .= 'Ловкость: ' . $user['lovk'] . '
    '; + $r .= 'Интуиция: ' . $user['inta'] . '
    '; + $r .= 'Выносливость: ' . $user['vinos'] . '
    '; + if ($user['level'] > 3) { + $r .= 'Интеллект: ' . $user['intel'] . '
    '; + } + $r .= ''; + } + return $r; +} + +function getDateInterval($pointDate) +{ + $pointNow = time(); + $times = array('year' => 60 * 60 * 24 * 365, 'month' => 60 * 60 * 24 * 31, 'week' => 60 * 60 * 24 * 7, 'day' => 60 * 60 * 24, 'hour' => 60 * 60, 'minute' => 60); + $pointInterval = $pointDate > $pointNow ? $pointDate - $pointNow : $pointNow - $pointDate; + $returnDate = array(); + $returnDate['year'] = floor($pointInterval / $times['year']); + $pointInterval = $pointInterval % $times['year']; + $returnDate['month'] = floor($pointInterval / $times['month']); + $pointInterval = $pointInterval % $times['month']; + $returnDate['week'] = floor($pointInterval / $times['week']); + $pointInterval = $pointInterval % $times['week']; + $returnDate['day'] = floor($pointInterval / $times['day']); + $pointInterval = $pointInterval % $times['day']; + $returnDate['hour'] = floor($pointInterval / $times['hour']); + $pointInterval = $pointInterval % $times['hour']; + $returnDate['minute'] = floor($pointInterval / $times['minute']); + $pointInterval = $pointInterval % $times['minute']; + return $returnDate; +} + +function year_text($days) +{ + $s = substr($days, strlen($days) - 1, 1); + if (strlen($days) >= 2) { + if (substr($days, strlen($days) - 2, 1) == '1') { + return $days . " лет "; + $ok = true; + } + } + if (!$ok) { + if ($days == 0) { + return ""; + } elseif ($s == 0 || $s >= 5) { + return $days . " лет "; + } elseif ($s == 1) { + return $days . " год "; + } elseif ($s >= 2 && $s <= 4) { + return $days . " года "; + } + } +} + +function month_text($days) +{ + $s = substr($days, strlen($days) - 1, 1); + if (strlen($days) >= 2) { + if (substr($days, strlen($days) - 2, 1) == '1') { + return $days . " месяцев "; + $ok = true; + } + } + if (!$ok) { + if ($days == 0) { + return ""; + } elseif ($s == 0 || $s >= 5) { + return $days . " месяцев "; + } elseif ($s == 1) { + return $days . " месяц "; + } elseif ($s >= 2 && $s <= 4) { + return $days . " месяца "; + } + } +} + +function week_text($days) +{ + $s = substr($days, strlen($days) - 1, 1); + if (strlen($days) >= 2) { + if (substr($days, strlen($days) - 2, 1) == '1') { + return $days . " недель "; + $ok = true; + } + } + if (!$ok) { + if ($days == 0) { + return ""; + } elseif ($s == 0 || $s >= 5) { + return $days . " недель "; + } elseif ($s == 1) { + return $days . " неделю "; + } elseif ($s >= 2 && $s <= 4) { + return $days . " недели "; + } + } +} + +function days_text($days) +{ + $s = substr($days, strlen($days) - 1, 1); + if (strlen($days) >= 2) { + if (substr($days, strlen($days) - 2, 1) == '1') { + return $days . " дней "; + $ok = true; + } + } + if (!$ok) { + if ($days == 0) { + return ""; + } elseif ($s == 0 || $s >= 5) { + return $days . " дней "; + } elseif ($s == 1) { + return $days . " день "; + } elseif ($s >= 2 && $s <= 4) { + return $days . " дня "; + } + } +} + +function hour_text($days) +{ + $s = substr($days, strlen($days) - 1, 1); + if (strlen($days) >= 2) { + if (substr($days, strlen($days) - 2, 1) == '1') { + return $days . " часов "; + $ok = true; + } + } + if (!$ok) { + if ($days == 0) { + return ""; + } elseif ($s == 0 || $s >= 5) { + return $days . " часов "; + } elseif ($s == 1) { + return $days . " час "; + } elseif ($s >= 2 && $s <= 4) { + return $days . " часа "; + } + } +} + +function minute_text($days) +{ + $s = substr($days, strlen($days) - 1, 1); + if (strlen($days) >= 2) { + if (substr($days, strlen($days) - 2, 1) == '1') { + return $days . " минут "; + $ok = true; + } + } + if (!$ok) { + if ($days == 0) { + return "1 минуту"; + } elseif ($s == 0 || $s >= 5) { + return $days . " минут "; + } elseif ($s == 1) { + return $days . " минуту "; + } elseif ($s >= 2 && $s <= 4) { + return $days . " минуты "; + } + } +} + + +function showpersout($id, $pas = 0, $battle = 0, $me = 0) +{ + global $rooms; + + if ($id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = ' . (int)$id . ' LIMIT 1')); + $id = $bots['prototype']; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $user['login'] = $bots['name']; + $user['hp'] = $bots['hp']; + } else { + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + $invis = $user["invis"]; + } + + if ($battle && $invis && $user['id'] != $_SESSION['uid']) { + $user['level'] = '??'; + $user['login'] = 'невидимка'; + $user['align'] = '0'; + $user['klan'] = ''; + $user['id'] = ''; + $user['hp'] = '??'; + $user['maxhp'] = '??'; + $user['sila'] = '??'; + $user['lovk'] = '??'; + $user['inta'] = '??'; + $user['vinos'] = '??'; + $user['intel'] = '??'; + $user['deal'] = 0; + $user['sergi'] = 0; + $user['kulon'] = 0; + $user['r1'] = 0; + $user['r2'] = 0; + $user['r3'] = 0; + $user['weap'] = 0; + $user['bron'] = 0; + $user['helm'] = 0; + $user['perchi'] = 0; + $user['shit'] = 0; + $user['boots'] = 0; + $user['shadow'] = 'invis.gif'; + } + echo '
    '; + + if ($user['deal'] > 0) { + $deal = ' '; + } else { + $deal = ''; + } + echo "$deal" . ($user['align'] > 0 ? "" : "") . ($user['klan'] <> '' ? '' : "") . "$user[login] ["; + echo $user['level']; + echo "]\"Инф."; + + if ($user['block']) { + echo "
    Персонаж заблокирован!"; + } + + ?> + + + + + + + + 3) && !$pas && !$battle) { ?> + + + + + + + + + + + + +
    + + +
    + +
    + +
    + + + + + + + + + + + + + + + + +
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['sergi']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На серьгах выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['kulon']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На ожерелье выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['weap']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=60 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['minu'] > 0) ? "
    Урон {$dress['minu']}-{$dress['maxu']}" : "") . (($dress['text'] != null) ? "
    На оружии выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + ?>
    0 || $user['rybax'] > 0 || $user['plaw'] > 0) { + $title = ''; + if ($user['plaw']) { + $d = $user['plaw']; + if ($user['bron']) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '$user[bron]' LIMIT 1")); + $title .= '
    --------------------
    ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '' . (($dress['ghp'] > 0) ? '
    Уровень жизни ' . plusorminus($dress['ghp']) : '') . (($dress['text'] != null) ? '
    На одежде вышито ' . $dress['text'] . '' : '') . (($dress['gsila'] != 0) ? '
    Сила ' . plusorminus($dress['gsila']) . '' : '') . (($dress['glovk'] != 0) ? '
    Ловкость ' . plusorminus($dress['glovk']) . '' : '') . (($dress['ginta'] != 0) ? '
    Интуиция ' . plusorminus($dress['ginta']) . '' : '') . (($dress['gintel'] != 0) ? '
    Интеллект ' . plusorminus($dress['gintel']) . '' : '') . (($dress['bron1'] != 0) ? '
    Броня головы: ' . plusorminus($dress['bron1']) . '' : '') . (($dress['bron2'] != 0) ? '
    Броня корпуса: ' . plusorminus($dress['bron2']) . '' : '') . (($dress['bron3'] != 0) ? '
    Броня пояса: ' . plusorminus($dress['bron3']) . '' : '') . (($dress['bron4'] != 0) ? '
    Броня ног: ' . plusorminus($dress['bron4']) . '' : ''); + } + if ($user['rybax']) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '$user[rybax]' LIMIT 1")); + $title .= '
    --------------------
    ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '' . (($dress['ghp'] > 0) ? '
    Уровень жизни ' . plusorminus($dress['ghp']) : '') . (($dress['text'] != null) ? '
    На одежде вышито ' . $dress['text'] . '' : '') . (($dress['gsila'] != 0) ? '
    Сила ' . plusorminus($dress['gsila']) . '' : '') . (($dress['glovk'] != 0) ? '
    Ловкость ' . plusorminus($dress['glovk']) . '' : '') . (($dress['ginta'] != 0) ? '
    Интуиция ' . plusorminus($dress['ginta']) . '' : '') . (($dress['gintel'] != 0) ? '
    Интеллект ' . plusorminus($dress['gintel']) . '' : '') . (($dress['bron1'] != 0) ? '
    Броня головы: ' . plusorminus($dress['bron1']) . '' : '') . (($dress['bron2'] != 0) ? '
    Броня корпуса: ' . plusorminus($dress['bron2']) . '' : '') . (($dress['bron3'] != 0) ? '
    Броня пояса: ' . plusorminus($dress['bron3']) . '' : '') . (($dress['bron4'] != 0) ? '
    Броня ног: ' . plusorminus($dress['bron4']) . '' : ''); + } + } elseif ($user['bron']) { + $d = $user['bron']; + if ($user['rybax']) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '$user[rybax]' LIMIT 1")); + $title .= "
    --------------------
    $dress[name]
    Прочность $dress[duration]/$dress[maxdur]" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На одежде вышито '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '"'; + } + } elseif ($user['rybax']) { + $d = $user['rybax']; + } + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$d}' LIMIT 1")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=80 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На одежде вышито '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . $title . '" />'; + } + } else { + echo ''; + } + ?>
    + + + + + + + +
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r1']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=20 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На кольце выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r2']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=20 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На кольце выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r3']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=20 height=20 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На кольце выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + ?>
    +
    +
    <?= $user['login'] ?> + + + + + + + + + + + + + + +
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['helm']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=60 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На шлеме выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['perchi']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=40 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На перчатках выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . '" />'; + } + } else { + echo 'Пустой слот Перчатки'; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['shit']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=60 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На щите выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['boots']}' LIMIT 1;")); + if ($dress['includemagicdex'] && (!$pas || ($battle && $me))) { + echo showhrefmagic($dress); + } else { + echo ' 2 && !$pas) ? " style='background-image:url(i/blink.gif);' " : "") . ' src="i/sh/' . $dress['img'] . '" width=60 height=40 title="' . $dress['name'] . "
    Прочность " . $dress['duration'] . "/" . $dress['maxdur'] . "" . "" . (($dress['ghp'] > 0) ? "
    Уровень жизни " . plusorminus($dress['ghp']) : "") . (($dress['text'] != null) ? "
    На ботинках выгравировано '{$dress['text']}'" : "") . (($dress['gsila'] != 0) ? "
    Сила " . plusorminus($dress['gsila']) : "") . (($dress['glovk'] != 0) ? "
    Ловкость " . plusorminus($dress['glovk']) : "") . (($dress['ginta'] != 0) ? "
    Интуиция " . plusorminus($dress['ginta']) : "") . (($dress['gintel'] != 0) ? "
    Интеллект " . plusorminus($dress['gintel']) : "") . (($dress['bron1'] != 0) ? "
    Броня головы: " . plusorminus($dress['bron1']) : "") . (($dress['bron2'] != 0) ? "
    Броня корпуса: " . plusorminus($dress['bron2']) : "") . (($dress['bron3'] != 0) ? "
    Броня пояса: " . plusorminus($dress['bron3']) : "") . (($dress['bron4'] != 0) ? "
    Броня ног: " . plusorminus($dress['bron4']) : "") . '" />'; + } + } else { + echo ''; + } + + if ($invis) $data["id"] = null; else + $data = mysql_fetch_array(mysql_query("SELECT * FROM `online` WHERE `date` >= " . (time() - 60) . " AND `id` = " . $user['id'] . ";")); + $dd = mysql_query("SELECT * FROM `effects` WHERE `owner` = " . $user['id'] . ";"); + + + ?>
    +
    + + + + + + + + +
    +
    +
    + + + + + + + + + + "; + } + while ($row = mysql_fetch_array($dd)) { + if ($row['time'] < time()) { + $row['time'] = time(); + } + + if ($row['type'] == 21) { + $param_bonus = array(); + $param_bonus['sila'] = $row['sila']; + $param_bonus['lovk'] = $row['lovk']; + $param_bonus['inta'] = $row['inta']; + $param_bonus['vinos'] = $row['vinos']; + } + } + + ?> + +
    + capitalcity.old-dark.ru +
    + time()) { + $data['id'] = null; + $online['date'] -= 60 * 120 - ($invis - time()); + } + if ($data['id'] != null && $user['id'] != 326) { + if ($data['room'] > 500 && $data['room'] < 561) { + $rrm = 'Башня смерти, участвует в турнире'; + } else { + $rrm = $rooms[$data['room']]; + } + echo '
    Персонаж сейчас находится в игре.
    "' . $rrm . '"
    '; + } else { + + + $date = getDateInterval($online['date']); + $year = year_text($date['year']); + $month = month_text($date['month']); + $week = week_text($date['week']); + $days = days_text($date['day']); + $hour = hour_text($date['hour']); + $minute = minute_text($date['minute']); + + + if ($days > 0 or $week > 0 or $month > 0 or $year > 0) { + $minute = ""; + } + if ($week > 0 or $month > 0 or $year > 0) { + $hour = ""; + } + if ($month > 0 or $year > 0) { + $week = ""; + } + + + echo "
    Персонаж не в игре, но был тут:
    " . date("Y.m.d H:i", $online['date']) . "
    "; + echo "
    (" . $year . $month . $week . $days . $hour . $minute . " назад)
    "; + } + ?> 0 && $user['invis'] == 0) { + echo '
    Персонаж сейчас в поединке'; + } + ?>
    +
    + +
    +
    У персонажа $trt травма.
    + + + + + ?> + + Сила: + + (+" . $param_bonus['sila'] . ")
    "; + ?>
    + Ловкость: (+" . $param_bonus['lovk'] . ")"; + ?>
    + Интуиция: (+" . $param_bonus['inta'] . ")"; + ?>
    + Выносливость: (+" . $param_bonus['vinos'] . ")"; + ?>
    + 3) { + ?> + Интеллект:
    + 0) || ($user['master'] > 0))) { + ?> + + Способности + + +
    + + Опыт: () +
    + + Уровень:
    + + Побед: '>
    + Поражений: '>
    + Ничьих: '>
    + + + + Деньги: кр.
    + В банке: кр. / eкр.
    + "; + } elseif ($user['klan']) { + $clann = mysql_fetch_array(mysql_query("SELECT `name`,`short` FROM `clans` WHERE `id`='{$user['klan']}' LIMIT 1;")); + $clanname = $clann['name']; + $clannamesh = $clann['short']; + echo "" . close_dangling_tags($clanname) . " - " . close_dangling_tags($user['status']) . "
    "; + } elseif ($user['align'] > 0) { + if (($user['align'] > 1) && ($user['align'] < 2)) echo "Орден Паладинов {$user['status']}
    "; + if (($user['align'] == 3)) echo "Темное братство
    "; + if (($user['align'] == 2)) echo "Нейтральное братство
    "; + if (($user['align'] == 6)) echo "Светлое братство
    "; + } + + if ($user['refer'] > 0) $Nastavnik = mysql_fetch_array(mysql_query("SELECT `id`,`login` FROM `users` WHERE `id`={$user['refer']};")); + if ($Nastavnik['id'] > 0) + $NastText = "Наставник - {$Nastavnik['login']}
    "; + if ($pas) { + $date1 = explode(" ", $user['borntime']); + $date2 = explode("-", $date1[0]); + $date3 = "" . $date2[2] . "-" . $date2[1] . "-" . $date2[0] . ""; + if ($user['id'] >= 233 && $user['id'] <= 235) { + $date3 = 'До начала времён ...'; + } + ?> + Место рождения:
    + День рождения персонажа:
    + "); + if ($user['palcom'] && $pas) { + echo "Сообщение от Паладинов о причине отправки в хаос/блокировке:
    "; + echo "{$user['palcom']}"; + } + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$user['id']}' AND `type` = '4' LIMIT 1")); + if ($effect['time']) { + echo "
    Хаос еще " . timeOut($effect['time'] - time()) . ""; + } + } + + ?> + + + + Сила:
    + Ловкость:
    + Интуиция:
    + Выносливость:
    + 3) { + ?> + Интеллект:
    + 6) { +?> +Мудрость:
    + + + + = 1 AND `isrep` = '" . $stack['isrep'] . "' AND FORMAT(`cost`/`koll`, 2) = FORMAT(" . ($stack['cost'] / $stack['koll']) . ", 2) AND FORMAT(`point`/`koll`, 2) = FORMAT(" . ($stack['point'] / $stack['koll']) . ", 2) AND FORMAT(`bcost`/`koll`, 2) = FORMAT(" . ($stack['bcost'] / $stack['koll']) . ", 2)")); + if ($similar[0] >= 1) { + mysql_query("UPDATE `inventory` SET `cost` = (`cost`+`cost`/`koll`*" . $similar[0] . "), `point` = (`point`+`point`/`koll`*" . $similar[0] . "), `bcost` = (`bcost`+`bcost`/`koll`*" . $similar[0] . "), `massa` = (`massa`+`massa`/`koll`*" . $similar[0] . "), `koll` = (`koll`+" . $similar[0] . "), `gmeshok` = (`gmeshok`+`gmeshok`*" . $similar[0] . ") WHERE `id` = '" . $stack['id'] . "' LIMIT 1"); + mysql_query("DELETE FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND `id` != '" . $stack['id'] . "' AND `name` = '" . $stack['name'] . "' AND `present` = '" . $stack['present'] . "' AND `duration` = '" . $stack['duration'] . "' AND `maxdur` = '" . $stack['maxdur'] . "' AND `dressed` = 0 AND `goden` = 0 AND `koll` >= 1 AND `setsale` = 0 AND `gmeshok` = '" . $stack['gmeshok'] . "' AND `laba` = '" . $stack['laba'] . "' AND `isrep` = '" . $stack['isrep'] . "' AND FORMAT(`cost`/`koll`, 2)=FORMAT(" . $stack['cost'] / $stack['koll'] . ", 2) AND FORMAT(`point`/`koll`, 2) = FORMAT(" . ($stack['point'] / $stack['koll']) . ", 2) AND FORMAT(`bcost`/`koll`, 2) = FORMAT(" . ($stack['bcost'] / $stack['koll']) . ", 2) "); + } + } +} + +function addActions($time, $vars, $vls, $uid) +{ + mysql_query('LOCK TABLES `actions` WRITE'); + $ins = mysql_query('INSERT INTO `actions` (`uid`, `time`, `city`, `room`, `vars`, `ip`, `vals`) VALUES ("' . $uid . '", "' . $time . '", "capitalcity", "0", "' . mysql_real_escape_string($vars) . '", "' . mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']) . '", "' . mysql_real_escape_string($vls) . '")'); + if ($ins) { + return true; + } else { + return false; + } + mysql_query('UNLOCK TABLES'); +} + +function unstack($it_id, $it_count) +{ + global $user; + $it_id = (int)$it_id; + $it_count = (int)$it_count; + $it_count = abs($it_count); + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `owner` = " . $user['id'] . " AND `id` = '" . mysql_real_escape_string($it_id) . "' LIMIT 1")); + $prototype = mysql_fetch_array(mysql_query('SELECT `id`, `gmeshok` FROM `shop` WHERE `id` = "' . $dress['prototype'] . '" LIMIT 1')); + if (isset($dress['id'])) { + if ($it_count <= $dress['koll'] && $it_count > 0) { + if ($dress['koll'] == $it_count) { + mysql_query('DELETE FROM `inventory` WHERE `id` = "' . $dress['id'] . '" AND `owner` = "' . $user['id'] . '" LIMIT 1'); + } else { + if ($dress['gmeshok'] > 0) { + $sqla = ", `gmeshok` = `gmeshok`-" . $prototype['gmeshok']; + } else { + $sqla = ""; + } + mysql_query("UPDATE `inventory` SET `cost` = (`cost`-`cost`/`koll`*" . $it_count . "), `point` = (`point`-`point`/`koll`*" . $it_count . "), `bcost` = (`bcost`-`bcost`/`koll`*" . $it_count . "), `massa` = (`massa`-`massa`/`koll`*" . $it_count . "), `koll` = (`koll`-" . $it_count . ")$sqla WHERE `id` = '$dress[id]' AND `owner` = '$user[id]' LIMIT 1"); + } + mysql_query("INSERT INTO `inventory` (`name`, `upgrade`, `modif`, `podgon`, `duration`, `maxdur`, `cost`, `bcost`, `point`, `nlevel`, `nsila`, `nlovk`, `ninta`, `nvinos`, `nintel`, `nmudra`, `nnoj`, `ntopor`, `ndubina`, `nmech`, `nalign`, `minu`, `maxu`, `gsila`, `glovk`, `ginta`, `gintel`, `ghp`, `mfkrit`, `mfakrit`, `mfuvorot`, `mfauvorot`, `gnoj`, `gtopor`, `gdubina`, `gmech`, `img`, `text`, `owner`, `dressed`, `bron1`, `bron2`, `bron3`, `bron4`, `dategoden`, `magic`, `type`, `present`, `sharped`, `massa`, `goden`, `needident`, `nfire`, `nwater`, `nair`, `nearth`, `nlight`, `ngray`, `ndark`, `gfire`, `gwater`, `gair`, `gearth`, `glight`, `ggray`, `gdark`, `free_bron`, `free_stat`, `free_mf`, `letter`, `isrep`, `update`, `setsale`, `prototype`, `otdel`, `bs`, `gmp`, `includemagic`, `includemagicdex`, `includemagicmax`, `includemagicname`, `includemagicuses`, `includemagiccost`, `gmeshok`, `tradesale`, `podzem`, `x_mis`, `artefact`, `destinyinv`, `encicl`, `foronetrip`, `koll`) VALUES ('" . $dress['name'] . "', '" . $dress['upgrade'] . "', '" . $dress['modif'] . "', '" . $dress['podgon'] . "', '" . $dress['duration'] . "', '" . $dress['maxdur'] . "', '" . ($dress['cost'] / $dress['koll'] * $it_count) . "', '" . ($dress['bcost'] / $dress['koll'] * $it_count) . "', '" . ($dress['point'] / $dress['koll'] * $it_count) . "', '" . $dress['nlevel'] . "', '" . $dress['nsila'] . "', '" . $dress['nlovk'] . "', '" . $dress['ninta'] . "', '" . $dress['nvinos'] . "', '" . $dress['nintel'] . "', '" . $dress['nmudra'] . "', '" . $dress['nnoj'] . "', '" . $dress['ntopor'] . "', '" . $dress['ndubina'] . "', '" . $dress['nmech'] . "', '" . $dress['nalign'] . "', '" . $dress['minu'] . "', '" . $dress['maxu'] . "', '" . $dress['gsila'] . "', '" . $dress['glovk'] . "', '" . $dress['ginta'] . "', '" . $dress['gintel'] . "', '" . $dress['ghp'] . "', '" . $dress['mfkrit'] . "', '" . $dress['mfakrit'] . "', '" . $dress['mfuvorot'] . "', '" . $dress['mfauvorot'] . "', '" . $dress['gnoj'] . "', '" . $dress['gtopor'] . "', '" . $dress['gdubina'] . "', '" . $dress['gmech'] . "', '" . $dress['img'] . "', '" . $dress['text'] . "', '" . $dress['owner'] . "', '" . $dress['dressed'] . "', '" . $dress['bron1'] . "', '" . $dress['bron2'] . "', '" . $dress['bron3'] . "', '" . $dress['bron4'] . "', '" . $dress['dategoden'] . "', '" . $dress['magic'] . "', '" . $dress['type'] . "', '" . $dress['present'] . "', '" . $dress['sharped'] . "', '" . ($dress['massa'] / $dress['koll'] * $it_count) . "', '" . $dress['goden'] . "', '" . $dress['needident'] . "', '" . $dress['nfire'] . "', '" . $dress['nwater'] . "', '" . $dress['nair'] . "', '" . $dress['nearth'] . "', '" . $dress['nlight'] . "', '" . $dress['ngray'] . "', '" . $dress['ndark'] . "', '" . $dress['gfire'] . "', '" . $dress['gwater'] . "', '" . $dress['gair'] . "', '" . $dress['gearth'] . "', '" . $dress['glight'] . "', '" . $dress['ggray'] . "', '" . $dress['gdark'] . "', '" . $dress['free_bron'] . "', '" . $dress['free_bron'] . "', '" . $dress['free_mf'] . "', '" . $dress['letter'] . "', '" . $dress['isrep'] . "', '" . $dress['update'] . "', '" . $dress['setsale'] . "', '" . $dress['prototype'] . "', '" . $dress['otdel'] . "', '" . $dress['bs'] . "', '" . $dress['gmp'] . "', '" . $dress['includemagic'] . "', '" . $dress['includemagicdex'] . "', '" . $dress['includemagicmax'] . "', '" . $dress['includemagicname'] . "', '" . $dress['ggrincludemagicusesay'] . "', '" . $dress['includemagiccost'] . "', '" . ($dress['gmeshok'] / $dress['koll'] * $it_count) . "', '" . $dress['tradesale'] . "', '" . $dress['podzem'] . "', '" . $dress['x_mis'] . "', '" . $dress['artefact'] . "', '" . $dress['destinyinv'] . "', '" . $dress['encicl'] . "', '" . $dress['foronetrip'] . "', '" . $it_count . "')"); + return mysql_insert_id(); + } + } +} + +function upgrade_rune($id, $uid) +{ + global $runes_exp; + $runes_mfs = array('1' => 10, '2' => 20, '3' => 30, '4' => 40, '5' => 50, '6' => 60, '7' => 70, '8' => 80, '9' => 90, '10' => 100); + $runes_bron = array('1' => 5, '2' => 10, '3' => 15, '4' => 20, '5' => 25, '6' => 30, '7' => 35, '8' => 40, '9' => 45, '10' => 50); + $runes_hp = array('1' => 10, '2' => 10, '3' => 10, '4' => 10, '1' => 15, '1' => 20, '1' => 20, '1' => 20, '1' => 20, '1' => 20); + $tec_rune = mysql_fetch_array(mysql_query('SELECT `id`, `type`, `rune_level`, `rune_exp`, `owner` FROM `inventory` WHERE `id` = "' . $id . '" AND `owner` = "' . $uid . '" LIMIT 1')); + if (isset($tec_rune['id'])) { + if ($tec_rune['type'] == 24) { + if ($tec_rune['rune_exp'] >= $runes_exp[$tec_rune['level'] + 1]) { + + } + } + } +} + +function plusorminus($n, $shownum = 1) +{ + if (!$shownum) { + if ($n >= 2) return "++"; + if ($n > 0) return "+"; + if ($n < 0) return "-"; + } + if ($n >= 0) { + return "+$n"; + } else { + return $n; + } +} + +function show_shop_items($it, $from = 'shop') +{ + global $user; + $r = ''; + $item = mysql_fetch_array(mysql_query("SELECT * FROM `{$from}` WHERE `id` = '{$it}' LIMIT 1")); + if (isset($item['id'])) { + $magic = magicinf($item['magic']); + $incmagic = mysql_fetch_array(mysql_query('SELECT * FROM `magic` WHERE `id` = "' . $item['includemagic'] . '" LIMIT 1')); + $incmagic['name'] = $item['includemagicname']; + $incmagic['cur'] = $item['includemagicdex']; + $incmagic['max'] = $item['includemagicmax']; + if (!$magic) { + $magic['chanse'] = $incmagic['chanse']; + $magic['time'] = $incmagic['time']; + $magic['targeted'] = $incmagic['targeted']; + } + + if ($item['destiny'] > 0) { + $r .= "{$item['name']} (Масса: {$item['massa']})
    "; + } else { + $r .= "{$item['name']} (Масса: {$item['massa']})
    "; + } + + if ($item['ecost'] > 0) { + $r .= "Цена: {$item['ecost']} екр.    "; + } elseif ($item['point'] > 0) { + $r .= "Цена: {$item['point']} реп.    "; + } else { + $r .= "Цена: {$item['cost']} кр.    "; + } + if ($item['zeton'] > 0) { + $r .= "
    Жетон: {$item['zeton']} 
    "; + } + if (@$item['count']) { + $r .= "(количество: {$item['count']})"; + } + if ($item['for_me'] > 0) { + $r .= '
    После покупки вещь будет привязана к персонажу.'; + } + $r .= "
    Долговечность: {$item['duration']}/{$item['maxdur']}"; + $r .= "
    "; + + if (!$item['needident']) { + if ($magic['chanse'] >= 98) { + $magic['chanse'] = 99; + } + $r .= (($magic['chanse']) ? "Вероятность срабатывания: " . $magic['chanse'] . "%
    " : "") . " + " . (($magic['time']) ? "Продолжительность действия магии: " . $magic['time'] . " мин.
    " : "") . " + " . (($item['goden']) ? "Срок годности: {$item['goden']} дн. " . ((!$item['count']) ? "(до " . date("Y.m.d H:i", $item['dategoden']) . ")" : "") . "
    " : "") . " + " . (($item['nsila'] || $item['nlovk'] || $item['ninta'] || $item['nvinos'] || $item['nlevel'] || $item['nintel'] || $item['nmudra'] || $item['nnoj'] || $item['ntopor'] || $item['ndubina'] || $item['nmech'] || $item['nfire'] || $item['nwater'] || $item['nair'] || $item['nearth'] || $item['nearth'] || $item['nlight'] || $item['ngray'] || $item['ndark']) ? "Требуется минимальное:
    " : "") . " + " . (($item['nsila'] > 0) ? "• " . (($item['nsila'] > $user['sila']) ? "" : "") . "Сила: {$item['nsila']}
    " : "") . " + " . (($item['nlovk'] > 0) ? "• " . (($item['nlovk'] > $user['lovk']) ? "" : "") . "Ловкость: {$item['nlovk']}
    " : "") . " + " . (($item['ninta'] > 0) ? "• " . (($item['ninta'] > $user['inta']) ? "" : "") . "Интуиция: {$item['ninta']}
    " : "") . " + " . (($item['nvinos'] > 0) ? "• " . (($item['nvinos'] > $user['vinos']) ? "" : "") . "Выносливость: {$item['nvinos']}
    " : "") . " + " . (($item['nlevel'] > 0) ? "• " . (($item['nlevel'] > $user['level']) ? "" : "") . "Уровень: {$item['nlevel']}
    " : "") . " + " . (($item['nintel'] > 0) ? "• " . (($item['nintel'] > $user['intel']) ? "" : "") . "Интеллект: {$item['nintel']}
    " : "") . " + " . (($item['nnoj'] > 0) ? "• " . (($item['nnoj'] > $user['noj']) ? "" : "") . "Мастерство владения ножами и кастетами: {$item['nnoj']}
    " : "") . " + " . (($item['ntopor'] > 0) ? "• " . (($item['ntopor'] > $user['topor']) ? "" : "") . "Мастерство владения топорами и секирами: {$item['ntopor']}
    " : "") . " + " . (($item['ndubina'] > 0) ? "• " . (($item['ndubina'] > $user['dubina']) ? "" : "") . "Мастерство владения дубинами и булавами: {$item['ndubina']}
    " : "") . " + " . (($item['nmech'] > 0) ? "• " . (($item['nmech'] > $user['mec']) ? "" : "") . "Мастерство владения мечами: {$item['nmech']}
    " : "") . " + " . (($item['nfire'] > 0) ? "• " . (($item['nfire'] > $user['mfire']) ? "" : "") . "Мастерство владения стихией Огня: {$item['nfire']}
    " : "") . " + " . (($item['nwater'] > 0) ? "• " . (($item['nwater'] > $user['mwater']) ? "" : "") . "Мастерство владения стихией Воды: {$item['nwater']}
    " : "") . " + " . (($item['nair'] > 0) ? "• " . (($item['nair'] > $user['mair']) ? "" : "") . "Мастерство владения стихией Воздуха: {$item['nair']}
    " : "") . " + " . (($item['nearth'] > 0) ? "• " . (($item['nearth'] > $user['mearth']) ? "" : "") . "Мастерство владения стихией Земли: {$item['nearth']}
    " : "") . " + " . (($item['nlight'] > 0) ? "• " . (($item['nlight'] > $user['mlight']) ? "" : "") . "Мастерство владения магией Света: {$item['nlight']}
    " : "") . " + " . (($item['ngray'] > 0) ? "• " . (($item['ngray'] > $user['mgray']) ? "" : "") . "Мастерство владения серой магией: {$item['ngray']}
    " : "") . " + " . (($item['ndark'] > 0) ? "• " . (($item['ndark'] > $user['mdark']) ? "" : "") . "Мастерство владения магией Тьмы: {$item['ndark']}
    " : "") . " + " . (($item['gmeshok'] || $item['gsila'] || $item['mfkrit'] || $item['mfakrit'] || $item['mfuvorot'] || $item['mfauvorot'] || $item['glovk'] || $item['ghp'] || $item['ginta'] || $item['gintel'] || $item['gnoj'] || $item['gtopor'] || $item['gdubina'] || $item['gmech'] || $item['gfire'] || $item['gwater'] || $item['gair'] || $item['gearth'] || $item['gearth'] || $item['glight'] || $item['ggray'] || $item['gdark'] || $item['minu'] || $item['maxu'] || $item['bron1'] || $item['bron2'] || $item['bron3'] || $item['bron4']) ? "Действует на:
    " : "") . " + " . (($item['minu']) ? "• Минимальное наносимое повреждение: +{$item['minu']}
    " : "") . " + " . (($item['maxu']) ? "• Максимальное наносимое повреждение: +{$item['maxu']}
    " : ""); + + if ($item['gsila']) { + $r .= "• Сила: +" . $item['gsila']; + $r .= "
    "; + } + + if ($item['glovk']) { + $r .= "• Ловкость: " . plusorminus($item['glovk']); + $r .= "
    "; + } + + if ($item['ginta']) { + $r .= "• Интуиция: " . plusorminus($item['ginta']); + $r .= "
    "; + } + + if ($item['gintel']) { + $r .= "• Интеллект: " . plusorminus($item['gintel']); + $r .= "
    "; + } + + $r .= (($item['ghp']) ? "• Уровень жизни: " . plusorminus($item['ghp']) . "
    " : ""); + + if ($item['mfkrit'] > 0) { + $r .= "• Мф. критических ударов: " . plusorminus($item['mfkrit']) . "%"; + $r .= "
    "; + } + + if ($item['mfakrit'] > 0) { + $r .= "• Мф. против крит. ударов: " . plusorminus($item['mfakrit']) . "%"; + $r .= "
    "; + } + + if ($item['mfuvorot'] > 0) { + $r .= "• Мф. увертливости: " . plusorminus($item['mfuvorot']) . "%"; + $r .= "
    "; + } + + if ($item['mfauvorot'] > 0) { + $r .= "• Мф. против увертлив.: " . plusorminus($item['mfauvorot']) . "%"; + $r .= "
    "; + } + + $r .= (($item['gnoj']) ? "• Мастерство владения ножами и кастетами: +{$item['gnoj']}
    " : "") . " + " . (($item['gtopor']) ? "• Мастерство владения топорами и секирами: +{$item['gtopor']}
    " : "") . " + " . (($item['gdubina']) ? "• Мастерство владения дубинами и булавами: +{$item['gdubina']}
    " : "") . " + " . (($item['gmech']) ? "• Мастерство владения мечами: +{$item['gmech']}
    " : "") . " + " . (($item['gfire']) ? "• Мастерство владения стихией Огня: +{$item['gfire']}
    " : "") . " + " . (($item['gwater']) ? "• Мастерство владения стихией Воды: +{$item['gwater']}
    " : "") . " + " . (($item['gair']) ? "• Мастерство владения стихией Воздуха: +{$item['gair']}
    " : "") . " + " . (($item['gearth']) ? "• Мастерство владения стихией Земли: +{$item['gearth']}
    " : "") . " + " . (($item['glight']) ? "• Мастерство владения магией Света: +{$item['glight']}
    " : "") . " + " . (($item['ggray']) ? "• Мастерство владения серой магией: +{$item['ggray']}
    " : "") . " + " . (($item['gdark']) ? "• Мастерство владения магией Тьмы: +{$item['gdark']}
    " : ""); + + if ($item['bron1'] > 0) { + $r .= "• Броня головы: " . $item['bron1']; + $r .= "
    "; + } + + if ($item['bron2'] > 0) { + $r .= "• Броня корпуса: " . $item['bron2']; + $r .= "
    "; + } + + if ($item['bron3'] > 0) { + $r .= "• Броня пояса: " . $item['bron3']; + $r .= "
    "; + } + + if ($item['bron4'] > 0) { + $r .= "• Броня ног: " . $item['bron4']; + $r .= "
    "; + } + + $r .= (($item['gmeshok']) ? "• Увеличивает рюкзак: +{$item['gmeshok']}
    " : "") . " + " . (($item['letter']) ? "Количество символов: " . strlen($item['letter']) . "
    " : "") . " + " . (($item['letter']) ? "На бумаге записан текст:
    " . nl2br($item['letter']) . "
    " : "") . " + " . (($item['opisan']) ? "• " . nl2br($item['opisan']) . "
    " : "") . " + " . (($magic['name'] && $item['type'] != 50) ? "Наложены заклятия: " . $magic['name'] . "
    " : "") . " + " . (($item['text']) ? "На ручке выгравирована надпись:
    " . $item['text'] . "

    " : "") . " + " . (($incmagic['max']) ? " Встроено заклятие " . $incmagic['cur'] . " шт.
    " : "") . " + " . (($item['podzem']) ? "Предмет из подземелья
    " : "") . " + " . (($item['laba'] == 1) ? "Пропадёт если не найти выход
    " : "") . " + " . (($item['laba'] == 2) ? "Предмет пропадёт после выхода
    " : "") . " + " . ((!$item['isrep']) ? "Предмет не подлежит ремонту
    " : ""); + + if ($item['free_bron'] > 0) { + $r .= "Свободных улучшений брони: " . $item['free_bron'] . "
    "; + } + if ($item['free_stat'] > 0) { + $r .= "Свободных улучшений параметров: " . $item['free_stat'] . "
    "; + } + if ($item['free_mf'] > 0) { + $r .= "Свободных улучшений модификаторов: " . $item['free_mf'] . "%
    "; + } + + if ($item['add_proc_mf'] > 0 || $item['add_proc_uron'] > 0 || $item['add_proc_bron'] > 0) { + $r .= 'Усиление:
    '; + if ($item['add_proc_mf'] > 0) { + $r .= '• Максимального мф.:' . plusorminus($item['add_proc_mf']) . '%
    '; + } + if ($item['add_proc_uron'] > 0) { + $r .= '• Урона:' . plusorminus($item['add_proc_uron']) . '%
    '; + } + if ($item['add_proc_bron'] > 0) { + $r .= '• Брони:' . plusorminus($item['add_proc_bron']) . '%
    '; + } + } + } else { + $r .= "Свойства предмета не идентифицированы
    "; + } + $osob = array(22, 23); + if (in_array($item['type'], $osob)) { + $r .= 'Особенности:
    '; + if ($item['type'] == 22) { + $r .= '• может одеваться под броню
    '; + } elseif ($item['type'] == 23) { + $r .= '• может одеваться на броню
    '; + } + } + $r .= "Сделано в CapitalCity
    "; + + } else { + $r = 'Предмет не найден : {' . $it . '}'; + } + return $r; +} + +function showitem($row, $type, $link = '', $returned = false) +{ + global $user, $runes_exp; + $returnHTML = ''; + if ((($row['maxdur'] <= ($row['duration'])) || ($row['dategoden'] && $row['dategoden'] <= time()))) { + destructitem($row['id']); + } + + $dr = ''; + $magic = magicinf($row['magic']); + $incmagic = mysql_fetch_array(mysql_query('SELECT * FROM `magic` WHERE `id` = \'' . $row['includemagic'] . '\' LIMIT 1;')); + $incmagic['name'] = $row['includemagicname']; + $incmagic['cur'] = $row['includemagicdex']; + $incmagic['max'] = $row['includemagicmax']; + if (!$magic) { + $magic['chanse'] = $incmagic['chanse']; + $magic['time'] = $incmagic['time']; + $magic['targeted'] = $incmagic['targeted']; + } + if (@!$row['count'] || $type == 10) { + + $up = ($row['upgrade'] > 0 ? " [" . $row['upgrade'] . "]" : ""); + + $returnHTML .= ''; + if ($incmagic['max']) { + $returnHTML .= "
    ";// 2)?" style='background-image:url(i/blink.gif);' ":"")." src='i/sh/{$row['img']}' style=\"margin:0px,0px,-100000%,0px;\">
    + } else { + $returnHTML .= " 2) ? " style='background-image:url(i/blink.gif);' " : "") . " src='i/sh/{$row['img']}'>
    "; + + } + + if (($user['sila'] >= $row['nsila']) && + ($user['lovk'] >= $row['nlovk']) && + ($user['inta'] >= $row['ninta']) && + ($user['vinos'] >= $row['nvinos']) && + ($user['intel'] >= $row['nintel']) && + ($user['mudra'] >= $row['nmudra']) && + ($user['level'] >= $row['nlevel']) && + (((int)$user['align'] == $row['nalign']) || ($row['nalign'] == 0) || ($row['nalign'] == 1.1 && ($user['align'] > 1 && $user['align'] < 2) || $user['align'] == 6)) && + ($user['noj'] >= $row['nnoj']) && + ($user['topor'] >= $row['ntopor']) && + ($user['dubina'] >= $row['ndubina']) && + ($user['mec'] >= $row['nmech']) && + ($user['mfire'] >= $row['nfire']) && + ($user['mwater'] >= $row['nwater']) && + ($user['mair'] >= $row['nair']) && + ($user['mearth'] >= $row['nearth']) && + ($user['mlight'] >= $row['nlight']) && + ($user['mgray'] >= $row['ngray']) && + ($user['mdark'] >= $row['ndark']) && + ($row['type'] < 13 || ($row['type'] == 50 || $row['type'] == 22 || $row['type'] == 23 || $row['type'] == 24)) && + ($row['needident'] == 0) + ) { + if (($row['type'] == 12) || ($row['magic']) || ($incmagic['cur'])) { + $returnHTML .= "исп-ть
    "; + + } + if ($row['type'] != 50) { + $returnHTML .= "надеть "; + } + } elseif (($row['type'] == 50) OR ($row['type'] == 12) OR ($row['magic']) OR ($incmagic['cur'])) { + $returnHTML .= "исп-ть
    "; + + } + if ($type != 10) { + $returnHTML .= '
    ID: ' . $row['id'] . '
    '; +// if ($row["koll"]) $returnHTML .= "
     
    "; + if ($row["koll"] > 1) $returnHTML .= " "; + #onclick=\"delItmsNo('Выкинуть предмет?','deleteItems',0,'','".$row['img']."','".$row['name']."','main.php?edit=1&destruct=".$row['id']."');\" + $returnHTML .= ""; + #$returnHTML .= ""; + } else { + $returnHTML .= "Улучшить"; + } + } + + if ($row['destinyinv'] > 0) { + $returnHTML .= "{$row['name']}{$up} (Масса: {$row['massa']})\"Этот" . (($row['present']) ? ' Этот предмет вам подарил ' . $row['present'] . '. Вы не сможете передать этот предмет кому-либо еще.' : "") . "
    "; + } elseif ($row['destiny'] > 0) { + $returnHTML .= "
    {$row['name']}{$up} (Масса: {$row['massa']})\"Этот" . (($row['present']) ? ' Этот предмет вам подарил ' . $row['present'] . '. Вы не сможете передать этот предмет кому-либо еще.' : "") . "
    "; + } else { + $returnHTML .= "{$row['name']}{$up} (Масса: {$row['massa']})" . (($row['present']) ? ' Этот предмет вам подарил ' . $row['present'] . '. Вы не сможете передать этот предмет кому-либо еще.' : "") . "
    "; + } + if ($row['type'] == 24 && $type != 11) { + $returnHTML .= 'Уровень руны: ' . $row['rune_level'] . ' (' . $row['rune_exp'] . '/' . $runes_exp[$row['rune_level'] + 1] . ')
    '; + } + if ($row['ecost'] > 0) { + $returnHTML .= "Цена: {$row['ecost']} екр.    "; + } elseif ($row['point'] > 0) { + $returnHTML .= "Цена: {$row['point']} реп.    "; + } else { + $returnHTML .= "Цена: {$row['cost']} кр.    "; + } + if ($row['zeton'] > 0) { + $returnHTML .= "
    Жетон: {$row['zeton']} 
    "; + } + if (@$row['count']) { + $returnHTML .= "(количество: {$row['count']})"; + } + if ($row['for_me'] > 0) { + $returnHTML .= '
    После покупки вещь будет привязана к персонажу.'; + } + $returnHTML .= "
    Долговечность: {$row['duration']}/{$row['maxdur']}"; + + if ($row['podgon'] > 0) { + $returnHTML .= " [Подогнано: " . $row['podgon'] . " раз]"; + } + + $returnHTML .= "
    "; + + if (!$row['needident']) { + if ($magic['chanse'] >= 98) $magic['chanse'] = 99; + $returnHTML .= (($magic['chanse']) ? "Вероятность срабатывания: " . $magic['chanse'] . "%
    " : "") . " + " . (($magic['time']) ? "Продолжительность действия магии: " . $magic['time'] . " мин.
    " : "") . " + " . (($row['goden']) ? "Срок годности: {$row['goden']} дн. " . ((!$row['count']) ? "(до " . date("Y.m.d H:i", $row['dategoden']) . ")" : "") . "
    " : "") . " + " . (($row['nsila'] || $row['nlovk'] || $row['ninta'] || $row['nvinos'] OR $row['nlevel'] OR $row['nintel'] OR $row['nmudra'] OR $row['nnoj'] OR $row['ntopor'] OR $row['ndubina'] OR $row['nmech'] OR $row['nfire'] OR $row['nwater'] OR $row['nair'] OR $row['nearth'] OR $row['nearth'] OR $row['nlight'] OR $row['ngray'] OR $row['ndark']) ? "Требуется минимальное:
    " : "") . " + " . (($row['nsila'] > 0) ? "• " . (($row['nsila'] > $user['sila']) ? "" : "") . "Сила: {$row['nsila']}
    " : "") . " + " . (($row['nlovk'] > 0) ? "• " . (($row['nlovk'] > $user['lovk']) ? "" : "") . "Ловкость: {$row['nlovk']}
    " : "") . " + " . (($row['ninta'] > 0) ? "• " . (($row['ninta'] > $user['inta']) ? "" : "") . "Интуиция: {$row['ninta']}
    " : "") . " + " . (($row['nvinos'] > 0) ? "• " . (($row['nvinos'] > $user['vinos']) ? "" : "") . "Выносливость: {$row['nvinos']}
    " : "") . " + " . (($row['nlevel'] > 0) ? "• " . (($row['nlevel'] > $user['level']) ? "" : "") . "Уровень: {$row['nlevel']}
    " : "") . " + " . (($row['nintel'] > 0) ? "• " . (($row['nintel'] > $user['intel']) ? "" : "") . "Интеллект: {$row['nintel']}
    " : "") . " + " . (($row['nnoj'] > 0) ? "• " . (($row['nnoj'] > $user['noj']) ? "" : "") . "Мастерство владения ножами и кастетами: {$row['nnoj']}
    " : "") . " + " . (($row['ntopor'] > 0) ? "• " . (($row['ntopor'] > $user['topor']) ? "" : "") . "Мастерство владения топорами и секирами: {$row['ntopor']}
    " : "") . " + " . (($row['ndubina'] > 0) ? "• " . (($row['ndubina'] > $user['dubina']) ? "" : "") . "Мастерство владения дубинами и булавами: {$row['ndubina']}
    " : "") . " + " . (($row['nmech'] > 0) ? "• " . (($row['nmech'] > $user['mec']) ? "" : "") . "Мастерство владения мечами: {$row['nmech']}
    " : "") . " + " . (($row['nfire'] > 0) ? "• " . (($row['nfire'] > $user['mfire']) ? "" : "") . "Мастерство владения стихией Огня: {$row['nfire']}
    " : "") . " + " . (($row['nwater'] > 0) ? "• " . (($row['nwater'] > $user['mwater']) ? "" : "") . "Мастерство владения стихией Воды: {$row['nwater']}
    " : "") . " + " . (($row['nair'] > 0) ? "• " . (($row['nair'] > $user['mair']) ? "" : "") . "Мастерство владения стихией Воздуха: {$row['nair']}
    " : "") . " + " . (($row['nearth'] > 0) ? "• " . (($row['nearth'] > $user['mearth']) ? "" : "") . "Мастерство владения стихией Земли: {$row['nearth']}
    " : "") . " + " . (($row['nlight'] > 0) ? "• " . (($row['nlight'] > $user['mlight']) ? "" : "") . "Мастерство владения магией Света: {$row['nlight']}
    " : "") . " + " . (($row['ngray'] > 0) ? "• " . (($row['ngray'] > $user['mgray']) ? "" : "") . "Мастерство владения серой магией: {$row['ngray']}
    " : "") . " + " . (($row['ndark'] > 0) ? "• " . (($row['ndark'] > $user['mdark']) ? "" : "") . "Мастерство владения магией Тьмы: {$row['ndark']}
    " : "") . " + + " . (($row['gmeshok'] OR $row['gsila'] OR $row['mfkrit'] OR $row['mfakrit'] OR $row['mfuvorot'] OR $row['mfauvorot'] OR $row['glovk'] OR $row['ghp'] OR $row['ginta'] OR $row['gintel'] OR $row['gnoj'] OR $row['gtopor'] OR $row['gdubina'] OR $row['gmech'] OR $row['gfire'] OR $row['gwater'] OR $row['gair'] OR $row['gearth'] OR $row['gearth'] OR $row['glight'] OR $row['ggray'] OR $row['gdark'] OR $row['minu'] OR $row['maxu'] OR $row['bron1'] OR $row['bron2'] OR $row['bron3'] OR $row['bron4']) ? "Действует на:
    " : "") . " + " . (($row['minu']) ? "• Минимальное наносимое повреждение: +{$row['minu']}
    " : "") . " + " . (($row['maxu']) ? "• Максимальное наносимое повреждение: +{$row['maxu']}
    " : ""); + + if ($row['gsila']) { + $returnHTML .= "• Сила: +" . $row['gsila']; + if ($row['free_stat'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + if ($row['glovk']) { + $returnHTML .= "• Ловкость: " . plusorminus($row['glovk']); + if ($row['free_stat'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + + if ($row['ginta']) { + $returnHTML .= "• Интуиция: " . plusorminus($row['ginta']); + if ($row['free_stat'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + if ($row['gintel']) { + $returnHTML .= "• Интеллект: " . plusorminus($row['gintel']); + if ($row['free_stat'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + + $returnHTML .= (($row['ghp']) ? "• Уровень жизни: " . plusorminus($row['ghp']) . "
    " : ""); + + + if ($row['mfkrit'] > 0) { + $returnHTML .= "• Мф. критических ударов: " . plusorminus($row['mfkrit']) . "%"; + if ($row['free_mf'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + if ($row['mfakrit'] > 0) { + $returnHTML .= "• Мф. против крит. ударов: " . plusorminus($row['mfakrit']) . "%"; + if ($row['free_mf'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + if ($row['mfuvorot'] > 0) { + $returnHTML .= "• Мф. увертливости: " . plusorminus($row['mfuvorot']) . "%"; + if ($row['free_mf'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + + if ($row['mfauvorot'] > 0) { + $returnHTML .= "• Мф. против увертлив.: " . plusorminus($row['mfauvorot']) . "%"; + if ($row['free_mf'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + + $returnHTML .= (($row['gnoj']) ? "• Мастерство владения ножами и кастетами: +{$row['gnoj']}
    " : "") . " + " . (($row['gtopor']) ? "• Мастерство владения топорами и секирами: +{$row['gtopor']}
    " : "") . " + " . (($row['gdubina']) ? "• Мастерство владения дубинами и булавами: +{$row['gdubina']}
    " : "") . " + " . (($row['gmech']) ? "• Мастерство владения мечами: +{$row['gmech']}
    " : "") . " + " . (($row['gfire']) ? "• Мастерство владения стихией Огня: +{$row['gfire']}
    " : "") . " + " . (($row['gwater']) ? "• Мастерство владения стихией Воды: +{$row['gwater']}
    " : "") . " + " . (($row['gair']) ? "• Мастерство владения стихией Воздуха: +{$row['gair']}
    " : "") . " + " . (($row['gearth']) ? "• Мастерство владения стихией Земли: +{$row['gearth']}
    " : "") . " + " . (($row['glight']) ? "• Мастерство владения магией Света: +{$row['glight']}
    " : "") . " + " . (($row['ggray']) ? "• Мастерство владения серой магией: +{$row['ggray']}
    " : "") . " + " . (($row['gdark']) ? "• Мастерство владения магией Тьмы: +{$row['gdark']}
    " : ""); + + + if ($row['bron1'] > 0) { + $returnHTML .= "• Броня головы: " . $row['bron1']; + if ($row['free_bron'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + if ($row['bron2'] > 0) { + $returnHTML .= "• Броня корпуса: " . $row['bron2']; + if ($row['free_bron'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + if ($row['bron3'] > 0) { + $returnHTML .= "• Броня пояса: " . $row['bron3']; + if ($row['free_bron'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + if ($row['bron4'] > 0) { + $returnHTML .= "• Броня ног: " . $row['bron4']; + if ($row['free_bron'] > 0) { + $returnHTML .= " "; + } + $returnHTML .= "
    "; + } + + $returnHTML .= (($row['gmeshok']) ? "• Увеличивает рюкзак: +{$row['gmeshok']}
    " : "") . " + " . (($row['letter']) ? "Количество символов: " . strlen($row['letter']) . "
    " : "") . " + " . (($row['letter']) ? "На бумаге записан текст:
    " . nl2br($row['letter']) . "
    " : "") . " + " . (($row['opisan']) ? "• " . nl2br($row['opisan']) . "
    " : "") . " + " . (($magic['name'] && $row['type'] != 50) ? "Наложены заклятия: " . $magic['name'] . "
    " : "") . " + " . (($row['text']) ? "На ручке выгравирована надпись:
    " . $row['text'] . "

    " : "") . " + " . (($incmagic['max']) ? " Встроено заклятие " . $incmagic['cur'] . " шт.
    " : "") . " + " . (($row['podzem']) ? "Предмет из подземелья
    " : "") . " + " . (($row['laba'] == 1) ? "Пропадёт если не найти выход
    " : "") . " + " . (($row['laba'] == 2) ? "Предмет пропадёт после выхода
    " : "") . " + " . ((!$row['isrep']) ? "Предмет не подлежит ремонту
    " : ""); + + if ($row['free_bron'] > 0) { + $returnHTML .= "Свободных улучшений брони: " . $row['free_bron'] . "
    "; + } + if ($row['free_stat'] > 0) { + $returnHTML .= "Свободных улучшений параметров: " . $row['free_stat'] . "
    "; + } + if ($row['free_mf'] > 0) { + $returnHTML .= "Свободных улучшений модификаторов: " . $row['free_mf'] . "%
    "; + } + + if ($row['add_proc_mf'] > 0 || $row['add_proc_uron'] > 0 || $row['add_proc_bron'] > 0) { + $returnHTML .= 'Усиление:
    '; + if ($row['add_proc_mf'] > 0) { + $returnHTML .= '• Максимального мф.:' . plusorminus($row['add_proc_mf']) . '%
    '; + } + if ($row['add_proc_uron'] > 0) { + $returnHTML .= '• Урона:' . plusorminus($row['add_proc_uron']) . '%
    '; + } + if ($row['add_proc_bron'] > 0) { + $returnHTML .= '• Брони:' . plusorminus($row['add_proc_bron']) . '%
    '; + } + } + + } else { + $returnHTML .= "Свойства предмета не идентифицированы
    "; + } + $osob = array(22, 23); + if (in_array($row['type'], $osob)) { + $returnHTML .= 'Особенности:
    '; + if ($row['type'] == 22) { + $returnHTML .= '• может одеваться под броню
    '; + } elseif ($row['type'] == 23) { + $returnHTML .= '• может одеваться на броню
    '; + } + } + $returnHTML .= "Сделано в CapitalCity
    "; + if ($returned) { + return $returnHTML; + } + echo $returnHTML; +} + +function show_item($row, $type, $txt, $place) +{ + if (($row['maxdur'] <= $row['duration']) || ($row['dategoden'] && $row['dategoden'] <= time())) destructitem($row['id']); + $r = ''; + + $ntxt = "В инвентаре"; + if ($txt == "В сундук") $ntxt = "В сундуке"; + + $magic = magicinf($row['magic']); + $incmagic = mysql_fetch_array(mysql_query('SELECT * FROM `magic` WHERE `id` = \'' . $row['includemagic'] . '\' LIMIT 1')); + $incmagic['name'] = $row['includemagicname']; + $incmagic['cur'] = $row['includemagicdex']; + $incmagic['max'] = $row['includemagicmax']; + if (!$magic) { + $magic['chanse'] = $incmagic['chanse']; + $magic['time'] = $incmagic['time']; + $magic['targeted'] = $incmagic['targeted']; + } + #href="?search=1&otdel='.$row['otdel'].'&place='.$place.'&itm='.$row['id'].'&set=1" + if (isset($row['id'])) { + $r .= '
    '; + $r .= ''; + $r .= ''; + $r .= ''; + $r .= ''; + + $r .= ''; + + $r .= '
    '; + $r .= '
    ' . $row['name'] . ' (масса: ' . $row['massa'] . ') ' . (($row['present']) ? ' ' : "") . '
    '; + + if ($row['ecost'] > 0) { + $r .= 'Цена: ' . $row['ecost'] . ' екр.    
    '; + } elseif ($row['point'] > 0) { + $r .= 'Цена: ' . $row['point'] . ' реп.    
    '; + } else { + $r .= 'Цена: ' . $row['cost'] . ' кр.    
    '; + } + + if ($row['zeton'] > 0) { + $r .= 'Жетон: ' . $row['zeton'] . ' 
    '; + } + + $r .= 'Долговечность: ' . $row['duration'] . '/' . $row['maxdur'] . '
    '; + if (!$row['needident']) { + + if ($magic['chanse']) { + if ($magic['chanse'] >= 95) $magic['chanse'] = 95; + $r .= 'Вероятность срабатывания: ' . $magic['chanse'] . '%
    '; + } + if ($magic['time']) { + $r .= 'Продолжительность действия магии: ' . $magic['time'] . ' мин.
    '; + } + if ($row['goden']) { + $r .= 'Срок годности: ' . $row['goden'] . ' дн. (до ' . date("Y.m.d H:i", $row['dategoden']) . ')
    '; + } + + $r .= '
    '; + $user = array(); + + if ($row['nsila']) { + $r .= '• '; + if ($row['nsila'] > $user['sila']) { + $r .= ''; + } + $r .= 'Требуется Сила: ' . $row['nsila'] . '
    '; + } + if ($row['nlovk']) { + $r .= '• '; + if ($row['nlovk'] > $user['lovk']) { + $r .= ''; + } + $r .= 'Требуется Ловкость: ' . $row['nlovk'] . '
    '; + } + if ($row['ninta']) { + $r .= '• '; + if ($row['ninta'] > $user['inta']) { + $r .= ''; + } + $r .= 'Требуется Интуиция: ' . $row['ninta'] . '
    '; + } + if ($row['nvinos']) { + $r .= '• '; + if ($row['nvinos'] > $user['vinos']) { + $r .= ''; + } + $r .= 'Требуется Выносливость: ' . $row['nvinos'] . '
    '; + } + if ($row['nlevel']) { + $r .= '• '; + if ($row['nlevel'] > $user['level']) { + $r .= ''; + } + $r .= 'Требуется Уровень: ' . $row['nlevel'] . '
    '; + } + if ($row['nintel']) { + $r .= '• '; + if ($row['nintel'] > $user['intel']) { + $r .= ''; + } + $r .= 'Требуется Интеллект: ' . $row['nintel'] . '
    '; + } + if ($row['nnoj']) { + $r .= '• '; + if ($row['nnoj'] > $user['noj']) { + $r .= ''; + } + $r .= 'Требуется Мастерство владения ножами и кастетами: ' . $row['nnoj'] . '
    '; + } + if ($row['ntopor']) { + $r .= '• '; + if ($row['ntopor'] > $user['topor']) { + $r .= ''; + } + $r .= 'Требуется Мастерство владения топорами и секирами: ' . $row['ntopor'] . '
    '; + } + if ($row['ndubina']) { + $r .= '• '; + if ($row['ndubina'] > $user['dubina']) { + $r .= ''; + } + $r .= 'Требуется Мастерство владения дубинами и булавами: ' . $row['ndubina'] . '
    '; + } + if ($row['nmech']) { + $r .= '• '; + if ($row['nmech'] > $user['mech']) { + $r .= ''; + } + $r .= 'Требуется Мастерство владения мечами: ' . $row['nmech'] . '
    '; + } + if ($row['nfire']) { + $r .= '• '; + if ($row['nfire'] > $user['mfire']) { + $r .= ''; + } + $r .= 'Требуется Магия Огня: ' . $row['nfire'] . '
    '; + } + if ($row['nwater']) { + $r .= '• '; + if ($row['nwater'] > $user['mwater']) { + $r .= ''; + } + $r .= 'Требуется Магия Воды: ' . $row['nwater'] . '
    '; + } + if ($row['nair']) { + $r .= '• '; + if ($row['nair'] > $user['mair']) { + $r .= ''; + } + $r .= 'Требуется Магия Воздуха:: ' . $row['nair'] . '
    '; + } + if ($row['nearth']) { + $r .= '• '; + if ($row['nearth'] > $user['mearth']) { + $r .= ''; + } + $r .= 'Требуется Магия Земли: ' . $row['nearth'] . '
    '; + } + if ($row['nlight']) { + $r .= '• '; + if ($row['nlight'] > $user['mlight']) { + $r .= ''; + } + $r .= 'Требуется Магия Света: ' . $row['nlight'] . '
    '; + } + if ($row['ngray']) { + $r .= '• '; + if ($row['ngray'] > $user['mgray']) { + $r .= ''; + } + $r .= 'Требуется Магия Равновесия: ' . $row['ngray'] . '
    '; + } + if ($row['ndark']) { + $r .= '• '; + if ($row['ndark'] > $user['mdark']) { + $r .= ''; + } + $r .= 'Требуется Магия Тьмы: ' . $row['ndark'] . '
    '; + } + + $r .= '

    '; + $r .= '
    '; + + if ($row['minu']) $r .= '+' . $row['minu'] . ' Минимальное наносимое повреждение
    '; + if ($row['maxu']) $r .= '+' . $row['maxu'] . ' Максимальное наносимое повреждение
    '; + if ($row['gsila']) $r .= '+' . $row['gsila'] . ' Сила
    '; + if ($row['glovk']) $r .= '+' . $row['glovk'] . ' Ловкость
    '; + if ($row['ginta']) $r .= '+' . $row['ginta'] . ' Интуиция
    '; + if ($row['gintel']) $r .= '+' . $row['gintel'] . ' Интеллект
    '; + if ($row['ghp']) $r .= '+' . $row['ghp'] . ' Уровень жизни
    '; + if ($row['mfkrit']) $r .= '+' . $row['mfkrit'] . '% Мф. критических ударов
    '; + if ($row['mfakrit']) $r .= '+' . $row['mfakrit'] . '% Мф. против крит. ударов
    '; + if ($row['mfuvorot']) $r .= '+' . $row['mfuvorot'] . '% Мф. увертливости
    '; + if ($row['mfauvorot']) $r .= '+' . $row['mfauvorot'] . '% Мф. против увертливости
    '; + if ($row['gnoj']) $r .= '+' . $row['gnoj'] . ' Мастерство владения ножами и кастетами
    '; + if ($row['gtopor']) $r .= '+' . $row['gtopor'] . ' Мастерство владения топорами и секирами
    '; + if ($row['gdubina']) $r .= '+' . $row['gdubina'] . ' Мастерство владения дубинами и булавами
    '; + if ($row['gmech']) $r .= '+' . $row['gmech'] . ' Мастерство владения мечами
    '; + if ($row['gfire']) $r .= '+' . $row['gfire'] . ' Мастерство владения стихией Огня
    '; + if ($row['gwater']) $r .= '+' . $row['gwater'] . ' Мастерство владения стихией Воды
    '; + if ($row['gair']) $r .= '+' . $row['gair'] . ' Мастерство владения стихией Воздуха
    '; + if ($row['gearth']) $r .= '+' . $row['gearth'] . ' Мастерство владения стихией Земли
    '; + if ($row['glight']) $r .= '+' . $row['glight'] . ' Мастерство владения магией Светa
    '; + if ($row['ggray']) $r .= '+' . $row['ggray'] . ' Мастерство владения Cерой магией
    '; + if ($row['gdark']) $r .= '+' . $row['gdark'] . ' Мастерство владения магией Тьмы
    '; + if ($row['bron1']) $r .= '+' . $row['bron1'] . ' Броня головы
    '; + if ($row['bron2']) $r .= '+' . $row['bron2'] . ' Броня корпуса
    '; + if ($row['bron3']) $r .= '+' . $row['bron3'] . ' Броня пояса
    '; + if ($row['bron4']) $r .= '+' . $row['bron4'] . ' Броня ног
    '; + if ($row['gmeshok']) $r .= '+' . $row['gmeshok'] . ' Увеличивает рюкзак:
    '; + + $r .= ''; + + if ($row['letter']) $r .= 'На бумаге записан текст:
    ' . nl2br($row['letter']) . '

    '; + if ($magic['name'] && $row['type'] != 50) $r .= 'Наложены заклятия: ' . $magic['name'] . '
    '; + if ($row['text']) $r .= 'На ручке выгравирована надпись:
    ' . $row['text'] . '

    '; + if ($incmagic['max']) $r .= 'Встроено заклятие ' . $incmagic['cur'] . ' шт.
    '; + if ($row['podzem']) $r .= 'Предмет из подземелья
    '; + if ($row['laba'] == 1) $r .= 'Пропадёт если не найти выход
    '; + if ($row['laba'] == 2) $r .= 'Предмет пропадёт после выхода
    '; + if ($row['isrep']) $r .= 'Предмет не подлежит ремонту
    '; + if ($row['free_bron']) $r .= '+' . $row['free_bron'] . ' Улучшений брони
    '; + if ($row['free_stat']) $r .= '+' . $row['free_stat'] . ' Улучшений параметров
    '; + if ($row['free_mf']) $r .= '+' . $row['free_mf'] . ' Улучшений модификаторов
    '; + $r .= '
    '; + } else { + $r .= 'Свойства предмета не идентифицированы
    '; + } + + $osob = array(22, 23); + if (in_array($row['type'], $osob)) { + $r .= 'Особенности:
    '; + if ($row['type'] == 22) { + $r .= '• может одеваться под броню'; + } elseif ($row['type'] == 23) { + $r .= '• может одеваться на броню'; + } + } + + $r .= '
    '; + } + return $r; +} + +// magic +function magicinf($id) +{ + return mysql_fetch_array(mysql_query("SELECT * FROM `magic` WHERE `id` = '{$id}' LIMIT 1")); +} + +// показать перса в инфе +function showpersinv($id) +{ + global $mysql; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $dressed = array(); + $r = mysql_query("SELECT * FROM `inventory` WHERE `id` = '$user[helm]' OR `id` = '$user[weap]' OR `id` = '$user[plaw]' OR `id` = '$user[bron]' OR `id` = '$user[rybax]' OR `id` = '$user[belt]' OR `id` = '$user[sergi]' OR `id` = '$user[kulon]' OR `id` = '$user[r1]' OR `id` = '$user[r2]' OR `id` = '$user[r3]' OR `id` = '$user[perchi]' OR `id` = '$user[shit]' OR `id` = '$user[leg]' OR `id` = '$user[boots]' OR `id` = '$user[m1]' OR `id` = '$user[m2]' OR `id` = '$user[m3]' OR `id` = '$user[m4]' OR `id` = '$user[m5]' OR `id` = '$user[m6]' OR `id` = '$user[m7]' OR `id` = '$user[m8]' OR `id` = '$user[m9]' OR `id` = '$user[m10]' OR `id` = '$user[m11]' OR `id` = '$user[m12]'"); + while ($rec = mysql_fetch_assoc($r)) { + $dressed[$rec['id']] = $rec; + } + ?> +
    + .gif"> + ; + [] + target=_blank>Инф. о <?= $user['login'] ?> + + + + + + + 3) { ?> + + + + + + + + + + + + +
    + +
    + 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m1']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + if ($user['m2'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m2']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + if ($user['m3'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m3']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + if ($user['m4'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m4']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + if ($user['m5'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m5']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + ?> +
    + 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m6']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + if ($user['m7'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m7']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + if ($user['m8'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m8']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + if ($user['m9'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m9']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + if ($user['m10'] > 0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['m10']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur']; + echo ''; + } else { + $mess = 'Пустой слот магия'; + echo ''; + } + ?> +
    + + + + + + + + + + + + + + + + +
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['sergi']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Серьги\' />'; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['kulon']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Ожерелье\' />'; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['weap']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Оружие\' />'; + } + ?>
    0 || $user['rybax'] > 0 || $user['plaw'] > 0) { + if ($user['plaw']) { + $d = $user['plaw']; + $n = 23; + } elseif ($user['bron']) { + $d = $user['bron']; + $n = 4; + } elseif ($user['rybax']) { + $d = $user['rybax']; + $n = 22; + } + $dress = $dressed[$d]; + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Броня\' />'; + } + ?>
    + + + + + + + +
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r1']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Кольцо\' />'; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r2']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Кольцо\' />'; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['r3']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Кольцо\' />'; + } + ?>
    +
    +
    <?= $user['login'] ?> + + + + + + + + + + + + + +
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['helm']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Шлем\' />'; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['perchi']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Перчатки\' />'; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['shit']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . ''; + echo ''; + } else { + echo 'Пустой слот Щит\' />'; + } + ?>
    0) { + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$user['boots']}' LIMIT 1;")); + $mess = 'Снять ' . $dress['name'] . '
    Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '
    '; + echo ''; + } else { + echo 'Пустой слот Обувь\' />'; + } + ?>
    +
    + + + + + + + + + +
    +
    0) { + $ruid = $us['rune_' . $slot]; + $rtype = (23 + $slot); + $dress = mysql_fetch_array(mysql_query('SELECT `id`, `img`, `name`, `duration`, `maxdur`, `rune_level`, `rune_exp` FROM `inventory` WHERE `id` = "' . $ruid . '" AND `owner` = "' . $us['id'] . '" LIMIT 1')); + if (isset($dress['id'])) { + if ($us['id'] == $user['id'] && $type == 1) { + $r = ''; + } else { + $r = ''; + } + } else { + $r = ''; + } + } else { + $r = ''; + } + } else { + $r = ''; + } + return $r; +} + +function undressall($id) +{ + for ($i = 1; $i <= 26; $i++) { + dropitemid($i, $id); + } +} + +function dropitemid_cave($slot, $id) +{ + global $user; + switch ($slot) { + case 'sergi': + $slot1 = 1; + break; + case 'kulon': + $slot1 = 2; + break; + case 'weap': + $slot1 = 3; + break; + case 'bron': + $slot1 = 4; + break; + case 'r1': + $slot1 = 5; + break; + case 'r2': + $slot1 = 6; + break; + case 'r3': + $slot1 = 7; + break; + case 'helm': + $slot1 = 8; + break; + case 'perchi': + $slot1 = 9; + break; + case 'shit': + $slot1 = 10; + break; + case 'boots': + $slot1 = 11; + break; + case 'm1': + $slot1 = 12; + break; + case 'm2': + $slot1 = 13; + break; + case 'm3': + $slot1 = 14; + break; + case 'm4': + $slot1 = 15; + break; + case 'm5': + $slot1 = 16; + break; + case 'm6': + $slot1 = 17; + break; + case 'm7': + $slot1 = 18; + break; + case 'm8': + $slot1 = 19; + break; + case 'm9': + $slot1 = 20; + break; + case 'm10': + $slot1 = 21; + break; + case 'rybax': + $slot1 = 22; + break; + case 'plaw': + $slot1 = 23; + break; + } + if (mysql_query('UPDATE `users`, `inventory` SET `users`.' . $slot . ' = 0, `inventory`.`dressed` = 0, `users`.`sila` = `users`.`sila` - `inventory`.`gsila`, `users`.`lovk` = `users`.`lovk` - `inventory`.`glovk`, `users`.`inta` = `users`.`inta` - `inventory`.`ginta`, `users`.`intel` = `users`.`intel` - `inventory`.`gintel`, `users`.`maxhp` = `users`.`maxhp` - `inventory`.`ghp`, `users`.`noj` = `users`.`noj` - `inventory`.`gnoj`, `users`.`topor` = `users`.`topor` - `inventory`.`gtopor`, `users`.`dubina` = `users`.`dubina` - `inventory`.`gdubina`, `users`.`mec` = `users`.`mec` - `inventory`.`gmech`, `users`.`mfire` = `users`.`mfire` - `inventory`.`gfire`, `users`.`mwater` = `users`.`mwater` - `inventory`.`gwater`, `users`.`mair` = `users`.`mair` - `inventory`.`gair`, `users`.`mearth` = `users`.`mearth` - `inventory`.`gearth`, `users`.`mlight` = `users`.`mlight` - `inventory`.`glight`, `users`.`mgray` = `users`.`mgray` - `inventory`.`ggray`, `users`.`mdark` = `users`.`mdark` - `inventory`.`gdark`, `users`.`fkrit` = `users`.`fkrit` - `inventory`.`mfkrit`, `users`.`fakrit` = `users`.`fakrit` - `inventory`.`mfakrit`, `users`.`fuvorot` = `users`.`fuvorot` - `inventory`.`mfuvorot`, `users`.`fauvorot` = `users`.`fauvorot` - `inventory`.`mfauvorot`, `users`.`ubron1` = `users`.`ubron1` - `inventory`.`bron1`, `users`.`ubron2` = `users`.`ubron2` - `inventory`.`bron2`, `users`.`ubron3` = `users`.`ubron3` - `inventory`.`bron3`, `users`.`ubron4` = `users`.`ubron4` - `inventory`.`bron4`, `users`.`uminu` = `users`.`uminu` - `inventory`.`minu`, `users`.`umaxu` = `users`.`umaxu` - `inventory`.`maxu` WHERE `inventory`.`id` = `users`.' . $slot . ' AND `inventory`.`dressed` = 1 AND `inventory`.`owner` = "' . $user['id'] . '" AND `users`.`id` = "' . $user['id'] . '"')) { + mysql_query("UPDATE `users` SET `hp` = `maxhp`, `fullhptime` = " . time() . " WHERE `hp` > `maxhp` AND `id` = '{$id}' LIMIT 1"); + if ($id == $user['id']) { + $user[$slot] = 0; + } + return true; + } else { + echo mysql_error(); + } + +} + +function del_effs($uid, $eff, $txt) +{ + $text = ''; + $pers = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `sila`, `lovk`, `inta`, `vinos`, `intel`, `hp`, `maxhp` FROM `users` WHERE `id` = "' . mysql_real_escape_string($uid) . '" LIMIT 1')); + if (isset($pers['id'])) { + $effect = mysql_fetch_array(mysql_query('SELECT `id`, `type`, `name`, `time`, `sila`, `lovk`, `inta`, `vinos`, `hp`, `proc_exp`, `owner`, `sleep`, `lastup`, `can` FROM `effects` WHERE `id` = "' . mysql_real_escape_string($eff) . '" AND `owner` = "' . $pers['id'] . '" LIMIT 1')); + if (isset($effect['id'])) { + if ($effect['type'] == 11 || $effect['type'] == 12 || $effect['type'] == 13 || $effect['type'] == 14) { + $pers['sila'] += $effect['sila']; + $pers['lovk'] += $effect['lovk']; + $pers['inta'] += $effect['inta']; + $pers['vinos'] += $effect['vinos']; + $pers['maxhp'] += $effect['hp']; + } else { + $pers['sila'] -= $effect['sila']; + $pers['lovk'] -= $effect['lovk']; + $pers['inta'] -= $effect['inta']; + $pers['vinos'] -= $effect['vinos']; + $pers['maxhp'] -= $effect['hp']; + } + mysql_query('UPDATE `users` SET `sila` = "' . $pers['sila'] . '", `lovk` = "' . $pers['lovk'] . '", `inta` = "' . $pers['inta'] . '", `vinos` = "' . $pers['vinos'] . '", `maxhp` = "' . $pers['maxhp'] . '" WHERE `id` = "' . $pers['id'] . '" LIMIT 1'); + mysql_query('DELETE FROM `effects` WHERE `owner` = "' . $pers['id'] . '" AND `id` = "' . $effect['id'] . '" LIMIT 1'); + $text = 'Закончилось действие эффекта ' . $effect['name'] . '.'; + if ($txt == 1) { + addchp('Внимание! ' . $text, '{[]}' . nick7($pers['id']) . '{[]}'); + } + unset($pers, $effect, $uid, $eff, $text); + } + } +} + +function dropitemid($slot, $id) +{ + $user = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "' . $id . '" LIMIT 1')); + switch ($slot) { + case 1: + $slot1 = 'sergi'; + break; + case 2: + $slot1 = 'kulon'; + break; + case 3: + $slot1 = 'weap'; + break; + case 4: + $slot1 = 'bron'; + break; + case 5: + $slot1 = 'r1'; + break; + case 6: + $slot1 = 'r2'; + break; + case 7: + $slot1 = 'r3'; + break; + case 8: + $slot1 = 'helm'; + break; + case 9: + $slot1 = 'perchi'; + break; + case 10: + $slot1 = 'shit'; + break; + case 11: + $slot1 = 'boots'; + break; + case 12: + $slot1 = 'm1'; + break; + case 13: + $slot1 = 'm2'; + break; + case 14: + $slot1 = 'm3'; + break; + case 15: + $slot1 = 'm4'; + break; + case 16: + $slot1 = 'm5'; + break; + case 17: + $slot1 = 'm6'; + break; + case 18: + $slot1 = 'm7'; + break; + case 19: + $slot1 = 'm8'; + break; + case 20: + $slot1 = 'm9'; + break; + case 21: + $slot1 = 'm10'; + break; + case 22: + $slot1 = 'rybax'; + break; + case 23: + $slot1 = 'plaw'; + break; + case 24: + $slot1 = 'rune_1'; + break; + case 25: + $slot1 = 'rune_2'; + break; + case 26: + $slot1 = 'rune_3'; + break; + } + + if (mysql_query('UPDATE `users`, `inventory` SET `users`.`' . $slot1 . '` = 0, `inventory`.`dressed` = 0, `users`.`sila` = `users`.`sila` - `inventory`.`gsila`, `users`.`lovk` = `users`.`lovk` - `inventory`.`glovk`, `users`.`inta` = `users`.`inta` - `inventory`.`ginta`, `users`.`intel` = `users`.`intel` - `inventory`.`gintel`, `users`.`maxhp` = `users`.`maxhp` - `inventory`.`ghp`, `users`.`noj` = `users`.`noj` - `inventory`.`gnoj`, `users`.`topor` = `users`.`topor` - `inventory`.`gtopor`, `users`.`dubina` = `users`.`dubina` - `inventory`.`gdubina`, `users`.`mec` = `users`.`mec` - `inventory`.`gmech`, `users`.`mfire` = `users`.`mfire` - `inventory`.`gfire`, `users`.`mwater` = `users`.`mwater` - `inventory`.`gwater`, `users`.`mair` = `users`.`mair` - `inventory`.`gair`, `users`.`mearth` = `users`.`mearth` - `inventory`.`gearth`, `users`.`mlight` = `users`.`mlight` - `inventory`.`glight`, `users`.`mgray` = `users`.`mgray` - `inventory`.`ggray`, `users`.`mdark` = `users`.`mdark` - `inventory`.`gdark`, `users`.`fkrit` = `users`.`fkrit` - `inventory`.`mfkrit`, `users`.`fakrit` = `users`.`fakrit` - `inventory`.`mfakrit`, `users`.`fuvorot` = `users`.`fuvorot` - `inventory`.`mfuvorot`, `users`.`fauvorot` = `users`.`fauvorot` - `inventory`.`mfauvorot`, `users`.`ubron1` = `users`.`ubron1` - `inventory`.`bron1`, `users`.`ubron2` = `users`.`ubron2` - `inventory`.`bron2`, `users`.`ubron3` = `users`.`ubron3` - `inventory`.`bron3`, `users`.`ubron4` = `users`.`ubron4` - `inventory`.`bron4`, `users`.`uminu` = `users`.`uminu` - `inventory`.`minu`, `users`.`umaxu` = `users`.`umaxu` - `inventory`.`maxu` WHERE `inventory`.`id` = `users`.`' . $slot1 . '` AND `inventory`.`dressed` = 1 AND `inventory`.`owner` = "' . $user['id'] . '" AND `users`.`id` = "' . $user['id'] . '"')) { + mysql_query("UPDATE `users` SET `hp` = `maxhp`, `fullhptime` = " . time() . " WHERE `hp` > `maxhp` AND `id` = '{$id}' LIMIT 1"); + if ($id == $user['id']) { + $user[$slot1] = 0; + } + return true; + } else { + echo mysql_error(); + } +} + +// снять предмет +function dropitem($slot) +{ + global $user, $mysql; + switch ($slot) { + case 1: + $slot1 = 'sergi'; + break; + case 2: + $slot1 = 'kulon'; + break; + case 3: + $slot1 = 'weap'; + break; + case 4: + $slot1 = 'bron'; + break; + case 5: + $slot1 = 'r1'; + break; + case 6: + $slot1 = 'r2'; + break; + case 7: + $slot1 = 'r3'; + break; + case 8: + $slot1 = 'helm'; + break; + case 9: + $slot1 = 'perchi'; + break; + case 10: + $slot1 = 'shit'; + break; + case 11: + $slot1 = 'boots'; + break; + case 12: + $slot1 = 'm1'; + break; + case 13: + $slot1 = 'm2'; + break; + case 14: + $slot1 = 'm3'; + break; + case 15: + $slot1 = 'm4'; + break; + case 16: + $slot1 = 'm5'; + break; + case 17: + $slot1 = 'm6'; + break; + case 18: + $slot1 = 'm7'; + break; + case 19: + $slot1 = 'm8'; + break; + case 20: + $slot1 = 'm9'; + break; + case 21: + $slot1 = 'm10'; + break; + case 22: + $slot1 = 'rybax'; + break; + case 23: + $slot1 = 'plaw'; + break; + case 24: + $slot1 = 'rune_1'; + break; + case 25: + $slot1 = 'rune_2'; + break; + case 26: + $slot1 = 'rune_3'; + break; + + } + { + + + if (mysql_query("UPDATE `users` as u, `inventory` as i SET u.{$slot1} = 0, i.dressed = 0, + u.sila = u.sila - i.gsila, + u.lovk = u.lovk - i.glovk, + u.inta = u.inta - i.ginta, + u.intel = u.intel - i.gintel, + u.maxhp = u.maxhp - i.ghp, + u.noj = u.noj - i.gnoj, + u.topor = u.topor - i.gtopor, + u.dubina = u.dubina - i.gdubina, + u.mec = u.mec - i.gmech, + u.mfire = u.mfire - i.gfire, + u.mwater = u.mwater - i.gwater, + u.mair = u.mair - i.gair, + u.mearth = u.mearth - i.gearth, + u.mlight = u.mlight - i.glight, + u.mgray = u.mgray - i.ggray, + u.mdark = u.mdark - i.gdark, + u.ubron1 = u.ubron1 - i.bron1, + u.ubron2 = u.ubron2 - i.bron2, + u.ubron3 = u.ubron3 - i.bron3, + u.ubron4 = u.ubron4 - i.bron4, + u.fkrit = u.fkrit - i.mfkrit, + u.fakrit = u.fakrit - i.mfakrit, + u.fuvorot = u.fuvorot - i.mfuvorot, + u.fauvorot = u.fauvorot - i.mfauvorot, + u.uminu = u.uminu - i.minu, + u.umaxu = u.umaxu - i.maxu + WHERE i.id = u.{$slot1} AND i.dressed = 1 AND i.owner = {$user['id']} AND u.id = {$user['id']};")) + mysql_query("UPDATE `users` SET `hp` = `maxhp`, `fullhptime` = " . time() . " WHERE `hp` > `maxhp` AND `id` = '{$user['id']}' LIMIT 1;"); + + $wear_raw = mysql_query("SELECT * FROM inventory where owner={$user['id']} AND dressed='1';"); + while ($wear_list = mysql_fetch_array($wear_raw)) { + $wear_arr[] = $wear_list['prototype']; + }; + + $temp_is = array(); + $item['id'] = $user[$slot1]; + //foreach($wear_arr as $wt) echo($wt."
    "); + + $get_pro_raw = mysql_query("SELECT * FROM inventory where id={$item['id']} limit 1;"); + $get_pro = mysql_fetch_array($get_pro_raw); + ///////////////////// + $sets_items = mysql_query("SELECT * FROM item_sets"); + + //для каждого комплекта + while ($items_in_set = mysql_fetch_array($sets_items)) { + $checker = 0; + $temp_is = explode(",", $items_in_set['prot_id']); + $set_id = $items_in_set['set_id']; + + //если прото в комплекте и не одет + if (in_array($get_pro['prototype'], $temp_is) && (!in_array($get_pro['prototype'], $wear_arr))) { + $checker = 1; + // echo("
    ITEM SETS
    "); + //foreach($temp_is as $tis) echo($tis."
    "); + //для каждого одетого предмета + foreach ($temp_is as $check_proto) + if ($check_proto != $get_pro['prototype']) { + if (!in_array($check_proto, $wear_arr)) { + $checker = 0; + }; + // echo("Checker=".$checker." at set #".$set_id." item #".$check_proto." Compare=".$get_pro['prototype']."
    "); + } + //echo("Checker=".$checker." at set #".$set_id); + } + + + // + if (($checker == 1) && (!in_array($get_pro['prototype'], $wear_arr))) { + mysql_query("UPDATE `users` as u, `item_sets` as s SET + u.uminu = u.uminu - s.minu, + u.umaxu = u.umaxu - s.maxu, + u.sila = u.sila - s.gsila, + u.lovk = u.lovk - s.glovk, + u.inta = u.inta - s.ginta, + u.intel = u.intel - s.gintel, + u.maxhp = u.maxhp - s.ghp, + u.maxmana = u.maxmana - s.gmana, + u.fkrit = u.fkrit - s.mfkrit, + u.fakrit = u.fakrit - s.mfakrit, + u.fuvorot = u.fuvorot - s.mfuvorot, + u.fauvorot = u.fauvorot - s.mfauvorot, + u.noj = u.noj - s.gnoj, + u.topor = u.topor - s.gtopor, + u.dubina = u.dubina - s.gdubina, + u.mec = u.mec - s.gmech, + u.ubron1 = u.ubron1 - s.bron1, + u.ubron2 = u.ubron2 - s.bron2, + u.ubron3 = u.ubron3 - s.bron3, + u.ubron4 = u.ubron4 - s.bron4, + u.mfire = u.mfire - s.gfire, + u.mwater = u.mwater - s.gwater, + u.mair = u.mair - s.gair, + u.mearth = u.mearth - s.gearth, + u.mlight = u.mlight - s.glight, + u.mgray = u.mgray - s.ggray + WHERE + u.id = {$user['id']} AND + s.set_id={$set_id};"); + //echo ("Сняли ".$set_id); + }; + }; + + + return true; + } +} + +//сможет держать +function derj($id) +{ + global $user, $mysql; + $ts = mysql_fetch_array(mysql_query('SELECT `id`, `nalign` FROM `inventory` WHERE `id` = "' . $id . '" LIMIT 1')); + $al = '(1 = 1)'; + if ($ts['nalign'] > 0) { + if ($ts['nalign'] == 1.1) { + if (($user['align'] == 6 || ($user['align'] > 1 && $user['align'] < 2))) { + $al = '(1 = 1)'; + } else { + $al = '(1 = 2)'; + } + } + } + if ($dd = mysql_query("SELECT i.`id` FROM`users` AS `u`, `inventory` AS `i` + WHERE + i.needident = 0 AND + i.id = {$id} AND + i.duration < i.maxdur AND + i.owner = {$user['id']} AND + u.sila >= i.nsila AND + u.lovk >= i.nlovk AND + u.inta >= i.ninta AND + u.vinos >= i.nvinos AND + u.intel >= i.nintel AND + u.mudra >= i.nmudra AND + u.level >= i.nlevel AND + ($al OR (" . (int)$user['align'] . " = i.nalign) or (i.nalign = 0)) AND + u.noj >= i.nnoj AND + u.topor >= i.ntopor AND + u.dubina >= i.ndubina AND + u.mec >= i.nmech AND + u.mfire >= i.nfire AND + u.mwater >= i.nwater AND + u.mair >= i.nair AND + u.mearth >= i.nearth AND + u.mlight >= i.nlight AND + u.mgray >= i.ngray AND + u.mdark >= i.ndark AND + i.setsale = 0 AND + u.id = {$user['id']};")) { + $dd = mysql_fetch_array($dd); + if ($dd[0] > 0) { + return true; + } else { + return false; + } + } +} + +function make_seed() +{ + list($usec, $sec) = explode(' ', microtime()); + return (float)$sec + ((float)$usec * 100000); +} + +function ref_drop($id) +{ + global $user, $mysql; + $slot = array('sergi', 'kulon', 'weap', 'bron', 'r1', 'r2', 'r3', 'helm', 'perchi', 'shit', 'boots', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm10'); + for ($i = 0; $i <= 20; $i++) { + if ($user[$slot[$i]] && !derj($user[$slot[$i]])) { + dropitem($i + 1); + $user[$slot[$i]] = null; + } + } +} + +function GetWeaponType($idwep) +{ + if ($idwep == 0 || $idwep == null || $idwep == '') { + return "kulak"; + } + $wep = mysql_fetch_array(mysql_query('SELECT `otdel`, `minu` FROM `inventory` WHERE `id` = "' . $idwep . '" LIMIT 1')); + if ($wep[0] == '1') { + return "noj"; + } elseif ($wep[0] == '12') { + return "dubina"; + } elseif ($wep[0] == '11') { + return "topor"; + } elseif ($wep[0] == '13') { + return "mech"; + } elseif ($wep[1] > 0) { + return "buket"; + } else { + return "kulak"; + } +} + +function stripslashes_deep($text) +{ + while (strstr($text, "\\")) { + $text = stripslashes($text); + } + return $text; +} + +function countmf() +{ //TODO пересчитать модификаторы + global $user; + + $zo = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 201 AND `owner` = {$user['id']} LIMIT 1")); + $sokr = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `type` = 202 AND `owner` = {$user['id']} LIMIT 1")); + + if (isset($sokr[0])) { + $bmfud += 5; + } else { + $bmfud = 0; + } + if (isset($zo[0]) > 0) { + $bmfbron += 25; + } else { + $bmfbron = 0; + } + + $bmfuv = 0; + $bmfauv = 0; + $bmfakrit = 0; + $bmfkrit = 0; + $bmfuv1 = 0; + $bmfauv1 = 0; + $bmfakrit1 = 0; + $bmfkrit1 = 0; + + $mf = array(); + + $ud_raw = mysql_query('SELECT SUM(`minu`), SUM(`maxu`), SUM(`mfkrit`), SUM(`mfakrit`), SUM(`mfuvorot`), SUM(`mfauvorot`), SUM(`bron1`), SUM(`bron2`), SUM(`bron3`), SUM(`bron4`) FROM `inventory` WHERE `dressed` = 1 AND `owner` = \'' . $user['id'] . '\' LIMIT 1'); + $user_dress = mysql_fetch_array($ud_raw); + $user_dress[6] = $bmfbron; + $user_dress[7] = $bmfbron; + $user_dress[8] = $bmfbron; + $user_dress[9] = $bmfbron; + + $user_dress[6] += $user['ubron1']; + $user_dress[7] += $user['ubron2']; + $user_dress[8] += $user['ubron3']; + $user_dress[9] += $user['ubron4']; + + $mykrit = $user_dress[2] + ($user['inta'] * 2.95); + $myakrit = $user_dress[3] + ($user['inta'] * 2.75); + + $myuvorot = $user_dress[4] + ($user['lovk'] * 5); + $myauvorot = $user_dress[5] + ($user['lovk'] * 4); + + $mf['me'] = array('udar' => (floor($user['sila'] / 3) + 1 + $user_dress[0]), 'maxudar' => (floor($user['sila'] / 3) + 4 + $user_dress[1])); + + if ($mf['me']['udar'] < 0) { + $mf['me']['udar'] = 0; + } + + $weap_b = 0; + switch (GetWeaponType($user['weap'])) { + case "noj": + $weap_b += $user['noj']; + break; + case "dubina": + $weap_b += $user['dubina']; + break; + case "topor": + $weap_b += $user['topor']; + break; + case "mech": + $weap_b += $user['mec']; + break; + } + + return array('minu' => $mf['me']['udar'] + $bmfud + $weap_b, 'maxu' => $mf['me']['maxudar'] + $bmfud + $weap_b, 'fkrit' => round($mykrit, 0), 'fakrit' => round($myakrit, 0), 'fuvorot' => round($myuvorot, 0), 'fauvorot' => round($myauvorot, 0), 'bron1' => $user_dress[6], 'bron2' => $user_dress[7], 'bron3' => $user_dress[8], 'bron4' => $user_dress[9]); +} + +// одеть предмет +function dressitem($id) +{ + global $mysql, $user; + $item = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` AS `i` WHERE `duration` < `maxdur` AND `id` = '{$id}' AND `owner` = '{$user['id']}' AND `dressed` = 0 LIMIT 1")); + switch ($item['type']) { + case 1: + $slot1 = 'sergi'; + break; + case 2: + $slot1 = 'kulon'; + break; + case 3: + $slot1 = 'weap'; + break; + case 4: + $slot1 = 'bron'; + break; + case 5: + $slot1 = 'r1'; + break; + case 6: + $slot1 = 'r2'; + break; + case 7: + $slot1 = 'r3'; + break; + case 8: + $slot1 = 'helm'; + break; + case 9: + $slot1 = 'perchi'; + break; + case 10: + $slot1 = 'shit'; + break; + case 11: + $slot1 = 'boots'; + break; + case 12: + $slot1 = 'm1'; + break; + case 22: + $slot1 = 'rybax'; + break; + case 23: + $slot1 = 'plaw'; + break; + case 24: + $slot1 = 'rune_1'; + break; + case 25: + $slot1 = 'rune_2'; + break; + case 26: + $slot1 = 'rune_3'; + break; + } + + if ($item['type'] == 5) { + if (!$user['r1']) { + $slot1 = 'r1'; + } elseif (!$user['r2']) { + $slot1 = 'r2'; + } elseif (!$user['r3']) { + $slot1 = 'r3'; + } else { + $slot1 = 'r1'; + dropitem(5); + } + } elseif ($item['type'] == 24) { + if (!$user['rune_1']) { + $slot1 = 'rune_1'; + } elseif (!$user['rune_2']) { + $slot1 = 'rune_2'; + } elseif (!$user['rune_3']) { + $slot1 = 'rune_3'; + } else { + $slot1 = 'rune_1'; + dropitem(24); + } + } elseif ($item['type'] == 12) { + if (!$user['m1']) { + $slot1 = 'm1'; + } elseif (!$user['m2']) { + $slot1 = 'm2'; + } elseif (!$user['m3']) { + $slot1 = 'm3'; + } elseif (!$user['m4']) { + $slot1 = 'm4'; + } elseif (!$user['m5']) { + $slot1 = 'm5'; + } elseif (!$user['m6']) { + $slot1 = 'm6'; + } elseif (!$user['m7']) { + $slot1 = 'm7'; + } elseif (!$user['m8']) { + $slot1 = 'm8'; + } elseif (!$user['m9']) { + $slot1 = 'm9'; + } elseif (!$user['m10']) { + $slot1 = 'm10'; + } else { + $slot1 = 'm1'; + dropitem(12); + } + } else { + dropitem($item['type']); + } + $al = '(1 = 1)'; + if ($item['nalign'] > 0) { + if ($item['nalign'] == 1.1) { + if (($user['align'] == 6 || ($user['align'] > 1 && $user['align'] < 2))) { + $al = '(1 = 1)'; + } else { + $al = '(1 = 2)'; + } + } + } + + if (!($item['type'] == 12 && $user['level'] < 4)) { + if ($user['first'] == 3 && ($item['name'] == 'Шлем новобранца' || $item['name'] == 'Рубаха новобранца')) { + mysql_query("UPDATE `users` SET `kwest_items_odet` = (`kwest_items_odet`+1) WHERE `id` = '" . $user['id'] . "' LIMIT 1"); + } + + if (mysql_query("UPDATE `users` AS `u`, `inventory` AS `i` SET `u`.`{$slot1}` = {$id}, `i`.`dressed` = 1, `u`.`sila` = `u`.`sila` + `i`.`gsila`, `u`.`lovk` = `u`.`lovk` + `i`.`glovk`, `u`.`inta` = `u`.`inta` + `i`.`ginta`, `u`.`intel` = `u`.`intel` + `i`.`gintel`, `u`.`maxhp` = `u`.`maxhp` + `i`.`ghp`, `u`.`noj` = `u`.`noj` + `i`.`gnoj`, `u`.`topor` = `u`.`topor` + `i`.`gtopor`, `u`.`dubina` = `u`.`dubina` + `i`.`gdubina`, `u`.`mec` = `u`.`mec` + `i`.`gmech`, `u`.`mfire` = `u`.`mfire` + `i`.`gfire`, `u`.`mwater` = `u`.`mwater` + `i`.`gwater`, `u`.`mair` = `u`.`mair` + `i`.`gair`, `u`.`mearth` = `u`.`mearth` + `i`.`gearth`, `u`.`mlight` = `u`.`mlight` + `i`.`glight`, `u`.`mgray` = `u`.`mgray` + `i`.`ggray`, `u`.`mdark` = `u`.`mdark` + `i`.`gdark`, `u`.`ubron1` = `u`.`ubron1` + `i`.`bron1`, `u`.`ubron2` = `u`.`ubron2` + `i`.`bron2`, `u`.`ubron3` = `u`.`ubron3` + `i`.`bron3`, `u`.`ubron4` = `u`.`ubron4` + `i`.`bron4`, `u`.`fkrit` = `u`.`fkrit` + `i`.`mfkrit`, `u`.`fakrit` = `u`.`fakrit` + `i`.`mfakrit`, `u`.`fuvorot` = `u`.`fuvorot` + `i`.`mfuvorot`, `u`.`fauvorot` = `u`.`fauvorot` + `i`.`mfauvorot`, `u`.`uminu` = `u`.`uminu` + `i`.`minu`, `u`.`umaxu` = `u`.`umaxu` + `i`.`maxu` WHERE `i`.`needident` = 0 AND `i`.`id` = {$id} AND `i`.`dressed` = 0 AND `i`.owner = {$user['id']} AND (20 + `u`.`sila`) >= `i`.`nsila` AND (20 + `u`.`lovk`) >= `i`.`nlovk` AND (20 + `u`.`inta`) >= `i`.`ninta` AND `u`.`vinos` >= `i`.`nvinos` AND (20 + `u`.`intel`) >= `i`.`nintel` AND `u`.`mudra` >= `i`.`nmudra` AND `u`.`level` >= `i`.`nlevel` AND (($al OR (" . (int)$user['align'] . " = `i`.`nalign`)) OR (`i`.`nalign` = 0)) AND `u`.`noj` >= `i`.`nnoj` AND `u`.`topor` >= `i`.`ntopor` AND `u`.`dubina` >= `i`.`ndubina` AND `u`.`mec` >= `i`.`nmech` AND `u`.`mfire` >= `i`.`nfire` AND `u`.`mwater` >= `i`.`nwater` AND `u`.`mair` >= `i`.`nair` AND `u`.`mearth` >= `i`.`nearth` AND `u`.`mlight` >= `i`.`nlight` AND `u`.`mgray` >= `i`.`ngray` AND `u`.`mdark` >= `i`.`ndark` AND `i`.`setsale` = 0 AND `u`.`id` = {$user['id']}")) + $user[$slot1] = $item['id']; + return true; + } +} + +function dressitemkomplekt($id, $idd) +{ + global $user; + $item = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `owner` = " . $user['id'] . " AND `dressed` = 0 AND `duration` < `maxdur` AND `id` = '" . $idd . "' LIMIT 1")); + if (!isset($item['id'])) { + $item = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `owner` = " . $user['id'] . " AND `dressed` = 0 AND `duration` < `maxdur` AND `name` = '" . $id . "' ORDER BY `duration` DESC LIMIT 1")); + } + + switch ($item['type']) { + case 1: + $slot1 = 'sergi'; + break; + case 2: + $slot1 = 'kulon'; + break; + case 3: + $slot1 = 'weap'; + break; + case 4: + $slot1 = 'bron'; + break; + case 5: + $slot1 = 'r1'; + break; + case 6: + $slot1 = 'r2'; + break; + case 7: + $slot1 = 'r3'; + break; + case 8: + $slot1 = 'helm'; + break; + case 9: + $slot1 = 'perchi'; + break; + case 10: + $slot1 = 'shit'; + break; + case 11: + $slot1 = 'boots'; + break; + case 12: + $slot1 = 'm1'; + break; + case 22: + $slot1 = 'rybax'; + break; + case 23: + $slot1 = 'plaw'; + break; + case 24: + $slot1 = 'rune_1'; + break; + case 25: + $slot1 = 'rune_2'; + break; + case 26: + $slot1 = 'rune_3'; + break; + } + + if ($item['type'] == 5) { + if ($user['r1'] == 0) { + $slot1 = 'r1'; + } elseif ($user['r2'] == 0) { + $slot1 = 'r2'; + } elseif ($user['r3'] == 0) { + $slot1 = 'r3'; + } else { + $slot1 = 'r1'; + dropitem(5); + } + } elseif ($item['type'] == 24) { + if ($user['rune_1'] == 0) { + $slot1 = 'rune_1'; + } elseif ($user['rune_2'] == 0) { + $slot1 = 'rune_2'; + } elseif ($user['rune_3'] == 0) { + $slot1 = 'rune_3'; + } else { + $slot1 = 'rune_1'; + dropitem(24); + } + } elseif ($item['type'] == 12) { + if ($user['m1'] == 0) { + $slot1 = 'm1'; + } elseif ($user['m2'] == 0) { + $slot1 = 'm2'; + } elseif ($user['m3'] == 0) { + $slot1 = 'm3'; + } elseif ($user['m4'] == 0) { + $slot1 = 'm4'; + } elseif ($user['m5'] == 0) { + $slot1 = 'm5'; + } elseif ($user['m6'] == 0) { + $slot1 = 'm6'; + } elseif ($user['m7'] == 0) { + $slot1 = 'm7'; + } elseif ($user['m8'] == 0) { + $slot1 = 'm8'; + } elseif ($user['m9'] == 0) { + $slot1 = 'm9'; + } elseif ($user['m10'] == 0) { + $slot1 = 'm10'; + } else { + $slot1 = 'm1'; + dropitem(12); + } + } else { + dropitem($item['type']); + } + + if (!($item['type'] == 12 && $user['level'] < 4)) { + if (mysql_query("UPDATE `users` AS `u`, `inventory` AS `i` SET `u`.`{$slot1}` = `{$item['id']}`, `i`.`dressed` = 1, + `u`.`sila` = `u`.sila + i.gsila, + `u`.`lovk` = `u`.lovk + i.glovk, + `u`.`inta` = `u`.inta + i.ginta, + `u`.`intel` = `u`.intel + i.gintel, + `u`.`maxhp` = `u`.maxhp + i.ghp, + `u`.`noj` = `u`.noj + i.gnoj, + `u`.`topor` = `u`.topor + i.gtopor, + `u`.`dubina` = `u`.dubina + i.gdubina, + `u`.`mec` = `u`.mec + i.gmech, + `u`.`mfire` = `u`.mfire + i.gfire, + `u`.`mwater` = `u`.mwater + i.gwater, + `u`.`mair` = `u`.mair + i.gair, + `u`.`mearth` = `u`.mearth + i.gearth, + `u`.`mlight` = `u`.mlight + i.glight, + `u`.`mgray` = `u`.mgray + i.ggray, + `u`.`mdark` = `u`.mdark + i.gdark, + `u`.`fkrit` = `u`.fkrit + i.mfkrit, + `u`.`fakrit` = `u`.fakrit + i.mfakrit, + `u`.`fuvorot` = `u`.fuvorot + i.mfuvorot, + `u`.`fauvorot` = `u`.fauvorot + i.mfauvorot, + `u`.`ubron1` = `u`.ubron1 + i.bron1, + `u`.`ubron2` = `u`.ubron2 + i.bron2, + `u`.`ubron3` = `u`.ubron3 + i.bron3, + `u`.`ubron4` = `u`.ubron4 + i.bron4, + `u`.`uminu` = `u`.uminu + i.minu, + `u`.`umaxu` = `u`.umaxu + i.maxu + WHERE `i`.`needident` = 0 AND `i`.`id` = {$item['id']} AND `i`.`dressed` = 0 AND `i`.`owner` = {$user['id']} AND ((('" . $user['align'] . "' > 7) AND ('" . $user['align'] . "' < 8)) OR ('" . (int)$user['align'] . "' = `i`.`nalign`) OR (`i`.`nalign` = 0)) AND `i`.`setsale` = 0 AND `u`.`id` = {$user['id']}")) { + $user[$slot1] = $item['id']; + return true; + } + } +} + +// убить предмет +function destructitem($id) +{ + global $mysql;//$user, + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `id` = '{$id}' LIMIT 1;")); + switch ($dress['type']) { + case 1: + $slot1 = 'sergi'; + break; + case 2: + $slot1 = 'kulon'; + break; + case 3: + $slot1 = 'weap'; + break; + case 4: + $slot1 = 'bron'; + break; + case 5: + $slot1 = 'r1'; + break; + case 6: + $slot1 = 'r2'; + break; + case 7: + $slot1 = 'r3'; + break; + case 8: + $slot1 = 'helm'; + break; + case 9: + $slot1 = 'perchi'; + break; + case 10: + $slot1 = 'shit'; + break; + case 11: + $slot1 = 'boots'; + break; + case 12: + $slot1 = 'm1'; + break; + case 22: + $slot1 = 'rybax'; + break; + case 23: + $slot1 = 'plaw'; + break; + case 24: + $slot1 = 'rune_1'; + break; + case 25: + $slot1 = 'rune_2'; + break; + case 26: + $slot1 = 'rune_3'; + break; + } + if ($dress['type'] == 5) { + if ($user['r1'] == $dress['id']) { + $slot1 = 'r1'; + } elseif ($user['r2'] == $dress['id']) { + $slot1 = 'r2'; + } elseif ($user['r3'] == $dress['id']) { + $slot1 = 'r3'; + } + } elseif ($dress['type'] == 24) { + if ($user['rune_1'] == $dress['id']) { + $slot1 = 'rune_1'; + } elseif ($user['rune_2'] == $dress['id']) { + $slot1 = 'rune_2'; + } elseif ($user['rune_3'] == $dress['id']) { + $slot1 = 'rune_3'; + } + } elseif ($dress['type'] == 12) { + if ($user['m1'] == $dress['id']) { + $slot1 = 'm1'; + } elseif ($user['m2'] == $dress['id']) { + $slot1 = 'm2'; + } elseif ($user['m3'] == $dress['id']) { + $slot1 = 'm3'; + } elseif ($user['m4'] == $dress['id']) { + $slot1 = 'm4'; + } elseif ($user['m5'] == $dress['id']) { + $slot1 = 'm5'; + } elseif ($user['m6'] == $dress['id']) { + $slot1 = 'm6'; + } elseif ($user['m7'] == $dress['id']) { + $slot1 = 'm7'; + } elseif ($user['m8'] == $dress['id']) { + $slot1 = 'm8'; + } elseif ($user['m9'] == $dress['id']) { + $slot1 = 'm9'; + } elseif ($user['m10'] == $dress['id']) { + $slot1 = 'm10'; + } + } + if (($dress['owner'] == $user['id'])) { + mysql_query("DELETE FROM `inventory` WHERE `id` = '{$id}' LIMIT 1;"); + //mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','Выброшен предмент {$dress['name']}. Цена:{$dress['cost']} кр.',1,'".time()."');"); + //echo "Предмет \"{$dress['name']}\" утерян."; + if ($dress['dressed'] == 1) { + mysql_query("UPDATE `users` SET `" . $slot1 . "` = 0 WHERE `id` = '{$user['id']}';"); + } + } +} + +// использовать магию +function usemagic($id, $target) +{ + global $user, $mysql, $fbattle;; + $row = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `id` = '" . mysql_real_escape_string($id) . "' LIMIT 1")); + $bat = mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id` = '{$user['battle']}' LIMIT 1")); + $all_magic = unserialize($bat['magic']); + $charge = 0; + $magic = mysql_fetch_array(mysql_query("SELECT * FROM `magic` WHERE `id` = '" . $row['magic'] . "' LIMIT 1")); + if ($magic['needcharge'] > 0) { + $charge = $magic['needcharge']; + } + + $incmagic = mysql_fetch_array(mysql_query("SELECT * FROM `magic` WHERE `id` = '" . $row['includemagic'] . "' LIMIT 1")); + if ($incmagic['needcharge'] > 0) { + $charge = $incmagic['needcharge']; + } + + if (($all_magic[$user['id']] < 1) || ($charge == '0')) + + if ((($user['sila'] >= $row['nsila']) && + ($user['lovk'] >= $row['nlovk']) && + ($user['inta'] >= $row['ninta']) && + ($user['vinos'] >= $row['nvinos']) && + ($user['intel'] >= $row['nintel']) && + ($user['level'] >= $row['nlevel']) && + (($user['align'] > 7 && $user['align'] < 8) || ((int)$user['align'] == (int)$row['nalign']) || ($row['nalign'] == 0)) && + ($user['noj'] >= $row['nnoj']) && + ($user['topor'] >= $row['ntopor']) && + ($user['dubina'] >= $row['ndubina']) && + ($user['mec'] >= $row['nmech']) && + ($row['type'] < 13 || $row['type'] == 50) && ($user['mfire'] >= $row['nfire']) && + ($user['mwater'] >= $row['nwater']) && + ($user['mair'] >= $row['nair']) && + ($user['mearth'] >= $row['nearth']) && + ($user['mlight'] >= $row['nlight']) && + ($user['mgray'] >= $row['ngray']) && + ($user['mdark'] >= $row['ndark']) && + ($row['needident'] == 0) + ) || $row['magic'] == 48 || $row['magic'] == 50) { + + + if (!$row['magic']) { + $incmagic['name'] = $row['includemagicname']; + $incmagic['cur'] = $row['includemagicdex']; + $incmagic['max'] = $row['includemagicmax']; + if ($incmagic['cur'] <= 0) { + return false; + } + $magic['targeted'] = $incmagic['targeted']; + echo ""; + include("magic/" . $incmagic['file']); + echo ""; + } else { + echo ""; + include("magic/" . $magic['file']); + echo ""; + } + if ($bet) { + if ($row['maxdur'] <= ($row['duration'] + 1)) { + //echo ""; + + } else { + if (!$row['magic']) { + mysql_query("UPDATE `inventory` SET `includemagicdex` =`includemagicdex`-{$bet} WHERE `id` = {$row['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `inventory` SET `duration` =`duration`+{$bet} WHERE `id` = {$row['id']} LIMIT 1;"); + } + } + if (!$charge) $charge = 0; + //ограничение по кол-ву за ход + if ($user['battle'] > 0) + $bat = mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + if ($bat['magic'] == '') + $all_magic = array(); + else + $all_magic = unserialize($bat['magic']); + $all_magic[$user['id']] += $charge; + mysql_query("UPDATE `battle` SET `magic`='" . serialize($all_magic) . "' WHERE `id`='{$user['battle']}';"); + + } + } +} + +function addch($text, $room = 0) +{ + global $user; + if ($room == 0) { + $room = $user['room']; + } + if ($fp = @fopen("tmp/chat.txt", "a")) { //открытие + flock($fp, LOCK_EX); //БЛОКИРОВКА ФАЙЛА + fputs($fp, ":[" . time() . "]:[!sys!!]:[" . ($text) . "]:[" . $room . "]\r\n"); //работа с файлом + fflush($fp); //ОЧИЩЕНИЕ ФАЙЛОВОГО БУФЕРА И ЗАПИСЬ В ФАЙЛ + flock($fp, LOCK_UN); //СНЯТИЕ БЛОКИРОВКИ + fclose($fp); //закрытие + } +} + +function cavesys($text) +{ + global $user; + if ($fp = @fopen("tmp/chat.txt", "a")) { + flock($fp, LOCK_EX); + fputs($fp, ":[" . time() . "]:[!cavesys!!]:[$text]:[$user[caveleader]]\r\n"); + fflush($fp); + flock($fp, LOCK_UN); + fclose($fp); + } +} + +function getchance($p) +{ + if (mt_rand(1, 100) <= $p) { + return 1; + } else { + return 0; + } +} + +function addchp($text, $who, $room = 0) +{ + global $user; + if ($room == 0) { + $room = $user['room']; + } + $fp = fopen("tmp/chat.txt", "a"); //открытие + flock($fp, LOCK_EX); //БЛОКИРОВКА ФАЙЛА + fputs($fp, ":[" . time() . "]:[{$who}]:[" . ($text) . "]:[" . $room . "]\r\n"); //работа с файлом + fflush($fp); //ОЧИЩЕНИЕ ФАЙЛОВОГО БУФЕРА И ЗАПИСЬ В ФАЙЛ + flock($fp, LOCK_UN); //СНЯТИЕ БЛОКИРОВКИ + fclose($fp); //закрытие +} + +function AddChatSystem($text) +{ + $fp = fopen("tmp/chat.txt", "a"); + flock($fp, LOCK_EX); + fputs($fp, ":[" . time() . "]:[!sys2all!!]:[" . ($text) . "]:[1]\r\n"); + fflush($fp); + flock($fp, LOCK_UN); + fclose($fp); +} + +function err($t) +{ + echo '' . $t . ''; +} + +// ставим травму +function settravma($id, $type, $time = 86400, $kill = false) +{ + $user = mysql_fetch_array(mysql_query("SELECT `align`, `level` FROM `users` WHERE `id` = '{$id}' LIMIT 1")); + if ((($user['align'] == 2 && mt_rand(1, 100) > 20) && !$kill) || ($user['level'] == 0)) { + return false; + } else { + $travmalist = array("разбитый нос", "сотрясение первой степени", "потрепанные уши", "прикушенный язык", "перелом переносицы", "растяжение ноги", "растяжение руки", "подбитый глаз", "синяк под глазом", "кровоточащее рассечение", "отбитая <пятая точка>", "заклинившая челюсть", "выбитый зуб <мудрости>", "косоглазие"); + $travmalist2 = array("отбитые почки", "вывих <вырезано цензурой>", "сотрясение второй степени", "оторванное ухо", "вывих руки", "оторванные уши", "поврежденный позвоночник", "отбитые почки", "поврежденный копчик", "разрыв сухожилия", "перелом ребра", "перелом двух ребер", "вывих ноги", "сломанная челюсть"); + $travmalist3 = array("пробитый череп", "разрыв селезенки", "смещение позвонков", "открытый перелом руки", "открытый перелом <вырезано цензурой>", "излом носоглотки", "непонятные, но множественные травмы", "сильное внутреннее кровотечение", "раздробленная коленная чашечка", "перелом шеи", "смещение позвонков", "открытый перелом ключицы", "перелом позвоночника", "вывих позвоночника", "сотрясение третьей степени"); + $owntravma = mysql_fetch_array(mysql_query("SELECT `type`, `id`, `sila`, `lovk`, `inta`, `hp` FROM `effects` WHERE `owner` = " . $id . " AND (`type` = 11 OR `type` = 12 OR `type` = 13) ORDER BY `type` DESC LIMIT 1")); + if ($type != 0 && $type != 100) { + $owntravma['type'] = $type; + } elseif ($type != 0 && $type == 100 && $owntravma['type'] == 0) { + $type = mt_rand(1, 100); + if ($type < 10) { + $owntravma['type'] = 25; + } elseif ($type < 60) { + $owntravma['type'] = "set"; + } elseif ($type < 85) { + $owntravma['type'] = 11; + } else { + $owntravma['type'] = 12; + } + } elseif ($owntravma['type'] == 0) { + $tr = mt_rand(1, 3); + switch ($tr) { + case 1: + $owntravma['type'] = 0; + break; + case 2: + $owntravma['type'] = 11; + break; + case 3: + $owntravma['type'] = 12; + break; + } + } + + switch ($owntravma['type']) { + + case 20: + $zz = mt_rand(1, 3); + $s = 0; + $l = 0; + $i = 0; + switch ($zz) { + case 1: + $s = ($user['level'] + $st) * 3; + break; + case 2: + $l = ($user['level'] + $st) * 3; + break; + case 3: + $i = ($user['level'] + $st) * 3; + break; + } + $trv = $travmalist3[mt_rand(0, count($travmalist3) - 1)]; + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `sila`, `lovk`, `inta`, `vinos`) VALUES ('" . $id . "', 'Травма "" . $trv . ""', " . (time() + $time) . ", '13', '" . $s . "', '" . $l . "', '" . $i . "', '0')"); + mysql_query("UPDATE `users` SET `sila` = (`sila`-'" . $s . "'), `lovk` = (`lovk`-'" . $l . "'), `inta` = (`inta`-'" . $i . "') WHERE `id` = '" . $id . "' LIMIT 1"); + return $trv; + break; + + case 0: + $st = mt_rand(0, 2); + $zz = mt_rand(1, 3); + $s = 0; + $l = 0; + $i = 0; + switch ($zz) { + case 1: + $s = $user['level'] + $st; + break; + case 2: + $l = $user['level'] + $st; + break; + case 3: + $i = $user['level'] + $st; + break; + } + $trv = $travmalist[mt_rand(0, count($travmalist) - 1)]; + $time = 60 * 60 * mt_rand(1, 5); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `sila`, `lovk`, `inta`, `vinos`) VALUES ('" . $id . "', 'Травма "" . $trv . ""', " . (time() + $time) . ", '11', '" . $s . "', '" . $l . "', '" . $i . "', '0')"); + mysql_query("UPDATE `users` SET `sila` = (`sila`-'" . $s . "'), `lovk` = (`lovk`-'" . $l . "'), `inta` = (`inta`-'" . $i . "') WHERE `id` = '" . $id . "' LIMIT 1"); + return $trv; + break; + + case "set": + $st = mt_rand(0, 2); + $zz = mt_rand(1, 3); + $s = 0; + $l = 0; + $i = 0; + switch ($zz) { + case 1: + $s = $user['level'] + $st; + break; + case 2: + $l = $user['level'] + $st; + break; + case 3: + $i = $user['level'] + $st; + break; + } + $trv = $travmalist[mt_rand(0, count($travmalist) - 1)]; + $time = 60 * 60 * mt_rand(1, 5); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `sila`, `lovk`, `inta`, `vinos`) VALUES ('" . $id . "', 'Травма "" . $trv . ""', " . (time() + $time) . ", '11', '" . $s . "', '" . $l . "', '" . $i . "', '0')"); + mysql_query("UPDATE `users` SET `sila` = (`sila`-'" . $s . "'), `lovk` = (`lovk`-'" . $l . "'), `inta` = (`inta`-'" . $i . "') WHERE `id` = '" . $id . "' LIMIT 1"); + return $trv; + break; + + case 11: + $zz = mt_rand(1, 3); + $s = 0; + $l = 0; + $i = 0; + switch ($zz) { + case 1: + $s = ($user['level']) * 2; + break; + case 2: + $l = ($user['level']) * 2; + break; + case 3: + $i = ($user['level']) * 2; + break; + } + $trv = $travmalist2[mt_rand(0, count($travmalist2) - 1)]; + $time = 60 * 60 * mt_rand(5, 15); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `sila`, `lovk`, `inta`, `vinos`) VALUES ('" . $id . "', 'Травма "" . $trv . ""', " . (time() + $time) . ", '12', '" . $s . "', '" . $l . "', '" . $i . "', '0')"); + mysql_query("UPDATE `users` SET `sila` = (`sila`-'" . $s . "'), `lovk` = (`lovk`-'" . $l . "'), `inta` = (`inta`-'" . $i . "') WHERE `id` = '" . $id . "' LIMIT 1"); + return $trv; + break; + + case 12: + $zz = mt_rand(1, 3); + $s = 0; + $l = 0; + $i = 0; + switch ($zz) { + case 1: + $s = ($user['level']) * 3; + break; + case 2: + $l = ($user['level']) * 3; + break; + case 3: + $i = ($user['level']) * 3; + break; + } + $trv = $travmalist3[mt_rand(0, count($travmalist3) - 1)]; + $time = 60 * 60 * mt_rand(15, 24); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `sila`, `lovk`, `inta`, `vinos`) VALUES ('" . $id . "', 'Травма "" . $trv . ""', " . (time() + $time) . ", '13', '" . $s . "', '" . $l . "', '" . $i . "', '0')"); + mysql_query("UPDATE `users` SET `sila` = (`sila`-'" . $s . "'), `lovk` = (`lovk`-'" . $l . "'), `inta` = (`inta`-'" . $i . "') WHERE `id` = '" . $id . "' LIMIT 1"); + return $trv; + break; + + case 13: + $zz = mt_rand(1, 3); + $s = 0; + $l = 0; + $i = 0; + switch ($zz) { + case 1: + $s = ($user['level']) * 3; + break; + case 2: + $l = ($user['level']) * 3; + break; + case 3: + $i = ($user['level']) * 3; + break; + } + $trv = $travmalist3[mt_rand(0, count($travmalist3) - 1)]; + $time = 60 * 60 * mt_rand(25, 26); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `sila`, `lovk`, `inta`, `vinos`) VALUES ('" . $id . "', 'Травма "" . $trv . ""', " . (time() + $time) . ", '14', '" . $s . "', '" . $l . "', '" . $i . "', '0')"); + mysql_query("UPDATE `users` SET `sila` = (`sila`-'" . $s . "'), `lovk` = (`lovk`-'" . $l . "'), `inta` = (`inta`-'" . $i . "') WHERE `id` = '" . $id . "' LIMIT 1"); + return $trv; + break; + } + } +} + +function deltravma($id) +{ + $owntravmadb = mysql_query("SELECT `type`, `id`, `sila`, `lovk`, `inta`, `owner` FROM `effects` WHERE `id` = " . $id . " AND (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14)"); + while ($owntravma = mysql_fetch_array($owntravmadb)) { + mysql_query("DELETE FROM `effects` WHERE `id` = '" . $owntravma['id'] . "' LIMIT 1"); + mysql_query("UPDATE `users` SET `sila` = (`sila`+'" . $owntravma['sila'] . "'), `lovk` = (`lovk`+'" . $owntravma['lovk'] . "'), `inta` = (`inta`+'" . $owntravma['inta'] . "') WHERE `id` = '" . $owntravma['owner'] . "' LIMIT 1"); + } +} + +function showtrawma() +{ +// fixme пустая функция? +} + +// telegrafick +function telegraph($to, $text) +{ //todo переписать, под логику, когда телеграф ВСЕГДА приходит на почту. + global $user; + $ur = mysql_fetch_array(mysql_query("select `id` from `users` WHERE `login` = '{$to}' LIMIT 1;")); + $us = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date` >= " . (time() - 60) . " AND `id` = '{$ur['id']}' LIMIT 1;")); + if (!$ur) { + echo "Персонаж не найден."; + } elseif ($us[0]) { + addchp(' (' . date("Y.m.d H:i") . ') Сообщение телеграфом от ' . nick7($user['id']) . ': ' . $text . ' ', '{[]}' . $to . '{[]}'); + echo "Персонаж получил ваше сообщение"; + } else { + // если в офе + echo "Сообщение будет доставлено, как только персонаж будет on-line."; + mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) VALUES ('" . $ur['id'] . "','','" . '[' . date("d.m.Y H:i") . '] Сообщение по телеграфу от ' . nick7($user['id']) . ': ' . $text . ' ' . "');"); + } +} + +// telegrafick +function tele_check($to, $text) +{ //todo проверить где используется и убрать, как дублирующую telegraph(). + global $user; + $ur = mysql_fetch_array(mysql_query("select `id` from `users` WHERE `login` = '{$to}' LIMIT 1;")); + $us = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date` >= " . (time() - 60) . " AND `id` = '{$ur['id']}' LIMIT 1;")); + if (!$ur) { + echo "Персонаж не найден."; + } elseif ($us[0]) { + addchp(' (' . date("Y.m.d H:i") . ') Сообщение телеграфом от ' . nick7($user['id']) . ': ' . $text . ' ', '{[]}' . $to . '{[]}'); + } else { + // если в офе + mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) VALUES ('" . $ur['id'] . "','','" . '[' . date("d.m.Y H:i") . '] Сообщение по телеграфу от ' . nick7($user['id']) . ': ' . $text . ' ' . "');"); + } +} + +function get_meshok() +{ + global $user; + $d = mysql_fetch_array(mysql_query("SELECT SUM(`gmeshok`) FROM `inventory` WHERE `owner` = '{$user['id']}' AND `setsale` = 0 AND `gmeshok` > 0")); + return ($user['sila'] * 4 + $d[0]); +} + +function get_meshok_to($to) +{ + $d = mysql_fetch_array(mysql_query("SELECT SUM(`gmeshok`) FROM `inventory` WHERE `owner` = '{$to}' AND `setsale` = 0 AND `gmeshok` > 0")); + $s = mysql_fetch_array(mysql_query("SELECT `sila` FROM `users` WHERE `id` = '{$to}' LIMIT 1")); + return ($s['sila'] * 4 + $d[0]); +} + +function getweight($id) +{ + return mysql_fetch_array(mysql_query("SELECT SUM(`massa`) AS `weight`, COUNT(`id`) AS `cnt` FROM `inventory` WHERE `owner` = $id AND `dressed` = 0 AND `setsale` = 0")); +} + +function addlog($id, $log) +{ + $fp = fopen("backup/logs/battle" . $id . ".txt", "a"); + flock($fp, LOCK_EX); + fputs($fp, $log); + fflush($fp); + flock($fp, LOCK_UN); + fclose($fp); + unset($id, $log); +} + +function max_mf() +{ + global $user; + $r = ''; + $mfs = countmf(); + if (($mfs['fkrit'] > $mfs['fakrit']) && ($mfs['fkrit'] > $mfs['fuvorot']) && ($mfs['fkrit'] > $mfs['fauvorot'])) { + $r = 'fkrit'; + } elseif (($mfs['fakrit'] > $mfs['fkrit']) && ($mfs['fakrit'] > $mfs['fuvorot']) && ($mfs['fakrit'] > $mfs['fauvorot'])) { + $r = 'fakrit'; + } elseif (($mfs['fuvorot'] > $mfs['fkrit']) && ($mfs['fuvorot'] > $mfs['fakrit']) && ($mfs['fuvorot'] > $mfs['fauvorot'])) { + $r = 'fuvorot'; + } elseif (($mfs['fauvorot'] > $mfs['fkrit']) && ($mfs['fauvorot'] > $mfs['fakrit']) && ($mfs['fauvorot'] > $mfs['fuvorot'])) { + $r = 'fauvorot'; + } + return $r; +} + +/// fixme заводить переменную равную нулю и целую функцию, чтобы прибавить к нулю значение? исправить! +function sum_mf($u) +{ + $t = 0; + $r = mysql_fetch_array(mysql_query('SELECT SUM(`add_proc_mf`) AS `mf` FROM `inventory` WHERE `owner` = "' . $u . '" AND `dressed` = "1" AND `add_proc_mf` > 0')); + $r = $t + $r['mf']; + return $r; +} + +function sum_dmg($u) +{ + $t = 0; + $r = mysql_fetch_array(mysql_query('SELECT SUM(`add_proc_uron`) AS `mf` FROM `inventory` WHERE `owner` = "' . $u . '" AND `dressed` = "1" AND `add_proc_uron` > 0')); + $r = $t + $r['mf']; + return $r; +} + +function sum_bron($u) +{ + $t = 0; + $r = mysql_fetch_array(mysql_query('SELECT SUM(`add_proc_bron`) AS `mf` FROM `inventory` WHERE `owner` = "' . $u . '" AND `dressed` = "1" AND `add_proc_bron` > 0')); + $r = $t + $r['mf']; + return $r; +} + +function bron_ads($a1, $a2, $a3, $a4, $col) +{ + return array('a1' => round(($a1 / 100) * $col), 'a2' => round(($a2 / 100) * $col), 'a3' => round(($a3 / 100) * $col), 'a4' => round(($a4 / 100) * $col)); +} + +function dressitem2($id) +{ + global $mysql, $user; + $item = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `duration` < `maxdur` AND `id` = '{$id}' AND `dressed` = 0; ")); + switch ($item['type']) { + case 1: + $slot1 = 'sergi'; + break; + case 2: + $slot1 = 'kulon'; + break; + case 3: + $slot1 = 'weap'; + break; + case 4: + $slot1 = 'bron'; + break; + case 5: + $slot1 = 'r1'; + break; + case 6: + $slot1 = 'r2'; + break; + case 7: + $slot1 = 'r3'; + break; + case 8: + $slot1 = 'helm'; + break; + case 9: + $slot1 = 'perchi'; + break; + case 10: + $slot1 = 'shit'; + break; + case 11: + $slot1 = 'boots'; + break; + case 12: + $slot1 = 'm1'; + break; + case 22: + $slot1 = 'rybax'; + break; + case 23: + $slot1 = 'plaw'; + break; + } + if ($item['type'] == 5) { + if (!$user['r1']) { + $slot1 = 'r1'; + } elseif (!$user['r2']) { + $slot1 = 'r2'; + } elseif (!$user['r3']) { + $slot1 = 'r3'; + } else { + $slot1 = 'r1'; + dropitem(5); + } + } elseif ($item['type'] == 12) { + if (!$user['m1']) { + $slot1 = 'm1'; + } elseif (!$user['m2']) { + $slot1 = 'm2'; + } elseif (!$user['m3']) { + $slot1 = 'm3'; + } elseif (!$user['m4']) { + $slot1 = 'm4'; + } elseif (!$user['m5']) { + $slot1 = 'm5'; + } elseif (!$user['m6']) { + $slot1 = 'm6'; + } elseif (!$user['m7']) { + $slot1 = 'm7'; + } elseif (!$user['m8']) { + $slot1 = 'm8'; + } elseif (!$user['m9']) { + $slot1 = 'm9'; + } elseif (!$user['m10']) { + $slot1 = 'm10'; + } else { + $slot1 = 'm1'; + dropitem(12); + } + } else { + dropitem($item['type']); + } + //echo $slot1,$id,$user['id'],$user['align'],$item['id']; + if (!($item['type'] == 12 && $user['level'] < 4)) { + if (mysql_query("UPDATE `users` as u, `inventory` as i SET u.{$slot1} = {$id}, i.dressed = 1, + u.sila = u.sila + i.gsila, + u.lovk = u.lovk + i.glovk, + u.inta = u.inta + i.ginta, + u.intel = u.intel + i.gintel, + u.maxhp = u.maxhp + i.ghp, + u.noj = u.noj + i.gnoj, + u.topor = u.topor + i.gtopor, + u.dubina = u.dubina + i.gdubina, + u.mec = u.mec + i.gmech, + u.mfire = u.mfire + i.gfire, + u.mwater = u.mwater + i.gwater, + u.mair = u.mair + i.gair, + u.mearth = u.mearth + i.gearth, + u.mlight = u.mlight + i.glight, + u.mgray = u.mgray + i.ggray, + u.mdark = u.mdark + i.gdark + WHERE + i.needident = 0 AND + i.id = {$id} AND + i.dressed = 0 AND + i.owner = {$user['id']} AND + u.sila >= i.nsila AND + u.lovk >= i.nlovk AND + u.inta >= i.ninta AND + u.vinos >= i.nvinos AND + u.intel >= i.nintel AND + u.mudra >= i.nmudra AND + u.level >= i.nlevel AND + (((" . $user['align'] . " > 7) AND (" . $user['align'] . " < 8)) OR (" . (int)$user['align'] . " = i.nalign) or (i.nalign = 0)) AND + u.id = {$user['id']};")) { + $user[$slot1] = $item['id']; + return true; + } + } +} + +function star_sign($month, $day) +{ + $signs = array("10", "11", "12", "1", "2", "3", "4", "5", "6", "7", "8", "9"); + $signsstart = array(1 => 21, 2 => 20, 3 => 20, 4 => 20, 5 => 20, 6 => 20, 7 => 21, 8 => 22, 9 => 23, 10 => 23, 11 => 23, 12 => 23); + return $day < $signsstart[$month + 1] ? $signs[$month - 1] : $signs[$month % 12]; +} + +function SolveExp($at_id, $def_id, $damage) +{ + $mods = array('perv' => 1.7, 'kulon' => 1.5, 'haos' => 0.5, 'alignprot' => 1.5, 'kulakpenalty' => 0.5, 'bloodb' => 1.2, 'btl_1' => 1, 'btl_2' => 0.5, 'btl_3' => 0.05, 'krov_oop' => 0.2, 'krov_bitv' => 30, 'krov_op' => 1.15, 'krov_rez' => 70, 'krovr_op' => 1.25, 'krov_sech' => 150, 'krovs_op' => 1.4, 'velikaya' => 40, 'vel_op' => 1.1, 'velichayshaya' => 90, 'velich_op' => 1.15, 'epohalnaya' => 200, 'epoh_op' => 1.35); + $baseexp = array("0" => "2", "1" => "5", "2" => "10", "3" => "15", "4" => "30", "5" => "60", "6" => "90", "7" => "115", "8" => "300", "9" => "400", "10" => "500", "11" => "600", "12" => "700", "13" => "800", "14" => "900", "15" => "1000", "16" => "1100", "17" => "1200", "18" => "1300", "19" => "1400", "20" => "1500", "21" => "1600"); + + if ($at_id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = "' . $at_id . '" LIMIT 1')); + $at_id = $bots['prototype']; + $bot_active = true; + } + + $at = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '" . $at_id . "' LIMIT 1")); + $at_cost = mysql_fetch_array(mysql_query("SELECT 1+IFNULL((SELECT SUM(`cost`) FROM `inventory` WHERE `owner` = `users`.`id` AND `dressed` = 1), 0), `align` FROM `users` WHERE `id` = '" . $at_id . "' LIMIT 1")); + $kulak1 = mysql_fetch_array(mysql_query("SELECT SUM(`cost`) FROM `inventory` WHERE `owner` = '" . $at_id . "' AND `dressed` = 1 LIMIT 1")); + + if ($at_id > _BOTSEPARATOR_) { + $bat_raw = mysql_fetch_array(mysql_query("SELECT `battle` FROM `bots` WHERE `id` = '$at_id' LIMIT 1")); + } else { + $bat_raw = mysql_fetch_array(mysql_query("SELECT `battle` FROM `users` WHERE `id` = '$at_id' LIMIT 1")); + } + $bat = $bat_raw['battle']; + $bt = mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id` = '$bat' LIMIT 1")); + + if ($def_id > _BOTSEPARATOR_) { + $bots = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `id` = "' . $def_id . '" LIMIT 1')); + $def_id = $bots['prototype']; + $bot_def = true; + } + + $def = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '" . $def_id . "' LIMIT 1")); + $def_cost = mysql_fetch_array(mysql_query("SELECT 1+IFNULL((SELECT SUM(`cost`) FROM `inventory` WHERE `owner` = `users`.`id` AND `dressed` = 1), 0), `align` FROM `users` WHERE `id` = '" . $def_id . "' LIMIT 1")); + $kulak2 = mysql_fetch_array(mysql_query("SELECT SUM(`cost`) FROM `inventory` WHERE `owner` = '" . $def_id . "' AND `dressed` = 1 LIMIT 1")); + + $expmf = 5; + + if ($at['rybax'] == 0 && $at['sergi'] == 0 && $at['kulon'] == 0 && $at['bron'] == 0 && $at['r1'] == 0 && $at['r2'] == 0 && $at['r3'] == 0 && $at['helm'] == 0 && $at['perchi'] == 0 && $at['boots'] == 0 && $at['m1'] == 0 && $at['m2'] == 0 && $at['m3'] == 0 && $at['m4'] == 0 && $at['m5'] == 0 && $at['m6'] == 0 && $at['m7'] == 0 && $at['m8'] == 0 && $at['m9'] == 0 && $at['m10'] == 0 && $at['weap'] != 0 && $kulak1[0] < 17) { + $expmf = $expmf * $mods['perv']; + } + + if ($at['rybax'] == 0 && $at['sergi'] == 0 && $at['bron'] == 0 && $at['helm'] == 0 && $at['perchi'] == 0 && $at['boots'] == 0 && $at['m1'] == 0 && $at['m2'] == 0 && $at['m3'] == 0 && $at['m4'] == 0 && $at['m5'] == 0 && $at['m6'] == 0 && $at['m7'] == 0 && $at['m8'] == 0 && $at['m9'] == 0 && $at['m10'] == 0 && $at['weap'] != 0 && $at['kulon'] != 0 && $at['r1'] != 0 && $at['r2'] != 0 && $at['r3'] != 0) { + $expmf = $expmf * $mods['kulon']; + } + + if ($at['align'] == 4) { + $expmf = $expmf * $mods['haos']; + } + + if (((int)$at['align'] == 6 && $def['align'] == 3) || ((int)$def['align'] == 6 && $at['align'] == 3)) { + $expmf = $expmf * $mods['alignprot']; + } + + if ($at['level'] > 1 && $kulak1[0] == 0 && $kulak2[0] == 0) { + $expmf = $expmf * $mods['kulakpenalty']; + } + + if ($bt['blood']) { + $expmf = $expmf * $mods['bloodb']; + } + + $filebtl = '/tmp/' . $at_id . '.btl'; + if ($bt['type'] == 1 && file_exists($filebtl)) { + $btfl = fopen($filebtl, 'r'); + $contents = fread($btfl, filesize($filebtl)); + fclose($btfl); + $cnt = substr_count($contents, $def_id); + $exmod = 1; + + if ($cnt <= 1) { + $exmod = $mods['btl_1']; + } elseif ($cnt == 2) { + $exmod = $mods['btl_2']; + } elseif ($cnt > 2) { + $exmod = $mods['btl_3']; + } + $expmf = $expmf * $exmod; + } + + $standart = array("0" => 1, "1" => 1, "2" => 15, "3" => 111, "4" => 265, "5" => 526, "6" => 882, "7" => 919, "8" => 919, "9" => 919, "10" => 919, "11" => 919, "12" => 919, "13" => 919, "14" => 919, "15" => 919, "16" => 919, "17" => 919, "18" => 919, "19" => 919, "20" => 919, "21" => 919, "22" => 919, "23" => 919, "24" => 919, "25" => 919); + + $mfit = ($at_cost[0] / ($standart[$at['level']] / 3)); + if ($mfit < 0.8) { + $mfit = 0.8; + } + if ($mfit > 1.5) { + $mfit = 1.5; + } + + $pls = count(explode(";", $bt['t1'])) + count(explode(";", $bt['t2'])); + if ($pls > 2) { + $mfbot = $bot_active == true ? 0.3 : 1; + $mfbot2 = $bot_def == true ? 0.7 : 1; + } else { + $mfbot = 1; + $mfbot2 = 1; + } + if ($expmf == 0) { + $expmf = 1; + } + $result = ($baseexp[$def['level']]) * ($def_cost[0] / (($at_cost[0] + $def_cost[0]) / 2)) * ($damage / $def['maxhp']) * $expmf * $mfit * $mfbot * $mfbot2; + $result = $result / 3; + $result = round($result, 0); + + $debug_result = "\r\nEXP baseexp[def['level']])=" . $baseexp[$def['level']] + . ") * (def_cost[0]=" . $def_cost[0] . "/((at_cost[0]" . $at_cost[0] . "+ def_cost[0]=" . $def_cost[0] + . ")/2))*(damage=" . $damage . "/def['maxhp']=" . $def['maxhp'] . ")* expmf=" . $expmf + . " * mfit=" . $mfit . " * mfbot=" . $mfbot . "* mfbot2=" . $mfbot2 . " Result => " . $result . ""; + #echo $debug_result; + return $result; +} + +function vCode($LocID, $Stamp) +{ + return md5(sha1($LocID . SECURECODE . $Stamp)); +} + +?> \ No newline at end of file diff --git a/game_main.php b/game_main.php new file mode 100644 index 0000000..3430a75 --- /dev/null +++ b/game_main.php @@ -0,0 +1,558 @@ +Произошла ошибка

    Произошла ошибка:

    '.$e.'

    Назад


    (©) Бойцовский Клуб Возрождение

    '); +} +session_start(); +header('Content-type: text/html; charset=utf-8'); + +include('config.php'); +include('functions.php'); + +if(!isset($user['id'])){ + er('Возникла проблема с определением id персонажа
    Авторизируйтесь с главной страницы.'); +} + +/* +if($user['online'] < time()-60) { + $filter->setOnline($user['online'], $user['id'], 0); + mysql_query("UPDATE `users` SET `online` = '".time()."', `timeMain` = '".time()."' WHERE `id` = '".$user['id']."' LIMIT 1"); +} +*/ + +$code = mt_rand(1, 99999999); + +if($user['align'] == 2.99) { + $admin = 1; +} else { + $admin = 0; +} + +$user['login'] = iconv("utf-8", "utf-8", $user['login']); + +?> + + + + + +Бойцовский Клуб Возрождение + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    +
    + +
    +
    + + +
    +
    + +
    +
    + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
     
    +
    + +
    +
    + + + + + +
    +
    +
    +
    + + + + + + +
    +
    +
    + +
    + + + +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + 3){ ?> + + 0){ ?> + + + + =1 && $user['align']<2 ){ ?> + + =3 && $user['align']<4){ ?> + + time() || $u->stats['silver']>0){ ?> + + 0){ ?> + + =0){ ?> + + -1){ ?> + + 1 && $user['align']<2)){ ?> + + 0){ ?> + + + + + +
    width="100" align="center" id="globalMode">
    РєСЂ.
      + + + + + + + + +   + +
    +
    +
    + + + + \ No newline at end of file diff --git a/give.php b/give.php new file mode 100644 index 0000000..04bfcdf --- /dev/null +++ b/give.php @@ -0,0 +1,397 @@ +Внимание!
    Персонаж "'.$user['login'].'" отказался от вашего предложения о продаже предметов.', '{[]}'.$roww['login'].'{[]}'); + header('Location: main.php'); +} + +?> + + + + + + + + + + +
    +

    Передача предметов/кредитов другому игроку

    + +
    +'.nick3($komu['id']).'';// '; +?>
    0 AND `id` = '".$roww['id']."' AND `artefact` = 0 LIMIT 1;")); + if (!$roww['id'] OR !$rwx['id']) { +?> + +
    + + +
    + + + + + + + + + + + +
    + + + +
    У вас на счету: кр.
    + + Передать кредиты, минимально 0.01кр.
    + Укажите передаваемую сумму:   + +
    + + + + + + + + +
    + + + + +
    ">Обмундирование">Заклятия">Прочее
    +
    Рюкзак (масса: /)
    + + 12 AND `setsale` = 0 AND `present` = '' AND `artefact` = 0 ORDER by `update` DESC; "); + } + + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if (@$i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + $mn = 1; + if($data['koll']) { + $mn = 1*$data['koll']; + } + echo " + "; + showitem ($row); + echo ""; + } + if (mysql_num_rows($data) == 0) { + echo ""; + } +?> + + + +
    "; + ?> +
    + передать за '.$mn.' кр.'; + echo "
    подарить'; + echo "
    продать'; + ?> + +
    Пусто
    +
    + + +
    + + + diff --git a/gotzamok.php b/gotzamok.php new file mode 100644 index 0000000..9e6f2d7 --- /dev/null +++ b/gotzamok.php @@ -0,0 +1,246 @@ += 37 AND $user['room'] <= 41 )) { header("Location: main.php"); die(); } + + + $zam = mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'gotzamok' LIMIT 1;")); + + if ($zam['value'] == $user['klan']) { + // если мой клан + if($_GET['goto']=='arsenal') { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '38',`online`.`room` = '38' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: gotzamok.php'); + $user['room']=38; + } + if($_GET['goto']=='home') { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '37',`online`.`room` = '37' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: gotzamok.php'); + $user['room']=37; + } + if($_GET['goto']=='dvor') { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '39',`online`.`room` = '39' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: gotzamok.php'); + $user['room']=39; + } + if($_GET['goto']=='master') { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '40',`online`.`room` = '40' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: gotzamok.php'); + $user['room']=40; + } + if($_GET['goto']=='rest') { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '41',`online`.`room` = '41' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: gotzamok.php'); + $user['room']=41; + } + } +?> + + + + + + + + + + + + + + + +

    Приветствую тебя в замке ".$zam['value']; + ?>, воин!

    +Приветствую в родной обители, собрат ".$user['login']."!"; + ?> + +
    + "; } ?>
    + "; } ?>
    + "; } ?>
    + "; } ?>
    + "; } ?>
    +
    + Арсенал"; + ?> + + +
    Хранилище вещей клана. К сожалению перкочует к новому владельцу вместе с замком...
    "; + // возврат шмотки + if($_GET['back']) { + $it = mysql_fetch_array(mysql_query("SELECT * FROM `gotzam_arsenal` WHERE `id` = ".$_GET['back'].";")); + if($it['owner'] ==$user['id'] OR $user['id']==$glava[0]) { + err("Вы забрали вещь из арсенала."); + mysql_query("update `inventory` SET `owner` = ".$user['id']." WHERE `id` = ".$it['id_it'].";"); + mysql_query("delete from `gotzam_arsenal` WHERE `id` = ".$_GET['back'].";"); + } + } + // положить шмотку + if($_GET['add']) { + $it = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `dressed`=0 AND `setsale` = 0 AND `owner` =".$user['id']." AND `id` = ".$_GET['add'].";")); + if($it['owner'] ==$user['id']) { + err("Вы оставили вещь в арсенале."); + mysql_query("update `inventory` SET `owner` = '' WHERE `id` = ".$it['id'].";"); + mysql_query("insert `gotzam_arsenal` (`id_it`,`owner`) values (".$it['id'].",".$user['id'].");"); + } + } + if(!$_GET['do']) { + $data = mysql_query("SELECT * FROM `gotzam_arsenal`;"); + + echo ''; + while($it = mysql_fetch_array($data)) { + $row = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$it['id_it']}' LIMIT 1;")); + $row['count'] = 1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } + echo "
    +
    + Положил: ".nick3($it['owner'])."
    "; + ?> + + забрать
    Вы не можете забрать эту вещь из арсенала'; + } + ?> +
    "; } + else { + echo ''; + $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$_SESSION['uid']}' AND `dressed` = 0 AND `setsale`=0 ORDER by `update` DESC; "); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } + echo "
    "; + ?> +
    сдать в арсенал +
    "; + } + } + + if($user['room'] == 40) { + + $at = mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'gotzam_att' LIMIT 1;")); + $def = mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'gotzam_def' LIMIT 1;")); + $level = mysql_fetch_array(mysql_query("SELECT `level` FROM `users` WHERE `id` = (SELECT `glava` FROM `clans` WHERE `short` = '".$user['klan']."') LIMIT 1;")); + if($_GET['up']=='at') { + if($at[1] >= $level[0]) { + err("Укрепление достигло максимального уровня"); + } + elseif((pow(52,$at[1]+1)) <= $user['money']) { + mysql_query("update users set money = money - ".(pow(52,$at[1]+1))." where id = ".$user['id'].";"); + mysql_query("update `variables` set value=value+1 WHERE `var` = 'gotzam_att' LIMIT 1;"); + + $at = mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'gotzam_att' LIMIT 1;")); + $def = mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'gotzam_def' LIMIT 1;")); + $level = mysql_fetch_array(mysql_query("SELECT `level` FROM `users` WHERE `id` = (SELECT `glava` FROM `clans` WHERE `short` = '".$user['klan']."') LIMIT 1;")); + } + else { + err("Не хватает денег"); + } + } + if($_GET['up']=='def') { + if($def[1] >= $level[0]) { + err("Укрепление достигло максимального уровня"); + } + elseif((pow(32,$at[1]+1)) <= $user['money']) { + mysql_query("update users set money = money - ".(pow(32,$at[1]+1))." where id = ".$user['id'].";"); + mysql_query("update `variables` set value=value+1 WHERE `var` = 'gotzam_def' LIMIT 1;"); + + $at = mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'gotzam_att' LIMIT 1;")); + $def = mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE `var` = 'gotzam_def' LIMIT 1;")); + $level = mysql_fetch_array(mysql_query("SELECT `level` FROM `users` WHERE `id` = (SELECT `glava` FROM `clans` WHERE `short` = '".$user['klan']."') LIMIT 1;")); + } + else { + err("Не хватает денег"); + } + } + + echo "

    Мастерские

    +
    Здесь вы можете улучшить оборонные способности вашего замка!
    + Максимальный уровень ваших укреплений: ".$level[0]."
    + + + + +
    Атакующие укрепления:
    Развито: ".$at[1]." строить за ".(pow(52,$at[1]+1))." кр.
    + + + + +
    Защитные укрепления:
    Развито: ".$def[1]." строить за ".(pow(32,$def[1]+1))." кр.
    + +
    "; + } + if($user['room'] == 41) { + echo "

    Комнаты отдыха

    +
    В этих палатах ваше здоровье восстанавливается быстрее...
    "; + } + ?> + + \ No newline at end of file diff --git a/group_arena.php b/group_arena.php new file mode 100644 index 0000000..a217cbb --- /dev/null +++ b/group_arena.php @@ -0,0 +1,296 @@ + '; + if($user['klan'] != '') { + $clan = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `clans` WHERE `id` = "'.$user['klan'].'" LIMIT 1')); + $clan_img = ' '; + } else { + $clan_img = ''; + } + $r = $align_img.$clan_img.' '.$user['login'].' ['.$user['level'].']'; + } else { + $r = 'Место свободно'; + } + return $r; +} + + +function form_start($uid) { + $r = ''; $go = ''; + if($uid > 0) { + $user = mysql_fetch_array(mysql_query('SELECT `id`, `login`, `align`, `level`, `klan`, `zayrist` FROM `users` WHERE `id` = "'.$uid.'" LIMIT 1')); + if(isset($user['id'])) { + if($user['zayrist']) { + $zv = mysql_fetch_array(mysql_query('SELECT `id`, `name`, `uid1`, `uid2`, `uid3` FROM `group_ristal` WHERE `id` = "'.$user['zayrist'].'" LIMIT 1')); + if(isset($zv['id'])) { + $r .= '
    '; + if($zv['uid1'] == $user['id']) { + $go = ' / '; + } + for($i = 1; $i <= 3; $i++) { + $nick .= login($zv['uid'.$i]).', '; + } + $nc = rtrim($nick, ', '); + $r .= '
    Ваша группа («'.$zv['name'].'»): '.$nc.' '.$go.'
    '; + $r .= '
    '; + } else { + $user['zayrist'] = 0; + mysql_query('UPDATE `users` SET `zayrist` = "'.$user['zayrist'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + } + } + } + } + return $r; +} + +function forms($level) { + $r = '

    '; + $sp = mysql_query('SELECT `id`, `name`, `pass`, `comment`, `uid1`, `uid2`, `uid3` FROM `group_ristal` WHERE `level` = "'.(int)$level.'" ORDER BY `id` DESC'); + if(mysql_num_rows($sp) > 0) { + while($pl = mysql_fetch_array($sp)) { + $i = 1; + while($i <= 3) { + $nick .= login($pl['uid'.$i]).', '; + $i++; + } + $nc = rtrim($nick, ', '); + $r .= '
    Группа («'.$pl['name'].'»): '.$nc.'
    '; + } + } else { + $r .= 'Заявок вашего уровня нет'; + } + unset($sp, $pl, $nick, $nc, $i); + return $r; +} + +if(isset($_POST['buyFirst'])) { + if(isset($user['id'])) { + if($user['money'] >= 5) { + $Firts = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `type` = 200 AND `name` = "Фамильный Герб" AND `owner` = "'.$user['id'].'" LIMIT 1')); + if(isset($Firts['id'])) { + $error = 'У Вас уже есть Фамильный Герб'; + } else { + $Second = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `type` = 200 AND `name` = "Фамильный Герб (х2)" AND `owner` = "'.$user['id'].'" LIMIT 1')); + if(isset($Second['id'])) { + $error = 'У Вас уже есть Фамильный Герб'; + } else { + $user['money'] -= 5; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + takeshopitem(1930, 'shop', '', '', 0, 0, $user['id'], 1, '', 0); + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', '\"".$user['login']."\" купил Фамильный Герб за 5кр.', '1', '".time()."')"); + $error = 'Вы купили Фамильный Герб'; + } + } + } else { + $error = 'Недостаточно средств'; + } + } else { + $error = 'Вы не авторизированы'; + } +} + +if(isset($_POST['buySecond'])) { + if(isset($user['id'])) { + if($user['money'] >= 15) { + $Firts = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `type` = 200 AND `name` = "Фамильный Герб" AND `owner` = "'.$user['id'].'" LIMIT 1')); + if(isset($Firts['id'])) { + $error = 'У Вас уже есть Фамильный Герб'; + } else { + $Second = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `type` = 200 AND `name` = "Фамильный Герб (х2)" AND `owner` = "'.$user['id'].'" LIMIT 1')); + if(isset($Second['id'])) { + $error = 'У Вас уже есть Фамильный Герб'; + } else { + $user['money'] -= 15; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + takeshopitem(1931, 'shop', '', '', 0, 0, $user['id'], 1, '', 0); + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', '\"".$user['login']."\" купил Фамильный Герб (x2) за 15кр.', '1', '".time()."')"); + $error = 'Вы купили Фамильный Герб (x2)'; + } + } + } else { + $error = 'Недостаточно средств'; + } + } else { + $error = 'Вы не авторизированы'; + } +} + +if($_POST['addZayavka']) { + if(isset($user['id'])) { + $name = mysql_real_escape_string($_POST['nameZv']); + $pass = mysql_real_escape_string($_POST['passZv']); + $comment = mysql_real_escape_string($_POST['commentZv']); + $zv = mysql_fetch_array(mysql_query('SELECT `id` FROM `group_ristal` WHERE `id` = "'.$user['zayrist'].'" LIMIT 1')); + + if($user['zayrist'] > 0 && isset($zv['id'])) { + $error = 'Вы уже состоите в заявке'; + } elseif(strlen($name) > 15) { + $error = 'Название может состоять максимум из 15 символов'; + } elseif(strlen($name) < 3) { + $error = 'Название может состоять минимум из 3 символов'; + } elseif(strlen($pass) > 6) { + $error = 'Пароль может состоять максимум из 6 символов'; + } elseif(strlen($comment) > 20) { + $error = 'Комментарий может состоять максимум из 20 символов'; + } else { + mysql_query('INSERT INTO `group_ristal` (`name`, `pass`, `comment`, `time`, `uid1`) VALUES ("'.$name.'", "'.$pass.'", "'.$comment.'", "'.time().'", "'.$user['id'].'")'); + $user['zayrist'] = mysql_insert_id(); + mysql_query('UPDATE `users` SET `zayrist` = "'.$user['zayrist'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $error = 'Заявка создана'; + } + } else { + $error = 'Вы не авторизированы'; + } +} + +if(isset($_POST['leaveZv'])) { + if($user['zayrist'] > 0) { + $zv = mysql_fetch_array(mysql_query('SELECT `id`, `uid1`, `uid2`, `uid3` FROM `group_ristal` WHERE `id` = "'.$user['zayrist'].'" LIMIT 1')); + if(isset($zv['id'])) { + $i = 1; $j = 3; $k = 0; $h = 0; + while($i <= 3) { + if($k == 0 && $zv['uid'.$i] != $user['id']) { + $k = $zv['uid'.$i]; + $h = $i; + } + $i++; + } + $i = 1; + while($i <= 3) { + if($zv['uid'.$i] == $user['id']) { + if($i > 1) { + $zv['uid'.$i] = 0; + } else { + $zv['uid'.$i] = $k; + $zv['uid'.$h] = 0; + } + } + if($zv['uid'.$i] == 0) { + $j--; + } + $i++; + } + if($j < 1) { + mysql_query('DELETE FROM `group_ristal` WHERE `id` = "'.$zv['id'].'" LIMIT 1'); + $error = 'Заявка была удалена
    '; + $user['zayrist'] = 0; + mysql_query('UPDATE `users` SET `zayrist` = "'.$user['zayrist'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + } else { + mysql_query('UPDATE `group_ristal` SET `uid1` = "'.$zv['uid1'].'", `uid2` = "'.$zv['uid2'].'", `uid3` = "'.$zv['uid3'].'" WHERE `id` = "'.$zv['id'].'" lIMIT 1'); + $user['zayrist'] = 0; + mysql_query('UPDATE `users` SET `zayrist` = "'.$user['zayrist'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $error = 'Вы покинули заявку
    '; + } + unset($zv); + } + } +} + if($_GET['exit'] == 1) { + + mysql_query('UPDATE `users`,`online` SET `users`.`room` = 2702, `online`.`room` = 2702 WHERE `users`.`id` = "'.$user['id'].'" AND `online`.`id` = "'.$user['id'].'"'); + header('Location: city.php'); +} + +?> + + + 404 + + + + + + + + + + + + + + + + + + + + + +
      +
    +

    Турниры: Групповые сражения.

    + Внимание! В боях этой локации разрешается использовать свитки "Восстановления энергии" номиналом не более 180НР!!!

    + Внимание! При старте группового турнира руны автоматически будут сняты с персонажа.
    Проверьте, что ваши вещи после снятия рун не упадут, и не забудьте надеть руны после выхода из локации!
    +
    +

    Принять участие в турнире:

    Создать группу
    + +

     

    Победители 10-ти предыдущих турниров: -е уровни

    +
    +


    + + + + + + + + +
    + +
    + +
    + + +
    +
     
    +
    + + growl('Внимание', 'Red', '$error');"; } ?> + + + + \ No newline at end of file diff --git a/hell.php b/hell.php new file mode 100644 index 0000000..7c76589 --- /dev/null +++ b/hell.php @@ -0,0 +1,137 @@ + 0) { header('Location: battle.php'); die(); } + + class hellround { + + // проверяет участие в турнире, возвращает айди похода + function is_in_trip($id) { + $f = mysql_fetch_array(mysql_query("SELECT `id` FROM `hellround_pohod` WHERE `end` = 0 AND `owner`= ".$id." LIMIT 1;")); + return $f[0]; + } + + // возвращает параметры похода + function get_par($id) { + return mysql_fetch_array(mysql_query("SELECT * FROM `hellround_pohod` WHERE `id` = ".$id." LIMIT 1;")); + } + + // увеличить волну + function inc_volna ($id) { + mysql_query("UPDATE `hellround_pohod` SET `volna`=`volna`+1 WHERE `id` = ".$id." LIMIT 1;"); + } + } + $hr = new hellround; + + $mytrip = $hr->is_in_trip($user['id']); + $tr = $hr->get_par($mytrip); + + if ($mytrip > 0) { + ?> + + + + + + + + + + Приближается ".($tr['volna']+1)." волна нашествия..."; + // диалоговый бот + ?> + + +
    + + + 0) { + $f = mysql_fetch_array(mysql_query("SELECT `date_out` FROM `hellround_pohod` WHERE `owner`= ".$user['id']." ORDER by `id` DESC LIMIT 1;")); + if((time()-strtotime($f['date_out'])) < 3600*24) { + $err = 'Сегодня вы уже ходили в поход, интервал между походами 1 сутки.'; + } else { + // начиаем поход!!! за родину!!!! на черта!!! в жопу чертей!!! + mysql_query("INSERT `hellround_pohod` (`owner`) VALUES ('".$user['id']."');"); + header("Location:hell.php"); + } + } + +?> + + + + + + + + + + + +
    + + + +
    + +
    +

    Врата Ада

    +

    + Отродья хаоса лезут отовсюду... Наплывы слуг хаоса не прекращаються не на минуту! Окажи посильную помощь в войне с Хаосом! Будь доблестен сердцем и душей!
    +
    +
    +
    + + Общий ТОП + +
    + "; + } + ?> +
    + +
    + Личный ТОП + ".$select[0].".
    "; + $select = mysql_fetch_array(mysql_query("SELECT * FROM `hellround_pohod` WHERE `owner` = ".$user['id']." ORDER by `volna` DESC LIMIT 1;")); + echo "Максимально продержался ".$select['volna']." волн.
    "; + $select = mysql_fetch_array(mysql_query("SELECT `date_out`,`date_in` FROM `hellround_pohod` WHERE `owner` = ".$user['id']." ORDER by `date_out`-`date_in` DESC LIMIT 1;")); + echo "Максимально продержался времени: ".date("H:i:s",-10800+strtotime($select[0])-strtotime($select[1])).".
    "; + ?> + +
    +
    +
    + + + \ No newline at end of file diff --git a/help.php b/help.php new file mode 100644 index 0000000..2e8ecb9 --- /dev/null +++ b/help.php @@ -0,0 +1,918 @@ +top.location.href = '/';"); + include "config.php"; + + include "functions.php"; + + if (@$_POST['cmd']=='inqs.question') { + + $eff_slinse = sql_row("SELECT `time` FROM `effects` WHERE `owner` = '{$user_target['id']}' and `type` = '2' LIMIT 1;"); + + if (@$_SESSION['pal_time'] >= time()) { + $_SESSION['pal_hint'] = 'Вопросы можно задавать не чаще, чем раз в 5 минут'; + } elseif (empty($_POST['text'])) { + $_SESSION['pal_hint'] = 'Ваш вопрос не задан...'; + } elseif (!empty($eff_slinse)) { + $_SESSION['pal_hint'] = 'На вас наложено молчание'; + } elseif ($user['prison']) { + $_SESSION['pal_hint'] = 'В тюрьме нельзя'; + } else { + + $_SESSION['pal_hint'] = 'Ваш вопрос принят '; + $_SESSION['pal_time'] = time()+5*60; + + sql_query("INSERT INTO `paladin_vopros`(`owner` ,`login`, `text`, `status`, `date`) VALUES ( + '".$_SESSION['uid']."', + '".$user['login']."', + '".$_POST['text']."', + 1, + '".time()."');"); + } +} + + if (@$_POST['choosen_question']) { + + + $pal_question = sql_row("SELECT * FROM paladin_vopros WHERE `id` = '".mysql_real_escape_string($_POST['choosen_question'])."' LIMIT 1;"); + + if ($pal_question['id']) { + + if ($_POST['cp_comment']) { + $text_solution = $_POST['cp_comment']; + $text = 'Ответ от паладина '.$user['login'].'.
    '; + $text .= '
    Дата: '.date('Y.m.d H:i:s', $pal_question['date']).'
    '; + $text .= 'Ваш вопрос: '.$pal_question['text'].'
    '; + $text .= ''.'
    '; + $text .= ''.'
    '; + $text .= 'Ответ паладина: '.$text_solution; + + send_user_letter($pal_question['owner'], '[Администрация]', 'Ваш вопрос рассмотрен', $text); + sql_query("UPDATE paladin_vopros SET status = 2, otvet = '".$text_solution."', otvet_id = '".$user['id']."' WHERE id = '".$pal_question['id']."'"); + $_SESSION['pal_hint'] = 'вопрос от '.$pal_question['login'].' рассмотрен'; + + } else { + $_SESSION['pal_hint'] = 'Ответ не указан'; + } + + } else { + $_SESSION['pal_hint'] = 'не найдено жалобы'; + } + + + + $_GET['cmd'] = 'pal.otvet'; + $_GET['page'] = @$_POST['page']; + $_GET['selstatus'] = @$_POST['selstatus']; + } + +?> + + + Помощь + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    + + + +
    +
    + +
    + + + +

    Задай вопрос паладинам

    + + Уважаемые игроки!
    Для более быстрого и эффективного решения вашей проблемы просьба обращаться к тем паладинам, ники которых находятся
    справа в списке «Паладины онлайн». Цените свое и чужое время! + + + + + + + + +
    +
    + + + + + +
    + +
    + + +

    + Внимание! Паладины вправе наказывать за злоупотребление этой функцией. +
    + + + + + + + + + + + + + + + + + +
    Ваши вопросы:
    + [ ] Вопрос: Ответ: +
    + +
    + Паладины онлайн: +

    + = ".(time()-60)." AND invis = 0 AND (align>=1 and align<=2) AND `incity` = '".INCITY."' order by align desc, login asc ;"); + while ($row = mysql_fetch_array($data)) { + if ($row['id'] > 0) {?> + +
    + + + +
    + + + + +

    2. Полезные ссылки

    + + + Большинство вопросов касающихся игры, как правило, уже задавались другими персонажами либо описаны в библиотеке. + + + + + +

    3. Горячие клавиши

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Общие:
    ALT + 1Инвентарь "Вещи"
    ALT + 2Инвентарь "Руны"
    ALT + 3Инвентарь "Заклятия"
    ALT + 4Инвентарь "Еда"
    ALT + 5Инвентарь "Прочее"
    ALT + ~Локация
    ALT + QВыход из игры
    + Главная + Левый клик мышкой — Главная страница
    + Инвентарь + Правый клик мышкой — Инвентарь
    Во время боя:
    ESCОтменить выставленные параметры ударов и блоков
    1,2,3,4Первое нажатие выбирает зону удара
    1,2,3,4,5,6Второе нажатие выбирает зону блока
    1,2Третье нажатие выбирает позицию
    EnterЧетвертое нажатие эквивалентно кнопке "Вперед!"
    + + + + + + Ваше местонахождение — "" +

    +
    + + + + + Куда бы вы хотели попасть?
    + "Дворец", + "101"=> "Центральный Зал", + "102"=> "Казарма Призывников", + "103"=> "Казарма Новобранцев", + "104"=> "Казарма Рекрутов", + "105"=> "Зал Победителей", + "106"=> "Зал Славетных", + "107"=> "Зал Отважных", + "108"=> "Зал Героев", + "109"=> "Зал Тьмы", + "110"=> "Зал Света", + "111"=> "Зал Хаоса", + "113"=> "Башня Паладинов", + + "120"=> "Центральная площадь", + "121" => "Глас народа", + "122"=> "Собор", + "123"=> "Магазин", + "124"=> "Почта", + "125"=> "Кузня", + "126"=> "Таверна "Опрокинутый кувшин"", + "127"=> "Стелла войны", + "128"=> "Новогодняя Елочка", + + "130"=> "Западная улица", + "131"=> "Больница", + "132"=> "Ратуша", + "133"=> "Лотерея", + "134"=> "Башня Сражений", + "135"=> "Магазин Ордена Забытой Чести", + "136"=> "Вокзал", + + "150" => "Малые Торговые ряды", + "152" => "Постоялый двор", + "153"=> "Биржа", + "154"=> "Магазин эксклюзивных вещей", + "155"=> "Банк", + + "410" => "Спуск в Канализацию", + "411" => "Канализация", + + "420" => "Спуск в Пещеру проклятий", + "421" => "Пещера проклятий", + + "440" => "Спуск в Катакомбы", + "441" => "Катакомбы", + + + "666" => "Тюрьма (Камера смертников)", + + "408" => "Магазин Луки" +); + + +// sort($locations_normal); +// sort($locations_new); + +//$result_keyed = array_reverse($locationsd, true); + +$roomme = $user['room']; +if (@$_GET['room']) { + $room = $_GET['room']; +} + +if (empty($room)) { + $room = $roomme; +} + +?> + + +
    + +
    + ПОРЯДОК ПЕРЕХОДОВ: +
      +"Центральная площадь"'; + } + + #------------------------- + # Малые Торговые ряды + #------------------------- + + $is150 = 0; + if (($me_100 || $me_120 || $me_130 || $me_150 || $me_room == 100 || $me_room == 120 || $me_room == 130) && $find_150) { + if ($me_room != $serch_room) { + $is150 = 1; + } + } + + if ($me_150 && ($find_120 || $find_130 || $find_100 || $serch_room == 130 || $serch_room == 120 || $serch_room == 100)) { + if ($me_room != $serch_room) { + $is150 = 1; + } + } + + if ($is150) { + $show_room_150 = '
    1. "Малые Торговые ряды"
    2. '; + } + + + #------------------------- + # Западная улица + #------------------------- + + $is130 = 0; + if (($me_100 || $me_120 || $me_150 || $me_130 || $me_room == 100 || $me_room == 120 || $me_room == 150) && $find_130) { + if ($me_room != $serch_room) { + $is130 = 1; + } + } + + if ($me_130 && ($find_120 || $find_150 || $find_100 || $serch_room == 150 || $serch_room == 120 || $serch_room == 100)) { + if ($me_room != $serch_room) { + $is130 = 1; + } + } + + if ($is130) { + $show_room_130 = '
    3. "Западная улица"
    4. '; + } + + #------------------------- + # Дворец + #------------------------- + + $is100 = 0; + if (($me_100 || $me_120 || $me_130 || $me_150 || $me_room == 120 || $me_room == 130 || $me_room == 150) && $find_100) { + $is100 = 1; + } + if (($me_100) && ($find_120 || $find_130 || $find_150 || $serch_room == 120 || $serch_room == 130 || $serch_room == 150)) { + $is100 = 1; + } + + if ($me_100 == $find_100) { + $is100 = 0; + } + + if ($is100) { + $show_room_100 = '
    5. "Дворец"
    6. '; + } + + + + switch($serch_room){ + case 100: $find_100 = 1; break; + case 120: $find_120 = 1; break; + case 130: $find_130 = 1; break; + case 150: $find_150 = 1; break; + } + + switch($me_room){ + case 100: $me_100 = 1; break; + case 120: $me_120 = 1; break; + case 130: $me_130 = 1; break; + case 150: $me_150 = 1; break; + } + + + if ($me_100 && ($find_120 || $find_130 || $find_150)) { + + echo $show_room_100.$show_room_120.$show_room_130.$show_room_150; + + } elseif ($me_120 && ($find_100 || $find_130 || $find_150)) { + + echo $show_room_100.$show_room_120.$show_room_130.$show_room_150; + + } elseif ($me_130 && ($find_100 || $find_120 || $find_150)) { + + echo $show_room_130.$show_room_120.$show_room_150.$show_room_100; + + } elseif ($me_150 && ($find_100 || $find_130 || $find_120)) { + + echo $show_room_150.$show_room_120.$show_room_130.$show_room_100; + + } + +/*if ($serch_room >=150) { + echo $show_room_100.$show_room_130.$show_room_120.$show_room_150; +}elseif ($serch_room >=130 && $serch_room <= 140) { + echo $show_room_100.$show_room_150.$show_room_120.$show_room_130; + +}elseif ($serch_room >=120 && $serch_room < 130) { + echo $show_room_100.$show_room_120.$show_room_130.$show_room_150; + +}elseif ($serch_room >=120 && $serch_room < 130 && $me_room >=130 && $me_room <= 140) { + echo $show_room_100.$show_room_130.$show_room_150.$show_room_120; + +}elseif ($serch_room >=120 && $serch_room < 130 && $me_room >=150) { + echo $show_room_100.$show_room_130.$show_room_150.$show_room_120; + +}elseif ($serch_room >=120 && $serch_room < 130 && $me_room <=113) { + echo $show_room_100.$show_room_130.$show_room_150.$show_room_120; + +}elseif ($serch_room < 120) { + echo $show_room_130.$show_room_150.$show_room_120.$show_room_100; +}*/ + + + + if(!in_array($serch_room, $ar_all)){ } + echo '
    7. "'.$locations_normal[$serch_room].'"
    8. '; + + + ?> + + +
    + + + +1 && $user['align']<3 ) { ?> + 3)) { + $_GET['selstatus'] = 1; + } + if (empty($_GET['page']) ) { + $_GET['page'] = 1; + } + +?> + + +
    1) { ?>Страницы: + + +
    + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    От когоТемаПолученоОтветДействие
    + + + + :
    + + + + + + + +
    +
    +
    +
    +
    +
    + + +
    +
    +
    + + \ No newline at end of file diff --git a/help/city1.html b/help/city1.html new file mode 100644 index 0000000..2d6bc15 --- /dev/null +++ b/help/city1.html @@ -0,0 +1,52 @@ +Помощь + + + + + + + + + + + + + + +

    Центральная площадь

    + + + + + +Величественный замок вдали - это и есть здание Бойцовского Клуба, а на этой площади, вокруг памятника Мироздателю, расположились различные административные, торговые, игровые и пр. здания.
    + + +Комиссионный магазин - в этом магазине бойцы выставляют на продажу свои вещи. Иногда здесь можно найти много интересного. Иногда даже дешевле, чем в государственном.
    + + +Вокзал - здесь продают билеты на кареты, идущие в другие города.
    + + +Государственный магазин - здесь вы можете купить различные предметы, оружие, броню, заклинания. Одним словом все, что необходимо воину, чтобы выжить в этом жестоком мире.
    + + +Ремонтная мастерская - ваша вещь почти испортилась? Несите ее сюда - здесь занимаются починкой поврежденных вещей. Главное - не опоздайте. Если вещь окончательно рассыпалась в прах, то вам не смогут помочь даже здесь. Перед починкой предмета, его нужно снять, чинят только вещи в рюкзаке.
    + + +Церковь - здесь любящие сердца объединяются священными узами брака.
    + + +Почта - отправка предметов и кредитов игрокам которых сейчас нет в клубе или они находятся в других городах.
    + + +Казино - для желающих испытать свою удачу и попытаться приумножить капитал. + + + + + + + + + \ No newline at end of file diff --git a/help/combats.html b/help/combats.html new file mode 100644 index 0000000..f87a548 --- /dev/null +++ b/help/combats.html @@ -0,0 +1,93 @@ +Помощь + + + + + + + + + + + + + + +

    Поединки

    + + + + + +Арена для боев. Именно здесь вы выбираете себе противника(ов) для боя. Арена разделена не несколько частей по видам поединков:
    + + +Бой новичков - сюда допускаются только игроки нулевого уровня.
    + + +Физические - бои один на один, для всех игроков выше нулевого уровня. Для удобства просмотра всех заявок есть переключатель: показывать заявки бойцов только моего уровня или же все заявки сразу.
    + + +Договорные - если вы заранее договорились с кем-то о поединке, то лучше подать заявку в этом разделе, чтобы другие бойцы не пытались принять ваш вызов.
    + + +Групповые - бои вида стенка на стенку. При подаче заявки указывается количество бойцов с каждой стороны, тип боя и ограничения по уровню. Бой начнется при наборе указанной группы или по истечении указанного времени.
    + + +Хаотичные - разновидность групповых боев, но разделение на два противоборствующих лагеря (более-менее равных) здесь производится автоматически. Бой не начнется, если собралось менее 4-х человек.
    + + +Текущие - список текущих боев, вы можете следить за каким-либо поединком по логам.
    + + +Завершенные - список завершенных боев. Вы можете просмотреть список проведенных вами (или другим игроком) боев за указанный день.

    + + + + + +Для начала поединка вы должны подать свою заявку на бой или принять заявку, выставленную другим бойцом.

    + + + + + +Подача заявки
    + + +В форме Подать заявку на бой выберите параметры:
    + + +Таймаут - через сколько минут считать бой завершенным, если ваш противник не делает ход.
    + + +Тип боя - с оружием или "голышом" на кулаках.
    + + +И нажмите кнопку Подать заявку. Когда кто-либо примет ваш вызов, вы увидите сообщение в чате "Персонаж такой-то принял ваш вызов! Нужно отказать или принять бой." вам стоит просмотреть информацию об этом игроке, оценить свои шансы на победу и принять его вызов или отказаться от поединка и ждать другого бойца.

    + + + + + +Принять заявку
    + + +Если вы не подаете свою заявку на бой, можете выбрать бойца из уже подавших заявки и принять его вызов, для этого помечаете нужную заявку в списке и нажимаете кнопку Принять вызов. Игрок, подававший заявку, или согласится на бой с вами или откажется, тогда стоит выбрать другую заявку.

    + + + + + +Бои на деньги
    + + +Р’ разделе договорные Р±РѕРё РІС‹ можете сделать заявку, указав стоимость поединка. Автоматически, после окончания поединка: Проигравший отдает указанные кредиты, Р° Победитель получает 90% кредитов (10% идет РІ спец. фонд). Если Р±РѕР№ заканчивается РІ ничью - никто ничего РЅРµ платит. Если РІ Р±РѕР№ кто-то вмешается Рё РѕРЅ превращается РІ РіСЂСѓРїРїРѕРІРѕР№ - никто ничего РЅРµ платит. + + + + + + + + diff --git a/help/cshop.html b/help/cshop.html new file mode 100644 index 0000000..1873668 --- /dev/null +++ b/help/cshop.html @@ -0,0 +1,30 @@ +Помощь + + + + + + +

    Храмовая лавка

    +Здесь можно купить усиленное оружие и обмундирование, а также некоторые свитки.

    +В Храмовой Лавке не принимают кредиты. Оплатить покупки можно только Репутацией.

    + + \ No newline at end of file diff --git a/help/fshop.html b/help/fshop.html new file mode 100644 index 0000000..3002808 --- /dev/null +++ b/help/fshop.html @@ -0,0 +1,38 @@ +Помощь + + + + + + +

    Цветочный магазин

    +Цветочный зал - здесь можно собрать букеты цветов по специальным рецептам, и подарить любому персонажу.

    +Рецепты можно найти на любом клановом сайте.
    +Если при сборке букета добавить в него вазу, букет будет жить на 20 дней дольше.
    +Букеты можно использовать как оружие или просто наслаждаться их красотой в информации о персонаже.

    +Сувенирный отдел - здесь можно купить открытки или сувениры на разные случаи жизни и подарить их любимому человеку, другу или недругу.

    +На полке "Свадебные аксессуары" можно найти свадебные образы для персонажа и свадебные костюмы и платья.
    +После открытия коробки с костюмом, изображения вещей окажутся в разделе "Галерея" в "Инвентаре". Картинки можно надеть на любое оружие или обмундирование. +Срок жизни свадебных костюмов и образов - 3 дня после открытия коробки.
    +Сделайте вашу свадьбу самой красивой и незабываемой! +

    + + \ No newline at end of file diff --git a/help/hram.html b/help/hram.html new file mode 100644 index 0000000..c34b6e0 --- /dev/null +++ b/help/hram.html @@ -0,0 +1,31 @@ +Помощь + + + + + + +

    Храм Древних

    +Храм Древних - каждый Алтарь благосклонен только к своим адептам и готов дать задание, за выполнение которого, вы получите награду. Персонажи без склонности могут обратиться к любому из алтарей.

    +Зал Пожертвований - пожертвовав Ресурсы на благо Храма, вы заработаете Репутацию, на которую можно купить свитки и вещи в Храмовой Лавке. За каждые 20 тыс. Репутации вы автоматически получите дополнительный слот для свитков, но не более 5 в общей сложности.

    +Зал Свитков - Свитки Древних были собраны по крупицам и отвоеваны в кровопролитных боях. Каждый свиток помнит имя своего героя и бережно хранится в Храме.

    + + \ No newline at end of file diff --git a/help/index.php b/help/index.php new file mode 100644 index 0000000..e69de29 diff --git a/help/invent.html b/help/invent.html new file mode 100644 index 0000000..6cfd458 --- /dev/null +++ b/help/invent.html @@ -0,0 +1,68 @@ +Помощь + + + + + + + + +

    Настройка персонажа и инвентарь.

    + + + + + +В этом разделе вы можете развивать навыки вашего персонажа и пользоваться инвентарем.
    + + +Экран разделен на 3 части. В левой части вы видите своего персонажа и можете, нажатием на соответствующую картинку, снимать вещи. В правой части находится инвентарь. Для удобства пользователей он был поделен на 3 раздела : обмундирование (здесь находятся все вещи, которые можно надевать на персонажа), заклятия (место хранения всех ваших заклинаний), прочее (бумага, квитанции, отчеты, аммуниция и пр.). В центральной части вы можете посмотреть на навыки вашего персонажа и, по возможности, развить их, нажимая на рядом с соответствующим навыком.
    + + +Также в правом верхнем углу находится дополнительное меню. В разделе "Анкета" вы можете изменить данные, которые вы вводили в анкете при регистрации. На странице "Пароль" вы можете сменить свой текущий пароль и поставить фильтр по IP. Информацию о переведенных вам и от вас кредитах можно получить в разделе "Отчет о переводах" (услуга платная). При нажатии на кнопку "Сменить образ" вы можете выбрать образ вашего персонажа. + + +

    + + +Комплекты одежды (доступно со второго уровня)
    + + +На высоких уровнях часто возникает необходимость надевать разные комплекты одежды для разного вида поединков. Постоянно что-то снимать и надевать утомительно, поэтому была сделана данная функция.
    + + +1. Вы надеваете на себя набор вещей.
    + + +2. Нажимаете ссылку "Запомнить комплект"
    + + +3. Пишете название этому комплекту (не более 30-ти символов)
    + + +Система запоминает, какие на вас надеты вещи. Внизу (под образом персонажа) появляется ссылка "Надеть такой-то комплект", достаточно одного щелчка мыши и вы во всеоружии!
    + + +Маленький нюанс. Если для какого-то набора одежды, вам требуется надевание промежуточного предмета (обычно это какое-то кольцо), то такой вариант использовать РЅРµ получится. РќР° вас Р±СѓРґСѓС‚ надеты только те вещи, что удастся надеть, без использования дополнительных предметов. + + + + \ No newline at end of file diff --git a/help/repair.html b/help/repair.html new file mode 100644 index 0000000..470e994 --- /dev/null +++ b/help/repair.html @@ -0,0 +1,43 @@ +Помощь + + + + + + +

    Ремонтная мастерская

    +Ваша вещь сломалась в бою?
    +Вы хотите ее улучшить, нанести гравировку или встроить магию?
    +Здесь чинят и улучшают вещи по вашему вкусу.
    +Перед починкой или улучшением предмета, его необходимо снять.

    +Гравировка - здесь можно нанести любимую фразу на свое оружие, и она будет видна при наведении мышки на него в +информации о персонаже.

    +Перезарядка магии - здесь можно перезарядить магию, встроенную в вещи. Встроить магию в вещь может +только опытный маг свитком "Встраивания магии". При использовании магии в бою, тратятся заряды, которые можно перезарядить тут после боя.

    +Модифицирование - любую вещь можно модифицировать, то есть улучшить и усилить ее параметры. +Для модификации необходимо иметь не менее 50 интеллекта. Цена модификации равна цене вещи.

    +Подгонка - после модификации вещь можно подогнать 5 раз. Каждый подгон увеличивает модификаторы вещи на несколько единиц. +Для подгонки вещи маг не нужен.

    +Сброс МФ/Колец - при модификации или подгонке, все полученные дополнительные параметры распределяются на вещи так, как удобно +именно вам. Здесь можно вернуть все дополнительные параметры на вещи в свободные и распределить их заново.

    + + + \ No newline at end of file diff --git a/help/schet.html b/help/schet.html new file mode 100644 index 0000000..b8f9615 --- /dev/null +++ b/help/schet.html @@ -0,0 +1,31 @@ +Помощь + + + + + + + + + + + + + + +

    Отчет о переводах

    + + + + + +В этом разделе вы можете заказать отчет о переведенных и полученных деньгах и предметах за определенный день. Внимание, услуга платная. + + + + + + + + + \ No newline at end of file diff --git a/help/shop.html b/help/shop.html new file mode 100644 index 0000000..438ad55 --- /dev/null +++ b/help/shop.html @@ -0,0 +1,33 @@ +Помощь + + + + + + + + + + + + + + +

    Магазин

    + + + + + +Р’ магазине РІС‹ можете купить оружие, Р±СЂРѕРЅСЋ, заклинания Рё прочие мелочи, обладание которыми скрашивает тяжелые РІРѕРёРЅСЃРєРёРµ Р±СѓРґРЅРё. Также РІС‹ можете продать ваши вещи (даже подаренные), правда РјРЅРѕРіРѕ вам Р·Р° РЅРёС… здесь РЅРµ дадут. + + + + + + + + + + + diff --git a/help/sshop.html b/help/sshop.html new file mode 100644 index 0000000..a77df06 --- /dev/null +++ b/help/sshop.html @@ -0,0 +1,33 @@ +Помощь + + + + + + +Сувенирный отдел - здесь можно купить открытки или сувениры на разные случаи жизни и подарить их любимому человеку, другу или недругу.

    +На полке "Свадебные аксессуары" можно найти свадебные образы для персонажа и свадебные костюмы и платья.
    +После открытия коробки с костюмом, изображения вещей окажутся в разделе "Галерея" в "Инвентаре". Картинки можно надеть на любое оружие или обмундирование. +Срок жизни свадебных костюмов и образов - 3 дня после открытия коробки.
    +Сделайте вашу свадьбу самой красивой и незабываемой! +

    + + \ No newline at end of file diff --git a/help/top1.html b/help/top1.html new file mode 100644 index 0000000..57822aa --- /dev/null +++ b/help/top1.html @@ -0,0 +1,51 @@ +Помощь + + + + + + + + + + + + + + +

    Основной экран

    + + + + + +Это главный экран игры. Именно отсюда начинаются все ваши действия в клубе. Он разделен на две большие секции - основной экран и чат.
    + + +В левой части основного экрана находится изображение вашего персонажа и всех, надетых на него предметов, а также необходимая информация: характеристики, опыт, уровень, деньги, общее количество побед и поражений.
    + + +Справа вы видите основное меню игры, сообщения от администрации и полезные ссылки на форум клуба, законы, библиотеку и часто задаваемые вопросы.
    + + +Через основное меню вы можете попасть на арену для поединков, воспользоваться инвентарем вашего персонажа, передать другому бойцу предметы и/или кредиты (только если он находится в одной комнате с вами), перейти в другую комнату, обновить игровой экран и выйти из игры.
    + + +Окно чата разделено на две части - собственно сам чат со списком воинов (находящихся в данный момент в вашей комнате) и панель управления чатом.
    + + +В панели управления вы можете писать свои сообщения, включить/выключить фильтр, отображающий только предназначенные вам сообщения, включить/выключить отображение системных сообщений, изменить скорость обновления чата (или вообще его выключить), вставлять в текст смайлики. В правой нижней части находится мини-меню, дублирующее некоторые функции основного: инвентарь, передача предметов и выход.
    + + +Кстати, если вы кликнете в чате на имя бойца, удерживая нажатой кнопку CTRL, то вы увидите информацию о нем - чтобы не тратить зря время, разыскивая его имя в списке. + + + + + + + + + + + diff --git a/help/tower.html b/help/tower.html new file mode 100644 index 0000000..3817091 --- /dev/null +++ b/help/tower.html @@ -0,0 +1,150 @@ +Помощь + + + + + + + + + + + + + + +

    Башня смерти.

    + + + + + +В Башне смерти вы можете принять участие в турнирах, победитель получает призовой фонд.
    + + +

    Суть турниров:

    + + +
      + + +
    1. В течение некоторого времени принимаются заявки от всех желающих участвовать в турнире. При подаче заявки вы ставите кредиты, которые идут в призовой фонд. + + +
    2. В момент начала турнира, все игроки, подавшие заявки, должны находиться в Башне смерти (вы должны быть в online, чат должен быть включен). Только ограниченное количество игроков примут участие в турнире, чем больше вы поставили кредитов, тем выше ваш шанс участия в турнире. + + +
    3. участники оставляют все свои вещи в приемной Башни смерти и, в чем мать родила ;) распределяются случайным образом по комнатам Башни. + + +
    4. В каждой комнате могут быть разбросаны различные предметы, которые вы можете подобрать и использовать в боях. + + +
    5. Вы можете одевать вещи, снимать, передавать другим игрокам, находящимися с вами в одной комнате, с помощью стандартных кнопок "Инвентарь" и "Передача предметов", что справа от строки чата. + + +
    6. Синяя стрелка в навигации указывает на комнату, откуда вы пришли. + + +
    7. Вы можете в любой момент напасть на любого, кто находится с вами в одной комнате. Или вмешаться в поединок. + + +
    8. В случае проигрыша любого боя, вы тут же выбываете из турнира (на выходе, вам вернут ваши вещи) + + +
    9. Все бои в Башне кровавые (с нанесением травм) + + +
    10. Последний, оставшийся в живых - победитель, он получает призовой фонд. + + +
    + + +Все очень просто :)
    + + +

    + + +

    Некоторые ограничения:

    + + +
      + + +
    1. При начале поединка, таймаут выставляется случайным образом, защита от тех, кто будет специально затягивать поединки. + + +
    2. Вы не сможете мгновенно перебегать из комнаты в комнату, необходимо выдерживать паузу (в зависимости от размера комнаты). + + +
    3. Если в течение двух дней победителя так и не будет, турнир завершается. + + +
    4. Из Башни вы можете выйти только двумя путями: мертвым или победителем, третьего не дано. + + +
    5. Вы не можете уйти в offline. Даже если вы выключите свой компьютер, ваш персонаж постоянно остается в online и на вас могут напасть. В Башне смерти вы должны быть online и биться до победы, сколько бы турнир не длился: час или два дня! + + +
    + + + + + +

    В башне смерти имеются уникальные магические предметы:

    + + +
      + + +
    1. Ловушка. Устанавливается внутри комнаты. Каждый входящий в комнату (кроме установившего ловушку) может попасть в ловушку и потерять часть своих HP. + + +
    2. Сканер. Показывает местоположение всех участников турнира, а также предметы в ближайших комнатах. + + +
    3. Восстановление энергии. Позволяет восстановить уроверь жизни во время боя. + + +
    + + + + + +Конечно, в начале турнира лучше объединяться в группы, но помните, что рано или поздно, вам придется разбираться между собой, так что в любой момент ждите удара в спину! + + + + + +

    Победитель должен быть один!

    + + + + + +   Р‘ашня Смерти… Никто РЅРµ РїРѕРјРЅРёС‚ как РѕРЅР° возникла, кто её строил, зачем РѕРЅР° предназначалась... кажется, что РѕРЅР° была всегда... РѕРЅР° стара как РјРёСЂ... толстые стены, поросшие РјС…РѕРј .... вершина прячется РІ свинцовых тучах ... всегда, неважно светит ли солнце или луна ... единственная РґРѕСЂРѕРіР° Рє ней - узкая как лезвие ножа тропа, петляющая среди скал... Пустынно Рё мертвенно тихо РІРѕРєСЂСѓРі ... Башня СЃРїРёС‚ ... холодно Рё равнодушно… СЃРїРёС‚... Рё РіРѕСЂРµ тому, кто потревожит её вековой СЃРѕРЅ ... РќРѕ разве может что-то остановить тягу человеческую Рє богатству Рё славе? ... слухи Рѕ несметных сокровищах спрятанных РІ Башне РёСЃРїРѕРєРѕРЅ веков будоражили СѓРјС‹ Рё распаляли воображение отчаянных смельчаков...
    + + +   Р˜ РїСЂРёС…РѕРґРёС‚ час, РєРѕРіРґР° несколько отчаянных смельчаков, забыв РѕР±Рѕ всем, потеряв осторожность, РёРґСѓС‚ РЅР° верную смерть, Р·Р° своей мечтой... Двери Р·Р° РЅРёРјРё захлопнутся Рё башня оживет... Что РёС… ждёт там? Другой РјРёСЂ... Другое измерение... Р’ башне нет ничего... ничего, что существует РІ реальном РјРёСЂРµ... там РІСЃС‘ РЅРµ так... там нет друзей... РІСЃРµ враги Рё ты всем враг… честь ... справедливость... нет таких понятий... Башня пропитывает СЏРґРѕРј всех... Рё РѕРґРЅР° цель, РѕРґРЅР° задача - выжить любой ценой… РёР±Рѕ отсюда выйдет только один… кто РёРј будет?… покажет время… Рђ РїРѕРєР° что башня ждет СЃРІРѕСЋ первую жертву…
    + + +   Р›Р°Р±РёСЂРёРЅС‚... лязг железа... РєСЂРёРєРё... РєСЂРѕРІСЊ... зловещий С…РѕС…РѕС‚... беспорядочно разбросаны доспехи РїРѕ комнатам... откуда РѕРЅРё там? РЅРµ РѕС‚ первых ли рыцарей, попавших РІ ловушку башни?… Нет времени РЅР° размышления... Рё нет размышлений ... РІ голове бьётся РѕРґРЅР° мысль - ВЫЖИТЬ... доспехи? это отсрочка гибели или подарок СЃСѓРґСЊР±С‹? неважно, надо бежать дальше... дальше РїРѕ лабиринтам... РґРѕСЂРѕРіР° каждая секунда... каждая секунда - это жизнь... Р° Башня ждёт... ждёт следующую жертву...
    + + +   РљРѕРјРЅР°С‚Р° Р·Р° комнатой... шаг Р·Р° шагом... шаг Рє победе или Рє смерти... смелые РІРѕРёРЅС‹-одиночки, хитрые убийцы, добивающие раненых, рыцари РЅР° время сплотившихся РІ команды, чтобы вместе пройти РІСЃРµ ужасы Башни Смерти, Р° потом убить РґСЂСѓРі РґСЂСѓРіР°... Кто РёР· РЅРёС… пройдёт весь путь? РљРѕРјСѓ достанется награда Башни? может ТЕБЕ? + + + + + + + + + + + diff --git a/help/transfer.html b/help/transfer.html new file mode 100644 index 0000000..cfebd00 --- /dev/null +++ b/help/transfer.html @@ -0,0 +1,45 @@ +Помощь + + + + + + + + + + + + + + +

    Передача предметов/кредитов другому игроку

    + + + + + +При передаче вещей/кредитов персонаж, которому передаете, должен находиться с вами в одной комнате (для передач в offline или в другой город, пользуйтесь услугами Почты на Центральной площади).
    + + +Передать: вы просто передаете предмет другому персонажу (услуга платная)
    + + +Подарить: вы дарите свой предмет другому персонажу и он не сможет его больше ни передать кому-либо, ни подарить (вы при этом ничего не платите)
    + + +Продать: вы предварительно договариваетесь с другим персонажем о продаже ему чего-либо, просите его открыть у себя окно передачи (иначе сделка не состоится, защита от спама) и нажимаете у себя Продать, указываете цену. Тот человек соглашается или отказывается от сделки (услуга платная) + + +
    + + + + + + + + + + + diff --git a/hostel.php b/hostel.php new file mode 100644 index 0000000..d3ac986 --- /dev/null +++ b/hostel.php @@ -0,0 +1,255 @@ + array('type' => 'Сумка'), 2 => array('type' => 'Сундук'), 3 => array('type' => 'Комната'), 4 => array('type' => 'Амбар')); +$times = array(1 => 7, 2 => 14, 3 => 21, 4 => 28); +$cost = array(1 => array(8, 16, 24, 32), 2 => array(15, 30, 45, 60), 3 => array(25, 50, 75, 100), 4 => array(40, 80, 120, 160)); + +if($_GET['exit'] == 1) { + if($user['sleep'] == 0) { + mysql_query('UPDATE `users`,`online` SET `users`.`room` = 26, `online`.`room` = 26 WHERE `users`.`id` = "'.$user['id'].'" AND `online`.`id` = "'.$user['id'].'"'); + header('Location: city.php'); + } else { + $error = 'Вы спите ...'; + } +} + +if($_GET['to_room'] == 1) { + if(isset($hostel['id'])) { + if($hostel['time'] > time()) { + mysql_query('UPDATE `users`,`online` SET `users`.`room` = 661, `online`.`room` = 661 WHERE `users`.`id` = "'.$user['id'].'" AND `online`.`id` = "'.$user['id'].'"'); + header('Location: hostel_room.php'); + } else { + $error = 'У Вас просрочена аренда. Оплатите что-бы продолжить пользоваться нашими услугами ...'; + } + } else { + $error = 'У Вас, нету комнаты ...'; + } +} + +if($_GET['pays']) { + if((int)$_GET['pays'] >= 1 && (int)$_GET['pays'] <= 4) { + if(isset($hostel['id'])) { + if($user['money'] >= $cost[$hostel['type']][(int)$_GET['pays']]) { + $time = $hostel['time']+60*60*24*$times[(int)$_GET['pays']]; + $user['money'] -= $cost[$hostel['type']][(int)$_GET['pays']]; + $hostel['time'] = $time; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `hostel` SET `time` = "'.$time.'" WHERE `uid` = "'.$user['id'].'" AND `id` = "'.$hostel['id'].'" LIMIT 1'); + $error = 'Всё прошло успешно ...'; + } else { + $error = 'Недостаточно денег ...'; + } + } else { + $error = 'Ошибка #1'; + } + } +} + +if(isset($_POST['select']) && isset($_POST['tariff'])) { + if($_POST['tariff'] == 0) { + $error = 'Выберите тариф ...'; + } else { + $error = select_arenda($user, (int)$_POST['tariff']); + } +} + +if($_GET['del'] == 1) { + if(isset($hostel['id']) && $hostel['time'] > time()) { + mysql_query('DELETE FROM `hostel` WHERE `uid` = "'.$user['id'].'" AND `id` = "'.$hostel['id'].'" LIMIT 1'); + remove_hostel_items($user['id']); + $error = 'Вы успешно отказались от аренды ...'; + unset($hostel); + } elseif(isset($hostel['id']) && $hostel['time'] < time()) { + $error = 'Нельзя отказаться от услуг если имеется задолежнность ...'; + } +} + +if(isset($_POST['deselect']) && isset($_POST['retariff'])) { + if(isset($hostel['id']) && $hostel['time'] > time()) { + mysql_query('DELETE FROM `hostel` WHERE `uid` = "'.$user['id'].'" AND `id` = "'.$hostel['id'].'" LIMIT 1'); + remove_hostel_items($user['id']); + select_arenda($user, (int)$_POST['retariff'], true); + } elseif(isset($hostel['id']) && $hostel['time'] < time()) { + $error = 'Нельзя сменить услугу если имеется задолежнность ...'; + } +} + +if($_GET['sleep'] && $user['sleep'] == 0) { + if($user['sleep_time'] <= time()) { + if($user['vip'] == 1) { $sl = 8; } elseif($user['vip'] == 2) { $sl = 12; } elseif($user['vip'] == 3) { $sl = 18; } else { $sl = 2; } + mysql_query('UPDATE `users` SET `sleep` = "'.(time()+60*60*$sl).'", `sleep_time` = "'.(time()+60*60*8).'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('INSERT INTO `effects` (`type`, `name`, `time`, `owner`) VALUES ("8", "Сон", "'.(time()+60*60*$sl).'", "'.$user['id'].'")'); + $ef = mysql_query('SELECT `id`, `time`, `type` FROM `effects` WHERE `owner` = "'.$user['id'].'" AND `type` != 11 AND `type` != 12 AND `type` != 13 AND `type` != 14 AND `type` != 5 AND `type` != 4 AND `type` != 2 AND `type` != 3 AND `type` != 8'); + while($pl = mysql_fetch_array($ef)) { + $tm = $pl['time']-time(); + mysql_query('UPDATE `effects` SET `sleep` = "'.$tm.'" WHERE `id` = "'.$pl['id'].'" AND `owner` = "'.$user['id'].'"'); + } + header('Location: hostel.php'); + } else { + $error = 'Нельзя спать ... Приходите через : '.timeOut($user['sleep_time']-time()); + } +} + +if($_GET['unsleep'] && $user['sleep'] > 0) { + mysql_query('UPDATE `users` SET `sleep` = "0" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `effects` WHERE `owner` = "'.$user['id'].'" AND `type` = "8" LIMIT 1'); + $ef = mysql_query('SELECT `id`, `time`, `sleep` FROM `effects` WHERE `owner` = "'.$user['id'].'" AND `sleep` != 0'); + while($pl = mysql_fetch_array($ef)) { + $tm = time()+$pl['sleep']; + mysql_query('UPDATE `effects` SET `time` = "'.$tm.'", `sleep` = "0" WHERE `id` = "'.$pl['id'].'" AND `owner` = "'.$user['id'].'"'); + } + header('Location: hostel.php'); +} + +?> + + + + 404 + + + + + + + + + + +
    +
    Гостиница, Холл
    +
    + + + + + + + + +
    + +
    +
    + +
    + Станьте нашим клиентом +
    + +

    Выберите подходящий для Вас вариант обслуживания:

    +
    + + + '.$error.'
    '; } ?> +
    +
    +
    + +
    + Добро пожаловать! +
    +

    Вы выбрали вариант предоставления жилья :

    +

    Аренда оплачена по: ()

    +
    + Сменить вариант аренды + +
    +
    + Расторгнуть договор Внести предоплату +
    '.$error.'

    '; } ?> +
    + +
    +
    + Правила проживания +
    +
    +

    И что я получу за свои кровные?

    + У нас ты можешь: +
    - хранить свое барахло и прочий хлам. +

    Охрана у вас есть? Не воруют?

    + Самые любопытные могут получить в сурло прямо здесь - в холле. +
    - Устраивать беспорядки в комнатах не позволено. +
    - Прислуга у нас проверенная - пожитки твои не тронут. +

    И сколько стоит всё это удовольствие?

    + - Комнаты есть разные, для людей разного достатка. Смотри справа расценки. +
    - Платить нужно каждый день. Пока не заплатишь - на лестницу не ногой. +
    - Вместимость - это сколько твоих вещей влезет в комнату, имеется ввиду общая масса инвентаря. + +

    Как всем этим пользоваться?

    + Всё просто. Плати и живи. +
    Приходишь, платишь по долгам, проходишь в аппартаменты. В сундуке есть секции для каждого вида вещей, фильтр поможет разобраться. +

    Что ещё мне нужно знать?

    + - При смене размера комнаты, ты теряешь оставшееся оплаченное время. +
    - При просрочке платы более 60 суток, мы оставляем за собой право сдать вещи на аукцион для погашения задолжености. +
    - Если долг будет разумный, то подарки забирать с полки не будем. +
    - Быстро сориентироваться с шмотом поможет фильтр предметов. +
    - Если что потеряешь - твои проблемы. +
    +
    +
    +
    + +
    +
    + Тарифы и услуги +
    + + + + + + +
    Сумка
    Вместимость15 ед.
    Стоимость (7 сут.)8.00 кр.
    +
    + + + + + + +
    Сундук
    Вместимость30 ед.
    Стоимость (7 сут.)15.00 кр.
    +
    + + + + + + +
    Комната
    Вместимость50 ед.
    Стоимость (7 сут.)25.00 кр.
    +
    + + + + + + +
    Амбар
    Вместимость100 ед.
    Стоимость (7 сут.)40.00 кр.
    +
    +
    +
    + + + \ No newline at end of file diff --git a/hostel_room.php b/hostel_room.php new file mode 100644 index 0000000..15e5094 --- /dev/null +++ b/hostel_room.php @@ -0,0 +1,175 @@ + 15, 2 => 30, 3 => 50, 4 => 100); +$vips = array(1 => 0.15, 2 => 0.30, 3 => 0.45); + +if($user['vip'] > 0 && $user['vip_time'] > time()) { + $count = $base[$hostel['type']]; + $count += floor($base[$hostel['type']]*$vips[$user['vip']]); +} else { + $count = $base[$hostel['type']]; +} + +if($_GET['search']) { + $r = show_itm_hostel($user['id'], (int)$_GET['otdel'], (int)$_GET['place']); +} else { + $r = '
    Поиск ...
    '; +} + +if($_GET['set'] && $_GET['set'] == 1) { + $it = mysql_fetch_array(mysql_query('SELECT `id`, `owner` FROM `inventory` WHERE `id` = "'.(int)$_GET['itm'].'" LIMIT 1')); + if(isset($it['id'])) { + if($it['owner'] == $user['id']) { + if($in['cnt'] < $count) { + mysql_query('UPDATE `inventory` SET `owner` = "-101'.$user['id'].'" WHERE `id` = "'.$it['id'].'" LIMIT 1'); + $in['cnt']++; + } else { + $error = 'Не хватает места ...'; + } + } elseif($it['owner'] == '-101'.$user['id']) { + mysql_query('UPDATE `inventory` SET `owner` = "'.$user['id'].'" WHERE `id` = "'.$it['id'].'" LIMIT 1'); + $in['cnt']--; + } + } + unset($it); + header('Location: hostel_room.php?search=1&otdel='.$_GET['otdel'].'&place='.$_GET['place']); +} + +if($_GET['search']) { + $r = show_itm_hostel($user['id'], (int)$_GET['otdel'], (int)$_GET['place']); +} + +####### +$w = (270*$d['mass']/get_meshok()); $w_a = 270-$w; +$h = (270*$in['cnt']/$count); $h_a = 270-$h; +####### + +if($_GET['go_back'] == 1) { + mysql_query('UPDATE `users`,`online` SET `users`.`room` = 660, `online`.`room` = 660 WHERE `users`.`id` = "'.$user['id'].'" AND `online`.`id` = "'.$user['id'].'"'); + header('Location: hostel.php'); +} + + +?> + + + + 404 + + + + + + + +
    +
    + + +

    Комнатуха

    +
    + + +
    +
    +Фильтр инвентаря +
    +
    + + + +
    +  + +
    +
    +
    +
    Состояние +
    +
    /
    /
    +
    +
    + +
    + +
    +
    '.$error.''; } ?>
    + + \ No newline at end of file diff --git a/i/003.gif b/i/003.gif new file mode 100644 index 0000000..d3a8762 Binary files /dev/null and b/i/003.gif differ diff --git a/i/004.gif b/i/004.gif new file mode 100644 index 0000000..0b4c60c Binary files /dev/null and b/i/004.gif differ diff --git a/i/005.gif b/i/005.gif new file mode 100644 index 0000000..1bb1bb3 Binary files /dev/null and b/i/005.gif differ diff --git a/i/006.gif b/i/006.gif new file mode 100644 index 0000000..3476dcd Binary files /dev/null and b/i/006.gif differ diff --git a/i/007.gif b/i/007.gif new file mode 100644 index 0000000..689eaf7 Binary files /dev/null and b/i/007.gif differ diff --git a/i/008.gif b/i/008.gif new file mode 100644 index 0000000..06a9e35 Binary files /dev/null and b/i/008.gif differ diff --git a/i/009.gif b/i/009.gif new file mode 100644 index 0000000..d1723f8 Binary files /dev/null and b/i/009.gif differ diff --git a/i/012.gif b/i/012.gif new file mode 100644 index 0000000..51ab345 Binary files /dev/null and b/i/012.gif differ diff --git a/i/014.gif b/i/014.gif new file mode 100644 index 0000000..a8dba80 Binary files /dev/null and b/i/014.gif differ diff --git a/i/015.gif b/i/015.gif new file mode 100644 index 0000000..c5c3f8c Binary files /dev/null and b/i/015.gif differ diff --git a/i/016.gif b/i/016.gif new file mode 100644 index 0000000..0cb45ea Binary files /dev/null and b/i/016.gif differ diff --git a/i/017.gif b/i/017.gif new file mode 100644 index 0000000..c75fe00 Binary files /dev/null and b/i/017.gif differ diff --git a/i/018.gif b/i/018.gif new file mode 100644 index 0000000..7467209 Binary files /dev/null and b/i/018.gif differ diff --git a/i/019.gif b/i/019.gif new file mode 100644 index 0000000..6936e58 Binary files /dev/null and b/i/019.gif differ diff --git a/i/020.gif b/i/020.gif new file mode 100644 index 0000000..ff03a76 Binary files /dev/null and b/i/020.gif differ diff --git a/i/024.gif b/i/024.gif new file mode 100644 index 0000000..52f31a0 Binary files /dev/null and b/i/024.gif differ diff --git a/i/030.gif b/i/030.gif new file mode 100644 index 0000000..6938eb3 Binary files /dev/null and b/i/030.gif differ diff --git a/i/031.gif b/i/031.gif new file mode 100644 index 0000000..5cae252 Binary files /dev/null and b/i/031.gif differ diff --git a/i/032.gif b/i/032.gif new file mode 100644 index 0000000..23d78b9 Binary files /dev/null and b/i/032.gif differ diff --git a/i/033.gif b/i/033.gif new file mode 100644 index 0000000..848310d Binary files /dev/null and b/i/033.gif differ diff --git a/i/035.gif b/i/035.gif new file mode 100644 index 0000000..c9b380c Binary files /dev/null and b/i/035.gif differ diff --git a/i/038.gif b/i/038.gif new file mode 100644 index 0000000..84077df Binary files /dev/null and b/i/038.gif differ diff --git a/i/039.png b/i/039.png new file mode 100644 index 0000000..cdef68f Binary files /dev/null and b/i/039.png differ diff --git a/i/040.gif b/i/040.gif new file mode 100644 index 0000000..e856d59 Binary files /dev/null and b/i/040.gif differ diff --git a/i/041.gif b/i/041.gif new file mode 100644 index 0000000..2adc500 Binary files /dev/null and b/i/041.gif differ diff --git a/i/042.gif b/i/042.gif new file mode 100644 index 0000000..c9c35de Binary files /dev/null and b/i/042.gif differ diff --git a/i/043.png b/i/043.png new file mode 100644 index 0000000..4c38031 Binary files /dev/null and b/i/043.png differ diff --git a/i/044.png b/i/044.png new file mode 100644 index 0000000..eed8959 Binary files /dev/null and b/i/044.png differ diff --git a/i/045.gif b/i/045.gif new file mode 100644 index 0000000..577a416 Binary files /dev/null and b/i/045.gif differ diff --git a/i/046.png b/i/046.png new file mode 100644 index 0000000..affbbba Binary files /dev/null and b/i/046.png differ diff --git a/i/047.gif b/i/047.gif new file mode 100644 index 0000000..f6be718 Binary files /dev/null and b/i/047.gif differ diff --git a/i/048.png b/i/048.png new file mode 100644 index 0000000..09740a6 Binary files /dev/null and b/i/048.png differ diff --git a/i/049.gif b/i/049.gif new file mode 100644 index 0000000..d4561fd Binary files /dev/null and b/i/049.gif differ diff --git a/i/060.gif b/i/060.gif new file mode 100644 index 0000000..8e365b7 Binary files /dev/null and b/i/060.gif differ diff --git a/i/061.gif b/i/061.gif new file mode 100644 index 0000000..f7770c3 Binary files /dev/null and b/i/061.gif differ diff --git a/i/062.png b/i/062.png new file mode 100644 index 0000000..c774197 Binary files /dev/null and b/i/062.png differ diff --git a/i/063.png b/i/063.png new file mode 100644 index 0000000..eb2cd1e Binary files /dev/null and b/i/063.png differ diff --git a/i/064.png b/i/064.png new file mode 100644 index 0000000..b35a5f8 Binary files /dev/null and b/i/064.png differ diff --git a/i/065.png b/i/065.png new file mode 100644 index 0000000..b6c23e3 Binary files /dev/null and b/i/065.png differ diff --git a/i/066.png b/i/066.png new file mode 100644 index 0000000..e64ab91 Binary files /dev/null and b/i/066.png differ diff --git a/i/067.png b/i/067.png new file mode 100644 index 0000000..8dd61a6 Binary files /dev/null and b/i/067.png differ diff --git a/i/068.png b/i/068.png new file mode 100644 index 0000000..143ac3c Binary files /dev/null and b/i/068.png differ diff --git a/i/091.png b/i/091.png new file mode 100644 index 0000000..7d00263 Binary files /dev/null and b/i/091.png differ diff --git a/i/098.gif b/i/098.gif new file mode 100644 index 0000000..cb8ccf0 Binary files /dev/null and b/i/098.gif differ diff --git a/i/099.gif b/i/099.gif new file mode 100644 index 0000000..9a6b018 Binary files /dev/null and b/i/099.gif differ diff --git a/i/1.gif b/i/1.gif new file mode 100644 index 0000000..7797d47 Binary files /dev/null and b/i/1.gif differ diff --git a/i/10.gif b/i/10.gif new file mode 100644 index 0000000..db797d7 Binary files /dev/null and b/i/10.gif differ diff --git a/i/100.gif b/i/100.gif new file mode 100644 index 0000000..b67903d Binary files /dev/null and b/i/100.gif differ diff --git a/i/101.gif b/i/101.gif new file mode 100644 index 0000000..4a70bd2 Binary files /dev/null and b/i/101.gif differ diff --git a/i/102.gif b/i/102.gif new file mode 100644 index 0000000..13a2587 Binary files /dev/null and b/i/102.gif differ diff --git a/i/103.gif b/i/103.gif new file mode 100644 index 0000000..c3618ee Binary files /dev/null and b/i/103.gif differ diff --git a/i/104.png b/i/104.png new file mode 100644 index 0000000..98f3ad2 Binary files /dev/null and b/i/104.png differ diff --git a/i/105.gif b/i/105.gif new file mode 100644 index 0000000..7eeb1c5 Binary files /dev/null and b/i/105.gif differ diff --git a/i/106.gif b/i/106.gif new file mode 100644 index 0000000..f0cba99 Binary files /dev/null and b/i/106.gif differ diff --git a/i/107.gif b/i/107.gif new file mode 100644 index 0000000..4edda27 Binary files /dev/null and b/i/107.gif differ diff --git a/i/11.gif b/i/11.gif new file mode 100644 index 0000000..cbeef66 Binary files /dev/null and b/i/11.gif differ diff --git a/i/11.png b/i/11.png new file mode 100644 index 0000000..643f432 Binary files /dev/null and b/i/11.png differ diff --git a/i/12.gif b/i/12.gif new file mode 100644 index 0000000..99edede Binary files /dev/null and b/i/12.gif differ diff --git a/i/129.gif b/i/129.gif new file mode 100644 index 0000000..bbb35dd Binary files /dev/null and b/i/129.gif differ diff --git a/i/130.gif b/i/130.gif new file mode 100644 index 0000000..1a410b0 Binary files /dev/null and b/i/130.gif differ diff --git a/i/131.gif b/i/131.gif new file mode 100644 index 0000000..1d93651 Binary files /dev/null and b/i/131.gif differ diff --git a/i/133.gif b/i/133.gif new file mode 100644 index 0000000..ee2f512 Binary files /dev/null and b/i/133.gif differ diff --git a/i/134.gif b/i/134.gif new file mode 100644 index 0000000..201449e Binary files /dev/null and b/i/134.gif differ diff --git a/i/135.gif b/i/135.gif new file mode 100644 index 0000000..a071e9c Binary files /dev/null and b/i/135.gif differ diff --git a/i/136.gif b/i/136.gif new file mode 100644 index 0000000..3b0714a Binary files /dev/null and b/i/136.gif differ diff --git a/i/141.gif b/i/141.gif new file mode 100644 index 0000000..7ca18ed Binary files /dev/null and b/i/141.gif differ diff --git a/i/144.gif b/i/144.gif new file mode 100644 index 0000000..16071be Binary files /dev/null and b/i/144.gif differ diff --git a/i/145.gif b/i/145.gif new file mode 100644 index 0000000..204a352 Binary files /dev/null and b/i/145.gif differ diff --git a/i/146.gif b/i/146.gif new file mode 100644 index 0000000..a859d14 Binary files /dev/null and b/i/146.gif differ diff --git a/i/147.gif b/i/147.gif new file mode 100644 index 0000000..4498153 Binary files /dev/null and b/i/147.gif differ diff --git a/i/1_7.gif b/i/1_7.gif new file mode 100644 index 0000000..2bd1240 Binary files /dev/null and b/i/1_7.gif differ diff --git a/i/1blue.gif b/i/1blue.gif new file mode 100644 index 0000000..02f423a Binary files /dev/null and b/i/1blue.gif differ diff --git a/i/1green.gif b/i/1green.gif new file mode 100644 index 0000000..8d3174c Binary files /dev/null and b/i/1green.gif differ diff --git a/i/1green_.gif b/i/1green_.gif new file mode 100644 index 0000000..28933d4 Binary files /dev/null and b/i/1green_.gif differ diff --git a/i/1m.png b/i/1m.png new file mode 100644 index 0000000..0a2091f Binary files /dev/null and b/i/1m.png differ diff --git a/i/1red.gif b/i/1red.gif new file mode 100644 index 0000000..48df510 Binary files /dev/null and b/i/1red.gif differ diff --git a/i/1silver.gif b/i/1silver.gif new file mode 100644 index 0000000..bfcfe98 Binary files /dev/null and b/i/1silver.gif differ diff --git a/i/1x1.gif b/i/1x1.gif new file mode 100644 index 0000000..75b945d Binary files /dev/null and b/i/1x1.gif differ diff --git a/i/1yellow.gif b/i/1yellow.gif new file mode 100644 index 0000000..1e28456 Binary files /dev/null and b/i/1yellow.gif differ diff --git a/i/2.gif b/i/2.gif new file mode 100644 index 0000000..7bfc8d6 Binary files /dev/null and b/i/2.gif differ diff --git a/i/2/angelscenter.jpg b/i/2/angelscenter.jpg new file mode 100644 index 0000000..2881b1b Binary files /dev/null and b/i/2/angelscenter.jpg differ diff --git a/i/2/angelscenter_klan.jpg b/i/2/angelscenter_klan.jpg new file mode 100644 index 0000000..a359d87 Binary files /dev/null and b/i/2/angelscenter_klan.jpg differ diff --git a/i/2/angelscenter_klan1.jpg b/i/2/angelscenter_klan1.jpg new file mode 100644 index 0000000..2a526c4 Binary files /dev/null and b/i/2/angelscenter_klan1.jpg differ diff --git a/i/2/angelscenter_park.jpg b/i/2/angelscenter_park.jpg new file mode 100644 index 0000000..b19e2b8 Binary files /dev/null and b/i/2/angelscenter_park.jpg differ diff --git a/i/2/angelscenter_torg.jpg b/i/2/angelscenter_torg.jpg new file mode 100644 index 0000000..34ee813 Binary files /dev/null and b/i/2/angelscenter_torg.jpg differ diff --git a/i/2/angelscenter_zak.jpg b/i/2/angelscenter_zak.jpg new file mode 100644 index 0000000..216f281 Binary files /dev/null and b/i/2/angelscenter_zak.jpg differ diff --git a/i/2/angelscenter_zam.jpg b/i/2/angelscenter_zam.jpg new file mode 100644 index 0000000..a5181d2 Binary files /dev/null and b/i/2/angelscenter_zam.jpg differ diff --git a/i/2/angelscentern.jpg b/i/2/angelscentern.jpg new file mode 100644 index 0000000..73d267c Binary files /dev/null and b/i/2/angelscentern.jpg differ diff --git a/i/2/angelscentern_klan.jpg b/i/2/angelscentern_klan.jpg new file mode 100644 index 0000000..0a0327f Binary files /dev/null and b/i/2/angelscentern_klan.jpg differ diff --git a/i/2/angelscentern_park.jpg b/i/2/angelscentern_park.jpg new file mode 100644 index 0000000..c7c0aa3 Binary files /dev/null and b/i/2/angelscentern_park.jpg differ diff --git a/i/2/angelscentern_torg.jpg b/i/2/angelscentern_torg.jpg new file mode 100644 index 0000000..a47c40f Binary files /dev/null and b/i/2/angelscentern_torg.jpg differ diff --git a/i/2/angelscentern_zak.jpg b/i/2/angelscentern_zak.jpg new file mode 100644 index 0000000..aaf0aaf Binary files /dev/null and b/i/2/angelscentern_zak.jpg differ diff --git a/i/2/angelscentern_zam.jpg b/i/2/angelscentern_zam.jpg new file mode 100644 index 0000000..3e563d5 Binary files /dev/null and b/i/2/angelscentern_zam.jpg differ diff --git a/i/2/center.jpg b/i/2/center.jpg new file mode 100644 index 0000000..838f0ae Binary files /dev/null and b/i/2/center.jpg differ diff --git a/i/2/center_park.jpg b/i/2/center_park.jpg new file mode 100644 index 0000000..312a0e8 Binary files /dev/null and b/i/2/center_park.jpg differ diff --git a/i/2/center_torg.jpg b/i/2/center_torg.jpg new file mode 100644 index 0000000..87c9186 Binary files /dev/null and b/i/2/center_torg.jpg differ diff --git a/i/2/center_zak.jpg b/i/2/center_zak.jpg new file mode 100644 index 0000000..9ae7f6f Binary files /dev/null and b/i/2/center_zak.jpg differ diff --git a/i/2/center_zam.jpg b/i/2/center_zam.jpg new file mode 100644 index 0000000..19b0ea4 Binary files /dev/null and b/i/2/center_zam.jpg differ diff --git a/i/2/centern.jpg b/i/2/centern.jpg new file mode 100644 index 0000000..07148c1 Binary files /dev/null and b/i/2/centern.jpg differ diff --git a/i/2/klans/klan_street_select.gif b/i/2/klans/klan_street_select.gif new file mode 100644 index 0000000..d934276 --- /dev/null +++ b/i/2/klans/klan_street_select.gif @@ -0,0 +1,1041 @@ +GIF89aфж +H° БѓдgOџВЂ †;4.‘ј‹3jДXиЪ }ѓ6ЉД¦ $@|щт;щ°ҐЛ—0cВ®ўЎsrкЬЙі§Пџ@ѓ +љSЂPv!Ќz$dоhСЧ€BЭИИљЕ«‚ЮY’ё2bJ®eЉK¶¬БTVЯYхd3i¶ 4явКќK·®Э»xуТИ№WЄЯЈ­Н'кЯГR±My“›ЦАYЧ†њ\8С@†ч +A,и sgћ=Ч MєґйУЁS«^Нљ5и4ГЛЉИ±¶И’5µ-ьvgЬАѓ NјёсгИ“+_њЖЃ№:го4*Ѕ§вy±лэ-|{PБ‹µAјЌ7д¤nm§ЧJщЈЙC(Gгs`лышулЯЇ%%µ№™gЮ9ґ5вEµ]§q4иаѓF(б„Vha…ЖIИpWќN†(вsюХHб VNd+H’ЋЦХfьХhгЌ8ўf}ф1ҐћR±˜–Zбщиb‹˜Ґ”€яM +:\„6D)Ґ +MTiе•Xf©е–XNйе—R^(ж˜vИ ˜В5ш$…˜™¦›ГIз]СнUўN'*Ґвћ +%]64 +Ю`PсѓhC˜ЌцYj+„Vп +шЦлѕыЮл?¦й»oїьжkрБ'¬рВ #LЪЎЋщ©aШMХQя`Ш°VTа) +3МРГлX`QЃмМ^{мµЫћыо±чоыпАяърГ»Юъс3°ћьОМПјъЛН»ЊґР?L/ґ¬[eПRY­˜Рf]њяќ[7оpЁ Эpззґ9ћФ]=vp/V@‡Ш9рњ=+,*CяяУ—ѕ +(ЂzэЇ’—ј—јш!А\<_HXB.—АЛ^ът—А ¦0{yA‚Ћ7SS%З&>ъµk„П±ЃЪш‚®LB% +Q…@ъ‡j6heAњ‘x…ёУ ^(Ѓ<зIПzЪућшМ'=б)OxВу^p§@z…‚F1‰Stў«hД#q‰UњўC‘hЕ+Z4wЅ Јоf;Ш№оuИЛ™®\Ґ4нAл{ТZХЪT-оE@CЉЂ +°cµґЎ2+krкP +'ІQзl‡2КЎEКUт¦ЂHxФ^°Џйп~›§ЊтЇЁ‚ +;•яЃ%UЧж˜EYг^дeЖJЦІљх¬hM+Zс%Ђ%dТЄ4иZ +­g7+ЪРn– ЁM-2ЛЪЛєцµ` +Ь+ЧёM<"B‹ё;ђнz%UZЛhД?Ъ@¦RшA +І”Re}ЧцѕЅ¬ф +|Ђ&МЂАгк4V™R- +• +"® Y\йF€њPшЉА©Гµл‘uаЃ>0ЫНЉ!!`‚ґlxщЛ`і˜Еl†.—ЩЛ]fA™Нјж63бНpЋ3–з1\Y Ґн,kчњYМт9~юsfW«Ъ>·¶®Ќнk/[Щкё ўk7Де=WО“Yоj … +’яЃёўPЖMђpІGStQ.RH¤Т;ћО +ЏyЖ»аeљЏ9Мpћ3иЊе8пњз@пyОyЋзўЫЩОyVЎQыЩХц™эt'rЏx;гх Yй§+PЅњСeЁAцfPZХАUЛ^¤[5њTrjУ9• uЦОЩ l[Mg/Ќ$_8‡ +ычОЂaЏ{?»n§·»мDvИVX¶^б¶W¶ЖLМр FOzТkш§7}йWїzЈ~ +Р%}.Y +вb\·Wџ'3>€:ЮD{ +BНK ¶pћТCСцd'qФ'LРhРЫ‡: pCр‹C@В8ЊДXЊЖhЊАЊ$ђЊМш‹ЛШЊCР‹gРФXЌ°‹VђЌєЁЩhйз~оWв8яЋЫgцw#§}Y°ЋмHЋцз%—}ђ(‡rЧr&—r1§fLЂg* +’T™ф[™Z I@ip№R€RїW=6Р%АubЧ2±X§‚С–mЩq?P”µГi?у‚^зNDДґ5;R¶Ec ;2#eaWeSщ€·’я=З“2кNЪ& +Є˜Є©_0ЄҐЄ©–љЄЁЉЄ©ЪЄ#°•j©”J© ¦9«Йљ¬ Ѕ)љАњђъ™ВЊ$@Ќg0ЌДкЊГЄЊЙи‹УhЌЖjњБШ¬РJЌїxЌЮhY°q'3чe! яx†YњEџ!АZ, A@}®ЕмК^РN9у“QЩ`Щ‘K  EРЇюъЇDр\Y¤Ћ2W:бu**Љ%рЏ"`qђe!@џ‘цXgџ•хђG±—9=@§зJбЄt•U,°s@§0џхyYњ%тъRe”I+<а"р±*PdPРi/ +›ЇyљЅщ›Zр»Аљјк«ј њГIГ™јџyїй›Мыј9 ј  ¬СЁ[аqх‡рёqBЂ,`sf0g&";g¤хfґUqфЙІеN=А®#C7РЇйЇGђїъ»їG@EрH`Xђ5cШ‹ +¬" +ј +їЌ(Р$А™: ЅЪ +~YРЅчЧ&аwІh–ёЧяЏ—iqлЪѕњe·W +ы‚RF„ +вµQ¶¶ApёLPЦ<р€"аС°ИРЖћжu3Ђ—GЬ&{AlXUЁз„†D‰ёf  †№S ¤lЙРя +Щ‘]Щ‘=ЩЏЅШ +ЂЩЊ=Щ›НШЌЪ–ЪўMЪўЌШ ЙЎ<К©LєђІ+»ћ*№;@»–љ°ъЄ–*ЫћЉ©і{Ыіыє™ъЄєm»ёкЄ¶<'Ђ«µљ#pЌРmЅЮ§ф—qрЪЏ-@ЭЭЛ­:0ЏL`xЖBPН]цs&ЂPъ +ПEђ7ёц,Ђг2jYмAРe*`ТWЮ?'®лЉН-ђ^жЌ§} Бг+Юуr(РЅШ—qnѓ\аFЂЦЗШ[ћХ'^veXЖ®лyТ50eXчTЫ…я… +r‚3Р*;м†П‘=­$Єц,i]DlqтI·хi™!@s›Y +[ћб*™eр<р +mс|тлi6Ас g7igґЦ1^’Jў&8`pDd +#PШЂћ†ѕ + + @€1Ўо +,@Ѓb7] ЂчZЁ+0а ~Лµ»XоЬ ‚5аАЃЧ^ +;2„Щ И‰$О +,0СЊ!СВ+лШВ‚ +f”РТ4RЌ Щ‹!0БB††#FiА™ђЕf!5µЎСЃLxPZX!„ќьи +B°8 +bTрC3ШрГ?Шр2Ш@C6AaArРЬ›H1ѓ +$Ц—_rСѓ±14;—c–ZЪАµЧRkШ`€M +к…@Ж:мTЂ…MиАќT°B/јpЂeЎDExзqЗK,Qс б!бА +4AqKД±‚pЂ +k¬ЬЯJUS»тZЇѕІХ@ +Ќ=-bМbл?юqqd–…K%А-kyЛі +X-(|+\˜LёpђЃtж3g€P“tа4яи‰ +) „g^ьЊ2pіж + +аzk€з@OИУћу¬зфО7ѕUioSЫ#_цљЅк]П ЕЮ«Т§ѕViЏ +сp†.а &ЬБhЄЧ ozБfp6B +њ #ђ43ЧМ¦5ЋНяђ|¤1њv8ѓ=Y8T б4(И‚3РA +0йA.Йoю“ѓ›R`]щ±‚'Ѓ‚-dЎ*њ’l·0ФСт!ЃBt +ґa— ‰ЂЊD +Vаnѕ@<ґsЂЕђ +tтЊ<‹Ыїё@ Ў-®:H!јЙ† *б 2YЁf@/лА»FЂ}…!Ќ;W‘±Ё#€RђЂ›R3и’NHp“ђ7˜Ђ‚ЪcЁA +™ пъ“‚ +!+А6Xнїr BМЗi\к\€-¬«аР˜`„YV +ёйX +Cјс@зBj$•k +(ЪР0Ўў-s +†Kр~эBВВN"4)‚@Ђ™Аq‚ѓL‚`h .o]К +GЄ”G›РFэ}ф%z.ђр%Ё&ћЬЂоAяфЛ5US’9‡V/`бА€=А ‚+ —e(B·§Oэй:A +iXЭћНЏy¤ ђнѕ’p6ЃЮ"ё7J/лIAЃ&ыe^А\pіЃ +ѕїю|Oй5њћ +wPЇў=IЎ7AQ8Fcю#R1Ж&grхcb3З+dЎRi!рЈ+7a?Хcѓ±?ЂЃб2iљс.єС @"[ња/<в#Q$J"<, kp#yD ЂўЁ†3ќР Іх$ЕQ …

    ф˜*ашPV!*ЛQ f®тS? РЃы5?(‚$¦џэ)?с3?$6я®_A4Ч,uБ-Ю"80ix(hД‘aPЮъri +Ц9бћ’‹ж­paЗ›И›јc¤ГЃЧ &tҐ[ ‚ +% UCтл€fdAPт6] ъґаЈ=°Ш"ѕ[р$‘O°'H@ќѓK 72`;]жvАґ BPNў „аk@я7:DлhЌ¶Ю‚.gFgє¤S !›№3OvT‡5xЧбВЬVpь€ќ”.:lЧ†Б +PѓК<@ +яўA0ГVьа^˜Ѓ +¤TЂ@ + +‚Ђ; ?pЬHзЂ' pоJГ +$і‚ +ЁР7%ј` |»AњђЋ AhA˜Р#x@K СBHА…O Љ ИCA¬`„-xЂRhЫ +B«!ь¤##ё\%‘џ\(*¶ +MЂІ€Ўp}1АMx‚ѓHЕяШ• +°,Б…ђБбБvШ™Пшp4ГЂGЦљЧС6і±nЁЁЦфF9t„З„#Е®R‘7 ›О| +іхdЗ? Xђѓ4A "JA`$µшМЌЫAMСФ:ЗФА`eB$ћ¦ҐGARPaН8€ЌBa1Ши@эyїK„Б)ъDA‰=Љm(ЂФ Р`‚nl°ѓI8А—рдКo¤б†шЃSҐ9™%”бoѓ[ВяQ!™ ЂoПMв ЂаGП,BCLѕ•‰ЄЊR§єФ! +AЊ8 †|ґЂBh[Њ0„H*¶±5В +Іdб.к‚Zдй&˜Ѓnа@ Ђ{Ш`  A0ѓр` — ‡ђпtФИа]+8АьГй>Ж`™щAВМР‚«N яСк +,  "*ФѕппW№DV@ђѓ…pbЖљВov=„-њЎ[C +4ѓ^pр +.P^Щ7¬  +jР®ЦE$ЁAеrМерЖ°Ђ ±р@EB ЉґШx м$ЃTD‚а-ЄR¤P ґ АIhк!шSЉь~_нO(ЛRДgЃў„@°VbЌїF„a +ШhІ:ћљ°˜)хц«Ёя!y!0AиkЂЃAрbЃ…ШАHhB +4­@У›nФ¶R”яІ!БѕњCћЋY[°(ОњfЂм7{л/6gШм¦ +gUНYЧЪ›єз†d{¬J“ЭЗмБx$XAўсUs ›ЦFш­±©Q¬uшу>"(РЂFPe” +р +i:G›Ћ ]uМЪщ +А°d˜яб +AЋ@ё$2xЂ b uBpЮ[ +А`Є‚H‰Т;ИУAA d@p$аB°9Ш +,А<ЂXЂ „!/8Eф=° 5т +•џ…(¦QRQ@А‚ЋТ"BА!аcdАC0]bя&АAp`p"р^аяKZv +•Uh(EvWwa…1¶‘1f5R”wCФ†~‡ +ЩІ_ ЎN‹‚<¦`YРЅУMЋІ(\0{щДљКBЊШa€9$g +P’$ѕ8АLЃ e+@!•>_р"±$@:р" +b +p№’jўЗ§ЂU5r[F +ІG…Шњ№^dY©ЧQДО1˜иEЩ±Ш9г3оЃЖЎF§ !Љё¶€ ,†‚џх†Bk +7I(ђ¦Р +-АI,FцЂK( +iЫ6.Еd#IщЏоZbА`PfPБHЙ¬ы”цЬhpNзK<ВS˜1Ґ +X«·5R1е— +-Ђі f6АЦWqр]ІИ12„6RЅ©г0Ґ¬cК+ +щ^кдП  јШ%]R[hђђ"Їж{OЁRА“p`q<” +­ЊЭ;Ѓbh¶iZТl…wц†ЈяС'ѓC“y™чvrY¶ъБiЁw5и“±†вЉ1q?gЖҐ‹Z‚e5gD k©“Gcщ!Ъa`3rФ9s>`бќyЖmtЕ]ФEоФ…ДzВВЎ…˜I9‘Ј@ў—phpї3ХГшБГґ3РЫ`¤м„7X'0>ЋeјxM­ЦЉќҐњЧz‘zбдіыЧўь»jP”nЛћI’$гЧ•H +ЩЈ5й(ў@ +Z H” 06 +¦`¬EjA[Э7B@Ђqі »VЈ: )§=Щ;ЙС¤t!`яЊВЩ[Є ¬7{t^Ђ”7E#ь‰!рЈЛ@Ц Щ dЇь„0іо. НВд7жН Uэ†GhE5Ь1q·gј!‡u¤Ёц +Gs4‡МЎЕЂ&5IЊP‘O©ys’ћтКї†АЊж— +юEЪБЕ|KЯу!GsWђЉЎ–4жq™Џй2WLWпF…hzЉ!#й§бN?Ѓ>¬B +g3Иі, Ь^ +«Е*C +r!МўЎQ›Yў7€.уы| бGГоУБЕlф™EzУљЉ3J3Aв1# )=XЋ¦jЎuf№‚1:›„bйZ`ыX +QQJ… +‹ЊЌЋЏђђjU.UiOHEI +.NGNQEDeE7qKKK5M=5?""c==fWd&($@a'И # #\'Н :[9F(*f!&-dA!hB*`ФЁБб;И|XЧ#„Љq!ДxACFs*~S!ВЊ&"8@АЉ% +8G@ +БХґ0\ аѓ 64Ђ0Б‚†'HhBВCЙ(а˜BaК”;(@™0ЎЃе lА‹t.†¦MҐ ;єф赦ЈТхqwA‚y7dvќЂЃе  0Hй‚Яw•*M*W8^Щ RДhАЂБ†ЧG]3O‘bA їppбўlG{@X +T8ЎH!.tb !TЁЎH$Fё€Ќи‚ EјP…TІH¬pIј@”! +i !ѓ +cdC5ґя„L”‚$ бA$д …ЛЂЖ ѓЃ0M9Ђр ф  DеЃa‘^ґ`°D‹?D0†=МpbДЃLр`ОN<ё3ЖР„!€@P-*\!‚ +<‘CAЊC†%˜D?<@ЇБґ4дЩ)KИMШ„p -ЬsВЕ\tДщpљTf•5@[ +·M +рцZRпfЩёх•A#ЊЂC`C gh1Dx`^<8pѓ G$±В +"xђз7PБьPЃрр +(ЎTД\DUqCEPAЕ Mђ +%р +7¬`ГD!АH1ЈpP цXСB Дм +<A =дЙD +}2ЎВ = юкA0С©Є`Ёjк5Pя¦RXъєL. ѓK*…:SM<0ЄЁА* +'‡1…ЦьRL™VЪZkх +ЂVЂµ†Wm +Є‹9НСМsЦшж.Iq|Pщ‘°)§!НiдВ™зPg:Фiu”3… м  V–cЦЖ6Ѕyџ +р°sЅaп{ +,РњЃi`‚ШБ’ґ +є‹б +вЂTАK(B&…*М±]лДѓ ЖGNшс@њpBЄ@ьб f<ВЋаЂ$,бЊя/ЎAdђ9Жб$xВrЗ;#8D &%аО +- + €Є +АЪ_FЭ’©DE4iБJU иёФ……ґIЋmТe™ l_?tЋВ@hЂ„Ѕ/)њ N •‚ВПЁe4%ЂplЕ0ЧX ѓ +pяµve85XЖPЪWБB +Р<ЎW[‚^P7Б И[ХRhp‹•¬TТИЂ Ѓhј’Љ8=Њђ +od$-0Nё9I Oш•Aћ +АП8xoґ¤І‰шяPҐ%VY®ZаBPћ€ѓЃќ+©Бс*oљr[‰”*ѕb–[xеђ’05©YЊu–y™¦ЁwyЌѕ:±ж$м‡GМ)NAЁХЦ +Dбh>—ІpЖ±9кыµк\л‰~СА2ёХ­ѕPЖБФВкЉъbН,АѓпЫ µf˜8P‚С +„aI ˜АNI‚b chРЃЊ я¤,DД w%жйЊ Н +AЌ°лAЩ‚а‹бЃAљс‘BрѓЊa Ј«@ЄL0 Я +As!шЂ +DА·@№±gЁAхlт"›°$ +ШВv ШЂ к†дПЩ`ВЋbељзk¬]3(м@p‹BЄ;А3ЁЂ э€… +Мч(Ф©а®,АПL7† T+xЃВ†З#я(А ‚ёђФ­иC»@i~^ДѓOшNXцOHѓѓьм +1ВIђ,шД3ґ@-.-Q +Ф·nф‚ +lБђБ 5Ё +рїР B·/L=¶Рb+rqR·вQTGЖ!r5зU¶tU¦AА!qСЃB%s6T°yV +cr2tя.c1dµR;Дв.“A{4H0˜a-фU"·A2ФeФШRCШpЉ9C@C@ -PИгZLђгж^PLW {0L1Ь4 р$СH3iP}жG|iў’ EаxlЁX’ЖQ ‚·Jђsx‚а YT & A–G\-Ђ‡J™чy'`p +ZРyВРyBp2иd\˜3}О”…ZвZ*Р!а +]р`?Ђ]5Ђ)3Ђg‡;6Ђ8Б5рfвЖ`аK,АШ`&рuz#|і@:Мv‚Т3ђ~XҐ ћтvяtяo6РRР3iІ*Ђ{їЁ&`Z@a@DТh 9°,pj°І Ђм’ + GE3u„ZGS5ЋG!yзE ++>`Ађ9*р7ЖЕz ˜>Щ„€iC№кбі)rЪ +`жС&d`ЖЕ*!ђжQbаўй°…˜т +ўЖЪз% (05dµaѓд ряRзI-ѕ?ђ$$РRsU¶ *ЦAФ‚sјБ@™бYUЂСb+&$ђёЎбљAи"Ў'i-Ў*xr2tsCЦb3$’/i8 -8(­рYћ{Q.#zCсш#KrKPв7ўJ=᧘ЄL ѕdcЧ›%`¬§Гx‚Fy 0~Пx + +JВ°hЂ>µ +hЂFpy fЂyѕѓљЏљ^п¶Ђг!Ђјff`®E{ А NXpNЏRя=0vґљm Ъ§ГЗЈ7–_·Y]pЫI`mqP boНoщфO#Q*6P;№‹ґ *—‡V°^‚·Й2BP9-ЄвZЊ2<&%САцj8ѓSCК +A^6A)а /˜1ї!B(хbD’4®ДCє:¤/_ҐSзџ5Щ0Є.чъ-Д>^Цs8—AИArЗkdЉA3щ‘.8ѕ№.зb0µф‹9Yў74 C8 +ckїш<Р˜—У§9гЦY@k"Ёb°D2[V`\}2g}ЙЬD ™sf№!p&;SеuДѕАР3»АYWuE:Ёв`ђЋB е5:‚І#¤УЂWЎЛ№ќ[oџ+`5`mыц|Я`j&sZGf…jЅљKиh99ђKv +Bс_ЂЛjУ> +@ЩўPpaЂTAiЏwa C‚ 1$.$ASеRД>·њT#rSЖr —/*†яђ˜t¶Aф .ґ’~бЉa.,Ё»БUЖ›кѕНSгкК{СзЛЇ|Б>І–_ 8ap˜sCЃQk$Ђm•2¦F©›ѓ‰ґ%{h ЈBЂ{Ё‰рoР` +"эџ@K0** +а u\ +' КЁз“[ ЩWdpл§V Щ:а§Г'Р±лZеіlp?lаl0 +‰ +°-сиPeD¬4К\ћ +)DXE-Яb„“.ДК:t®EФј%‰Ю¬ SЂЮW‡П@9 Пm5Ы‚дт‚щЫґC=ЗeНСbгe.µ’“aVRҐdНЭЬOT„+iяAвZd »щ8ИA’/4®1 dО +@ +P wW Eр@ы"bвCЫ!MC4‚pЄргv yHрMZсj0Вf™ Ќfw3њґ,_ЌgGbГВRу Ќчx‚d4jp&ўO@JЂ~шHpPТЉEВN оБ +/¦9=ШИN{)›TЉяСз„yc`¬НSWd`f ХЗЦ<ёvwы·˜ nф6@=Ѓ% +я>вc:с0™ъ@9PВ8Ј 8 uDQшRЂRС/н’@!t љ°Ј^OФIg•cцDРnји=D’ЈЙЁфљ?bЌ} © +—}CЁT8рm};0@©K“Я~j\иdЯЖ•[д%0zУ7YРnPяnрР0QRa +Ћ.ђ.QQIGUDUUO//•7D/DG–DEiGҐKDJTNG€IDT7яTQET.ЋЋє.NDDK/ѕ.ЅїЋQђQ +NЋNИР°UTJjЈ+6‹E/EJI77/здQJЏ»JјШДH+GI4qG3DМ B‰lр„Q<я!E38Д+ёtї$аЁж8В +ШЧ'bis%WЁ +bшЃh`М!=я* +dTeа +t"ђ„а +ТВ–тҐ,DЋЎ &Ђ(р _±ф^f@+Жбd`‡вsaЁLAрKє"*<А;P +qдL˜*,`VА +TNyцшK + %ЌђЌЃF`Y *с0DQѓ\ +вV(GlщЪu-_pa™0‹DVР вЇ”7B A`‡axAА* +Љ X`OPM=4XКЄ¤`Ы‘d¶a ’цGl8”Wa"Tс.eЃeЎYP7"pў[ +PЁ ЦґЕ N" НаNР ¦& rB +Щз?'j2р@<@F˜#0Ђ ™"I«:а@Х'Пѓ$¤p >‚с°pA)2PВА0X03@»R6 ЄRяXђЄЃњ\EЕљQ1e;.µЩ'µ2ZґUkf3\раl РЈсЗ‘аЫ‡aЫ‡z¬¬yм!а[¤ YXOZ.л&ІX\1C Ђ@р +сT¤_!Б5р>ra8#Йкр}ў+¬D )¤PЌ©7ЗГ#[ +Ѓc0=Nґ"АЪьЎ3p` WE +Шѓ=¤Д&)‡ќX™Њн9зcЇJ&rMncaаw +0,#=*ЈЖ:3ayMu [ЖГ~·Їu +NЖцN›ђKаЦЭ7pЌзТ‚`з7YPч и}]и†>п‡>Р†^ш‡Ћи໤цчWЂeШ†њ.Y"#X- +Jщ Џ°yА§;я“ЖфЪшЋЮvu31j1хb$СC0W:у3ВЭH'А# ЗКОмLЈrЃЈЎм \і;ЂРu@!ђФёЇ„К тK!а+& +,^W`<%"џdf-"Ґ%^Ё`*L*b,,(h-,%Y›*&8 m,KE4RO%?+"OJHOEe?О5Aљ+/DOHИб+нHK+7а366/KH/+5iЫ^8r‰яIfё‘$Ќ/"№qЈL"7€јp`#BїIТDQRеE‘$OЖy1±М’'р–Д™щ0@)5*€(Ў‚E +$@d° +ШD…у¦Н !є|hвDЃ.юRщлЧ •(~эєHІҐ§C<€9а°F +v§ +S¦P˜теKн #Nди …+(Zi‘…»wн!˜€ беC‰3cяf\‘b лR§ЉЮАПzµйS§Q±єg3`А k\°Б‚ђ +` +C@Т +0DNqфA +GpЗ +JDA…†ЗJdt„•|^ъД¬Одђg7еґSO- ФяPE=€K1bџTp+,]O[ХЖJХФ"оqеlW^­!ЦXaБр†G8АD LДP,ІOI`БЦсѓ +%¦˜Ѓ%жB}ЅK‚v%˜ав +3-q@%D°В +HЁQ†qр0Љ [x0q`C[ЊАЕј( ђ…'pВКY pѕҐ0\)@"Іqh tґХЭt­й@BcVмЃv-xаЃ-иhBdtАГ n + +6”Ђ)=PЖоT0џH‘ДG8±KI”Ѓ©¤Vћ¤Сњ0БгjM±кД“O¶ +E0–…J[¬pђѓ +лЂГКЏ~с,gEлЃZ™\ўP€ + + +.`W»\VA I`aHp3XXЃ3xАМГЃЊ! +‚Р^m%iцБП±ћЖ­ёAаЪ +1 1€БXр&T  +‘БnаЂЃчђя?PR…$Ь +мRЂ•Zш·Б +43+8 ‚р –|A ±Рѓ +„ ‡љш@\Ў8Є˜G0‚0d@ђЭ"ЙRа›ђ…,81#nT–ЃЪм a8ЃtN@‚!ђ`Ґ=ГЊP±ЦкА73˜А2а2FlЂ*#яљvшP%YтY*#0! +00€ +HаtМr +А4Ѓ|YРД2!р[ЊЊЂ +мaѓ$БЎ@F™Іб + +IP“ХP…%ЊѓҐ,}и>^ъ*›аd¦ф»ХMЌ‚ќѕЗ)Д +аФЈUНАmVіљЪя+§6p)pp@ + +.P‚bC…юҐ-8AВР +:8vP@3(nФб1Д°џ_Б'‘ЉV"лј_h> АђјиХ&Д +Р6¦РЂ!­Ў'ЁЂ +…я¶Ј + ъ’*AЉ"K(ѓ +йHчx…YМІд—Т·№ЎJ8BNР5#U»)И +Q–ґl +$zнEvg‹т„ВVЖX + сж_@ +А0@ А` +@ +5хX~§?’§яHTl†xnV‰чWBnђ—]‹ч Pu Ю2xBеH;PЫC~С)&ґ2рB + ЂсMN0IаУБ3&Ђ]А8RU,`6‚f +AА bАf@[* @“9 8Ая+°„’і?m +@Pѕаd’іИ•09‡а Ф +µVV +а€iЃ*Ѓq%Aaђ%0VР3µІ=#B +ХI-РAQSЂђјQ}л9®жшћѕAБЎ)cх©FСSkу˜9`Z$ђgаџgР3°@ ґ… Хcи +А€с« +pFp +Ћ?'N•Н•Х_ДnјQFf„”#ђі1мШНґFZ9 ЏПf: +єЏзѕEАљ +} +љс + + +bdґи9® Н]џЅAЋв€YШ¬”х‰FўЗЋџUE’>~ю‰~ЦAmЪБ¬і 8]Ьќ]Кr±*ПNБ›6ВVcя19 0 Z‘ +eP°v с±г'І#QT:Є3ЧЖfq4 +Ь‚Рђ™хNцn@‘ї ѓ p,­ERk$@цЯJFp<єг˜јъOЎR‡Й7°)0c°U р°@)9э‘•k +r 1БжКийk!+E+&Q' чщщ88ьQР`aЯ„¤HСЂЃBH\`АА‚12Hар^Њ + ЊARд +pLЩb„К #F|‘™€'ЂдИAB‡¶ґh‘Ґ… ,„°0яБDЕ^nЪTЛvM5fЧЁAЌЄ+4 0`дўC +Mв,9ааHљ%д6\ +ёtеZЈkНЂ]0јЮMљmЫµYKC +e”А[JTС,Ае[9HA™O”(QрЕ#Ђ@p~с&њ#„qO$h1DиЂ‚E qФRfЁBAXР 4S9у3Zaе‹/О@S4¤…жѓ +J… GЎF7ЃDKа@D$б@UpC aЁ›l`ЂАhШЉAi¬™d.»А*D +ј¦ЫmрЪЪ0,яр)ђ +РР„ +=’^? aЭ (Ђ дuRАМ ,Ш )ЁЁВJ (А"‹…ў 0“"s€5Rх(‹,RЄвҐ+єЂ!СXМl +ґQМ&t „L†4Ћ“XPP”PђфQ“ №EКUdАXd‘–)’H†п#«А)зe zз#ђџ|vЂ +Fб-j +‹Ю„VјPLVZqЅХ€ЬАял†hkX4 +P@СI$ +d0…#hАз'маЏґ±w±њаAD +LБ + + ‚ +#‰2ИЇ¬j€BуµЉp +(™яД  /Оа'шВ . w`30 –кo +PШБѕр"Сl  p4р1A +@ѓш d”AР&Ди 2ю,h±HЈ-оў!_г +’г™vЊrТF*Y±cҐA7$ +ЊВ Ѓ!гFI +B&2q$"Џ„\я0аѓю‰¦ємЯЧ$В%Ћ,Д•—s’аPтЂёй Sи\_в?‘Ђ'ВОяР#lБY@Cє@± ЁЂ ЂГVvWЌm€уђЄЌmtЃ›°@R4L‡Ђѓ АЉ +k˜ +NP@ЁҐЂ#Pл.pA^ђМO0J`БТ +phPzОўL'фџ0&Hc<„‹FZрЏ±G[ZЌ&KGяJЎs+дЊгФЂч 8LA +G`AѕЦ »:цBh€Nв«€аEPЂ’pѓ(ыЩUPВ +¦уЂ(( i№ +ЮњяaеR5В °- "Ш +pЉhbTtАnФћ°du+‚ЖYДЂ§6ZЄ'kUУ1Df‘‰b +ЊвЧQjЪBђP +»8†ҐЬi¬:0˜ЈA~E€±„юмц+Ў +QCЂs8Рю0йE:аO +;ђ + 6e +°13`9ЂuЈБn± +А% +њu"П0"·Б + цБ:­У а‰``»Щp"иё Ш`"Ь°њE"ф‚/kP/MЖµ 0 +№ ›~л§љЏнw±Tђc¬lIp +G‘А?MЎb1ў6 +7°э{5 +mpъ2p0 +{Ы(­]ј$”«'ЃonbЃ АaРFбРШ$qУ=PА4INЏrYЬРћјРXnАї!{T1цў‡c7§ГЊPАљ9@)0 +Э»:d&pA1" V0qµ`+ 65C0d, + ЊЁ@н* Ў5п G–ДY±®9й ѕ6/0№ВJ°"0 +дІ@ў#хђB@'‘µв2J° +а‡2 ‰ля–Ёcр +qАЮЪЫЖVЙ!а +сХ{й59РвЂBA !Є/bq + +И.N +КJTT+nќ•Уџќ—–ЦҐmmџЭkk n0ЭеЉkзиk0ЉЭlkр‡њќ|8`Ќ›6— +`Ђ +(ёбрAЕ4$©rC†jЋ$!тbEљ4/€€­RD 2fIР<шPЃI–! ЊlГ‚…˜C†њ9СЎ $†иРa…†&Z˜ш`B -яZphСЎ…:†а 0Б”pEЎг„‘ 6lр1"АЏ S2,˜ђК‡]L˜qP"D&Ќ?€`ВЛ +Фm`@ X4С +#“l‚!%—°ЎB T D +:ДP‰6l(g@h'Ђ°… ФЧC Ў +7рЂ<фPC Dujb<Аf„ђd*t`В^'hq‚%t@й+ + tPњxPВ&ta™lЎ…­B˜Р+ $„qBC +¤h +P +,x<тФ}r‰@…г‘AmДO–ЮDП … 0s1d +&lqФ я3ЁЂьчь ђИ*рѓ +qшcX  +VЉ–$Ў +KxБV–', 7XБІ05ъШ??А¶¦ +hlЩIЃ‚вdЧСNmђ +#Ю‰ЎЁlУндЂ·jdCmяЂ>Р…h@˜ ђs а9 аB ј5†(Ў4 BЄ „b‰ErВ0€P„Pа ЩШќЈ?р‰ЅрЩђб], +`Ў5ЁБћP„4> ]¦Л°Љр +/€ђp„эM‡XjРЁю"Ђ  +°ЉГ ^ђ†¤Ѓ +@Є…ЇЂЛ[GJ0)„`[€@„p иа, A2°±1А +Ѓ,<>™–PТ4м$f7XыAЕSkГЬZ.5 Х>P‚w1!ќЂ™dЛ +пBЈBя‘XСхЅ lЃxА-’E$Њ!…Ђ + pjN@<@&0р=р30чв +'`&рAAђbqр +QђdУср + + ’Ж  :;Ѓ;Р‹ 0аV4jb1 АJаЧІuµТaP1/`ДGнЃYr1¤bG%@A G*АЂ\тЮх Н7ЧЗ +Ђ4  +аbЎ8Jaя-'г’J7РFђ +Ц_‰–ЉbM/ -0>PcАS"PMаv• +P +Ш +и'ФЯ@IЙ(је%f’”ЇЕЇ#Ii +`ф.HP‹H>e@Шв)W1Ы“3µ7Т2Mрщш)Цu&0Г•PЂ1¶ЉрЛёџq-АЫ’5Ђ“а%`C:@§ігфЄPУ9j‡pаПRд +D­?`+7 нс +@ЉиЄћЩv+`3 +ЧP‚©@уE[b:I‰‹РЈp +Й з%иа:.RWpN©•'U3S°ЉЁ‘тырLЎF·ТT№Ш¤Б”зњpgР€X µњ*6 6°.p?. +@ѓж +Р 9p»Ј°ЉWМ/_ +rР*Р` +yя5фDxUC б ‹; БЭJяР§­(0аЩm‰мы%:бLЉ0Ј‘18РMP +EJ..GQGM6TQT/„ +QJN. + +.I./7IET–Jj.E +IQNH¤+Џ–±.Ћ+&g8ЅC] [L!*8; +) +Ф18 Cb2,#L#F d_-;НУ +L;МКS9…Ё”њ8i¤FI•"EТјШфдI$KвHPЂЖЃљ4‰бAЌjМаQbF`¬YУ†Ќ›70бИЃC“¦9oя*\Rт„ѓ .ґA°ѓ ,„сЂFЕђ!H‡С!䇈dє1ДЌL›75€ВжЌ›6-Щґ„іжН™2ЯІ}cулK8j‡¶Yібљ‡Kf|А1c +DФА˜¤ +ONЁ(!‚д† pР®DЂ + 0HА „ +ћ1h#(ХД°0aГ + b,P~ЌxЇ0 +З +EЬ°„-\Д„Bя°‚_p D`,QD!N(!ВQёа„NXR…)ЋhI%•МhJ +U ФўTё@DeСГ‘ФЃ+ь@CGЊёЪ G@йА l·ѓ4 +› +0 +™ћ†  ©Ў@rХ + @`ЌP,НR1@AA 8DE(—А—o6OF +–Љ eQc,˜R=¬PEЉ3єP‚ +/ґ@ +Ш`ѓ6Ф@LҐя/QАсДО%ђПЕр 5 Шњ@ ghГЕ@!tУ@ђ@і_R@В]pрA}ю9‚;4Р м D;ChС”рЂН6А 2)Ђ@ЈжUA…GTСd(‡:*©q +іIю3°Б) Ђ8Ђ…@<`ЃKjА„ Р&а’— +jq Z$Ш®\ЕKgqI»ж…¬Я, # A,ђбXH ёј€CЃArа +KmЛЙ6 Ґ¶хв<Ѕг| +ЛXµ№ +| џgX9‚XђјэАxВ ¤а +Ъ(qЂµ¬]А}fр@&ђ^ _О#‡ћ@ђXЎZшАsXРh $я аЃ њ €R0ќT Z ЋТ4 +¦фWю)дOшџDH‹ * +*Ђ‚ЁЛ +9|C +ЊpЃі ftГJє*Б˜И… +ощбјШ` +ЁFф±ВЁF.P@R# Хр€ +ѓxБ°а‚F(А є-‚ +@*D@ +€ -pЯu¤–Ѓ„Ѓ@U#0eђэбЁХRxЄ§vдЁ +щRП ++8АLРЃШ Ыђа]а‚Ddа +’IЮґ -8Ч  +фР +`@>Fp№& +OёA"Ў9©fm`Л_Г Вј є^њ N ¦.—@7Уљ–мДН"AоE€П=5МR‚Ђд8—=+± +ЄЧ@ +4€@6 ѓ9 +%j1ЄРN@AHBЏRу‚,Ѓc(Eљђ„)r@ѓg+ \Ѓ,иВ +„j )˜@Ћвф‡8 ˜ҐРb”Ч&юQа<,°ѓ Б Ј©@ЂѕPe^hа)°sОА‚5Q#В8а(jАѓ +рђЇH$bь¤Ёь[RЛ и‰ЂЂ©вИЄо| /pАґUЅ:Бё+@ё(5єтГџ$+Yё‰Џ[Б 0Ѓ =ё +РѓxА;rPШ_Ѕ’ГшC +рtM/F B%hU@# ±+рRP.ђ#O°ЃW7ѓRАiР#J + +]0#р3†r4* ,`(ђ4MГ +   qnQя/С–Ѓ`!–мV2al D1срЦ–BЁiD˜.m +иNЋu&0g7`_89РЅЖэ5f^А@P/0ШW + +0 +АD°C)mЋµ8Qqe!, SЈZ` + +3В8†ђЌ 0¬D i°‰JPРOа +ФЃ^€ҐUe]b9`4‚X°Е"  Lp4БС&>S +U!Uc&W@АхЁЎг…+Ф7 +0…/ЃD%‰4C +c +2ҐБГIќ„\iуjтбZМ1Cг6ЋЁЂ)걇ЖС м€6°А*R*АВ›ҐЎUШЎкВ +‹Aс}8ГrАI>Р^щVЂISx +pg`-ЂXрB0ъ&µЇD,Е +а…Ђ)p3P!Р1° ¬^ПF^n,mCЉЃ+Б.швД79 +лq›jmу’в—4p а3А@ +в-@^@AаYgР +Ђѓ CЂ +2M<р8‡!а…ўx +‡®›&р +•2#Q&р|РЉRЂ*‹qыX °\@Р †ІЭyµВ\сQ3ќD,CбГчЕ + +9:$a ml>nk°h +O6%UQJU +BoJ5њ–—љ¤ҐЩ—ok Їk +T.N.Jj. + +Ы0Б +ХM”¶7«2!\€РЌC7lШ@tіjаD7їЪјЎИжЖ5;†Г«ЌЗm(BјаAИ5HA!З‰ BМЁ˜q`‰ѓF|рPВC ѕ DS `ЎГ H A‚ /ЂQЋА6k<›фЃaА… `рбгѓ $Xt©Q Ѓ +Р8 @)z€ +ЅQJ7Оm„gldвЖfТ +њшo ЎDь  bTеO +°p‰%Бж(™Аў‰…« ДўCuД&D 9$С›BDkђж‘Cm +]|„LЖD X8„ +L([B°PВ< ‚;XЂC +#˜ …,ђBqНЕДЩ»0  °C$yzц™i +\Р `pЃЂАBђВ‘ё @ЋЛђЈp\&ЎHp/ +'dЃ јq`¬‘=TPЂ ++р Б8!Д ;xQ„я6$ПLt`ѓ_!Ѓ +‘7«?OЁ@рBАѓ8 F°‚TА‚lYи@ЂђЋ  + 0 +6XВ°з°(а +QУ «з:!\>ў!ёX[J#1pf!t ЂJтT1@­·9`ђ1 4.g%Ap@РЂ%  nѓR\sPУ!AB&{Sy$5ў0$ UyбяIpHP +yф +mp6)ФЃ8ЂHPљ15  +pЪ +ЂVp + +p°yЂ˜Sµх™aL БiµU +mђV`< +PВ™¬aЃц‹ BсuяІ _|B7hџгЁС^тҐnАrѓІ§0 +ULЂ‚Ј + °@Р[`|‹*р +Т¬ІwXHУ +l +mд +§Zќ»Ю + +aђ! ё©_бРAx(«уLіU{w‡І +Ќь#Јђ˜ЂKЂ|@grґb`€ьz„Йљ“ ЎЕ(ВМ +Жjћ‹м#г)јџк +р +јµ]В•!З„ЊrPЗёlД”И‰ + + +”Ђќђ^˜ +Гkjдј˜Уд™ј +р а +›!—C@,А + +©i)С–ш2'Zѕ­>`\0ЎХ +лўм`КЖwё,л$&ґ° + +2З`BаU§ +P«_wЋ5mL(§¬Џg¬eЦЎw—mf +‹Ј +pХ ђ`Cт2ФqЯЁСДЎџic›„ђ Vфµ“'D“gc{ rwЯЄ–eжЛ[FTљFTуІ¶$hZP=] ц.бфAбЋб• юЮбвU»иёaµlЏХ›Р'рT©‘ЩA„а{Sа»$!pbџчYЋёЕ \m`—” @¬­G”`®Њ<9 + m +#- (я;CF%; + +1@ЃТ „ F\Иf`‚fk` +y%T°ha…€  00аЈ'­љ­&iZМёс&aШPrмxІ¦Hr|IZЬ +ЏFр8PпH‘#2вјPbЇЕb•’ггF¦ЕБE…Ъ|<3В\«®®кд‹—U ёбDZ +‰”/8me /µ`е†OLu $АЖђ4B8d0‚ мР‚Ap!< BЂСЃBTPB&М0CIёPEH!ВC˜`‚ґЎf•Ђ’˜bpH`„ :иLЊ°…OF ГZ pЃ(Ђ +J1@1'tђE*ЂясЃ[pЕ!]vбҐ_~&a†Є›e”Ў‡1¤Є*e˜1гcnЂр™ +іgNz°Л*~ж­nцAтSPlђЂЇ|БEx`‚`\БГ[qНUЧ]у|jЕ\€:Xa>sЄ«©fыjc§LЖ‰nьТ"Зm,&jZp +U¬@ENёp„QPBК +p`VъЪ ї>С­гиg=ЁшWђљv°fИ*‘И)2і¦`XЋ„zя Ђ +wА&, °@ +: +/pЃ  +(Ва„"јАГR0јрІ—E˜˜¦ЩNwХљД-v°5шBOE$*6 ?IЂ +X +>`4 +@В<А…X +† +2бJ‚R &В%N>9dљШ08 $(,<”ܘ’ 5Uе’Ї0TЃyA +2йЉуL2яЃ б] ¦RЗ)Цее•YИБ,i7[B +—›pФvЙJ )8№Щh'CЂ04А ++ХквoЮА‚H† +пLqЄфав‚ХE{gЙјвGrГдЋBЄ0Е–јд#dЂeјЃ +˜ЂћЩўКZnЂF F „/яњЂ:0‚˜`3! Р@ё +D`lQ ЈџX5шn9‰щМ§iјщQ{±їQО©^…#Ж dInрAЕbc(toѓ"˜PКЂ@яB˜Ѓ(С&В >Ђ† +Ёа<€ +РЬ–ЗЂl2а3+ +/`АN+;њRФ‹•¬!'tsXГьє!@zbУѕ+Wџ[ФFХЭ Sк$Ѓш +˜ВJ™JЏv•ҐН4_„0„N_шўЇЌ`.РЛАPё[›ЂCk k»Е°a   @1аAё ДЎ…»NґЃЁRY‚ipўOрr R9ъЂРZ @ЂЪRЖPА ”  +I +0 +_ч7Ђ R8 wZ`}З—bi¬dZ®Уњі3 +ТВAўђnB!UhС† +°?G #0+»t}·eAм–\Џ—-юб,ъЃx„v ~вaCссN$Ґ&=h…‡Т0ґ°Ѓ† +РY_Х +Oу6ГFjе гЎЛЂ ј Aљ + +( %pqp +пЩaЌ• +ЃBI;‘џ‚]Г„Pp>иш€F Ѓт™#х_ n"—‰ћѓeGB%JZuс3ђЎfРК+ : +Щ>юб;™тЦE!<юСЕ/”‡BгGuJl‰lґ` + n»ПJ +x  +f‡ кvc„oWяЇ ’Еаѓ3бIZ:ђр @\Ё +†њ‚ЎyЎ}сЃ!,…‘ +ІрnЂР•SP' *  +nђ +EЗУZѕЂ˜…ѓ˜ЊпJЅX–фъ†XР:*РЯ[ +  Phш7э бsБМ +МсђQлg +CЁД‰q–O ґ(РВ +Щ06 0@0-080;C +ђXBвв=`+Ш¤jу +pс4 +Р›:,А,€s@А’jУ]Љ  +vђnM}ѓagwѓ_Q‰Жfґ ,C7џ9P–З  +ЋЁQрґКІ2ДЊtјАB<б&p ЅёьЋh°ЛЅx­ГBАЇ'ѓwЗ\*W! К1  «МwђіІwТ–iAµUAВСЄE—[gmЂОЊa5Аї¤ аAАя>`Тљ +Э0 +6Q;ЖඵDh +6 V—oUjuЛh1_wvЎ‘ ИбF +Ьe0Ѓм…KбgА XА„Ђј’ѓфРiБn @‚ +СCm|ЕЩ5]} )‘n’)дЂ )C&4i”є єW3Ж +@¬* `А| 2ИЖ“ +Д@ЙП +©!qЙKҐ„T¦!$!vЩ ”(ГIEк/Ў[2Z–1`` + +ИЃFђЃ,њ Як@А·zЎ !ИЃ:АЂ Д  +ШЃ$$7еDmЈАpћ„Б` +8Џ5|Ђ:Ђ +z84нh1RЪmґЏ§э#1Ш +°Ђј,† A [Ё@ Ђ0Ѓ[’… +*€Г] 2Ў˜C’KkСВI…ф‚v°хд^:’I$eC•/$р@eBS@ќ`^a`  <ЂА¶ЂяЁµ +‡йзёЈpiЛ`КЊ!F¦ВМP†j)ҐfҐ¦ І@$I°УщpE-"Њ’F Q9R@Њ1рў0 +RЦX[U†<,¶@ JсI‡дВR§’Гђ5РЂбpЂ:ЂАа +ФаКXѓ}ZВ +И@Fp +6Ѕh ђ”ЦDU”ЭцЕрБ‚Ш“Нm! V»в +ёШБ!ЃэЂ +А „РЃn„жL7eќ8妤@и1˜К +dJБ…Dsg;› +Г2А p‚(аI,пrKM€9*…(±з sOхq +ЊРєNn|¶9LBX[Є§УИњцdQЬTМЮє*ё&жНt UHЇcОЅ…¦Ѕ +o– +@A@4 +‰Mщa2% и6 + 2 Ж3+р† Ј ЋСґђ хiЛзBВґ{–‰vWKУ—Ауiќ0JМ"ШwЪdаЮя~AФpgE~De~ЗgЋвq•¶2ЗK=ШcфG@xk& +р +р& +¶0U7х9 SBАЬ'ЯD*†4Їшp±hTј`K®5ЋF[ќ°^ )пзhЅh}fF& +PJP&° +0< +9ЂH§ћ9g: @a`7Hx‹є°‘…ф4_ФE`Ш’ Ђbђ°$9v ) L¬в)pчh‚ЩcNu*я‘І…7+6ѓ1¶Ђ 6щj·nКTHS€Ё@,9SHщ°3° 72pC-к…рТ#чЧE!3|уц (# ёRn‡я%Ў°#љ–B 4BCI•ZAгCGж[ў‘"*u—w3SЪ sI}У`C8ф' ShЂ–% –¬Ш–г—щq2}С9ЏќX +а +pРЅ°7p? +c +!уђ€(!їpoO№Dўа‡ц +2хBК}:*%›HќЗ¤iњ€•‘ + +0pФ +ᆫ¦p2§6— V`tQw5“aР7·ЕКaskwФйoPИ„ВunД' b#¶SLP­kйS­(~§­0&—Эк—¦3Ћ©їУ 9U8:˜§S^i—°Ј*1@p +  +\ћ„Т)iЊЎR}%1О–¤8ё-`iyё §ёЩZ~ђиµx!$'ґ ‰ nЂ3k—№>ь)Ї@,бЈЃ·X; +0 +> +> +‘Pcтa—4 +_ґw_фAх6!0@\›@ –с <’Њх– CЙ¶’"я +!ѓ §а@і џт1<ЪКС—Бћ¤i8цѓї…3 +М¦ }1·злБЊZ1LhРЪЌУJўЦЉё(кp\рq‰2ХZG Jј¦рНб\ШvUYы0 +PРГR#E@' J3Ј \RA `ѓ”иY›-№Р†R +w‰с¦-KТГ‹ЏЖЫЧгбА Ўr¶wЏ~Б˜тДc>„`PCЂЌ + +°PA$`А8L … +ђm ЙЋm!Х†yFЙБЖ€b —d +\0Аh@FlёЖШ Lђ°CpА0 +<2Ђ`Ђ +mА$§k +RьР"Рb…@ЂђЃ1$аГ +эЦSЂІУЖ)МЎ0А@#L`+$1 А ¬Е(сE; рЖА t> +˜BрР¬*¬@+m~З]«_|aA +)4P$@[еFЩЃбЭaК{кEnґ^ЫpЗ)І@6dА +0tp@BЃ= "8АxPѓ"A… ЃN° ЎЗjFРЂб +Рc\у5¦=e0CK +Шъ·ґҐРД1ИHRKfВ IXАВZ§О¦-Щ¤†ё`ёфГжmkЛЂђ +@› +@`PА·"2 ґfћІUбEА"pШ@^®$* `rm0А`ђЌЁН0Џnв˜`)8Г*p + +єE +Ѕltђ +™Ё1љя>ґЈ +Њр Ь0 ђ`%B,` +©}e)LЫЂ РЂоИЎ Ђ/-`&аHЁA~Ањ`r +(UJ©*|Hая'€рAО†Ђ ˜лHo +IМ +аЩФ‚’‡ 2ЫЃ HABH +t ‚ШаKXA˜`ЂХе +ЊvG€mwЎГЂN…€РБжё&$ "TaЊY,РшJч’2Ж7|%sEѓО0Ё“X)а U„¶”af#‡Ѓ‹8а‘ЈЈ*¶”eKЄ"&«gЂ”CDmСіoТ†Л¦6сT©«XаѓҐ1А’ђxКj“‚Чс3: A<‚R¬ЮоЌE к +фдb8€A +\·Ђ`g»ГZАk/° +,aw№$.P +  +ђHђJPNаqEрРяp- +СТІph0!щґјђ +Р +Эu[h]€%еЦ8ЂPъЗЪCЪІ90~B@ м…>аXУвЗ!FРЩ’_°љРЋ–4ЧµYЂq Ђ_ђ.9Ro +оyVХУ)вХЏ +p +ZJа‡MАVр #рN@*Фq'$лХB яР:"АCРFа"  р + +ђ_бP¬!Р@D +‡j94іf c!.—°PMа(е"@ + "аdА-ЂC + ">jў:KіоЙ—a +AђЃЂ[t˜%l\‚ +˜±8aµ¤r“Дљяk·‚Ґ+1 yQV’Q +`y µNљ @(` +° ^rp-АzгБb°H7Pj@X g +ђAАA +°:•TpВ\ВQPІ&»ІUрKа- І†-PD ЃЂЉr¤ДyvМrТЭ,“рAтd№ҐТL4F3;E@\‚ЂЅ^c–xЋYMi1‹‚ +@СHNPQp +)ђ’DP +#`ІЋя‚KђВ!Hd W dпP +a)*Ь5Щф#Љ1…дL>бћФдѕ +f#DсXnA‚e}wПcеЊp%U «‹–ЕµИkqw6њbМpЉГe‹bE(ЋЅцћ5 Nы%XGр|=ЭБО$Р5­ЖпИ]oaкМљSFNQ4ї¦m@C<™ІЊiбИ•klolmml€nn‚nponЏЋor +я¤kk‰Џo„–rrokoprЪХЭЬЫЉr$ +=ЦХplkЮpЋџk1нЩЋТ1:?>nrЌЫё Ь& +A4H0њ81ѓђ Ё(pб Ћg(ђРсЃCЏ'Q9R$Й‘vtaгI•%5є€9рB "7Є(сг†Ђ mJ°x“ +Fьыд€MЈBТЪ<ІкжЅvР¤eeУNQ'zSJS„µњ®^µє” +ТЦlСљ[иђ§№kЪ рЄиQWD€ґF‚ +¬¶V©Ќ wl`XmsГ\ ` +lХ +/0 '0Р“НѓзМs™ + +(„?Ё„ @ТЃ +*ґq p„ !@0‚ =ЬђД EЁ@(РАВИa‚l4Ђp– $я2`\)вИ<~яѕ…Ч!Ц8w6uyТN=zyІЦ'ЮYEWaС Уol!њo›сµбt¤qeи¤Рk˜ж 0Ђ7|}жipo· +P9Ў@ SHр’ +њ /°РЏ‘С>яйBЊ))рD + QCМаБEDЎД F‚CEёExЂГW$‘EЬЂ ф@A И‘Cl`ЂВ +.$ iYђ€»"Т”Х8µ€Чњ#ЅТ:ЧZЌ§ьYʘ.в]aџШ5€6ФъFHoЯњЈ’ћљ4ЃбђАeGуziЃШ+tќ’ЉИ`U‘ Ю!0ђC@1H!ЉЂў3ЊW; +Ђ|W^^1Г kЛ•s§#cЂ§пp? !ПТFvОE·>?Эi +рDаH1Є‚0¶† Б&/И +¦ +БЄ7P‚CТI$UЦВёkРjy©‹a4h +Яl +u~b^b–Ч(ёёЃ +ldОбdje©¬ rЋ]hГ=рдЉ +@ёАV +Ы!@qB}Л,|а­­ўbk(^4@ Ђ 'и@ є АX L>«ВB°А†=Њ 0Ђ(.У Еpт + Ш@‚Мб ТЂ‚rpФЈжAЌ 2n––ШAњћ9 +5Г'xа Ё†(0ѓЄ)Б jШPDЁЃBгИРGVЌT! +в n0)рА1xаzp +@Ѓ0Q+а^x@NА%xБ +¦C}‚ДшЦpЃЛќЋђљЃЭ %5К\Бr/»cь:їЖЄ7ТЛwRР*V’K}mйН3(ЕИЛe'рБ°ёZ¬@Z!А7OЙ+ЫиІ+™pј °h + +ж­…•‰”Ь &еаљетY—Qџb0E>±бЇ№2 и УёsШEЏєp;»гdЈ7–™2 ?K$ўkР.rнr:­0НIЬaru™Nк™ + +g@ў¬‘aвЦH@ ћЈњ@XЂ !P —dшЂB†ъ +7ґа/@‚ +аЂ +KhBЪ€L…ћWЃ1g‚@Ђ , +yчY +#ЩРl…ФЏ2,4ќгMP`#Г†@‚я±@ AРmА&H±Эfh +H +°тa5t2еh8pІ·4n + + +Ђхф\0C +X3Љ6‹№ІXpБZ!д#PAђ3ШX,rGQЃYя@ 38І +ЮД†¬RЃ663њд + +а.@7 +тSk"sўР+Љбж0H +ЎрLїѓvчkNT`у«R +‡ж7=РФУWАdJ HP.а3сР=DEN +`&N +pcР-Pqрbђ9Ђ' А +·¶)"К1›!Фв{w–WЃТАlАLЋIB…xhЅtkД‘иАЂЈѓ8П{xт Шв‡vЎ†…шД€JЂшЎЉ9 +ЇХ83t:;° +!wQ™T +н23"NҐ + Z‚B2(hm° +nа}рњATRXФ"SЩT?0PS`ђePDVs +>Р е`№iНЈ›R™рЈ‰¤UqКЎYTzяh­“¤‘qTgи”MуЈА‘8Ї“9‚Nj/kґ]к©•†h:.ЈчXЪБ=ађжaьs(Р/t­™nЇ©§тo}ZoОЗ+ѓXфЂi›Ъ‚B°'!.EIђЄЎ ЊЃЮ°4·ќ!SKлDo0±&ђА +‡®хяЎхЪ§XЇy)њC®х° + +)¤fHи)Ч{и° +Е–«уZ н"Ґ° + + + T :wvxY6Ј‰Э0ќ3уА ЃQ ўР+ +ц +m°ЋА +oБ*~<9ЦЛ`Я9(Ї€XЦ;ѕЃфt—С¤к=cжHЙ +"AНЗ + +рI‚„б)с +9 8ђM  [ _ј0яњ`Р°0P +ќdHrяbа[ Р +Г0(ђ%@АЂY№'•ћw).kГб›9µI‰гwѕЫ[‚ВТ3ф»•И|µg‚"К3hИx‘УйЄ+CџЎ5-2·»Љњ®QљЋіЎu;(З'Iњh™¤w)¤ђЗW ђ({,mQГ#`of§ А;ыЛп›с5Мф7ґ PШЕЂж 5дА +]°F2„ + ?¤2°ЖЪОFЂюшp<Ьh$ЦpQв№ь2IФ 2Ђ"`(ђ +Y„ЅQ)–;MeYў [hљИ;3ЃЃЙЄvЯнSg…АyЎЦ| =щTnuКљЧшЦ@KМ\Чш6—yЭќ€э#—eвмр +Эђ%оЁ;piЂTQX@[Х‘IЂr%4Р +‰ЦЏ8yккђPsРh0©є +ќ@ИљJ°|•9“ЊpТыjђ:˜U±-+¦ +<!ЭЂ‰<€–,Ј™’9ээx….™тЈj!X·+2^mЙЊCШ9ъЖH*CЎКЬ}®ў˜5и|bҐњ®ЇlшXњЉ'л»„q:огДЊ6K­`Bђб<°б·`p-МфE; ~Љ›ЃЃЧЋрAсG>%ОЄ‚p„|"VШzmc›ПЄ +ТICN-пЖqg…И•uт3­Йyи2Кt1)…(mцсБC‹ЫаpАa‚ ш{р¦р °ЦЅ c лyЧт7ЧВ њ ;Р01@O$ Є-Ћо;|Y–0жkПГ€M`P7P9° +Й5‡ Рh anl +!р(`?ђ +ЗГЕ»т4±~†B– €К•Ху¦ЄI лЮ}Ћ9Йу3·Т.К1>ћНйЭЭ›.2*BНEяg|…6:iс8 тL3 +¦~іЪeІPаД @nЅl§]пі"%*,-($  >mllnoppolrџprn ooџ§Ё©Ё™¦ r¬Ґ™І™®©kk ЎЄ«јrlPЁ¤јІџn$Fmnr­џ±˜nnlљ±§ҐЧژrk +Z#r( +Eі/q¶T/BdFK!D…Сlѓ)‡a7УXѓЎXTQЛi… %nL2\А–oЕµ…uЭ•Ч^}5˜`…’И"Ќ<тЭ$•t" )$cЈЁJJі X™/Їґ19ByІ +‰ZХФ +eYX$ђА +°P]f6#%% ++—U©4AЅAЦё¤Ec‰ґn¬Ў#jђB гЃ@ +B0D "_4!E`ѓ4Y”€}·ЖXl  +И +¤љЂД02±–AzPQХ*'l¤ХКЧ"Ђ/±]м6m“&w*П&®/[ь`ѓЗ4ёRбЦ”ё…dN:жя—ЏC~чЯ»ТТЇёо8ЂlAPпЅ-˜Aїю,0Бѓ9iX”ђА0ЦЁ +'KЏ'й·TwјlЈ¤№Aј“ЖА-ѕ¬A®гhiТАxЎЕ!СДмаE +X°ѓ &0Ж+ђ@ВL!*„sЌҐлбсw»СЖ˜ђГ$pЃВ906Аw +)и·T+_ђhR“УFрbb±—¬Вmcъ[в*xAИU.r”‹њGиљРrњо2V“xH,о +ШA р1 +<а!и@ ЁAPЂ +ќTҐ1Q„F@ЃсhABиА(Р +;и +МK_ +1‰НґД3WВE n"°є-Ф`7Z6°0-Ђ +8А8` 6H#`Ќ€р”C%iMцєN` +` + +ъ:/’60,М ‡`пц‘‚ +Р#яcЎ}wжюЪГ°#t.ќ™Ђ @Њ№п +я3 +dЩ +ђ +жK|™Й\цт~Ячe2{ыЫЮ3ёБЌЛBпxЛЪ5·µч;nn Ђ`ІІЗ­оjo¤Эф>wЅ­ќooWB©F3Ь2ЮОvБ zыbѓ:‚ fВф §$АDdнїГ  +(“НhDЌ4Y“ +8”2™ ћ—•—¤k‘fP@lцK-А* +° +А`ђрZ*щ‰А@X +@Vє¦lЪ¦nъ¦mЉ¦p*  љ¦ЯҐ¦¤Iф¦%J˜sўЁl*§l43ўiљўP˜hЄЁjJЁyК•*љЈJў”jќiС§#Jя©”jўЯ•Ј'Zx> ¤™Ѓ) + + Й)<Й+јВHЧБ—јґ6LИ5ЊtUВ«Лё,Й”¬ВeЛ)|Є—=80vgµ&А*р 5Pµ< 0№шµJL`YЂВИЬHц41 b<Од\Ог,ОїУ +l"Р5Р° +0і +vЦ‹… Ђg ' +^а|=Я +Ћа^ацфЯ mЯІ]вnвNаћ*ШћбPаЯҐ}Ъ?lЯ8pг5>Я@тГЋЪЕЬH2~ЪоЩЁ]дЩгЯщ +бn«нЯ~=dY; +щ9/}˜Ќш3oщ2/щ†ш„’oуђщ‹ъЁячҐ?уБнщящЂПНTЋД'p0уЯш‘ЏД0ЏЩЇ?aўїъ›?щ6/ш°щ‚}в3_ђ$m¶И/їюЇ жІJжµ +ЩёnВѕVРgЂ?Z р}юµџюкїяюзЯеoюZ >е/>оя9 ¤жїюµџ +$'2`%"*3(C66<2]9'$:$љZ(љBL&Y:,*9--gCY(&$,[F7++:KR®<"?"!qIM$©$НОZНZ9УФХХ'У$РНУ'ЮЯЮЭУТ”ажзиа9ZЫЪжг$”ФРмгХТШОбусЦлЭп°­У’[=uЩi»V°б№rйЦq ОЩіС0^’JS4vнћ9“gСљБ…юВIГчn^HgC:и@±ЕC !,BЁаp€–"€CT@Ѓ°бAЌDxб "hяZdс` +`/iK¶¬YІb5Ѓµўѓ­ЇЊђIkVЗљ°а1ж + &LФ,бEј2;l9[V…!~=˜Q#HdD0ab†I…&B©аE +Mjь Ѓ¤@07 вµmШЫloЯ&›{¦•ДhХ^k›.ггgГZa[Ч+sЮµГЋUћ»¬оєД‘K·ѕьмЫв`Ѓ#O^ёLгљЮѕхEп·Ц·u?“Ѕ}зkЕЪ?O\=ъйя ·ЦrцбБЃ7™ђУN=a1CPM@TF@ѓR4!ЕOEхA TYЕB`Yiuа‰(¦ЁвЉYl•…V§Аc яДЉљP•d1C!l…#ЉY‘4ў˜д‰Ћ„A„В|°™RљБB hЊARрА OTРCрq€0F-Ё0гњZµhзђЪЩ"‹wж)$ћЂвшвџ*ѕhbЉ7z§ќ§±$‘„ћёg¤’ъh ѓ2Ji њє)‚1:zJ‹ЈћўдMh!кЊ5ЄcЏ{‚z©¬± +кйњЄЖBg:‘БУ"˜щCP6HXT…I-ЃNA%В%ЂA•R^Е ]¦н¶ЬvЛmа‚‹нµд–љ +ЩrДЈmЮЖ+.  lЫх*hFј=ЈB я\‚&| C +И]· +vю· +‚7ѕчн…;оыпАя»ЅK xбЌS›;сґWя%|Ю‚WEјоБуN=рЂ?Їэц~7аЫ­хЭМ‡адщЮг®SН;Пwсz“/8чЖгОьЦѕц"9°<˜9ѓШ6X[&ф° +©MYMщБЏ~1†ё}А “V/&HБ +ZР‚ТC +a€hu°kњаюјp…ёl‚Џ№ д@DAЂэиkcК д6Ђб +n°”`·ИЕ.z‘‹Vp< 5Ё@$8ѓ+T`zў0 + + Ђh`I¦<іhJа¶ЪѓaYОXA©Б$'•ю}ґCKн©ZiФµ•­Fе)NыЧФ›єх®xН«OхљVѕк5Їs +lPНъЧѕо PQ*bЫѓЖbЎЇЏu¬еыГЎ>Ц°Н¬R IКL!6џVТ<Жђ­cизb/ОЖ¶І—=la+»’Р>6і§Ѕм$К@ +юо§.щmЮ{ьOыщщ Zюnџ: +ъkmБGwЗRwDБvнwЂ˜Ђ +ёЂ ШЂ +hЃ«чyx}лg~‚~йGzШЃшЃБ7Ђ иЃИf"xЈRo'u˜ґf"wRі‚/ш‚,Hp#Xѓ6xѓ8˜ѓ:ёѓ<Шѓ>шѓ@„B(ѓй§Ѓ€ICШЃ"W4шЃ'h‚OЁ‚Rx„TИk'U…X…I‚ҐEЂЈG‚¤~aЁ‚cи‚2и‚йG„Kh…%‚cИ†O„kVwo€…iШ‚WH…g†#h‡Ґe„~€‚8€„X€†x€€˜€Љё€ЊШ€Ћш€ђ‰v \ No newline at end of file diff --git a/i/2/low.jpg b/i/2/low.jpg new file mode 100644 index 0000000..710cd95 Binary files /dev/null and b/i/2/low.jpg differ diff --git a/i/2/sub/1ubkill.gif b/i/2/sub/1ubkill.gif new file mode 100644 index 0000000..60df16d Binary files /dev/null and b/i/2/sub/1ubkill.gif differ diff --git a/i/2/sub/1ureg.gif b/i/2/sub/1ureg.gif new file mode 100644 index 0000000..30ab57b Binary files /dev/null and b/i/2/sub/1ureg.gif differ diff --git a/i/2/sub/2cerkov.gif b/i/2/sub/2cerkov.gif new file mode 100644 index 0000000..d140f4d Binary files /dev/null and b/i/2/sub/2cerkov.gif differ diff --git a/i/2/sub/2comission.gif b/i/2/sub/2comission.gif new file mode 100644 index 0000000..2711c01 Binary files /dev/null and b/i/2/sub/2comission.gif differ diff --git a/i/2/sub/2klub.gif b/i/2/sub/2klub.gif new file mode 100644 index 0000000..692d390 Binary files /dev/null and b/i/2/sub/2klub.gif differ diff --git a/i/2/sub/2klub__.gif b/i/2/sub/2klub__.gif new file mode 100644 index 0000000..df7d8cc Binary files /dev/null and b/i/2/sub/2klub__.gif differ diff --git a/i/2/sub/2pm.gif b/i/2/sub/2pm.gif new file mode 100644 index 0000000..a3f3bca Binary files /dev/null and b/i/2/sub/2pm.gif differ diff --git a/i/2/sub/2pochta.gif b/i/2/sub/2pochta.gif new file mode 100644 index 0000000..fb25fca Binary files /dev/null and b/i/2/sub/2pochta.gif differ diff --git a/i/2/sub/2remont.gif b/i/2/sub/2remont.gif new file mode 100644 index 0000000..6c6449a Binary files /dev/null and b/i/2/sub/2remont.gif differ diff --git a/i/2/sub/2shop.gif b/i/2/sub/2shop.gif new file mode 100644 index 0000000..f82be77 Binary files /dev/null and b/i/2/sub/2shop.gif differ diff --git a/i/2/sub/2strelka.gif b/i/2/sub/2strelka.gif new file mode 100644 index 0000000..55b2b2d Binary files /dev/null and b/i/2/sub/2strelka.gif differ diff --git a/i/2/sub/2vokzal.gif b/i/2/sub/2vokzal.gif new file mode 100644 index 0000000..c3756ff Binary files /dev/null and b/i/2/sub/2vokzal.gif differ diff --git a/i/2/sub/31strelka.gif b/i/2/sub/31strelka.gif new file mode 100644 index 0000000..161bc91 Binary files /dev/null and b/i/2/sub/31strelka.gif differ diff --git a/i/2/sub/3strelka.gif b/i/2/sub/3strelka.gif new file mode 100644 index 0000000..81bee71 Binary files /dev/null and b/i/2/sub/3strelka.gif differ diff --git a/i/2/sub/angelsbank.png b/i/2/sub/angelsbank.png new file mode 100644 index 0000000..f87a25f Binary files /dev/null and b/i/2/sub/angelsbank.png differ diff --git a/i/2/sub/angelscastle.gif b/i/2/sub/angelscastle.gif new file mode 100644 index 0000000..35a3716 Binary files /dev/null and b/i/2/sub/angelscastle.gif differ diff --git a/i/2/sub/angelscastle.png b/i/2/sub/angelscastle.png new file mode 100644 index 0000000..39ea49d Binary files /dev/null and b/i/2/sub/angelscastle.png differ diff --git a/i/2/sub/angelsclub.gif b/i/2/sub/angelsclub.gif new file mode 100644 index 0000000..8d49d16 Binary files /dev/null and b/i/2/sub/angelsclub.gif differ diff --git a/i/2/sub/angelsclub.png b/i/2/sub/angelsclub.png new file mode 100644 index 0000000..99b32c6 Binary files /dev/null and b/i/2/sub/angelsclub.png differ diff --git a/i/2/sub/angelscomission.gif b/i/2/sub/angelscomission.gif new file mode 100644 index 0000000..36dd729 Binary files /dev/null and b/i/2/sub/angelscomission.gif differ diff --git a/i/2/sub/angelscomission.png b/i/2/sub/angelscomission.png new file mode 100644 index 0000000..2255f02 Binary files /dev/null and b/i/2/sub/angelscomission.png differ diff --git a/i/2/sub/angelseuroshop.png b/i/2/sub/angelseuroshop.png new file mode 100644 index 0000000..2496830 Binary files /dev/null and b/i/2/sub/angelseuroshop.png differ diff --git a/i/2/sub/angelsfir.gif b/i/2/sub/angelsfir.gif new file mode 100644 index 0000000..30a299e Binary files /dev/null and b/i/2/sub/angelsfir.gif differ diff --git a/i/2/sub/angelsfir.png b/i/2/sub/angelsfir.png new file mode 100644 index 0000000..1d86c76 Binary files /dev/null and b/i/2/sub/angelsfir.png differ diff --git a/i/2/sub/angelsflowershop.png b/i/2/sub/angelsflowershop.png new file mode 100644 index 0000000..4e46b35 Binary files /dev/null and b/i/2/sub/angelsflowershop.png differ diff --git a/i/2/sub/angelslibs.png b/i/2/sub/angelslibs.png new file mode 100644 index 0000000..a0709f0 Binary files /dev/null and b/i/2/sub/angelslibs.png differ diff --git a/i/2/sub/angelsloto.gif b/i/2/sub/angelsloto.gif new file mode 100644 index 0000000..cbe9354 Binary files /dev/null and b/i/2/sub/angelsloto.gif differ diff --git a/i/2/sub/angelsloto.png b/i/2/sub/angelsloto.png new file mode 100644 index 0000000..80c3fa1 Binary files /dev/null and b/i/2/sub/angelsloto.png differ diff --git a/i/2/sub/angelspark.png b/i/2/sub/angelspark.png new file mode 100644 index 0000000..777ad50 Binary files /dev/null and b/i/2/sub/angelspark.png differ diff --git a/i/2/sub/angelspochta.gif b/i/2/sub/angelspochta.gif new file mode 100644 index 0000000..6ca3453 Binary files /dev/null and b/i/2/sub/angelspochta.gif differ diff --git a/i/2/sub/angelspochta.png b/i/2/sub/angelspochta.png new file mode 100644 index 0000000..b5a66e5 Binary files /dev/null and b/i/2/sub/angelspochta.png differ diff --git a/i/2/sub/angelsrazlom.png b/i/2/sub/angelsrazlom.png new file mode 100644 index 0000000..1d42c9c Binary files /dev/null and b/i/2/sub/angelsrazlom.png differ diff --git a/i/2/sub/angelsremont.gif b/i/2/sub/angelsremont.gif new file mode 100644 index 0000000..5d0ba58 Binary files /dev/null and b/i/2/sub/angelsremont.gif differ diff --git a/i/2/sub/angelsremont.png b/i/2/sub/angelsremont.png new file mode 100644 index 0000000..804b0d3 Binary files /dev/null and b/i/2/sub/angelsremont.png differ diff --git a/i/2/sub/angelsshop.gif b/i/2/sub/angelsshop.gif new file mode 100644 index 0000000..1843477 Binary files /dev/null and b/i/2/sub/angelsshop.gif differ diff --git a/i/2/sub/angelsshop.png b/i/2/sub/angelsshop.png new file mode 100644 index 0000000..0db937e Binary files /dev/null and b/i/2/sub/angelsshop.png differ diff --git a/i/2/sub/angelstree.png b/i/2/sub/angelstree.png new file mode 100644 index 0000000..7915d4d Binary files /dev/null and b/i/2/sub/angelstree.png differ diff --git a/i/2/sub/angelstree2.png b/i/2/sub/angelstree2.png new file mode 100644 index 0000000..d2b6125 Binary files /dev/null and b/i/2/sub/angelstree2.png differ diff --git a/i/2/sub/angelsubkil.png b/i/2/sub/angelsubkil.png new file mode 100644 index 0000000..eb990e2 Binary files /dev/null and b/i/2/sub/angelsubkil.png differ diff --git a/i/2/sub/angelsureg.png b/i/2/sub/angelsureg.png new file mode 100644 index 0000000..3b1a8e2 Binary files /dev/null and b/i/2/sub/angelsureg.png differ diff --git a/i/2/sub/angelszamok.png b/i/2/sub/angelszamok.png new file mode 100644 index 0000000..1ff4dde Binary files /dev/null and b/i/2/sub/angelszamok.png differ diff --git a/i/2/sub/auction.gif b/i/2/sub/auction.gif new file mode 100644 index 0000000..62268e1 Binary files /dev/null and b/i/2/sub/auction.gif differ diff --git a/i/2/sub/bank (1).gif b/i/2/sub/bank (1).gif new file mode 100644 index 0000000..6886ba8 Binary files /dev/null and b/i/2/sub/bank (1).gif differ diff --git a/i/2/sub/bank.gif b/i/2/sub/bank.gif new file mode 100644 index 0000000..ae37528 Binary files /dev/null and b/i/2/sub/bank.gif differ diff --git a/i/2/sub/bench1.gif b/i/2/sub/bench1.gif new file mode 100644 index 0000000..0daa246 Binary files /dev/null and b/i/2/sub/bench1.gif differ diff --git a/i/2/sub/bench2.gif b/i/2/sub/bench2.gif new file mode 100644 index 0000000..fc04113 Binary files /dev/null and b/i/2/sub/bench2.gif differ diff --git a/i/2/sub/bench3.gif b/i/2/sub/bench3.gif new file mode 100644 index 0000000..a52d23d Binary files /dev/null and b/i/2/sub/bench3.gif differ diff --git a/i/2/sub/castle.gif b/i/2/sub/castle.gif new file mode 100644 index 0000000..36352a4 --- /dev/null +++ b/i/2/sub/castle.gif @@ -0,0 +1,415 @@ +GIF89aXќ + + +Ћ_mІ“›q7u2FЂ'ИАД„kqЮЯЯІІІZABЋ•–ССС№Є±ќЈ¤˜˜˜УЖК›’•’““–––}‚ЃЁЁ©µЎ©¦¦¦›››z=P†††|||НННjnmooodbb‚‚‚­­®wwwuuu;;;ЋЉ‹‹‹‹w{{rrrkkkddd[[[```WVV444GGG\\\LLLўљџPOPa_`HHHЅЅЅvwx{zz   ВВВxxxџ}€ttslllfghgggФХХЏЏЏ{{{ѓѓѓbeeXXX‡‡‡‰€€ЉђђVXX^``Н»Б///‡€Љ777SSSCCCяяя!щ +B5,“™љ›њќћџ ЎўЈќ +˜¤АБВГДЕЖЕ +°KZX++(Уk…5s\YHqWqїЗежзийк‡,UZ'‚N~|Q~!bQF<(”d>@xИђЃC€r¬›H±ўЕ‹миtАЧ"ОY°"kI–+Ъґ °¬ЌЃBcАфйsЃП +$hђ¶‚Жџ@ѓ +э¤ +hb% ˜&ЁЙ"ѓrњd˜SL€+I +Z8 +’7¦ @uІZ +Ђx ЂDP YрАЃX@Ѓ.Ф ( +рА* Ђ.hHfъ,АжРL ~РB–Ѓ.ЂЎXPSfґ …„ +соЂe¦L+p0FjP…э©aнХ 9*"· s8 +*иѓ +0>M• UК@nфC>”Аp[ђ'IGВњрЂВ 2…М-APР +)bDњЎЎ;с@…!ЎЂ)Ђk +АњГn м·Yй +)АBH>‡5 X6p„6Ёa@мp3‡>pЎњЉ$fCµ©•u0ЗR¶†9dА3(ЃnФЃ@єЎРѓ>4‚1?BHа’ЙІ_ИHC6XUPjрE©аРЪn°яРIиш +w~@ ++ич°SАІ*ґµЅHPЃъРІ:€д +Н` + +PГ +`6›і +‹У–„Raf°^А=` +!¬д"жсQ1ИnАу&4ё†°Kрj`QПBJРQPK`2˜pIqGBE + +кы!KРK`c +Ъ:[° ¶TB·ґ8а# + Ж8ЂВ 5 +Aђ +…)pmаmёр—sQ~ 3YР*л¶Zђwcp +ЂБ\p С%°ЯІщІўёU6ќ"(Ђ +‹к»бяаѓо4>аD (D·6PА%ЗU( +k”`}і0tpгfD¤(аДK/s°Дљ‚-K&'Пf (j°I%_4AЩm 0XcР™,yЁґ?Ё/А +SHHЭг’”ЁЃ +яIoРrqЂXЉ!rСP рАuP2s¬0% §РЂЛx43тСЗQxйѕВ)—ґЭІi0l ґl›w3!dQ0©‡г’›ўЏж?4«іC­bAEід: +Vh|˜ +0іс\gPm0L2р ЊcЎo`q0–.#°oЂa-ЂУаУЫSJ=‚ +‡lа’J +Hђ-б<  #П +АьQ',0ђя€ЃЇч$Iђ,{карµ +•• +FШг¤6|@)* +P + +ђуf‘А9 zv.KХp9°‡ +Є)’ЊЈІ-Ц@9Їе'QP»O[ к`° +` `F(e^@ +V +р+›8Шr*mКq°ёY@ мђPu)]pG‰Р hиЂ+ ќ?`D@Ў%ЂUpR#Р ЂpS_§5хµъW9A$iС-iСK;њ¦‚+А.9 +`ЈgЂ +њZг’”вQ}B2+ђђ +ІЎЪфЛЈ5\Аwdb›qќ}„5°»IдЯa09ґ‘  +›J4o YGHр@ђ ЈЂg @o +H°* щ‡{$!‡/ъу…h%Ї*ађД"^VР*Љ¶ +иъ·-Zњ°ГўвPъз +6зKђІЇУTќ†)Й 0qP&Ќµ‡µC­д!р +ѓ$‰`яb”·~ $љЁPИ} +Wр +ЗЃзE‡8Ё +»Лс9fч +JZ +~АЪхm +p®ЂВЭ‘QУ “ћу9ЮPЊЫЪPpб%8-BUР 8°% +…2Р +ix дtМ)UD4ю­ЈСЎ^в +Z Ѓ6Ё!@ +tаAfМ1@*PЕ›› +PD §Ѓі№ҐKAмRH,б )K жЎ§ПQhЃ„Q¬`АKK¬AT9 Ђ†|„А­ +<ґбG˜ёo0o@ђBY< Џeiґ~иqґvжM‹-іьЩ.ЭwАH0G $zА*ґQТ7ЃВ‡ + бUS AяЦp…*ґ ЭЁBърЁ%¤а +uЂЄ@Ђї +k0 +Ф&АЃ „` +OPL_<`К +ЏYМЄ›ћА3р +QаА5TА…Ња +h АOђЏ*|kы Жo¬ …m +АВI>р/ў<Vm + +Ъ  ђ…xЃ/pђ +#@„erLЂHD*^[0РаТБєФ p` ГєЂ + еАяЂ <Ў>j8 + €о3 +# +lbУ®PЌшa + +а„7ь *@Г™Љµа…  +haxі¬* †¶©E.”&¤Њф!,ZВ> "ь +шx¦й дцЪJ +o8‚ +а‡5T’epZВ°§”…˜’ВjаgLܘяё  aЦ" „ +Фтаѓђ3р +hЃ +Т,Ег#€€SВ#зтЕ_zАjps +QPwe < DХЎTkр +^а +зАD І0.Ѓ0yFЗveG + I0џhрS]P +u+˜¶A вrу#)+mТOuт +bjфд6@{Qb тЖА6-1?v§ORjy рjЧ’ +°$А,Н~ є;€Ї9•q†==ВCLAя&8eЃЭv.°еoМnlб#j·БРЙтV +U°!Sіа + +3_m¦V8ыjбWb–dVSАjАж +SЂgЂ + :\  +tuОЉРLЕWn]ѓкЙfЬЧ®gчm4W>|Ьб}рVP- th@ш¶сP2М#гCє=Кнж,Т8€°бW +C3ЯбvвQR„°%P}P АЃ ¦чl +‡Vkm0<~1eґа0pрР)ђяm Q аRйLП +FvОB$W}€фТ°HМґм^`дГ\’@Ѕха +HHя%qZЬР +ТBTуѓ +IѓZЪЁ!РG +#є<рЎ˜h*ДA%‚џ +Pј<ИВЈЂORр€3Л0+V™Z±b—я¬uёТЪ" zJрksаЂ@+mа4!РfB+k„˜"ДR-sЪ\y +V` Еџд])t +р„O D +ЉQGI 1 +ЬУ +(ґ‰W[ЂPВ@xщF%MPaUtakЂС…VDj#yРw +bdPЂМ] + +aK`h9Б{•Ћб(М¶r + +ГҐтЋ°њў]q-”э\·ъЙ2 +ИЎаЙ. Ы‰<ґЃЕYґ±Дm@сяБ—ЂT^ +Ђ` +зHТ% + ш@T·@Ѓ +ђа( +OXГ„ђИkSЗк Мз\ wФЪЕ1jГ Ђ}6+§8Уr0pјV +Ђ + +аOИ‚˜л°Ѓ"= 8 +&Ђ¤Ћ`Ќmи%jР2яЃЊ` ‹‹(Ћp +еЂј° +9ј7тЃKЏњsq!риШ@X€ + + +dЃ1П[КfT…(ґ +ЋуbdЛ#"Ь\'7ыQЕ/[Iп­o@lэ¬p†AѓLP$€ъ(Аc „а°Аx†"ђА SъБ€ хћ&ё‡QЇќ©¤СЁ +±и`А¤`s' + +„°'8s^8ЭДР‡X" +эвѓм(Я>|Ї­В}ќS‚ Lњ;gЃdдП„ +І(XИЂ +Ц ћ+м(@ѓНР`Чra ++@TH@\pђ0„&\І– С#`Ђ#} 0@c +"яЂ{2$PMPO¤F +E$g§ ™‡Q`cs%°p +ѕу-X +ZQ’\a~—G‹*АpаA7!jРC +ЈШг(РрR<°?Ђ†ГНD{0@пцј'N0 +KPђj +;11Е2Ґ +“Фuлt +а+^,иzљp!>иВЂR¤г44 џнa†ЋIL®ыx ZА‹ +ФЂљHъфfFf-vФg(Мѕ@`@иIt  [ +єЂ‚»А9$  €Аѓ7Т…rkЄH4d'яС`h  хKЂ+XЃџЉЂ¤›Їn": +“03 еa<ёа Є EPGоA/КА ЮЈ +pyKxTRQр1`0HЂгFтZf±i±а=иБ +zS·¶t. 5Rт +‘T83СШвQА”ў203®rэ6:Ђpр +ўNE§ +а%U¶M¤>mѓ'¬ЗNоЦ УрL'Цo$`~oр>¦ @qMpоС[…m yР q…ҐHv…o*@*°FЏ4"`:©cG@f`@°,\–F@А€§БЋз +ќv +:д>ЖfpА^`Р[в„*Ђ}DQ 'щАN& ш`KСµa ж xX$…hp% ` @©p +ф0uшРnЎxТ Є  ЎRJ8Ќ +еyV=К@aЧ~`+ё~Р^рP°‚’v–лр8йЧЂХ`я &ьрYЎ€›т3 +iБ +·°џEЃ»р ф¶ ЭЎZ^Ђ;ѕЈ‘Ѓ‡ЂZ@§вС,S +р.ёяWјs‰Ђ84lEў» +5Ґ!KЄ™C› Л Ђжn!=Їetхф¤~2/dY˜*XC +БnIі*0 +\”и5±°LZ°CYк Цр +uЎо!‰^ЂЏт +љtб«x зcP? VФ,)0(qА,m°­kcќЎAnd#`:љ$иШ\тXЩdmЕ€ +№p&wrјоФ іЂLГлUљ0йб=mжnx2TЇеtТ@Аш‹їU0ЉOа>Ю +K.|X рўnЭЎ„zP6ЙдЇщb4} 0'h~pЮ©~03Oа +С| \ІC +џж=Т0{xАu;$»жад +‘,3Z@ЗGі + WzсcGµO3Р~Зj¬4М7! ¦Ћч[ P +GP$UРO +БЅ`ЕCЗ9.бe#J”р +ж +RXЃBЯIл%¬аЂдH…Ђіћ$жxВH_ ЁOґqА)@PA<4fрPT ,РД.P$` +E¤€жyкЕi\iаFq,р$А1Вя +CqД®uG +Q€ґCw1Y ¬ђDq',б +zTJ +jPC°Ђ…*,V@ъЂЉЬЊMXєЏ%(ЃЋ· ж-oЙ›[шP';]B ЪЁNу2-вР H0… +яO +Ф20№ґh Е©Ѓ + +"ЂиґЌъШGфЮЇЩШr рC +ІBfP`†F#!њЖљі„€#H@йЦ0ЂЋЎA +АTW38і'?(BS @R]ра рњ +PЈ'Lб 5zC +М¤Н}ігLА s„@ +јВяђ`…'8H°К2FђЃ Њ°«›)ЛШ(¦ыр0 +Ђо>”Б4ElБR«QйР@FјјҐ,eщ‹hё{џh OXАрQ“T “.т˜60pжM‘а«>ф@ГлћСLR[KtйѓF¶ьP!ґ‚ V,„А ЌЉЂ ++KА> +мV›?0CCМ ‚чђ +0*ъ +ЉУЂ#р˜@Э2€†:РЃ +ш!O@® + Ђ:TА-+rэЃДяd +TУ.Щ‡Їщ!Oo)\‚“д‚И&ЙѕћCПЎ Kр!p‹Pй!§4«ЭќсГќ?°«В«БдUxР`B:ЂбO“°ђХДЋp° §—м@.Џ` +j8 +Ђб?( +g‘ґсy‚%X¶фyќ'zќz ‡ЂўЗIфЃуЃsPР,#Ф]PI +ЧЕ ”–ВтMрkАjРT”яD’ +‰У ќЧ.њд$Е$*ВКЗ°°LAa jp LучY` +‰Q3p +o—ѓЭтWТЈ‹У ~0`P +P9ўрlёЉ!™y&™†gh†fш…ћчP•ўqЁЁя†Ж4Y +ЪђZZ}@3bPяџаЂ)%Й.Ў7©˜ґђЪќeHґ ґ()±„<л±,аZ1‘#  `А^Р}а6pqќ ч \Р”М1\аuЙ OІУmжф.™w’‚еy +cLщ№Н8‚ + ™ +цVFcѓ7ЎЇ Ўµq†Oж¬8еґХ“©Ъ +€3z‰3©rK†+@–[Ђі'cлQр`”ъ@яЃЯY©G«ґи[’BKЅњ”8тV ·—ѕ"¶`5ђVаfђUb%]@ +KДU +©@ы·xњќ( `рyАЎbQїбя•¦«„\†I+Ин«ВK¶ЏВ +e±СIвЁµ$ЦђЖҐїx9°ArDl•жЃЎ;I.ијqwpтPXp“V0ёZЫZр +ћ–¬Си[Й}¬ґ“:­hHа їQ­Pµ/йРО™(’фaЙџ§УіяьW¶tћ№©ІpHGPB0 +:Ё"dЛ ХGх‘кС‚¬ѕx ТйЫ†`xЙЈWУа!Р.1hcј±І .\yЬБ­ќҐFіFшqJ*ћљ·ља + +9мk +( +ч +ЦШю°ЅµacYZ +5nc6 +fSqP OG $ж` 0‰‚^tiSД»ґg`: +ЯаЭНЕ®Г¶»јЇ›ѕГИ§[]гждI.!СХЦѓk`qXHШЮбШ†{p$s\R_^e`ai”|qЭСєдЮаБyDЊtiNOI}ѓЌЖЁZunJ**-mqw+/(zdPaNEЛѕЇYP/ЦЄ¤љYZЗЛО®°ј­%LLNПі®О2!}eZ¶ёАЗёeC<=PRX2,,ЏЃ^!  •љ „Љ‘;;=uy}ЗИЗ__YAA?SOONO6Є„ †‡ѓ00/О·№іё¶sI?™›ЏЏђ€џnpЂЂwM !!  +_;чЉMе¦ћл†IТУРА®®іђђ +ooh¦§±уЈq„ћЋkГГѕяяя + +  +M@я +rБ™Ec +Зд8‡>«¶у·фҐЃZhJ%™У%Б¬.‘R}9r Н&юЦєl+Р¤K2ГєЬЪс%OhCюHtоУ—xэ•m Ч_б–_ І4ј°Ё/З:p‰Ђп@Ѕ-=хJ0іКУЁS«^НєµлЧ°cЛћЭ +ЌҐpи†rѓ +(il»‘в[Љ )S¤Hyф;8(Ґn<чfЛEћҐyeu7а‡oя d†ьЃЗnЂїсм†ычоЭ*оы№р)fФ0C±№г=ЃП¶И<3O 0УO!џd±ЉМ8тI«ЊѕбКЋ°ъh ЈаЗ'№т¤QW% ~рВ(PбH°ЈиѓдПщСП¤`˜бѓJЛП~ОГв„ "ѕЦvв“АЅ°“@тЏт˜ШіЌШ#Ё + x€ў‘рЅ\°}Й\АZЗ=РIаy=Ѕє­{‹°Ћ*іЬЛЬя +АњЛ№,IЌЛ?` +\Р +Д@ D Д°бѕПѕѓрмѓ@ѓ@ ѓ Уvђб/> Ѕђб.ЋнDPм2ЌШ»­Ц‡ЅЦє +В +H`ЕтЊЅШ+к@ +ФР ФрйФры0ьџО0жь‚`V™¶°ПпщЪпщ‰яђ ьђВ’юЮmџЕ™PЕЂГ«+иIГОћџВpйЇю‹хсНтwЂђф0€ђЂAtgН@k!9гмL€€њ%Y)Ш’; +ЮcpН‘ +pа AgM$А`@g!6Д‰Sс D$GЦ€Ў ж —$„=ъАЃ‚”b€ѓбA„¤IpЎ04I$.VXЊ!‘€„МD8p8І„KЇ +&м뵄ЪkzQ˜ДЎW/Dc3rУ*’:6Ф ,ША„ГыѓL-°Ѓ#u2.ьgB† €7ь9І/°d@N,v,ўґыц%“(iІ„ +А §я†БДИв-FМwђо,˜^а9PМ…D‘eюМF¤hНI0'cЖЃИк +0"‘GІжN1‘’(bџ„$’тk(®_у]–і\Љ–пј~&Bьфж˜CЊHОаа ЯМг‚‹V„‚ +€ fb€ЃAC <†‚"AЊHЂ КSTqE[tсEc”qFkґсFsФqG{фсG ѓrH"‹4тH#)ЙЃЋ™a,覛ШЃћM СЈ”.>P&EmfЁ'Ѓ>ъ іЏOьp¤L3°}>1Ж‹GѕARЕoс˜OЃДљОмГ?>)уМк™яA›•СЎ‹фЂd“F`#‚Y"h +®ЬД6[5=$йв{VьfuЂ@‹Qi¬`=Р€@Ж +h§TzSм ‹! +6\t zЄ`ЦЖoJЩd€{jl‡j@c–Э аЉ +ЁbVЅЁўW)БВ‹A‡ +4РpАE6иБ‘!єи ^"Щ(Ґk”эRFJґЂ@џ!ъЌ±2јРяGЏeg§ъРc†—gЊ@H0f„j @cъЂ¤”njґX]GgF{˜РC/0:F6†РgWЋaT†‰.Ю,Ejў{l ”?л)ўHРЁщЕi$Az +€qh+Я™Ж&јH ђ/Є©сЦЬat ЎмFё\Жjѕ($QЖeь·м!*‰± +]˜°73™Й5ЂАиQЉњЎЃ ‚МXХ&A№*Ћ ФєP да + HЂRЂЈиБMфHЉ +Ђ&¤РOE,E)4 ‚+|ЈгшАPЉlb†л:T КФ®z aф@С@=Ф`‘dєЪ.Щ*|‡ЮhАP1Еh +¶љ6ёЄpE‘PЎZVa«[pQ®z…&lU , + +nSќы\иFWєУх) +В )ёA +4p + ђ†4м +a0ѓЮ ф +Ўд0 +!…чє`»4˜‚ †р€UHў_HГvаЯяц +4ђ‚p +npЉ;XВПђр +¤°…-Ha +4аpnр ЯАГEшЯ<иQЏ4ђ]АђЎв аCЕ+^1fЊѓм`]РЯ¬0… +9 @ћВ#В +_шВwїPп)3аOё†ћЂ…2¤щ ZР7ґ +.1g'мЃ +r®і.сф<лщ>Яі@С +|`Вш·@|ЃНРкАa"vpЬа†№Я +z€6xѓ(Ѓmw‹ …O(„^sTЁ‡bш€HЂ„T˜‡h7X…QЂ +ёЛІ{C».°±яІ%ЫЃabДй4&2Рџя[і‘k‚X>рk9пЈ9™Гі<ы>Г>«л9«4Zр3ыу№_ё‚KШ§Л№Kё9;;?7Л8,Ё +А +ЁD<@CMЬD)У +рјnX† tр +ЂѓЂѓP ЂnЂѓfД +h +и@ш=6є=И8-А-@qё]X† +РДK¬‚'ЁPьД&8?¦›9;{:PЁЅ°»Іі12(-8ЖeР +@ А +(ЂяQРш]p +€ +ђЃ\Ё…!0 + +Ѓа +Ё‚8X‡{xЂnp +Ђ}|Рх@ + эVZфЂ(Ђq˜Bх…qMЪq˜Ґ9Ќ +TA +>uЂYК†Yи†І•†e +ёOИђ ё ChЅ‡рAEФqф +R*:ё„—c№mЃ]˜3ґ+: +рЂoшYвУoШЯэЌo€ЛµЬюЯянЯ +ЖЎhИVўTZ§µ\ -ѓ€ХHt Р(^Г] ЬF}ЂhЂ˜’ш¤ +ХЬъ{ЅД¬јДO<±LЁяюЁHУ§hЂNУF•Р9рЏщЂр +Ё +ЂаЃнµЂ8Ях]ЯjЁп +_XЯфХm_щќ_xЯH&ЂhёвI:} +Ђ0JшЂ]6ЧќEЧhxЂuPЃuX@гfµfMАcSѓ hqnKђXA€`Н®ш15ЂD€»х +€5ЂШУ kЦ +†Ѓ ѕаОiPEюЮђОЃi +А +аJ,H‰®…Јvg +Ђ P +UV +ц…яv +АNаJ-а„щНЃJциHЖdжVnLоЂjи +йj° +Ю”Р˜ѓђW6Им +hР`E +pЃ +X„ZШoLЧTMНNзфLзoXђ…EX„кН йаМUПЃѓк¤MZљVх˜fх°и›>uUПмЎ†ЩGЌVЋЂ8 Ѓ1 +Ё+Ы=]РќSРЕЎWзS] +ЗфN·‡э&„xpЃ€зЃvhmhxцmx˜Џщs°Ђ†gд†уЃ?й‘6йh—б{ш +–тqаmlх†+GФЭP ыРi +ай‹WP…µґq®Ѓj·V»ЪNcµ°¶њFажМ’& (P Ьh$MVИQ`нЭА`ґаAШ 0T0А aяшW`њгЩpJ–<А[ЁhЮ<А  +„ + +•°ѓ6Ш +Е&,Ё­ЈGнrґHPЫ№Ш·?ЮV( ‚&hў‹љX‡Тс њаf<Б P§8˜ +я Щ«•ЦрЂ8(в8ч> ‹мqп‚›™wA1 бД:Ћ +’р«ZшIy `№КMo>Юрц+°ЂюC"љfЂ1ђ Ё +х—4j,ЎqЊkhгцqГ +мѓK +2‘‰ +d Ћ‰˜д$*T”NR’рП"& + Db +TіU$Ьк¶S™j +Иk˜‰„пщI—А@џ„Ў +›H@=є  Ш~ЈЏБ nPй:В^рB >l +c бUА}Ј\ЫeCР@)њh)hЁ‹NЃђєЂ HБґ( +TШяйHьСЂёA…•ГаА, +ґ@ PAџ¶ +HБ°JБ±B ˜A ёЃЊћ‚ЊОиё>ѓЊєи‹BйјЯ3|ЬЂЉnЃёґ¦яЃЌћBјь9+2xи|X©–^)t|йЃО@NБ#ШЯ#р("ОА,@˜bBыН@аЃЖц + +ДЯЮѓlБЬn*ЬЫє­+,n њ‚г®‚+@о*Lо-Њ‚˜БЂМ7ј_МяГ„7М?‚Э®7 +„ЃИА{•@ +”Ђ$ +AµEЃ»2C$Њ‚Шў,c,$Zђѓ+Г@@qїБщ=‚— +Tt \4 ый!ф%lCП*Б8кЈ>ІО–пНоAКѕiш‚oG?rG{ф#oГ +шA +єА(|.3¬s В'°АtВxЛЂ-B C@А­лѓDчїq.?„A' ЂИЂ%8B +МГ(шA +tВ<ё@ +шЃжJ‘rнђ@u›mж"о­j«„Б)Р +ЁБ¤нV )?М@…yBлЃ'ь«МАмя+•Ц.H+ьy”ГіzBѓ~ѕ +ђPьЁ мБ‡N¬нb)фи°ПѕД†)фN/CgЅGяйL‚B7 + +˜”$IІ¤I +xFjРЛћЌ!цИL±ЋN %ЧzфdА gЏ шр +}FЈ[Ѓuч ‰; Ђ]Т9ё"ЕЌ<йо9ЃiяЩ– +P )‚S¬0‡Ђpє™RРн]А0аD(ж5А;¦o…ЕuВ„Aњ•_4ёWЕ'o˜єЌg˜_ѓuЭ S +ЮОШE +”Л=ў1ўT©з#fTЯ±  ћћ/C`)ѓ‡ ,"ИWJЗI&Ilth`ШБІee—5 +/ҐрOҐ ,>ЄЅ*Pbў%ђЄшђђzР AA*ЈЊ&jўў:0Ъ¦"%8ь”џDм(Ў„к‹/tйb”Т C +ж!Ј€*ЉР@2ёЩяЏo¬°°1Ѓ… 49ЃN0АtHЂЪ eѓ Р№G“uиж +-DРјH@з„JёиЖЂuNЂCРБд~8З“NТ©Д“-љАdћ:a‚ ~ІАГЉy˜Ш!‹Dо№ +Yг 0шЈ +8Ц Mа(  *aў”Ђў€"ћЃв dђ!•JЃЦ"^…ўєRЁ«Ќи±B‹|ЕLN0БLа„ NNИ +;J'ќ2d’iЈ=Bи€B +џАв‰z›pВ‰ /©и%юе’_”Рбя‰ѓ +‚б ИАб‹v(bЉ=р`ЈЃ{ТЎв‹NИ”2Ђ [ў RIгр ѓTPбЃАЁќDв€г‡a<эаћ"р +†t"Ў›{Ђ˜J ЋKЅyАђА +$ЙбЏpАI˜!‚ +6оyаЪT ЈЃ8*IdЩN / >ёB„ ~Р@„ +-8iАЏрЕ"wщҐъxb@‹џz(ї§†Жѓб  +”|CђD1@В€ + +LPhx@јQЂPЊЈ +VHС vрлlqҐгhµ2\‘3HЃЃШP‰aИа'CO°CЁаkАА2T`dмkHG™d—ђа˜ Е0¬рѓ,ГЩяђЏ.жу +а-\ђЎп¤±%|ТX ф¤Ѓэ $]А&Z2ф\oAйШ6hIЛ`#!`„.СK^>Ѓ `Д‚ЂрA +шF{–ЎПІ +XPў}(,,АѓtЎ’а"ЅhќD¬‹ Еў¬®xFL C‹|#)$БSђ 0нLP¦u¬C'H‡!ЁХ +iа… +sGя;Ъб‹f\˘Љ.tСIw@–F P–¬~RX0„ Л&Ё«#qBЁЂKl0в­¶Њл.oЩЛa2в x\°М +ь  +Рѓ-”©Мi¶!‰µb°ЃZФ"t+њбЊ\ґBІ D4< @a|#pPА2р +кіґ?Њ +|AЈVЖў9†–ЙpЂГо±Ћ(@c˜АC ђ +Ё–€3$a6b{­ьT>ѕ#&yИ~Кz%yD ‰m14Уаа‹lр6†јe*ЪСЃЁ…BЁђa(¶t†H]K7%щйХKЏC’@Юљ§*Ьє№Ођї¶ +я +p‚?@V~Ђ‡*ђЃz%±ВHрАЂјюЁCX‘ gЊ! „&ПђсѓJ +ќ8aТўЌ +ґЭЩЁ@№Нmn VаЬзЋarжz?аЭlЃш_¬цыћё…2ћсмЌhшР0aсYЬб:ўшЄВзуП<{#‡н­|@±ѓJ,«ъm™~E°дhB0kЂє +ФГ +¬ђYфђ> +©цPБXЕd74  @ +ґР„•¤C AРВzЂ…у•A TؘДС‚uґ@IuЂ"с +ьяA€PД’  +ЮЁ‡џфв)MйГЫ +(_ +ЙSЮнНrрZQАКX†А ЂТ+]Ю`к¦}1_t5eЃ2Д)q\‡·V±эyЇЙ +Ѓ8Т +3{ѓ„АЂ єЎ +ђЂ¤haё€ьэб‚ 2ђ„?ь° Аћ§amШЂr бtHКmФxАША@FA\©•ДпT T T@>а > §*ag*§>О2CоЃX‰зиKTия&h +S ѕМ‰Lп (а ю†єЂ(Б^п +б. ^A^б +˜Аfaќ–Aєjxњ®ЎЂt +AўѕaФоБљ/ШЦAд`¬ ЂЋ 2ЃЖаTЎЖ` b@j ‹Ѓ’„’DЃlaэQ™B§ +L!±L@ЖІБ*бП¶дZЊЂ‡ОМ«d€„Ђa«\Ё…ЖЃ +Ю*АЁ(НoР+; с†ря|0)ЌтяђЮ(mАBОСAЂС–мьlKдсвС$і +>л +: ц КTAтЂ +8AТЎ +¤Ѓ©|!у†` `&`ћ<`*Бv0 + Ѓ@Б` +LАьО‚БdAА a +Оа ,0 ж ї0 R2Ђ°Ж X!њЃ‚2 Ѓla в Ю‚ ЕБ°П=ќТ) €ZЁЮёЉАP±@Ѓ ґА•¤hИя(Їъ2Фтz°: ,`UtUcUЬA ‘UuW·с®‘Q‘op/ +д‹У”w+ Є’¦bџJKФЊ +?Ы Ф–Љ +€x·ЅІЃwѓ(†BЎ*C!°JЂЄюВ« V‡ц€‘XмA‰; +*†ОM€@€Кў‡L‡CLd№ +хТ‚/ +Yђ]А®нZ¬ т^ +2Ў*@’†п.SAQ†м uхl‡q8єPwФ +  x+¤ЉҐWµљmХЬЈЃЪiuР№ГЦ‡0zџљ0 +пИ#hфрRX‘ъgЈ¶р + р¬8p9EА +oжЗwз-ШвЎМЩ;¬ЫЫЅ%@ЊћЪ©]Ю{®Ї +ЭдЌ‘ љ кЂЏ`6а& tLЗ&ЪФaOЈ/ я=@ъћпяѕпaАrЈпУс;УQпБ`Ђ™y»A=юAwЬ‹qp›эІtљ‰uiy ©©№гЅxЅ—Вx›·:Ќ-/Ѓ™—@Wї°KUX№сєЙw~ћиЈ}ЛҐЭЪ»ЬЪ§=й•юц±эўAзы•9ѕ’Ра­ЬЊ0яbАмьћ˜Я mЮЦ-ЏќуВ ЮМBhѕ ы^ь= +ЃЈѓВsЪ:h«VНД‡Х(VФf#Ѓ€6l рP[Г€;b )Q¤¶vЪ>®$ас#`$я3NЊЙѓG»™@v„Щr'Џ<> UXЋ8х +;pм(±]К”›—(b;Ћ2«з:m)У°a‡*PШХWdБГяYj‘%Б ѕАJ^xСfvСх‰zБgЁ˜Д¬Ўв‘ИxFЉ¬‘Д•€ аLТ ЅDА‘<А…e +40‹.ЃAET) +шЁА$ЃCd@|щҐаЈp0ђ Г gV)SKБ¶њLU@зytђSњЪ-•]4шйMќЌА›•QйЂ0…цЦЮmЋA5˜ +LI B‘J +NT’FpF§‚3ИЏ\L2Йѕ‹й8vА`Gт6ЦќиiЗ]‹ЭѓoЅш@A{!фпЕѕQigГЯ5 /ДЫF% W¶¬˜ЖёшБ=sЂЉБА0уdTЋZђoє( њ€бUn˜V„^Ў ¬КS–‡€хU†сё Ђ plPмbЧGuqv-И‚GЂЃHЬ!·µ9j ‡¶ЪЮ‘ЫВЉ!ЊСИbЯIDЊ0ДЈё0­СЉ‘pС/ZBЦЇ0@фKA—E +й#˜\рѕ“Cp/Д bяЅѓHъЂXж›Ђ<Р +8HЩЎ2р јВа_A(«—љ{АЬYЂ` Ћ!h2Щ†`–Я= …Бф˜НбЂЛ’® ѓ"ЁмKpс%1$ЃДњ±µ,’ †rЕ +њН +$LBЯа·5  °QД0‡9pA уXєтЂC b€„3ёРЉVѓД b!§8Лqa ђ#їћШ ќЋuкD/®H0ЛхB‹sЧb B9Є6HЌ|Ђ3„,¬6џzЂяЉ¬·ўй­иџљГ¬‡Ѓ{дМљИЩ§Bу +`ђ І2Q +"A[HИ‘"Ў€¶р 0дVЌ"¬$<@ ‘ьMxM.C ЕДpYИўKЏлЧЋё&.Ѓ_L1€Ўх1ћо<ќ€Ш/ТQ=ёA8nњЖЏxflЮi>`‚њiАgPЃN ‚й5а>zT„ +TЂCBЏљP gо· мЁG +ИF¶uс¬ўz€ PчП>ч‡ДQ‰Рћ l`Г *±˜Ђ +љ`­ЦсЃ3BPБ<ђі;Љ@UДNрА!ZЂѓыс5T’Kб››їa.!€ёГц‘Ѓ}C+H +fЛлmґg€иE“ьЃ9ДAZ +рP8¶DрdА–"H„Ђ“`eрЂ\D їцхН"хЇbг@±а^чnЂФЁе-••¬ZЋ™ЄИ@"ЬлЮ}ФrСЊћЂ‚в±ЏпvP‚Я]РUрЛї $я­©JХ+р[ Їr‹ҐГҐгP.ШЁ’јљжС:%®—к5|іЦ6Ш‹Hhw +ЁkЇG˜?aщ +БНърЂ ЦHDЂZдz #UmТщ…jTbP@іµ¬"n)b¦3\ѓ$пp‡Vdа‰ш Lсѓ1АЃЯҐ ојдB’ѓлFB/ђ +—Р7^!r™gxы‚?ЂЃ2“HгRАОMsі@МHV"b0•g`Э˜85ћ8‰u.ЃыаА–p‡^јoќKд@&NLУ‹Mбc– 52и^\њж|ЮуИ-6±±[‚,7Е‚ОЃESЈX‰0EЛЯ«сљї˜јеwЫmъѕXnћчкq ЫхлmЫАњЮфfБa·Г=•eLoMЅYI8Z‹:хюЅ°‡Ь:Ь5‡ќц=+ЦЉОА6БЂCГG39ґ¶k@ЬІяVЫТ +ќУ/Д0 +Z€†i€‚ц Ђк %@3А•@zа} ‡}Pф°*А PЂbЁL0˜ђp”@„”P +ЮА]0L c€EP*0;P{Шъ #°ZP@%р ›Ђ ц †­ШѓКа + PЏр +$и +]Ёџа р џ` +꘎ђ +X0ѓ8…3@hP¶ШЋP #°і  К𥠠аo`, +ф +&Iђ:hPh ыё 30©‡ЖPяЩ0•%h;° фа +PЂЋЦ ‡ђрЭ ѓрЦ‘ ॠЊ&и° +ЂРРX›p—х0PРЋЦ` dи˜U ѓХ°хђ +-Шф oP“+h;…Ґ +$шE +µPфР,xo ф0ђ,(љк  Рќи +Џ`™ Ђюy‚У њъ@e°Ќ(xы9LАЉ)ШOX +`‚†№шLpџл9‚Иi‹хP +ѕЂ‚о к`љlрџ:рџЂ— + ‚lрћД‰љ)h `Њ%0 *ѓ0%аЋ pќ*ш +Йi +CЂЈ)ш + #°–)шZ# +' +V ©3 ¬5И‰єЁк©‚рнXlъЈoабЄ&˜ +3аЊdz‚9 њ[ …ђ +„JYX‚УP +’j  є‚lа P˜рЎњк¬›0ЛЂѓ +&X +›J‚wъЗё‘ђ@UP¦ккЃ:0zАЊ3‰¦‚)ЂЦАҐ‚ +фЂµ ‰КЊрчАІ&˜џ?Щбiґ hі +­$˜# + `ёкё Qикш хрЫк‚ТZџ №Џ» кИё °Џ‰»‹%Ђ +›аO©Ё+Ё]№ЊЉЇ$(љљЌ$(±[Ґє¶БкЌ|ИЄ$€ ђ‡ЦажЙа +л0€¶(№5° zPC@Oщ”^°Ґz˜­›Ђ +ЁPђђ‹Л˜ ^°ҐА]ыЃ!љ¦ P­.(¬·8]ђ˜H + аЙђЋч ¤[єЮ‹Ѕ5pєФ[Ѕѓ[љ«Ћђ0яҐ`№иѕlР…х`—Ћ° +АќX’ђ№»‚ѕ0пЩ~` %аъ№ћи№…`ВЛё‡ьи‰џh shЏЂsкZ #`q;‚”`t +0ЉJ¬аЃ* + +ЂњЂ Р]АZPXP3P +ф0х +а +Y¬ЗJ8 +XP†›№к¶?Л·/HЈiъ¶uы‚ўйYа:ѓ@—Q‹ё·и›° +µ@hрАTА0яL + к`—НУ(Э‹/М‘ P/]‰zаFM#РоьСM­„цP +Чq-ЧsMЧhЭwЌЧwmњuНЧNќЧyЅЧDHxШ}mШ18Э…„‰MШ‡ +Щ0ШЉНШ?иШЏЩ™Ѕ‚“эЧ•­ѓ +@E Ш‹­Щ'Шў=Ъ˜н¦©ЌЧE@ nЉ +ЇнЃЁ}ЫE +ё}Н%hЫј= +8 +Ј­ЁЈЌЬ;xЩy]M0Ъd‚ѓMЩ[0ЪДнвэЧM`ЬymЮг@ЮЉ]tЫЈЅт]Ю!ёЫй}ЭЉ +ЮшЬ­в0Ъ"»Ю¬ќяЭзэЧЈР +ЉЭ+иЮЈ­ЮyҐщ}ЧХнЃ +G~бЪ +4pSчEPP +™џшmoчuПшRР f jp ащ#@ЋSаа4PoПчgџ_`ы;ђ™‰чP°Ѕї™Щыф`ыјOѓ<И=Ђь= +: яыO +"Е†ЗЏ'7"–гф”7l~9z+ХцнЈМLqщТе ѕinl SдЖ©яёiѕшDVWЈ”§HЭXе†jРSU­^Э襖h +ГvHЊ2Ѕs,ІНTГв ФP ЎЊ=>ым #Л + +» ШbЉжФ'Ѓ:хшЋ>5МШу)5\)¤5P©a„"Ьt3 +“ФKКЊ[ЅЕЊnq%эъ»ЃБх¦rѓ¤’П%~€єбРg ("ЊPycnА!€.р9 YсQ,я\ЙаC CЬA§)в ј–А3М­шЖhdў&фВ«ЖиA -PC o‰,#И ї +Іґ&њ@— +*Rx’](Јњт+ЇдЌ–-·ґ— |Ћ8rh!Ѓ8Ў„:и†й¶`ЙТ"Ю{††UdH ўёE +U*6оPГxД%7»ЂLѓє`в¬h-њ« К6ЫЦ[я,‚ ґ2\нЬsЧm!u[ "тИќ|w¶)•РmJЬtшЛЮм­wЯ3R(абF}–xkЂЊ4Фsc)–¦гjф!ијp!•[JpD†‹ I@>)RС’T(Цc‹c +—iМҐ¤Т Л лB»*G‡И©Л†’{R”¤д9ЬT‰ۘ’”~±Ќ¶аї@ўиоях›{$`iА@BђЧБоЃ +}р”©ANBёШvјђ +ъА$¶§¬b ®ИјїI!@ЋXжd§шazжkЪ*°??Ђ +ЫxЧ%иаЛi3]І‰з8§›$ЋЋЇ€o^§Ї( +d Р2pВ—И$ +#ШB*†Ђн   ё_ыFС3я!$ЂQ +›ёз,©"фЅ7Ёa «ЁGяфµ[Иа¦МX7j +?8в +ќXEn%YHHbTЅCЖSі5ЭkэЁЧЉМSЁ«тJ”ў\Нj®±]х ЊH\|ґ^П(iI.4f“РzМv5уIґ№пZ‰X nN›D¤ЎдdH№Ч,®ЅN +iљд.№вJs­•n3ШЮЂbЉ +˜рЃЏV€»љќЁPRПр# RиД±Њ“0LЃ'_)В)ё±…E– ЮйD'ДВ°±ЁR?~”$·x `К?%Nh џ°‘б И0Ыu#JlщґєVоБS«lelMY =ё†OЕмS@˜РH>=oФјВЖµѕЬ<«»иЫLЪФщяFДп}§бjсО•“Ь +©C&IО…зВЬ©dЯ,3љґЩЎ®ФОsfшlЦЕ•¬Р†ѓg№T4@®ЦR*ў ЄҐ +©Хњи +o0ѓ\°'Hк +DQOPТX' +ВAvm9fj‹щЧ6R˜З| +#Eх YхiV7c¤у>AНK"&“Ьыlёp]de4»р;пѕЮТ|l5щJ‡ШДЖЭ/ ф УeC(ЕJЃЋa^ЫҐГНY)KOЁ®t·‹~ !ў«(­ +Й0)pC-¤Ж‰ZЦўћ4сГ +)vJjЌk\@ +ИШ’мУ¤Ђэk—»њеR0 +GXўэX +IЌХ–}Кm-p›Ьзe#¬j^mK•ЬUx‚TЛјur'iЈI°h’„ +lЊаg=8Zнko:У№ї›“ґntа:(ЎБsu‚’®¤є°˜) Ўєи@qмЃ +6јЎЂ'чV~њO v–УЖб4pѓdL™#˜vЂGўџ/БжЃ\f :“Я аf|^Ј`FИJ@(xA;B +66h*`ѓ=0Аdѓ~ёuX—я @F€ја°›"0fР‡ЉТјђ‚y`НC[ + +Аѓh™я`ЃD˜ +€ + Ђ51Р`gPлxІ№шЖњ‹gЃМhC&а‹ +‘МРЂIЧxЎjlЄњAkЃuАQ„Ё°№€YЁ0ܘ°Ы"„3 +\„#нG’ьЗ||V +@- + јiU!Џ{|Њ'Ќ*Цр–РёХ\Ґ!H¬sЂ +‡а/»{°ИA°&@Ќ\2?’lХg-ТМ0?‘Ь !СVva—µR‚kш.‰ѓ6Кг‡nX‡h + +…:Ы†Р{P!Ћп ]t†2rЁЈЉ&НА5№‘,PЂ0Еd ЂЗk2°D bЂ5Kў™ [OМ–‹¶Й"†іХeаж чDАKF`‰K +РЌяК­shАIѕЃ4†*qЂ° +дОqns@Дњ7V⥠+ЁР‚]Љ~‹љџС•4F\гЁмA'шрgL`РT ¦“ Ж@c€Б.I  +:#Іf+О# VDc + ‘BўGЖЎ±€(Иєђ€Ї–С«Ќі€ +ЗZ P‰?њ њ˜А +0рC< Ќой’|0V +9Х©NoъѕР!ЁW +;ОeЈK5фА72‹paОЏхGжKъD rяЉЖ,2ВР’-nґ@‡Ф~0†ШЋДIДpTS‰$њA……XGлJГPhZн VпсЃґѓ +:¤ ќlЃvµK ТбJP(N©ґу6к”Є$ѓ(e‹D$ЃИЂ¶Xa€ЂpUDNђ»ZT®rЕ@ђBCa!‰*БЫ±зЂи`іPЂ ЏеA)ІВX…'’8Жz@2Рљh4и3ё +ч€Ђ’ђЂ$ЎяEbҐ5—д ЎђИ2ўЁЂ’|@Юр + ui€±§ +ќLБ::№Ћп¶`Ы +wbюд $Hf4І ИhHnАµP1 Ћ%ШK˜ђ˜И• .ЗМ +q‚˜У“ЁXsй\'cЁ< Зњ©ДzO;Ґ•Т‡ЂDъѓ +а +”ҐO} цАЭЏ_ВHЕB„Уѓ' Cгњ`В:~Ђ6а HШtjQ Eь YHNpрЁ`Иr*Аѓ,уЂ6°A5Аt¦WcйNџ:ѓ З¤чPњыП7(6CыДЩ[¶€I‚kъ0V2 +Bњґ‡ёNiЬQ€ј "{5З„$‡Iм2.±ЁцlеДђNРоv§¤аAЛ°Че3џбWXЗ`XА}@иH&V EМ! „1 +}євџh†я-ф }TА‚82© 8AMРDaЂ?l +L”кpј:ЦпфцGЋK#Фm tщу`<р@G+|8,ЛL)А›yА +ьЫ˜‚0ђ lА>ВњБ<@¬ECеАеА˜©ч˜ФлAДдxЖ®†pђ…k”Ѓ$д„ьЂ`'¤ѓ€ѓОTЃ4Б4n¤@0‚8T‚Cя.XГ ЃЊЯxЂA°љЂиџыА4°_Тµ_Т­_ТЅ‘УС_#NЭсљ}РР іX„E|Y + …i гґC6T %,CµLЇ%‹)QжМ"ceP2DLC@At@ЕXД Ђ!|є!ЙФ0LВмc7Iњ^`АL +`БмЌPAы4џ%ќДДБ_МХF„” +`f єPжЁЂ"xАїUBПэЂЁ– D@ ‹` +Ы8,жt@\b1Уа,‹ґu +F@•%ґ ДЂ)В>@ѓ)мN.D +4µЗЬ<{ ЛЄyђдTЂ“Х#ъ¦ojn§6h¤УЩ¦6ґp6ќ!.]юi¤э™DP~Y…Ю° г`@$DЂ!tцPBP‚ЬВ(t|\LFГяРЃ/dN4јAЁ‚P‚/4Ђ®DD7”x6›DАеpжљк›4аУ`В®Ы 'H ЬњAl#Ђ.ЕЂ-Ђ-°Ђ)Ђ + Д@А +ґCn’k5Lѓ!¶_nћГ’v@вIўЖ(Эю© 5БдіЌЊѓhb7PTAЊ +C@ж|А"ДC<ј@ГЖГ"рA<ш +%РAВ’БЉ °8А:hКЉЂ8 kВ9ЩUЬ/АЂБ@г,‡5‚G§К@xЌЧ ґJґЃ) VЃЃ"€AґГТIЏtсЕ Ґbв°„7д@NYHдА8h¤7l†ИUAС +@Щ +ф¦mж&"љdn§mZ@!J]юЌYbSКХ\a@~Д”КА`˜ а±Lз( +hЙњЃ,%А@54Жљ@ђяО¬˜`‘Ь$э +Ђ LЂђЁЋА[Ш˜‚%LЂ ‚ШЩ T +¬Gq езt +qёX@и$шА!шЂјnwі$Cмт)ж4Ђ– ,рiwjDЫЗE D‹Т:(лІ‚,фЬP@ЬЕP +bн®ашE +¤Я +х’6iёfrЫ¦tЧёR7uOw»gФщж9Р&яwчn§F&ўЧщ“:bH6]x›2ы9X;Цca@СB№€В?Ц'lуЃуBЈ7z#4ш'фpрu%цЎ…g<gћБ±|ФЬ‚GН€їЩбДБ("˜PА°ЖTАЃ(°ЖдА ˜C+˜ѓ0ДССЩ +c4€XеB-Д Ј,€ +—Ф0vp–jљчж»ы¦ьA]P®nѕ‘pѕќgЩЦН}lћ+RЗг¦2Ѕ{рmЄ{M3Dѓ¬ +р&Ђuщ¦2—Y1 +a…’цт(й;ц”!)Џ>ыdПЃ `Аў‰Љ>§рѓ?ѕ6ђ‡ъ +Rъ +P ‚Њ ‚{>xАЃn4`р@TS((љ9’ЂpЊ кCTЉhз1Дјс`]<(ђЖ‘,Е + Э+*KџљrЇ))%jcђ1ЋЄ‚"Ш*"h`Ћnd @Ѓ9"PЂІnяp`™qжРАЂ жЉaЊD6• + ОЇqxE—hЅЃ,› +DcЈъА=єЃ 4Ђ†ЭР6P њ HAє +Cp€-0ЂЖ +tЈ 9РТювЕdгFйKЉјAЕ­e‘ЉгPZЇѓµ +l/єiKзЪ’ +bгБ± "цBЋЅ +1гsћ/І!EрСOIКРгЩШ–¤ЧґѓKуБcCюgФА :ёЃЋёЖf7Шd:bк ЩЋv4lІWаЂ±њ4СЏ|аC_±A]т’–‹!^ +О”Єl€*«Ѓ›‚а‡…hрpЏ3 +єЗ§Ђ&AdиЂC2с$Фв`Ђѓ"жа V Њ +]mмяТЭꈥюр„(ЊN›ц°5}dK—rК™n!ИE’%Д D‹ЉК/°¬F7ЪСУШЖIj;зYск&F*†)•Ж0Ђ: і€ЩT"@ +ґ‚ і%‚0 † Ђh·PДELu4ЁҐjѕ0nш|A\_Н0Uµ&щАq˜рХh«Юа#YЕљПyvА3ВY0ыС7E„ [R“я&ВY€t ^ѓ=qжг‘ж–pќ)пr,%”h4Ф‘ЊеЁ$5*y‚А‡ђАF-kЩїўЈLеѓMy6ћpqЙ©Ћ@ZWъ|Z@шЂ0р +пА`)SО 1ИB08Гяv;Чb¬ ЂВ$ТvУёЃ)Њ/*РїlЌ0вмсaІ©"*љS»¤d–’>єKКp‡;шW~&дKюкНЬn@<®kM~Np>sЎр„3В“G…1ь ЂїЊ}h<^ +nрvКХруpњ9JBЂ3ЌГаg)ѓ v:DhХ ЦКЁЬЄў 8ВкАЃ} ™ЖѕБ¤AжFЙхђЏd_Ѓµ +м­з<_ц/ёА4,ЂК’ЉV”ЁЩIrзTњдњi{ЎґSА—VЂ5ђђЃ:p!¬@B2БЃ;8#ІHBђ  +ЂX 6КЎ°Bp3ЮёIре6;Ґ8•xc…ЎЁ +ђ@ edK¶b У* аXђeE` X`E|0‹e*¤OHLG¦eE`#ќё¤·днH6rѓјjГ!єТ’ +П4*ЈкNБмПоmоь імЯЋ""˜ЈMљгnи•Pc\ЉҐ2НdN'ш/RЬPSМ. Ћ`:дVdlцЎ§(DUа + Ц О@ ¶‚ b«*дq‰nLоPAрСd«*ОT~яМкзп<±Ћ.СЇn^Фeџ¶.°Фj:’Џ7$ўB"'bпЖ 4КЊ>Ћ#кТ„?"§Џ +! +W +впN8tBLСE ш"ШBzВЌ(АлЉ¬/ыBЃ7OФjУS зBхЊЮаК&;о8оў0Р QЄfrSEY9W&e6uSYФR‘і*jу*e¦АT,NEо!и "`9Ђ†NE7™e + +аAЂ`Ёе;{ЎШЦA†0`*Аt – +MSvМяЂ*d3ФІTт$Џgѓ4+АьПG<а4A+ѕgJ$^іe) 6"'эъL_UU•C?ФЮм”рnу+XTm1UAVз`Оа @… -0 xеж@  xGРQ{Ў;— +хL&бдV`’n!Uоц э0 JО +’ q!ч Ц@в +ж@,м1e~GTвЮц +%Щ_уUа7&Ј°QeR&у-: +-€i ЂеЎа`6 +ё‡Ф1 TЊV’А(а bоД V"c·"‹eЂx„‰a€Ђ„QYUн‡cwzЃ@—uё;'!†cЧ…y—АЎ•‡ZМЦ'C:™Еdшрt~“Yњs*`ЂEе КШЂ W›”\Й•{х2:Ў”*ў7GГЩ*p*Дв…о†(" p„G3цAPлСЊАя(ьLмXоЬЏQ ЏгОЮаО Ґ0’ЦО +.пиRл’‚Iя{ +F9 h%T0-G Fn<УуТZЃ;‰Ђ¶^љ§iЫ¶Ѓ §ѓZ†uщ;7¶—QuЁЏZ†av=w:3ВќsЊ§bЌ…g‰фZtіHUJ›ґ™gч7лCЄsЂ‡sU0Ђ +qEVwф оЃ*h&eІ"A¦“®RJіІDc«|{ДАЎVа xи в мЎЦ—П +ЩЎНсЃIІб€Є‘ЏАі5Y.‘аJДг°‚г` +Ъ±|yTрТЮQ”Ay +А ¶Є“„Ў€Ђpј¶oњ·Чт:—@Ё©…љcЃаё‰б;Ѓz:Иm№¬яRњќWљ‹jfu#ЋkГ71ж»J·ZѕјYСk>…t!¶ОАbИљ·UФЫd€o—Ё­C%¶(¶вd ”№абО‘ j˜Ђ` ’ +¦S®——Ґєj›:нqvФ;c»бц—ќЭDЂ–4!+4A4яa€4БT aВЦ+ё +QИB/‹ь5РОo%SoППІф@лА€ђ©)¤CюА +АІБ ‘3Б.=ъbёVД`"бЈc=¤“а푇ж`¤бзAo”ПЂFЪdAЗ“ь•u|–Э¬~ЋЫpЬTaлЏЫ•Ј=З›\Ъ§]їO˜‹Ѕ7# ЕjЕ\­qT…c®в>А@EфW+ оХш ЦЎЁЂfДАпAБT 4aT wАby4tЛі§У’вp +z! Ё!О±ґ‘ J\№ХеяђVђ* Э‘ЉЃг/ Я„ ыЫ°iІТмАb2ц_ЎЖQ‘Uе `№:‡N}UЋЂw.Ь.зризµ{ѕwwЕFy¤·R¤№Іѓѓ!СПТ+лАйeЎдо –АЖm<пЂ ›ю` б:ГЮҐ·ћЪ·ЪGШлGXЖZJБYIЕ<»U  j@„n0ЁЁ”D…8"D8L!Q…E6q0Д©$ѓЎEАЕ‘¬!Ж`Фh +1ґўЂЂ˜!G¬А!†,KpАEВА)rИ)GЊўП%WЃ*Б1ЎP АМйTўIzWЇjB%utµlTВ5љ˜ЂЙ а'BBД+«ґ:ZFє.ё"NBД$\p'њїqЙб'›l@ZЯK¬q"uмUгкЦXщl0Aе6Ю8A-љg И>6ЄҐЈ\ + +BлИЁЦЃЃјд †аH%pU2l0$3РD„1~ЂCЌЎVD +7hЂ}Ьp‰Ш +h˜"‚±¤`шДY­‰Д‚С­™hykР•Б0ЂQ©Ђ!WkЂЎ.И"¦‘Р–0f± +MЖAЊ™™ѓ(ЂЖрЃЊ‘ +Н№&ДБ?hU§я‡РФўd4|bБSD’! И +"sљCзцЎМ (і€cPf"бЧАjе…«ks˜ ee‡Рk-2±€Z„fхЊ‡ @†5Иsvqи¬ЧB1Мf#ЉГН ‰€$p@™аА!ќeіѓ +l­УDД!гѕ5€¦LP)™x˜””–©¶ + Мѓ.Ц™™)‚/БeДP,±ZaY€БdУ /t +™R1Еp­їqћп"ц™$`А(С3ђ J6ў"ЃA№Ўi-hFД“жQ` +"АЁ"Ђ’PаП†IР„A‚BgАc=Бф’e ˜"±ЬL„‰zAiJC“I<¦Fpﶄ^ф,pЉaЄilЦ•ВФШЗиZьЧ h3В@+@ C˜1ІF m¬ЗаjjLА(n1`[¤йяmЋ†ёK“XSЧ:Рђ«бЂ3ЦTWЃ•Lќ‚ЃЧYЌ¤—‡Ђ˜L¦*PЈЫЦЋ‘ЎСГ^уКФ-ЭmK35Ѓ7Mыёџў°dsђ…d–2FE\,z1\BRdС‰Э,»@€‰¤Њ§ +ю^М—{ЖзU)П{ +;Ѕr.x:ФNхёшf{N{є„\p$zѓ.hn/кВ9Џ#GлїХ5ґk FеgДdgеЄпЛC&)ёИ"¦ЋttБ‡u`нMЦА +Ж”†І x˜®х-8‘4‚ ь€Bг$’эеҐi§ Ўкdн"Рb­…x#=5! љ‘"D#y/±Xв uФшѓ@„B8„DX„Fx„H˜„Jё„LШ„Nш„P…R8…TX…Vx…X˜…Zё…\Ш…^ш…`†b8†dX†fx†h˜†jё†lШ†nш†p‡r8‡tX‡mШ +`X * @ vh„”P +«І‡ +РЃё€aШ +ф@z +ЭА‰¬h…<А# +’Ђ €gЁ ЭА’P +А9 +з0ЋshPҐЂ^` Ё CрџHЪ ЖђЉ +pђ=hф +% +ођ +#° ‰йЌ …‹Ґ˜ +& +# ™Ц0‰$IL˜z ‰ 0U 'I„WрЦ + @іP +„ + ~Рбй3АK*…”`EiЉ}аҐР +h° +›0щ¶є§о@њzP˜Ћ 4`t Ќ… PаК`ЙъѓяЩЂLP +ሄ”PќЩ`A „ +х0†°­.ih +„Э І3 I%«з0Њ*„н° +H +д°  «ѓАЄ¶y°Є¤V«б©30P°#Pі>иъщљf{„ 0як@бz„Х@° +0SY#Р‘}Щ +®9Ю +ђP4РµExђЉ»ь +„АщКЕл +Џ`љ%рАЫЉo«9Љѓ„l +­[„«й¦”kЇO +±Eи +#а `ЅFЁ h +ъ0{@„оАь‹ +; ¶CH»а‹ +#рЄEШ;@В%`ВR˜В9jTL„У0љлLђґ?h; №еYќBИ[ U`„ЂЖэ‹ѕЊи ТЁї™¤* Зћ«J\W+„¤YKLЕЫѓg|ЏґъИ>x¬‘°)…¤iљ<ЎEH ъy™Yl„T0ЂL‹Ѕх  ”мц UАљйыИЃxP‘Щё +Ћ`МЇМтЪКЇм +3PJ·Q¦Cћх°т\Б#А®вk„tњ + ф0ЖPµA „ Ђж­8 +E`™¶<уPбЗа< •ЁЮЁ‚HШ Зљ ЁGHzR(v˜ЕC$уФsOхЬщжЄ!B*a/HJ9=fр"k†0!=†ЂKЏR^CпѓRJЉЄє† +S&љ +@fаv[4(уT №h°„ц`„ћ¦4=@ёЁўѕ&bф“ЖЈЖ.$AЈб>…‚‡"}™AТЁф˜(+F LЏAЎHbЊ.JАJй'aњsn6љК +‚RКАS=e†…`Ї‡_¶c¦Ьv„4 +ТtР5T‡“Ю|ЫёQ`GUть‹%РП'}± щ‰%*!Hя`ф Р‚,:„UАзїhЕUrJ¤ +Ѓx”›Э,T%ЧB,?яp5вхљзјbK¬…?Дх7°ѓкВ°›*ИcZґx.ДS7P.%№i „›GYAY¦M›MpZAЕОcKOY-‡nЃфИe-°qпёеюяЈдЎЃзюuHO°ГфчMsT€·иЦ‹т{аџxЙ# +р„аЃ–<\ђа? +$Б‹јвв@+ь#П + +$ЏЌ˜cT¤‰D‚фљ@/t(PЌ+Ф€B“я +4Ѓ©яL0P< +~Ф` }„¬Џ> $ +bУ?цшEђѕщ‚FhШу№оШЈМ23ь В3R†ї4[SП†t®Е0BД5HвАСы4Ћї Ё3Гyµ=РC$ GЖХяќnA*Њ З&ьC¶@ЊPCЬ#¬Mмбя°ЂтѕЉAv д +оўqЫHk>*Ћ,АЖI™яГЖМhЃъУРіЙ М +&P +^0€(ѕ!6—9…{К0Ѓї@ж?ъйПђ0†кЃ†RЊ` +и` шM U +JtГ°ЗUр +4@”ч€@ЯюaЋЬьCI№№А+j  +JаішЗ2Њ +o m” +%а]<љ±Ѓ9,uяЙМ„ +$IT¬dд§СЁI0єS+ўБ¬:ELqАЉ1ЦWPjIWЂ.Ј*‰(J9zЂRPйI·z¤ + +0ч(a‚лЙ+‚ЁI%ЄабR ts$'(—3,¤+UёбвШзw}ВЋрис +ђСe+®Вn&·@aЌЛ±W4ЂГ\®yZ(† zшв ©«=4°Ђ=0РяgяhЂаPѓйq™{^фj`ъm‚Уќт˜ + 3†Rњ:ox eмСёlЕ.D{‚Є›™5f ‚ЮќГ +z(Y +JЃG'*uTЁ…ЙЮР +E(РЂI p}фБW4Ѓ/ѕН{p™f(Е6;m7etЎ%яуВf‘s"oАfѓ=мAЂ+,аoX°1Ю·ѓ.0 +#ъшЃѓ.ф`€$Э5{ +nь_W9О7Q…3Ђ‡0aА&r'AК€ЙЃЬпУй +MPSљЉ‚¤Ђ/’'Ўћшй`Ў@H&o‘d5Оl%Еґ‘ +°ђЯPX‰w СH@7rбrБNкф›БЎ!~Ђ~rWaаQЊuљ'з`Ђx349‘Всўр > NЌР ±„ёpfсЂ¬„ѓ"E ЊµѓX`ѕ@ +p~ц#ж1PX€Ђt#P9аQ‘І $ХЃ€wѓ‚H4bR +3д…л±Љ=Ґ‰Ѓ"@(.Ђ№dKжpPlAS7 •в‘нpХђbнбЉAT.u .Аіx^‘#{е2*SuБhЊс|9 Mвў!m(;ТT:т"b)э1QШ(9 + +@4ШЏЋWОё^KХYMТYЂ•Wwr' ЩY В%Эр +)-`!з•$5 vХfe'P”@‰Ћ,т')оE +p +А9А@Ю0C >ъу z0“sdV§ўЧЏЬ#9“ж?Лцрж?PЪ@tAф`ыў \$;¶ +Жа_‡аnпЕ=н@ха!lРW +hрЈ˜BЏр*pгРў™У=  C7`Ґ¬б3џРђ =б9Аpqoр9—iгРE5°v«&ЄwѓDзEХГBГoЇ“фуSЏАv$§ezЦ5° +l3РV`Т±4v3х°¤nz– +nЦuж +†ф %0‹sE$Ж;™ + ЦЖр…e<ИЈБ +,Ԙ"љPЂP‚Иr оi[Лб +6 SЋ`}Б,МY>”'г`{МlП<Нб +Щ +: ЃXxfѕа ЩP¤3бwџ'6ѕ Q45С +ЂЭp/;xLНґ ѕЂУ0-&Ва&`eяD +k# u|фДz”р +Юр|‰7¦¤ aM ђ +  +Г„РНД[M У@” + +˜QN  м$Н>џ`"EЛ RqђЗ7`WH7Ґр +”и +]•љ8 +ж@Щ(Х€™h +…„I˜N‡аPоЫhУPчдЮX8 +0p А +Уа…УЂµ@RџЂdAњэP1е3ф#^OЅ…Б №ѓ +ўХQ‘­ЂSЫ|Q$Уђи)ўq(йтQўћЮ€‘€0SЃґШи… Iт‡>€A цђtХѓ’Km"ҐЁйґd[±rK`М +тЎ(bE% +іWЛЃ_^e -bWжи¶ugЙTШюЏ0ў9а„O"y‘и !2ЋL" +  +П’MТ’ в‹3""›9фЧ1& +џg0WJІ"fyYжЏ+)o'zoћ/ + ю{pБ`јя^Hђ‡вџњ“яP˜\ЮБ$ь“атџЛ™/^ЂQtѓD A… +ъА Ј)PP¤A +PИA‰RеЉт\¶Њ9SжЦ–^8Э`pњ:DХ®eЫ0В?Ђ  +ЭО<€‡ + ћ9іжМњNuђ'л`–‡C–)бя +т(2 +М4Ж:ка`ѓLB4‘;ЋЂ‘:ИZ $D ц]…"eЦNМ:"8Hи„фэ§,8а8"ѓsб5XЖ&©7“qвЂaDЄ ѓ+†И8‹3ЦxcЋ;цшcђCyd’K6щd”SVyexэqщe˜ Р ”GиY`†x„ oXћж„ьqg_ЬЃЩF`}ъp:ЃO>I +YЬ/ј(ЃykЊС№Љ +о;BЬС…zЂЂ PИыК0еЅн +КPЖ,v0я‚Z8‚{ђЁF@Џ7 a&ДВ7Ь!Іч№ѓ Cа_ь ‰ +ѕлџО ±±чќ^HЂ#Ю°¶2z#ЋQА#рvЋ…¬О КшА r0Ѓzс;°cиЈҐЂРR@ѓrЇ4р@ЖЮ§нэn Ђ$Fр $ҐЁE=иБE8¦!Wxѓи1J„ с ХШЃ:ф°ЂяД1iP^=vPЌЉЅ{^г +sxaИ$ђ‚ЙtjкЛЌФµџ@„љГПІ!ґU@ЭыјЃ·М`Ћ0Ж#иъ«ВVБ К‚ шjY„ †{CEuЫNetЃ‘z˜ъЉѓжuґ}Ќ=ь—\Я©г№-Ua +‚@а›ґхGvб»zЁЂїи}CбfАПfc Рл Я—ЌnBђ…HА5mАЪv& +їБ>‹ђj|ЃВхX-v5RЉ +Ўз=HЄФКѕп3рѓ1JQЏ,6)РЅЁ 854|`А±F\впN2§‰яхшмкb,v ЦЈD~ђ +Rдф‘˜їэ5HNЕ:'чsV +.=ag<—{еqВZпќ#ЁЗа¬Ы, †А‚щF 4*x`ж% +j›Азт@P‚://qъё6*6бвWНIЦж к1ЖЙ °Ф”(2М"3R­&m¶хАЏфUxЂXF;Ш@/0н‡шягёwp › ”8Ъ9ЄСЋ +ЪлC $geRBoђљR=ЊбIЄ +А­BюГ zШD +¤ќг!°rkорEШ0іzњЪ ЁAАЏµХ@)ф$э‘­Ъщ/+ +®рЌjЊг{XЂМ7бЕ„ЉЪvљл1„Р +ҐЁr!Wж1Пm @Г є@…o +¤АЎуzЃ&РBP\‹чQ†= ЃШH њKѓc(Ѕ(…RА6hЂYsJ@МЕѕЎІi€ +tуб@:юіuТГа +х·‚Љ–—_‹µе·]ЂЖsDяPy DЉь!д@/\а—+ рyвIр +~в7—яLРж?шЗ]pЃ„hn@”] +ф$—Mћ А‰гЕcеЋн#ђtmNр‡mоgAtЗ¬ФqД?€ З` ‚Ё{ѕдрQA' tRt4ГЁ;BяtPIСлDЊУЋ/СЉк?%5 ЂY-гН аDQxаAO6dtС?ш4± sџAr™2ЮqPЏ#щB ЯJ6z8P¬ьУљ\5 РEхЕ–?°X $~$цO#‰вG,хКхНіБr,ивБPБчВяDc<,ІH-©B ! FЪ'‚!K,мPTЃ*юьгC+оЩаљЃшЅв™ с›п@§ЩSђ9аСk*ЭхПe + ]mzB`Оnў +rиn8б#rИЎѓѓУш‚mкЮG0?{„ђ§¤љѓКc:‘•Зe’gЮ7Бqўt +ВЁ@РЯY‡•wФRK™ь3юtТн№ж@К;QkDІQҐъѓХ.б—_эCДВ‚@ѕрЄ +я)Ђl x E0РЃ{\Д%”р…»¤СГ +8е•шЂЄ°Ђ|Ђ&Ђ‡luЉ№Д°XFw<ЂЭЉY(A +с +xлЄИCЦ0т№XА,)1Р4:аЃlЊ$.u + +2L\ ¤eUSЂ +3Ѓёгs©Ж4rPЂiрАfИA4вяЅ<ат/~и +;- +{Ш#6DбЌCґЎЋћє$BhҐ WЫО™ґц°ЃM"нQIљъСжE«ЫЏбT!¤@=¬Ђ¶ $ќщ,B3J"L‘ +дo"HHЮ@юАOёV8>ѓіЮжР`лаGЪ{Бк0>еЃaµѓЌў р‡ ”ЧnЈЈ“jљ&Ы@ +r/&O<сб[MЂQЕ(1}Аw(бКaЫќ"„<~NКЃ=ћЭ6 ©:lЂсЈH“9…€§Ря •yу + +¬ z‚љ˜Ѓ»ю,‘Д„W2\OP=‘ +bГ`› ћ›H4Ж±‡4`й№ю1seгШ©А8Ђu4AШ/бH;`A §Tдю.ў Ґ8п; +d{uАя +#:ЂЪяРє{’W L%:D0у@РїФ +· ¤eALДфё wџЂ0ЉE-PqК ¤њЧ®э(ђ +Cя[AФэsцv`¶'VЌЭ(g‚ NЩ џ/Д‡v‹9шfй—э=x{ы‘иё@U¦ёbХґгbЛuгgЏЯнж@a$й€я ±жoкўЭ!v8¶>cw8NЉЉџwОбЕ,Bл@` т+©АКжЇXZeиvчс–”JА9џїUяк˜Р®‘I<Еј*"Љu&є›Э-ЪvюXэ?!юц‡є дњoпY“шц¤ѕэЁ~”Љ]Љюѓ62хпЃµ†J q4ТьCµђ+” +dQЁb)ёІAѓЊcшG».rњ<фк8%+!Bћu-€L†ЮрF +€ ђ:ѓH‡›шђ« +сљ "#zщЖ7єЎ #ьc +В‘і,ѓ< X¶вТЃіњ†y°@q@pґFд°`E6 ‹¤pс gp A~9ђ3хд‰rЃZ~Ц1\д0Љk„@>‘‡Ї Дk# +, FМЏDM9°О·jNі™ЌH§4Ѓ‹Cша®щGє +“ В€6”qяђjр  +x`O"ъТѓмзЅАў€xШCЃT4X№+юQ {ю9JqхDqџd¤§А•Iњў¬@<8'– +)ОRб*‰$хя0ђІ© ЈнРиQ9*п@kҐCxпЂ*є@‘j5‡ЭИqкСћXЊЛџб—A›e \гсЃ!юг хy@1Ъ% $®­АЛQ€ Џн5hC6В_< р‡V$U‰ДБ +яTпb№^•¤Л!нvZ/{ВЏ +БЃЄЄPВ0Дћ(эNqўТЂыКҐШ=иjйRo4А/%I–1°=D„-я¤C7щ +‘‰X $T@·яЎ J4@˜Ё†°:(daџТ)ы°?‚"(y¶Ё†v>cТ©€ЂЉ +Rи`РЭ@‹ЅEЬиРБї +DшFpҐ +*ш¦кЯQJ°*H+А1љКv+8цУ@\ЌэгEX.џDЊфC[J)эYR 6NгБЈ +яxа ¤ёЫ?)VаЬ„y¤Ђ3Щaш]‰рў@rП!б ИЯ‚с\°€ |ёpЃ GБHP7|ђЭ (‰VЏ†ц·%wчeWМuutД?А1Ў,ьs†} +¤гw9иҐa.rЛ(·Ьr@<8yђІ•Йі + +¤В?№фA^DэSЕ4ю + +П}тш7˜Ї08чм*нмcА ЦfvpЖ™©№fc˜ПҐ +Ьl ѕШЦCрЌB¤КxЂяsшJЂ]h€–ЃЋ=hbMhЂ&љ =d(5щЗ +YЊ‘©м@ +q€C0М'kЛ?`рВМa—4H(C T e@4p2Ш :ЅИ'bЃ•ЉЙr џрC1›ќ  ж€7RяЃРЌО 4ОAЬ9LЃx  +x •иЌJ«лОЪ®—џOі&2ѓHчґE<а‚П©Ч?( =щgvбRЃІ;Щяк€oЧСЌ +ш‡( +Јx#PЈ€B*$~ г%¤Й2· NjҐЮvH”смЃЂ„ЬяH€Ѕ§б…±h Ёр! +)Ќ[ЖИsщ]8ЌђЅ(а@wAІ‘р;„ZЙѓ +,°Ѓ‚ +1KЃ ++aТ€pљ%;ИXЂ%љ9˜:"Б jяp<цЏhЁBЈ,[+gъ!дgЅ%#~ѓ2» зи +a#ВЂ6щ¤ +[U + cЄ02XѓЗ‚я +т—qѓ_0¬q„  +Є`ў0±pѓ®сiq»„tЃPуPбH'HЕAЯ•Уa!’„SЂСO+Ў,-Uw  +єq¬P†х·RZCЛa†BP Ѓяч?Х0YХ±с °ЂRQP#81&ЕP +Ўz±T›!С0%PU8@цё #п“)Z…ґXІTЦС=6в%yТ9„c%бqUф3cт?ne#\’'c…];ўaDB$`h(ХqYю%Vяб†|г2c +b±tсal%ЎTЯ”>ибщZЙUm bЊ!b3 +u +t +8юУх/@¶ящт5nњЖЃ!я9p—т_L +&eHУГїo68јЧЎA·Э”u(у_ЃІћТ,Ёj *TЖbэі ђђ*BђvЛгЂBXO-:М9@ЃЌўА€Ац_ћxcщсqЁ1®Fёpтб#–( ‡ +Оq + Јї+;V# ђ +n˜!‡ +шЏП?‹ьSЃi»еtќ0ЯtA<4ѕАyэЌИЎ†внё!Ђю'ћЇј@г‘s\ЕХu0ьУ +ЭМQL<ТЃ‡^ђВЈ%<КбЯ—ю­ O{,ВЗ‚µTЗ?labьгЊ!иќgћZк€б@югеКЏ‰Ь"ђ °щПфЗ5–А˜рИ#Ё@и +4ж?ъсWP‘сl +ЪW5eяў¦›kЦЃЬ:"HДЃ„¦ +'Fp `Е†QVЎHF|ф +d„ҐPM5ИЕуЉС9 tу@C›#Р SЪ7M5њ#s¶48е‘ЇHя°i˜@†'&¦йezA}јчф@DWбy8r(дЋ”Dў< +зьCs°0њ{в}˜ю裘= + +$‰Cљ˜hѓs8`{W +ќбђsPyЃ~7Ћшeл”щзџЙ @G©і”„љіwЎЃвy€–ъз%еѓЖsЂ +°ЊЊ]лИnD€_dcяp‘@АJШF…,c!BdXш%гТaAяt±Њџ<$>)јИїс +,l‹‘Љ^R +TXнUЉ7ВҐ<$<0вр-©¬Ґe1HЊ†ђЕ~ЂД'V鈶ь#”‰ +* 4зјт‹‰Ж +2L‘°%љ° +’ж±A*рT@qбAj)я +Дe lБМ?Ф H€ВW,„* +#Ф1oоYЂ + AfЫ,е +s˜ж`7,NixP>ёЂ Й ^pГС‚0ФMЪ_p"¶Ш NГ€ПThM„б‰ЉoТч­д`<Ёpў№m<°Xй: r"ы@(tњgtпаI<Qxґд·аҐg?S*@Qс6ПГэпHЧГRђ°ЧЈ=eЄzЈТ4°J®h4и>/8П~ь&9 +цµYR-˜Ћ‡]N)Ё±щ3 +rаPэЖ”9м +ПuѓzAўnq +АрЧ‰F|ВќнFбn ЎШ– +€М›‡№;ў8ЊђAФЯx6B¶ЂY#Д"ЭАЭ2(±Њ +ю‰·ьЈ5˜@® +QELбaсi +ЮхФKЂIЊCе3«дЙр ўp˜jсN‚ЬO`/ +PW338ѓl#z6ш„°юа|оbIa IЧїБїБЯB +ѓИ5”4Ќc>¤nЏґ„™10цTQр@џ6pH +˜-6@3¦A…<а +rЯ?zўbБbд?‰sA9`Тq$t#њ;"Ў9 juђБВP§X„'"$_‚=±!™"e"€ЧяQQ~e‰Ћ’ ’CWR)v‚"ы˜…A.0рWMuYtе’;BWbU?R&жуXй!°fмб”?¦YQ V"В%и!c.А‰у9Є‹¦•їгU8ў:Хµ!ЄC"^R)iv(ЄР†9°†¦т5„ зA—Х•!2aЮу‘йМЂ"цTа~ВСFм!VТ_ЄЈ%<І!_в%’]T"[s0^…g*]Ў[щЃ:8"”ХҐ!?2\’SТ*РDљЧЯЂMр +[±$ +Лk’ ёТ°L†фйh6Ъ°±k ±&¬*DБ TCџФiBс‰Xь9>О9Ў@*g‰(:УЂ@” -&!AZ¬=7ZEЙM*Ђю$ЁVMATM™ЂСЎюtЉd,чМ-Ф/«Wу4¶zйЎ¬QДвtg=Бq Єу·л<#?‡”в"¬УCaяѓ1Ццt +`ћьq‹’P†В!$’q ы‘ў§Ѓ;¶[ЫґСв?ИyЖp;ЙBЏ‚“Ј%ЃЎЄAДЃ7Ѓ* ЕµpBєwrЈ‚zE-0`- Фш№,ћ©ц•А@{H`У~ +%H-єё(VЖCђ’ьҐ<Ўа•™ЁГa в,Пу$ћr‘~фМb¤GxІђЏX +ґ#OЃ??'ђУс +ЯҐЩАh/Iір“С;br[jY +f™vТ`Ю +Ў +@ЭАЫУ@!ys°  +ТаQ +yЂ\?Щ +Яр +яАBѕе‘„Ђ +k‘*5Ањ…pmСI™$А +· +ќяpf†ГIђAury@ +ў >‡ ф$dй3OЃ’Ю +0 Vжаk!j•‘нЈj,D•f уqиS>џбъЂj¬‘?‘b6饫5iS9”ЈV>РD† > +$vћ„Pяp?„@ЉVџъu60 +­EЄ +Б?ЗК*УP +9р®ЎyћЧ +§*FDнК®Q +:D9”`*†jЛ±lqћЮ0 +0 +¦fjъЪ¬№ъг@b!E°ярBз +4 +*Ч°СP +¬oґч…°НСІ :юQ—‚‚dиГzЃя m›§Ї¤#DцGд{I¤J«ІµЉ‚Dй¦n9°±>[jІ Mы тH¦t%Y‚H]!тЧM]В­c{ђ +2Eб"Њ7!q—DL„Hг&fФґG·uЛATK+hы +3ч·¦ДpгEЎФ Е`F&¶;jZdHBвёЏ+)q‡#Vв#т +†EІ\u‹п: +Юn€"#Е$F¤+yzф#fДL­Ґ№»"т№Gd'st»wЧ&Hф"лч °®­ы-WЅ$¬ДpZ§uURzдtBr€[·<яАТ«*"!F‡ЅЧ{ј:wєз°HПл°qЉ’pЃtPB% +§!№ы|dFэavП« +Ё*ђ! њїTBJKј¬Тґч%Б]ї-В "rшЛБtтuЁ‡ј‹в›ђ&s +RNҐ$№ЧЫH0Ќі]Юј]й•ЋЉЌо3ћойЙ=кґЌЋА +SёЭ¦~к?ои©ћЬЋЁ‹Эд՘йФhг№Nеу-дWож–ОиµMиЅЮжї^мDиШІ]бЖN‡¶ЯНP®ОмП~Ыb^Њѕћ:КќV;б‹Ы.ЩВ.ѓ°®XљЉг^^р‚Ъж„ХgанЯЋ" +дБh)~и­Г¬ѕЪщЉhq`66vё7±[ѓ‡ +8h л›ѓЭюxkTБЭэS%РB,!я +A"4°F +BR]y–‰[?sH‹vРѓ0ШР80Oѓy:А‚•'Ц'?>:дЈY,Qy`эS\р+®y"зщ7yОЖjюeИc`Mю,ФЂ¤КBUy,X ДzЄ@X$жЁ Щ$ВjЕ[Ф?Яяb3¶PУ¶ЙE‹6я[t! + аµcњ@‹њ— +(Ў@ф9ё‚‚e§_wЭА’Eђ‡‚ѓ*ЄшЏ%В3"<ш9ШаЉФ‘ я$ЃДя0©aA¦ЧЮ?"юSў–я¬°ЈђфU™<Цн#P-ЩХсПSД…ЇT‡euЦЅЂ +‡20-AME‘КJя,SBю3 +mGEkђ"ТB5…fз,Dђ,№Ј +!ў@ќ‡ ”п?НшВ?џl5-*U Ybb$еA@р +Оѕв‡IVE1ѕЖ:/«P +D…Ў±ЌAѓ {ҐЫѓуцЃИШљH5ўс‚B1\ч c–9щЊaуыhaЪJ€–3ЩЎЭ8ТАЯэYAMgDAїі›™†ОўaгЃшю!с4°­”@`їl·9:?ћ1g€$ яbcљѓ [~T¶%ЩsТ°Е°S7x—_g +0Ќ‘/юсЎеЯY“gТ8uсћТ3A ЉсMї!ѕбvечХµ:Юч {чxј±Ђ€ "5Ls(С7‹1яP. TЃч“бO‡`:qR'H3‚«уX1 +.р`яђ¬[8kµU°HPzі]±’™Б‚;Ц!$«е7‘“‡|ё[wт‰Х&0.sђѓЛH!цб АШ7РИZ}ІѓХx(#·wх€sЋ‘“Vў8шБYУUЭЎ! +а‡% )€_|иWѕЏQ89 "!Ђх5Ьµ(zHС +№X5R ЁU‘%YЏY# pаkqа4BW$и!Ї°‰ +’%5%Ћ±ѓU–5;Aш_@ґњУA‡ях8Й8Ќs5>Т'':рaYІµ‡H +fвЦщ‚ў&µ@љсYт3ь9Юsf)¶bmВўџІћmж)'ц +Дрб'Y +#JњHq °oy ь†±ўG‚ +аСГЗ“Р1PЃ@]нІЁи`ЬАeЭ РgBoЮN:р ,‚®o. v+Ё‡аМ‚дQeоџ„±BB…Љ`ЃFt t *В?яѕЌ кQ˜·ВюQ˜уu`ћ„Є` „•'«Ѓ>|ьы$*Џ^‚P`Ё!Б<ўю=@YРЖї™˜/„E‰’;U„iжY•*Ѓўu +Њ‘АSКmа1mQј ‹ni tрnБИwх‡5dСў‚`Kњ6°‚‹ РЈЗ‹чп…А¬п"cЌЊKЮ?п +„‚(ґВ +аЅ@uцЅ@Т4мU4™BIэЈА‹ё`Ь ~˜џ…ЙЃa†яАг_uК#б? +8PС$ЃўA<°Ж|V]Ґ#…ў@б?Rошќ~ +U@ТDf];ђр¦@,Ј‹=яшR@јQRА7`фЌђСx#$PРп2#Ќ% +BЭ(жН”D@(‚Б@A3dЈLВ07Р™сцЏ*±@вГ!Ёжѓ>$ЈІ>ђ@bNV ¤@ёе!ЊlќtЋ„зCpЄд0›@9X@‡4В 4я0-УёшPШ?w™$Ax +wA1фХзълTю#‡@NиќxBФ§и?(Р‘r4фБo?чBЂW_јсRNI„p)џ@ +a/QЉяЄ +ИбЃяR  Ѓl‚ ›Р@Cvр!*ЗsЂЕSТvђд Д +NьH\¦µ·ѓ”H€Яh@Аh’ЕЏxАИЩDѕUЖ‚xЈlF"@ oґѓ"ИA:рЕёѓ +’dcгЂ7фhЦдЛ"‰їј‘З€ . +PЖP@тЏeаЈ`ґ$sB@@ |@—,Мq€°‹3‘I–ЃtЂmw™eE>pCЁ "0Л= ИГTБбb‹jт  ЬЕP±юA€˜ѓЉCЧ@"рЃ<РГj‰b Ї±Q/@AоўќOJг…HyС€ЁБl ° fМ!Њ9ИЎ\«5•3 +aґ +N/ѓc›\tЃ¦дЄ№Є* +`—! ЙAvxо^°€ІБ&VT‘МЦщЂ <зБѓmл`G%С<Њ„вЎЏњH™ЃAМВ"`Ы~¬pшFКQ›T +DЙA‚  \ыьз‡Nx0·\о9Џ|БЫ Bж.€`ЂЅR1луzљ¶љр‡pы!]—‚ъ‰Q<ю°Ѓ +Ђ y¦€©@ёѓ|hGюсx+џGY7Ч’љТmЊ]&вЄЩяhц&ђЃqѓИNФѕ]^Ео>хшv +) +† гE3с +ир5$А. с +Ўд џ‡0„HP'“ђр=ж Xo rWkКа К¤b=EgX +@(‚ а~ђ ~а±{с-¦д0УB mЈQQUV +00Q5=qЎ +NГ‰$u~ +Юd4ЄР+e˜&z±„яPVя +Y5ЅҐ +УB5~ўа…± „ +QЋ°БC6_гxЂtСт]ИY(…RВАЊђт(.<°_ѕрЉ$ +qб†(EE„ХЏЎ +Жб"{Hх• эХW`б„wЁaeю ё±pXй+ ТWЮз +эдю±\Я5 +р”‹ГМ‘Vюu°Z‡#Ѕ„@(‡Ђ)> І[Хђ8вR +fi•р¬Е:Џ@Yт‘’™вЖq®ё8Ћ\ +Ж:тUA2& tўf3дd0 +Ќ•<ђ$в’а’<4djA˜і<’jНе[.р_ +С/3г;FsF%(Љ#ЬҐ` $ЈaE]W7V9˜%a#рЩЈ[R†ц +@Я ‹P•0V;‡¶^>р)cWбkVq;’!¤”!Р3 cыСf42N*%ъГќхqo¬¦¦€Ўbс +)'Ў4#¤к?оХ$Q¦`¤jЮОZѓr±ц` џehp2%mrЊ ДЪcLpd·8TР+g ™Sh‡ж¶Њz9‘2'ЛУci&ыђс°Ѓgb +t¦ыQ¦вQ\1lя` +'єюк·±i0i1µ…тwРqСpYTЇЬ{Ѕ^WFщz +L<=pаж”мy€vњ`ґа Ѓзяёрўь«дсКxа_¬іПяIЗ +OЂWя„(_ДЗEрEГ‡@йЅrџ@нэ#‚ +юПѓ]ЙУUWЅЂЬ  ++ ґ"…'Z˜Щ?9ьbGtфЏsёрЛэ#Ѓ+ЖXcЊБиў@+&˜а?8UWp}t†‰йµЧд‚(”Iг?-є(G™=й ’И)wD*iтП%AБ#ПЌяи&љ ¦йа +®XЯ+ZИЁ@P"џяAђ‰Ѕ њ… + 6Т`{uАсќ?6яґOyФQЗФPіБ«wТiй>ы@:РTЉИ`АЃH¬Б Г?†эѓ™@Ф DЖ*м@ПP0њ4A +tЪGMф%Щx‹P[Њ +XРЌй>d€@†D LPLЂ@ +§p¤Џ>Ћ|ў3eЋXcН?Ц|’L2ђ|R’A Д`dAOз`N Ф4MAџ$Д /}‹|яг@[:Р +|°ЊЛ‘Q”CяE#LНХ}]B +ЫіЫ4pwяGP +Ш@ ђћ„”т^Aя,%I9OяаЂ3bB" +"* Г? +ў<діp +Јв…ПЕcI0ЛС`SFЈsЄ HH… с@Rр2 + ‘І sаWV DУ >04Цђ }а•5оqeе +. +«БУeУ`Xяр‚Тq_ЈES%A o„q!YWуDВ-НaђЂEёс5у-Њ5pЎ`БЏ‘ф2-ХЋ!Ю +9 +6pЙa$Ч1ђAWJУFmD‘ќ“o@Y«еІP7ќяИa…ћеЌСP +Bђ`Еб`$8GY ¬х…ђbЋГ8 З^\‰9‚…„ЃC +ЖћW‚a/І&!!в“# ВкЅa9oѓ Лб^=O2(jрpТZнQd±Hw$ѓ%%ц&+@Ў&”жљыщA€!"HІ°S^ЪA%hV%Ю)З©.є$буLTт з3@и#%4џг…%»XY*ў4%R*йГ&рЂ* Тъq]Иgр +ЉЖ,|"=В…"в=о•(t&&ЮFGђBБqH@ +®B\ЗХљrkVR[Г5jДAФ*>у†Fнх$еБ•сР]щр +^P Ї°џ)Т?©#ЅУЕЄКC˜. + +„0±К’,Ыj + + ®(<0ВёВ +0:8ђю3‡BЯ(рЏЏ0Кю™xЎ<®0‹K.XбЊт WP1 +ЃUЃI4Зg(дA潘¤’MІ(З™яИAжЉ(@iЈ ‹А‘Ј@I€!P$k ¤A™њwbzЕјрO„L.(†(°(Џ’JFЩа?/ДгВQЩ9P$яXJQ‡‘ЉxЛ-hOz¶L`Аф ѓт¬й µМяYТ.тЗ?GtД> Mж?wьГя "л±%qс¦ИК:†0јЌUPя¬#Р34ЫЬ7є ФЂA-…+ђ;h«P·ґuг‹rU0RЄLe;СKШJy™ ћ"]d”М&Р7†\QU4КX +‘“Їw ґ;Иh„‹ +„$Љ‡vћЮ†ъ&Фг§.8hвЎ +ж^Pўm2к¤~ђ>ъгЧБыGРЎ¶Ш&B…¶Щyз +цчБЋ%a‘Ц~Ѓ#Р‘Ђ!№/и…Ё%у­ЂВ™jfї ›RZDс‚wђ?d.= t"4ЎѓU3љ‘яVА@иёЗ +ФШaЂяR`,ьC­)Hvр…@A ;bT`ЈљЌ Дrі@YШ ЕШx Jy›FЬЦЕЄДaщVу`“ш­Њщ_J‚%XЁ"Zм`ЛЮШ,0d$ +P_О‘:‰ёлiпH8юAЇEюc1я†U„A=YuГ*_rЂ¤± ’„вЩшдS†&ђЗI$ +5®Џ*@JIqЂ®°¦P@ь‹X@оЭд”ЦЊ–еa“ќЊг?RІЂ*Аb•9щ +nпSE+4 +U`EY‚ҐJ–$9˜Ќ˜– +ДkЈ„O4З©А<йс›Mx#>†f5”pG +(‡Р1Ю Ґч»ьРЋ=мЃСЃ"t А $LHлbа\u]) —BЯCРсz‡ЅдC си¬_ЧВХЋЃъЈb!xРиD€ЮљѓєК>Н ":А +di э‚@>тЌ®?6zТЊ˜Ф&3„LНѓСж+…l +¬HU~пчаысПяДѓся.чџк„М!†™ЧЂLE OЙЕх®+!й—К-Rс‰¤дZќДбrТ ±lD; HЉHВНЯp”(аАгнФ­юж„< +џSЎbL`ьCЄ|эЄыА·Њ·ДNи©?Ў0Џ°bЂэЎ}И¤яa=8ДШ#ьЗ>‚uФЃє Эќу9ЈЮь>(< I<@+щ@j Ј‘‰ +$_xвБIR‹h нґ6­@юБ„‰[ДaДЃ[dябX€ЕгяF76ы¶·En'я‡4PN1ЃАXqЃ'Н%bѓPqдђAu[FЬ#_©Ђ+ншЏ˜ДGЄШЁ»= +Гb*xy‡ГХ®T?"Л•Й†S +9‘hXЕ+ќW"ЩфЗ|Г«B А7,ЂЖ‰АXRИ"'1h–1N«H +™c4 +O’eшВ9RЂщ–ь;BБЛ€\<@….a„%y@–r›‰ з№B%Єp…i,@t%I№ЁЁ +ѓРSАНўЂDя;яq€РJ€ЎНpg”qђ‚Ж0Ћ/ ь®гб`f^шЧ~Jђq~bњѕa +яАвЙ@Ћ&°”ђx:Q +y +T˜’I +!_Ср +С‚˜A~Й +±АfеЂБЇ(+<@ +ц*­В›ј +֘яР“т“! +<ИBWУT"‚–«9;ѕ6al2#"%т(‚r,tg©#6КЎ +ћR<™Щ;Јўina)Жџpias 6йHk!†!џі&…’ ыI#ж•9+±Ќ9aJҐ +1^Jrя*dњre К&i‚&&Жў +Љ!`JлfFэ2Fж0  +’©:ЂЊЛ„/aґљЇРk®™˜lb&r@Ґ№Јbdg3KPќЄс(µC~WЦigў(љF#8‚Љ+9!cЎ)q №` ’[(ВЎ‰¬:AТb‹09 °©%qбgђ"ЁїR(HВfЫ3arlыa¬a,±^ ®¤@kdмЎ?mВ@dR!въu '{n +,Љњrд?)©ЬёТќJ“"Xц%AцЊ аН[Ђџєэжа›N˜#xSA—Ая–uЁ+¬RFuцпЫ7_-ЁR•G!>љI8д‡ђ[·.)шЧmБYyтжх/љAќMКY¤@б_Ѓ°`йжбџU-ьtЁС?hc AгХиРЎOямБ’ ‹АвИжA лџJXsжЬC:°ЪЬlМНбвВ"uуФшGHU¬ђ‘ ¬‘\ ”Q·xШђx;нѓаТ/pГ}Рy.ђЈBy Лря +АzаЌfШѓе 9m6р0MЫЂЯ %„ќШDаэ3ИЬr +Љў~=~ дџБ7kг?њgDђ6#с ЩеPЃх‹фOђcD¬ђ`ю®!§+„:м?ЇЖ8Вy +J€2#ё# +[YЮSЂz‰Вy˜Л! В Ѓtжaі@k> ‹ZР`j3АжxьQЃ9Аg +ЙTГpБ"¦б нj#љ  ¤Ѓfm~pН?ќЃямftЌйE0ШG# +ЕГ«¬iЌ(1њФ ж8О.ҐЖ9НqrzТЭ‚L’JЃ|.›mњxФ5WЃ¤k ЌлЂzFq +¤<АgпвХЇ’‡ +\vь"ї,б‡HЇиAьф)ьйѕЙћЌxp9ﶋШu¤G#П°BсСЂL$<лзO +ш„„БЮГ_=ДА"К{‹EШ WТ?д0Г.Ѓ yAЪђќџRђ4p"–u "°(ЁМ!ЃЅY Й—їQчЪS .‘эаЂ„8ФB ЃГВE‘zЃНІ€шЈ.¤|5“ћAьhс*Yр1ю‘$p0"Й…ґѓґi[ ш •ЁІДжWlЇG0@&сЏ9љо>zшГ&р + б©Ќ Q˜ґm©W‚‰ѕb¤кDЖZ€±‹?т‚чи…-UЙtS>Q +‹Hy<&P«5vыЂА ’­[@ђ–@ №©fm`‘™њА\°Џ?и›ж¦в +вG5"ЃR/Н‹ђA.ќнв1mќ”‚Хp§НO`sрЕ hЛыH2Ў +s|чЅгq@XсБWDK-Hдdлx‘`_б)Иw©WyЉxа6нјЎ‘w˜ЦeыTЪI‘|TqАф13ЙM“Ш„%C=ЫQвЂP€DeГeмCЇ,У Ю +6ьѓН‹Ц8ю@`3‹ИtЏ“‹b?ЌY°~^рЖяўвKpљ$ +с +Трjб +”`Р +`Ђ’ +аlб +PЃOsy” ·рP +°А +]РGЎ9о7"Р&’BpOAAаБ3яР +Ћa±  +АЂе5Р СLCђ  ++с885pbaгdYX" +<Ђ 5CRsР^гяа{aj(4yр ~аЙђ 4davЃРAT + +AҐy1k +¶Ј! +ђа6pіЌР>аiE +Ў›QV> «УЉ'‰жP П`x«Г^«HPж y01b=sUў •QXa~`aд +¦ЂeсИJя`·0 +S)`!<0Ч3=‚S=tвђ + c tш +EsfЭіuяАbaјeS9 +С $(В#|v) +>‹$i’¦¤Ў6 ЪJs6БЊ’r±УiщЎjR>AГzsї"сЛ*$gр +аPs +"°"¶!`d +2$ +Њ‹¬—ўGѕr„сP _ЗHМRE_$ЅDd +9 шa »Ѓ” 6ЂЙі§Пџ +чt0ё¬ЫPЅp ЈБЅYlТ™h’ВР7 Xіj]yЇҐ™Е@zх_Ђѕ ь›aN ‚Ў ъ§КВїя „¤к Ї +ШD0'LЭZЩ:ЊуFђqє4[#K~)LЃ@a"О"ЊPбг?{ў|нџј>фЩэт·[Јєю—'зИ|и6№·o˜6lґЃф_…[°k © +Ю№ґяЩЌ…7ҐЦ ьЮО}2Ѓ.в]яX`!gБ<ўжЎќ>zЙ‚љ»ЛџSШ… с^Hш'A +AдPбЊ4*дЃ88Љ /ђ(ўт¬0Р +Bо'ђ^яy‰яуяLЈ]ЌTОшБ(в§a<яэ@®Ђ‚@r˜ЖЯ? + и?µ¬ББФ)йvЉД©И / +д +ґ&ђ}ЙdюэO‡ыLкк|,я"Р cL0Б@/’8†@Фь#HЉ „"Љ}іИяФскІЅЌЎб™4я°mґe2Ѓ °"µm n.М–+­LґД?bT¤HBIьгЊ№фЦkп„4`&°J˜wпB”(lмkBp +њђ=TQ +^ѓЉCјAПЖ и‰1ф”ТЂ2B}”PB,'РІ5%@° +zём з бH и1В”`ЌЛHі¬r Рc€AК|P +=›@"уЖфј1„ЁгЕ Ґ`Ђ=‘№уБЏ Ѓ +l;’АЫVі‰МЏ¤Р0Aо +ЏјЎЗ&ЖЁ Р 8В6› 1В”ОPЏ ’А�v%ѕdcЋ7D‰!Ўq’CјЧ +&TAdS%ґ + ЙЖ +ЎЏ!PБ~™ЖЊ‘ЂСa!W@ЂЉd+ФРр4‡PBCHЂ1FР№†PAЂ… Б В†zиZша@ямЎ‚*0!rЋВ x ђЊ f5˜A фA,1JҐ(AУ¦„ђ,А ы ^DzЁ=&$°!W $цч e%4(Aь0‚6Далѓ иoЊ@Ћ^иВЭ RЂ“Х`I%°@}”`5Z)vXђР@rџ >Иz|ўzXА ў4$ҐРDC”Б0– U(ѓ$F0zxAPЖРp»ЧхБmї„„нxГ“Њ`ђш™въ +HФc›эм‘PTahЁG + (рсVЁGмкЎ—Ё n«З$ф6„S5ЁfP…аЊQF +бP_fЏўЦ +hЦшD 0VНtAh˜¬ш† +пA*бќtАИ ёHPАҐz ¦Y<°ЊМў”Љ|ўѓљЖ‰Ѕв]ЦУT * E Uи +”ФџC|ЙУ¦ц“@fЎе`›ЛЌг]Д}"ЏьизKтtЁюQ&SDЏ™Бkms}а`HњюaЂAчЁDБ"€ H}ЁЎi?т8 +Ў/ њv‡7Юр ј°\©HB˜ЂјpЁ-jQ!ґ eБAYїWруЏVEj яЯХ°•¬Oќ + +€Ђ@1‚И=5§4`Ў‡џЃЂ§€@‹r=klЏ +j`Њґ#"Љ9‡я +СЖ‰”’µШ†в +®SG +бG~°B аљ BЦPEЃЂ5ђ2E 0бG+SЮЅUh Jh$Bt$< qиЈhаeГГ3р:0»…Џ +3Pї4Ѓ…џ“Z} S4хЃФAеГlC…@C Ўо§gЁ +Ґ 9•SNСC Pd +б +U O[і ЁР‘… +WШ%˜8%ДѓA +дЦUЬЗ‘Т џ UzаUC + y‰wҐд +Щ`Ф4и•T7Д“ +ъТ Ґ53ҐPЯ XбЯА ЄмЙЋаS¤Џ7y ¬U`JAњ)ЂЖ`@‚Х +hЂO‚G0 d<#ѓ9¦фKr4>uщ{рnc4}ђЎ +0?a&-ѕЂ]Ђ›gо`К° Ѓ(:3`eЂunc +НhХ1O‘$4--•Р3 ЂЄa€ЭЋ  +д°  €-'љ€Ѓ8>{шџѓ=} NёX# О6CАcЩ  +C ф°Х +Q +ф  °цУ +>‹дI‡фџ, +С;°‚Ї„Э+ѓАm®ґML°Їa;а;’gР1‡~G§ с +б +бґBqxдфд3.XlЂЦ@$X@5*^„Ц0L !s˜ +; Bhђ~?¦h V0МGЮ;®Xћlщ ™дж ‘'яЈҐ`Z 1hP%ђE˜Dм¤Э5г‰#SЮбо·EI,И<¤RљИб±H¦ +f¤цЂL8>~ЈЉ¬иЉъЭGoXP`аQHl3Ѓ®Њ а‰#4ъgI‰Џ^°ЪА€ћ4>ц0¶GQC ђ +бX +гр с +емЉEА†Аг.б +†АE +кр#р“яЋ /PЋђ @S†Ћоа‰ р:N®WФ‡+ГЦ +EА„°Wпѕђ”·З—›P¶3  +­P@Ё@MЏ@ђґФ3®ЈLzчЗ@Щ +*у: ђ Tй ILPАх{y3] к a:ђ‘LР9”РI(c „ићЉ—ЗGУpuU ›ѕ] АnS‡l@њяђ +Зј +HUOеV%°UхР_PЮ€Uъ;А“sЌn¶ЧцPХnжfУ +eцШ Iђ`'Jя4nдШСгFe кхIPЇ‹ІЏ)UzTЦҐ^E/ P®¤©‘'ЉЋ†°±gЏА•ЏЮsdмН€]˜ (ђЋ.=f˜–‘%wоzє»ZУлW°Э}c2b€:T%@фй©Ф‡°) Мр’АЪqгљb­ЏћRфzьP +[%P©2‚Й7wѓ%O¦¶БЈM@BБЛzhJН@ѓf *Яldмa„>Ц°©м•Няїh8рH©Э·*ЂfЊЌ†Ю/PAТј‰FѓЪСҐOO-E@e‚kЂ2ўфЖ YKА–dEДJ•™I=Ґ2ЇЧћ/ПЦ.$czк‰1C мІK!ч +4р@#™гџ5*ѓ’zFРHиґрB 3,Ќ¦ЃoШ дџ<6еџX¦a" +(4tсE/DB#0i…JJ„ҐЈАѓђ&brH")ѓлvЬ«6"Ђ·"Ј”rJЏ–СИћЌьщ‡5ЌУJ*ГУE|Л#/ЗTsНЇ8ФлИ-7ЉЊM:лфк’< ¬ґ±INЏАґsP6±аA/:6вяrNBtќ<И¬ +ЁPРЋ*ttSсРtЈoю  Ѓю9з« +Ц№ґTF7jђSX1dвIЏ<з+Ѕ"Рђ–)аЧ*рҐѓxтЉX“ЕђЉ +ЮtђF‡nэ&и&8ЪУ#јє‹vГхч+C(хџР€Ti0У6,=˜Л¦‘еѓ9(6¤вОшSЋЁА <ич_’5z`аЗ—4±µТђQю™bј!`OE свсЂЩ™#J “Џ Ѓ_T˜вџ +4Є¶Ы’“­ядџ $ФPЃе~…є+jР(QЋFTЕ‚Dщ¤™СH”јmx«VЈJм +­а[—ґя# ђdХш‡x TьCIОШH*@ ¶Y Є +gші +PIxG|‘ѓhL®Ћ“$@РЗG°M…”° +,В}\„ц¶ичЃL“$аbv ¶R„‚±Ѓ—ЊЕљ]аіФ@W–Ф-PЂЪCЭ-p&LlяvD.€З†А$€™й› +?Ћ +%)cyУx +фс2x +аЃОО4ЇДэ.M + UЁІјКЉnN±ФЇbw(Р|Y«ЧВвХѕ/8м „QЃ7о\ЭhГ,oЃЅкІЦ©ЯЭ€kLЯЌјBяxE.жа& ЗJ8@7-¬^ ё—¬(. +д@ЯчЇн.Рє—bN=аЬмfiucЇ’u»яЙ1QiєЦГBхЗ@®“0ѕҐ{`u]Д–Wк]І®ХЖя р‡—\X§6xЉ rќ–((HФ±КфЩz‰+ЬвrDЖѕ•Їj5Ђxё@ghіљp†vЎпKQ„2ыЏxЃБЦЭ,fЃ{г”Ш«Гэ‡ЂЎРtRЂр8ВfЗ.‚Д +ађ +юqS‹VtЇЅэо¬ Ьнn7ѕPЭ рЏ#ьГ +bџqЧЭ^юБЉ5ь#/bеР.ЛaЌxµМk +ляF^ы‚b\`Щ6ЅХґ 1ь 0 +ЇFQ‡і µ;u.ьM\/Фaы˜/`щ:Уш–|Ґ5Z7г1Ѓ”кУpЁЗXСє‘ +$x¦/°+™сЬЎть®>єFЁмl}Lµ˜ф?ј0пZиё@В®‘ЦаZ—Ї,]лqGЊlЋaЮZ§RХ5bч?§ќсВF„КUњц°. 7ЭйtR¤яиыр®Ђћн}L`·z­и 8mСnNА +4о’?lбi?¦DtчБ{оЎJzЋ  ФрВ 4ь5Ќб’*!w&<’‹ 4я#sЗ>•20Љ1шћьVWЙ8 кЋ€ЬцJЊ_~ эБч•Й:Ќф‚w–Гї:‰„Й@<@L@\@l@|@Њ@ њ@Ќр&x„і‚7 ‡GреЎРЂRxzX +PБry„H +тТ€iuЁH ‡*аGЎ,@ѓГЁuЃы‡qё +~`I&°‚М0‰цH‰oБюёЃBаEcр/(Ѓт°†x„*€« ±‡oАп +њr@ѓz`o¬¤˜eP†ВРѓp„7И ° +,Ђ й°ЃР + +hЂvђ CАА‘<П(E|4њL + +ЂН”0„ШzИAљЂЏшЂГфoЂ„јMHx„‘Йђx|t„рѓR@ЗЏp‡˜Ќ«¬ HPzx ” @и‚,‚M` Вњ(XHІlэЉex„.мѓOЁ‡GHЃИ + &`R•иЂ0}Ё‡RШwHxA`¤х¤‰jШЃ—ш„†ЂЙ =P‡Ё*°и +©/ ј€ЭЋЂPµ†KэЉ–Ё зeЪХҐЧ-Nљ( +4АCи†X +(E +Я‰Ц€CќСf +д|® ЮйЋО…ь„J}Гћ,Ѓ¶љVЎ¦оauЂvЁ˜¦(µ& ърp¶xoВ*°Ё.¬€M˜иЋ ацD@X†v`р#ґ‹±ьЕтисf5Ѓv§sЁ†v€ +<.ЏѓЅJ`‚R0Ыd°fх¤:чD9ЇъvsдёоHпН‚!о€ФD¬їp„HйЏh +г0A}ЅMНђOFWЖи‚JРЃ8 +Ќ_7 +р€упAњВи*ш†Yч† gQo¦ёрцBяj.3zкn<(ЉїшуђП$ЕB+hУь]вумх© +—D;DЬнС…lЦЊ…‡AЖTOЂ=8Љ0p_{0„Ђ‚Миѓzш+`ЉяL€zяВ]dE?(ЃBxj'‰ёnЬ0„Ф‰¶Њsа4@ЖҐGBkЗЕФчЂ‚"((Ащтрѓ!Ђ‚яЬKДЪ…gЋx„{Fщi˜s@ФЉ0VЈ•m} Р¤нЊ©FЙш +аВK/ЃЖ˜L +2lиpaѓЖъ@љ‘в!ЖЊUМЂФЗШ€G.¤dbЃµхftБґcДcъ Х{Ф#‚ +{ц¦а-@¶цЬ‘,jф(Т…У°tЛсё +А+сґUўCв,П УЅРbЌґЌ5jx!AжэsЗьЖЏ +а+ +yдY®яМ@@7¦Tk6UTЂ$ФЂZ¬DаЌ`Шt%ЩlµМ@ѓQА †|¦€@PuБ?]Р* +Фg~Xќeк=P‚ 4ЇtZюУH-Хb¦x;°Б‘яИћнЙ‹=ђе™ля0онCђ +¤WцўаxТЂЈd%йЦwђ—\В6”и•Z2-PЌў±Й0ђшЏ4Zр iѕхЏЙ№ lёИ7яfт*dѓ):шH4њ"BБь +sЊ@ )6Ґ„ +ё*в 6 +X9љ1>дђPMЄвЂiЁа0шЗ!љ1ђ‹d +Wн‹ wH!у@а‚‹aЊ>ЃЃ°б&иM4@Ћ‚№ +8°1`-`+‚$з"«!a‘rўEiђ` BТ¦VЭдФ"fцЏh +ґД<йдГ<и©бЩ‚FўyІ©,њЏтє$Tяd€uЙУЪгюС#­L‰ЂHж“:ЇО?ю1но&Ѓh.wрЄ@ТCTЅ ХBЂ2kOчѓЎ"EЙ}8ФC№ћЃH@kKўСвjд%ЩЌ‡‚–Se\і®U 2"SApф¶рmXњjЙєаВХ =ЊНРЂ:'Јэ¶I9П< +H,я¤зЁcлќз:'ђ Uhnu3"ге*mRп€z&хЗB4ВQ™оу¶Х!OшCЁ<ГУс 5<ЂТђTЩ +ЈC +T#=TiвЂZd¦1™i?бAЄћюЎ=чE +ўљ©<илЯHЂZHo рВ¤ю‘ ¤яШ +0РЂМЂИ¶ ‰K$У?bР+юc”pцGШ +uягZо3ѓ\нLJ4 +ё„” +CґР%Јя +ђѓe°ЎУѓDy™ жб–;cpZp>A +ы°(.fИ8Ъ«э№pBv@lЩ‰RxR™p‰а`Pњ‘6@ц¶zўІ[ЪЗљ¬ўqСfФъIЖ +юIыц­ўI„юEpp2@ЃЃ;юs7°дЙ›?и¦@ЃА +Hі@®Ґ +T ¬я®J`Ћ—Н#*П!µё +.јшOјCпфьфJЂ/ДOФlрGnЦ"РzШ*ЂN°Бl0Є@‹В±БДЃ€ЇЬJДЕ?‘t‹fsдЊ0§a·Э? „НUРіГ 3€{h +А2”dcR +µyЃ .аБctP¤‹Лxг +hяЃ*µMРhю$М.µXM ЫkЮ@R-бToРбохБyб?J +XёмD +ВҐ+¤Rящ@00‡Ч* b€µЁ‡Zёi Xк“@PP)noDАЛэ&4­сQ«P/(^­TеџHmЁ…˜BAч¬„%89КDXД?¦U0м°WЬЪ‡яц!PЅАYышЗЌV•В7H@ђ Xї:d ‹2Ў@а`Ђ?duш5юq^$яаЂ3Тё†1 +$Њў)В†TфЂ +(Q(в¶pд ‘ґЫ?ѕ!ЊZ’ +1Я@”С +‚ МЮр…/’Ќў$.ёj“ГExА&яЂБ$вЌq^еe +аЌК$3%ѕ˜Ѓ8ЊЃ°йaЩЋ;HзяЃpуЁЂ!H7kT°рЂАi0NdяЃ +LђѓФQи@HА3XАЈЕ%BРяЅiаµТvјmUјЅвЭЩЋ‡Ёаp„DН1ышCБЭdЂ0ЦВ‰еyЂю°VБЉяxЈ›вQ‡ +А!‹ZњА>ц±Ѓ$ЬTЙД® ђ ˜ј„w(#`.юГ‹Јј‰ ’..= Ј)Ѓ@ФДф›4\яЂ, +Ў€8 E»Q…4м к7aE+МaPа,ЧшЗР~’o„ЕБqGwGќС=6ЮE™8‘ь}"(‰+C9ўШdsTЂ.bгѓ.ћ ѕЂCµ8y\ќ"Р<гGOsfт/;‰74ǑųҘsЊ†7ѕ1 +ѓFДЖ№<(iыCE +:%)1@ЬT.Pас2іР{%QЎр +в +¶NЛ`кTѓЃzэWР +…а( Uc[v3 я0{$‘LЯАSрѓLeЋ$љ  < Lярѓ)иКQ +(А +яcn(ARЂ0љ$^0­46ђўр ~Р4sгЋ` +Ц №a®¤ +¬` јa‰ЂH s~бt 1sP +У\JЈЌРяЂ НрЙ +Ґ‹Ё!ЌOE›%Т—Q0ђЈq_О · +n1Ю0іфc¬Егp9ЛБ<Q#OqE%`ђP2ЁР8*ў“Й‘8~Ч4"ЋЌS +:ґ0ЦaБЬA ‚9p™ЈФ[0ҐгЊyE“Јw!RQ +оA•i/ДQ +6р·с›±\7EMС0 +дҐ +Йg/ У yПa ] яЎX@Щ67uV”`›‹Ђ/д•bйТ-ЕЕ8вZ№уЃ$кR8Ґ‘±PP&Рc~t' +,Py| Е*Lу‘GяЁ\‘®ЎVУЂХ”<=±O[ђ{Ф&hµ@§UРTA9зМСG°tАЪќУЃЭя,ЁjtХсяА[ +‰Yµ‹_VҐ‘~  +Oюьџv5Т>ћ¦ЅЖ±A< vй%€ЩЅ#™цY|щ‚К'„uФ!цГaїpь#g›РУ?в1Ѓ +ґЙЂЃ ђЂў}l`xЄЯ6Ђѕce3H›b?ьгQса?‚Qђ5pа”Ћ!2ѓzЁ%ЂА?Р +яќ"Њ°ц˜,єFІ@k€'ЃЌrzиJФePьGJЖс +cIД^”–@>"“ЬЃ +6Й†±Ш oDЈ +8АДa°,#EВаЃ9° ©№LbЋСћ’БМ‰НҐ#ЭшЖ7юЃі€в…%) +K<А‰r .ИCuBњ‘ EћКюЈЋ )¬t*P +ч‚Fхj +AvЊ”ЭзZ(vШ{’™тіндЁpЇрВ?P€B J'IЁЕѓ"¦*»oLA&H‡№»џW +љ|В­(ѓЇM‘’$Фm‰щGlh…eKd*€НѓµДРЧЪdUCѓD‚["( Ь4’нєдЄз. ’ДuD‘¤»lІ—“Б„IфuєЗ"M“d$XДтЎЅ†иЌod’"‰МИЗиwДЊФ)с›PўДXш€/DbЕ¦»ЅяюG6ІqЋ LД=ЂdJ”В.8А‘ЄК€4#POоЕЛ°‡!‹5ђ€з РQ¤@BсЏЎѓJїP†' +p PЃHд&СШ +0R_бщVP bѓ(ояђg…ґС +з‡у_Уs`®у% +йЕ!љ#ХY<FZ™&8iA +Z`NR8рцC +цѓBX’ тa“‚r8 +dџж™!тр$_"kўfaц"vtZ°д°Ш‘@ BЇЪ>lf;nyҐ +ґ8[вdё&р?ЃV К90‰°%F &«"^цйehЅЉ%ЂЦ?¶cю3'sў' D иC‘сP ЂiШбЄг‘ зЄ*DYд&Р8BЂ¦я А•’ ™Pђ@ЃѓЄC4­ќТj˜Іj”ц(zрAСЪ) kgCh¦f +б”kЈJ"$±oBсvcJ)њ™аA»і‘АE+ +¤фЏ’ЅЃю*ГHІ¤I‹HФЛ¬.crьзMZЁ“8sbTА“аёsЩt\&ґЁС‚ +ttР`¤@o9ю=шwЛҐЭ4 +дйџ‡љIшЧ¬„?ъю•(`–ТЃЮT©ШsРЫїtiЋк]Ё@˜@ +~U%њ*0OQўbщщ‡ ЧїFЏ!яыT˜ЂАr·юЌєuk†а<яZВ"ј·4E6¦¶L0љ‚„ +$¤*Џґ†ьЧБЛ›ўЭ^Хґс’9nїёј0БжaеСнёuќ<`\>MШ‹рVАя+ є°Ё ю-rбbС…xс.¤ѕN?з +дЂ3FёВ…я $A7ъ'ђxтИЈ„сЃEЂўuPPРFІўџ<Ъш +аЙЮ?r +VZ9fћ˜‰@u ґЃ|'вwl P Ђ%P#Ћq97hA ‰y`sА†¤–GKЭЪёPFРLМµ„ыLюDsЃ{СTW@жДй<ыEУ\~џAе +d,ё70В"‹XvОс{йХїГ7Р¤Yщ# +и#)I ”®4%ь9РF(HЎA&%эЁйgшG9X‘5ьс ЯЗг%ѓ80KвЎЋяxФB +jШ@к°C@Qђ#« 5ђЯЕБ†eФIrQUЅ +¤"ЙИўP,$ОZд#§х®€Y+’Гd·ИUINЋKXэІd­0|i‹`Ўе'MЩ'JЮK• X*«µQћЛ–‘Ґnt©0VЦ’—·˜&{9ЙGо˜e*¦Б€ K’ђІ‘ЇжDћ MG¬љЗ{Ы?¬рsьcяШБюСѓ”ееdШ, +‘nхј4PT%’Іtк…jЃЕGмIяo…7Ў ItЗП’xГpЂF  ]аs С [H(ќьі  ІA »,$s +хА +tЈG + tҐ!›" ЊnD@) +|Бѓ+”Фќ˜!–СЌ.ќ«—рv€°ш Й8„,Ђ»x x@TA€ЁЄ$(ЎТБAV$ + +Ђ!"°Xј$гL§ +’w3Ф¤ЖHm,рГД"1±€Е'ЮСљаh` +†шG5јСіо˜#@UH"°›ењзђђ +nbСњЏѓ{9рBn3Ќ\nҐЕy‰‚" +й”:ЛЙГЦSвЕw"–Й\Eќчѓ БDnўQЃбЦP‡ ЇsЬІг +·hч‘љsј&Д© +<яП«хЏ|t№6`r“’]ЃD#‡ьсRќоґАьня +ґoМ9V`ЏX§:Хиь‘Ј*иЃ +ЊС+€tЏC°Й?б™‘Јб>IMHщAu<О0$+i*TRЊАw'89€%Дт¤фіEЃМ¦.Кф"cш `0єСэ‡ОpэАCћцПЌЁ$я4z<† ‡^P 0€А +ЩЂSх*YсЕЃЃwЧн0гАБГ[ҐRР1 a5f=Aee†$FbЎ +`fС@RББv¤D +а…Ш тзpQя +0ёх‰S…їs Р(—cЛ°€КfЯђыH,У"р4ЯђЎ0-tрР +<@Ќ xu`~е а7[E„с +”(‡¬ +U@ + + џСZg(ґ€=с0 +І ]а'scя`„IHgа ЃX<@Qс +єPXщ\B>°“ с5±яp +§HЕ!‡яP‡оґІу +•3‚УА +#А7 +„°„Њ…яAж дЃЄ@=ЩЕ…h9¬!„FbЇKЃОХ HЬгжmhO·aят?:R#ЇІ§k)ўM–9…x@EФV!ю)Џк§– ЉQЙ¬A< ?фc)ыS +А@fkщЇ%”?P>=вnEжЊd…wу&m–?dz +$ҐwЭPЊ ·Ь#A`А˜Ў@(йд@u TЏ’q Р"eљ№&G\ґІзџЙтЏ°$ђ +ҐЃ‚…C9Eр%Щ0РFqхЏOVябЙЛФMiµОA +”Н ‚•йBф:“@Фє•ІЭШ@(©0%ЁВ2Н±!'ђ!Y¶.а6"®ёяа2U3ъbО?њю3K*АЕ!(БВГ?С4tЋыЪ`Ю'y˜Ј*AщюуI_‰т‰TёђЫ€^•‰тПJ·pу +„ }P3H<]ІxБ"ј‘яТqС_v^‚Ъхhа@ЫI е{,"yЖ?s€Ѓh© У +YђѓЖ™ч ‡ЉїрB=X™!""pЃtсeGџШЉэuШPѓчґв‹ё0њ°П@иЅHP-lP‹UYђ“пy@Мѓ№MPt”‰@wt„€ф ‰0к CQ=я<р;ь3й?йsПС]ДZ”р +lp@5@2Б +дD…XлT,ьА°†ЌK;D3|0З°jPiАd‘‡X h ѕ"ЋJь# яАА?>а, +‚b ўШ »8е{9˜Д.ўЉЧXDµPAV!і.Ь‹"7tu3ђДUяБ!рТ€ЃФrD•сddі.T +vЂТ +B(1 +эЗЦЗQ№о;чБЬ‡ ЈћуЁ­h нЪp€іTј5НK‰O—ЂFіЃLѓ УИЙvЮу9н(DЫЩRЊ €{ЖyЏзє“Јы„шсPzьГ·АЂ{:Щ§Wр(HxуОЪ¤ГИўЩ†qABбґT‚ШGІ[к–(„$$к,2ОЋМ–xВЁOлдЈҐйШАћ&d јя†<„+‘<¦ +•З;pгќN"°‚Ё +„яёћzц; Зiѕe’Y)\яГБ±У?ђ +cќDГ pF:6‘ ‚ЂАО0DjЬђИ©ЂUўђЯa<ЂcМЂИ‘FkГІЊАўgP6¬єqAю/Л ЃХ@Pbe0/(¦Т",HB‘;љ№я!YgJJТ3_јЩ Z Й?.Xг|UБ!щТbЪ|‘;Љ™{UxВCј‘з„L$‰А7XYґ`бXЋЙ—ўC|UаБ”SЂiц VС€аљвРѕ,c7№I”UЂ +›…6К-] +жЋsЁ5'P9Lѓ¶ѓї Фц™<Wе+fm&Тs>¤њ9с№я—5ЇШ5АVыши +\љЗ‹‘[µwЃжэsБЃ[ихAДЈб+ыI + qБЌтY`огµIР +CИc{8&xЖяњс$Љ(G•?‰ҐЃЉд‰[qёЈътЕcи¦q Ѓu€‡8ћ%’x§шюq  +W"Џ6P‡PQcT‚ъГnDєнC  ЁкP 2mЂЂяШЗЄџ +d"¬ш ђђl‰Є&KРХ@к +6~лшЦ№¶“0~yЈlД–аЃTE @7"РЂ7 +дЁњ;6“ц€з,bDHЊ  U &ЊяЕ?I€@†Р,p‹* д4€Жs`с bhг4xQ'\ўђ !р6ЈDаСzВ4l ЂH&Њ +йH # Pb#У"ДГNBУ+ЌрЉ@#ђ`Y ЎЩИ=у я +Ра#pPr`q®,¤u +–_*Ђќh,bf|!= +"фь#29 +…Ў0МЋT4DЏДXНQ…!њjьc\јљoЦє(ОA@У€JX&Bјв=9rЏ lPХZе ¬9УV6Д%ҐИ@ьyБю±VщЏ¤‚*@„тX‹Ёt`єЉTt:уИ'GЇР,ѓ +РЋjя€4F•« + @" .сЂAІ2 + ±:УыЮ!hNcШ`tхГџлgИ*zЃ2БЦaWґКЂ pT¦LlаDЏZФбО!`<.И +0„щ0t­&а‚ДЧЙДV]bяЈЙbћвp2!‘@ЃZЩ©Ђі =ња +я0Ѓ@ђЂЃ”а:8µ)" s°!2CьH=НUVHbЬ™дAь1Ѓш#XрFИЊ¤qОTєµ»VѕЖsV:)ЙА r”М\8”АЁ@:° X.ј ф~ ЮмЎњЖъ0ay%ЖхјхY…ямЙ,Щe¬\HNМЛх‹ГрЊѕ€6ИіuWd„7c…ю!И +oD# +;8{Р Vђ7’УО€АОфfsЃ,# +є :, o щАv(Q.Ўi¬hРшяЗ!|BљY“K4°i•>юC]ЛAкхЋ«[3ЦьЗT2К°г˜бр1МOЦ D…1q1АЄА +UpH`wqQj20bЃy*‘{caLяХR-5Q_І p +Ю@ +и†7_UѓҐjЈ6h3EWх +6Рauш¶UbD ђ°ЃJD +4”©c¦у#W‚(Ky$ж•\Х0tµІ5‹Yе:˜U™Q"ыS'е±@XИ+Ђ6\эГ#љЙ.фA'( +0с@9"hЁ:‰Cџ’ў"Ф9 +т +±Ґ"срђk©6g0““c$’”М#™ёг›ю%Y\[н(eўk510А +/ +®ц>•µ¬iЩЩ囥ЈZя`)ђhЃ›"jБ(бЎ’1“Вйје%еa)G0°„ъ$°@¤¶^р@р­4gk%—ЕTЬхД¬ђpрlхЄ!бСeп*Ї&™PA +‰а$ ЎГ‡# н,‚”fФ8лЫ7‰ C"мp–Ќ$ээ+а@¤Лѕ|µ‹йлеJѓЛlBФе@%_”‚ВўtRЧ@w”TAъwиџyЌ$аи'–*BяЬьшQ 0 м-«иPБ…UБ¬‡E}bчПУCёp5­ыI`Ѓ'¶ь»%р–Љ‹яюВRuоC! дсЏА4яSµ9Ц'?~мъЩьПЬїЌ°ДhРЕЃ¶hd   S Ѓ/,d,‰bїy‚яу·Q`мЪsxшкЯ‹НҐv` +сЩg +$A-2иa.¬Gв@8ЦЌCPаб@\tЈЂDЏS(ЮЏ} +юЯ‹+Иcўt –шКvmQbЙХbў'>…в +с­Ђ‚‹(,)Џ&Ъ§`‰/xW‹M™T‡AыL љ ѕ'П  F%•J¦ёBvм!TZкґ5L°ИGдyP˜QР>сЂББ?G "GЂ! H4$Тяtя№*r]Е"P”\ФGЄ(@Ж н +Щѕр‚5ђІjщ–‡1/\°ИЦ‹м,`  Ю?Bј0¦~ +”OwpћТИ) + Yщ‘qЄиTљкdЉя4‚Я?.4Љpu}рA0њс +иCШb‰рMињяАс(©p їм“ќямуЗ ЄУzґіЃ:pК +|$†яР#DDCВ\h3€†,5b‘<8г!г±›4ћTЈЩШV>CІјаў`LA,т рсP(@и0…=@‹Ж?ZЃяDдL#.0D5ў +Ож8ЁE,2”wЪ††“СIЂ +Вѓґ8#(ьІY ©s¤1@/Р§"*Ke‰‚™ѕЎЎlРЃiL‚iЬ^ЎЉЯ f(~Y +}ћгќпX°gОyБ•JtЅх +$EЩЃУ•LD§bTжРКЃzЉЏb˜ЌLЈ#X|~З л±G{GкП4V•Ђє ЁА +°U ЇEђS· ДҐ‰Imj’tѕ3Љуф“<9°AEgc™FU©IгЭз•8э\И­ yуЌА +`]“ЮTX‚h–Ij@йюqЂEяДg.1KK"p†›I. +дђњд5‡°вvР#И{Ф$ђг¶QЌ"к?D©‚Абхѓсp†3М Ї “ѓЬSЅА)—…N“ЫњPйй!Д +ўГ ЭdЩiµ&cЯxґ€н @L Љh¤ЊСИ‰‚}ЕlАљ‹Лр€М(`$ЃН З± J<л]`ИG(СM„,cЄ{! —S‘ЂC— XyоX™‚ђъ P +ЂµD`ѓ +Ђ’ђ•! +ХTрГ9X +‰ YКTкB?$гЋPKб«© +HA XЂҐW.ђЗ` +&@fЁ{ђњdoъм·7mаЌ‹dЪ/™Й\)}Д0 +Rа +±@ +” +pЊЛEcі’Vjе˜xULU"‹В9Г$1ЊsТя±* +жбю±V'R%Ќ b…і>Їђъ‘5.аXw„я°W¦U> +NC%Т“6ТЃ/f1G%Cеѓб5”Ѓ7сOh•~іђ в iCq…8 +™sў$RяbkВ$N!лX"Р’w5H6q+8

    ¬· +Ф‡L dA_WLRs$ЌЋk•luіdCAиЭи2ЌxCА#°сМт@ЗµБ +Ї}и7Ъ"ь‰7Ґ® +$@б‰З(вўxрнЃ>©“@ж  рпCB’КDу +рЭБ” +X€BЉрp чЂяaЂZ°Om$“џю(эCщcУ¤%ђE` ША{h’8Мй№иС—фytИ@hDQћѕГ c UJU.жdxAЭШC=и‰/XT&ru)EХ"ґІЈpкшЏ:Pc"БшG&"©ИJZт’˜„“ґюq1Ьeт$ф:ДЦIѓ +®[увЧЅ60wmІbЈLҐ*[ ­wНІ «W,IYSЉТXщ +еї|Y°[КҘ!&'sй+‰•т™А<&+™)¬]Л`Р ШН¬ m~rbы&F$сa8c[ВБю…€3>•p^Тb +±Б2пњz’я +ад38`щGjќТ€%э‡лУђАfeKu°:ЃPЂ`бXZС€fДЩрE4–ЂlЁҐ ЛФ‚ґx  +Шќ/¦!ЉVА"Ґ„*,'¤F¬Ќ ё = ТQЃ8@¬ИЄ–м(УЙ)brvbaЄfЏ‚„б °]5`‹ть#јИ\Z}р}$@з1К?<тЂ”-ўhм"Ц№brЎ }JЈA‡ёАtяhМЯ@аѓґД¬Ќё +и$лЩяаTXл]"0‡*тс€ +|“=X CpA-d’sX®µёИl іјtDt>+@Fр_LO В(@О0©ЌаF¤ёА"ирјШc­P1Gl"“ +Nґ)~Е№P +Но‘М> ’–зtД#ођйLѓ—Г˜гniЎзZ2OXёѓwСЁЪ‚/’ь „= zЕ!T{ђЭЙд|нQп"Ю“РhcГAozQ шґiSбaЃР'}8А…qЊyђѓЊ†ыaџИ8у©/DfЯ ^pTг?т@6BџъпїтР@HђЌhЂtП-FSe-„яpцo<–Њ"я ©?эыЃ’! ‘Жvя0пL1d<ОАaў%Ў +Б@.КЊAо/ЂMмс dn*.bЬu8BµQY¬° FlPѓШdk&C›L + ЌыыЏџ<ш?jj;‘ъГ> ©MіЉТь аћфќ(S1МЯяЎvБ^Є- ЯЗ?2ђђF'OЭсpТћ“чЋo ·ЂюЏ}|ђ’d®юa +“—нЪы3µччЫХ2љЅDжЭ1KT>рБ¦2›9yГітсБЬ;)=YНК[^сџЧ<ГЏшa^^љњ§ҐиqyъЕsS“ћw}кU?{ёgюх°Џ}мз®xeћт№До©ЙzdЪшzџьпC_zёЧѕWтJѕфПьж›]»—эф;ЩшмЈ~ы 9ѕяЛpыеПbto;ш­яNEь@о(бН=ґ”ЃЎ’§Ёѓь1вУЕщ?©А2·б:5HћС^сP xКбIєЈ HТcрvЃabб}51гЃA °O/‘‚СDc‚aRб;~ К`ЙсYѓ +Ю +2US%јБ…-“ +[ИvгUа 3У +JЁ ” %Щ`3ћv# +JQk +га +RР +І О0с° ’µeЛPЎ ;яQа +p<0 +3p +#p ’`Rбy  +„ +fK5SЛ@6а;пХ0шХ„ ‡]™"BТ Ї‘ЂA +Ђu#2п”ѕйHѓ1Ј 9фµ1­!џ 3’”АhWЬр  3/hG9pЗC_(Ё8е„яp7ц7 3Ь8®х –“Сj¶EtОѓ"А_Q­@<БС0 +.`жQX­Ґ9Ћ‡БўђЉя0By( +У‘;h\DF•0Нµ—±±ђу%*p +1%г@ +)Yh,”pa“…„%“—фЊБђsо ]сkя%(cХАљрз…ВIеI_(aНбIeњnG +&№E3РУиt +DX—mW?РЙbи±Oж„pсаOgс ќ'шScћB ®E_СЫЃ?рБ@ +иfѕ±S-ЪG‡вpБя0[ТFлЎqed'ZъЎ^ыбcбЃfbs˜2@Tд /0 +/–v1ЙР=ааCду?b І>ѓТ&нЃ!mIv9`<ц±Sы±$·ЦA +‹ +ьбB·v ЌVj%"@”fi-ўѕ%d +а +Э +Сч¬0­})ЭПЧ‡} +Љ|УiЛК +iЃ°ЎГ‡# +ф祉aэЈФ@ўЗЏ;мђ¤Й“+ \YР[ґo°*мС@hДї-ьSҐ*ЏЁX~ющ‰%JTћ<g +|аа›Єy¦э‹F0Аї&е +Ј@• !n·юХТщOЈАџBѓъ ШмџѕІHяYЂҐкЌ·”wО–яxдё@8^ј§-ДЁJTгћ;яХИcO ¬ xРР ZЋ +з„‚с ]tЇЬд +)’+4ўЮ?J +qсO$ЁfзБ7я|яRP­ЦJђmі dЫ?ЮШєU8ъ3I‰фO°ъЉPђЌ +9~гЃ€)г@ЇяxА7Я`+ђU-ЈЛ@ЙІЃ!‘ D‰P, “;‹т4т/быП!я$ST№f;ђD@№њ”Г +ЇEяdsА(·рVђ‡е°ќItЧ(qЕYvФQ|™%мE­гВ.АЩN­OзP †]Аqп­За˜о! +Ґ< +OR®ЅДЗ A.X@K'fЩбoя`a–мl#DлАё„ЄDѓGяа– +<@G9љ…0юсЌ-ОРгрF6ІСyлатFИИDЃ(@ѕ8А?ё1ЌМbxЪFHуBФ Ж ДБ"Їир[Т €7P3ЂC’сЊЙ†П`‘‡jдA# Ц?Р?Ќe(qq€fЂ (Ўг ќЩрЛФH.я1OJђбЈpA˜f+TЂ0r‚$°ДeЪPkqґp‹°UОW¤IШ?’jЎЪбвy°A,0›yюГuHa‚ѓќcIЉ7¤‰Жўю1')IЁ=)’”ћҐу<'­€ЪN[ke6ЦЁ-<ЖIП™ВЗєЎЗ r{Ek°scЅµ +вdNHB‘AWyЊNQЇД‘ІѕбЂЊvA(rРаЈу)Qе@ЌsX ЕXЌ U Ф ¤ІХўгЁ +dB +LDќ8…J62 +‹Д ЪшА т2ЋH Сяh +сЉЁ‚¬!„e +XJ XD8К?рfЂЧ°Ђ +\ qЛрD„ЂЖAwЎњ2¦щ†– +aФеУЁбT$ў‰АВ „?т°‰xQ –Њ$2ЦЏyl˜tчWQћтa~fдЉ€"рЂn<Ґђ±@-ДФіґяГВ$ИЪb +њѕе)гЂUAЙІhдtK”ЋryR±КИГb>№–XЕ"q„2u*ђ+ЁАG©…Ћ1m‘ВR"я +G ±рO 4Р@х ?±” аal`uЎ +Ac5ђжPУЂ&ісР +fq1ьr/2DбT +± +@¤nк6.я0 +@]dЁOсаЃ5Ўm–С_ЂиБЈ,5S:AVXm”Ѓ‡A ˜P wЉЁRo’3ъul8e›X0(гс \µB +p"52=т@—t5Ъ6Oр„1 я +я0XЩСRД8qV;2Zр`/ђр мр%рПсщ5тРV +наµ"‹jГяЙ +8Щ›S&нс’чa¬EЌЩ +?[Б±:+r>pѓ&'BZA™7С`‘іZ­В ‹o68_b_?•§eBPoЁ +VщЏ§ўRoт7ЙҐ";y>g’$Ѓ!) 9АZВ8 +xчИЄ0 +pyB0Z ў",‚мС"‡Г €"% +сp°ф#Х‰Юу|V+¬‚Юу'@阉9бs>/@‚Т±>ъ¤¶'КРQ;НҐ“йA>tхг‘пб`·#'q%ujя?F¶'™А +сЂ(ЂІhr7]ҐҐ+ 7кCWn–fu&A†‚_dЕ°>…‚(бCњСfС±¤Qє'ыр‚pЁ”J;е1` +ф>Rт{Жa`№Аj¶b­У!­Qg +•ViQђFWдb¬ђ к+Д:ЯZpzjQ u"K:`­;tЎTр>Iє—ІTBnѓъ™`ЇaiEІЧV%сjБ;®¦p ‘hї +Є1В?P\ьўaљ…‚„юY° +Іфц/]ўp:pPa ¬<Є™(@х©ФљAфсЇЩїdЦDЭиПAґ¬)¦ьЎU ,ЃІ>ДЭЬР† +‚д€пЕ‹X—)е‰кUкНQ!Y ЩЎЛЁШT P-Zґ‚Ї9 wш™Аґiя^Фz–ИЛ•ЉIЫѓхЯГіgDюЏЗЂд/ +я ` +яXћя0ё<тИcџxЙДГ?4н§aBДгa<ЇЬ'ѓў ‡®@аЉП€ ѕПOЦHР7 +ь“cЋяPаАҐ Ѓ&X`A(ў Oy‰'Б}яМAђFэ–Ќqщxя<а y¶€а‘dВ3ж +ў@ +†¤’^яЉесь±П’f"Рu ДJA +˜Ђ… lЂA9I[Ј=TQ +^ѓЉCјAПє и‰1ф”ТЂIB}”PBь&РЇ5%@° +zшл з-Aо|°Г#C ВДЋ$`1$і‰АЏ¤ђaAо +ц,D‰иS e3B!ъ AЕЙM3‚1 Э ]яЃ  2‚ZІ0BБ5МP‚>ф`Бч@У”Rф•P x‘@ =?ДF=W3QцФд@Іщ#UFы +›фс =l<О=џфЎЗ¤1CRЉ& +)Г„ж%QE’Њ0=^иЃ:иў1Вђр[qЋ@2ДWFыБЁёОD)# AП ФЈ*ђ\Пoї 8B ђ< +‚5Ч[Э$zиQH +«]¬‰zЊ@°Эм‘PTahЁG +І¶эгVЁGькЎ‚…с„Z Ђ‚:фЎHLхЂ@(ЧЂ•Pў +чк*шСjgсТаdї>шkЂџ(єяи1‚tAhРa¬1(\И†PdI +0Е.^0ЏлbґктЏПд3f€6ДhЈoЂ %шЖI " +мdЋaH_ТB6ЄD3PUюA ибzHЌ@, +Ќш/Т\жъHЂ(ц +9$ + €@миЗ‹TАч©Б?``ѓi,ў„pЖ&jт ЃаB’’д4‚ |ў=QЃ…/\0Љ[ьcU0NюїDҐЬИM¦б ьF9СP¤;R™њёгd9˜F4 +Л ДњСd *@Жр<й±рЗGв‚Му/‹ZђўaяЃњГџJ§Jl–ѓє˜@ :”BНsUJяЁOѓBTЂ4 +4#<аA*ђ,JUКщУ‘Љt¦%‰T *jђJЎyQћ8@џ@єЂЄШ4ўиD):R˜ЋФ&)К4€@J<ЩR—<  +T ’dћ%ќ‡L’РC•Г«¬¶DµђCЕ“T№ЪзI/hTЂ"$Аћкщ˜TЁ‡‚lаu +% +А +”Bx€@оІкЋМВWhЂPA1‚lВj ЁA=hА&1b›1 +j`Њґг!З9TрФYdwz˜Aк +тІ˜A`ЂCЕ#Rт¬q”B…ѕCP +u@ba€7Fа СДЯ¬Сё‡ґc5ИWZv©< шр ®2tю¬ + +_=|џ5€ЅЬn†ќ;Шp·ТЈНСЄFК7=lё.†@Џ!xЂ«A +6± c@ў}шУвe‚йючJЂ:v 0ЌxгыA)Ё¬ЫаE# +AdЈ}¶ИмрҐrш¬ЫDZ6ЄХѕaйA)Єр +3ГЉhm РҐk‡жЁ‚FІIЃT`„' .њњдЎ["‘ZС(.зHЕ/”xЌЗлИqё8 wџяЙL¦ГЈ’ч¤.аN‰АЃtC rмЖр +aФР凓Ѓ>њn(ѓm]°Ђ*>р +ЇЂ¤`М[Њb +љщ"I–Осj„ +бфB–бqф¤wy°‹QУ`.p@щбЂъ7°~фбN +rЁ ЩzЂ!ЖР(њьD +pYфqDr j’RВP)µ&ataX@rZN"&яАV*R’†ж#22‡bИ`Z@ /"тpS8я5(;Ґ‡0QsЯбЂ$& +@РtWgА +`r‹{ШTA${ёSp(!R qрРXДrޘU@ +сЉXFў‹j‚RK2&1 Lв)/` +!БpО ЂЙЏd№Г’ Љy™˜™™љ№™ +С +Кp2Щ # AЖP`а „t4Ђ7п“ +оа6Wж/@ГШEор +њрфр›ЋаЈ ~ + ~°D}а3;д†p8ЂгкPntрiI  цЂ` ‘ +h0>¶Y”0:B3/ +1;z°ma] 9Kг,fҐP +€&4^^¦,г0љГ38Є/”6C° бLАeЁ°>z0<Ѓ3„xн°AV~0E0L >Ё /“– ВV3дА@ +„3 +XPхЫDхE•Ђq‰яЛю`~„фС‘‰zАrjq18V‚LG јHSQ}zБСћ3±H мБ с1В +LВс™Шf}†єяла3—с<ђ!—aЄ*<uaАј ±ё=јВ` +[ѕг0 +Б6ђДsдIЮ +PЊЎ +ОР +ѓPг +n +UЬ&0 +`NС +Qaz~Ў +жъn|#ЛР2яІ A8R匘‹ ИP‘ђRXцбt7‘§ќ9 "PВ$кЁSF> ґ€&+ +˜™яp€ЊІ) +b&(т€~И$i€&{< а7ЎO“†r 8… ЦЁ‡mІ‚ь=зbX‹ )ЌІ)#’†џћRб"‹Xс Tq  +0UZб!џши&%BЉЃ#¬І(;ЧЉ.'Њ5”лњ8‹„eSА>ЉM… іЋЉчсs@Дя6Д/сe¬*іhFюйєHм{8’TгЃЉQBДJ‚ +С +Ѓѓщ€ђ¬P l‚…µh‹L"иdвпя! ZWV!™* +UUiRe +u K˜0ЮЌ9uодЩ3в„xя „¬уЇиѕ#™2эS сПБ .5АтЕU’>µnеК3*5‘яЁэЫчpмГ:GкФ№P+йJљЕАtҐ[Ч.Д¬$ЏJDтP%О‰€x™ЁЦ]Д‰OјS±hЦЕ‘%л3ЩтeМ™5oжЬЩуgРЎEЏ&]ЪфiФ©UЇfЭzґ7&Џ†Ёт†ЮяЈ +ёжQ™Љх@$ш4јOџъ -б ў;_Умх&m/В4кф• 7ѓM%z?^ѓЮњ  A“˜R8G‰:bJ9и,АЅ +ыFФ)Ђ*aВkђ+A/ЊБ•"JЃ4DґЁ&"ЬdшЉa6rЂhљФЎzЄhТI‡мщ‹Ш«mrРЁgЕka‡Y”QяжѓRфHА‘7LР z ©‡ w.ўдx|d'mh@ѓ7©’ф˜Ўќњ"ђdEc,?­JШ}z(ЕvЉ(©®…·ИЧ@(еЌиY=§цћu•Ks` +uъ@e†“ѓ»±%~зz˜Џ"˜ЃЈјАІiк +ЦЁA).§J”Ўj ёЪilРяGA`Y›Xљ›,в<Ё#~ЩёH ++ф/~1MJ kФЈ%xЭE¦! TДЏЂЩГ іme¤ ^H@!ѕа± 9®ђhjмQ…J5¬ВВZEzїZdҐи_х.˜6P±˜Fк7њMЊ`ЄQAj0!uЊ`‰arFЏёUd0K@еЮ€‘)V‘ uґИ9ѕа(®UЃ5:Ѓђ?,Ш*")@ѓ5ИC€ +МУ™rGIRІ"e˜`ВEХ,rџH@ +F +X0D7° +0дHlЁ ў‹(” /м L(ЬCИдДФCЄ1а–Зx# +‚BИVІќљlмХ+< +ЬуL7…ўќAй~FА]Нхл’ЁО„љљsp +*bШd +КPT\uP(B  +X( +Љ ac@‚—ЋH]eБ†ЮйЪ4ц(А,TР6\"гЁ(i +'ЏсчЂю#GyК  z§ћtьЃ@1t"  +ЖцЏRё +SW©С>dЃ +Z™ѓ©@.,ўG-tP¤ЉЗµ5nёnэг‡SNТZфu tPЕ-b +Ељ0µє”Г"нЅ@Ђ?Єґ©A°U bМВWТ?ћЩ`QУД#'sМBИv9ЕZjЩечO1Ш)KiZy†`v †'ЃzяHЬwзњ@Oю"Ґfб6Н4DГdpLF(<а‘]`q6-ђwдэ¬U5нP­М/Фз$pў°cЋ;ъя—·†¶D+ЯHI¬5ђ•™"YЙJ(RэГ†&,J6T(ЄЃ„"ZXД7явХђЋ0ичjЙ«@ +PЃhu"†A +T`БЉЊв·… x2ЂX$ —‚ɘCЄ8 0‹LoРЖ?0HЗ«Ё‚vY$!ЂR2Vёаd +%к˜Х„"ц(Y+УПх о¬П+qіЦlк”4Ис iTLМИCЈЃз +pЂМ–ҐЄJ`JтQмf·‚°Ґ;jEЬЄ(ђИ%E©lќE¬Ю6ФџЃ @<ё л в!Ј‚я”!µU@m 2‡Мб®#€‡6ЗЪю CДI[Lб +Ў +cUиуA$GѓЈB]ђU–J0!0(Mi!yА ,HuFNЇP ¶iMhкЂЌ˜Ъ aFRЭВњјљ №*АJT%M¦дЦ№‰tќЄ ДЧ1њ©or“!z +ѓxсЊ€@®lBаж ,*°’@~е$%xЕ»и `bяdђPQј2I„ИєСо‰Ё P86%ђ‡jЉ" +еЧЈ,Q X8ц!sFЁэUЉ<=@ЗcёВ•¶ђR ± % Uђ +wJ\p C”D0GgK№Ж?ДB,Э8+ 0ђ[˜АЃy8ж)QзђШРP9ND6„ €ёю +^Њ ‡°}П?бH!˜АдFя +` ­ <дХRPф ‚ GqJ&Ў +GGyрT‹ НВР9 +АC@(„Ґuc• +д@сx*Ў +Є“@4E)ђD“`4Ј„‚±…У45яр +0x9@`„\і$a…4WuiЊшО`Z>Рз@ЉоW-hN"5я°Х‰ћSґVR ЅсEE–RТQ#4ЈVя@U<фЪ•ѕ8ГЃXТ4‹Х\vўрСbФА=l†z2сЂ©%3ҐQ *†o +&жЁqЈ`f«тS­GЂу#:ЂљXц_џ‚e9¬ієЄя ґк ° ќѓ*®¦&љwа\(љЄh\Р?щ +ь IЎГ‡#цЏА@XюRъ—с% їIу ±¤I…ЯP‚Хa`‡Ќ'cКЊ˜Г`4‚ЛfкинЯ7UђюЌъ—GX{c©x.Џ№B%D‰ТЛП§<шt°ФAЃl;R ˜ ,¬яd©ТSKЪ°~тбгЯЎ»uэ ДъvОUyd•rеG*С°`|Шiг_гЃУ\ь[ДЗE +рTXЎ|+Дџ<К<чэгаNH¤ХУAgЯ| ЙЃ<юЈ‡фБ#џ@сМсЏVќс@%EpA{ЭI`г? +ґB†($З?/В8}FъчJ>n°‚я +¤К7±`ЋАЦэsЛ„Ё3Љ +Ет‰] ДЛ?ЌьЙ°±6Нu‹&°x°А#‡эsmXЭюcsя ·AШ +GФRњоA9DO1…D€;„UGУh1ЊC@5зtР5xѕXБ +)wяФФОС6+Pdtя0 + +Оk"Ќ–d#6h‰ЂГ‘ђё0& +˜¶,РСt +Р$D5ЁБДTQ‚t ± +&ђЬ"• 5`і +г0$Ос +Є0P¶v:54:SpGC + „ НaЪРYѕў +Ѓ7`9аTs’UБ~С7Ъ!GV"‰±"5'шЃ nqцЧJЃЉЊBАRў(‹њB У0 +0U.°fҐХ70rYFb#0XгЊ‘s‹Њ“WЌRZнYю±VЪu\шH YaWїўЋµ7н88НГa”#ю9эЎУ nѕbMь‘бг(4EН38яўc ’’ +)Ъ0n;1tС й9пСЋ2;ІZ®"ћsS…3Рr6P}Г(ssSљУ6~“9H"HrS\Bн`ҐQx“"Т7}s`ЁХ•Єe#т8'FclЖП1ZeВ&Жc`З3]Д•“СЎїЗЌ6Dtа»ХVэб<п˜iR]Ёu9H‚’Ахве+7#$У1ZэA9Lт– +'—“”; )Њў#›щ+ +А7Бsђk™q]°Ј!F9aRИfgаp6ї•8R6gЕѓҐщ1>ра‡ +э)E¦dс'‚Рc‡–=‡V'У!( ф(2ц(€Ъ(А@ЎЄѕr? $Р<&uЂ*{ҐfЊє]|U ў g +¬я _YК@ўVµ !Єў?uВ‰uђЄ%ф‹6Ф §т¬RЙє4ђ =– с° +7kяЂiї +Ф °ЎГ‡ + аА_ДТ.jЬШPЃ·Ѓ`qI’дGЃЩ”\™р[»†ZД2ЛWAUяTещgЃђ(B>у€ъIH%ѓю +а1ђ‡–Ј +иAT‘°„•"дAЏ*‘-|‚фЇQЈІјкѓkзА9*Xђе,BY`aQўKХЁy рЏ‡а/4©hњНYyФp4*Ј˜ZРа„С.Д‹чв* яЋґ§w`ћќ`)y ь™ЈиТя$HЂ@Ay}Ђ€+7 +рйБ3ЮxАБSzЪ]ЧТ@ +Dђњo'ђяP€…ю!ґ‚x6чЬ$Ґ‘яьEяx +v#љ~ЅЙS z(¬ З…­0 @+¬ +<Шя@Є@і\ЉкFљ=5ђ€Ў&Рї†еNDњґйU­©p@-„КS[џшбГ!‡шаГ?Г‰тЏUЏ +фMAЙ"РNЄђXѓD“C5ћYPA4·Ё0ђБBPµмhыO@UЃa°К?Ё + + ѓ +ШЧO¦€\Ът•ЁжЃ +‚ЕY¤z¦ щRЃњйlѓ™ЖМh3х¤-=Х?°4Т†ЈY&s”bm)Rњ Л+\Аѓ +e¤ИНю1љцXй<дщЩХ Вµэ4§ +еИm9Bђxд&ћ¶ЖГ”7\ЪМ#ФЬАЈK€ы†Ђ:є+]µЎbZb52 Дp%i^Ѓg#ЄUh “Экь#$еж9с +pO Фи ’T)p ’:Р4c‚pпЖiТ@ьЏJY# +~т¤N0ђR !L Hю1(H"cџ?vў­Ah@SяШЃ—їЊcTaя\nd[rРЉ$PA V`іAѕЎ + +кщ Є№˜A,Іg6Р щs–=(1ЋC7D®я°j<“ї,ГТ Q +T +n$М$R†ъђЛ\Z =1F +tH”S/ЈT@ +xдјСЅ’ЋЃь5ЇidT! ё%ЋЧjDZ +r?€Bђ№ь‡/*РYШЕІF Kuќц,ь°тЂ*к±Ђhd,фЧВЕYое,nk и†PМЎ +!Л'Б ьоы2€я7Piѓi ђВ- \jЩ›ІOvfцgxяЈ(5t™@bЎm •С` +Lц0Ю +9 +XS!}5SРW3µwтМЦEб—ё1Хф1еф=~&Щ11ОQЭ¶-.syyЂkд” сгґQ43#ўpF©!Hiфg­~;бЯЂiT +< +br_ьzvЎxяАхґAѓA2ч•ЅГ@~уL +х„с‚с“P2л4%Ў/ +на†X„Q¦МA'\27Z# Є…5†і5sµA4ў6єq%Aў%Wb%2$@я3Ё· +яф@ +”CB +@С°ШУvmь—@ Пґубiс`‡‚T8Р+ђґ +KўT5qГЩ“‡1ЇДC”6qЩpNо9ИyEмk<±OJЮvВC|Ќ2&/е¤Ф]PМ"мноРРяLЅ@0„.єд +x<<4~шaђЪЙs ‚ JџRFaќ†1оЗеЏ@К‰'‰ь˜i<( юCI:HМ + D qXA0 +ИvКу‚Р-В +Хd¦‘ +!ь?ьг&эG2љu:`Іh@ + +ЏDгГ0zюqЃДН±6hGA’;ђ,":z0ь‚˜DсG;>^oтКуk"3ІСа`ю±БDЗ:2‚оэкЗ@ ы€KщK^мєБўIkсаA>рд(‰9Єэр·% Iя±ЛmUйA ©іBє!‹ %O; Jі YИ@k©KЩyЃ"ђАh9* ЂЩазюЋT Їx0с‚'Ю€РArаЋVђќ-.ўuгя(ђp(S!a„рЃЁBЃЬi€аі5 2Г?l@Хњѓѓ§PтЮчZЩЦЎv!ь>4?ЗЃ‹ТлЫ? ‡ +€a!cSAюP!ы`€ЦпіОuPфdтh;+@П h +L§<с U&ґgћZм[ ґ6 ЖЃ'дRя0Аq‚Р*TwиёЕM Ѓ¬‰«#яO№КWОт–Ч&–._¤%f0XОЌ° %+]¶КCЉRзлTҐ+uХsxСІ•7—№.ЕUЇYV2и›L:НЗeJN:Эз ґ'•.х-ќлPїeЧ?™u­_ЅWTzШ±^цQRkлhєШЧц·я\нt˜'ЩОЇј“ќ”gп¤Ьлф¶гэпяH;®j№tЕПЭжcчъЅ OyJВ]р•Яy.«5шWf^` ыєanС—3зdчыЃ?oш˜+Й +ДЃ• +с +‰@L` +3А +Ь oа +˜боS.жr`и„5eЎбQ&Xя@_ХМЗMp*`„  +FЁЎ +„PI(± ъ 8x еЂI¦ +Я°MФd +l ±T^ Q7N5Ћ@5~ЕEу +°раУАX»DKЕ,дУчZЈ! + а>аQ#5ъЂ7®Ґ5дsђdOяµKpSЇ5 0‘R оPOsOC€Sг~Ў ґOхpGр|xГІ0y ^ ? >°яА яЂPЈ: :Р +y0 +3Р +а ° 3ХгOѕ  +2гЕY”асUЃQШD=9А +І +ж +vЁrА‹pҐЕв8”аЎ:ҐЊГЅгr9 к!6E ¦8— c3q—•±r9 =ўѓM19©C—еMA R +0б-8pУАЕ *‚ђ0]˜8—±_M Ђ;єЈ\9рdхh6nu’:ѓ©SяPH)с ‘8хuPУP‡І‘ ЦЃ!ЪQ@'4'qёP@)§=;у]с™sґ8<ђ_Ѓ›:ЦЗЈЮc>g№IсP!‹Р˜¶U +–')—ЮУ%Ћb%RDВ)сP +1щYЎ`дА`bУ&aТ‰bѕYD! K‰Lr1ђВ>Ф&ё6'1d<rf&ІћЫ№ўѕґT‘›<№©!"‚'oR><в!&тњv“¶Dc2FЈUnВC¤њVh?жcіЦ^ю”\н@ “b“щ\UЖiэU¤чS b±Kсa# +9эд +Ѓе4&h3rb:b%\‚нщ\tм”<љЪА]8Ezк6џХЗD1m<4&єy”m9˜®4РхdtIhrПPEд ­ =Шёш¦a-"z·ЫTЏ¤ў%5.>bЫ0IGE RМ«NШ”„"Р5­qҐлPдвIцХJ€ШўУњ9йI"кЁ@PTШб аіТ  +:“T[$і~ЋmRЄ ,”„8ьc +Љ +OQЇ%ЎэЗД[‹?L iњ ‘<"tќжС”Efљ/QҐ=ЃTiT‘Ъ‡м^мHнyє»Аz2Ѓ˜ќ.№ёГл6ђ^\ п<Й/Mu&l +яђЕBцRг‰ИB+ЯxMюС‡yB +ЁBЏ!B7 ±/)сe, +Ј…%ДaКP•lr‘ +е › +тЌњАЕ°рвHюў’9уДЉpI†™g?#¤dЯ€QIЊЩ+>Ъ % @µJТЃЁBѕўf?ЏГещЗ-F!ЛhИнСс†¤µsЂё XЄв¶ЕГ|xлDdЅЅ< С<>!,C–@Л™еxb$ YржЂYЉST1мѕF)=t‡@0‹яD§ЌќIbЋ.ьто° ZОЎЉВ%рѓ AќO@В2eж 0*`–Ќm,FЅщ@іT`Ѓ#Ъ&ЩYЮb/ЃЂт +§Њ\~Ў +$МС/B|‚фbMV„8Л +ЊЈ +;@TQІws'µ¬Ґє,У—c‹R.м#ИЗJЇi`љ +PsfQP­r­т1  ЯPj[a0ёrА1 +ЁA4OЧNодN~O\†А +‹ ЯбPЅ2з`‚q.9ђk3бДP з/o1/GBА6!E +И5 ЧW†˜ бR[€$#R€u80p2Ј + TЬE$ +тћ"e5"ц±Ш!dG,ђWА•Ћб4ОЃ$»і4Џ|…+=ВP›Ј7‚&Mb\‰Ј‘*B&…в‘02,§gАиA‘&I"‹яУQћu‘v8ЭpEѓ3‘яaєcU‰“ TuY‹s$TŔॡё$1ѓ8NiXт )rY«X а:Ы$zCH©’?µђ›†BPЉrZгQZяаBя +P™p^-Ў +еbк5˜ Б¦Џ–%яа q§uЎe¦іV—г¦б +,}¬A(ЏЄЇ^Єс)ЦїXъD‚„р›‹©¶l§ДhВтф'PЏЄzВІ +mњжa“ZЃ%"hAмА .8И!0ЂM‚<ягЊ8!Уv8'¬Г?•yЪВўXkСўФy”¦€›ЗН¶э‹‡фџ ра ф3Рrг/lуq±ЁXјqЄiGxnчБЖя{с + + *Џ<пХчЬ?+0(Џ}яњчBю'‘0ЯpдЂМЃ @рQ€ +­И`rя   +2Я…/њиGgБ?0x +0ьSU±Дт\5ь‚>я#Кl°|рHїЈH­ +ьіѓe? +$Њ№Б¤+,±Н–±Fѓэгl<‹ьFZAУ «йЂя¤vZ90MvХд0R7+[є№уёЬ^`]<pЋ«дЛћOR9ў€\¤Кµч ЊяЬ·HїiЭЛяИnУ„“Ж!яw\¤нБ§¦аЙsбЎГy р¬А„bђІйЃ,b4Я›&—ЬsoVH_Ўm?ђriа”[РgtуЏ­qфЂѓа{‘О'G‹.*гЊ1О'§@B` © +яДq­Bk ”ьzсЕз9…5Є c™РП§ы?ББЄ,ЇuИnѓїЇ@=tЕ +7жщжEєе?ЁЦ!«WdРСжsБx'Ъ§ЮюИD&Pu„ЅЙ.G/Ш +d€btі‚в ЄШг@B=˜`X +$;хаВ.)Uв@ПукМdo9 +AD-OyЮГH‡ j +‰‚ґ&иr1H…ЪКЛщОI zџ№DТєЃА.sH|Юк&Ь]Iw2bСr]«!С±n7sдAаЅХ)ЂcАљ %%9чzVкќњRT‹е•&Hб№Х + Pw В#jЉКd=9ЅЁ=БТkяs`‚,Ў юГ@2:ш0Шµд+,бљ‡¦‚ +$яhЕґ jЏИBµHд@ в¬MвњЁuG„Є«b·ъш†4~+lѓ¬,j с‡P¦±РfSD†Гўµ%вВ#mс%8ІнЋPb6d±I0ТЂl”[!Ю #%NВ±€;]к}·AnвЃYЊ„Юj‘!№хЅпэP ‰й +яQЖDЪ»Алz щ +р? ATФ bђА6Dtб +\0З+ +БtTеЄpКDlеЌёЫWshА?а +Ѓф„,v¬ЊфБњГцЙШ Ю>¬[ _Ш<АШ-@ i€pv}V,ЋТИzщ €яЗ'>Ў„8Ђ–ЈpБФ‚ Ш;єґЊ*(‡ф +ж ±рБ#џ)ђ№Ђ`c6‹?ЄАЇ)$R­ Ъ®a! –ПЄ ˜Њ (·A›‰‚9Ќ`ж?x1?јR RяЗяц0ЌЩ<ю +.ЂMЬ` 1 +]p0|ґ3нт0\;С!77‘R±P1RWqжР+63#8#ГЪ@Cы¤O"4 +0аЖ&J|(Д-.аь Ђ.54У [ё@Р4Cl/n/CЕаEХ¦†е3肦#3(•m1zа'.kИB3x7Е&*ЎmH”Pщб‚.Ш‚7tПbПя|s(†и,ѕ А-УрXL5зР{7+ЉБ!HГc0%3ёдЃЉаRя ?Ћµ®СTљёk˜‹ђ;U +Т6яp± co rEшA‹P +зР_#±X-©БиrwЈK“!hW10т%…Ж8гpЪ0‹ОH0 S—hЌ"_ПБ6 v=С‘vu™HVз ZќX- ‡[—>!eO" +!ц;mSW.рU˜Шў%Bи".vЂ Sfd&ђOв– рс +˜q %ЩБE +pЖ%&з±&љ#ђ7ў‘r…u‰ёИEС + ‘€EcК%˜рС]Р)lr"ЇWнwVГe+b–љ˜г;‚№ ќу“[‰!яђo€!H®v+a+р +д!Џшјеўqg_ўgisљєі\˜Ґ\§щѕў я`Ўя AЎ!ђ +Ш+˜zІнЫ)§eH·-¬Яя>ОМуСЭї!а^ОМ-ЃЙёWo-t\@ќґh mO‘њDђ2 ДJУщGЏ2УЋ#џv +ДB5Hљm$‡1Q9<щ°ТжlЪZаёHARЏС$e1эGM72S-к +‡:l + +€Ђ@1‚¬]T 4`Ў‡ѓЃ  €@т9kЊЋ +‡h‚}ЦраC$_ѓxЃр-Aвјjpц‡=Јh˜cCЦ*n!WЂќ:Р`dѓP‚ +3ёF@Ш, ёы  A +дlшxявB>в +Бу$Я_ ˜цmМ €BRsr6№цaџэL=-ЧВэВ Ўx§у§ђE +ZУ5®д” +мУЖ°wadP PD‘J~РTS}ax а3ђ +AqутK@НG(ґ? 3>8Ш/ +€c8†&°3я° і ‰ДyP‚Ѓy +u3z +ЁX0ф0^ MU›@7ђ IУ”@йb1 +G§;°„!<уҐ0~)сzQу>З‡°к@13Р[Lhs=Ћ` +Uv§Ё9ђр Ґ&5PЁ€ +› +Х`‰ шSк@ЛИH¤5ѓ~бХђ +&Р=}Ђ=3а +ђЗmБ8Щ ,]ђN".#P +Uр +JХ”р +ЪІ0C.Ґ@]lР +˜’^¶µяmbLЎ TP6YaCеZ ВA ќ3‘”»Ґ1a°Рю\Т°L9g—ҐВa|—•»UЇ5NБ1Р4”0”`YahЙб. –k9gЄ С +Ђ•s‰ + `ЗфpЎ +Љ™\_я +Б˜yРџ +Э —Ў™9ђaµ№ Дes! +ЗхЌР‚ ziy@\ +v P +А_1)]AњБя)V +ґЩ„ + +VАє +”°µ ¤сж ˜=_9ћj!— +ж[ЮAК ХщА°IV< 9 +¶”К Kщ?‘`ЄїQќQ д°.@ +'<Р‡сbБ +™Ј71"e +’_#NB%+r + ,т +Ъ‘ha# FeТc;’jр +eЊ¶'чa&аС&8т'№*ярыАlМfІE+rІ'ЂІ¬gdВf°[Љ°j“ВіH±!!В"Nf­ЃЁ8&\т§6' +@L’€0Юи†ф° + µNЖрu ч@жі5 °HЛ’ґ…Ж ћґ +4яР[У 40ЖЂq0rБЎ Щр +Ђє ца +Mа +о0 +Я` +ЁПґ iPжг<Ъ™7Uvhxђц‹nк0ЏАр—.бЯА Ц«јЋаЮ ~pq§—Zo”0ЂЂ’сh` РЈT + ;:~@KDЊ”`?u0]ГSYж«.fГ ‚—2‘U3ѓh +~Mз~ +Z'˜ИUyЈ4`tp†Щ  цЗ‘ +hL +g6,г8л‚ярF€ДC«ђ6±o`3Уѓ‡КР +ѓЕQ і +ЂA EТx'Ёнј‚DnЕ8ѓ] BьЧҐ'ПP +Q˜¬EQ„{, +с +¤TА1V}Ц0LАI}јф0ЖАyMЎ¦W1ЏM)pFџЂDиM BbMО;@?h +}4C*УђE¶·є8O#xФ †Т 0TцЂН\4DLѓ6яи&­Е—jOD3ќ§н0эІљ Г~aФ8€^°Ъ`Ѓgґ:T BФ/…]‰ +бX B…РqlУ0 +г@ +EЂ}9збѕ@Ќ@wђ›P~3p–Юђ`FUЅѓ_я~3ЧxГ‹Ћ0 Ђ +ќфЏШGc7“$p©»ЊLх0µа*AµЂnoЂЕЮ° +7ДS€]nЙCP3АЗ„ +тr7 ђ ҐЫ«HL@џЙA‡!ю/]аЬ +a:@ЉLP6П·‡Ё'˜‚§=УрmU <ЌС° +Р +ଈ#‰iАуH©c +^ќl° +)PЂPU +Cy™1hСїp©№яSYrБТљэk1”бЯ`! +вЯ”А2v™<ћю6a[q‘НБbо +`gА?ЯєНЉ ФлW°`Dу@aґhaХ®e›СћoяМха‚`Ђvq~ыЗч_\mюЪA•0Ysњ9[„СAWВ‘%K,0 ЂoЮz2¤¤*–ЄЄjј*ф +hBя uђинБdШ±VXАВяї2 y$ґI•Є< гЅ(вУ§ўBЧЂиMЃ°ЭМК¦>yVћ„T ґPгvrд‡эOР‘> y -жA!a¬љд± jhuьѓЮ^0Ѕ`,‚,шДД;Д‚’IЖмЌЎ[: ‚уіp­ђљ& +zъ$™|@ђ ‘“iЎQfЂNЎ !»рEњРE№2¬'Џ.†PъFRп\i$ЎCьP¦)F‘bі"`еD„>hЂ н`ґІ$ lh%Ў<¦{гџ‚АnМ (:…‰аA‚`9иYzнJ@IвЎ + Ђ |щяЗМ‚E9Bhфэ`“Ж䴧Ђ +КaUdM:фP…xА˜Њ…R„<3зџФЬДо x°Б›VУ*!˜Mц\e ЄlЛGJпД b"$љc=ҐЁ +`ЄШcЦ8#|т Ч<#nИ‚‘ь©зx0wc–'*`Єa4ћ®eЁB(я©@€Ez& ќ–ѓV€µЋµAе +±чџl^ +рЉњ~!p„ +АЌ©]BH?ТсоtШгќи¶FААьOhI#аУЬчЏоЋ (Oy|§яБА™m8ю‘ Л@…јбa/xД жGпэо~џыG>ТRВЌ©мxЃЩ†чѕъ‘зtтГ <јГЯЋ†яё!5¶› ‡†тр +`hД +qt АќШ2]`еsNуэ¬ГЯх.€ L\ы‚?}Q_`Е?И€Б¬аЊШ +дЂп©nѓЌKби$З…AЖ‚.МcBV°Aкс{\!гбў8"2P +xА (єДU!ђДў­I>†Оl™ФдЄ0‚PЏm±в!YЕ?ВРwЎk\<. €VўKjгЭеЃEZ’ т@Ѓ-Ийх€@И‚‰,OяJ +§MаЌѓЁt!3'9?ъ-S›P? вOvR0?ЂxZсt -f©:nжС€»{AОщПЂZ–•Ь+PЂNRўЗФћ.©Лc¶рТЫЂюРЊ^и ѓ”ЁCщЁєWr‹№ќи^qЃ +dВҐ€iuЦ +&‡0„Шz€2‰PXЂиѕ™ѓ–#?Hx„nрЉx„t„рѓRPё†p‡иєѕУ€¤Cpwш@и‚'+‚MP2Ч›(x№Ел±,¤€ex(‚‘K +M>»ЬЕt{ ѓјыWЉРїзњЃќU€i°°z°Yc‘±Ы8х\=X2ЯѓM‡H4°†7%M(шП}Љ Y­еЪ‰(ѓПDДMх +XС>HT,˜€µ­ЩИµЙ>ЂЂxT‚ЁIGА[ЅM;Т}їG0И†шК!ш|ХWќЃЈ‚±\WћРяHU€8‡мѓBр„CЎ2`<зE,0„nXЂ Ѕ#3†3cKќI"Г¶ЈкнCА‚§s^& ‡eЃkхґ•€l\ЌФ[‚0ЃД[*ШГ,і!ђ[€8К‰dД“E\ЄфХ†ИЃђ@G 7 5WIЃ!=Ш„M(}и¶nі(Ћn#Hu`В#{C‘Н`­Ы=2‚М»2+ќл6}Ш`TШ/А>#s[6&¤P§E€ZЬJ~d€µ•DчмЪ„ђЧ—ы„a”?°+zҐ_¬p?%tЂvЁЕ¤(Т]ІЪ+6okaЧ*°Ё‚;ла)hаяЊp +С†р…/Н3†-KQ\ѓо6(¬6иЪл@;њ3+РD +Ф „‚0"&,v5ICѓ*YГ—ЫG 5 §62YЌ Ђ=Б0ђj‚°C(И»>Ё‡/°‚к[Б(›ЦіnЈм&,ЃBPЬ<^ІХхН0–«СУЕ€sа4X·Й6? +aTPеЂ‚"((рлbуѓ!Ђ‚ЬYгD§Юјяx™mзi љs°Еn«GјT „$¶іҐњА·ЊшЂќ>M€sђ·ь‚"–іKЩѕЩ¦‡!ЁTа6 +¶Эѓ7OгxНJ€yгш P]А[Э"l[Щ +д[”В's~чЕѓћ@ЩСЖPT@ +р&o Rh!Џ@ъИб@є9a~/xЃ"Ѓя‘(е"ЃјQИЈ›Ѕ­А#Эярr +Ss`ЛЂя +bЋ8Oa1Љbт ЏfвoНAL ‰ѓв +аfvЕxAМд!ЏCДdљrsf2“-"6І©Ћ@&ѕРЙ(9љ’Ё)Ґ&Ѕ`g|(ЖW$Uќiн@Bgp<я%›yN;Лг}P№‘ihж@™Xfо)єтP‰ќПЭљЖ38;В Ёlrаў©ЌJЅ‰RШМѓҐдHаяАN„ЁvЄђhv»ЎУ,4%‘ъЗBEй€ШѓќIкҐYЛШЂTЎЎv(џКyй$”вҐwЫ…4ґ!є№I8kГ[Ф&HђҐF$p +$~®-'ЈKЦ ‚Н +„7ѕщ+yљж№я\Тд;Ѓ¬N%kP>kµQtІЪAОафSЎд4”HЁЈЖ?TчЏHяЩхG@‚gb +К$ +ђgѓрнрЂфІј +Ъ dЈјГЄ§++sО’rБkўгLШ‡fГОwШщЬ1Ќ=(?:зІtЉ¤ьзаg<%i‹я¦¦ё)N}кd.аV&)8уb0EзxА 2±<Щ$ђА +ЊЖ'¬ЂhІ1`у5EUUвЃ&Ґ·A"p"ВhсqБ6<§5Z‚!DҐ8;27“Е%шсщPЭАUяАhЉжјс +1“8WRUЌЈ#aYkіуш@°0р9jУ&Ќ37"lђoгPaфR " +upш±¬ +‚` +®ѓ<с°ФА]`ћіewђ;Hђ'p<ЙЙ'Й'¶Гќ¶УY±–ЉВk°€ђ Gp”§І˜йyџ±±я@ +иК'¶iБ ОђwащҐeа`/ +ЭфЗРД‹RъG©cЖЏ жиM`Ђ +xаЦ@ Ф\l d_|(ь# +r$ЏmёI Бs,ІИЂгuу +.ьs р`В-яh +уѕLуќs±АbпЅцЉ&ђ=Ўy$D<юg)·™l вRнµgm%РFэSИ?/0зЁjй~я<чКlю¤|=жdmВ-‚Ю?“j^bаееЏСMз#}NЫ+яг_Ўx РkМ­`%О 6ёўђWЮgalя3©}ађ<ЂҐ…щ%€ќt)ЖЧbШйцblВЌ·†@µ\PМzрШrnWR§]ѓ(ДЯ?сеяЊЫ„іm жЪ`јl љИЮlЧ9Аz ѕ°A&u°Юг_љЃ э1ЃМ­gАµФQЗћ eВ5¦ї ЗЖGQђњЭсЏк!2нgД +%р+UСEп)aKђЅ¦ВА2Иі¦(GЌФNф AE‹:Љ)цЗ™:Jа?Д’SяиўМў”tРЃ!<а +‡еc”ЌР}уЏ»яђ_?юРЪ?Jb­ЁўП +.вkе,ѓЙЯ?$ЊbЕўШк@Ґ0bЏ‚ldR€(bс |е+ь‰ьЂ–«РEяєя°BкэC` +±@Z +d‘ °A\.°Ъ@NsД”,+-/1$aЃ:ВВ° АY,@U˜j.ёE9а &@Б°G +PЃ јА XЙЧS€љѓ0 +`ші” +*ђ™Ѓ6мёЦ*яAЃфR Љў„*юuhггЃ0тЩ\ 䥭>Xђьј@8™1f Е @38є‘Чк&$ЭD'HёqАLщ‚ +‡OЙH^і™ЏбиEуaЪoк&я›W +К[„ЁCђ§йЎ~zSFjф ДБR«ЌЉNЄў©j§§Ќ-§b_"Й H + +ВЃЃ”wг}+¤Ф+ђLD7јоэGy2Яъ +Cаn6`_ЦOx©В І(ф·!выGДиb€u! +pЈ`1ЉМвш†4bщ`ѓ˜Љ}F‡/B +SЏ4Ъ(к€ыgw˜XRFXqD FЙ#‰2сЌIЊянШ•0ЙlPzГHђNBдЃ o%П +Q‚XидЃ!MЛ ўЂ +hх"†§Jў1ЃјЎ2¤ЃЉVТ›C4гЋHЂЄb1¬ѓD Э,Tс +Ё9$° „ +¦Ѓ‚@…Z‡ђ@#!ђhю#­4•@€hИўяpѓЄтю +Дфёqyщ?Њеb! ›‘ }иг3xь¦n1 +q…[ б@Qs@&яа +…т‰ |в+c!K2~щ0=с +А]ъ7V$шZўяРЗ'bб€_¶R•яиєFЂ’¬… jДC,Pg– ¤ЄІЃЄ0iB‚xґ—.;ђIВ4єбъЗ +а‹г  +;щ‡9r °'#¤™МгЎ +˜P"%0G,(о™«рД¤Ѓ… +љиА9˜2hЃD4%С€З+ЊAcРЖsьvЈMuЃhап ™FъођAsњkЇ1ѕJL—Vєc#X +u\`6Ш&2 ЕЅ\і™ўЙ я/џэ Ч@ВЅю9¶ЙMo6¬9ъЗ;¦•¬Њ¦ ЏXеЅЯђР№З"<‡H˜ +ФдtХьг„J$б`т9q<0.щЏIоcА№Фт‚@s@жAµь3БЯCЎюПћјQяp°'"Gh:”&я”Pђ3¬ьS®н›Vі,A›прЮY¤<т„}«fe6-МkфM7яPљэ@ЪWяQЯриEthFЂW{пP5ШGѓк?x°М?у3Љ708аН +Ў *JP€B”ЂЁHК@¤Ѓђ +хЏ +bІ0ЗўЉ<€в‹±c,D1F Bж4y ,.! XDCДZЂ`±,ЉАBЃf)М.0„с™C]фЦ ++…Жm ДДr(Ђ)TБ ЂB+ѓШЂЂЩ@ђЌµ,BсGВТЙ”Ґ pБЄЗѓ|оЄhМ[Оё0ЛPq‰”hЕ"P%Jj` +dj ёА@rSўщ ЗfЇ9Oђp3LЭL€%|* +˜а•©‘љR»є L'HQљ@Аd +ТЬ0ейУC>^”‰Ю +%ЎЬqя +¤x’ъ6р‡#pа H`ќ{Т&хA¤^Ёвь«)/Квe рC„!ґdЙD 0ё‡‚в.]‰r”ћ0Cњё=n­JГс€fґз‘Дщ†E(х°с№#}(FgEXlZp$ЖЋ†ў D‚ЛЛ°Џ!ҐЂQ¤t H…q<Ћ„ў~ +ш†4„ѕ%ышxAUІ!ґ! ¤ЎІ„Ж‰ФЏЗЉrвc"aѓ$…я&5H + +Ё«G1~wЋ™"Ре†D#яАћ<И +8іC>@NЯ‘Д.c!Ђр"6бa2ъРQ|k Лаіт Њ=pCWЎДрІдъ® x¬UlxиCGК–ЃЕ‰хЏ˜`Ъг3‡ ў +BDc^°ЛKhг_ЧЫЙђЌ©cqЁeSЋяа†€ю$ђ«јV-О]0шЏФB'`ЧВИш‰ЉяЈвO†>ДвaЈ@¬Ею1…„яЈm$я,$т +Ч"UЊraЯІЅЛ_ЃЈx|жѓfш5‚– +џљ-’А!T1AК1‘&IтpЪРтW ˜­”T'ѓЛqџрЖЦ->°U’ +щ пЃ3)ёNzc2?уЎсyб†<0€0†…“ХЎgИ"GІ%‰яУ‡АЂИ2ҐбJDhRлQ6µRs@ +%‰9Љд—ѓQ$;е€фб‰0UэТgЎ +&‡ 5Г„;rЉ*е4`EоС7hѓs`A A +P\Г87Џ˜U*Ґ”sq Z®k#5&"ђL…яШЇH\ +фрн[Й—яМIYђР± +яQ" *П?QЄф}‚дЈ$G?}Ц0G°ЫG‚yTЙrI’ +·ю-€kРМЃnЌъЄу_Ођ˜BHй_Ђ[t>TИ!° +—$@АЖ? +8A7™Ѓ#ђ&Д#ђoеЩWavаЃПЉЪ ¤_w +ђ¶ +$ПwHё‹фЅOgћM`АЛрЏ ХV¤yBњђЖр‚•mPР>YЋ№г@ыdрд“P№љpрљ<‘ B¬с"u ЃИљ$9PБ?юL„ВЭAў1bЈ9аҐ0E Р +D˜A„ТР …”‡ +¦сРЕ?цOPџшяр.ЌМ*џи#JјUЪ.0Р*€bFЯсґF(fН`[yєI Op0І(бМIЋGЮ Й-7’@ +(рOЖ1?hЯ +ъ$GН6gП‚rt†!ґИ?сјЎA!ccv!g‡ +ѕ9H¬ЙК?%\uѕй’%я#G~а9Ря°БћЛ +ЏЅ"¤б¶Й3 /,nЫгѕХцЯ˜ч$•kNђҐ˜њc]№qсуf<µt‡ЋХQz1µ Ыfѕд'А;>*СВРЮQІыR’иD-йnСПEژ6Тї‘й№іoA“*Qф! TЅф/ЎфM +PфЗВ%Ч3€7t!ґ + р© +(K#9Мµ*PЃ¬кшG,du\Шр>рC2rµ«рJ цЂEяFсЏ.x #†€б±Ђ­Эё‚DїЃDзPВpA-,p˜l}ВdСб'ўДXдБ†±@-„uЂАВE _` +$R­x№‘2ЪU a2њЖЉ$Є†%,ђ˜Щ|ЋS"^^l +Мt3І‘aз;uіПЂ†”>®й_Р1„иЂє¤;иьН‘$яob + +XPВwMId(Fгж©УћЪmBaKйw2фЃ`аSЛy@ЫЉ”ў”І€7ЧAйWSЉсФw@ДЦ†¤ѕАm'тЄЗ‘¤Ї­hBрx…Ќ +&ГIу 2»ПЭо6#™‡o|hќЯb—8b#RAwўЮ\gfУ*Ч™b pШС®VX‚ +Pй­яЂГZ3g-Бг­Oz«kЗ?.±‡ 6ЇKP Q8В~aIжP5˜`АНЎ„м8–©" Љ¬Љ’ kјК'Ц2HpDo±ТЁ$a™@4p +М1x4deГв~рЎ@ЊҐ +Qй‹ЂV!ђШh%q$,,Р…Ив-Љ@p1«і|вЩ2Ц5sRgЃё@„И „яЎGЉT :Xеa† ЉlAЦyЂ4Zj€CY=;ЬJ# ЯsЂ°Ў[(‚ГvМƘг3щ‡&b АџИр«P‹r „ЖbYР’ГOА[ЦпґњХЉGдЮ +ч!@=‘Д°жя`Ў@ОQ +2Љ[TЎz1ХҐќAYB‰”`Г?F1ѓht@я мсmЃpґ*~Dе-t љЊФаШ‚a\lэ4дЬ@ +FcйU± +а7ЄцЄщО‘ЈС‰?‹Ьb ЄњЕ{ЭhПУ€/¦pЈUТ.ќ C¶3¬· 2Жј tЗѓtЖzИc`aчч›З№\rЈ5 +hBй +^FHXТВ¬fр;ВМ4¦сЈмЊѓ9,Tq€Й?–лЈTпЯjXщиY№еяВ”ш кxОс˜рј2МИ«`т (Dїуjз¬Ћ@Ю$yT €#†Cи4`Г`EтVg·&Рa"ТPхС"в‘zујQиa1ЌтG1ЂД1 3QhЂз„$BўF(д#/ёQѕU6ррj#s$?e;пTт!8Ѓe$з¤8еТLk2 +А Р!ъ7у”R^C9гYГ!&Й!gя¤у‘3%e!_г5H2…є·<ђ•7Ђ0“"Шq7A˜4yS„г1мІ#9А˜ +а Цa~,rWч$21˜Ѓжсґё‰!4ATав”XЯ#1#2и1т4±иcqс#E“X№XP‚_2eEЕIЂіГ$Чbm‚ЮqUь1…чбЌ–і‚±@Р +p[…P%CЏquPA(#+°4,ўW™ђ СҐg0qP"АEч”7yWНи‹`|P]±a +a +яO~aЃюIHю +Ђ{ЃЪ ® (o=|yпi—ЯП?a< +ЧНU`|уЎ` @тАіВЊОз!|Д™dRGЉD’Ґ€,я¬б]~шАЧ?~щaMя$ +!r d,yxя + СX@Ђ +УФ"Лш‹(}Т¶~X'Кh˜cх,УhpЂ@Ut@@љqR˜=j ЃбЎєVБ"љqу5«·!‹ѕWІ§Ихбс@ +p"U6e"°Ьfl5ТЁЇVєFi +яР +аg°К!"?&AABiV#>䧋 +A,Ы!і†¶бЦ°µ0Dq§Јл6Џ.ўi"¶сQAнбґЂ¶ёr:&87>кhnТz°EЌ;kBuМ›'№Ц(’ЄG ј> +ХUMЂµ43л·OTќ„у¬‚4ЦfНy¦<Пm +ЦhНУ1СrЌ|q]0њњЧ¶zЮТО2ЅK€Сb­Mpќ1…эСхФ\эШMПШ¬ЃC€М‹ЌХx-О+нK{э‚уzЪ,ЃA8ЩШ<~?гЩ­јХыIЁ}Ђ +xТ­}ЃА<Оt +іЭM±ќН=ќЫ1ЌПi +ЫЮзПјmТ%hЫ6xК}Ья<ЪКЫ«ЭЫЭwПщ\ЛХLКНтЬU +ЬТ=Щї +*C1 +ЬЭІЊЬџтЭТЮЩ­Кд +4®-ЩЊнЛБLHМэЮ•ЅQ—эХЋDh«l,Ч-( + яј2PЃюП ++b +”б@рАcc…рЂ +HЮЂљ'^ђэЃЧcxмsDХqѓ‘T]”Eщxў·Ю?„GЈЂж](ћмMрЏыґAЉ:Aм©gА"Иl°Пu0:илM˜ћwйҐgв?dЉРҐqАA¬ьs¦FH¬!кtВятН‚щC™@ь#В«јєD%Iц**j§ +дKf7-%,G¬ШЂ±™I!ст! lЂ4ЛюЪЃ ЎЖZ±”pИ!яXлC`Ћ–!‘±хБMQKјЩ“Зєњ$ќѓ`9Ѓ6Д¤ ¤Ъ?±ДтI,F!±ШC %іь3Љ-нq@А2ЌжьгЃm29(P.xvБN©G™aIL,°X0Д|-u+PХЃжBuяl‡KdДЉ"ђ*yLхI#Їд§ЯoХьc|IgЦtvш¦_<1в@ЃтpшП•хG¶zм}F@|ЭЪ7б+ZЁҐЩ +A’€%Щ:уПR+ў4G7 Г@Е`'ЃxК‘чpц€о—вmЂДлqиjАA 2(Gё*Р"џf:г•Т)є4шeдЈ фBpМNРЄ3qЂ€фnP ›/ЬGР ,:A”"Ёшќ4rКћ Їђf° ЯW*РGdr‡@™ДК™c~e1яёќП6rїPw9Х +`QЖtЬ3 +иg. Gёю xI…iЂ|ЧТ0№Ђ*t h@5rяЂiЁмУx@QBЂ_Ц¦eџiↂђ<”ДV`qО`Qe"e) +ќШa{юMЃ€bЗйЉщL45ѓjn4ZРфЈ YDeлA@$'э¤ядUи +П|н>л‘њ‡ОVћи;m»А8ЁХм +tDj№еР +‹Ј№ЧFt*[i{ +RЏФ6X ХвФШЂуfRА‚$Б­КT…RZС©xдCЮtщ¤jt 4ї‘ђ@всЉБ‚(jё}Ѓ…‡ЪаСhl/˜Ґк Єхm +а¦јЏ:dў~ИџЄюс>djN:°Пц‘`1‘IЃ>‚q|D ‚яyяX‘CJiDЃБ†AШ<ї#Оd яѓџ;b* +$ѓ–‰xY4A[†˜|VўвВ’LжbьХ¤5’+l” <ЌkTґй‚Q2“счZкѓ|г%)i«O‚w+ЦіFH7Ь3™‘Ь:Ч‰Mилu›#1$@Џ]a? ЦЩљJƘл +В°@-к w€икK)я ВВ'uA +љЉЬB'…и?:)йN¤<FаRsX  +o†qљ&ЉlAУ/§A,¦iЉЭ*#шЗ ±˜њґi–CЙ Мaa  9‰"!°Нe$+fЗй@сфd Д%‚ТY”жXЙZ¦ЎЉЎ ­ .‡DяdЄRL +С0p>cедјS + +…RЗQRNбPжPQ dВEb&3&UKоb@30 +ЌPЇB +#ЃI$AJЈ45„р +Ўaѓг394/E6Е#•9U3h€ +Љх%Р‘…є‡"Я±yvшдgK$тBр5}яи3рЦ‘TKх&ивмpHеqo"bЕРY!m4Сџ±&шсUЯЃ!QZЮсЌX^ И+IИU_cVcS'яaX^‚ yх6ЛR +R`бб8bµ'"яЩZЯБ'¬P8 т + 1iaю1%Щ_аС7Ъ%’"&)bP8 +А +ыҐЉЫхЋCЋчX'Vђсђњ#я·cд\AОр5*V<юб[фx%юA6Ei!џ!w^Ѓ—±"R3%зUё ‚I ¤1Кі +$#zмБгў…Ї\Ў„X7ЃD`$†@GPґП@s”A<фщO&я +я•к¬яx KJ)СЄ«ACќ”«/ ґМ®¬E LA…\p]р +_YFlB‡ЃцР-h¤‘9y‰вЦ!ёЂыП!‡4г_„ ФК°ЎЃby)Жљ9ЁbЋЊDCЂ +ьFЈJ-С ”®(±шa0!Пэ# +TX‰ў%А4BCqKf)хЏ0Т.FЂjzM3ЌdК>ык@iTЫ@юьSМ"OыOЭЗЯЈa +Д‡q”ЗПІYђ‡*±ЁSЭЕРGPЫl9д0@rф™зВd¦(Р + ®)O>р}T#уjя +Иљ{г H@ ’Ў +3yђe)Нѓ°шЩ&gc˜ЋPBЦ‰гDъЖљjШ PЦ"„АM‚!ІM<0ЧBД 6?Jц)я‚ееџ +г [* „г\ + +f†H +?зШg…Ь‘ tЈ2¬ѓдЄF“I¤3­o8@Ў—‘4§0ш¤ ›юGЎGЌйѓ r "«2ЋxА›щЂ +Ж± D±СC ђr +x@bщ « 5ЁЃ1'0¬ФжЧtЂї4рђIЛ#Љ‘W,ґR•OД‚’©6єgeI‚XаKDi!j@ +Mб&,TAуJ Cѓt€ҐРH Ёаўri. +qт»E)j±А¦рµў ¬Pфa, €¦Ї„qT  +q~еfщщРy}2EaMQКяРTaE~юCУ€@РЃЏж +Ѓ‡‹яAE{сQ^х#]0ІлAЋB,Е{8w˜*}3{RгUqb:e8і!&qў,ћиGхP +ЂXSЯe;bТS!ў8°Г&п1PzіЋ8+¶X +°ЦЎGћг +FЎ!]‰†°c2R:Ђ(К“–$‚"ъKB!РAl@ІЅуxA^˜vYб +ў:ЖsWн!˜ \Пг&ррjђDы% + —Ѓ;–@И№8 яВ5‡гX-т[ПГS0 +Ѓ*ыpu  ж©b_rK‘"Ј+QeС>…"(†Ъ>‰°I&@ +I†1й&Зq`бс”ъpc± +dbҐ‹В‡#JTЃТ@w fф6РБДЏ %6˜с_Iw!SЄ|иa‘KScнkД‹]¤шmҐПѓяe PЎК4X%KDea €f‡ўъHf-™ЏO°F и!ФO€dН*pУ­+я,АКуйїXq фбH”(UўШZр +$AРm +(Р·‚}ОБa„f‡њ~ъµ€ЬD„eA‘FH ґ_rсьіЏ …”AљNj'ДL`@‚±-RG&€x’ YyP§qPP-Љyк“,заA[°љяDXV^©j«@;ЙJ’A,sл­г`фOп°ГЋ(јC–Gї&Ѓх4P®Я<дEўQр1P +ўа&ђ4НBД¬E°!РH©B€ўЂаГ!rЙХИ\Й8  ДВA†Ё@)ІЬцЏЇ®fAJ +«J +ўП+џЇy¤Љ+‰в§ГW"tсёАF§ѓ*¤‚DkDяO€Ё +d +…S’›щЈ†8ыGµfшЂFXєЪ•@я‚ВCџЊk ')ўpєСЃ]­Еп°f\¦Д” Md;ВБEhф‚›СaS"‹h°b„»Е-FЃ+Ѓ8`TTвy +рЏ +Ьв HЩ¤°‰RЮ& +ФЊгЁЂД~uґhPж<™ЪXpУDВD`r°P%"­ +s›ЬDЈ]«ўЯfЦ!Ў­= +сьjlДР? +°4ф¤н.RрдC!ё­|© Ш +ЎБ +QЫqQяаТЕґc 68­ +CђPґ%zP‘Ћ¤¤яҐОB©KШ‹^бЊQъDZ±+ґ°»жь|щ ћ<(„‚вi рђ@зт„§јОоqьХТ$ЧI >НMСs±c(ЂЃаzЄ$ъј…:`њ/џрѓ5_ЙyА;в­Y ЂЉ +#Њyр†€(њЎ•Ф8AФТ.авцЌё}Tљ‚єАҐЩя˜† +¤ +рbПЎynE@|л& +pбш~дGЙЂ1i‘ …XlрL{ 6&pГbІа +#  +« 0d|Р„kQx1Lq.# +Фжж +@ +СVт{г<`B +ю`xup˜A n +БсЭ’mГТS&•7dCаwGGЎPC3Y’AGЏзБaЉёБS&Б°ЉCWкf4G“…U#ЕрЌF‰,#‚UѓP +М1%Њ8B_і‡e€ЊR‡РLeѓ±Bёђ\ГRB +S +Т$ЃY"гГ—*B!v!UЖ?'8wђС?Рб kbJ‚"X© Uж" +Wџ8т +vjЎ**Ѕ–*€рq >И!с!#R$пЃ@щ±fTV# jбт%X’&yх]o3et3ћрс jв§їЄБH?'X?k™©juPB•—.‚e/ Ѓ6ћ©!tѓ&Ґу4.p)G B1f(Юъ'Z(кг“x©(—h/’Vљ Os!Ь±›єDЄЌ"‚ …R(Њ’%±“љ °uђh +"%хкђ°a +*иТ"jЬx°Ы@UмШЅҐ +»’SЄА[Ћ +&-Y®WёЭ"uУхПЫJЋґуG©U&ьѓ5Р\¬XўDэеD љэKжзРїрЂ3яиU‘НІ,еa,юt В(”З_^5ТИ?Ќа’—VS=uWXLU B4Ф“,ФEpDХьMЉжАрdMзRч—@PAхП's<Х»№Р +УњVа ‡њK0О­ЮъХ?TM46t@о@V—˜sЛҐ(Џ‚JюѓќѓVЮH ХеpГќ&rЙеУиrrќ‚(Ая#Ўzu+И_ХґcЄІ·џЩI06AQ>Ј„46Ч–%¦$жC°RЎrF"©$‹,® !ЊQОи~ы­Wў"Гa°Ж?ЋЕБJ-чa5Яk:й;”4в9V8fЋи¦IИ'ЏњcC'Ё{c;ёј„­oPGjАц] +tДс~ ‡AGА5Рµ$‡_&ьУѕ@Hp^ж[$*DЬOPчхGДЈ5ўhЛ?ь‰юэДL©%X%є,ГЂQ +‡ЕXђд%ЬH4tA UHҐXя;bѓ4+†сЂяѕсЌ–„b;АК*рЌ ±~J …@ѕСЃ +ёЃ=шGР_Aшы‚Z(ш€"А +d\ђ.€ZI‚\dЛxV¦#6ђu‚…_ м +Ђx`;µf5ўЊnш +‰ЯРE +Q ЛЁЩЗУКР>`€ЦAj‰BВГ(„|p€fЁСЯљ*1‚.Д"PME +ш”XЬе‡яЮ?|`сN~ѓ„¦Z†\hіX  +Ј?T *( !и° +‘E)zI ЁВѓЁ*жрЏН!Д.ы„>`€ +зb…я PВ"ЧRјAОБѓ U aн h5 +SE3pS +—„$ +њQ@QҐ¶MItш0ANўL·rA[DtЃOи’ +90 +вДЂa„Бi‘13`ФЃ…+®Rgо°MЂ„7и'6`P`ЃQg ”3W§ Я + +п +±’¤€nе8•шyџЂКсnРя`8|и'/A7/р5E%ДеnТ ‹“UВаYуЮБ€›ВMw +ЛИЌ2"\ ‚Sї˜т‘+r† N+ЈU§€6_ЕZСШ:& +"Ќ" +2•ОС‹s…±Е“цa* “ЪХ8сС‹1‚&b^jsђцy–XЁЧфsЏу$kВ7g<±u7сХ +Щ¶0Ј-УТ(i`_`±^­5#¬ѓ6BVYХ +bSЛC\7r#fу8Њi(†= + )\6Кххбtв:збaГc!фea`e#Ъ=^¶)¶:$’90&6!Ш’‚(ђcYВQ¦тћт',Jчs=нЎ>vcБ>µpbЇУ?<:¦с>Q 2[eaо3H +a@ЁGЖNF>™ІЁ€К+}’™pЂЎЎ0Ы№5°©‘ gf–aЈj*HЂ _яp¬тц\Р +0C +$ш$«yьі±ђЂжЧ°Iћі0ЌѓЁ©я5ШW`n‚ +єћ»ёqЉД‰я«ђѓ +\¦Ж‚4ћЃ/вЕяЛсOЫ9зЄ_Пѕaґ _э“0Ѕъ?yбе—·вЯ +кт +А'ћЯYg_Aр¶‚(¬а}вЕіИ"Еј`ѓ(§Ђ9c |Ш +(p(ђu4ЦШбЯЃПсьуБt#Q)&y @tЃ‘я,Џgб7 +WЮё‚ЋкзЯ}у(„xьS‡’hf‡gЯБЈџ‡_ю“Ј@rЬHЭ|ЦІAHчЏћяь‘ж kMђБ?ј +дE©Q#P&*BHДяЃкЁґЦjл­ёжЉ¦7L<2„:CјAП#3hњ® A)ЏРіА сЮ [ђ2hрИz@’@а:в€> Ђ ®4hPнAЯ*F<А`ђ8бq02љЦPђ\!L`ВПЊюQ§:EЩя?ХСП‡B%1“5SТ’uшS%юрgKщ|х°Vmк0А¬мњRL©шR‚Z’‰3)кOGШ*«ВЉ +| + Їb4ІPu¦Ѓ|y"Ў6“E&@ђ0‹ъХ°Ћµ¬‘bЏ, +кРGЕfА†JР@Ј\e +и±p +hЂ–˜0L¤ +o°Ў #@fґРP„*Ё`;@Ш*хЎ‡˜Ђ +P G юШїsAцшFђм`НЂh°™Hk±іY(C(сP¬6j„_nbЦd¬ZfЎB“]OtiлB=@А фM¤ LL@№ЇрпYм`µяИ'$кБNzјЃ‘мДВП2rЙzРQZ#HИ uP”" ‡ЮЂс†Ш`ї*v тЃ"@я{$Р@ЈЁ +ЮЄБ рфґР С(E-кAЏvPд +oР + t"kўѓиЎ^ЧГ‚ґя!E|ТгщВЃ2yДw°dрn Qo5%рEv +р;хXаB0t}ш—Сw9µзb}Ћ` +ч7LXА=хЏpЕw0}ђ1BEX° +^0Аа  +% +LЂЃІQЧ—}"a|Я2]06A + аЙ 1!гOGё J.5°H@„eT}41ђ0Ґа}бѕl°,х5Ћ° +АS’ђA СР +а +уЧ&°—c +µ@hр1Hlр +vё.Та”¶r,ХbUG +…`„P„  +Bi•hт +y  +ђђ1ЃЯ@ї5Вр +ЊЙXи5 +ЄсУpћ0PIТ зITсцав °CёAЩћ rћWQ_®Ґц%KwпЙџ±A +К Р“ +›Ќb[2LЃZЯ@ХР™wЎЇQ +"Bаж!NV%Яq'Re +V6жaа?jҐ™‘ЎЕ +f;¦%ьЃ%r`4цЕ°6˜љ©FAaX‡:mВ(We9rЄn2©Ќа!$сu°zАЄA‚f#ж%nЦ»є#Ц1рҐbвi ЃЕZg0«y6bUт%Pжf[ў#{&gЎJⱋ–­4!ЎpЂxЖdd*brP'‘к!n2ћСҐ“т€Ж®˜сTВ(f*'І« V2°›b +р +Iђ±0‹‚Вje’¬ЄўµрARjяАЇr`ЂІ@ґEЫ +1i*-{‡ІqP±Y[оZ[…©v¶nы¶p·r;·К #°qtдSхўPЧ>Ѓ‡Уђ‘лбУ@ѓA=L +Р +NВ-…†zP +]р\X5C/фт ~lх’ +МТN7Pб»^`yu7ЏP±H6Р +пц +мл=Z°џQ;ђLЇzО1г:кXођ8Я5~ lі0z@0)xЂ E%ДWaРћ —cБc +›РMР +S,(r pЉ8q˜РA‡0[ѓ’я  +жа˜7¬і ’ѕ}WhЂ +UЃКУ]¬Ш=џ»~ С +Ё@pЅёЛz  Лpј—фxtОу.5°Л +qa€1&д©h +Ё0м‰@ха Рґн pцBтWSћ4є +A Z +а6¶4П@tРЈ§Р]€ГЭ<И +сО5P‡A W2«lUРK d™lаtЦ@tЎ ]РAMН}Ё'У +БCwу?Ји“d +хPIѕ 1 +’Ђ +ЧФ±5u:IMр_PҐ бБГ>-Ф“u# +_CDmд-CP БC П'­Й3PJҐ`s +[ЩTв– +tЗrхН +сBю;Щб<–§uFУ`„ФЃW$ н 0°Ы +Аx /ф††Р +юуpЇыёґc·|·¶5 а?Э`XРЅъВTагаЂ~ЭјВЌЩа~x +aЕЃTђФу.b4Л]|1 +tАГь+J€1CЂ”ЉМ|‹"‘DДЃќьЂLр.Љ-ҐP + Wр +Х0° +Г @ z:Юдvk3РTр +ые +Уt1hвqњЂЭO±ФFs„ +=ёPPE +Н +Кђ +иЖ—sЂў\АЂџ@7ќ +ц`Ю +э2иC Љt ©d2ЯRKфЂФCЩyх +АNEЉЖ@щ[ФO$хbѓК°4рh2 ВШM«ЋlР +o®ьkб +в•юЕбђPяjAШ‘U”`СфЯ]”$ЁнЯA„ .dШРбC€%N¤XСвEЊ +Ѕ98HРЈА +2Ћ$YТдI”)FыЧнЯG˜TО¤YУжM‰,А¤дkзАq%ZФЁЕ +«e`Q.гІY`0„Њ‹„Б!љСGAy0бѓЯ4оџк8jЛ@‹ўЂ#XьщG№˜И†’g¤Д‚Oєрџ х1–дfґ :6fЁў‚Я^ўД 0h©E*oвЎU4сџ\Eѓ(iтшВЕB “%9Љ +`)1yаЃз ю‘з ЖюGрБzб…x*°бњ№я‰№ољ 8ИЩ +ё`‘ вI,мИ&[p¦oћВ—ютxЪС¦ќ¤Ејо +@gы…њГ†‡l…T/|…Тs^ЂЗг©ќЂiОБъv’пцЎ°8>рЧюБ‡П^‚ҐЛт9ф Сl° жv Я·Ђ + +(АуjяyЕw +сAЭ +PаВм)±imsЃоюбЌ°KЉS@ЫzИґяС‹^$ЬваЃ9$сwh ЛшДѓ( Tkdя!рQ‹uмQрB1®-‹XДЛBИtхF(¬`Ы›vё-†І€‹уb!Г>tm›ГV„ЃWb’J @ОаЊH-®;Иб†шЕ/п‘яђс`Ш4&ѕ ўыЗ,О “ѓpD$ІдSЬV +7Мboэkљb"Ґ9ь# Ф<¦VЊД dlЌл&ЅxGb‘xЃkњлx8d€Ш +фЂфђwтdЭ7"LS–Θ‹[Ы jPSЃC!H€ЗэъЗ=…|QЮ&$§ё¦-ґmµША0 +-0 +-E$д HxЕЪXЧ=вAХ©N%ўщч +ьЎzPМ jЃj\•O](цZ€ДGж‘€м§к°Ѓ +ьБ ‡њЂ\ЎeЂЋ’ѓЎЬ§0‡)Џl†Їяu lРё–O-ҐЮhD +в Uн>љ‰Фѕ–O± +т +Y'’Јьe0‡YМc&s™Н|f4§YН й@LЂ°(@iІF‰D +фШ„#ъђ +zРCђ +”Bx€ +‰!ђ0taЊEЏ`XP^:`‚” ©>tЄ`Ќ@`4Рѓї™° +ш МwшЂ|T +РЂxt Fьu˜ЃЂ‚Љ$ сГ<ўњPu `њ€j  +XЂ=ЁГЃћ«ЃЃ€xTёј@Љу…aфµ#4I‚+ €№¬Hш‚q˜мSѕн?њи +З›hјЗ«Пь“J?АЈС‰ ‚!РR SЩ¬}Ђ +PG‹«µW2РZ‡°Ым묕\›°<ш»ыЈГ‰°2(„–MС‰иСЂ‚M€ё%ГљґQРKЂиАNqU€ѕ™Њ9IЁU…Хъмґ…XЪяMXB:ЂЩzЂ\Мe€Х4ЁіПЈ +PФќ9ЋDЮе„єпэGў{;dУЮи»vG|lNЦCs„Mzш‚пdjf,°К84ДTћеsE[Ђ0Яs6иеЁУ]’ё4` TEiЦцe:m6·Iь<,Ёf>ЫЃИК7(ґKЈIьЗЦ+^мLЅу,…‚0R5-‚ї‹ФЃNя{рхµї>Р‡MЁ‡Rњ +шЂ +(»:ґ‡ + +v&и‚Ж•РЃ*Pnц „Щ„9c(X•H^_¶Йi +Фгf»B(qTШ„‘kк*°“€qґ‡\$€iЂяpѕ.@b6/зЛ·•ьocД+ +5±ЬоЩSO%7Ѕ№! + +ыvРЭ?J t±ЈЗ‡Ю +ДшПЙ‹;PьИІеБPLЊРЌҐqWєЬщПБЙ‹ „5РВї<ъь”Ђ$ +*BяT‚ДіЄ@ў[№ёE&IJ°тДUРПСЃbЈЄs«‹°<ў +†•ҐВк@§сq±(Ю«a‰ZЂ*PХ?Ё„ЪыWБ… vYк]tЂп‹y2_%Љхaґb‹¦ +„щ`Ѓ9.ЁVэЂ„bЛ‚а'ЇJ +ЁF ґГ +о‡$ґПЋўю +к/ pqA`ссyЃ@s\А— ср¶{о „vчAићr ђќt/8¦Ьш8 +РБ}5чљvШ +TбѓЩНч …ц +”Ы?ѕЅ`Ђ +!!В›%сЏ0 +њ†РbюАВ U­TУ@”X„Ј +H)DDУ!B,#‹@ +8уќ1ЌCЛ¦}Р,‰ВяАS€&PFtИ!яшpХ?зDхл4шўJiUЃUХt +iA`MJPµ.ьs)B¶–F +Юw]ДГJd8фA<хѕLґКіХ'‡ѓ@®ра?0 + +[oаЕЖ +P +(@ ` tА +‰¤›B@ВЁЁЃSМ1eЂЏ +и +уfPyЂ…ґ<АЉ°\Е„ъKr`f¤У0БTЃ++Ц°†~ш„(ІX±9юЈU +Ol@Ђ‚эѓhЊл" +s€В(њ©˜ё!GvFС@4l0Ќ‚  +, + „ХЊrSф2Рw +Њma#{ѕф¶µMEY[Тkдњ3< Uu‰ +‬T75-ЉЮ&·ЕЖНB=ый@pґ8ЊО%vш‡Ђ0ђ9¬бbёЩ_љљўN;њ‹›‘ж:њm`tАЫЙ +яЁ 9A)™$TЇ®HhЪ@-к эжN Ф^ #и,u>Hr[A†ф;$H®@NчDЊgGЩнKrИґ +и'фчв@"ДЫГQd|ЊxГЙ + ;ьAeIE +ћX&,’·—*y…щЙUт@Ш3 мяКj&чґe7'сb”3AЪf$л+‰@Ъ5Ё:ЫyМ +0sOhg2жЛР…$эЏnhАdPtЈ§Ќч + ПpA:РЃqдщ|Эр +o V` +Љс#€FБЅиЏМа +юs–T +Yјб +ЫЏR>ѓ;Ђ/ўјіAr№Ћiф@|шО_^=’џPb1›сG +‡!.2•1><@/|Q" ‡рф„NрЂ +ш&ЁФ:%В\цd‚­$нс +ѕБї‘ЪP +Њ"У O|Е_(#ѓC…p„ібOЇА3Њў40OфD4>S$*“>CR:Г\Ас2H)UX9ёeOUѓOъTіQ8C#"r’Х0†V"ex3"L%KeТq!\ў‚6SиNxЏs3 +ТMLяХИ‡іЎ$і†Nуй2sИ2{И%)У†K•PK5‰чЃ^dГ4ВvQ0ђ!·Г\4ІO»Eс±…\Ў“Љ·°ѕA|VRuЈ3іи0“ИЇqJ’SъґЛdQJ(ЕWг€D +Д(P6ZBѓюD$Ё…O°‘‹pі"MшЌ¶фTх&чS@хІрю!СЕ3 +Й±;Г)8J›nb` ќярћ є)«іц^Р_УўбЈ!Јя &Oъ +А;€Jx“ +Фф°ѓ¦]€чb*Б§жb $T°-,{”8д!ц_b6,pxф_ЇO]{V…E9 ЋоьЏЏi9и®рЂ +y +Ц ж°яЇШ@ +!yвђ‰Bђ )^x +ПeXьЈИ з%‡ ‡€gа@(  ‡@a†)eM°OG¤Iбя0v +@4°Д‚Ъ@ВЊZ˜9К#UЄqѕАК@’™&PъH%ЉTЯюЛ'9pЂ &ђ[Б¬cЃFВxАЇ›e*ђmѕЬ6л!G…›–`CitЩMц хФ-ИЄjѓm·йfГaї +ґ-аwНй[xмяТњp +‰qс№АДќqЖUZ(ђ®s\Рц†в™&‘BєЧ а(6а?q(вРќ!PЊ© ўН +фg‘ +…)¤z +z+™ФБ;–Аy‘;Ґя ЎjояФa +К”QF( +¦±ІjTC=…ЂJjжщBxб:»ўЄ~¦яІја7ї»#ЄЪэг9+HuЄIЫh‡p&ќВ·ўэ†wBРѓZчі@g„*Ђ*xPЂн Ђ1АсЌxЊЎд +Ч¶Юњ3,єЃhlм3ґ|¤TЅЩ›–’г%цђi<2‹Ш¬г +А +dBRК;5ю‘ЃD%П +<.HQЫ +V&¦¦4€‘”tгЯ@¬я((a@¬яЛ[¶ЛEHїldp$й—I8<P›2±!CJЕ@{° ШЯJp2ЋћX№ ЛЁf—auќ<є И‚ЧJф7РщТLэќ7M +Kю1‹џTJ(yИІ(@Q5.«В]±Ђ>аw€f”а±ЂЯtѕВРЗ= Б6P4~`вSЁж9І(?t (яH2b{Р(k‰Fi`‘јИП +™ѓtфЌJИњеkЙC&е"«8fњ©Ђ9 щ—™е +G‡6H28ђ[ !°р‡=оgё Дъ H[тPЃ*` +…4,0‡њ™!<@kI‰lиa9&€Мr?HF#yи +%L +K3Ѓ~э 0P|Ы¤кD +K™Т:^!cg/1cгDoа;*іA +прdдыІяЂL/р±”,х§2 еxвmP–y@ИmЕ 3p¤O +х3 Q{ҐVЗ32іїЃ3ПХсN•т3Ы‘®Т^Л<Ќб„Kў…еQћqSґQR•2q‡жV1 ЯA G`Е‡‹яа‡ќ€Ы +=ўRF5 +ЧГ;kҐЪ6Tлб[r·0 +0!С +8D( +@VШ€TnЈ­C’БQ‘FІQс!Cґa!Јв8яPSw3'БсOл­я`7щ J"сс|@!‰,˜е|РЮБВгVоSЅЕ ‚УЉђmГ +к“ќq†Уђб! ’]Kв%ЈЕ')"ЏЈfaaF)!кA­HяPУP+MЂжlрПtТiА>r¦ЙP&Hd™е :@PБr‘АВ†џFђ.‘”ђI81Jћ§5T@G–"R”0‡¤dJ .р‘^zЄІЦ?ця`D§=%цDI6?ФЃЄhЦИ?ГФZ?­Х,ќ  іяґт‘_ш)–‡HяHП‰b”@ў|т‰>Dцat-&Еь@4€д@Wј+МC¦$ +ы@Э?`<$FAIґFв\ ‘} Дг’(РшШx©]<РYKћ=Ц±ҐЛц±FѓJ¤дk 3,РBфџЛ^TYяђµ™drЗ?™ё>Р>uAз@p¬” оV +пQ$W-sЏ&ђ€rсі‹9ї’jИd’UЩгЎцщ’Н8Щ©»™›ЖЎЇЅj + )B&СO~CЩ8p‘L1‰7¶І?†D^•*Hо—­opЄЂQА?–Q( Ј8А ґPtЃP˜B +J<ЖYYbX¤}TС.EщА4 +Y ‹PPЂ€ @юъЗ + +b=‡@aыіА4аjБ-Ј·T +¤¬<єQ^сЈ#МенIA• +8B xHl=¬Se”єЃА€FNЫЭ4G—] ўЈRJш*ђZDЩЌtЋ3Оя.)ґЎ… +dўyчн]м«Ѕ ьc щCyе4Ґ йњ)ЩnЏ aЏ@ ж€@*ь9y@~1‰(РЂ0ЃГщF.[˜3RЂ\)q |3” Ќ 0цћ@Ь!)i8 &ФЯKвЋ ј84E.H;UЂ%'P7fCОHcЃШ8Е Ѓ±KчЗЗЏА˜„(.€яте0¤ЯшШяc!›9яЖ9€K + |#”fv@®Д\вЃ2Кf~IBadw`”и@6¤бАtЩ]9иЂ&2Iiёа·˜Б2І±G-ГҐЏ¶Њ:А†ААВиуЋЧЮЬ@ _bћ »Н(ИЏ8h +cµ9ђ€ц$„HK Ї*&Xю1°X +ЁрpЯ@ +нЂz·w"сQє56 +P +  +9аХ#qЦ2Q№16ч±%E9€<тP +

    щ8фЧ?>љэл#К†Є° +:шA˜‡spbН#°B‡ЏdЌl„‹-.џDе1*°КЁ[·,Ё•‡,V˜<жDPY`СўсЉa…Еш/$Bяjь3чOnAY ж8­а4я>«¬рO‚Аѕ~fНzt Щѕ€µШY Ќ +сђч +„‚(ю3brт0µ<% +tБudR‡sDќ~щ…8в?r˜(ђ<ў° +ФЃяprgE›э#ЫMЙ&РI0u©7Њ*VЛxдОKќД‘7|г•Ґя|3P73эSA +–рdЪ+ ЦЬo +ъц^bс\ іE +ьгА?YtБЧНнvЬ+•њ~Ъew_„ +Ц5 +ща + ‚я\Aµ€•Д?g$Ў€@uЫўЯ‹«¤Љ|wOЭqY ќt¦Д"›яS‡”юэЫд1Юн%€D¶ +eЋp †sdђA<с\ X-lрЏ7 +TЗрQg +ґЊЈЃўфЏ§t#MЁдљЌHс)Р7 +MђДеOЎ i¤ …юRв +ЃpГ&ЎZ ЦхЂр„µщ“;,PЇ$e)‡€Ji ”у TFЁџXя>рЂtА¬ЎD6®А†kY _LiД?Ь2ђ>$` WYМѕь’U<Ђ$sPЖІzтЏЬў‰ЊЎKeьЕЃа‚7pЙѓ=˜E– +T> №Ёў†рАPaD x@ьQ–­UДe ЛШ.Р +˜Pb†@1Љ*т  +  ^Њ5С€т¤Ѕи +О‚^ +ЏT‰Шљr·¦ЮЌ‰™ГЭ"ЁцтЉS ’%У@Ёб9йEO БFI^·@ +ЁеА¤Г?bs…+г4‘ЕюЎЃ.`˜"KьБљH‘ТЏя°Nњ‘HpYЎЬ0\ЂМ0l яыџшв«Ћc"З@ш7H±жЙЙ ‰8е7aЙп%>,D+иг‚ШAXX2ЌЈAеЉјDМ4f`юРњfЉDЈяЂas +!y€jыЎ(Ѓ(TaHRa@Њ”ІrЂјR  K,ьЂ‹76‚-яhF3¬8—‚дiЬ§! Б€>Oѓ'<1€(>Б‚а‚)Н°Ц@в…-XЁ" +]і˜у +ё 1Ї7PbA€K +„ж ѕЈ<ъѓЂФ~Зюј0‡¶™ЬxaбУbр[“aђf3¤·ИQ "ґЬ\КTfЗіВk-…cЧX„Q‚wи2ќ-N'я€эњэйщЩзњHшГ)qE-яN«i +З¤ў%>рп +5¦Q9 +9Са‚ +Г.ќ1xЎQ~я–$Bр3)µWB(X*U;pX9 +нQ]CB!)E$FІQvC9чЎIТЉЕPqbб +’КЃҐ#\с8v3щ4[qµђ`+1А<\вX2Y”AтZјu’УТҐ\Ж• +|@I »Љя. 0РБГЏЅEkЁЛв@Њ SЄ<иБГЙЊ hAщпЫК•Я”эі0 +Ў7Ьё#KUћ~ +ъHЦLЎOFиЦMЃѓ)+0r ¬иь[`A …ЇCт€ЛЗ§<°,ќ!BKC¬ти –¬•юеp!рВїB_-H€ЃђV¬Агcа•6€'0OЩ}Ѕ„»8сґК7ж(PЂ +_ь0›-ТўюЕz|HЮ + т^јёаІ`5„зRfѓ=°+ +D0ЗUОј"РwхБѓ‚r `! ++TWРvь=чO<с|ЂAЭ|П Фэі‚<б' +/ +”б!РHџ},Ву\ud’Ъќ‘Dia…rЬЌЭt”У§bіuКђб 7Щ+АhЎЉ¤WчІёHN (CuА‘ЪДц!‘В©^ЗјЏѓґ±шњУяmЂкA«дг@>"bЙїR$яЊtП6є дO„Ё#P_8Џya¤QA°Шд}Aѕdіk¦Ѕ*Р%iy[СPgsѕA™TЃ7љ2lђэч +рE°dBЂlX­&чу + +ђaЃPnя’бѓC4ў9Д?¬a +ЃЁB€ярЗґфІ1oН!%gP†ЈHђQ RдЛNІ¬CавёHг!љсРX ,ЮPЃ +жаVФў/(©А +Uд¦X‰@ЃжрY|¦"К +Ј26РЎЮБ<˜ц э.#iG;0Rф +FЯП@BQД­ ˜lґ3ђЖ"$ihуОvўд90ЂЎx#ЉЊУ‚Ф•®3MQіђF›Zя!s7ГЫюЎ$ЋЁс№OгF№Оd:нќЋP+<фNІ«’o’tЎ'Сie’˜цѓґоКKНёФ§л®hє_SљЉ|%ьиб~[*'>gГ»ю0оўM* +iЗЂРt +2ѕ^эcWО+А +NЂ(VFЂѓ„rщьр,u±ш‡9hBeI]бЫщ +I1! +±…hЊд}аДВч"‘]xа±<\ъ# „DMтѕЛЪ6Aв?|РЊ%ЮR.{asО"ђ +ИИяСIA"0…QМа+щL ПШИўuЬ9KEТp 6шУc_©–РдlђДИАх_1‚’"ТњЌЂєјD J„Ж­WQБvЬB4аEЕѕ’|  +.0ЗґЖ€›]‰H”W,Кх{,H0‡Q@уЉ¶!™А ќY +Ѓ=dфаЛAБКx жЃyў*, +а‰яЁ$К’˜”Щ@Уъ§CД9ьрь™я!яH<Е› іj¦‰Т‡H”Kъfnљd3hк^{rђѓEј'ђЎLЊRЇr>S +В&)љ¶ПEbч·Ѓ° PQB…,зPC“J©TNЇаЯтsЉwK^с„;P +4ш#8‚6H$gУА/і{±Oк4Gс" +—‚q2LЁь7QњсЅЈAEtEяЎ +р +`Uр +v<,ц™А + Б_бubuz†rB +j+БbР\рМy +ФhР›АCЉиаџЃЩ6 +¤Д‘ҐАe#cК$©Lећ +‚x«к­@я"|(kпмА1y,н‚г BЖ„Tѓ …‚… шWба4ЃУrlYm Иb‚т\ћkаXJCіЌ>ч#ВsVЏм zа‹ +ЪPњ–» ЖеЙ[ЃBЋясд­@ЬyНЅ D>/ґП"ЂЕW’`Ду[wжИџщч +Ж•WР+ +ґ_qт 0Px2dњrьу‚mрПuь‡LsфЗ бЈ@8тчЏЌSюѓ!ЌК5@pОMрП>с!дe{:'€ 6G\s ®yf‚/чВ№ґ`Ь¦Aым3Б"^дeљI&DrpЗ aРHьсO-{†4Ћ|fGюTА4вTєзEqTPlўЉЪа?¦фНIВ¬яљ*A°lEаЂmm§@нэS‚@¶-У¬яxC ЇНсАh +dЃ(„шqњ@…ґZ_юt0‡|sЛ(*АFIk>}3‘˜У*[э3љ я@ђЩ?ђьу‰ST‚‹~ДВTХюcO§Ѓ4АP‡4€ЭH°€ L +ЎJka,P§6xj«ЁДГgрЎ„О±уПА15,­е;NMЧЃ6СЖ¬Hs&Lњ5Ђъ­ +дАДdѕЂШ‘Ґ%чA +йg{]CЖUѓ%4ЎU>ТlqVџQ + 'шЎЉµ#†e!<ЕІYNтXщox2eВЌЌcX +ай7i“БЃXўWд!\Л"›%‹•5’яЎ"—5@<АС˜ЁЋюZqг!ВҐµhЌ$тЏAxБZс +МV ™©ІH†a8Zў%:ґe—»XQ]Т—И1&=ж!ЌА8ъ‘Ќы1 F9А±&шYbр<БЎ%\ВGУ ‘aЊекy$ь˜SФГњ9uљP55ыА:P'¤Y)Хуы` +Аduђ Еp2ЯсXbX Ђ'ярqg9+KR€v2+–Ј™ ›ОеbD’ {Ye‰"а4 )ђ ‘ €р=Њ2…ВeYpАЈ#дccj™р= жdя° +т¬ Э?9RщЏ}рH@ vямгЬ?lФ$uЅЙГЬЏшб@eю&Р‹ѕ@ +Au|Й‘Ѓa$$+ХI™р‘v¦дЛ4'ћGТ?3]ДѓА°Qи¤-кҐ˜TA6#uZi‚p–©D +hC@t@ЗЈЬ")AУ@яђ›@дц*Ё ФО7ТЊjђ +DiжЊ@dAUџ<W\K9ЙQVµ–У­ +#ђ;Љ0 +†Р4яxцЏ0ьbj  +”Zk\ vҐХдmГЩaђMМ tќ”ЬЎ в+А‰гZ ґbЮpч dг?у­pќ@1АШЇsЎT0ђ9Ђґ‹1юFџКSтGe†fGЯ›сx(Р"'R”вGяtSђ(@AЕ"иЂc|ђvo^xгФ(HI…ф±мт@yJяDABД|MPяњс+Е +г•Д-з•э] +Ґoє±ЮеДlP“oж–Iё TKЂ +!4­o ”Й?ш "ІDёБЬ‘Д~…™KтMрЏ*ёDТ,U8 ц*‰ZPa& ФН7 +’џђ4ґґ`©йлNjоЯ?Y%1Њpю +`C `€,0Ђ'иањ( ¬Bf!¶@яИFPЃьC–‚‹eьРЊшБЙ +ж`€юэѓ,±ёМ!дRG$`*З*H +Ж1Ћ±„ +¦±€·‰О7м Ґ[,ЩcИC9ѓS%ш¦t,8<“’p~C& БифU c–¶2Ю1Aє#ҐЯ4)9ас +yюQі/хФ с[©@* +ќGuш±•(”ќЁЈ ђQ‰##ў 8Бig+ЁФЉЎ еgzEЂју‚·~©kС„cq‹4ЗBЭЃЬ…2t·оt‡9ФС№H„¤€њб„‹1ЅЌv(Г™~0”# ЎL¤а©xr±?яid~яЊА1ђА!ґЎ^њљЄUФUG‚З!xdІњJ +л‚яcN}ЪА"6 ¤ТжЖ·8@˜bЗ7#еЏHыЁЊ?ггз/ґ\hЕЯюБ…›и—ЈяР…4Б'Бd¬ID њ1x є¤= +’1ш‚ +xдтAјС_\Љя йљ ХЊД"Д›s¦уA–\)¬фЩ›zHы@вз’,к"в ф@”иxіСzц†О2І %Ћ1+м  +ы4 ЂЎ`Ж";ю’"БPі’Ї°IсOюдЬT9Е]j–ђ1Xт3•‘oЁа$ЦБз>ВG+SхСVP27е?ТЪз>”&4НQU"х0ERzЈ`5h'<@3`u=U,г]ЅЃmТTо3ѓС^яш3z•\ѕЃSЁ + 8sp/В2k’UЅ9ъБ’і\К••ўёХҐM°KRe\B—Љ 9ЂХ™6ІTррd!8с_сsЦ%EP˜У‹бx!«^t№3–# ЂuЊZЂТЭЧиvсяpDйQ4Ѓ m@кЁяXZIp0Ь1!g”ЦR+P9Ш` <щCРNes %вpт,ґ•Т@^KТhЯ¦kPyяђFЪ@QЄ»‘;Сq < п  8Рmj"‡МеП8F¤d„4Я|#ЊbЄ¤Д›G„Б?№Р:ЅАХ®@*Њr‹&N=‹‡ +<€±‚5Д2:Й«йЌ*dсЃ&hАЊ?сA&f‘‘8А'pDH6ьхЏ™дєHјPёадq%@+€xт®ЏтYС@П№&щH ,гл!Ю?0BIХэЈW% Ќ +_рЂCP*рЃHA“щFЊј7ДnxГ<9 +Ц°"}€вљУHЌ“ир$М@ +#ш +OPЌѕД30 ЂЗ<  @Ёoќ9h6љќ±Н\zaЫaі’а +(MqKslАХР ¤pЧ¤ИW,АЦQ®ОA6ЁFW…сЉЈ¤p1#ИW 0ћµгзyњд№W,”MхщлбR‚„V;°*Fb%"ЙgЩ• 9xt^»яСЋ‚СyA1¶3: +¤:Х3T~Ф(ЩY‡Dљb\ољ7Њµт1Ф}ц3¤ХЏ№aZ”vЂш‚EМ!‰ЙPТ"Шe3ВС 48¤© ;ъС€ЋД&нaPJЏO‚ЃЊв +IH>RЏd¤Шќч¬ёШВЉ¬!OиbAж0‡%KД3.Ю\рЬИЃЋ‚ћAМD=ъm€>ІЋ›zВЌцяbш`01Д!ЊяPDЪ‚`RйQф0Ё!э€U +АЦ№д"—І$]wOШ~Qє=!Ђп?иоў»O$ +Z3”Р +^Ж +*хWUTCХ3ЃЌбђUv—б ПGЕА.яp#ф±р ђр4Q#‚A±0W†sђ¤ЃaйA +рЂэaА»H8ЉuхЧѓИn dўЭљцЫ@~QФ@ђ ђ3њ еkќ—ў·XЩ-w?fBA}ѕћ|8‰x@ptс$€˜±^єZ–ДДўАСо±yљЮЃ…wЯЙiХуBЎъ їмэБ Z­б4д?Ґi¦ш®$Я”hovzБw€ЦгЃФa† ЎЦD>¦Ц|ќЉУ?Ё±Ѓ8m`*E. /њQ!т0ПГ\“фЏщG2@f¶\3іў„?*ЇzџФк8Џ“_ВўЌYЪу–ЊaМ?Іу Ў|Ў„яU©‘Yµq8Ђ vїЇ®а—«Xcґ ¬ДS[ИВ_™‡Њ}`ќ'9Ђi.pО0Mс~3Љ±р3=іx‘@dфJ­ q56уЎaP 5џ°OЦt1ёґK> +6зР +РЎx! Рq˜Ж,сРy0ЈYЃv‚з~`@µJ•uр5Уђ@Ї4hJEАQ‹@A{сJЙсk°а Е°/4…1P*CjaCXQД2}С-љЦF|AЕРwW18 №Б@.#1QїKFг€*ХR1QЕa Н±5…я–4'MCђ„@]ґЎ†L# Уа +8“УРU€х"kcчq(СаXЊЅb +Ђ7q†YиYхС_$’"eЩYё…9 ў%р +–1€)ЈЂHЇЈ\Ўй\y№X’ #оѓч% €°ЉцЇ…>в! r^#R$Нu"и%;Сµ$MІgЎѓ`jVаЂ75R^є3S5' Z–яу_іЌnЈ;µ + +5єEћy‰Bў$Yж$P&'ч"°=еіЊё7Zўz)$Џ5dс``Ч—ВH +Q ььу!РЏ> ятЁ"tРГњЃ9`БІ0Ј@;џ ШшW GБ<µюРCP•>Єј эУ;F/ЇFёь€І0v`„Ѓ`эуG°„т0ШцBј›ѓь§*¤яёrю§Y±1l Ж<8Y$ tЂ•'л@±уh&НыЯґзО/HT¤Бя^ +˜Yа№µ®с`З?Ї4ќН„В?+ьі ++АУ t +фВ+й)0ЂMаэsЖ–ЕSЊe +& Ј­°а{кЅЏ€GtшяДa +%U4РРGhjе1цGўV +J№dР©§vягАF @*DЯ8 ’/D Аf˜ySЖуO<рс*яHк?Т@6Юьc%&8ЂVA +(Ј‰!я0M°Y`Ѓ>ђH7/5BРn;ђiѓ%;єJPѓ”h,кpЛ(·,ІXmµQeђ^ёшр‰*ў¤Ы?‹дРЯJгюI+n1аЕPБ^р†›=°H„[oБ«N6Сtњ*AУclz±дQ›moйlО?B 'K;t§iяLж–И №<йћzNЗ§Ю?`A5Ъ—1A +TeqЂ€сeт]щ@7§”яаf‰P{Яхs&чП[юU +h1Зћ^ђюSЛrҐ·ЬШ™d‚ЂъМ‰МОёЋяяОшЗЋb`1б ш_Eћµ™†dдТР—AЃШMb;Ј€nN5A\„"°’Й2:X«ЌРЉ !$!AрљґЉѓйАGN5‹Њ!б7ѕ‘eр h€FяnШ•.@eУxCт Гi°в„YЖ7° x 'iИ2p +¬м UК(Hn•‘ke‹ХZ!%nфЏ°!7;ё…§˜" +?PЂщ‡єb!U˜СЎ…«s-JP‚6°ш†Nш˜9‘ЃcГ-8ќME:мZ/ютЏfд¬7 kюсЂЇЛZз° +ёe@ZЄx°VЬ&+;ызAcDЈ«щЯ4,уЏw ѓэ‡(F:U$зрNqRE +А””УѕґeUBрQ…:G±EЂhѕЂj‡.F$u IJ‘„ЄW ]PС€§МBвЃ)§«нщtTд¤3­(E¬s–“ё|@€Ґпж + 50®A/#ZqЂѕЎ‹lАв{|H1ц7"0ЕLa&рВ шp!CяЂАMЂ”А‚Ьߘ"B`@а(2ЭшF7* ЪЃШ+Ія˜ѓ_PР@ў Я в?W +4Ђ2ПR¦a)<‹'X9ЂAbЎ +sЕB*‡P—t3“Цsж&Ќ@iГЉ dКh +ђж Pa +Р +Ґa2b11Ґt» +µ/иG”А +‰яuOЎM eO§3oD,15хCЪPХ036ђTх +ЇPxх QA{уВрCБ1A< +рХ{†’QУ +@х&,8bѓ!lX;%Ъ€SyвЉї‹†т†ЎВ0;abЌFеч‘TмСaҐг +•P`W F F6ibТU‡#Ї8 +9PV‘Ш[xђ¦[іC6…E3В>+ &НqQ9ЂWярv gu„б2%к‘ ™U”…$Vяг'VУv%(ѕА’f5 +зШWWг]Mr"т[+Ц9їѓX) <РRHУUмСWЄu”–х[%2&1"Ђ‚!с0 +•HГ7}Х7ЮUY˜Г"k“U–гђCтґ5sаpKNу_%0bYЬЕ \№c‰s65ZVв +Ѕцтт0":±9›Дх Б$«e”'хbЉ`}U‚^AxsЕВV†3`gТќђi&Qу9яP @ж–20 +я +‘р& \ No newline at end of file diff --git a/i/banners/ccombats_99_99.png b/i/banners/ccombats_99_99.png new file mode 100644 index 0000000..e8a1e24 Binary files /dev/null and b/i/banners/ccombats_99_99.png differ diff --git a/i/banners/ccombats_banner_300_150.gif b/i/banners/ccombats_banner_300_150.gif new file mode 100644 index 0000000..0b33cf8 Binary files /dev/null and b/i/banners/ccombats_banner_300_150.gif differ diff --git a/i/banners/ccombats_banner_728_90.gif b/i/banners/ccombats_banner_728_90.gif new file mode 100644 index 0000000..27cfe11 Binary files /dev/null and b/i/banners/ccombats_banner_728_90.gif differ diff --git a/i/banners/ccombats_banner_728_90_new.gif b/i/banners/ccombats_banner_728_90_new.gif new file mode 100644 index 0000000..3f675ff Binary files /dev/null and b/i/banners/ccombats_banner_728_90_new.gif differ diff --git a/i/banners/ccombats_banner_99_99.gif b/i/banners/ccombats_banner_99_99.gif new file mode 100644 index 0000000..1b20908 Binary files /dev/null and b/i/banners/ccombats_banner_99_99.gif differ diff --git a/i/banners/funs.png b/i/banners/funs.png new file mode 100644 index 0000000..e36dc3e Binary files /dev/null and b/i/banners/funs.png differ diff --git a/i/beta.png b/i/beta.png new file mode 100644 index 0000000..179e6a0 Binary files /dev/null and b/i/beta.png differ diff --git a/i/beta2.png b/i/beta2.png new file mode 100644 index 0000000..eed84bb Binary files /dev/null and b/i/beta2.png differ diff --git a/i/beta3.png b/i/beta3.png new file mode 100644 index 0000000..edbd890 Binary files /dev/null and b/i/beta3.png differ diff --git a/i/beta4.png b/i/beta4.png new file mode 100644 index 0000000..368cc04 Binary files /dev/null and b/i/beta4.png differ diff --git a/i/bg_scroll_05.gif b/i/bg_scroll_05.gif new file mode 100644 index 0000000..cebdde7 Binary files /dev/null and b/i/bg_scroll_05.gif differ diff --git a/i/bk_life_loose.gif b/i/bk_life_loose.gif new file mode 100644 index 0000000..2abe1be Binary files /dev/null and b/i/bk_life_loose.gif differ diff --git a/i/blink.gif b/i/blink.gif new file mode 100644 index 0000000..0328ce5 Binary files /dev/null and b/i/blink.gif differ diff --git a/i/boloto/backgrounds/academy.jpg b/i/boloto/backgrounds/academy.jpg new file mode 100644 index 0000000..914c15b Binary files /dev/null and b/i/boloto/backgrounds/academy.jpg differ diff --git a/i/boloto/backgrounds/ambulance.jpg b/i/boloto/backgrounds/ambulance.jpg new file mode 100644 index 0000000..9921bc1 Binary files /dev/null and b/i/boloto/backgrounds/ambulance.jpg differ diff --git a/i/boloto/backgrounds/chirch.jpg b/i/boloto/backgrounds/chirch.jpg new file mode 100644 index 0000000..79a4546 Binary files /dev/null and b/i/boloto/backgrounds/chirch.jpg differ diff --git a/i/boloto/backgrounds/forest.jpg b/i/boloto/backgrounds/forest.jpg new file mode 100644 index 0000000..c605e43 Binary files /dev/null and b/i/boloto/backgrounds/forest.jpg differ diff --git a/i/boloto/backgrounds/gshop.jpg b/i/boloto/backgrounds/gshop.jpg new file mode 100644 index 0000000..dcbd529 Binary files /dev/null and b/i/boloto/backgrounds/gshop.jpg differ diff --git a/i/boloto/backgrounds/index.php b/i/boloto/backgrounds/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/backgrounds/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/backgrounds/kuznec.jpg b/i/boloto/backgrounds/kuznec.jpg new file mode 100644 index 0000000..180d9f2 Binary files /dev/null and b/i/boloto/backgrounds/kuznec.jpg differ diff --git a/i/boloto/backgrounds/mschool.jpg b/i/boloto/backgrounds/mschool.jpg new file mode 100644 index 0000000..79a4546 Binary files /dev/null and b/i/boloto/backgrounds/mschool.jpg differ diff --git a/i/boloto/backgrounds/reception.jpg b/i/boloto/backgrounds/reception.jpg new file mode 100644 index 0000000..3731694 Binary files /dev/null and b/i/boloto/backgrounds/reception.jpg differ diff --git a/i/boloto/backgrounds/shop.jpg b/i/boloto/backgrounds/shop.jpg new file mode 100644 index 0000000..14e401a Binary files /dev/null and b/i/boloto/backgrounds/shop.jpg differ diff --git a/i/boloto/backgrounds/vault.jpg b/i/boloto/backgrounds/vault.jpg new file mode 100644 index 0000000..fad6da2 Binary files /dev/null and b/i/boloto/backgrounds/vault.jpg differ diff --git a/i/boloto/batle_head_left1.gif b/i/boloto/batle_head_left1.gif new file mode 100644 index 0000000..27bad1c Binary files /dev/null and b/i/boloto/batle_head_left1.gif differ diff --git a/i/boloto/batle_head_right.gif b/i/boloto/batle_head_right.gif new file mode 100644 index 0000000..b831b2a Binary files /dev/null and b/i/boloto/batle_head_right.gif differ diff --git a/i/boloto/boloto.jpg b/i/boloto/boloto.jpg new file mode 100644 index 0000000..ad68d5b Binary files /dev/null and b/i/boloto/boloto.jpg differ diff --git a/i/boloto/bone/1.gif b/i/boloto/bone/1.gif new file mode 100644 index 0000000..afbbbbd Binary files /dev/null and b/i/boloto/bone/1.gif differ diff --git a/i/boloto/bone/2.gif b/i/boloto/bone/2.gif new file mode 100644 index 0000000..26f5584 Binary files /dev/null and b/i/boloto/bone/2.gif differ diff --git a/i/boloto/bone/3.gif b/i/boloto/bone/3.gif new file mode 100644 index 0000000..31345ab Binary files /dev/null and b/i/boloto/bone/3.gif differ diff --git a/i/boloto/bone/4.gif b/i/boloto/bone/4.gif new file mode 100644 index 0000000..279b0ff Binary files /dev/null and b/i/boloto/bone/4.gif differ diff --git a/i/boloto/bone/5.gif b/i/boloto/bone/5.gif new file mode 100644 index 0000000..160c19f Binary files /dev/null and b/i/boloto/bone/5.gif differ diff --git a/i/boloto/bone/6.gif b/i/boloto/bone/6.gif new file mode 100644 index 0000000..84db755 Binary files /dev/null and b/i/boloto/bone/6.gif differ diff --git a/i/boloto/bone/bone.jpg b/i/boloto/bone/bone.jpg new file mode 100644 index 0000000..b408af7 Binary files /dev/null and b/i/boloto/bone/bone.jpg differ diff --git a/i/boloto/bone/index.php b/i/boloto/bone/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/bone/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/chat/0.gif b/i/boloto/chat/0.gif new file mode 100644 index 0000000..6d02fac Binary files /dev/null and b/i/boloto/chat/0.gif differ diff --git a/i/boloto/chat/1.gif b/i/boloto/chat/1.gif new file mode 100644 index 0000000..a9e428d Binary files /dev/null and b/i/boloto/chat/1.gif differ diff --git a/i/boloto/chat/2.gif b/i/boloto/chat/2.gif new file mode 100644 index 0000000..ba6e42c Binary files /dev/null and b/i/boloto/chat/2.gif differ diff --git a/i/boloto/chat/butt_1.gif b/i/boloto/chat/butt_1.gif new file mode 100644 index 0000000..475e9f1 Binary files /dev/null and b/i/boloto/chat/butt_1.gif differ diff --git a/i/boloto/chat/butt_2.gif b/i/boloto/chat/butt_2.gif new file mode 100644 index 0000000..7d20af5 Binary files /dev/null and b/i/boloto/chat/butt_2.gif differ diff --git a/i/boloto/chat/butt_3.gif b/i/boloto/chat/butt_3.gif new file mode 100644 index 0000000..e4da55b Binary files /dev/null and b/i/boloto/chat/butt_3.gif differ diff --git a/i/boloto/chat/index.php b/i/boloto/chat/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/chat/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/chat/molch.gif b/i/boloto/chat/molch.gif new file mode 100644 index 0000000..fe8d42f Binary files /dev/null and b/i/boloto/chat/molch.gif differ diff --git a/i/boloto/chat/noweapon.gif b/i/boloto/chat/noweapon.gif new file mode 100644 index 0000000..de2d5ef Binary files /dev/null and b/i/boloto/chat/noweapon.gif differ diff --git a/i/boloto/chat/private.gif b/i/boloto/chat/private.gif new file mode 100644 index 0000000..3167053 Binary files /dev/null and b/i/boloto/chat/private.gif differ diff --git a/i/boloto/chat/private_0.gif b/i/boloto/chat/private_0.gif new file mode 100644 index 0000000..56e0f04 Binary files /dev/null and b/i/boloto/chat/private_0.gif differ diff --git a/i/boloto/chat/status0.gif b/i/boloto/chat/status0.gif new file mode 100644 index 0000000..bd7c0da Binary files /dev/null and b/i/boloto/chat/status0.gif differ diff --git a/i/boloto/chat/status1.gif b/i/boloto/chat/status1.gif new file mode 100644 index 0000000..16afc3a Binary files /dev/null and b/i/boloto/chat/status1.gif differ diff --git a/i/boloto/chat/status2.gif b/i/boloto/chat/status2.gif new file mode 100644 index 0000000..2514c8b Binary files /dev/null and b/i/boloto/chat/status2.gif differ diff --git a/i/boloto/chat/status3.gif b/i/boloto/chat/status3.gif new file mode 100644 index 0000000..f1691fd Binary files /dev/null and b/i/boloto/chat/status3.gif differ diff --git a/i/boloto/chat/status4.gif b/i/boloto/chat/status4.gif new file mode 100644 index 0000000..373e8c1 Binary files /dev/null and b/i/boloto/chat/status4.gif differ diff --git a/i/boloto/chat/travma.gif b/i/boloto/chat/travma.gif new file mode 100644 index 0000000..a80c68f Binary files /dev/null and b/i/boloto/chat/travma.gif differ diff --git a/i/boloto/forum/0.gif b/i/boloto/forum/0.gif new file mode 100644 index 0000000..5cb4c76 Binary files /dev/null and b/i/boloto/forum/0.gif differ diff --git a/i/boloto/forum/1.gif b/i/boloto/forum/1.gif new file mode 100644 index 0000000..c95709f Binary files /dev/null and b/i/boloto/forum/1.gif differ diff --git a/i/boloto/forum/2.gif b/i/boloto/forum/2.gif new file mode 100644 index 0000000..1f9ef50 Binary files /dev/null and b/i/boloto/forum/2.gif differ diff --git a/i/boloto/forum/3.gif b/i/boloto/forum/3.gif new file mode 100644 index 0000000..3cf968f Binary files /dev/null and b/i/boloto/forum/3.gif differ diff --git a/i/boloto/forum/4.gif b/i/boloto/forum/4.gif new file mode 100644 index 0000000..34fe04d Binary files /dev/null and b/i/boloto/forum/4.gif differ diff --git a/i/boloto/forum/5.gif b/i/boloto/forum/5.gif new file mode 100644 index 0000000..64b0fc9 Binary files /dev/null and b/i/boloto/forum/5.gif differ diff --git a/i/boloto/forum/avatar.gif b/i/boloto/forum/avatar.gif new file mode 100644 index 0000000..570b8f7 Binary files /dev/null and b/i/boloto/forum/avatar.gif differ diff --git a/i/boloto/forum/avatar/450.gif b/i/boloto/forum/avatar/450.gif new file mode 100644 index 0000000..7581d19 Binary files /dev/null and b/i/boloto/forum/avatar/450.gif differ diff --git a/i/boloto/forum/avatar/index.php b/i/boloto/forum/avatar/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/forum/avatar/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/forum/bold.gif b/i/boloto/forum/bold.gif new file mode 100644 index 0000000..7581d19 Binary files /dev/null and b/i/boloto/forum/bold.gif differ diff --git a/i/boloto/forum/drop.gif b/i/boloto/forum/drop.gif new file mode 100644 index 0000000..50a0a3d Binary files /dev/null and b/i/boloto/forum/drop.gif differ diff --git a/i/boloto/forum/fixed_off.gif b/i/boloto/forum/fixed_off.gif new file mode 100644 index 0000000..d2d927f Binary files /dev/null and b/i/boloto/forum/fixed_off.gif differ diff --git a/i/boloto/forum/fixed_on.gif b/i/boloto/forum/fixed_on.gif new file mode 100644 index 0000000..70076bd Binary files /dev/null and b/i/boloto/forum/fixed_on.gif differ diff --git a/i/boloto/forum/index.php b/i/boloto/forum/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/forum/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/forum/italic.gif b/i/boloto/forum/italic.gif new file mode 100644 index 0000000..4f1b165 Binary files /dev/null and b/i/boloto/forum/italic.gif differ diff --git a/i/boloto/forum/pinned.gif b/i/boloto/forum/pinned.gif new file mode 100644 index 0000000..819c64b Binary files /dev/null and b/i/boloto/forum/pinned.gif differ diff --git a/i/boloto/forum/top_line.gif b/i/boloto/forum/top_line.gif new file mode 100644 index 0000000..5a80c50 Binary files /dev/null and b/i/boloto/forum/top_line.gif differ diff --git a/i/boloto/forum/underline.gif b/i/boloto/forum/underline.gif new file mode 100644 index 0000000..43ea4c5 Binary files /dev/null and b/i/boloto/forum/underline.gif differ diff --git a/i/boloto/ico/battle.gif b/i/boloto/ico/battle.gif new file mode 100644 index 0000000..b543ea8 Binary files /dev/null and b/i/boloto/ico/battle.gif differ diff --git a/i/boloto/ico/battle1.gif b/i/boloto/ico/battle1.gif new file mode 100644 index 0000000..de4d011 Binary files /dev/null and b/i/boloto/ico/battle1.gif differ diff --git a/i/boloto/ico/dealer.gif b/i/boloto/ico/dealer.gif new file mode 100644 index 0000000..a673426 Binary files /dev/null and b/i/boloto/ico/dealer.gif differ diff --git a/i/boloto/ico/exit.gif b/i/boloto/ico/exit.gif new file mode 100644 index 0000000..87af952 Binary files /dev/null and b/i/boloto/ico/exit.gif differ diff --git a/i/boloto/ico/index.php b/i/boloto/ico/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/ico/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/ico/journalist.gif b/i/boloto/ico/journalist.gif new file mode 100644 index 0000000..47c4c37 Binary files /dev/null and b/i/boloto/ico/journalist.gif differ diff --git a/i/boloto/ico/losses.gif b/i/boloto/ico/losses.gif new file mode 100644 index 0000000..a619db2 Binary files /dev/null and b/i/boloto/ico/losses.gif differ diff --git a/i/boloto/ico/up.gif b/i/boloto/ico/up.gif new file mode 100644 index 0000000..fe4eb0a Binary files /dev/null and b/i/boloto/ico/up.gif differ diff --git a/i/boloto/ico/vip.gif b/i/boloto/ico/vip.gif new file mode 100644 index 0000000..c1d724a Binary files /dev/null and b/i/boloto/ico/vip.gif differ diff --git a/i/boloto/ico/wins.gif b/i/boloto/ico/wins.gif new file mode 100644 index 0000000..728b53e Binary files /dev/null and b/i/boloto/ico/wins.gif differ diff --git a/i/boloto/navigate/b_avatar.gif b/i/boloto/navigate/b_avatar.gif new file mode 100644 index 0000000..73a4ad1 Binary files /dev/null and b/i/boloto/navigate/b_avatar.gif differ diff --git a/i/boloto/navigate/b_back.gif b/i/boloto/navigate/b_back.gif new file mode 100644 index 0000000..7378255 Binary files /dev/null and b/i/boloto/navigate/b_back.gif differ diff --git a/i/boloto/navigate/b_help.gif b/i/boloto/navigate/b_help.gif new file mode 100644 index 0000000..b9c728f Binary files /dev/null and b/i/boloto/navigate/b_help.gif differ diff --git a/i/boloto/navigate/b_info.gif b/i/boloto/navigate/b_info.gif new file mode 100644 index 0000000..05ac3d4 Binary files /dev/null and b/i/boloto/navigate/b_info.gif differ diff --git a/i/boloto/navigate/b_map.gif b/i/boloto/navigate/b_map.gif new file mode 100644 index 0000000..5d7eda8 Binary files /dev/null and b/i/boloto/navigate/b_map.gif differ diff --git a/i/boloto/navigate/b_options.gif b/i/boloto/navigate/b_options.gif new file mode 100644 index 0000000..6408814 Binary files /dev/null and b/i/boloto/navigate/b_options.gif differ diff --git a/i/boloto/navigate/b_privacy.gif b/i/boloto/navigate/b_privacy.gif new file mode 100644 index 0000000..6b3b916 Binary files /dev/null and b/i/boloto/navigate/b_privacy.gif differ diff --git a/i/boloto/navigate/b_records.gif b/i/boloto/navigate/b_records.gif new file mode 100644 index 0000000..e474df3 Binary files /dev/null and b/i/boloto/navigate/b_records.gif differ diff --git a/i/boloto/navigate/b_skill.gif b/i/boloto/navigate/b_skill.gif new file mode 100644 index 0000000..445b91b Binary files /dev/null and b/i/boloto/navigate/b_skill.gif differ diff --git a/i/boloto/navigate/index.php b/i/boloto/navigate/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/navigate/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/refresh.gif b/i/boloto/refresh.gif new file mode 100644 index 0000000..c1319e4 Binary files /dev/null and b/i/boloto/refresh.gif differ diff --git a/i/boloto/res/s1.gif b/i/boloto/res/s1.gif new file mode 100644 index 0000000..c22af87 Binary files /dev/null and b/i/boloto/res/s1.gif differ diff --git a/i/boloto/res/t.gif b/i/boloto/res/t.gif new file mode 100644 index 0000000..5d72b34 Binary files /dev/null and b/i/boloto/res/t.gif differ diff --git a/i/boloto/vault/index.php b/i/boloto/vault/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/vault/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/vault/navigation/active/bottom.gif b/i/boloto/vault/navigation/active/bottom.gif new file mode 100644 index 0000000..27769f3 Binary files /dev/null and b/i/boloto/vault/navigation/active/bottom.gif differ diff --git a/i/boloto/vault/navigation/active/left.gif b/i/boloto/vault/navigation/active/left.gif new file mode 100644 index 0000000..36f686b Binary files /dev/null and b/i/boloto/vault/navigation/active/left.gif differ diff --git a/i/boloto/vault/navigation/active/right.gif b/i/boloto/vault/navigation/active/right.gif new file mode 100644 index 0000000..f8e97ef Binary files /dev/null and b/i/boloto/vault/navigation/active/right.gif differ diff --git a/i/boloto/vault/navigation/active/top.gif b/i/boloto/vault/navigation/active/top.gif new file mode 100644 index 0000000..4035b7b Binary files /dev/null and b/i/boloto/vault/navigation/active/top.gif differ diff --git a/i/boloto/vault/navigation/center.gif b/i/boloto/vault/navigation/center.gif new file mode 100644 index 0000000..f00bcc2 Binary files /dev/null and b/i/boloto/vault/navigation/center.gif differ diff --git a/i/boloto/vault/navigation/hp/_helth.gif b/i/boloto/vault/navigation/hp/_helth.gif new file mode 100644 index 0000000..7f1be51 Binary files /dev/null and b/i/boloto/vault/navigation/hp/_helth.gif differ diff --git a/i/boloto/vault/navigation/hp/_helth_.gif b/i/boloto/vault/navigation/hp/_helth_.gif new file mode 100644 index 0000000..b662790 Binary files /dev/null and b/i/boloto/vault/navigation/hp/_helth_.gif differ diff --git a/i/boloto/vault/navigation/hp/helth.gif b/i/boloto/vault/navigation/hp/helth.gif new file mode 100644 index 0000000..de7816f Binary files /dev/null and b/i/boloto/vault/navigation/hp/helth.gif differ diff --git a/i/boloto/vault/navigation/index.php b/i/boloto/vault/navigation/index.php new file mode 100644 index 0000000..1a7ec88 --- /dev/null +++ b/i/boloto/vault/navigation/index.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/i/boloto/vault/navigation/n_active/bottom.gif b/i/boloto/vault/navigation/n_active/bottom.gif new file mode 100644 index 0000000..ffec3d1 Binary files /dev/null and b/i/boloto/vault/navigation/n_active/bottom.gif differ diff --git a/i/boloto/vault/navigation/n_active/left.gif b/i/boloto/vault/navigation/n_active/left.gif new file mode 100644 index 0000000..f9c33c8 Binary files /dev/null and b/i/boloto/vault/navigation/n_active/left.gif differ diff --git a/i/boloto/vault/navigation/n_active/right.gif b/i/boloto/vault/navigation/n_active/right.gif new file mode 100644 index 0000000..fefb799 Binary files /dev/null and b/i/boloto/vault/navigation/n_active/right.gif differ diff --git a/i/boloto/vault/navigation/n_active/top.gif b/i/boloto/vault/navigation/n_active/top.gif new file mode 100644 index 0000000..c9de138 Binary files /dev/null and b/i/boloto/vault/navigation/n_active/top.gif differ diff --git a/i/boots15.gif b/i/boots15.gif new file mode 100644 index 0000000..c289d6a Binary files /dev/null and b/i/boots15.gif differ diff --git a/i/bot_q/mini_wm1.png b/i/bot_q/mini_wm1.png new file mode 100644 index 0000000..c0f9cf5 Binary files /dev/null and b/i/bot_q/mini_wm1.png differ diff --git a/i/bot_q/wm1.jpg b/i/bot_q/wm1.jpg new file mode 100644 index 0000000..1f52978 Binary files /dev/null and b/i/bot_q/wm1.jpg differ diff --git a/i/bottom.gif b/i/bottom.gif new file mode 100644 index 0000000..32b444c Binary files /dev/null and b/i/bottom.gif differ diff --git a/i/bug1.gif b/i/bug1.gif new file mode 100644 index 0000000..345d81b Binary files /dev/null and b/i/bug1.gif differ diff --git a/i/buttons/1x1.gif b/i/buttons/1x1.gif new file mode 100644 index 0000000..75b945d Binary files /dev/null and b/i/buttons/1x1.gif differ diff --git a/i/buttons/a_0.gif b/i/buttons/a_0.gif new file mode 100644 index 0000000..f4ec284 Binary files /dev/null and b/i/buttons/a_0.gif differ diff --git a/i/buttons/a___vip.gif b/i/buttons/a___vip.gif new file mode 100644 index 0000000..51e989e Binary files /dev/null and b/i/buttons/a___vip.gif differ diff --git a/i/buttons/a_l.gif b/i/buttons/a_l.gif new file mode 100644 index 0000000..077f639 Binary files /dev/null and b/i/buttons/a_l.gif differ diff --git a/i/buttons/a_r.gif b/i/buttons/a_r.gif new file mode 100644 index 0000000..776a37a Binary files /dev/null and b/i/buttons/a_r.gif differ diff --git a/i/buttons/active_bg.gif b/i/buttons/active_bg.gif new file mode 100644 index 0000000..69c5698 Binary files /dev/null and b/i/buttons/active_bg.gif differ diff --git a/i/buttons/active_left.gif b/i/buttons/active_left.gif new file mode 100644 index 0000000..2d21a86 Binary files /dev/null and b/i/buttons/active_left.gif differ diff --git a/i/buttons/active_right.gif b/i/buttons/active_right.gif new file mode 100644 index 0000000..58f8729 Binary files /dev/null and b/i/buttons/active_right.gif differ diff --git a/i/buttons/admin.gif b/i/buttons/admin.gif new file mode 100644 index 0000000..e5c2c41 Binary files /dev/null and b/i/buttons/admin.gif differ diff --git a/i/buttons/alx.gif b/i/buttons/alx.gif new file mode 100644 index 0000000..0a5d35b Binary files /dev/null and b/i/buttons/alx.gif differ diff --git a/i/buttons/b___.gif b/i/buttons/b___.gif new file mode 100644 index 0000000..630c8f3 Binary files /dev/null and b/i/buttons/b___.gif differ diff --git a/i/buttons/b___1.gif b/i/buttons/b___1.gif new file mode 100644 index 0000000..3b08b51 Binary files /dev/null and b/i/buttons/b___1.gif differ diff --git a/i/buttons/b___bg2.gif b/i/buttons/b___bg2.gif new file mode 100644 index 0000000..acf3bac Binary files /dev/null and b/i/buttons/b___bg2.gif differ diff --git a/i/buttons/b___chat_off.gif b/i/buttons/b___chat_off.gif new file mode 100644 index 0000000..32a304c Binary files /dev/null and b/i/buttons/b___chat_off.gif differ diff --git a/i/buttons/b___cl1.gif b/i/buttons/b___cl1.gif new file mode 100644 index 0000000..30fb1f3 Binary files /dev/null and b/i/buttons/b___cl1.gif differ diff --git a/i/buttons/b___clear.gif b/i/buttons/b___clear.gif new file mode 100644 index 0000000..1e5c314 Binary files /dev/null and b/i/buttons/b___clear.gif differ diff --git a/i/buttons/b___filter_off.gif b/i/buttons/b___filter_off.gif new file mode 100644 index 0000000..7418899 Binary files /dev/null and b/i/buttons/b___filter_off.gif differ diff --git a/i/buttons/b___filter_on.gif b/i/buttons/b___filter_on.gif new file mode 100644 index 0000000..8cf858c Binary files /dev/null and b/i/buttons/b___filter_on.gif differ diff --git a/i/buttons/b___ok.gif b/i/buttons/b___ok.gif new file mode 100644 index 0000000..ccc5748 Binary files /dev/null and b/i/buttons/b___ok.gif differ diff --git a/i/buttons/b___slow_off.gif b/i/buttons/b___slow_off.gif new file mode 100644 index 0000000..8aa9666 Binary files /dev/null and b/i/buttons/b___slow_off.gif differ diff --git a/i/buttons/b___slow_on.gif b/i/buttons/b___slow_on.gif new file mode 100644 index 0000000..0d124fa Binary files /dev/null and b/i/buttons/b___slow_on.gif differ diff --git a/i/buttons/b___smile.gif b/i/buttons/b___smile.gif new file mode 100644 index 0000000..9163e2c Binary files /dev/null and b/i/buttons/b___smile.gif differ diff --git a/i/buttons/b___sys_off.gif b/i/buttons/b___sys_off.gif new file mode 100644 index 0000000..8100039 Binary files /dev/null and b/i/buttons/b___sys_off.gif differ diff --git a/i/buttons/b___sys_on.gif b/i/buttons/b___sys_on.gif new file mode 100644 index 0000000..a240d90 Binary files /dev/null and b/i/buttons/b___sys_on.gif differ diff --git a/i/buttons/b___translit_off.gif b/i/buttons/b___translit_off.gif new file mode 100644 index 0000000..911e82e Binary files /dev/null and b/i/buttons/b___translit_off.gif differ diff --git a/i/buttons/b___translit_on.gif b/i/buttons/b___translit_on.gif new file mode 100644 index 0000000..aa3e27c Binary files /dev/null and b/i/buttons/b___translit_on.gif differ diff --git a/i/buttons/b_notepad.gif b/i/buttons/b_notepad.gif new file mode 100644 index 0000000..882f322 Binary files /dev/null and b/i/buttons/b_notepad.gif differ diff --git a/i/buttons/battles.gif b/i/buttons/battles.gif new file mode 100644 index 0000000..68a08b3 Binary files /dev/null and b/i/buttons/battles.gif differ diff --git a/i/buttons/beg_chat_03.gif b/i/buttons/beg_chat_03.gif new file mode 100644 index 0000000..ab9a138 Binary files /dev/null and b/i/buttons/beg_chat_03.gif differ diff --git a/i/buttons/bkf_l_r1_02.gif b/i/buttons/bkf_l_r1_02.gif new file mode 100644 index 0000000..d6f605d Binary files /dev/null and b/i/buttons/bkf_l_r1_02.gif differ diff --git a/i/buttons/button_cp_exit_sprite.jpg b/i/buttons/button_cp_exit_sprite.jpg new file mode 100644 index 0000000..48e544b Binary files /dev/null and b/i/buttons/button_cp_exit_sprite.jpg differ diff --git a/i/buttons/button_mid_Sprite.jpg b/i/buttons/button_mid_Sprite.jpg new file mode 100644 index 0000000..ec81fca Binary files /dev/null and b/i/buttons/button_mid_Sprite.jpg differ diff --git a/i/buttons/ch1_active.jpg b/i/buttons/ch1_active.jpg new file mode 100644 index 0000000..0f1a48f Binary files /dev/null and b/i/buttons/ch1_active.jpg differ diff --git a/i/buttons/ch1_passive.jpg b/i/buttons/ch1_passive.jpg new file mode 100644 index 0000000..9250837 Binary files /dev/null and b/i/buttons/ch1_passive.jpg differ diff --git a/i/buttons/ch2_active.jpg b/i/buttons/ch2_active.jpg new file mode 100644 index 0000000..cc0a9fa Binary files /dev/null and b/i/buttons/ch2_active.jpg differ diff --git a/i/buttons/ch2_passive.jpg b/i/buttons/ch2_passive.jpg new file mode 100644 index 0000000..2cffa29 Binary files /dev/null and b/i/buttons/ch2_passive.jpg differ diff --git a/i/buttons/ch3_active.jpg b/i/buttons/ch3_active.jpg new file mode 100644 index 0000000..27a72ce Binary files /dev/null and b/i/buttons/ch3_active.jpg differ diff --git a/i/buttons/ch3_passive.jpg b/i/buttons/ch3_passive.jpg new file mode 100644 index 0000000..912d2c0 Binary files /dev/null and b/i/buttons/ch3_passive.jpg differ diff --git a/i/buttons/ch4_active.jpg b/i/buttons/ch4_active.jpg new file mode 100644 index 0000000..05c8690 Binary files /dev/null and b/i/buttons/ch4_active.jpg differ diff --git a/i/buttons/ch4_passive.jpg b/i/buttons/ch4_passive.jpg new file mode 100644 index 0000000..e1730cd Binary files /dev/null and b/i/buttons/ch4_passive.jpg differ diff --git a/i/buttons/ch5_active.jpg b/i/buttons/ch5_active.jpg new file mode 100644 index 0000000..767d67c Binary files /dev/null and b/i/buttons/ch5_active.jpg differ diff --git a/i/buttons/ch5_passive.jpg b/i/buttons/ch5_passive.jpg new file mode 100644 index 0000000..e2f8c30 Binary files /dev/null and b/i/buttons/ch5_passive.jpg differ diff --git a/i/buttons/ch6_active.jpg b/i/buttons/ch6_active.jpg new file mode 100644 index 0000000..20f699e Binary files /dev/null and b/i/buttons/ch6_active.jpg differ diff --git a/i/buttons/ch6_passive.jpg b/i/buttons/ch6_passive.jpg new file mode 100644 index 0000000..bf459eb Binary files /dev/null and b/i/buttons/ch6_passive.jpg differ diff --git a/i/buttons/clan.gif b/i/buttons/clan.gif new file mode 100644 index 0000000..b634ce6 Binary files /dev/null and b/i/buttons/clan.gif differ diff --git a/i/buttons/darkButton_mid_Sprite.jpg b/i/buttons/darkButton_mid_Sprite.jpg new file mode 100644 index 0000000..f9a63f3 Binary files /dev/null and b/i/buttons/darkButton_mid_Sprite.jpg differ diff --git a/i/buttons/index.php b/i/buttons/index.php new file mode 100644 index 0000000..e69de29 diff --git a/i/buttons/location.gif b/i/buttons/location.gif new file mode 100644 index 0000000..6089cb5 Binary files /dev/null and b/i/buttons/location.gif differ diff --git a/i/buttons/nonact_bg.gif b/i/buttons/nonact_bg.gif new file mode 100644 index 0000000..ec4dcc3 Binary files /dev/null and b/i/buttons/nonact_bg.gif differ diff --git a/i/buttons/nonact_left.gif b/i/buttons/nonact_left.gif new file mode 100644 index 0000000..09f5d37 Binary files /dev/null and b/i/buttons/nonact_left.gif differ diff --git a/i/buttons/nonact_right.gif b/i/buttons/nonact_right.gif new file mode 100644 index 0000000..57d80cb Binary files /dev/null and b/i/buttons/nonact_right.gif differ diff --git a/i/buttons/php.gif b/i/buttons/php.gif new file mode 100644 index 0000000..a45a513 Binary files /dev/null and b/i/buttons/php.gif differ diff --git a/i/buttons/radiodj_but.gif b/i/buttons/radiodj_but.gif new file mode 100644 index 0000000..5b430bc Binary files /dev/null and b/i/buttons/radiodj_but.gif differ diff --git a/i/buttons/refresh_active.jpg b/i/buttons/refresh_active.jpg new file mode 100644 index 0000000..90f43b7 Binary files /dev/null and b/i/buttons/refresh_active.jpg differ diff --git a/i/buttons/refresh_passive.jpg b/i/buttons/refresh_passive.jpg new file mode 100644 index 0000000..bc0dc37 Binary files /dev/null and b/i/buttons/refresh_passive.jpg differ diff --git a/i/buttons/smilestitle.gif b/i/buttons/smilestitle.gif new file mode 100644 index 0000000..a3506bb Binary files /dev/null and b/i/buttons/smilestitle.gif differ diff --git a/i/buttons/up_left_dec12.png b/i/buttons/up_left_dec12.png new file mode 100644 index 0000000..9c19fe5 Binary files /dev/null and b/i/buttons/up_left_dec12.png differ diff --git a/i/buttons/zvuk.gif b/i/buttons/zvuk.gif new file mode 100644 index 0000000..300ef0c Binary files /dev/null and b/i/buttons/zvuk.gif differ diff --git a/i/buttons/zvuk_off.gif b/i/buttons/zvuk_off.gif new file mode 100644 index 0000000..dd990d8 Binary files /dev/null and b/i/buttons/zvuk_off.gif differ diff --git a/i/chat.gif b/i/chat.gif new file mode 100644 index 0000000..201e31e Binary files /dev/null and b/i/chat.gif differ diff --git a/i/chat1.gif b/i/chat1.gif new file mode 100644 index 0000000..21743c2 Binary files /dev/null and b/i/chat1.gif differ diff --git a/i/chatalign_2.gif b/i/chatalign_2.gif new file mode 100644 index 0000000..742009d Binary files /dev/null and b/i/chatalign_2.gif differ diff --git a/i/chatalign_3.gif b/i/chatalign_3.gif new file mode 100644 index 0000000..0f67e69 Binary files /dev/null and b/i/chatalign_3.gif differ diff --git a/i/chatalign_6.gif b/i/chatalign_6.gif new file mode 100644 index 0000000..20a9e35 Binary files /dev/null and b/i/chatalign_6.gif differ diff --git a/i/chatalign_7.gif b/i/chatalign_7.gif new file mode 100644 index 0000000..ca8c7f2 Binary files /dev/null and b/i/chatalign_7.gif differ diff --git a/i/check.gif b/i/check.gif new file mode 100644 index 0000000..6247fbe Binary files /dev/null and b/i/check.gif differ diff --git a/i/chest.gif b/i/chest.gif new file mode 100644 index 0000000..a1fd281 Binary files /dev/null and b/i/chest.gif differ diff --git a/i/chgk4.gif b/i/chgk4.gif new file mode 100644 index 0000000..b724c86 Binary files /dev/null and b/i/chgk4.gif differ diff --git a/i/chgk5.gif b/i/chgk5.gif new file mode 100644 index 0000000..be4bc60 Binary files /dev/null and b/i/chgk5.gif differ diff --git a/i/city/.htaccess b/i/city/.htaccess new file mode 100644 index 0000000..116776e --- /dev/null +++ b/i/city/.htaccess @@ -0,0 +1,3 @@ + +Deny from all + \ No newline at end of file diff --git a/i/city/1.gif b/i/city/1.gif new file mode 100644 index 0000000..eaab915 Binary files /dev/null and b/i/city/1.gif differ diff --git a/i/city/123.gif b/i/city/123.gif new file mode 100644 index 0000000..4f2151c Binary files /dev/null and b/i/city/123.gif differ diff --git a/i/city/13.gif b/i/city/13.gif new file mode 100644 index 0000000..1943c67 Binary files /dev/null and b/i/city/13.gif differ diff --git a/i/city/14.gif b/i/city/14.gif new file mode 100644 index 0000000..2095866 Binary files /dev/null and b/i/city/14.gif differ diff --git a/i/city/2.gif b/i/city/2.gif new file mode 100644 index 0000000..2095866 Binary files /dev/null and b/i/city/2.gif differ diff --git a/i/city/2bg.gif b/i/city/2bg.gif new file mode 100644 index 0000000..10caa70 --- /dev/null +++ b/i/city/2bg.gif @@ -0,0 +1,777 @@ +GIF87aф ч + „‚d0D4ГГ°\V”¤ЎЏgd§ѓѓіd`Iггв°°љ#$›ћіlr™ФФИipЫЊЉІlnS«ЇЪS\:4mн$&t,2(™˜Ђ|uЩOk±DFdјВЬ¤ќЬ|v]„„„ЅµЮмтйLI5Њ‰кk|вsѓхDФОч<6'МУЧ°°°Pmмd`s4&§ҐТ{‘шlnm‘‘кRwтipуЖДЭ7vпмжжґєЩQQ9€›ыђђђ+)6\^e?m쥤хЊЋTѓ…лШШчЅЅФјјє\nлЕДшjhO¬Їц}{Ъ|z|¤ў¤|yЎњ–ц9feiв4tDC.\jtrsєTQ‡\f”мллPpМ„…НМТшЄ©’¤ќцјµц5.6|ї4;,4::ЊЋs””Рfjс,2tњ€м„ЏзмюьдкцґєцdbcЏЉН|vфJE†јГчLJK\`trtDfо\fпtjlьоьј¶¤ttљґґХЊ~xDDD\V]|c><,ЁЁЁ<<=DK1Њ€bМЙґ—›ЙФФФko`\[Cѓ…ЎЊ‰ц\V<ґґц\VGЊ€oМККдмдЛМЭЃ‹ПМЬш43%t|а\wхDwсДѕЇ445њ¦х\gQдЮП\oх„Џш +$$$мтщkoЊђ‘ћdfdддщOfхtw…ЋЉЎt{фМјьЊ}т,$fh†tjднмъ”‘wњ–Йtjфijџґ¶џhvЯ2rоњћѓtЉъФТчґ¶µ4."«ЄН,.5|~|}~ќ\Дѕ¤\nФмжчњў , +&У™ЇЉј9ТhQ©IнW-Р\" RЕЌРX„УH,%H‘ЃЖℶT…=9EѓЛ@…<ґиаЌ0 ваGbЙ kЁ,Ў‚>Лј8—Y¦8д_S¶¬Ф‘V@ЩЧQDH9БQINh …1хД…ж#ђK+)y‰Wц¤M(‘—}ґMZцM“.бE+Е„ R&бђ‘Aqд—)8 +t|љVлЄ6±жТot]†Аglй#‹fЁЕцG®}†©tхE€&‚ЃеTO@]r Nt).SK:µ4ґLdБDQ|hT±PЕ 1иDD—ДВ DРPEQРШc­±¦џЁигD}Ш2†цФHИ‹»™І4YЊqOA¦ ‚Љl*Ё1П+yФ‘W< +a\ +cщЎ!V1fРX йЈ],n›Фl\‚ѓ>"ЭuU©hНяW§ЗжЫqіЙj(‚;лЄ[ќ±eм|Z…Фd¦TчЄxййѓЂabфІVYзM›lіY N橆єZі©%–h˜Н*[†Ѓх"dњc +кМЋ. і!АГc¦<–Ю`aщ–TџѓЮGLюxu,RZЁ3-PзУ.IЗтaО~ka»ЩЈ$СIЉt‰%9ЫbПљхGЏ-JФІ„ЫјЁД6-ґЖbѓФ „mьJ хSЃPЂ‚фа +ЎЁЕ.!5@c- +ЙўPтћ&™‚,¦РЂIs’э|d5ЩK‚І’Јh°> +ЪЦr˜ЩC.2!Pё‚’AGKБћџя‚дµљД&Q +j@Ґ‘ЩЁF7џY еј‚ёЅ%O8 •[Д’џЖФP,XМВdИ" ГЖ-†#•F6х—,d†-µ whWу8n5Ы`mБGсPNnѕ:ЙЌЊEЖЭT§-Н1‹sfу‡к29ОNйXњЯБЂ;ўAЬюЂњКќЗrђ™U№Гє\Ў"’Ёб ФR°$‡tviL©P3CR•d‡™Нфу‘‰мe%<‰ +F˜"B[  +фКеОd +/х‡±ШЗHh‘‘€,c`9Ѓ†nмсЏPШKаДP‹_e +N0‹ФРM +”pЎH ±ѓШѓPX‰¬°Г}8¤s-ћшk№FА +Ф#‘ ђA­Ё=°.iЪГ}ЂВ @ћ˜фҐ:Ъ)DВ ЋFіA7ҐЗ28ъЏЂе& т€цьDhМЏ'>yPV +Ц €шd/uKТDДХr .\Q›’WТ–•­”d–І,’…¤’— +Q DJеq +• +•CІ&–A:@Ѓ"*нH=t + фVҐЂ†–yМC ЧШЖFрdм"„ґ1ђЃЊ¤АЖф®ПjTгЎ +6HЂўwaм] г `@а з8—№Wю‡‘u°\X ыУ1Ћ7њ†»˜;;жЕyvg@фо.„8Мћов‘]=fRvСв†гD=vК0ёбЈWlcЉ5°Ж:шГEЂ'O„ +=‹ЃњрЏ0Фb ЩРо?ґЎ4”[ЪяHPЋЂChH№/PЋr4Дьжѕ@ѓ/А±s|рЬѕ8 +&0a®А:Х·оЉdѓлXoАЦµ.цЇЭf§zЩЕоЌ€к +рѓЫЕЮuЄgго +рЖЩїЋм\j`А짔ЇA Иy=кбl +еђ +§ ‚ЩP§АеЂ‚

    ›±—ыІ +јАћ‹»ўЛНFi”SяjђD@`7Ыа”°¬K0jpю|З4|”Ф + 7ь¶ќлЌїлв:Ў:ІњrРЄЉЉ·L,юЙЙїP +]mЖO©;ёM°¤ЉЕeЌЦWњЕVм·~; +Ја®РЫЇХ‹ЇзћфIТл›Є|}ТБiІC +Эj¤ЕLґ8:ДKъ›К°rІ»‰К±Т<НРмІ,ЅА¦)§ЦКИюјЈ<ЄђЬђrъпёМєйЎЂк¶ +к«}§]к“xъlЌ &P~N[V› +jз ђ°љс® +]ў"+ЬРЖ»Є&­ј‘хяiС«Сб;Юв»ЇшККХѕЃ›ѕzMќ °Hj№–НФ0‹ЩУщЩ ЅЈBр +ЮpN`Ѓ8bа:р +FЪІЛЯЉ,¤HнИЪ +·m< аєўІЅй› + + ЗЛД&}Т&M^m·^=њz»®q-ЛnЭњо*ЧПыњпZЦn +ЧqЧмЉѕ¤Ь"mЅ€kќм­ЧН[Т +=Ў<еnб4:ЗtмЩ4=¬ № zрВk›°y±|’ +™жъhBАl©ЖГП¶ҐH™’(lµ/Ь§~Љ“МЯB +У4Лґ;я и<№~y`:ЛМЪРј<№Ж;О1PХNЬ-©брв;ћЮе]ѕ ~ќЧ©КЃ ЇО™ѕP¬·ЉљЖU>ЯmЊН ©НЬњЯ7ЛЈґ[0ђ#rГbp шў*°Ј5ЌЗ5лђImР™›АакФМ|бR}ЙќйL\н~ЭХИЫДЗyвЙ‰џ8ѕњЏ+©qЅњp +Ч¤jг5ћоН»оНыЭсiЇЩЄбАјўьћНЧлk®Mp“`љВ +¬кэ ? +¦ +H В +wРB®r{е¬е[>·О,ЯЖье™ЅЩ&`­щќЯnљжH°ЋВPґЇ`ў(* pћiоЖBµ0ьзЁяTЛҐѕ­¶Нжґ]кҐHyФµ.¬S +~М-Ђ=Њжi. w бЩНДXЭбЅД¬ +вї0н®e-ѕlPЛ;Ѕ ]Ю¤N°Tьё«в­zй#ыЎJъўаЄА¦Щс7ЄНµ;єЕWЁ` +тЂ/ъ` РЃ‰  +уђИ7;¬µ»ПЁбјл­NШzЎ@+йW}ХћХMьбw в +њџј·фЮом©еNСќїо›Яј0ЅЦ©ЇЪ9п›яЭпJСAщepЪZ +Сн°ќуNС єыOьщ Pтlб–»ўQѕш»I®Ч­ЖwаЯєnжіюА‰lж‰­ВыэяnwпMzм¶&щтЫЪДЂ¬ж“э“xћ¦]ъ Ќю№Ј+¦Y»¦KkЗЯ\Бю«Ё +6Б)зЗЏh?ђЬA"LЁ7oЊХc"ћћxM…@Љ'DHT©U«RЌЉ¬–7SЫІиЫfЛЏ5уж­"$OnjуHэЧкФҐ&’к9ъ¦TQPC…юјxзN9eдИi#ўГ†dЄЕ°Yн—’щUЌLЗ—+В|фи—^ ’FЗґi˜Ah®ЋNvя›p%Y‚¤6ЈH‘4&8)dLP +P©ґB…%PщC [bС'‹e.AK€ёЪZ«*KЯzЉ®x4ефЁЈц5Tф:>щЉ(3З&љіТs3Z㘬К3{e]мc…Ц4bЌХхµ_Џ¦-л6Ф +‡ +Ш ЁJЊ–ќAЈвd-†ЊЉ†™"V 8є№ЮъfљЎ®ЬЬРeѓ™wЈAвSnяB‚'щSм—‰2v2‡ЮCЊхГЫ©яґа_=>ѕЖJ!Ѓ&tbРr]8‚ ‡Wб«7ѕ $И!MђЖЋўяA0‚z‚PЮ@І*`#yЁQЉx6#њ‘(Dзи˜яDГрkZ·щH—ЉS¦25­"Є#VFA&2)MљёZ•ёMЁдJµ +±tW™Іедlѓ‰SQкЖЈ@н©SН#^L dМMO&ЁW  +Иk-ЧаЋ&®©]УRУ$`MVЏ„MMrU:YЅF2 +@r™KЊ$W70zКЏПз&*њ@Й&•ЎHкtЙc 4ѕЉ$h‚ШєµbRwуЩt2Єy’aB$“mв@†ќ@‡+ш%1›AЌfИ@7яјйR™\ТђљКбн°ћх|ЂШш`іћЭм.©!пс&dАf)”тїgю 0ЄZЭ]i29Hв¶,§~ёI©cњ€%Oљжµal(‚ єСЌ-М СшФ$6ЗХФуzРВ9ґР©xЮбњіє'Кђ˜;!џАСЖФ«І‡ц%}eМ‚j“C.u¤¤¶сZ`—ґ¤+GLYъJђXТ«qЙKbкиGeژ ®§з™WЁ€TМ•Cs*Љ6ЕXT¦дO4Hc(–°8bрЂ=њаЃ +„Ў›ЉѓНФ’§Й-Е‹›є·ш2 фэДT‚дW"b+Щ6 ¤ќя¤[Q#EЩТ +‘ґЉЦьТV'a”A!/ l‚ +8¤ўМОЁухV gм©aЂLљђA`•ґcA/„ѓyНЃЂЉЎЦЙCS±фРј ОўWoМo·Г +d +7Ш«08бЧђCѓ’0$®|—ШаjµAi¶QZ–DЇҐ'QЪХ›5уЄ¦щж0сйЙy6G*›ЪЗT97Џ9dяѕЈ(~nPЎKR•@'@#QцШA(Ж° +и`Ћ +уµвdl@хЙЁ{МсЋѓдcВђ•_‘М#OS%˜Bј6зЗoЧhSс1ЃM¶№‚r5^к]C* (C@хpЮнr+0эr9=шЃN8ѓе’ЃXЃПЪҐМ Сx$Рс‚fp;й8,NK@Дт›л%кIgр;лкX Њ‘ѕщ™;ђ¦•›їћ{Џh€6˜Ћfx%fPЋ +$€†NјnP…pЩҐ·Ј +° + 3P[ҐP…ܘ&D)ХP hй:ЩјЭH%M@іpш$8йB„Еhљ€˜Џ љTW±м†{8Ф(нОѕЬђ@і&| +ї…$°'ЎP­з8ѓrЩ^$r»ајжЋФаF[ґеИTђЬ‚ЦL98<=И„Ш'мlїvжѕЦqn["¤‚сь% +Љ“ ^Ps`.1ш¤RЊHЄI¶КeљЉЁ©яґ±°vн‘‘Ю‹IрPЊшp€°Њ€€d¤ущ`Ю#…ќ0ћТѓ2"Јв® +˜hhёЭ5[0'ё·з{ ЂЌЉк8U<^"н1RЩ T‘&a‹sъ` д(Жk™ШЇ =6XРСУЮ[еЌrЩ‚"h†нЕХ0n(…d ™шYi„aU°3wpйplФтM(B{¤ћNI‘М +kQЋZ2 +aё,кЩп!3тФИА.мВцфТљ8‡7`†ьлЯсu§fvfnl#јЗ +ЫБЊХ.џ +KгхЄћ•Ёњ€їТIC*:o“2pЏ}K†¦ўЪЏЫПZИ@xKЉЋ'°‚K …~“>Ђ…›і1UДњЕsн"-Дs¬!-« ˜Еи„ЖЂ$¶тHЌЊ€,j0MёХЊ%тГZЃЂЏN +\цҐkMПјдР–ЏЃ‡ў»vлtрNхЪxџжhvUЏ¤іJ`#8,l·ѕ|мНoчg~чЋЗч,пЭ0).,«µ›LН®ъ‰Ґ°1 +'UМd™ЃЖвП ,яН’ћЊ©4” O‚lь5ѓXя!i7зњ«„©‘Ю([RkY ІЏђq4°lнЦmW–я=¬р·Z@Sё„K€‚БYгKp@p>‹ Џц7ЙЃ +=*"Нњ  •”+зXьnГффРЙќ/›<€8бОhУ&њБ‚3О Ц°D8ЄЁQѓіѓHєЁuУдҐM—2D©‚' +7oОќГѓ§JћIШ<°G“¦6?jrжМЋ +vV µзиЉEjљБ¦M9?д°IљґвQ TЂR @ҐлЧЇ]З’-[– +w]kњ1!gЖX±fе‚5kчоЩєwеЉ +ФЋЏА>ђя6cX°љ9M~ЕQ7CЭЁQгвPш1ОЁК•ЅДбмеs52г8Зi#°Ќ№‚"Lи˜ +SХ7{!у«љ—_µ›4 ѓЊњ;В&Ѕycдё#zвйIюFШќи’b4‘MЋн_AґЋЈ;чЇрdЖ§ћX’Фиwђc/LЁвЕЏ—JnЯДтxъ…рGV/[—\І4¶ +ДjЏ ©“A;fЮxЉҐ8ХјЙ±ҐpЗЎrНu(МSaG†2~ЧYЇ‚жЕhА’—в±Д6Iў"N"LqQ + +ц5§‡ ђДC!М© +|ВёAўzСFѓЮ±ј±И"Њ1ИXнv6ЪЁЩA•­ЦљяN3ЊљrК†=4СI:ХМ+l1C;YQ‘Љ9ј К +lђ “ВE_ 3tq'SљА±њъђЉ3<%§§ФЁRћx®аTН5¶ЭьҐ•ҐdЄ¶]ZЩб Za]љцЬkіm(ҐtС妛TеB3Т3AґЈбAјЉ-eб8i•йvЌХtЛYg($ЙmiШjіyQMuСDл^{H[†йпyHЯ‡oLrЬHLE^д¤с€­AЊЈш«2ЋЗўжќЧдzмЎJ|тqи,~сꉄ&Ёђ + P +ov;вWьr6 \ђ +°‰Т +т”Ьф.<ІўМ8RЕ№НP¦wџ±M +‰@±.ЩЩN\BЧІJб°щИоDd™N‡Щ$ЎЌњщќx†§C^,Zл)W№аCe­лyНКРј$¤‡ZАЂЧяp‚-ьK'tO +‚РѓТG/ +й^пўП"‹ЉI@lDл±ю~ їв№ЁгЩО«pT“deјfAћТЋ:5M‰Ў3и)8,dѓ[tb_<ШД +вI† l¶f‘†8FqxБ љ±‚©1(>Иб8#"‰¬АjЂ ЉЬрў·»ХЌ€<”Џ(С‰Z±Ўr©б›¶в©"¦!гTYЕ-рЊL Т¤Нgpц­уHEИ[Џ€вУV`rў^Х5!Г$QљpЁГSAьI +ЄшPбћЌgpђЃn%вђ60гС€Ж fpБ¤еM7§џ<ХД"љm ЅTЎ~+ЉТYЎНЅіPjЂ5Аtjl@ЁE–ВnС(<Ј±дГЃЗ А#т0KmуЗАґd)™fvЋЭXїoЂ˜э ьSыњлD¤»(оЌG65tёК ¬ЫШ™hV±U-•u°Љ_Ѕз\]Хпє–!кM(µр†>мqЌX|Ш_± …-Цpѓ]дЎЪ№$X±§зЛя†-ІҐ Я1‘iєq'¦ Mи +ЪDаR€ІCН,В¦ vD5•ЌГBў„•M ¦П+p†Qд„Щ*№†Z(Э„ зјMК€sБ±B8cџ« +шmЇњ¤б¬№USЃ”љЦF&$'8С›‘!ХВ + +Г@цjG78JаlB#b §=цг5(кУ!иб +nёC‹Шc?/$H«Б@T+3™‘0“V-ѓѓ§г­КG‘Ґt–ыт“bHЁАYЂB, сбXX!A— џМGWѓa;ЫнГ{‡мѕИюя6Z3^&яѕ«ќµck±Хњај•ог”}NІOQИtС ЁDНyn~Ў@‘‚етК;q@“ -ТD3»i0ПЭ8sлrЕагНsnbЙS^зAЎЬа”КФЫp86!fЬ&@I¦Ц)‘@Д) 1Зѕя-$ І*<^Ёv~і"/0cЮхN +{·Еf$¦ЮОyж^"^gлB0Б~эАNEt`GЊB‘•LЪ!љyO§Y^Њ‰И§ЕЏд}Х»HВ”U+Щѓ)˜В‡™чdЃиА„A]ХUЉХЛяеХы4LsL$мЧ{LЊ‰DKЉ˜uаN +ЁxNfиQCЁВџрЮ›Ш–•эДИ-—р1Я]рVКњ ˜!Й)_т5Я_lЕ`¬V(IAЧOИ‰jСЯ,…&,ENЯQpJR0Д(˜Wz˜Z,љD’fDNа ЩђU’ЊlТЪ`№x€POЧ ЋДЂ`±B˜ѓNмHTy†Lm‡яp,“N Z ~1̅퇄дA<Мѓ7€A€Щ‚)Ю%˜Вб5Hµќг1^¶i +А‡ШЭ ‚‹‹Р€JEХ( ћќ4…јaЈыЃN=ЙЖzNAЁ5РW ФлMYўьЕБA7lФЧф ч€`,ШB>ш0¦ щLЉҐsґП„hЉ1нHX_xtD‹$Ш«<eАЖм!uMЧt9Д…ЁCDЙ `PУЁWA@ЪQ䀘TҐџ:†СJЉд(`ЈRfa”˜ЖА1©*™…‘`E`ШsЎбk&яdќЅХ$Р`…iћ +f™ЩOАЙ`Ld™ЯњMi`ўAјлX^wAЬ8†9D†зЂ"TuЖП™ЯёHBtЗ·Еr˜ +‡кИOбИ8вc©QMЋmАH‹4A©иЏ®5 (Q`W1 ў’XЫхdЃ-x ч„а•`щh0hв!L/-hA[~7ьн¤ЛqМKrl +ЕVьЖЩЊ lяGx.ЬрН8&mЉ.‘F_џЩџT=“НµLs“㘎©ДИT•Ћ'…ЪјБ%r]‡4K +ъ5eV%O( +“TОзуё јаХ„иЃ-к4(HїДR@ѓМY2ІщpГ[:­ъІoъ”e°Д9ь/s<‡н\爴ў ѓР4ФБДЂє1FТ‘™M|Vў …!+=‚”; Qї–Н5Ц5RPѕpQЬQмPЪZ…*ђE8Д¦m«8гVsњЯ sSу +$©DI3зт]ЯOдhЪA;дЂ8шГ˜Ђ0”AU”¦Ж)‰Іўsaa.‡и@љщЙ[=“§ГЖяБx|'2ЙБ]м!EМ\‡rМ‹њ }ГЄAњљґZGХhЊЛ.eDчійЁ‡тDXьамуd`~фqв™Ђ-Кшв>ёчЁХ=4€'Лo°tБ”Ш" #Љ9Kі4Ф& +ь@wэBЉґџ*@Ќ +•E•*‰§ёЊ&Hм”rE ++]ЅQЖ!џҐ$ ?Ў ЇVЦ€uRффЄ*€nђ®µ +HlPРЏВлjNіZџЎЗ}Gѕ yЃдЃIёDиЃґБbNEdkcҐLS¬М¦х›aР$±н=[’Kћџ?їgт@Xуя9Х6 2¤ґ*8К›sШQТZxр”я˜ЬMќVЅ§№ “6L…е«В/мВ¦кГ5„XЃ^ч ^‰9­sW·›;·YBИ|э:7аGн”ЊИс„ю”hЃ$џ~–B40Ж/V';О ЂРњвc ™|±0$БorJWtѓ ЂЋќґA7˜ +._Xа+ЖeЬф…СDDН4CЇs+Ч4«НњЬЊўйDuЙuЧхЮ|РсiЉ^Р <В”x‰{Bё'™!,°z±Њ¶є¤дX‹35Б<'ўКД¬4а/`мь ДTал8Л"a­»w-(іњ‘lvз‡њ&a5БLЧMЊ&M^Њ(ІВЗЉnp*МЁС‡gpd †CЄyЈ)VHEЎ‚.jр Ља`Ј&U4i?‡"JиA†ВђюRБЋ:‚C“Ёfђ!•TњЎF†‰мяPГbђCѓЬ±QЎЌњQD9ОXaѓ|@ИЖLr!‚ЁC‹>lР"Љъу+=*‚ЌGоРNH СЈa$€Жјуј`cjєaS¤6В‰c&9eR,±_Є G§щ>‚Јj +=>Ж-ПикL-a~hў™h’P§љ¦2‡Є8F)LN:ітП_Аккјчљ0ЇЊh$‰†<НАЈф-µв­”ТR У„Цвy­¶cm«ЕY иН[bЃЦ[ЦШ@€/–іо9з˜s.:зѕа6Ьм`;m4#z-­»уLт8Уu’2ИрbMђ„ґ* +"яq";оS%§6’ђ#љ,„сF )’Ўj¶Шў(r€Й&!ЪЏўkрБJgЂ#•ює™8Г/^Rўѓ +rЁѕf˜)еUЁPИў"O>™aЊ•ЊИЎ)ЈґHи=*є™&ЮВ€;\и¬3є,ЈLЋjHhg†"°Ћ +(™6ќi¦Ѕ®І*§¶ІU +Sz‹%ЪXLqўёЩ”гVєзЄk:m{wЩxфђяM:recЌ5HЉН№~ЁжjTЃЈ›TиѓГЏ©иЇfЩ aњqљђDЉH &D(uTщГЊRо™g‹Д_?Џ+тшJм”џЉИИCъ+ †р'4‚(G С TХGiЂЛђs¶Ў >I?IкGёчЃµCFhl•aёЃ<†:П¦ц‚­(… ¬JUa|2•ќЎ3`CњЕЄX 3O3KҐфћ№‘gnR3˜dАв…Qf*кР„„В1ёЄ,О0ЁRХ¦jи24† пБ\­8WД\…О;Ў1PЇО¬У Пy¬« +уђQ%€ЎY¶°н б„h­б»@ОrяѕХња1gxХA$#YЪ\g%з°$рёaIMFG6ѕF5 Ѓ6jф©>ъЪЏЗ!ѓ HБ +“‡8дАЊ}йO~ +©џКn™Б‹њ’#vH>B1iРgтіЩ‡~ц/‚D#+ЁК/4бѓЃё#˜ЬP.‡y@'СHI@‹’Нъч‘ў­ + АFОU”LµKе†mJ +9ahS…ђтҐ=нiд?2G5о Вc5KТОт—3ёўЊFґ\YяИє‚бga=»Ш1"ґ›й'›рШ +dЂў-Д%ЛЏ;ЬЪAєЪЏ˜<улB¬)YЌpDЇ}ъ“ХмУ6Ёj2¶ІЊxRљZПґ°<з‘!Ыц’•jtв=’qg9ГВ;°P‰¦5“Wд@Ё1:&{ЎЉ:z’ЕЉљ* ‚r\ЄD`ў —єЏ"Gz‡“є1ҐЅъ•йL3ЗХ@ПX¬‘©lѕЂЊWмqци +ґ¬аhнО§Ъb$ё№HџяjaїFэitьaЙҐћг©SEIT§ЉЌи@вwђCЦt|„BкЖ +\tЎ6‘АLХP‘.AМН\кТfйЏѕ8‚џМ"©bЪ1чЈоІ"zќЏЂЉ$a щ1,ОІbі–L"а7ЈґЊфЙ”.В}VРЊЄ”СL—йМйМu.іё СИ‹iШQЫЄС3N[­$ю)™2МК<Ц]ЁkX +«T…TTy(>№и\ЩFw(ApМyгС!N¦2L$©Ћи™ФтЉ4Xni±\у;¶Ћ¦ЛІ…м u»X +whВ8’`8ќАAЭ O®¦=# +cЪtv€ЙюђбХ#Яяnv-џ­!…•CщH7XV3ДўР СДЩИцгMYо’ЌР¬9@юЌLњ}Ъ±&и\ГєбН0·|iд2рФ…<›Kгз Ќ™4Он2^†I^твћVUњSszxDg*TЌC†kKЉЄ‚Т¶?Ф…0±ЛmJ©№t—thatКнјЪФ›Т&АННЃ-?BГvфхйµ–~}ЎG’ЛG^˜Ім+”ЈҐҐлFY”шѓЦdM!«ђъ + —ѓЇя‘с_ЧЙ +ЖИN¶Жъ +I^LИ|,ИВЁ DF« + Б) Ў«ёD.ўaК¦ѕЗ—ѕ- +s|O¤H*^t…Q$т¶ђSkкЊ`zR¦тС6&НыjГ€ 7fgъt.ўА€`йРЛuZЗФ~2Л†‰J9 Фв;LґQ#Щoђ« +fSBљБ>а@‹i˜Љ­Cмнn1Ж,J Щ2$рм` TЎ +љ@ѕ 'са\sъnMЁбlІGЕ6вД|sз9cм“L°\?¶ $сгO HЉ¬‚U€Иn,е,Vj QѓЕЏд8ГааЙЩО6оцІ"ѕQ ЅЁћ6Ћmј@/б¬Ј­VюЙ+rу>г3НшНь~o‰$@’q5`ЉјВ02яAФ6жбб¬ 7pКv ЎZЋc9@“ТИьМr"EП%г&ЎBЎж.$‡&ю"*¦bDEMОsю†ЌБ-%QrІN2нRЖ‰нљ¦Н°~l;{qFЄDAр…‡ДbGЇ*yф@$бFв#CюоЈcІґю,«?dE 1[ТЕЖуЗфЄ*еЏВxbS +CФѓ¤“0yҐҐВПWs…тsаnґµ‚kЊToЊ”ў’Рk\П02®іB(ьlA?Љ/kлm*2ntuСz…tFВг  +‚ 2:гJCдqLўЃ $¤*ќDёs\Уо{ 9›’H(`Eё +ЖF¦h +ТTgu"у va|ЃЏЂ# +Ј8tАZ–Ј±Їu$-н±FСBх`D ґ^ІиDDвOЖIdиѓ#и”Щ–т7Ѕі7Г-ня.‘ebШ(иДрЄJ*"˜D¤cк#$ +ш-хь”mт)o‚њЂ©#:л);ЁЩ.—nЙхнЮtIуV7‘Ќ?Ћт‚5ўO&F`=В‡в  яўaWR +ЋC0%RP`FйJрЄ" +Н¶Т мf·rk0‡oСT*VQn4B¶€ЄhгЁ1“6|W|#ыжБx +lБ ћeZЬ°8^ЈѕтxTЕПЭ"эљЁКJЦO­в'ШO$®іВЂIЇ|а?ь##x›TТ“гЦЏДы§®„mБК—VаHµю~йЉвА1ўoѕѓ,„`% б’`‡(№сРн`ї +†ЙХ°jrњш#kL_˜› +дd^,MNд Фг]8ѓчы26ЗuзF¤ў8дBnoЕаr0…L+ф, ­—µ­ЃOВEnЌv6ЈН81­·CБЛГЗWuVcЋз˜XLьЦ±Еэ‹9Ва< l! +bб¤O§тБзяfЬыd}еPQПўМt«…‚K)hoNт© +ґО)DbЗ*¬—ЕI_lК…М·_&ўJ6Щ›Т“Щч0Aб +pмш B!жJ +0cЪЊYу¦Nљ6aъЬ 4иL +3UъXaN7’pаЁ‚C­гЊ©љ¦¶ ТдЋ°ђ„|щвЏ7!КД€ц&ћµс ©MPO•*BЊlxc$ЇЮRzфД«Ч„L8Ћ"‹¬ ‰ФеКЕ7s­ s(С”v˜ѕ¬Є›f3¶С\­Д†Mдь@‚д’УЁS§6xР кСhЧFhрЗБh№s#Дэ;¶nЪЅ‡WЭ‰0е›;#м +ЁIРҐO} х7Ь»w/…чM)#гхц5 Ѕ =лхqпюэщфсьєu«vmјэщ…xН“7y| XяЁЕ &( 7Z шEѓB бБ6¶ШЌ±ДН…Ђ¬1„yшGўххХЧ{*’ЧЭ$-‡РBrГ/ї<ЗDµЎОTi5Ф\†˜©јдQv8гR’CНдXc8ЕУNQ•УLЊ)¦RRM¦ЉђФh2&U3„гE5eЬК{Zx+ю$ Е ґ)„Z°ЗћЬњѓG з|!„ FР —wКMxСFUQ•ґВIviGdTц$QJvYR7-V„FEx6AАѓЋ6Ў›l­¦r°хvРp№юvљ®ѕ +чklѕ + [k9‡,І/ +$РwBGuУяyћxxе¶zРЗ$мҐЗзzЮ~Ы[%ћ»–жЦЃоѕл XВ+–џ»РP!‡^bЉ-¦фл +»њ;ў]йз-2(жЕ(РЃтZЊr”СђЌ^Д1 +Fжc©EtуH2€*™‚мN +p¤bGЛF№iМЏсY•:еTcшPC*О¤RТђB®@Н—YХFiZща'зД5W#ѓю‰ +6 д‘ћЬTбI U<}ОXсЃ‡r1ђ3ЁвH#5№Ґ”Tљм©QFщ|dҐ--–”Θ$ЄђЁ*С,$IвїсЖ®·>Ћ+pјтєлЇ’+[kn0‡Эtя;мќГСѕ1 uЪ у"vЮ­~­y(цХ$шсЙVkЭ‡о€єhа'Ь|в»пЬ„uЋрb џаХЬ(Ё јО//ѕlіѓ¶lHЛ%±˜r €"Њ®[|n›ў{ЬЭ0Ржѕ-ФДЩdДРIЏдNЋµЎцTМ°‚ E<•Љ  +—и†єСЌSщ­%Э`ЩJЬ±іљХLfC‰Њcвж©ќ5йH*ба +RЃ”¦,eH†‰J©Ъ‘Ј hе +zВУCЇќ.q9‡ „ +ЌlЎ$?s†Jж&7OБд$T¬ЊKRб@»]к$5°”3я/ИЎ62BЬ%Ѓ4К9Й)[krGгT6±єХkЉҐ$ёб9ТйиёS-Ц±.:‚дxАг:н]&тЛ"mЗH +ADaP >нG|)bйТW¬‘!0Ѓ©Ш/Ж‘Ј8xбbqЁ_8ВЎ¶ў pV ‡- ЂKдг#pђР¶P)ћЅДd&k’Qа¶іt*ЖS:“ Нh¶˜sv hGYаЯ”Т”‘tдhК$ГBўг—?Е%†r™ЛџЂи§LФkr‘‹& +Џ +r AАXU¦2©"qя)I2лIЛ¶ШІ–”Дg&ПL‚E•дуѓ+SdФ*9Hў ‡Sе’і9Фln99-Цг^sG6ІQ§‘\<°№яэУ' Є`6! m€Г 4‘D8€„$дP$ієeкRVDJUkЕ“¬АЂФ§ s”"\Ґ! щM%ЌЫ 'ЏЛб\ІњіУжмсАХСЋ “єєҐтeEMҐ°Ља3ХЧќ‡=&X¤€ю3 -шiAbоч” +пxpuW( +(ахBNр,_w!I¬ъ' $Љ‡ ЪУЛХEg9hЌEPС $! 9zHD їСbYЗ& q + D! +ц°BИA‰4h+`ГЌ&’їрц‹}‹нko+ЫЌІWћFъуЁц¬П"T#qЂя€«ўу­э‰Ндтt(„®|aЎ…ZсъГxјB!rAЋ0вЈЏНЅT,пI2ё“ЕPЖ%"ҐуH°XRђвЧ€YЃ33¦ъщsq”‹НЃЏЌ¬лј(;F-дS•zИГGГ†тґе3ѕс­зЙNЧUsи<ж‰%lЎ4ҐУX\…йJWЖs™nc ‚№¬8­Ц=X‹wгµЁЬоzs)ф‡јТ +ВР%ґ±Ѓ0јi’JѕЭВІЕќТ г:НQЋh#|шЃјИF"КqЂИЋЖ ’Ѓѕ<ЉpЁ‚Л „-њBГБё„# і‚~дА њђHF†’щ^СM=яYлѓ•й:¤фіH-у%М„ i^6Н +ыф;±rєє„КѓҐO‰ЌиВрkh=ћ„Q€ЬЁ +ГиР.у7–qРњ†›mqТј0Ґ—’ “ZЫ2Ј#Р3P¦пЂЖгИжАHMќw¶іAFЄ‰КV¶6ХmoыD'ўцлЪТб?’`’,еёЯUcвI-Э +…Ъ» +µ‚К»Ж›L+&AIо‡НЮpU%…!_ПQ€…цJ!ФRбZCВ°‹УZБ(О&ШV>FщpЇЈѓЬВjСЈ§UZЕHSYя"’дU8‡ЁI,fV=ИP­–м&cІђH{љDv+†‰џжI;ц‰џИ +§t 2"PЉц ¦ +¦ђNа/¶°у‹і‹Р· O` O`}Ч7уђ}*а}а§:@™j~чЂ™0 ™‰pЫ b Т` +E‘^у5?”zP +«! gcjбђ¦ТCw•qk%ЩA…v˜ўя5Р2Jў):ЎEOдD2^X$Ђzq'(в-,Bzрw1”ЭaXo˜HЋIыСBF0ЂU•·”‚XIb"Љс/gYcU#–‰xћЉ{п6–2f–dҐЈ›d‰6†‰8†•џ˜ +§ Ўp< <А Љђ їpЎ Љ­9phц f|Pp +ЪЈщ`d +Ґ@DHА>d°LуLЈ„YќыУlЂ?П„©н +Ђ +Ір0А p§ЫАY ЧЈ§ы›Р +”›PP›т@ ± +ЏЂw"«б_cgУ яЏЏљ#˜1“LКdЄЏКµЛ$WYХаX2RЄ±`OХЊ¤UUP3ъ5ічWBДЁ©ЁжvCcЏ#%“З +…u$©P[сд$Д^Ф•Q^‡С$ђ&^А AP +јQР0ТЧaHЦR +q8myиaјЈV1¦PVы¶€HcмFЇb№є3кєЇ›\=XЈЊЈ2cі—I=Zcщж–o ¤бжoc!=p ю± Pє|[ҐOЂ »ҐЅ8¦jpЪ`¦k ЅgкJ ч c +Ў ™Р(5{ ­№€°!—@ Vа3'ЂєЬґёa,„%" Д3єщЄP=4В¶:C%Ж“РqоУ«Ј@ќfт1$Lи%zЈ7NhE&_­Цџ¶…)3 2c"^¤RбP +V‡Б|$yИ“о±{ЃJй ‹–”жЕыМПэмЕ[Жaй€У5‰oЫi9є—t€ Д‰jЊ•mI®ў$јkЂ +ТЌЄИ¤k@{ }†™˜РЛ‹ЋЩҐЮЊАxІ”y¦ч0МЙrZі„Ђ +ѕ “9b°!9ыJ<»і=kїР°РРP Pалр“ HЩ-эQ0uЁ–;яeс0‘·№Ш¦‡9‘шкПЖ¬cюAЎ +ЋU·Х©dR8‚пХНхTRЗzEб\wЄS‘?E`†РлмБќE№ДFЙ0гс:пСZUJh©Х[­Ш‹нПЖbY–§ °¦»–_Jэ–p /" ;ЗrУ®™јуАСVк +аpjА°эІ!¦А!ю° +kаEєЦње„в0Cв\Ш Ия +(ђ!Ф@„Z Р?jр@9x S\„ёЗ+ґ ї]„Ш°”Ґъr¦Ѕ3Ќ€є†Ц:=ёHvd + lsЫЫв†\±ЗnА[Їкѓ +1раЃ ЬyЦЂ +YјрЁ€–)”  {ьБYE +ЎqЌ>Д"( ЬЦ3†,(З QяXЂДЂЏшЈOnЄ¤йF„;ЩЙfyРKъШЕE™4ҐsMbXфЃ;”Ѓ dФ АЂ»џEј[ЃБЊІЈ…yHyJ*|PGб]м)KrКE*GѓсNРУ‘*Ш 2”AШУћ#ЌЂ3А”HЎџtfrSхҐЙ}џdкg@J‘­~б“kc›EќЇ}ЊєНmГѕЄЩ,SЧдШ°Щb +у€Ћ/џА*dЂa‚ +`sЏ) S b +KрА6bБ¬1„цpђ7 +;ьdб; Дrё +/–•"1…HP±JуаP„7 +eЄРDЋЪб…/Й%Lo(2 ш +Б/љ™SS[bљ-jЖѕыUЙ>…–AU„"щђЂПБЕsЂ +TL®!Ц$Ў§la +1 q P@\fmЎqЖbkтфб},РQР5˜ЊраЈГ&Q†$ёAmJ +ХПЎi6‚ є$ЈQ W№;ЛїЫСѓ јЉFКXЊRТ¦ ©* +»®LZјTЊФ(Э(фrf–Аѓd(KО(c›Ўт·їќTu«9КЎX5чKTC›ЩёrЂ»юЄ_VDВAг–\[а€{IќTЅU‚`Ш +алЂvџ1А`ѕ + ФРђcй@ 5Њ в9Оh ›9Рђ +  +M CнFС“AeЈїiЛЈФ¤ўh[RR옕=& з@jщ–#5Єq¦+˜Ѓґ42Aт0 +оў«ќюфО@QPяҐiHYT[bDкBЄКIKiXE¶T† ШбzЫ#"]3…LQb_^';)юОwоZШ№ +Ћ=3–OнГ‹1 pѓѓ,Lqx' о@QЁ7Z›У Yщц0дБnX™‡;И·i!¤m$ЂfwX‡-,?Ѓь4всx/$Ь\qп5Т‘Ыіш›БgРАр…/zRО*»љђ<:±QА@Є0°0ЇеЋF +X~•дЩAЏЛггрдш] +яr(Bщh7:‡jё +Гаiѕ膑ў®ќK¦X +®@C?RЉЙ‘™ўўp>Ѓѓh‡їS; O`5х Д@„*т)DяCіµ« +Йш‚‡3‚!ЁPЃ!А ›±“€%цЙ0 +ЋLђД3c›Ъ…кИЋмШ\1”¶ЅЄчЂЏш˜XЏЙ5 ,ЃСўB7+hZ јz«!y«јЙ;'4€ґјґ2yё„EШ +AМHЌ‰©љ©zЄjЌCЙ5n‚0‚˜‡Zш‡ZЁHЗ<я+а°0±"_ш[ +®˜МЯЎ‰TЈи>aѓ +и{©жIИЯС hѓбЛ’«†8hЌщ./Uи#0ЌЩЊRAњџС щiЌ†І˜H ЃЂPЂg+Nx0 Ѓ—Фѓ]xG!Hєљњ™_ѓ>Р‡ґ*«QсЙйp +ЩєЈ’ЧЧ|Нy•MціНъ鈑3„Љ 0†а ѕъЈё!Џbz…о‚н@ЬMЃ0Ѓ‰ќXй˜йL ьdЋ^’л°оФЋ¶ ФёС« +Р +h9<‚ +©@W8јГІ є"HС†dѓ$ш˜pш2`‹q`LіP +ѓYСс:ѓа“х;!p№ +lА€ССa=]XЎ4(Пф +Є¦Z‰ввњbпPE &ІA†:ё‡mЂJж 1=э%VIЕнh6пNAµBђцXѓѕЛ¶^ac0цРЃ1ѓ_4@ёSЖy<Бгj!ў-KµLKЙ«БґяµAњ-pi›=¶С¶ѓt№Щ6Р%Р±Iќ-€2„ЗЂ ћoѓДHУя§0 с†}y,TC'!љhHyЏ|&| НЫ †kР\Е>,dіЃц}ъЖHТД#ЉА +–эslf:dеЩLЌѓ®Ґ‰Уi™bJ,{k -Р¬ ЌРЩУЬoБ7Д)‡‚<K… +? Еt˜LЕEсЖ9&€ІАфф` +PК<ќгЏB уIџTЃ +7ZpЈ‘{сАg„CсяEPI+ќ4D)ќі7ю|ЖiH#"/yEЏ·„@ "Ѓ + ЧUТ‘я +џ˜gНюшl(V=ZшD䘀sґ±!9ЗGўg%ўm!ЁЫЂ1ё#ња?*с†К-niЂСyJх˜Э"y$`а(G‘”$ёptаbQ:\Т°"Z! ґё„.q‰Ъ<§7_Хњ0ЎЦ%єХф°ЗsД4¦Я@Гї‰‚)Д° +iф" щ˜\(g +†ЖЏТ@@9˜р€i +c“•СJ*ыф‡=сG#x†lJxЙЫ§GuЋиб.pЕN1СXР‰¶`( –›/©‰Я2…b±БШ +Л89®±z¦¶iлї­`oZXa.dВFЬ‡ЂНЌ)6Р ‡`~Y›Ъ@AГ0™°[јСхAЬШ‚V\хAдЖ2,ØЬmшЎ +љРЊы$‚(BДБ(ДЃxБ8ђ€ +МѓА +ЃЃ ќ…e„E™™Щ Щ=<ЕTаКKPVБYаэPБМFDБ1эuфAp<` +ЪЊТ,!іСЯ*Nчѓу[ЊМВђАH$!@pЃа N,aџв,›,хB&жТ_ћжфя%`‘= = Ы» нА˜ш% +0Ф#ёHЋ€_ЯґMЉdgЭ )Аыq“$ЋЊdџ‹ @,,ѓuЩЖ_ Ўѕ±Йиа[Y@ЎUҐ_h‘oX +"ШЕбяВА˜˜‚Ш‚uЕB>@ѓ†Бъe№ +¬Ўє€Щ %¦X0ХЭ!P°М‚SМБ*РD&Ґф ЁdьЙ эФЉW/-ЊѕХ&p|"Z]МД4aћ@фг,`В§кV>†А_х=ј"±БЌ-v^,Є vTЈrRc5*cqО*­2г7(з«Юћ<Ш¶q Ш M’рB“”џЬ8хќ€ЉО’(-ЙRpЃ‹ШЦшЌµбзф‘g7оA1 Га4I)%NAОA/ BEж†8БtЩCjжE +У5lNЎAГќAЩГO‰TыXUE“™" РЃРЉ^k%_dAяj LВґЫuН†mDБ’Iъ™м†иУЌћЧy “жx,ТиА’ЙOќc`МШ‡ЦXk„T“ + ¬ФaПUЬC± ЦЭ?d©YИФЦ=A. + 0ќ)—„‹›Вeў\@˜!• +имW,Uћ2&,¬Б±h:x-rб. +У:(&aйu™©0ц¬њҐhф‚ї¤†®<)TЬ:ИђW`Б\рј‹јKі(ЂZрБ +‡Б4ґ)СВ +mґ)` DБАи-шЊ-ЬГ<­ +Гw{&Р–ч@ГЭ<РЭсїГ;q?qL7ёЧф·5я4;rRkqbЯtі!ЂЏбЩЉщ TчS FMУЦЦDАДl+Z< ЂЂ€…l 4Ќqи@жМЕvА[B?г;ЬщнЅZaf +ўlѓr®ЅаiП{Щ«9-У <;(H°Ќс'Љ»ЄЁG ®<”«ы +ъР‚Љ^Ф‡]ќ<ъ єј˜Х¬¦‹°Рл2ХЈ§jБкj}*[Лѓ9d$XЯF¶ шHБ”яTЬ$©љЕ(BЎPkr3а ЁT™!V3ЬµҐжґ±UС mj ;о7ќЛ“Ш®Ў4ХэHdэѓ-,p +:АxUА{VjtLѓk +Qx2^’¬dЅшХЙЂ]x_%ѕд>ЬХ4,LHbbqi[±'єВҐ®Ѓ»u +пZ—q"}ЃK?W;„@‚ЖS›ЫЇ`n~Om‰ X! г¦)bA Мc¶;їXiЙгЂ™УњAѕuЭGхISz|мЮЯ@€®ќ!еJPINШ" GјMсvcЪ) ”Ј cґPп +Ѓшкмh( +ЗЇОп=ё·д—¶к`-Е0Э2|")Ь}ёvЁgС3›тоGАеBъ–Ё@1ХЌљЧPN§ѕ±9гЬTі-Ј›Ф)Е§sд7zS„‚Ж +ІА + +ъВЉоиюCб Рl.A„ЃН_ІѓшБМц)BНџмп{ѕ§]6ДC.Ђf˜‚юёgp¶g-р&pdЏВЉF2 е +l‚H(Њ јЌHаР—ЗY†ѓвi™¦nівGжЖcжЦ,ЃrОљЂЖ z¶ ¦?юЈПЄ©ґ +&A ЋЃаз@яd ИМDѓоЕBДЗ-4Иѓђг\Ю!EЬ"˘*)J\ G'ёЌВ,Њ ЩИЌЂДpа#VљDk!R|p Nа"BknЎ!№‰ъци">r%fb&$L2"JВ"hA!ЎЉЪЋВMrЄ'ђвfОиo„ў)Ґ!tй–pЙ +Х(Ы^ЏP JЋвHБвЏNlЏH|‚ Ш®e†~#OРбк-i”fХиБxА @тZ‡TПЮ јц®w Ѓ(2ЁgрМЂшМ +чєўD0A:.яИеB©Ћя’«О1ќ@Л<ТcН +Ыc + +‚ ЏЂЪЋ + +аDQ‡т(.чО-ЎП>.a0ъ"‡XT.kФ nФ-C4E{Ђ5,яГUГЎЕъът/ы °ВoыVivаЯ–Б¦RD9Н|ўoиДDЁЉ\’#e¶t]Озdъ/¦.^ў±cДѓcњо3Сг<Ж‘@вгЊЇ/P›N` +ьC@ДС=діl.<жБ6дяЁn™˜ѓџ2НюрйщўBa”`±QaІW` МWa ”а”@НЧ\ <АЦАоЃОЗАоБ±с| рњП»МЫ±/»±WбИьn фQ +t>.Њs@ЂФВ(Ъ"*vГ{¤Y*Иќв…ЙФ_ћ.`Њ» +EеЊ"%ФMЪђ<ы€BQO±Е8ёоКXfѓX¤ЁЂlnР 8¬Q˜Э&шжgЪ8F¬Ih)Фb> — "@oжP!Ѕу®µЇO@ҐВ М„Ґ–ЎLђ$“ЙF€д.‘Я†¦6ЄzБRє\Нaбжњ±5»МНњІ‡ћјЎНО—ћйзњОќ^±^кйњОЩ±щ0OЦa(Ф vѓ]\9І e$“ёощ№тҐ_83<ФTf5F=J«¶’;#Ibьў¬uА5]}єёНЂ4-AфE7б1ТтЏђґ.љП|яLбт/@`„‚¶з} +e(и„Hёn„ђкмЋj©&ћ$К,ЎHћжоlкoо(’Љ°ЖК}1й(*bЁЁ„ HоXL bмЎt»~Џ˜ш–(+ЊЊb(ФЅ9ђГVЕ%9О©>8gм8° 8jXйd¬„n‚Ќmр‰)†Ј$ц`!oЎ»шЁЏNАR¤a&d"_‰Oпв= І"ХЖL4кҐК¤IР hхи +АҐГњYfэLSмBtEщяLsP +LЎчЋ‡HqQahҐн·™fc±ГǘЎ–А-Фw„©HXsBAИdk4йIQў’‘¬TҐіСm\ъ-ѕQF%ЩсLфЃљz‚^€Ўя…ТЃ/Ц`ёBЋђ:PѓґЎHC:Rhd# +y(Юy¤N|ТИD@сtТ“у" m&d ЁрtТOiЊІџ±4ЛTОRАYШЃЄ«vґs +Sь:рU–№МД8у РЊ ІРТ¬W^&ХкiLW?ФЎгЪ‹„gf†  @kf€Yr:ЂЂ=и'=8ГфЇьe=јНzё +Љ(mД" н„~4{‘{Fљ ’цl6Xx:уџ5( ђHбS Б№g‚яуЫe’‘#*JёHж:Р“љ±З@» +ь*5E`,А (X@/zбЕЄе1ДHУh±Ђф!Є^•GЧ:VЃћНOєТ–Є&ё­«(РСј˜&Г…@ЕL ©ИIоp‚J¤бФРWВЦ°†“Ibu ВrЇѓљ/Ћ +bda8˜@/¤ЊЄ‘gЄббдDgі‡н=њ*Эјb™U +а ЛJ•\иТјWЕ%wwY  !cВw¦ +“f:У.Р”ЊІА *TНг+Фв +VH—К ˜„]aіd&.L(’¶A‡ДЫќ^мб`Щ‰Oт'JтрляrђяјZдЇЂ‡ќ8ЁТЋhA 0U‰ДHЃол®аИ&6"irNZ4 +‡¦3мыz–њс¬¦NО=ёpћЬC@?д&TR Њ Ј‘ ¬ЊA„H,A–K(q1+ЁљЉ&ѓSM`‘“њфН9щЁ{–C"чеПAI‹ +Ћъ +@ёg$`µ(T-Ф°.r +° ЙЯtьrВ1’q3‡9Д™ШDЏ +g‚№AЯїИCАЬPзїм|21€Ѓѓ(P€ хHu>TMoи•МЖ6,7$JЛШІ§Кoя!aйТР«Р0ШГЪ0Ьа +й·AщЌq‹Ј»г UИё;¶нGд! +§ +™ЇЃ‘µP<Ђ{¤h:Pш*С±Wѕ–щJ-O-кc› +Х“™Њуў№‹Т‡ЎёaxВ<Ц (шЕ°Я•) Ѓл\3sa(э.ћ°{bK O=†мc·B˜ЗјT0–%¬, +џЭ•Иіс¶њ‡7qщ,V}«A;јРОy†Нв>ЈъL¦№ђїSєІТtе4хВеUiј‡,”рЇ‹Г0pја %Дaя1–aюБaШ·xіЂ'9ґqЌtg„хWSћVgя„iИЧvK@Xµ Ћ‚яаwmGXIя xXаА8%–9&2"sC#й"/G +G0Ђdc@DPb‹''°w¦qЋхrxцW7ж|8ЁР†Kа/h†µа721c*w‚Ghm7X!˜ЊhРWеЧ0Л±A§‘фіЧсfTВd(IUoG`5nfVУYSҐ7MЗt·А„zdP8Pnk&“D2Y5 Ђ +Ч0{ї{±° ¶°`{·7˜°(‹ВF‹”h‹¶H|*ђ‹wЙ€­А–t €‰4hj`‚‚8†Ґ9†µpљпРvв%ѓv§Џ21wдХhЌц8;ґC*ђч•шq3QSСX%vЁр0pЎ bР cа +I„9ЫxмшCЁђ‡Rc¬§g4ЎЃ…ФЏ<q11(ЩX:0 k0†:Р‹є€y›ЙX6FЃhРЏvЧ†~˜Xb9‡y-·(&ѓ"х/˜¦Ap]Г%PЂ%k5%-i”Q&ebРN?•°`9?uЏsя* *Ў(TyЃ +'бЎЕXw4qЌХgo§ +;Dc:i~‘чpЏ HЉSX„商ђnWX…$€„¤†U—cX +РРВuЉ‚a …±Љ№–Ґ‡¦~)‹ґШ¦–Щ¦Д7‰u0‰pЙ€Ґжћ‘ђ€yљ§j‰™љ„ЁћtЖr€њrВa/ЈcйW†ґCЂ“C2њГ‰•71©YIc‹g&'&z‡:¶S€Ц'г№wЏъ7ћ†s4q‰Ґђюш‡„#љ=x7&«‡ЈЄѓІ©‚з7ВшЬёAЪhi%YР5я[ў’XІ5p4nН9nЅ +svЄ‡х§.xXB:XyЧЏйH…:§HhH†чr5‡XnwcЋ4w„§H~7w}¶Ѓ8кЈп­c€t©љ‰Ш–P:§Г—™q№y)l˜€‰—˜Xк‰ Љ»і[ѕC<ДdL: +®‹cЄШ®zШЈ“”ќјT":њW9Јc@HnW†xW‡дй7Wй +« +‘‰s‡ЯщёN›‘Ќ‹ІjYІЉh§s*ІuєЇА'°љMWЪ‰№ЧЉZєҐ»гҐY РPLВ“±р°f™ќ€ љ‹µX™¶8ГGј·и–%‹€‰и№j €ѓus№‰hX( і‚®Ь‰іѓТЊNK–,‡8а;ґsb љќ¤JћеЩЄ“ґgћж•ЋK¤„˜€0ЛX9‘I3zчи@–8Ѓ•«wџ +‘яЁ° +ј +d‘†мK8Є +µy‡gЏ ®tGc9;x·ЙHwжgђ6Ё)ёЁЃы70‘Ё0qc +ьё+[—Н‚рїчЪ¤ЊШ™K‰Oа»—и—˜[КL »јs cЉ»°'µWЕa лЉє'°»—oк±r№¤н єТ:¤‘;­ђ„ё:Р‚Ы;ђ2чX¤ЉwЉZ‘yиg4СЃ9«cђФ©н*®q"v,s‡’X‚W†d€X2q4z8б74*Б@Eѕt–tg†ЏеXqhВ?‹(¬Г4З;‚тKQ9‡)‘дi%!wвqЃд•уАЉ B…А3є +°Єя‰У7|¶Гх¶–ЪИ~¦ +Ю@МЂ%XЃµЊ#–oh‘\Iw/q‡#\Єћ*ё*кvњ»–‹И–tJ|m*јњИ{Uкkєчє№F˜ЈHLґp ±g Ђ` +e +™ћЖ» )ђO +нЙ¤€шѕЄЙыщё@—~ђч9¤„ZёёqЃлўx Г§№ѓwё€л7tВ©3'‡)ёѕµZТў*‡ЌЈX< Ј8сSЫ +ЫђЃ[љ$Ш‚cX†&[g/ъ†—‹З­L№ 9}cw:ђhrhћ•К'ь;њ6њw¶g[©КXsyHН/‡(3:НeЩw‰„ &СX,‘H-xHд№яkxs®КgЫ«w0ЉwВ,ak9P›Тш№ЉЁјжЬ±з|Оpс—ѕ¶є¦· ь\± XјіЕµ \с°a ±ыОлkM¬—nJ‰Д;§n№Ж%Й‡#Н[™wЌЗя{Ѓ@ьЖшќЏexb‰«ЪЗf˜Ц7‘Г„wњЄФСЛX'lџЦЄџhЦЌ#З…Ф‡†#ЂНђЖ†сЅs2ЁСZІ©№јЊuЅ),№d9ї†S†пЗ*КЈ§Ч†ѓ†Kix5¬ГЮpЅ…KЬ»‡ЪЭХХњУ ¬џЂKX‹“«vшЬ„»ё‡ЮкєS7»љдЛЉЄw61©MЫЧ=ї€ЁР‹x™зьДя–ш—WЪДRl°¶ЗҐ¬gk +[»»ў»¶W\­Ш»кМ¦g§¤›Р »јЁY—Ў№џxђYs~жW‚gћЊфhћМѕ†ЊXхЙЁ‰¤Ю)ьМЫKћьkТжы†z—Є=›pЁЄЁt‡aщ®0ыЖ +N№~EЮЮЅHwЅvЖ†¶щїЉЧp—cѓВ戄jX–>ъї‡ЦЋ|ГYK€bIXz‰†‡ „fћiиЗ‹¤ТAЭЎq2©}ЦХѓ»СФkД®Жw№€‹О№‰}Y°‹zYє;cр;Y°+ [L›»L^¬й»w‰•x™ќДIМ¤ЈЅјEL†Zлї{µГ”(INH‰BHяЭљЭЙЁҐєК¦НЃЕјW)!©yсЕЁQiµч«А7§<њЙ]џ1:'0 ВЃ‚%њ‚Kђ†9ё=эЪvоvU=Т”Да»]а>\ЁЪрЬЎјёxо|¦­?LгЮЛЃ7ЎИ~ХWi +‡‰ѓsqёw$<‡…ЫЊ\Љ®gF]†u™љСъ/юЧЌh§еlєy№——и»Їт‰=˜{{»Ј~<ѕу;± +<рј°њЎЂїсА\Бdї +”¬їя–+‡ѓИЁvюЬ̘HKА‚j9р-<ТХЬЈ‚Eдн{ЄoЋр4Kрњz›/єАЧKе4ЫЅ:а·*нЅs\чN[X+ЗX'СgЃ"Х№Ъ8’zКК +–Њ“c·гсоH/Шђ{– «јдҐQJД»±‹M M»Ђ м¬{ѓ ЖЉ}z»г +уз;сёKЩЛtЩ§Жќ8ы”‰™RЄсuЪК‹љ“4­‚еЊ]џЂЇпЙЌ(1(?Tђ3Л)А,ўW95НњZ/јАжЏї4Ўђёл¦@яф_LМiБUyЏЅ% +чЁ¤•8|Лс­Ыќ:ANх›ЦкUЇ…Ѕ^=щЛ’°+«Ђ¬bћ +"уж©CDуf0ќ‰t6fмЙhc»JпBќzW˜Х­Г°fMДГ+ъb™ЉeЛЦm[:АмJрZшkХЕЌ! ЭЩ3‘g›+?·щq-Ћ cхљVпЮ›uоќсћT0юрт Ж6…0КіЈO–1ЫP9јЛРь6ъяЎІd9пЏтx1€?1юЛ‚ѕы”ЁЈ1PщcЅ,фйEък;В,L1eB1"ДпЎФЁеџђИ»З(Ѕюъл"мRbм0ДP:I°ґФВ©¤ќ–к‹»ёhJµђс% }RC›оtј ¤kккў‹ј +k¤®ОТЁ$!Y,+љ\z)Їпдт"TЖп®З`У›1ѕЫ±"i‰іc‰єйВўr%“¬Ћ@лёМ9"†P.СРђm—'ЉsН5бRШ…€5`Ђ&‹ЭlЃЖЉЫ.с +ёЧтxMФXSнСРЊГН”Ы +E!dН3v!Щzр>ЖHиАъшkVЎЛѓ!\чШo'TBW TdIрВ хбђѕpЫ*r$ЋјAе!ђмљiДљлЙe$ЛЄ­@Л(чэоИпRґiЁјtpJGµ‚ТRЄ/Х’лЛЄHj©О'-B+¤рЮІєv‚€Ё‹}l№"Ћ>љН­–)bk"ќEdщ­{\ЪТ"мы +Л‘¬+ЊOлт„,є¦/+ФPПZ +mґ'Rxф d Ќ4Њ€#B‡1 °ЕЭr$·P‡®µвђ±љUV•›Њ!>ЫЊРЙжС5`ЄћD№$»ЄmцЭяnл°]1bI0”хдu/ДсЄляћ?VasЅ|ЌебШНЧ@d·бб`†P,D=ѕ хЃ=!ц"¤&Uфi +јм2˜`0?jС%¬ю!ћ+вC6тeЉЋ”SEоlзш&/ЏуF›д\Г"?3GАэBМЁќSЬw&џ+ЏИј1К5Єэ}Q +|н0бi'¤pТXx;ГЪHїA2 K’™ИX†VtNўZ5д k»p +hиѕ CHЕ6HќFkOH6аЛ +oDЁN•юб'юЩi* !П}ШtT@и ЎЈ»8Д!ДY +Г6l3Dh!Ч–Чч-ч ‚"еЎяквДѓd ‘И{АU fэб@¦ {°µцР!™ів=z8¬хЃ'ЕSЉ—s0”Х ЏU±H“ъH"+•hF›‰_І†ыИi/1уK`ъи°‰-Rh%«‘њ€g"©˜иDy V&"Ё€HJXд[и‚36­,=чСЩpЗҐоHЊ"<уЙRт"°f I#МБмD2–tPЃЪ›5“Y%к3« +rL3MХАЖm–BbA ЭњЌѓj ВpґрJ№-UЋZ•r4s™Мґ0†bйџR9‘њu1Yщ¬Wjщ‹‰йгw(ЧФG6яШВв‡ГУ–]юЦібaѓN”Э" +¬ыќ‹Iµ›Ш—лЈѕЈШЄг/ў‡ –Kі QSнk+Ж“я“јВ:„ ВX©и©‰‹№ +к[·—;‰±Ј:Y йэ: у™‡P‚†ъ*ы(—·РэГ; +МўkQ‚њЌVr‹ЙQЇЌЙєжIЭйЎ‡ђ129хXЏ‰їМE;Љ°*с#c + О3 Ё© Ѕ©•WЌг(ЌЖJІH ›{а‚ЛЌШ3p'rZёЌПљС+Ёi'[‘·‰ Вї2$U4 +5‘“!„рEa‘Лњk)“KУ>їиaсHёЈ€0 ЊЛSѓк( +±СџZ¬ɘ)Џ№0Xѓ^A:µC№’Szе‚џ†БЄ©ђIhS+ +™*‘Ѕ*¤E +;нPя‹љЄ!ћ +¶ќ9ТN€x „€­ИяъFЎa '9@Lр +ЬЃD“Y@ЏЁ6F  | +@Z3Њ#P‹Є» чђ“ъН¶ё%SћG:гL3µЫ0оАє‡±,(фO˜В +ћҐА˜™“А§p +п8џ·«€шI·њ“µКяЄћё‰ЋDЃ€ёUrЈ¤ђL Ы,JBьMЕЛ оZ»9‚A‘Ш€Rۘ·ЉЇгB" @1Ги Ћs =єщЗЕљ¦­й7ИкС{l=[°‚ґЙММ +ѓ„3§-Њ&ЄЅ]ЁCqtС¬HCхР4 + –.х€Uў–‡ШќJ2™®В9--р№єЩЋ™!—DЄ…1Ёо{k<Ґ‰Ђ’J­(‚ѕ{H©B%U» Џ>М—‡%—TЈ§‡ШћAkф‹°‘\KћPхПK1¶оX)%Щ‘$‰«fLРст*эуPср-ІУє‹:хЪФUj˜\ЭНЌ\¬2 Ћ +›1“тШ™Д˜Ѓµћя“]ў©ќЁйЬ ”8&A‰Ћ і “О@VFщМЗ„МЦаСnТ +№ +Щ#&ЋЇщЖr*ІСђ•yі‰SЃ2ґ«9µ»ШЁiЛсКѕ5¤і–х™Ќ@,:QьФ›ЏvЌ;выTџ0ЇҐHЛ‹a+Їb‹4 њXмў8“г"€c±R¶0A˜Ёzґmђ#рЉШ€Бт@“Є«_S»~aHЎ1’ЫхW5Ш0_)sД ’оґ°в+M¶ +јЫЙЩР—]‹ў:є‰µвRJлC• *Э¬ ‰ё`џ‹`©^P¬‹Кі +1i·ђMµ…Iњ ’uИАЊeЉ{яЅv¬љТ0†‚ЗъЇ [MбђЭ +єA†¬ЌЯЙИJ‘q “ђ5ђ@…° +/ •‹В]ЖfT“ +е‹~©—ш2Ф·ЂC‘jћ°“06”“*Ў@ґў§сa 7€Ё.ѓРбИa+KЈHг‹`QwA€іЭj9д^+°й|1ЏёФјє!„ia⬓Б·Ё1њrџ]4ґлJ$µk¤ђЂџ<ќФџSрP“жхWрРћъ9ZуУ j)7mЬ†WЫ м„ ™‘Є‘†СA'a°“Р<4tЊ2ь«}vмЊXY‡# +УCЌµE=°Ќ¬,а +h я…ШЈ_§аШМюҐ/MnНZ§Б”рЉH8Mљ5Єњa±цЪЙ^ћБХTr±9йЉzЅ:о€љ5‰Zђ‹&q ћгХ!ЎЭ +Ґ‹апЊтbЯ~•@..жU‘‰p#,U‚b +ЋАРуљmґўm/5‘•M+э+EYц‹G]’ћў«юв6„‰|ЭЋL,cыєL›бH‚Д%1%ґ]'Aћ– ,iдИВ!S”ЬЯxLЅУ¦)“ВШлЌpbS~ +pЂ$]аfb!Ж5­Рј:Q XhЮЉn/x^7аеѕћШ©Eяџ­h«еYDџ«Ґџё©zХhuDЭ…#В-01D1 ¦рЇ!±ЬЯфЛЕY!цЭ/9‹\T‰ЉS—1S +Ми]¤њRЕ) +XьШ†й]JВU†Фї2I‘–щ›ЄЦЃђ‰ +jo4dЌҐ eЇ8µДм7‘he[ + “еіV‹ђщ›ьИ +ѓЉй0p +л‰ xQ: +!SUZіяїйи\нм9Д р +L +“э^µР#ФфЕ‘‘1ї_)О|IЛфpj<¬9 +0 џ'О$1їFЈоѕM…‹¦:)П~V™м]“я$Ф»рВG’щѕ\б«їГЈ1іІZ›®ЯЄy‚/ЫВxЊМSZ†КЌі‰…K(аґХн*—iЯ†[uІѓ¬ЕГ@ћlют(ЂRR˜yЦНѕXШнbѓоїђ«ђ$‰сXAћҐ¶pN® wcЊЯ,bҐ +&4мqОѓґљ!FТЃyXЉЂЊЩиҐy1CBQ•€Сc‚ЎИHҐ4б…H31Џ„wP +Ќ‚І‰2SЁBЬРЃ!Р,™Юч~wЂЮОНЂО‡!vё >иrУд®А]‡ы·nыф j‹Ъ‹—#3Т—в ё°{оbј¬~ ХЙ‚bкoјAјБZPЂАЪyc.миЩv4ќgш‡‚Ђ †аSНкЬсЖпs‘bmНЁЋ– ЖМI«YЊ?y‡K1ѓ˜Ё‹‡ст/жmАЬwяЄ©˜ьљФЌ +іKHіDt ІҐП”S¦hЕ‚«ѓHЪ0)В8ал п_№ћдr0ар +ҐґН.„Кtew“Ђc8€“@˜hSР©БPH:,ЎK­Ќ’h•дA|ЗќtЏC3)ДPBЩе¤Дiu6n¦9дЃFP-Q’%Ћ8 8э1ЖI‰4СEљ­д’c‡j!D‘CЈyґ^Qз­RPjhґGµ0Eyб…WќZqeМ^9Ye™Ґ[ґДe‹)±\ ўwн•_{цЧ`„е2i.€сБО<|рA­°яS‹*°Ј‚ + §ЪJДЎ9Яi()”YBjЦ„ҐcDИcJ0РЁ¦ЋЮ¬ўЎ”Ке›k™IЪ|kЊЉ\ЄQKxЖTµ„iэЎ“PlmЈѓ|ҐQ‰Є{:Ђ±QxM%Y}д№Й»щ=‡TХЃTҐљ9uФ‡j„т¤­бdђG¦A … є„Э|њ9(ђ‹7&GмEЪЭSўq(ТДJ°кtЭi:EtЃ—ЮґЭEЊ±MmИНfkСXKRD +3LG‰и*ZЬPk8ІdS—%•ммDQѕзИ­”ffAќ:»RЙYХФD іћИдщ•Wdэ™Ц.kЎr‰ЛДBЁ-„ЖяrЈzхµЛ_nзй`•ZЄ˜¦—–ЪЉ­ђjЇ­чO›Gц,—ёЕФР?і:м­‹7ХQ•U.дbЙ<5s~`¬»С‘jјЮ№б&„УJ +…|A;оМ’ҐQ{H№ЧT~ђ©0UUМ±ЙС}4ЛJoЅяШsCФБЂk„“Ё¬Q/Gт˜PО(2<"g5&E¦gЁсмrї˜УЪtІ!ЋщG +э4~«$gЅ–%·E +•?’Cќgf{ш—:Рd6* СВЈцMЗ[6aќCЋtЈКq‹bCБqЧ”Ёй‡*МКќћЂ'>хйO» +‰Њ¬SђZd'!хл"Iт, rF»ЈЉґ¦BљQ„>Фвб.€џP‘?ч;H˜$І1МegzG2ЁђR¤uI…]їёћ*ЋЁkwNIў7ДЉЪрДDn*lVa›Ц(HJ˜$‰@ж"Љh©DяЉ ABФЉh +Ґ™ЮТ$ў%–рЊ‚іРГLSKќn$42«†5ѕ—йЏcљћВ‚•?,ҐиK ,9©G% УG/A"~ +§H7µЙђРRЈV¶"B®hЌ„^ЫZR˜…яґХЕ€2Е]N˜–ЅМР,bЩSћћ`Г№еВ–"Я>5Д!NFбaJаЋ¤љК‘ЙGєjН` +ќ№жK=S„”`›ЮPH'Lўж@$Ій%‘CчР$…ू:°©fяЂДЉЎ,Gv¤™IwPЉСґж&ѓТ,uа +ДБ2} SУдм§тH +]GtљрЬTџ?ѕhє¤СKџAіWЮгZ5iЌWGўQAП~@ТЋ+«Јђ0%$[T‚ +љЪЧІ‡Ш"К’™>ЇЃ‰%о‰wJ¬ ъ«Ё6…\–ЗЏё’=—ЙЊ€hІJV%‡DоiЏ”Ґ!еи’•Ф ќаФЄЌая‡ґTіЉќґ†§„Еc1 ZДІoњM jЈK\b˜—тц/¬бRcШЌSм•#1*дNХizеH$––?ҐбЃN”–L–’?dAЫp•B&†сЦЇ&<2Ю+uрPУ¦Ќ©Й(хщ[Ф¶NiЌьNZ+б ‰ ¬Xкl± +HЈ0ђН6X€(1lѓЭЭFО&щ‡?дD4[I*лзR+—hb‰ 9GЪЦд,eћLцvp¦Ґ‘мІ&ѓН+a №ЕсЁ(+-П‘в /Ё©*K°Hw¬d PdaDЪ…™ґ¬mњљІHh! +тт&!њ’EДЗb)M$!ЮМ€¶'S‹Lц­ў/Щ°ћщI„‰ЇИmјч_‘ЕРЕd0ёж]ц¤“tr +я·вЉ8esҐoъ{™я‘С•: +ANє“ KбыЧЉFУ{лQXDЁi2 +эA’я …иГ[dЃЁйГxIRЎdБ*(„D­B–©‡бАЪh@ЛFp&Б„!E +Mµ‰Mь%е„®™МЂTZ”xЉе«”‚ED_…˜.э[{ЮQ<ХС„Ћ +$Њј•ЛрАµDѓбGk0€ЄЩ†©йRO •г¤}UEаЏГ…Н° Ѕ4пеПнyПБ)ђBф C9a.№„{0У阔°^Вy +HЎXАa`»ФЗs)ЦяЂP!ѓщyMШ°E€ЃњMЪШ РВщЩњщµ–фЭ‰Vё_U@[ФT†ўYЋЗ,ђpa°8„фxЂЄ!Ђ>ДBweA/иК$ )4ЮnХUД=„BEI +ЮћM(0ѕДЭЎдAЙЕISGI B¶я‰ЃmhCо –ќt…9ЩSц№S]Ањ-¬“AћЌЯЫ8Аo‰РТIХшЋуm„м(|,Нf,УttF’ +џ2€dБ,ТF +}aV O!еcюRхљ’Юб˜О@З]1Хэћє†M„FЅ…>L’mМѓ¬U:cСИeюБQ…Dё KµЗє_ў‘З?фџJ‚еIH%” HGyIфёЈІ8 PhЗ дHQ(рЂ†„GNL-8Мd“…ND8HґIi,ЃшT‹Ir|ЩMдH{€&Є0МhО^™”‰ЗҐЋK±QЋ\“Bqd™ ~•C Јk йЌМKµШ#C$VDў@>lP)ю˜Zx•ўИ ЋBЂH€жях„Ђif˜МОPеtvлрсЪСё‰UјV^¬ҐM¬ђЛ™BдdЫH"_ЂEћ¤Pzc75[бRѕO €pAњj‡IњЊЂxаЬ№П’0ЮwЭ„ЄЪХюЃЁАюБЂОШDПАLCФ—¬ +шЁO7ќ аШ2PбКГЄљwщ"X\ѓЁИ/M‘\ФіЮCЂЄ„iёШIмОоMќ ›<з(‰лx[mд(Тk˜ѓ° ”™Lc]\љЂF!ЫЌ‰,Л8l<Љ¦э›CЂОU9cЋО@пЌRЙ4–мIQЗиЇ0 LЃЙ+Ў Ю @VM,DнэRою€яNЧ—yD[@Aг…ZИBЎИ…wQИЊДDKXЂЌLf‡xЉЪР™ш…AННУЫШУћр™WH Ы:R6щз(љі!Ъ®U-М +bmЦБ«OxѓDХЏkx&ALеw5Йі€,,СlґA»ІЉ¦ждHХіФБі4Њ€ўМx1г“H +tљ +яоL˜" +4€ZNЉёИ“ Щ“Xњњ%’њыЙId„с’`uOЗ Јјъ‘ІмF“јХЌ§б0аtR„иФBуШ"гeБЄЅ WЯГ3”Guњ¦%ДB‘ІМ ЕAБЊї ¤IР%]КхУ1HW.1¶ЄЪ§хЯ$™uт"2ЌcјТ{DY€Йт¶в#4!Я®№˜IЌсб4v,' +оP”&б…ј2opс>ж)1& +Aяc•|aнҐЏd6hf«йГЁ ±p&j г№*Џ dа"Ч +‚њЋЉ-SP…й‹;z@(@'4Dfў%пя(¦Ў‘PЈ\Ш¬A[ MMЄвЪЂAР*ГЧд\С†ќ4VАIбґIKмМL юxOL C± +ђвМ“(Н?ШљпqЭЌ`ќN¤sR VcUАUфKmi“wr +ДІЬѓ№НuЂaЂ¬ВpHчЁЮJqµ{|±Ж•т!RЏбч—=„"]ИYma7шt=“—„ўЏT¶ічG|•E$Kѕ+LЊ˜V+ ?ѕЮЋЭ_—K—1ИюXIµGmЫфX•IёЖд»LЧ„у@H†8ё†l9vа˜Чщ‹®°ЗьпСиTґAdPНKfЌ>I_Yњцэ(ЁН"ЪdO·пНх.ЁЦьZ'ќЦ°.БЅшЈгИi€±яyА6р‚˜њд~y +¤­л*Р=@Ь[Cdћ%«tФъ§ГГ=KФ4TўгЯ‹udTЈFЗЏ:ФX¬µдЯЖЉ=4ј'0ЈЗ5 я•дёжћ’{c”¤ф +ƘџkюЃЎDЊ˜„яЦЊЩ¶x TЏSо}ЬU]ҐEA2TBЖая5Z—ЁќUM-µP« †хј:уж±^НЊ1ЫOђ=1¶‹wЯ»€Ё№-–)[¶ !ЏEO +‘0 |GwfЧ“к¶iy­цјХуТЖ$9OЕ…:zшѓ +дљ”4яls˜•7TzпyЂ1у^љќNѓJ­ќtЪ)+у@­¤:T( Ґ№вљ0БTSAёП– €$Ї”8-ўКкRАВьBZў¦5B[bЊX +чЄ№Rє‰h‘ВCм|Љ14’H˜sµp” ¤}єQkєХИ*SVб¤bЂ% ¦ЖҐ{Д'ўoeРwТR9 UIж»Жніђ/сЭ&7‚жЌж†зХ3E1Ўq +ШBXfk9л +vА,ЉвoџjяуњкЮжbЁИf“ +кMHѓO0ѓчiЇ&pBб†ЄцтоЋ:lчXL§ +±„©°"Pъ­©МЯѕ"оjDиB©ј(бNИ‹–F#d®€З3Tѓ<РK +’,„щА.ж8УRB+ІL Жf@B#фEI(ВCZв10hџљВ4*©•Ђ‚вё@КcЉB­H#„ЄЁЪћЌ‹ЄР'ж&7q5ћЂxGxN¦– +­^tО{‚®і:K[La…B `…ЉcF„с{„1:ЮҐяnc +тЃ®#SЏ&Р­LѕH%–Џ‹$'РнSTў‹†OЊ Љш +»¶DMґЄ©т(ЋВ(љк¬.CЈ^'Пk^c54+;¶.7њ§7жмЃѓ!І +њ@жБП†CҐCкt#Њ!ћЂ ў6А24$"jўvђA6вm +®A=’cF‡€ауЂіѕзкћ +ѓJ)ЗCвN`ргXОИKЌл"ОК%~LRфЁ&ОФ1N(R‚p1ъbЭ`/>рbЂВ-RЦc5Ї’пp +(y"0Е(n~"=Nм‘RпAё¬+„=пcLСФL&d¦Ёє Ќ +KКQnь„‹ (СOBSTФ°.ТД=Be=Њ-d&#іvБРC фDkґckdж‹>Г'АО"@Ћ8’§TЇO Ф"tМрмђO3З<¤ђYј6"h5Ю%;d‘зюZ…zZ5¶б8ЂҐВ·р\«ЈкЄО6r шаdФµюёT(Zx ^bХ"?'аVъ•Є0ZҐяUъb„$Ћt6cЃ$еG_BВњД ђН2&*/АCФьXХk5"<в&Ћ&eПL±VLh­1АжЗ|„w3В€ІвХИ°J6N+©ЄЄЖHЯјDЊ®hЮА&шђ– +пГG#/$&'‚п +™ЉаОу#k"хєw-vVўi«“/ 'пЙOd“j}ЇБМФ5("¶dSl‚^ы%ћbЦlтoќK +*AmЄWХ(ГST2qT1уfгq*З;^гјЊЃEµ.зtN7ѕ'-чЛн2іzv !эмBЇҐНІ^ ¦ОМxfѓw¤и 5р<Дh/ґ 8„@:Ј%щBЂlЌЦ +CЇьЁяї@­2€в†:‡п+”@Wx`Vyќ­‰‡МєжЊв$щ1iQ‚NяЋё+A|0ЕЖП$6ДЊЩВ©”J‹ЁуЁьр‰Дь¤х@У=ЏAR4МциЌЯ"Ynј©¤3#&m6‰c№цш‘wэf§шВ!Т6"L©Мл­2¤‹ѓ‚Бѓ?ЗД}г‹И.‘” bbANTµВ y +Zш‰xЊ«"\cы7Ф……w.‹1-щҐf Ао LA.Њ+є:ѕu©#¶r љШ%roЗй­`CњZ©$В”N7Lm +SbО¶:"bBҐZeMх"i©уВ¶дфЃ2мQИ"яbСг‹°їNx¶€tЇЄ$¦d!ўj7SЌTЏJ: еЦ©’ЏM:&@/cч8 ђ)ХЕљBЊHЊ;Ѕ$—/©2uГшўP“в$!№@ВЛч8Q]SX%jи"Ґ@MЉсгЉhM“>HwМn2–aЎDDЇЏ%j‹‹<њдЕ>#oEгdю~/%ЁXЙ6(%‰Ѓ№_ј#™o‰¬ЭLО„`™Г`ї"#WЄЗў)эМ.НR +ЁхvZ35S0hm ‚рУФЖ=.мVњН м©hwв!дbгz]ЪO«)MJ0Јџр–5~ЩЄыJl BћђІ6ђЁYs +M;К9«љ5v znз¤./яп7ўиЂГ=LCvЕr…TvgІ9 ТZ +§tjЕє!RГzЉыK}сcKЪБј +њ°¦яя0\є9“Ј‘чOЖўt[Б(’ACћКРf—Є~« +=єЁtt†»Aд1hЏ!gEy +‘h7Гd/LWтB°гCu%Е9Йё„Beh°K#фC/RвБ¶~K(Щю1б„%Ц ґЗFq†иux{gyЊЃQ†Xњ^ОџRg7ц[€SЈYd)э7®cyj1C{‰­ue1Г%фБ.Бк +R2ђ-Ю|ыxЅ{9Эфh©3#C¦‘%+ШяlџЉpfЕЉТіЁ ‰ЬКР`- R,г' еxщЋ¦ПeЇ=8•z-Шc0VkMO`6lzV0Rr6»$KґМ“Q>VXpL†жN@х 4Ґ#eЉнV!ў‡mБTуј +—,¤џN}џj©gґўwѕОxћRНА +uLЂеґ"sm%ЁkМДѕ$‰яЗо=&'A­RЋJd†Ж*ЮO­Ь8Vy O"І+oё"@µД%СнQеМѓµсЁ$гO4v=эМ‡ЫяД6•ґY";Э8МY¬В6MЫ¶ +YVh>v \_e„Jp0ц"W`eЉ6Ё>Х“нЮ5хКщ чСѓ–Љ$ѓрW5~<З/АЄҐҐj"еtL˜€kVќw ФЂ–{g•f>4d©м…snY€gC|ЄmЈ —к= +fЭ Њ#“.m±ЧВ0DАH$б<у™·дЯ’%µю©№xQ‡Њj •ђп5фРy>ѕt™Ќw^EP)¶ќU’7~­ЄЏ‘б йo\•»ђЉє+Сd5QNЃґUuХm…¦VRНt•kІК–ЫJx&Ч•У+aХжzN>ъЫLrХ¤С¤ХЌсXYНE9Ф‘њўR·YІЄдФL&»нHЭнхrЧIdд‘Ka·&С^ЮCСµгѕ†зob4·†НIб¶ќђяаV_GcМґHБХ’Zrsъ‡•зќфs>§yюЦЊ‘EJ¶¤nD«Юt*‡kµЭЈЖ.у|Ю^2ш‚ ОcР…5ЪhL†4bИaяЗ#ўGnЩrв?6я"‹o8гч6*ґгЊХ‘˜h:ј:RЃ7"€џ1иГb`^yШь(5iђХ B„—Эг-8 ]xг§·T….7SГ< 8T}д-ИСУЦ$¦? Н%°a Ё>в“P˜fSЂ™U”lU˜±©njЃтТwъ©ж„i;чТ™€ …ЧЃДжК€J”ИБэЕ +3ШYзЮуќym1=A +vfc­IVq»X8ВаЙ/b)ЧzЂд;ПЬ'#+!’ЏдS–˜pҐ>&)JYfѓБЊЎyКУЩ[ѕД•і,aшгќJ2ж/вPКPJааеДѕРҐ+ѕЃяK(2/5h!D&mЁЯэ#¬QЊкЮ“П"о PUКOnеB8А№хSYкD7аTж&Ъjкt4Я„‚kйRmнжЖщёЌъа…G®в’ЧиLk\da`xqЧu%Q˜щ-Aсж)ќЉН)жCЪf5FT`.¶ѓ“вCУїL°ќ }¤R®Ґ(BЩ—#/ +ЬЋХD5^+U‘‰VкдЌяр,¬!5рф9•T-Tg‘т­дЁЉHуP@zґбБ‹XjGP!LxА‹лФE>Ы +c;'“+щЁ&ї№кRFўЖп“%x“Ґ|Ц‡‰H‡ђА'…Йv-H‘tй$OЮw’ж’-И„*щ€Bi’љ'tЬ}I’Јg}м„w&ЙЙ„Ua‘!Йs„W +r¦m‰wI|Єч–x‡ +и3O0 OP  Э¤`)1=a +<ЂЫ мФЂД—O:иgxЁb€‡tZW\+™њ[§baЁb*iђГќУЙ}¬7|PЩsЕ5|ђ'}ђ©NЕE B‰w?БhoќГШuкiuл†ъа}Aгyо™te7ћU'uќN·zтd\lWyЮi\д)`дќHчu (u8ќHЁ”кЙ‚гivJќЩђd'„V·zy€КuяY—Aг ЯYњљWvф џqч† ш†>—ќзiњяЄћrЁ’Ъyv +йЎ-єњfчuHH”ТчџdђA!¤¦Ч „`\&YzY`tх)}ьФ'ИxQ 0@@/Oх–Ч \:бqb +b x )ў“AБ~TбE'h°#-xbM·vCY—Ґ7•?“3€ѓћd™ +Z˜ 8‘(YҐ›ё…Oчsљ§‹‘ІЈЕu\ +Yv+Йzц%x•<*…‰”Z\{Z˜№˜з·‰.i’i€v)ёtV—ЄГќУzћЁў:ѓј)Z©ћЂI˜§РwЉo ‘ϘЊ±‡y2dЗ¬чv“Ё‹W·u Љz·¬іZ©—Ч¬f‡ iX‡АяХ«_h’TbU·vҐjЄjW\†ц–A(…Qz}ЇчZxДMб•v™љ“іЁ–„XuшЪ‚дzµа•N!АUfИz;§[*gЏTa :ѓ%Jђ+µ†L•4ЎбЁhVM€QfчQdN5ЦФS¦BMЬТbA‚%QЎ‘fх$hХ‘ВБWВ!,ЃCB_;.ъ3 ўaі>Rf µNZћ1ЦvmЎT Сі<›T ± +ґЉQ_Ь!8Њіи$§ґ-gф…f&Ґ±%%fхa&І%‹¶в‚3Ћуj*P»S0;¬Г»v_ +з8e"n/‹U}ЛSТ$rяФ¶ҐФ,Тc&Ц;‚«µAІ@б#счFe&№A +а;’[ +a2QІТнD4Y‘H`!јНЦ[k¶МS­17•qAD•±+€І' ¦aЅ"Jђ*‰T6qІ]ЃїЮPРa =p + —}I ЂлЁ: +P` 5gC7,зRu2Tљ™№7†к Ч<0EX#p7Д$я<Єfиw'ТаМvGА%pБhb +ЊCъаЪ¶ +Рђ^xBФЛХ%Цђ +aЌwигР` +ЂрЈc}ћ ®яЭтЋ:Wtxчx&RЭ”©®гEwvЮ ПLќ¬О`g‡y} +`Tч–OЪњ–)`кгЈNўҐР }` ¶P Ojњє(Јm‰ 3Ш– +Ч0§^(Њ=>7@Lз…Н:®.шЦ” зЈкЁeю Ђ{Зсћ'|®=вРр›4шЧR:ћ\‡жШ¬#˜лЉw +}а.¶ + +f +шnц~пэОп +прпсЯр"?тПс!Ясы®сїсїрoр/р1сптџп0oЯЂр,Їтщ~т9?с?с"у8Їф/уKу7џсPПр уEф6џт,яр&х-їс;їуMЇр[ц!ц ?уяфkЏф= +Б@у ©_шHoщ>шЉoЄЇшhЇп Џ_џрёр·/ф§пщ©Oышnщїт= + +t HQЎ‹1ZДШ@З‰Я‚}лЃ‚`Й` +?nРѓ!И•7NфЁР`F +мМў@:т> +DA’" +џfJ~ѓЫђ. +yЧ„(OДџ|3^{YoВџЙ~імІвДУgGяJцfЕ„Џ!Л+I–`бІvЇЩ…XxЎbФ ЙґьнZеЛ.ѓС>­xd0(PЊїnYwfОлOkЧH2Ш:»ыРЃX2;KЖ—YвюіaЙњГmЛ[°ытПИЗAГ5ЁШ%е’x[L4Ъ +ТnЎБ®!j7Ы\Jh'љвsРЈЏ Ћ1Иf‹МІтљляЙµ9Ъ®ВЋ0ф +B’Lbl4ѓ€(hl±§–]¶±Е”—РAџ,lЃSд±E–yАЁЕЖё†’#Џ F2< +5TРgў%.SрФ€ҐґoфYіН{ІPѓbQaOю™G5Ћм†AіIҐ›‚Г€3€$‹Tґ–[л·™Xы‰ ЛvГ®№‹kИІАК+мІ”ді­ M­6)+oS c­µ ѓBІдЬ«°'бЄMWђdТk8ъ.ѓМѕ‚2‹ґ¤giЫk?В`UЊ±е®Iµ· +cу‰@:п2#д)сУЊ'у’нЫ5U/ы•­‘,$v8©Mо:–lh'’зt\Y]MС4l +ъяЏ >tЫрІБf‚)¦Ґ%ЎХЫхЏZЖи€n9{Cм‰# ЎҐ]у†ЮеiЈџ&b…b_¬УЪО’0аВS ;Ѓшz”uЭ.СA‡гюPгћ1@%‹ў Љ,ДcЌ>иЈЎ°З5< hx`и€ЂS¶м$[ +С¬F[„µHЂb(Џ1„! QrВћ{˜Bfр‹b’CЧyД2'iIMњШїф‡{ +‡ўѓ¬‹.–бзEБ_ЁyЙф:m§^±MI>Чеm0О‚€‹Pя—Fѓ5f#эЭGfSEИ ®wДЄNxBе,б„!‘ЄЙкМЈЌ¤®#ўYі®A—Х€Q>!€]6Х®бКX/сіи 0qщл‘р‚\`Фу›•мК=gЊTd‚С‡Xи` +Ч°З6–° +y¬A YРGtl!ЏXШB чЂЖ?|D2TьJ6L@-`Е(ЁБ (впЂ,$`€9tВab±BЖ +ЎсTЕ*jX†x +ў>¬0†,РC°ь™—).­†x@Ш… +fa6А ѓYц +Ж=x «Д»рЂNhD ћ~Јl¦2ѓВ` н|ѓ C1“ёq‡Ўy№)B¶х˜#ОХ[WLH¬H~u6ҐC—дXЙЄвQ€XГhг§м…С9я·Џ= JRі'k‘ЃфM§љгљ†ШҐqё1nF-ББRтpYж’єЭ…ї¤І€UES^ЧђEЌ +‘ЄЮаHte\fйЏdе/?†H8Z Pћњј¦лwя Я¶hХݘ„>ЈЄ~ +h@Ў+—ШН2•й1мЖ >*‹>ДDLЙ ^=˜ X,c €hЃц ґ +1(рFУ‚A' +(( +:ьГbШT` 0<БЬѓ†ЊvЙПк`JЪЮб(sТa1–!bЉJ7fcДEҐ‹€Ѕ±Чџлµ‡¦Wф5­Д +$ВЙк ЧЙ+б4©B8љ˜дЩћъ21оHZ#ў†ъп뉑¶ятYЋ( +#КI—„°‚`5№“QЛ‹JRХА›Д˜єл Т +dХрЉ®1H¦XёБmў€…й +®р[ЂЃ0©»@%»‘эЃ}X[ 7/Ї°…(Т±P€…µ:7(ЂЋ’ АЉ[и +SDeІЂ_A™,€ЛЛ‚ЛЈѓ’ѓc‚eў7ЬЛђ@ІђЯ°!№$Иш [.вЊ] «k ‡>Ђ‹ЌўЏЂ1ќkиѓ_qЪИJ‘ў•љ^Ў +Ѕ˜Ќѕл +ѓ–яъJґЏ +«чxТp№_AУ©№ZЂSd#_Й1‰±’В'v +х*HЃ ц©м©ђfД1ўАEТPћЭЁЏyќ9’С2€№ є+©%бњy1 К +=љґдЄ ЮЄжJB‹»«SВ/БH«дЂЇ&К«ка ®љ§|„ЁјЎ‰7њ +‘кєфаЊu Џ¤ + ђ ‰2¤ТPЁаI—ц›.\нС•Щ +я_у¬ыRLd64$˜aґL0># ЉLI<:€№HЏ»љ%Є№—„*ї$‹ъ°Њл€М@БЕL–н"¤јyАУА°Ђ±Љ‡p‰Ocґ:в`ИС0ЌH І<1ИSиџ,АГXё‡U +[XН®ш‘¬€‡ё$|Љ:„˜0”r4їd@еШ@Ot M*˜ ѓїѕй:ЄВ6jI#†аЊ—’М 3ђо9Ёі‹nsRтMћМ° +ziB{‘LХ —kЎ:H»”‰ t‰4ф<*‹в€Ёя4’є%Г"лйГ#пщ€рЏ“€њРєV*ћ +с±‰ЉЎ ®А +b +1Р‡?ё [Р1`<ЇрЉaC«0…mШ†?ш@2tСmаЃPа# +% +…m Г-dТ…Ѓ ЭВнС?°R*ЭB+„Т+}R#эС+RX… +RT@…4ШВ+µB¬`RzSТ'­Тm@нR(Э†яa“%Xѓ" + еVµU*©…Zш%˜ФgЌ&9­R(]R1Ђ +JµR']Уj¬{Xё‡?P% S ·bR0mR EU)5Хr…АТХXнјvWрЂg•WZ5Цb­V/}Ф-|W'-ЦiURQ=R<ХЧ5TGТе… эQvќФJ]Т?UЧ НЦCхШЂЌХ/Ц/%Й¤Ђ^аЉtѓ†Kh›Pё‡Ў`ђЁё‡чY$С%pmХ3=УI=Х3ЭФџE’5и˜{@’ўE’›хЂ{XХќEo Wџ]U%PZ¤х’Јх’ЎµYҐЌЉџU‚S%ЧV-Ъ¬ЕZ¤Ѕ‡яЈµYЇ=ZЇэЩMхЪrµХЎ­Щ5(†чБY№E[TэZ®…W/©[D9 ч‘љѕХ%ъЃZ!хYЅэЦєНЪbZ¬µЩЎ%WЇMХЁђТКmТ1ЁYЎ-ІНZpUZ!e[r +RіЌЉ}НЪљE©‰[D ЧVZШЭ[ё­ZНеWVM’ўҐџџUЫ¶uЫoХZЈнЬЄЭЪЇќЬ¤рZoаTАЅЫЄmU°5Ыr +Э§ +ЭвMЉЗ^¤ЫVЕVJэѓP@…ўАІ^ПЅЫoe“}UЪµ5[Ў•[¤U№ХYS…Э·%ЙKM]/IЉєИ1h YД° YP}@™`F$¦9ЊОшжЊі‡яДФјQ NMФ,7xdb=жЉ®А +-Ќc*ј‘ ^гЮ`ED`ФбsДKЖQюµ=†З+67Х c–а0МјС`"О±T®д ЮдWFM@ c<ЮаkЊ r#&я7vbyb-=НX +aЩDaЋ‘wVDSђГ +I*h'ж5Цg†dncY°`8ЖСe†gqЋgGоџД8Fа`Жc{Pгq{CrI}hh‹Ьd+DНIю‘МЈд‹`M~anЋix¤…grГ1.ћзcХґBнз3ИUDФЊг)ж +¦г]†ж_ю5·ЏTдAмЉ!гЉ9t75ѕ+Xз‰^б©ДћesC5Vз ^е¶ h©>з©Vf•Ћиk0ґjЮй94c"юВµжf”Nйіe«€кФ$к©–ГЂ \ No newline at end of file diff --git a/i/city/2bg.jpg b/i/city/2bg.jpg new file mode 100644 index 0000000..4d2ae14 Binary files /dev/null and b/i/city/2bg.jpg differ diff --git a/i/city/2bgn.gif b/i/city/2bgn.gif new file mode 100644 index 0000000..356562f Binary files /dev/null and b/i/city/2bgn.gif differ diff --git a/i/city/2bgn.jpg b/i/city/2bgn.jpg new file mode 100644 index 0000000..bc9ccbf Binary files /dev/null and b/i/city/2bgn.jpg differ diff --git a/i/city/3.gif b/i/city/3.gif new file mode 100644 index 0000000..c6d628c Binary files /dev/null and b/i/city/3.gif differ diff --git a/i/city/6.gif b/i/city/6.gif new file mode 100644 index 0000000..b43b43b Binary files /dev/null and b/i/city/6.gif differ diff --git a/i/city/a__forum.gif b/i/city/a__forum.gif new file mode 100644 index 0000000..221e0e7 Binary files /dev/null and b/i/city/a__forum.gif differ diff --git a/i/city/ar_e_d.jpg b/i/city/ar_e_d.jpg new file mode 100644 index 0000000..2591847 Binary files /dev/null and b/i/city/ar_e_d.jpg differ diff --git a/i/city/ar_e_n.jpg b/i/city/ar_e_n.jpg new file mode 100644 index 0000000..c347803 Binary files /dev/null and b/i/city/ar_e_n.jpg differ diff --git a/i/city/av_arena_bg1_day2.jpg b/i/city/av_arena_bg1_day2.jpg new file mode 100644 index 0000000..a7e4ac5 Binary files /dev/null and b/i/city/av_arena_bg1_day2.jpg differ diff --git a/i/city/av_arena_bg2_day.jpg b/i/city/av_arena_bg2_day.jpg new file mode 100644 index 0000000..599cd42 Binary files /dev/null and b/i/city/av_arena_bg2_day.jpg differ diff --git a/i/city/av_rist_day.jpg b/i/city/av_rist_day.jpg new file mode 100644 index 0000000..5d3c752 Binary files /dev/null and b/i/city/av_rist_day.jpg differ diff --git a/i/city/av_srt_day.jpg b/i/city/av_srt_day.jpg new file mode 100644 index 0000000..b32dd27 Binary files /dev/null and b/i/city/av_srt_day.jpg differ diff --git a/i/city/av_zaliv_day.jpg b/i/city/av_zaliv_day.jpg new file mode 100644 index 0000000..57a107b Binary files /dev/null and b/i/city/av_zaliv_day.jpg differ diff --git a/i/city/av_zaliv_night.jpg b/i/city/av_zaliv_night.jpg new file mode 100644 index 0000000..91b0ffa Binary files /dev/null and b/i/city/av_zaliv_night.jpg differ diff --git a/i/city/av_zamk_day.jpg b/i/city/av_zamk_day.jpg new file mode 100644 index 0000000..9975275 Binary files /dev/null and b/i/city/av_zamk_day.jpg differ diff --git a/i/city/av_zamk_night.jpg b/i/city/av_zamk_night.jpg new file mode 100644 index 0000000..2253819 Binary files /dev/null and b/i/city/av_zamk_night.jpg differ diff --git a/i/city/cp_avalon_city_day.jpg b/i/city/cp_avalon_city_day.jpg new file mode 100644 index 0000000..4d2ae14 Binary files /dev/null and b/i/city/cp_avalon_city_day.jpg differ diff --git a/i/city/fon.jpg b/i/city/fon.jpg new file mode 100644 index 0000000..3511fc2 Binary files /dev/null and b/i/city/fon.jpg differ diff --git a/i/city/index.php b/i/city/index.php new file mode 100644 index 0000000..e69de29 diff --git a/i/city/park_avalon_city_day2.jpg b/i/city/park_avalon_city_day2.jpg new file mode 100644 index 0000000..d2dba31 Binary files /dev/null and b/i/city/park_avalon_city_day2.jpg differ diff --git a/i/city/pliusik.gif b/i/city/pliusik.gif new file mode 100644 index 0000000..d1ebd7a Binary files /dev/null and b/i/city/pliusik.gif differ diff --git a/i/city/sneg_02.png b/i/city/sneg_02.png new file mode 100644 index 0000000..aa6cee9 Binary files /dev/null and b/i/city/sneg_02.png differ diff --git a/i/city/snow_transp.gif b/i/city/snow_transp.gif new file mode 100644 index 0000000..798a817 Binary files /dev/null and b/i/city/snow_transp.gif differ diff --git a/i/city/sub/.htaccess b/i/city/sub/.htaccess new file mode 100644 index 0000000..116776e --- /dev/null +++ b/i/city/sub/.htaccess @@ -0,0 +1,3 @@ + +Deny from all + \ No newline at end of file diff --git a/i/city/sub/1sk_png2.png b/i/city/sub/1sk_png2.png new file mode 100644 index 0000000..97d75a5 Binary files /dev/null and b/i/city/sub/1sk_png2.png differ diff --git a/i/city/sub/1ubkill.gif b/i/city/sub/1ubkill.gif new file mode 100644 index 0000000..8733856 Binary files /dev/null and b/i/city/sub/1ubkill.gif differ diff --git a/i/city/sub/1ubkill.png b/i/city/sub/1ubkill.png new file mode 100644 index 0000000..cba2992 Binary files /dev/null and b/i/city/sub/1ubkill.png differ diff --git a/i/city/sub/1ubkill2.png b/i/city/sub/1ubkill2.png new file mode 100644 index 0000000..2157090 Binary files /dev/null and b/i/city/sub/1ubkill2.png differ diff --git a/i/city/sub/1ubkiln.gif b/i/city/sub/1ubkiln.gif new file mode 100644 index 0000000..8733856 Binary files /dev/null and b/i/city/sub/1ubkiln.gif differ diff --git a/i/city/sub/1ureg.gif b/i/city/sub/1ureg.gif new file mode 100644 index 0000000..3a297e8 Binary files /dev/null and b/i/city/sub/1ureg.gif differ diff --git a/i/city/sub/1ureg.png b/i/city/sub/1ureg.png new file mode 100644 index 0000000..6453336 Binary files /dev/null and b/i/city/sub/1ureg.png differ diff --git a/i/city/sub/1ureg2.png b/i/city/sub/1ureg2.png new file mode 100644 index 0000000..f8b8fce Binary files /dev/null and b/i/city/sub/1ureg2.png differ diff --git a/i/city/sub/1uregn.gif b/i/city/sub/1uregn.gif new file mode 100644 index 0000000..3a297e8 Binary files /dev/null and b/i/city/sub/1uregn.gif differ diff --git a/i/city/sub/2bg.jpg b/i/city/sub/2bg.jpg new file mode 100644 index 0000000..62350ef Binary files /dev/null and b/i/city/sub/2bg.jpg differ diff --git a/i/city/sub/2bgn.jpg b/i/city/sub/2bgn.jpg new file mode 100644 index 0000000..7de72c4 Binary files /dev/null and b/i/city/sub/2bgn.jpg differ diff --git a/i/city/sub/2cerkov.gif b/i/city/sub/2cerkov.gif new file mode 100644 index 0000000..d140f4d Binary files /dev/null and b/i/city/sub/2cerkov.gif differ diff --git a/i/city/sub/2cerkovn.gif b/i/city/sub/2cerkovn.gif new file mode 100644 index 0000000..d140f4d Binary files /dev/null and b/i/city/sub/2cerkovn.gif differ diff --git a/i/city/sub/2clubb_png2.png b/i/city/sub/2clubb_png2.png new file mode 100644 index 0000000..b37a43f Binary files /dev/null and b/i/city/sub/2clubb_png2.png differ diff --git a/i/city/sub/2comission.gif b/i/city/sub/2comission.gif new file mode 100644 index 0000000..d15698d Binary files /dev/null and b/i/city/sub/2comission.gif differ diff --git a/i/city/sub/2comission.png b/i/city/sub/2comission.png new file mode 100644 index 0000000..d644eb1 Binary files /dev/null and b/i/city/sub/2comission.png differ diff --git a/i/city/sub/2comission2.png b/i/city/sub/2comission2.png new file mode 100644 index 0000000..73051c1 Binary files /dev/null and b/i/city/sub/2comission2.png differ diff --git a/i/city/sub/2comissionn.gif b/i/city/sub/2comissionn.gif new file mode 100644 index 0000000..d15698d Binary files /dev/null and b/i/city/sub/2comissionn.gif differ diff --git a/i/city/sub/2klub.gif b/i/city/sub/2klub.gif new file mode 100644 index 0000000..1bb6b83 Binary files /dev/null and b/i/city/sub/2klub.gif differ diff --git a/i/city/sub/2klub.png b/i/city/sub/2klub.png new file mode 100644 index 0000000..8159d43 Binary files /dev/null and b/i/city/sub/2klub.png differ diff --git a/i/city/sub/2klub2.png b/i/city/sub/2klub2.png new file mode 100644 index 0000000..b610948 Binary files /dev/null and b/i/city/sub/2klub2.png differ diff --git a/i/city/sub/2klubn.gif b/i/city/sub/2klubn.gif new file mode 100644 index 0000000..1bb6b83 Binary files /dev/null and b/i/city/sub/2klubn.gif differ diff --git a/i/city/sub/2klubn.png b/i/city/sub/2klubn.png new file mode 100644 index 0000000..b37a43f Binary files /dev/null and b/i/city/sub/2klubn.png differ diff --git a/i/city/sub/2pm.gif b/i/city/sub/2pm.gif new file mode 100644 index 0000000..6de45ad Binary files /dev/null and b/i/city/sub/2pm.gif differ diff --git a/i/city/sub/2pm.png b/i/city/sub/2pm.png new file mode 100644 index 0000000..439d65a Binary files /dev/null and b/i/city/sub/2pm.png differ diff --git a/i/city/sub/2pm2.png b/i/city/sub/2pm2.png new file mode 100644 index 0000000..70948db Binary files /dev/null and b/i/city/sub/2pm2.png differ diff --git a/i/city/sub/2pmn.gif b/i/city/sub/2pmn.gif new file mode 100644 index 0000000..6de45ad Binary files /dev/null and b/i/city/sub/2pmn.gif differ diff --git a/i/city/sub/2pochta.gif b/i/city/sub/2pochta.gif new file mode 100644 index 0000000..0040700 Binary files /dev/null and b/i/city/sub/2pochta.gif differ diff --git a/i/city/sub/2pochta.png b/i/city/sub/2pochta.png new file mode 100644 index 0000000..833591b Binary files /dev/null and b/i/city/sub/2pochta.png differ diff --git a/i/city/sub/2pochta2.png b/i/city/sub/2pochta2.png new file mode 100644 index 0000000..b77c547 Binary files /dev/null and b/i/city/sub/2pochta2.png differ diff --git a/i/city/sub/2pochtan.gif b/i/city/sub/2pochtan.gif new file mode 100644 index 0000000..0040700 Binary files /dev/null and b/i/city/sub/2pochtan.gif differ diff --git a/i/city/sub/2remont.gif b/i/city/sub/2remont.gif new file mode 100644 index 0000000..0f2474f Binary files /dev/null and b/i/city/sub/2remont.gif differ diff --git a/i/city/sub/2remont.png b/i/city/sub/2remont.png new file mode 100644 index 0000000..1a36569 Binary files /dev/null and b/i/city/sub/2remont.png differ diff --git a/i/city/sub/2remont2.png b/i/city/sub/2remont2.png new file mode 100644 index 0000000..ee002d0 Binary files /dev/null and b/i/city/sub/2remont2.png differ diff --git a/i/city/sub/2remontn.gif b/i/city/sub/2remontn.gif new file mode 100644 index 0000000..0f2474f Binary files /dev/null and b/i/city/sub/2remontn.gif differ diff --git a/i/city/sub/2shop.gif b/i/city/sub/2shop.gif new file mode 100644 index 0000000..febffed Binary files /dev/null and b/i/city/sub/2shop.gif differ diff --git a/i/city/sub/2shop.png b/i/city/sub/2shop.png new file mode 100644 index 0000000..aacc2d6 Binary files /dev/null and b/i/city/sub/2shop.png differ diff --git a/i/city/sub/2shop2.png b/i/city/sub/2shop2.png new file mode 100644 index 0000000..f0d095b Binary files /dev/null and b/i/city/sub/2shop2.png differ diff --git a/i/city/sub/2shopn.gif b/i/city/sub/2shopn.gif new file mode 100644 index 0000000..febffed Binary files /dev/null and b/i/city/sub/2shopn.gif differ diff --git a/i/city/sub/2sk_png2.png b/i/city/sub/2sk_png2.png new file mode 100644 index 0000000..99a855f Binary files /dev/null and b/i/city/sub/2sk_png2.png differ diff --git a/i/city/sub/2stop.gif b/i/city/sub/2stop.gif new file mode 100644 index 0000000..8420d81 Binary files /dev/null and b/i/city/sub/2stop.gif differ diff --git a/i/city/sub/2stop.png b/i/city/sub/2stop.png new file mode 100644 index 0000000..5913301 Binary files /dev/null and b/i/city/sub/2stop.png differ diff --git a/i/city/sub/2stop2.png b/i/city/sub/2stop2.png new file mode 100644 index 0000000..5913301 Binary files /dev/null and b/i/city/sub/2stop2.png differ diff --git a/i/city/sub/2stopn.gif b/i/city/sub/2stopn.gif new file mode 100644 index 0000000..8420d81 Binary files /dev/null and b/i/city/sub/2stopn.gif differ diff --git a/i/city/sub/2strelka.gif b/i/city/sub/2strelka.gif new file mode 100644 index 0000000..77e9f22 Binary files /dev/null and b/i/city/sub/2strelka.gif differ diff --git a/i/city/sub/2strelka.png b/i/city/sub/2strelka.png new file mode 100644 index 0000000..791f55f Binary files /dev/null and b/i/city/sub/2strelka.png differ diff --git a/i/city/sub/2strelka2.png b/i/city/sub/2strelka2.png new file mode 100644 index 0000000..cbe4ffc Binary files /dev/null and b/i/city/sub/2strelka2.png differ diff --git a/i/city/sub/2strelkan.gif b/i/city/sub/2strelkan.gif new file mode 100644 index 0000000..d64ae78 Binary files /dev/null and b/i/city/sub/2strelkan.gif differ diff --git a/i/city/sub/2vokzal.gif b/i/city/sub/2vokzal.gif new file mode 100644 index 0000000..c3756ff Binary files /dev/null and b/i/city/sub/2vokzal.gif differ diff --git a/i/city/sub/2vokzaln.gif b/i/city/sub/2vokzaln.gif new file mode 100644 index 0000000..c3756ff Binary files /dev/null and b/i/city/sub/2vokzaln.gif differ diff --git a/i/city/sub/3shop.png b/i/city/sub/3shop.png new file mode 100644 index 0000000..1f5509a Binary files /dev/null and b/i/city/sub/3shop.png differ diff --git a/i/city/sub/3shop2.png b/i/city/sub/3shop2.png new file mode 100644 index 0000000..7e13fc4 Binary files /dev/null and b/i/city/sub/3shop2.png differ diff --git a/i/city/sub/3sk_png2.png b/i/city/sub/3sk_png2.png new file mode 100644 index 0000000..1770e36 Binary files /dev/null and b/i/city/sub/3sk_png2.png differ diff --git a/i/city/sub/3strelka.gif b/i/city/sub/3strelka.gif new file mode 100644 index 0000000..319cc75 Binary files /dev/null and b/i/city/sub/3strelka.gif differ diff --git a/i/city/sub/3strelka.png b/i/city/sub/3strelka.png new file mode 100644 index 0000000..d02b06e Binary files /dev/null and b/i/city/sub/3strelka.png differ diff --git a/i/city/sub/3strelka2.png b/i/city/sub/3strelka2.png new file mode 100644 index 0000000..3da98ec Binary files /dev/null and b/i/city/sub/3strelka2.png differ diff --git a/i/city/sub/Thumbs.db b/i/city/sub/Thumbs.db new file mode 100644 index 0000000..a0247ce Binary files /dev/null and b/i/city/sub/Thumbs.db differ diff --git a/i/city/sub/altr_g.png b/i/city/sub/altr_g.png new file mode 100644 index 0000000..fb29bf4 Binary files /dev/null and b/i/city/sub/altr_g.png differ diff --git a/i/city/sub/altr_g2.png b/i/city/sub/altr_g2.png new file mode 100644 index 0000000..06a09d5 Binary files /dev/null and b/i/city/sub/altr_g2.png differ diff --git a/i/city/sub/ar_e_d.jpg b/i/city/sub/ar_e_d.jpg new file mode 100644 index 0000000..2591847 Binary files /dev/null and b/i/city/sub/ar_e_d.jpg differ diff --git a/i/city/sub/ar_e_n.jpg b/i/city/sub/ar_e_n.jpg new file mode 100644 index 0000000..c347803 Binary files /dev/null and b/i/city/sub/ar_e_n.jpg differ diff --git a/i/city/sub/arr_left_png.png b/i/city/sub/arr_left_png.png new file mode 100644 index 0000000..4d26818 Binary files /dev/null and b/i/city/sub/arr_left_png.png differ diff --git a/i/city/sub/arr_left_png2.png b/i/city/sub/arr_left_png2.png new file mode 100644 index 0000000..f7ab296 Binary files /dev/null and b/i/city/sub/arr_left_png2.png differ diff --git a/i/city/sub/arr_right_png.png b/i/city/sub/arr_right_png.png new file mode 100644 index 0000000..a7b1f6b Binary files /dev/null and b/i/city/sub/arr_right_png.png differ diff --git a/i/city/sub/arr_right_png2.png b/i/city/sub/arr_right_png2.png new file mode 100644 index 0000000..997843b Binary files /dev/null and b/i/city/sub/arr_right_png2.png differ diff --git a/i/city/sub/auction.gif b/i/city/sub/auction.gif new file mode 100644 index 0000000..62268e1 Binary files /dev/null and b/i/city/sub/auction.gif differ diff --git a/i/city/sub/auctionn.gif b/i/city/sub/auctionn.gif new file mode 100644 index 0000000..62268e1 Binary files /dev/null and b/i/city/sub/auctionn.gif differ diff --git a/i/city/sub/auk.png b/i/city/sub/auk.png new file mode 100644 index 0000000..24d28ed Binary files /dev/null and b/i/city/sub/auk.png differ diff --git a/i/city/sub/auk_png2.png b/i/city/sub/auk_png2.png new file mode 100644 index 0000000..efdb38f Binary files /dev/null and b/i/city/sub/auk_png2.png differ diff --git a/i/city/sub/av_arena_bg2_day.jpg b/i/city/sub/av_arena_bg2_day.jpg new file mode 100644 index 0000000..599cd42 Binary files /dev/null and b/i/city/sub/av_arena_bg2_day.jpg differ diff --git a/i/city/sub/av_board.png b/i/city/sub/av_board.png new file mode 100644 index 0000000..439d65a Binary files /dev/null and b/i/city/sub/av_board.png differ diff --git a/i/city/sub/av_board2.png b/i/city/sub/av_board2.png new file mode 100644 index 0000000..70948db Binary files /dev/null and b/i/city/sub/av_board2.png differ diff --git a/i/city/sub/av_registratura2.png b/i/city/sub/av_registratura2.png new file mode 100644 index 0000000..f8b8fce Binary files /dev/null and b/i/city/sub/av_registratura2.png differ diff --git a/i/city/sub/av_right_stop2.png b/i/city/sub/av_right_stop2.png new file mode 100644 index 0000000..f82a372 Binary files /dev/null and b/i/city/sub/av_right_stop2.png differ diff --git a/i/city/sub/av_rist_day.jpg b/i/city/sub/av_rist_day.jpg new file mode 100644 index 0000000..5d3c752 Binary files /dev/null and b/i/city/sub/av_rist_day.jpg differ diff --git a/i/city/sub/av_rist_group2.png b/i/city/sub/av_rist_group2.png new file mode 100644 index 0000000..7a82eff Binary files /dev/null and b/i/city/sub/av_rist_group2.png differ diff --git a/i/city/sub/av_rist_otrjad2.png b/i/city/sub/av_rist_otrjad2.png new file mode 100644 index 0000000..bf79bfd Binary files /dev/null and b/i/city/sub/av_rist_otrjad2.png differ diff --git a/i/city/sub/av_rist_solo2.png b/i/city/sub/av_rist_solo2.png new file mode 100644 index 0000000..d9fb638 Binary files /dev/null and b/i/city/sub/av_rist_solo2.png differ diff --git a/i/city/sub/av_skamejka2.png b/i/city/sub/av_skamejka2.png new file mode 100644 index 0000000..997f171 Binary files /dev/null and b/i/city/sub/av_skamejka2.png differ diff --git a/i/city/sub/av_srt_day.jpg b/i/city/sub/av_srt_day.jpg new file mode 100644 index 0000000..b32dd27 Binary files /dev/null and b/i/city/sub/av_srt_day.jpg differ diff --git a/i/city/sub/av_str_bank2.png b/i/city/sub/av_str_bank2.png new file mode 100644 index 0000000..d86baa9 Binary files /dev/null and b/i/city/sub/av_str_bank2.png differ diff --git a/i/city/sub/av_str_flowshop2.png b/i/city/sub/av_str_flowshop2.png new file mode 100644 index 0000000..795b8dd Binary files /dev/null and b/i/city/sub/av_str_flowshop2.png differ diff --git a/i/city/sub/av_str_tower2.png b/i/city/sub/av_str_tower2.png new file mode 100644 index 0000000..2157090 Binary files /dev/null and b/i/city/sub/av_str_tower2.png differ diff --git a/i/city/sub/av_torg_fontan2.png b/i/city/sub/av_torg_fontan2.png new file mode 100644 index 0000000..75cc8d8 Binary files /dev/null and b/i/city/sub/av_torg_fontan2.png differ diff --git a/i/city/sub/av_torg_lombard2.png b/i/city/sub/av_torg_lombard2.png new file mode 100644 index 0000000..c562692 Binary files /dev/null and b/i/city/sub/av_torg_lombard2.png differ diff --git a/i/city/sub/av_zaliv_day.jpg b/i/city/sub/av_zaliv_day.jpg new file mode 100644 index 0000000..57a107b Binary files /dev/null and b/i/city/sub/av_zaliv_day.jpg differ diff --git a/i/city/sub/av_zaliv_svet.png b/i/city/sub/av_zaliv_svet.png new file mode 100644 index 0000000..3bd4540 Binary files /dev/null and b/i/city/sub/av_zaliv_svet.png differ diff --git a/i/city/sub/av_zaliv_svet2.png b/i/city/sub/av_zaliv_svet2.png new file mode 100644 index 0000000..e301fa7 Binary files /dev/null and b/i/city/sub/av_zaliv_svet2.png differ diff --git a/i/city/sub/av_zaliv_tma.png b/i/city/sub/av_zaliv_tma.png new file mode 100644 index 0000000..3c64a77 Binary files /dev/null and b/i/city/sub/av_zaliv_tma.png differ diff --git a/i/city/sub/av_zaliv_tma2.png b/i/city/sub/av_zaliv_tma2.png new file mode 100644 index 0000000..aad5874 Binary files /dev/null and b/i/city/sub/av_zaliv_tma2.png differ diff --git a/i/city/sub/av_zamk_day.jpg b/i/city/sub/av_zamk_day.jpg new file mode 100644 index 0000000..9975275 Binary files /dev/null and b/i/city/sub/av_zamk_day.jpg differ diff --git a/i/city/sub/av_zamk_hram2.png b/i/city/sub/av_zamk_hram2.png new file mode 100644 index 0000000..7e13fc4 Binary files /dev/null and b/i/city/sub/av_zamk_hram2.png differ diff --git a/i/city/sub/av_zamk_lab.png b/i/city/sub/av_zamk_lab.png new file mode 100644 index 0000000..6305c75 Binary files /dev/null and b/i/city/sub/av_zamk_lab.png differ diff --git a/i/city/sub/av_zamk_lab2.png b/i/city/sub/av_zamk_lab2.png new file mode 100644 index 0000000..b31bd66 Binary files /dev/null and b/i/city/sub/av_zamk_lab2.png differ diff --git a/i/city/sub/av_zamk_rud.png b/i/city/sub/av_zamk_rud.png new file mode 100644 index 0000000..6305c75 Binary files /dev/null and b/i/city/sub/av_zamk_rud.png differ diff --git a/i/city/sub/av_zamk_rud2.png b/i/city/sub/av_zamk_rud2.png new file mode 100644 index 0000000..04a6e3b Binary files /dev/null and b/i/city/sub/av_zamk_rud2.png differ diff --git a/i/city/sub/av_zamk_ruins2.png b/i/city/sub/av_zamk_ruins2.png new file mode 100644 index 0000000..f02630c Binary files /dev/null and b/i/city/sub/av_zamk_ruins2.png differ diff --git a/i/city/sub/ava_berezka.png b/i/city/sub/ava_berezka.png new file mode 100644 index 0000000..aa3de31 Binary files /dev/null and b/i/city/sub/ava_berezka.png differ diff --git a/i/city/sub/ava_berezka2.png b/i/city/sub/ava_berezka2.png new file mode 100644 index 0000000..5512b8f Binary files /dev/null and b/i/city/sub/ava_berezka2.png differ diff --git a/i/city/sub/ava_gate.png b/i/city/sub/ava_gate.png new file mode 100644 index 0000000..67e23d0 Binary files /dev/null and b/i/city/sub/ava_gate.png differ diff --git a/i/city/sub/ava_gate2.png b/i/city/sub/ava_gate2.png new file mode 100644 index 0000000..e4c74b8 Binary files /dev/null and b/i/city/sub/ava_gate2.png differ diff --git a/i/city/sub/ava_gate_22.png b/i/city/sub/ava_gate_22.png new file mode 100644 index 0000000..e4c74b8 Binary files /dev/null and b/i/city/sub/ava_gate_22.png differ diff --git a/i/city/sub/ava_kom.png b/i/city/sub/ava_kom.png new file mode 100644 index 0000000..d644eb1 Binary files /dev/null and b/i/city/sub/ava_kom.png differ diff --git a/i/city/sub/ava_kom2.png b/i/city/sub/ava_kom2.png new file mode 100644 index 0000000..73051c1 Binary files /dev/null and b/i/city/sub/ava_kom2.png differ diff --git a/i/city/sub/ava_loto2.png b/i/city/sub/ava_loto2.png new file mode 100644 index 0000000..f77cc93 Binary files /dev/null and b/i/city/sub/ava_loto2.png differ diff --git a/i/city/sub/ava_park_skameika2.png b/i/city/sub/ava_park_skameika2.png new file mode 100644 index 0000000..fd1f825 Binary files /dev/null and b/i/city/sub/ava_park_skameika2.png differ diff --git a/i/city/sub/ava_post.png b/i/city/sub/ava_post.png new file mode 100644 index 0000000..833591b Binary files /dev/null and b/i/city/sub/ava_post.png differ diff --git a/i/city/sub/ava_post2.png b/i/city/sub/ava_post2.png new file mode 100644 index 0000000..b77c547 Binary files /dev/null and b/i/city/sub/ava_post2.png differ diff --git a/i/city/sub/ava_repeir.png b/i/city/sub/ava_repeir.png new file mode 100644 index 0000000..1a36569 Binary files /dev/null and b/i/city/sub/ava_repeir.png differ diff --git a/i/city/sub/ava_repeir2.png b/i/city/sub/ava_repeir2.png new file mode 100644 index 0000000..ee002d0 Binary files /dev/null and b/i/city/sub/ava_repeir2.png differ diff --git a/i/city/sub/ava_shop.png b/i/city/sub/ava_shop.png new file mode 100644 index 0000000..aacc2d6 Binary files /dev/null and b/i/city/sub/ava_shop.png differ diff --git a/i/city/sub/ava_shop2.png b/i/city/sub/ava_shop2.png new file mode 100644 index 0000000..f0d095b Binary files /dev/null and b/i/city/sub/ava_shop2.png differ diff --git a/i/city/sub/ava_st_left.png b/i/city/sub/ava_st_left.png new file mode 100644 index 0000000..d02b06e Binary files /dev/null and b/i/city/sub/ava_st_left.png differ diff --git a/i/city/sub/ava_st_left2.png b/i/city/sub/ava_st_left2.png new file mode 100644 index 0000000..3da98ec Binary files /dev/null and b/i/city/sub/ava_st_left2.png differ diff --git a/i/city/sub/ava_st_right.png b/i/city/sub/ava_st_right.png new file mode 100644 index 0000000..791f55f Binary files /dev/null and b/i/city/sub/ava_st_right.png differ diff --git a/i/city/sub/ava_st_right2.png b/i/city/sub/ava_st_right2.png new file mode 100644 index 0000000..cbe4ffc Binary files /dev/null and b/i/city/sub/ava_st_right2.png differ diff --git a/i/city/sub/ava_vokzal.png b/i/city/sub/ava_vokzal.png new file mode 100644 index 0000000..471be41 Binary files /dev/null and b/i/city/sub/ava_vokzal.png differ diff --git a/i/city/sub/ava_vokzal2.png b/i/city/sub/ava_vokzal2.png new file mode 100644 index 0000000..cd5056a Binary files /dev/null and b/i/city/sub/ava_vokzal2.png differ diff --git a/i/city/sub/ava_zamk_lavka22.png b/i/city/sub/ava_zamk_lavka22.png new file mode 100644 index 0000000..f52811c Binary files /dev/null and b/i/city/sub/ava_zamk_lavka22.png differ diff --git a/i/city/sub/ava_znahar2.png b/i/city/sub/ava_znahar2.png new file mode 100644 index 0000000..8e36fb3 Binary files /dev/null and b/i/city/sub/ava_znahar2.png differ diff --git a/i/city/sub/avalon_club.png b/i/city/sub/avalon_club.png new file mode 100644 index 0000000..8159d43 Binary files /dev/null and b/i/city/sub/avalon_club.png differ diff --git a/i/city/sub/avalon_club2.png b/i/city/sub/avalon_club2.png new file mode 100644 index 0000000..b610948 Binary files /dev/null and b/i/city/sub/avalon_club2.png differ diff --git a/i/city/sub/bank.gif b/i/city/sub/bank.gif new file mode 100644 index 0000000..6886ba8 Binary files /dev/null and b/i/city/sub/bank.gif differ diff --git a/i/city/sub/bank.png b/i/city/sub/bank.png new file mode 100644 index 0000000..a7aa22f Binary files /dev/null and b/i/city/sub/bank.png differ diff --git a/i/city/sub/bank1.gif b/i/city/sub/bank1.gif new file mode 100644 index 0000000..6886ba8 Binary files /dev/null and b/i/city/sub/bank1.gif differ diff --git a/i/city/sub/bank2.png b/i/city/sub/bank2.png new file mode 100644 index 0000000..d86baa9 Binary files /dev/null and b/i/city/sub/bank2.png differ diff --git a/i/city/sub/bank_png2.png b/i/city/sub/bank_png2.png new file mode 100644 index 0000000..888cd73 Binary files /dev/null and b/i/city/sub/bank_png2.png differ diff --git a/i/city/sub/bankn.gif b/i/city/sub/bankn.gif new file mode 100644 index 0000000..6886ba8 Binary files /dev/null and b/i/city/sub/bankn.gif differ diff --git a/i/city/sub/berezka_png2.png b/i/city/sub/berezka_png2.png new file mode 100644 index 0000000..fe95a50 Binary files /dev/null and b/i/city/sub/berezka_png2.png differ diff --git a/i/city/sub/bochka.gif b/i/city/sub/bochka.gif new file mode 100644 index 0000000..82a5043 Binary files /dev/null and b/i/city/sub/bochka.gif differ diff --git a/i/city/sub/bochka.png b/i/city/sub/bochka.png new file mode 100644 index 0000000..3638b77 Binary files /dev/null and b/i/city/sub/bochka.png differ diff --git a/i/city/sub/bochka2.png b/i/city/sub/bochka2.png new file mode 100644 index 0000000..51e5674 Binary files /dev/null and b/i/city/sub/bochka2.png differ diff --git a/i/city/sub/bs_png2.png b/i/city/sub/bs_png2.png new file mode 100644 index 0000000..c02df86 Binary files /dev/null and b/i/city/sub/bs_png2.png differ diff --git a/i/city/sub/cap_gate.png b/i/city/sub/cap_gate.png new file mode 100644 index 0000000..f932ec7 Binary files /dev/null and b/i/city/sub/cap_gate.png differ diff --git a/i/city/sub/cap_gate2.png b/i/city/sub/cap_gate2.png new file mode 100644 index 0000000..bab2613 Binary files /dev/null and b/i/city/sub/cap_gate2.png differ diff --git a/i/city/sub/cap_rist_arr_left.png b/i/city/sub/cap_rist_arr_left.png new file mode 100644 index 0000000..2199f1d Binary files /dev/null and b/i/city/sub/cap_rist_arr_left.png differ diff --git a/i/city/sub/cap_rist_arr_left2.png b/i/city/sub/cap_rist_arr_left2.png new file mode 100644 index 0000000..1d0d04d Binary files /dev/null and b/i/city/sub/cap_rist_arr_left2.png differ diff --git a/i/city/sub/city.php b/i/city/sub/city.php new file mode 100644 index 0000000..8c84038 --- /dev/null +++ b/i/city/sub/city.php @@ -0,0 +1,779 @@ + get_meshok() && $_GET['got']) { + echo "РЈ вас переполнен рюкзак, РІС‹ РЅРµ можете передвигатся..."; + $_GET['got'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 14 OR `type` = 13);")); + if($eff && $_GET['got']) { + echo "РЈ вас тяжелая травма, РІС‹ РЅРµ можете передвигатся..."; + $_GET['got'] =0; + } + + if($d[0] > get_meshok() && $_GET['strah']) { + echo "РЈ вас переполнен рюкзак, РІС‹ РЅРµ можете передвигатся..."; + $_GET['strah'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 14 OR `type` = 13);")); + if($eff && $_GET['strah']) { + echo "РЈ вас тяжелая травма, РІС‹ РЅРµ можете передвигатся..."; + $_GET['strah'] =0; + } + + if ($_GET['zamk']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2601',`online`.`room` = '2601' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 100); + +




    + Топаем на Замковую улицу... +
    + "); + } + if ($_GET['haos']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2701',`online`.`room` = '2701' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 100); + +



    + Топаем на Аллею Хаоса.. +
    + "); + } + + if($d[0] > get_meshok() && $_GET['bps']) { + echo "У вас переполнен рюкзак, вы не можете передвигатся..."; + $_GET['cp'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 14 OR `type` = 13);")); + if($eff && $_GET['bps']) { + echo "У вас тяжелая травма, вы не можете передвигатся..."; + $_GET['cp'] =0; + } + +if ($_GET['torg']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2702',`online`.`room` = '2702' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 100); + +



    + Топаем на Торговую улицу... +
    + "); + } + + if($d[0] > get_meshok() && $_GET['bps']) { + echo "У вас переполнен рюкзак, вы не можете передвигатся..."; + $_GET['cp'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 14 OR `type` = 13);")); + if($eff && $_GET['bps']) { + echo "У вас тяжелая травма, вы не можете передвигатся..."; + $_GET['cp'] =0; + } + + if ($_GET['strah']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '21',`online`.`room` = '21' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 100); + +



    + Топаем на Страшилкину улицу... +
    + "); + } + + if($d[0] > get_meshok() && $_GET['cp']) { + echo "У вас переполнен рюкзак, вы не можете передвигатся..."; + $_GET['cp'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 14 OR `type` = 13);")); + if($eff && $_GET['cp']) { + echo "У вас тяжелая травма, вы не можете передвигатся..."; + $_GET['cp'] =0; + } + + + if ($_GET['cp']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '20',`online`.`room` = '20' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 100); + +



    + Топаем на Центральную площадь... +
    + "); + } + + if($d[0] > get_meshok() && $_GET['bps']) { + echo "У вас переполнен рюкзак, вы не можете передвигатся..."; + $_GET['bps'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 14 OR `type` = 13);")); + if($eff && $_GET['bps']) { + echo "У вас тяжелая травма, вы не можете передвигатся..."; + $_GET['bps'] =0; + } + + + if ($_GET['bps']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '26',`online`.`room` = '26' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + + + + + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 100); + +



    + Топаем на Большую Парковую улицу... +
    + "); + } + + if($d[0] > get_meshok() && $_GET['zaliv']) { + echo "У вас переполнен рюкзак, вы не можете передвигатся..."; + $_GET['zaliv'] =0; + } + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 14 OR `type` = 13);")); + if($eff && $_GET['zaliv']) { + echo "У вас тяжелая травма, вы не можете передвигатся..."; + $_GET['zaliv'] =0; + } + + + if ($_GET['zaliv']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2111',`online`.`room` = '2111' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + ?> + + + + + + + + function cityg(){ + location.href='city.php'; + } + setTimeout('cityg()', 100); + +



    + Топаем на Берег Залива... +
    + "); + } + + if ($user['room']==20) { + // CP + // BK + if ($_GET['got'] && $_GET['level1']) { + //if ($user['level'] > 0) { $room = 8; } else { $room = 1; } + //mysql_query("UPDATE `users`,`online` SET `users`.`room` = '{$room}',`online`.`room` = '{$room}' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: main.php?setch=1'); + die(); + } + // Stralka strah + if ($_GET['got'] && $_GET['level7']) { + header('location: city.php?strah=1'); + } + if ($_GET['got'] && $_GET['level8']) { + header('location: city.php?bps=1'); + } + if ($_GET['got'] && $_GET['level222']) { + header('location: city.php?torg=1'); + } + // shop + if ($_GET['got'] && $_GET['level10']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '35',`online`.`room` = '35' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: krshop.php'); + } + if ($_GET['got'] && $_GET['level2']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '22',`online`.`room` = '22' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: shop.php'); + } + if ($_GET['got'] && $_GET['level11']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '42',`online`.`room` = '42' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: lotery.php'); + } + if ($_GET['got'] && $_GET['level12']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '44',`online`.`room` = '44' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: ekshop.php'); + } + // repait + if ($_GET['got'] && $_GET['level4']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '23',`online`.`room` = '23' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: repair.php'); + //print ""; + } + if ($_GET['level9']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '24',`online`.`room` = '24' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: elka.php'); + } + if ($_GET['got'] && $_GET['level3']) { + if ($user['align'] == 4) { + print ""; + } + elseif ($user['level'] < 1) { + print ""; + } + else { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '25',`online`.`room` = '25' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: comission.php'); + } + } + if ($_GET['got'] && $_GET['level6']) { + if ($user['level'] < 1) { + print ""; + } + else { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '27',`online`.`room` = '27' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: post.php'); + } + } + if ($_GET['got'] && $_GET['level10']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '35',`online`.`room` = '35' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: krshop.php'); + } + if ($_GET['got'] && $_GET['level12']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '44',`online`.`room` = '44' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: ekshop.php'); + } + } + elseif($user['room']==21) { + // Strashilka + // strelka cp + if ($_GET['got'] && $_GET['level4']) { + header('location: city.php?cp=1'); + } + if ($_GET['got'] && $_GET['level5']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '29',`online`.`room` = '29' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: bank.php'); + } + if ($_GET['got'] && $_GET['level6']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '34',`online`.`room` = '34' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: fshop.php'); + } + if ($_GET['got'] && $_GET['level2']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '28',`online`.`room` = '28' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: klanedit.php'); + } + if ($_GET['got'] && $_GET['level22']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '777',`online`.`room` = '777' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: obshaga.php'); + } + if ($_GET['got'] && $_GET['level7']) { + if ($user['level'] < 7) { + print ""; + } + else { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '31',`online`.`room` = '31' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: tower.php'); + } + } + // strelka zaliv + if ($_GET['got'] && $_GET['level3']) { + header('location: city.php?zaliv=1'); + } + } + +elseif($user['room']==2111) { + // залив + // strelka cp + if ($_GET['got'] && $_GET['level1']) { + header('location: city.php?strah=1'); + } + if ($_GET['got'] && $_GET['level2']) { + header('location: city.php?haos=1'); + } + if ($_GET['got'] && $_GET['level3']) { + print ""; + $_SESSION['usebochka']='1'; + +} +if ($_GET['got'] && $_GET['level4']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '203',`online`.`room` = '203' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: church.php'); +} +if ($_GET['got'] && $_GET['level5']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '203',`online`.`room` = '203' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: church.php'); +} + + +} +elseif($user['room']==2601) { + // zamkovaya + // strelka bps + if ($_GET['level4']) { + header('location: city.php?bps=1'); + } + if ($_GET['got'] && $_GET['level21']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '87',`online`.`room` = '87' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: dshop.php'); + } + if ($_GET['got'] && $_GET['level10']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '35',`online`.`room` = '35' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: krshop.php'); + } + if ($_GET['got'] && $_GET['level44']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '203',`online`.`room` = '203' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: church.php'); + } + if ($_GET['got'] && $_GET['level1']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '37',`online`.`room` = '37' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: gotzamok.php'); +// print ""; + + } +if ($_GET['got'] && $_GET['level5']) { + + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '404',`online`.`room` = '404' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: vxod.php'); + + } +} + +elseif($user['room']==2701) { + if ($_GET['level1']) { + header('location: city.php?zaliv=1'); + } + if ($_GET['level2']) { +// if($user['login'] == 'Satan'){ + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '402',`online`.`room` = '402' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: lab_chaos_enter.php'); +// }else{ +// print ""; +// } + } +} + +//Торговая улица +elseif($user['room']==2702) { + if ($_GET['level4']) { + header('location: city.php?cp=1'); + } + if ($_GET['level2']) { +// if($user['login'] == 'Satan'){ + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '402',`online`.`room` = '402' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: lab_chaos_enter.php'); +// }else{ +// print ""; +// } + } +} + + elseif($user['room']==26) { + // Strashilka + // strelka cp + if ($_GET['level4']) { + header('location: city.php?cp=1'); + } + if ($_GET['got'] && $_GET['level5']) { + // print ""; + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '43',`online`.`room` = '43' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: znahar.php'); + + } + if ($_GET['got'] && $_GET['level7']) { +// print ""; + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '777',`online`.`room` = '777' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: obshaga.php'); + + } + if ($_GET['got'] && $_GET['level3']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2601',`online`.`room` = '2601' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: city.php?zamk=1'); + } + + + if ($_GET['got'] && $_GET['level11']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '42',`online`.`room` = '42' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + header('location: lotery.php'); + } + if ($_GET['got'] && $_GET['level6']) { + // mysql_query("UPDATE `users`,`online` SET `users`.`room` = '110',`online`.`room` = '110' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + // header('location: jackill.php'); + print ""; + } + //if ($_GET['got'] && $_GET['level5']) { + //mysql_query("UPDATE `users`,`online` SET `users`.`room` = '401',`online`.`room` = '401' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + //header('location: hell.php'); + //} + + } + /*if ($_GET['level7'] OR $_GET['strah']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '21',`online`.`room` = '21' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + $user['room'] = 21; + } + if ($_GET['level8'] && $_GET['strah']) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '20',`online`.`room` = '20' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + $user['room'] = 20; + }*/ +?> + + + + + + + + + + + + + + + + + + +
    \"{$des}\""; + } + function buildset1($id,$img,$top,$left,$des) { + //$imga = ImageCreateFromGif("i/city/sub/".$img.".png"); + #Get image width / height + //$x = ImageSX($imga); + //$y = ImageSY($imga); + unset($imga); + echo "
    \"{$des}\"
    "; + } + if ($user['room'] == 20) { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'vesna_cap_cp_day'; + $sneg = 'snow_transp'; + + } else { + $sneg = 'snow_transp'; + $fon = 'vesna_cap_cp_night'; + + } + echo "
    \"\""; + buildset(222,"snow_transp",30,235,"Снег"); + buildset(1,"vesna_cap_club",30,235,"Бойцовский Клуб"); + buildset(2,"vesna_cap_shop",202,171,"Магазин"); + buildset(3,"vesna_cap_kom",205,105,"Комиссионный магазин"); + buildset(4,"vesna_cap_rem",202,290,"Ремонтная мастерская");; + buildset(24,"vesna_cap_statue",222,365,"Памятник Меру Города"); + buildset(5,"2pm",210,430,"Памятник"); + buildset(6,"vesna_cap_po4ta",180,540,"Почта"); + buildset(7,"arr_right_png",260,710,"Страшилкина Улица"); + buildset(222,"cp_u2_png",180,650,"Торговая улица"); + buildset(8,"arr_left_png",258,21,"Большая парковая улица"); + buildset(12,"vesna_cap_berezka",205,435,"Березка"); + buildset(11,"vesna_cap_loto",230,615,"Лотерея Сталкера"); + buildset1(9,"tree2",133,325,"Новогодняя елка"); + buildset(14,"sneg_3",210,400,"Снеговик"); + buildset(111,"vesna_cap_stella",260,530,"Доска объявления"); + + + echo "
    "; + } + //buildset(9,"fir",137,235,"Новогодняя елка"); + elseif ($user['room'] == 21) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'vesna_cap_strash_day'; + } else { + $fon = 'vesna_cap_strash_night'; + } + echo "
    \"\""; + buildset(5,"vesna_cap_bank",180,485,"Банк");; + buildset(2,"vesna_cap_registratura",170,113,"Регистратура кланов"); + buildset(7,"vesna_cap_tower",5,315,"Башня смерти"); + buildset(16555,"tree_png",165,20,"Дерево"); + buildset(3,"arr_right_png",255,708,"Ристалище"); + //buildset(3,"2strelka",250,720,"Берег залива"); + buildset(6,"vesna_cap_flowershop",220,613,"Цветочный магазин"); + buildset(4,"arr_left_png",258,21,"Центральная площадь"); + //buildset(22,"obshga",150,630,"Общежитие"); + echo "
    "; + } + elseif ($user['room'] == 26) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'vesna_cap_park_day'; + } else { + $fon = 'vesna_cap_park_night'; + } + echo "
    \"\""; + + + buildset(6,"cap_gate",170,340,"Городские ворота"); + buildset(444,"vesna_cap_vokzal",163,43,"Вокзал"); + buildset(5,"vesna_cap_znah",195,538,"Хижина Знахаря"); + buildset(20,"vesna_cap_2sk",249,416,"Средняя скамейка"); + buildset(18,"vesna_cap_3sk",250,630,"Большая скамейка"); + buildset(20,"vesna_cap_1sk",228,490,"Маленькая скамейка"); +// //buildset(7,"ava_vokzal",160,235,"Общежитие"); + //buildset(11,"loto_stalkers",240,160,"Лотерея Сталкеров"); + buildset(3,"arr_left_png",259,27,"Замковая площядь"); + buildset(4,"arr_right_png",259,715,"Центральная площадь"); + echo "
    "; + } + + + elseif ($user['room'] == 2601) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'vesna_cap_park_day'; + } else { + $fon = 'vesna_cap_zamk_night'; + } + echo "
    \"\""; + buildset(21,"vesna_cap_lavka",240,425,"Храмовая лавка"); + buildset(10,"ava_post",240,300,"Сувенирный магазинчик"); + buildset(1,"vesna_cap_ruins",166,48,"Руины Старого замка"); + buildset(5,"vesna_cap_lab",130,327,"Вход в Лабиринт Хаоса"); + buildset(44,"vesna_cap_hram",173,550,"Храм Древних"); + buildset(227,"arr_left_png",258,21,"Арена Богов"); + buildset(4,"arr_right_png",260,710,"Большая парковая улица"); + echo "
    "; + } + + elseif ($user['room'] == 2111) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'vesna_cap_bg_d2'; + } else { + $fon = 'vesna_cap_bg_n2'; + } + echo "
    \"\""; + buildset(1,"cap_rist_arr_left",240,30,"Страшилкина Улица"); + buildset(2,"stop_png",245,708,"Проход закрыт"); + //buildset(4,"av_zaliv_svet",200,260,"Храмовая Лавка"); + //buildset(5,"av_zaliv_tma",175,570,"Храм Древних"); + buildset(14,"vesna_cap_rist_solo",210,160,"Вход в Одиночные сражения"); + buildset(5,"vesna_cap_rist_group",243,340,"Вход в Сражение отрядов"); + buildset(16,"lord_castle",110,310,"Замок Лорда Разрушителя"); + buildset(16555,"vesna_cap_rist_monstr",145,570,"Вход в Груповые сражения"); + //buildset(21,"angelscastle",131,628,"Замок Мэра Города"); + + $laikas = mysql_result(mysql_query("SELECT `bochka` FROM `users` WHERE `id` = '{$user['id']}'; "),0); + if (!isset($laikas)){ + $laikas=time()-60*60*4; + mysql_query("UPDATE `users` SET `bochka`='".$laikas."' WHERE `id` = '{$user['id']}'; "); + } + if ($_SESSION['usebochka']=='1'&&$laikas<=time()-60*60*4){ + $laikas=time(); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."' WHERE `id` = '{$user['id']}'; "); + $_SESSION['usebochka']='0'; + $bon=mt_rand(1,4); + if ($bon==1){ + $kr=mt_rand(1,25); + if($kr>=15) { + $kr1=mt_rand(16,25); + if($kr1>=20) { + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr1.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr1 WHERE `id` = '{$user['id']}'; "); + } + else { + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr1.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr1 WHERE `id` = '{$user['id']}'; "); + } + } + else{ + addchp ('Внимание! В принесенной бочке Вы нашли '.$kr.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `money`=`money`+$kr WHERE `id` = '{$user['id']}'; "); + } + } + elseif ($bon==2){ + $doblest=mt_rand(1,75); + if($doblest>=40) { + $doblest1=mt_rand(41,75); + if($doblest1>=60) { + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest1.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+'$doblest' WHERE `id` = '{$user['id']}'; "); + } + else { + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest1.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+$doblest WHERE `id` = '{$user['id']}'; "); + + } + } + else{ + addchp ('Внимание! В принесеной бочке Вы нашли '.$doblest.' оч.репутации. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `users` SET `bochka`='".$laikas."', `doblest`=`doblest`+$doblest, `reputation`=`reputation`+$doblest WHERE `id` = '{$user['id']}'; "); + } + } + elseif ($bon==3){ + $rom=mt_rand(1,75); + if($rom>=40) { + $rom1=mt_rand(41,75); + if($rom1>=60) { + addchp ('Внимание! В принесеной бочке Вы нашли странный сосуд... ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("INSERT INTO `inventory` (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`magic`,`otdel`, `isrep`) + VALUES ('5900400','{$_SESSION['uid']}','Бутыль старого пирата','51','1','5','rom.gif',1,'555','188','0') ;"); + } + else { + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + else{ + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + else{ + addchp ('Внимание! Ничего, кроме не нужных водорослей, Вы не нашли... ','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + elseif ($laikas<=time()-60*60*4){ + buildset(3,"bochka",300,270,"Бочка"); + } + + //buildset(21,"angelscastle",131,628,"Замок Мэра Города"); + echo "
    "; + } + + elseif ($user['room'] == 2701) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'av_arena_bg1_day2'; + } else { + $fon = 'av_arena_bg1_day2'; + } + echo "
    \"\""; + + buildset(1,"3strelka",260,30,"Берег Залива"); + buildset(2,"shar_dark",234,356,"Лабиринт Хаоса"); + buildset(3,"2stop",260,720,"Проход закрыт"); + echo "
    "; + } + //Торговая улица + elseif ($user['room'] == 2702) + { + if((int)date("H") > 5 && (int)date("H") < 22) { + $fon = 'vesna_cap_torg_day'; + } else { + $fon = 'vesna_cap_torg_night'; + } + echo "
    \"\""; + + buildset(14,"vesna_cap_build1",175,70,"Арендная лавка"); + buildset(5,"vesna_cap_fontan",210,350,"Фонтан удачи"); + buildset(16,"t_build42",120,300,"Аукцион"); + buildset(16555,"vesna_cap_build3",155,480,"Прокатная лавка"); + buildset(21,"vesna_cap_build2",150,565,"Ломбард"); + buildset(4,"cap_rist_arr_left",259,25,"Центральная площадь"); + buildset(3,"stop_png",259,720,"Проход закрыт"); + echo "
    "; + } + ?> + = 19 && $user['room']==20 || (int)date("H") >= 0 && (int)date("H") < 5 && $user['room']==20) { + $ms_cit=array('Вечер, звёзды... разбойник за каждым углом...', + 'Говорят, ночью тут вампиры гуляют...', + 'Темно, страшно, даже паладинов не видно...' + ); +echo "".$ms_cit[rand(0, 2)].""; +?> + + + +
    + + +
    +
    + + + + + diff --git a/i/city/sub/clans_reg_png2.png b/i/city/sub/clans_reg_png2.png new file mode 100644 index 0000000..e861e94 Binary files /dev/null and b/i/city/sub/clans_reg_png2.png differ diff --git a/i/city/sub/cp_avalon_city_day.jpg b/i/city/sub/cp_avalon_city_day.jpg new file mode 100644 index 0000000..4d2ae14 Binary files /dev/null and b/i/city/sub/cp_avalon_city_day.jpg differ diff --git a/i/city/sub/cp_hostel.gif b/i/city/sub/cp_hostel.gif new file mode 100644 index 0000000..6cf99ef Binary files /dev/null and b/i/city/sub/cp_hostel.gif differ diff --git a/i/city/sub/cp_hostel.png b/i/city/sub/cp_hostel.png new file mode 100644 index 0000000..6cf99ef Binary files /dev/null and b/i/city/sub/cp_hostel.png differ diff --git a/i/city/sub/cp_hostel2.png b/i/city/sub/cp_hostel2.png new file mode 100644 index 0000000..6cf99ef Binary files /dev/null and b/i/city/sub/cp_hostel2.png differ diff --git a/i/city/sub/cp_hosteln.gif b/i/city/sub/cp_hosteln.gif new file mode 100644 index 0000000..3487e77 Binary files /dev/null and b/i/city/sub/cp_hosteln.gif differ diff --git a/i/city/sub/cp_libshop.gif b/i/city/sub/cp_libshop.gif new file mode 100644 index 0000000..f5b11cc Binary files /dev/null and b/i/city/sub/cp_libshop.gif differ diff --git a/i/city/sub/cp_libshopn.gif b/i/city/sub/cp_libshopn.gif new file mode 100644 index 0000000..f5b11cc Binary files /dev/null and b/i/city/sub/cp_libshopn.gif differ diff --git a/i/city/sub/cp_portal.gif b/i/city/sub/cp_portal.gif new file mode 100644 index 0000000..a3d8461 Binary files /dev/null and b/i/city/sub/cp_portal.gif differ diff --git a/i/city/sub/cp_portaln.gif b/i/city/sub/cp_portaln.gif new file mode 100644 index 0000000..a3d8461 Binary files /dev/null and b/i/city/sub/cp_portaln.gif differ diff --git a/i/city/sub/cp_u2_png.png b/i/city/sub/cp_u2_png.png new file mode 100644 index 0000000..f020b13 Binary files /dev/null and b/i/city/sub/cp_u2_png.png differ diff --git a/i/city/sub/cp_u2_png2.png b/i/city/sub/cp_u2_png2.png new file mode 100644 index 0000000..75d85e9 Binary files /dev/null and b/i/city/sub/cp_u2_png2.png differ diff --git a/i/city/sub/cp_zooshop.gif b/i/city/sub/cp_zooshop.gif new file mode 100644 index 0000000..94d6f63 Binary files /dev/null and b/i/city/sub/cp_zooshop.gif differ diff --git a/i/city/sub/cp_zooshopn.gif b/i/city/sub/cp_zooshopn.gif new file mode 100644 index 0000000..94d6f63 Binary files /dev/null and b/i/city/sub/cp_zooshopn.gif differ diff --git a/i/city/sub/euroshop.gif b/i/city/sub/euroshop.gif new file mode 100644 index 0000000..b14e5e0 Binary files /dev/null and b/i/city/sub/euroshop.gif differ diff --git a/i/city/sub/euroshop.png b/i/city/sub/euroshop.png new file mode 100644 index 0000000..1f9bf4d Binary files /dev/null and b/i/city/sub/euroshop.png differ diff --git a/i/city/sub/euroshop2.png b/i/city/sub/euroshop2.png new file mode 100644 index 0000000..f52811c Binary files /dev/null and b/i/city/sub/euroshop2.png differ diff --git a/i/city/sub/euroshopn.gif b/i/city/sub/euroshopn.gif new file mode 100644 index 0000000..b14e5e0 Binary files /dev/null and b/i/city/sub/euroshopn.gif differ diff --git a/i/city/sub/fir.gif b/i/city/sub/fir.gif new file mode 100644 index 0000000..6d5d288 Binary files /dev/null and b/i/city/sub/fir.gif differ diff --git a/i/city/sub/firn.gif b/i/city/sub/firn.gif new file mode 100644 index 0000000..6d5d288 Binary files /dev/null and b/i/city/sub/firn.gif differ diff --git a/i/city/sub/fl_shop_png2.png b/i/city/sub/fl_shop_png2.png new file mode 100644 index 0000000..b084607 Binary files /dev/null and b/i/city/sub/fl_shop_png2.png differ diff --git a/i/city/sub/flower_shop.gif b/i/city/sub/flower_shop.gif new file mode 100644 index 0000000..56b5e13 Binary files /dev/null and b/i/city/sub/flower_shop.gif differ diff --git a/i/city/sub/flower_shop.png b/i/city/sub/flower_shop.png new file mode 100644 index 0000000..bc35882 Binary files /dev/null and b/i/city/sub/flower_shop.png differ diff --git a/i/city/sub/flower_shop2.png b/i/city/sub/flower_shop2.png new file mode 100644 index 0000000..795b8dd Binary files /dev/null and b/i/city/sub/flower_shop2.png differ diff --git a/i/city/sub/flower_shopn.gif b/i/city/sub/flower_shopn.gif new file mode 100644 index 0000000..56b5e13 Binary files /dev/null and b/i/city/sub/flower_shopn.gif differ diff --git a/i/city/sub/fon.jpg b/i/city/sub/fon.jpg new file mode 100644 index 0000000..3511fc2 Binary files /dev/null and b/i/city/sub/fon.jpg differ diff --git a/i/city/sub/fontan.png b/i/city/sub/fontan.png new file mode 100644 index 0000000..640a992 Binary files /dev/null and b/i/city/sub/fontan.png differ diff --git a/i/city/sub/gotik.gif b/i/city/sub/gotik.gif new file mode 100644 index 0000000..f155b8a Binary files /dev/null and b/i/city/sub/gotik.gif differ diff --git a/i/city/sub/gotikn.gif b/i/city/sub/gotikn.gif new file mode 100644 index 0000000..f155b8a Binary files /dev/null and b/i/city/sub/gotikn.gif differ diff --git a/i/city/sub/gshop_png2.png b/i/city/sub/gshop_png2.png new file mode 100644 index 0000000..780447f Binary files /dev/null and b/i/city/sub/gshop_png2.png differ diff --git a/i/city/sub/hell_en.png b/i/city/sub/hell_en.png new file mode 100644 index 0000000..02fb094 Binary files /dev/null and b/i/city/sub/hell_en.png differ diff --git a/i/city/sub/hell_en2.png b/i/city/sub/hell_en2.png new file mode 100644 index 0000000..b31bd66 Binary files /dev/null and b/i/city/sub/hell_en2.png differ diff --git a/i/city/sub/hram_png.png b/i/city/sub/hram_png.png new file mode 100644 index 0000000..a080be8 Binary files /dev/null and b/i/city/sub/hram_png.png differ diff --git a/i/city/sub/hram_png2.png b/i/city/sub/hram_png2.png new file mode 100644 index 0000000..ce06b9f Binary files /dev/null and b/i/city/sub/hram_png2.png differ diff --git a/i/city/sub/index.php b/i/city/sub/index.php new file mode 100644 index 0000000..e69de29 diff --git a/i/city/sub/kanal.gif b/i/city/sub/kanal.gif new file mode 100644 index 0000000..c7e349f Binary files /dev/null and b/i/city/sub/kanal.gif differ diff --git a/i/city/sub/kanal.png b/i/city/sub/kanal.png new file mode 100644 index 0000000..c7e349f Binary files /dev/null and b/i/city/sub/kanal.png differ diff --git a/i/city/sub/kom_png2.png b/i/city/sub/kom_png2.png new file mode 100644 index 0000000..ad9b410 Binary files /dev/null and b/i/city/sub/kom_png2.png differ diff --git a/i/city/sub/lab_png2.png b/i/city/sub/lab_png2.png new file mode 100644 index 0000000..725e58f Binary files /dev/null and b/i/city/sub/lab_png2.png differ diff --git a/i/city/sub/lavka_png2.png b/i/city/sub/lavka_png2.png new file mode 100644 index 0000000..fd56882 Binary files /dev/null and b/i/city/sub/lavka_png2.png differ diff --git a/i/city/sub/liuk.gif b/i/city/sub/liuk.gif new file mode 100644 index 0000000..59d6a03 Binary files /dev/null and b/i/city/sub/liuk.gif differ diff --git a/i/city/sub/liuk.png b/i/city/sub/liuk.png new file mode 100644 index 0000000..59d6a03 Binary files /dev/null and b/i/city/sub/liuk.png differ diff --git a/i/city/sub/liuk2.png b/i/city/sub/liuk2.png new file mode 100644 index 0000000..59d6a03 Binary files /dev/null and b/i/city/sub/liuk2.png differ diff --git a/i/city/sub/liuk_n.gif b/i/city/sub/liuk_n.gif new file mode 100644 index 0000000..a37a792 Binary files /dev/null and b/i/city/sub/liuk_n.gif differ diff --git a/i/city/sub/liuk_n.png b/i/city/sub/liuk_n.png new file mode 100644 index 0000000..a37a792 Binary files /dev/null and b/i/city/sub/liuk_n.png differ diff --git a/i/city/sub/lmbrd_png2.png b/i/city/sub/lmbrd_png2.png new file mode 100644 index 0000000..037373e Binary files /dev/null and b/i/city/sub/lmbrd_png2.png differ diff --git a/i/city/sub/lord_castle.png b/i/city/sub/lord_castle.png new file mode 100644 index 0000000..62cefd2 Binary files /dev/null and b/i/city/sub/lord_castle.png differ diff --git a/i/city/sub/lord_castle2.png b/i/city/sub/lord_castle2.png new file mode 100644 index 0000000..038732a Binary files /dev/null and b/i/city/sub/lord_castle2.png differ diff --git a/i/city/sub/loto.gif b/i/city/sub/loto.gif new file mode 100644 index 0000000..739f103 Binary files /dev/null and b/i/city/sub/loto.gif differ diff --git a/i/city/sub/loto_png2.png b/i/city/sub/loto_png2.png new file mode 100644 index 0000000..8091eef Binary files /dev/null and b/i/city/sub/loto_png2.png differ diff --git a/i/city/sub/loto_stalkers.gif b/i/city/sub/loto_stalkers.gif new file mode 100644 index 0000000..2946338 Binary files /dev/null and b/i/city/sub/loto_stalkers.gif differ diff --git a/i/city/sub/loto_stalkers.png b/i/city/sub/loto_stalkers.png new file mode 100644 index 0000000..ec82f9b Binary files /dev/null and b/i/city/sub/loto_stalkers.png differ diff --git a/i/city/sub/loto_stalkers2.png b/i/city/sub/loto_stalkers2.png new file mode 100644 index 0000000..f77cc93 Binary files /dev/null and b/i/city/sub/loto_stalkers2.png differ diff --git a/i/city/sub/loto_stalkersn.gif b/i/city/sub/loto_stalkersn.gif new file mode 100644 index 0000000..2946338 Binary files /dev/null and b/i/city/sub/loto_stalkersn.gif differ diff --git a/i/city/sub/loton.gif b/i/city/sub/loton.gif new file mode 100644 index 0000000..739f103 Binary files /dev/null and b/i/city/sub/loton.gif differ diff --git a/i/city/sub/nprokat_png.png b/i/city/sub/nprokat_png.png new file mode 100644 index 0000000..f4f5412 Binary files /dev/null and b/i/city/sub/nprokat_png.png differ diff --git a/i/city/sub/nprokat_png2.png b/i/city/sub/nprokat_png2.png new file mode 100644 index 0000000..6ef2f7c Binary files /dev/null and b/i/city/sub/nprokat_png2.png differ diff --git a/i/city/sub/obrzi.gif b/i/city/sub/obrzi.gif new file mode 100644 index 0000000..f5b11cc Binary files /dev/null and b/i/city/sub/obrzi.gif differ diff --git a/i/city/sub/obshga.png b/i/city/sub/obshga.png new file mode 100644 index 0000000..6cf99ef Binary files /dev/null and b/i/city/sub/obshga.png differ diff --git a/i/city/sub/obshga2.png b/i/city/sub/obshga2.png new file mode 100644 index 0000000..6cf99ef Binary files /dev/null and b/i/city/sub/obshga2.png differ diff --git a/i/city/sub/obshga22.png b/i/city/sub/obshga22.png new file mode 100644 index 0000000..6cf99ef Binary files /dev/null and b/i/city/sub/obshga22.png differ diff --git a/i/city/sub/opt.gif b/i/city/sub/opt.gif new file mode 100644 index 0000000..629b054 Binary files /dev/null and b/i/city/sub/opt.gif differ diff --git a/i/city/sub/optn.gif b/i/city/sub/optn.gif new file mode 100644 index 0000000..629b054 Binary files /dev/null and b/i/city/sub/optn.gif differ diff --git a/i/city/sub/park_avalon_city_day2.jpg b/i/city/sub/park_avalon_city_day2.jpg new file mode 100644 index 0000000..d2dba31 Binary files /dev/null and b/i/city/sub/park_avalon_city_day2.jpg differ diff --git a/i/city/sub/po4ta_png2.png b/i/city/sub/po4ta_png2.png new file mode 100644 index 0000000..cad71bb Binary files /dev/null and b/i/city/sub/po4ta_png2.png differ diff --git a/i/city/sub/rem_png2.png b/i/city/sub/rem_png2.png new file mode 100644 index 0000000..fa4dda5 Binary files /dev/null and b/i/city/sub/rem_png2.png differ diff --git a/i/city/sub/remont-padgon.gif b/i/city/sub/remont-padgon.gif new file mode 100644 index 0000000..2dfa4c3 --- /dev/null +++ b/i/city/sub/remont-padgon.gif @@ -0,0 +1,421 @@ +GIF89aч +E™ё¬Є—ёИёµ«™¦ЄийЩOwЁDBBweSЙєЄSA5«¦˜RdvПЪй4@QФиЫНОЦЄКМf€§“I(3„‰§є5`“‡˜§ШЙ©eњF‡€‡ОS-ёМЦTў˜љ¦ЛЁЁЅqkx–¦т:Xc—»ёЄ˜Xx™№Ё‰uљ№ЪЧєТƜԘ’№ШЩWVWзщщЉ›ґ€¶ИЄЙЩeYЊnPb„¬ЖЁvNМЗ©КЄѓр00u‹¦иШї˜Ё—y¦ї­†[Ed›«¶Є‚YJVg™—–ѓGg€iyў€–˜Љ¦Єр_†›ѓњ№ЧЛё­·№·™™·ёYh†kищк[v€›·¬Шј™CHVe®/Щ·†/ +ШєЁљЖКXIB‰‰˜•њґК¬–©¦€—@o–Љ‡зђµ[UFєџ{FTZЫ©ЅЪ№є‘†^ЛµЉ ‹ў€‡¦–­ГљјУЙЧєЧ©Ёf‹і€•‰:$№Чз)+Gu™Ы–§Л¬№i”©јЁЙ$8ЪЧ«9µЬ¬„ё¶‰ЎT|дН”m@УКЭ^c^V„ ¬µљ¬ЦЦz^:ииАC=«IBДхзЊµ»Њ»Т"ZЎызw †[D^ҐЅСУ¦›·›А@dHRI:^}µЁЩтІ1Гза­ЦК 3dќОООЖЖЖµµµззз­­­ЦЦЦЅЅЅЕООООЕОЖЖЖЖО­­¤­ҐҐ¤­­ҐҐ®зппµµѕЮЮЮзпжПЖОїµµЕОДіЅЅУЮЮїµЅЅЅµ¤­ЈЇҐЇЮЮТЮЦСззпіЅіЦЦЮУЮТдпчжЮаЮЦЮ{ҐњJsЊВёЫsЊµ­µЊzЕwЅµзбЂ„яО! †\=Ґ­ЖҐҐҐаааЗЗЗ!щ +JґЁСЈџ№гІЌй3¤PЈJќJµЄХ«X>;ф¤kЧyOіЉK¶¬ЩіhУъу–`Ђ[·BXуgmЮ”)Д8J8ўgm‚ +!М¦˜яPЁзT“#•¶SҐ#N”иЋЇ М…wЊa"ћw”Aз4"ћгВЋ<јзґФVk­Zґ +`#.Вё“¦[˜2h!ЂЛ–°PҐ”њ«’\!еЋ°\‘ЕєЋ й€  +††–!в—GdЎ#x¶KC:рёcKҐ\xіо[ґ% hИ(n+\,мП…•>Б…ЃiZу.‡TъГµ,·мтЛCMёЌ:»С°©#^НісcTЩ +‹wшЃ. »>ЁГ*oѓ§­d@•ёмЉо[A>C).­H‚KҐМ`ф +ї;П6ќ¶в‡ЏBЂc#,r|Ў#›V=$ПX+о—mab6,Ѓаr‡:hTє[оЮ¬ЎЫ®<дЦ*)cТєКeћІ|«•XшхШgЇ}DґЭ±ж@иь8#‹ј+f+П|{eЉґµыржкHJB«бјЁҐ#ќ‹aЁ#`с»8Рђ¦F$odМRк l&%Са[§›ШТ¤Ґ ЄU +Dџ’…>Ј„иЖ;яр”р 0HАё" o”PаГG)Rшѓ2Ьб:lEћ u<р ­ќ?Pђ +?„E‘sСЛhоВ—єГ‰ь¤:FiMD/кpЗ;"Й?МM ‹ґд].3BР Ж(І›SBIKт2ђ¤д(ЭAѓєА”…L¦2—ЙМ›°§h¦4§IНjъd7ЦМ¦6·ЙНnzу›а §8ЗIОrљуњиL§:ЧЙОvєуќрЊ§<зIПzЪућшМ§>чЙяП~ъуџ +Ё@JР‚ф MЁBКР†:фЎЌЁD'JСЉZ4)†ЙЁF7КСЋzфЈ +©H5ЄОnDѓ·AйISКТ•єTҐ0miL_*УљТф¦3Н©MuЉУќъґ§@е©P:Ф хЁFMjQ—ЉT¦*µ©P}ЄTќJХЁVuЄVН*V·ЄТ“6г«` +«XЗJЦІљх¬hMkXЇКV­¶•«nЌлS +µЪх®xН«^чКЧѕъхЇЂ +¬`KШВц°€M¬bхъg„ ЏЌ,d'+ЩКRцІ–Н,f7«ЩОr¶ТX¬hGKZІ2ѓ®яH­jWЛЪЦєцµ°Ќ­lgKЫЪяЪц¶ёН­nwЛЫЮъц·А +®p‡KЬХаЕM®rS+Ќ~8ч№РЌ®t§KЭкZчєШ…оW—ыf +юB АNрrй{аФ~Ч·ТИ¦Ўа +»ЦЩu.4®ЃЌkl±€C<^эт·А +†А9ж@O8 ·ы +@5,ЮФzЧї«mF5љ ХѕЧѕяµplУ«ђn”˜µФ Ђ +–ЬѓАҐшMп{OЉЯч¦VКМђ2o©Б Ѓ +E°ВЅ Ѓэ6Шј1>рЂm|ап‚7яИАeFЮрe6PАаЇЊУe2?шynFћ»{_ט̇v3›Чмg8'8 +Ё3˜)АжAШ»QюxХlа=wWС—~рЂ! +Ьа-Xѓ + +юQЋфњ_„ЕҐЎ +О§ + +e`Г +0rа d`„° ёG[Ф +Ђ ѕА TpЃ@°bsр pФАЋ5Ђ„jАѕ@ щm0/@р1`рй8ЌтHђЄ·ААЋuXs°v^ q fЋ‰o8б0‡EРЌb™ђlяЧ ЂЋрбiЗАђs0ђШИ м8 +H(,™ђѕ н ЂlP‘АpЌbрђОP”I¦rЁ +Н` +a,vЃxP€ј`’р”!p€ь(ьш]щ«Е‘ +™° +C0°v{АЋj Ђа‘УАнvЋЙ{5P‘^аZйrи `!™ +„№јзsш©Yц[Н…]ЧpЌЛЂoмЁ„iЁoHXziмшeTk·vTРHh +:0ј@Ш™HxЉрoP‘jя˜aЫе[ y‰че- +ЂЌпе· —Фђ Р_Рб№ +Г@Мр +0 PЊн tV@Њ¦ †Ђ +K A@ +`х€[јv€jч›№€–Й)p zЙ/@Ђxhђ‘1ђ  +˜Аp а“``џ(*° +—I€ +©OY¦‹€ўаu +’Lяђ ’шz™АbIS§`,© °§@ +ј0 ’Ђ +НЖђЄр ®Й +-Ђ‘/    +l@ђLЂми&p™Рp™,р–p +Ґ Чh +рNv±J˜@ + PqЂv„J IЇ—Щп*–А! а8Х°vg +0Тђ m7g5 ‘€`°Т’)0ј0ђЁ k2 јђ¬ї„Ч +I° +мx+ы2ђ ІЂ +~я„i +2 +ј иа)0^Ф`‡L0бYP +џєр–зРlљ† ЮИ ё +„JW н0„ J'U`ЕAzЛИ +•ъh ›©Xщeз ~Й—Нf Ж fjЂw0•5а +x9«‰®!Щ{к€ШёЋѓА +ЩљҐ\Љў \‘&°/А˜І0ђ«ѓЂ№ ч(Ш7 /P.Г2ь*ш­©Е‘Іаґзи ‰лё€{*К®1|Ѓ:Ћф’\ГвАЎ•ЙЎ$ژ0` °Ћ/p—‰Њљk7•IЄЂH€(jј„‰y№ !)јЗїЂwј‰nЦх›,ЛaГ џІ 8 +щ№ ўЙМщ¦АaХ)мяh +мИ ЕИ8›ҐL +‰}А `jkЭз +#рЃWvА§ +рuђ|›ЂОpЃ"@(Єg'сЫ к‰Л Й»јГејvЫw®Lю¬ HH ќ° +Т`ВеАx‰ЅШы’KP +0&рѕP ҐY јЖ/ + *|‡yv\єvлљйZҐШ˜‘єђ‘^Ђ+@wА…ІЦ5„yЬ/ыuz +Аk +(* @˜і°ИШЂ +4{ +ј‹ь†јЂіE + Х мЄ +с{±ѓM˜O,”SРlќ ДG~эйr№ЬР1W˜TјЇ,чRp`j:ђрkЂ» +щ  ° Џ‹µ©’»•Н‹¬х.°ђЂ +V @=ђr–`ЈА +T` В€ @ААјІЕkЄ’Рjј_цДѓ°(0 jр /°‰В»€‡А±Ѕ€>®[Мр†Рл¦ЛА/а *@џY§.©ьЧґщю;В.Gѓ +Рn’Ё(КЌ/ЂЪї¬˜/`Р#̘”Va™i‘БvЃУ0g95рДjnГяя@џьЫo0и +Ж‘Аzj·—љи˜цyЏ#њ—ЂЇP +Ъ +0В а€јоJg y.‘]ђ‘и-„єѕ ~nѕ АРзb,ї.Ж‡]ђЂЛl\І№ ҐрЛбYK`nЩu +ЪІ‹| + +02\i`Ґмц/ +вp_ эђЬ +еРuяаОа +jь—бе·¤МP +ЋЗзЗ,gП/V +ЬАч*' +з'{Ѓч +~їЙ0&dG +®¬ +А +Ц ,Ђ)ачяЂш7(вЕ +г%чy +Mаr˜я}§ЧьЌeбч3Ж +О/шЭeўяЬp~uЯюЋoa_µыУЖь—w)Ач ЂR +HcQ‘‹f?oц„Р,? @я-eЪФйУ¦ОъMҐZХjЄ3љМёЦЇ #РBи[f$DѓІ°aќЉm-ќ&Ч°5 1Гk“»ЩъХХсХИV«Ѓ«6ѓZШ0Уjд0$]ZMcJhOІ ¶'ФљЕАЇ&SЉя0ЛHXґгfV:yЁ’)3‹[ь«цЏя7У щ)$hпЗKA¦Ши љйГЙ›1уЧЬщуn†™MџюљєJЧ+—N‡ЂЭuхдЙ™ХvJЅцшЧд§W^щ}вJтбе—?.“/ +М Xџ®ћµп¶ +0ЖБXa ‡bXВØ +˜r ‰pe6jA€Oј~ёD…4рЛlb$-Ђ&>ZаІ%е.IЊIfЇќC%клРйuU©K%]"№ёB#8Уzp¦й‰Tгю¬M)†‚ў‚+ЊI#йТ_оa”еP_єТ7И!ЧР(z)…°&Б”Ёћ"t +I4яЈ1%9Њ +шУ­Lеlg=wTЊСОіЈ%нЯґ1‹^ЖA0Ґ.{ѓI6в +J]dХ›ёБ*{ђY9aP9•лGЎ ѕЧ*ЭБ'°I і„И +ЭAn°DvЈЧ`$HэйZWJ +Ўа†!j7pўup]"&bРp#"QЃ@ДШВ$Ња6sp8:ёБ/ТРЛW`Ј° +±ЃЩцЂі-Ж&а ЈЧўNґY\Ѓ&а‘я°сЪр€H4Q<фo•I«Я¤ZYЛEН†3є2cgЄЛОЂA`€Qp#§Ёh!Нз g`° +ѓкЯ5єьґ8gcМР3UІ‘ыҐ`R…s[Ъ +;&u)TNMj\г:Ф№жugЭiЧ™Гfю¶ЎЬЦkd[yЧЙЦ`}НlhG[ЪГ[цґїј˜г—іц§НaЂDњ!ЦЭ&wлЄ]озe +р +2Pб$шїэ +рN'њЯї« э"Ћp&ЉЂ/8Н>pрЩU‘·пф‡ +ьн{c·КВ->їЋ«ъѓFЉтЏ§Шућ№_pЉoњN4У№К8о‚ѓ”ш ъќr|›ЃиЮЮ№©О‡ЂСЖ]ђ +јпгЂ@ +°°Ј@.bјГJТ +€…°P :x„ ‚сЄ +ШѓМЃ +HѓHЕD8В(†CLД= *yЂЃY+ў3±”B Hу7°Yђ­ЦЫ‹+Ф?‚5и+ДD€yў$1;Ж!Є&JRЂ ѓђЖ)ш0( +и`ВhољўыЖpФЗ5ґQЁҐYsЬЗЁ‚ђK +HВаѓйЩЃ#ЄC xЂ `C*˜ВЂ·c¤‚jPФAзЙA›€* +}„Љъѓb;эСLїґЃbPВ6X7+`@"ШG?м;(Ђ$шє)Ш·к +ђН)„‚Z(Ђ‘’#Н©Aм +xЎЦ·њ¤6ЩЙІХQМЃ3X€>°„гzЎQ`@ёҐ#<Ђ`M9|;Ђ +xЅўњ„ +и +ё +R Ќ*н +`У8иT™lЁ$XM9#ЂT…Ґ‚шDЧ, +јў рF:рРOpTЭвI°*‡—M" M„Х°ѕМ5й| +Pя»,F&ь4 +˜к CKв]ypIыЩµЛ9 +рГI4ZШ¤3Ѓ~Hv$;U PB$„Џ$__Њ8”Нќ“-аЪЙ.ФsЂѓыc"  +Ѓц‰ах +P„!#AHЮ«° +Uѕљ‰Ґ +лGµЃIР-:‚б +€"m0Ђ + ѓ6ЃP·&І° +ђ°љk +ЕcA8ѓ)°'"†0‡Ё`'ља?h8ШЂ&86l°в˜Ѓѓ 6°Ж”/A°ЃВ["b1 +dQ`9ІJ(Шa¬±:ІE +d±.TРд9 іЃ ш[&ЫЧ5:>bЁ +<ѓЅ0.фв +У‹Ю‡pў@…оьбА + ЃЮб +h¦eK˜„E°>Ep¬kђЂjЦМD`®QQ#з”Е юQ¬q:Dѓ†CгљЂЛ7њAБ +ў9˜# „S Ђѓj‰ы“Лk?s:Ї‹вoч¦8вѕAЦЋoh3ЇSШJ Г:JdН‹·Ф +X•7 ЙrpХџЙь°ЁEј\D ђ +…ђ»5ГJЕТД6ђ-J•мЮ-‡¤L#(€§|д°s,ўR^·зrг­%lЭ‚ 0=V  +P"˜TЌU• +Pо5Ѕ®u0 +ш°‰їшdіxЅЧІQ//ЁmCуJЕ}Ґћй +AKЬА=E‰[EHDСM‚ЊL•4Ї>Н[=)"#(">ШЂшИ2|Щz˜Ь~—†вeЯ‘Њ"%§¤&ЪЩUIД­Pp}ѓF{ДХЊѓf +g®ЌШђНТBA +ІњЙRђЌIGм 9ba…Ч РРГFП)7NRsбЋ§R­jх*Ц¬Z·rнкх+Ш°bЗ’-kц,Ъ‡Оь±mЫціґrзТ­kч.Юјz­jѓЦЖ4lэъ + +љ3g‚‡яBМX0ХГ‡bыX[ДыBѕж°џchЧ°нр0з~ўUk®єZхРlРdАёБGњ3дA“ +xрgШ¦A'n3уgЗЏ‡wЦrї6‰ђсYі3mЎпноэ;шрвч®uлошфкЧіoпю}чM‡hoђЏ9шъчуппї_yж±…Юx ‚ *ё ѓ +:ш`^!( \РHs!†jё!‡zш!€!Љ8"‰%љx"Љ"–"‹-єш"Њ1К8#Ќ5Ъx#Ћ9кё#Џ=є˜˜Ђo1г 3яy$’I*№$“M:щ$”QJ9%•UZyе‘CJS$–]zщ%˜aЉ9я&™eљy&љiЄ№&›mєЩe3Т9ађoЪy'ћi:#Mћ}ъщ' Ѓ +:(Ў…ъg3љ—3‡:ъЁ™{B:)Ґ•Zz)¦™j +fњrОЙи¦Ў^*©Ё•6уO +3Х ‹*і\B °‘§6ыПД +П ++8oPP.lXQ¤Ея0»рГ"# 5&Џ,1і)S¬я°»#›L23.yrК''ьІЙґRУАRМ<3«аиCA;Ф0Ре.д K7T +шrCPР 5Ь,"B ЄJѓЃ‹`а@3ґ@лв,ь# +?oWѓБбећК ъ0б +.‚›уc«4)руг‡Onxз…s.Вг‘·@{ +‘П^Ќ3™3гAг‹\Ќ6‹,ВПкњуішпІї +є>LSM +ЏWS95‘gўЏ*€/Ж @@м$5#XААИбI +``АЃ БL€A +ш +зИ"4†А`¤¬xЃd_Ёў“¤Ђ4РЗBZ +©ъђ‚4& +МQ±ObFbсf¤ +c +юA:<а_Q|ЊиЁ+#4 ˜]ўї+,†3њ'kRиѓО ЯЂf…IІvњ€pBяц˜СЂСЙрyА!:LwНў ‡и РйГ}*rи!ЎH ¤ѓPA:їIpL4?~pТд>rB^Ж"иЁ†[рBё˜ЃzЁ†’ћф1b4ZК‚„&·є#­ГDЃЎ0ќ.тe&‚Іq4R G…%—љE§6йQЌ°р +џ.c :eЁC}я-Ж ”hRфб!?P‚[ ВЛKЁq=pВNЄaЏ/Ew +4UЇQЭ\Цо7H(Aр""7Дd'7Й `З@i6¶“¬AH•\eFp„DњA6 1 +@j@Д8@ +HnA@®D$ +`„vsHr  + ±‘0c +T8ж­ѓ.t+qxQ¶zЅ$ЕnЂЛИ $ Z +nґ \Т`z3ё‘ЮЃ+vQЗ@^° дЃ°Х«љ‘‚ЙЕ)–ѓ +P{ ВЗ +d]roЖ7< ;Й5cкoг†8ІЮЧШy’гЖщЃёВ/rЉgвЇgОяi`~r—Ыы¬ёС}ФАнE:) +EЙ¤цY@ Х ‡яР@ +©њ‰МЂIњЃ&ђ ҐO&tA84 3Hѓ<_Д\ Р=‰­L№ь јрѓы­ Ж­uяa-ЎЇґ ¤иКЭeЉ®Ъ’°L + +Й–aЁ$ЛєЁK–I4¬‹№мКШЁЎЮ!ЦКхХZжЎҐм 3xЬp^#$‚,p ‚ +Щhаъэ +4 dClaCр +ВРбL*в‘<вИYыњЃ;ҐP‰)‹ +еџ +D‚GZA<В5Њ!ДГ1z3LAX‚GЃН1C@€‚)TЃ!Ђ +XЂ$ ‚Ѓn +к&§¶IoК*C"'*ЁЃt–ЄF'! + +Ђ +D‚ ,В +P„"ј‚pB€ +ПнJ4tЎЅЬКK ‰Ђ[™‹ыµ$Їш.ф–!мeзFo•$K$‚ Г$ДА7€Mю-®шЙ"Ц!ЪJ–T .вТmМ° Щ8‹€* +lЇ…©Ђ$B€ + +иВЬzв +Њ + 5w• <Ђt +A:ьr#ЬB2XГ3”Ѓ +(3=ґГ! +ЊA$ѓџBјТ&TёфЬЗiАИс©юA`Ц¶ЂПЌWш‘8C8Иw¬lLЗо^Ю]°’CвХ0є°°6t° 4A-:А7xм5e3 рмЎ‹Пb8¬D@-цЮХк¶5x +ph9hlІ»оҐ +»Ж–яш ;Ђ +Ё;йP{pѓ4мIп‰4 џ6 гYѓ Ь@1 + 6Дф+­”ЂbЏC3?3S‚•TU twњ#@рgЊCUйД±ўuЅэкqБ%ИѕKЃИ>ЂtA–‚GЦ[Ь?я˜8јћC|X@H@МА…ВПh±ШАmHАФ*Р6УчCA40В>€‚(n\лAЃT@$ь‚.8Ґ( +ь°<И¦БЌ їDё4А@ +DYмQтЎT{Ь„LтkИH7‰0‡®Yі^Й)6­`RҐK™6uъjT©S©VµzkV­[№vхъяlX±cќ6sжmڴϘ9#ыn\№sќ±0СБ“є@f(€ГЈЊЌEТ¦]Q0GВ=™ТЊ3.°&7юDЪђ#NЂ’бPpfДon&этrDБ–8УЄ%e6UЏM&aРС +Ѓ8KЁqшRf°#*К®+P$A6fкжЌ­њ*Укr#ЉВњDРУ@—МИt Д†„№лЩ·wя~|щуйяk&MљZэlЭЦчя@Ґњ‘殈9`7VrX.ПQN„жP!„bёdA‚€АЌQ8QЂђe0ґ0!Њ3Ц@%AТАIYИИЃ +k\»Дђ80Lяѓ-© jy ‚:’j)`‰Ћ€ш!љhґ#"‚!#aќГnГiЙ/°аІЂ/¦  ¦Ў¦9!f‹ –h-А8ењ“О:нј3*іфS‹?<эь««‘!„љp`<B˜Бj®)4f¤aБѕfтp`E±&m`˜Ѓ!›rёa&‚єКй' ю ђБХ¤¬q!1ЁщњBC‡™L ЕАѓ~>Ќ ЏfdХRD ІTљmхr(µґ™PнK¶.Tуђ†Rш'‚)ъСaX@Х]—ЭvЭэуѕьцD«ПwнхsАс˜Щ—‚шµЏ_f +кw`Ђч-ШяЯfоWбЃюG‡•ў† +˜а{]~ж˜eОу¬yэ©wжњгЛPD(Yз …љиўЕЉЧж›Ы2љi±xЖJб(ЃЋ‹хљѕ묵–YO›qЮмЁd&ІЈЊ¦cЁTр`„ +Њоёећ;h¤Ѕ^љnєќi¦Љ‰iq‹К>ШaЃ™©">Ьћ¦d‘я™аЗ7VЄqГ5¶d†Nyc…%'hа Жу—pЊOОхФUчЇлyї^]л§н  +’&|…MЌ +TѓёЃ +<и‰2,(Ё€БАDTЃPаи +хшЕ,X„*ьљC=@‹C ¬ЕЖ! 9РѓbлA @ +CPђ +I€B +VsащШGҐґnOЇуcРxfT` Мё„<с +Ф +ыA +7 ‡aО Ѓ“@: +ђыЎзW_–Їf@ађ‰јДДЂЋЂ 903< Ќt ЭЁдИP‹—.б’dF9°±„oЄ ‹«ЊшAyибє˜54’‚G``|Рѓ(@ +`д@ +tэ]9СNІ>є9“§XыЭ{сЊb€j†Ѓj®h‚B7ђG'v¤!*ЁБ +Вљђ– ‡ §):зЮv oч0phљб¶ЎиЕu БР&k”0 УP +Бў№рэЎ¤б>p  Ка$БD‡€Б ± +Чс*¶¬ађ о°! +Ў <А Ўџbа§!Ц^Ж"&(.7QGqnЪ°»ЎnҐRБР!АЖ#a›¦Эў­ " +ЎьЂRЎІ`<ц°™¦бNd¦ЎМ@ +:Ў*‘A +И +VЂ%ЈЂZR +°І¦! кґА+«a& aКЂ,Ў6а +а,Е’8Б (a~QІАЖ2ў 3 +"@0m+KAЊ“B»ся01ћА†B +(ЃЬ’8!F‡‘H3•kxт с°Б”бЋБza +цAђ +З# +|(З +^ №ьE=D˜ѓ)шХмзtЋзадЙ ѓ°а‚€Ў `ъ +j ЏтЂ +кёЄaШ@X ЮЂ +‚ААа™є@jYр‰ +ЃЭв˜ЮЂИє†`єЂ8ЂШ`¬ «cа +М№а9«XЋї»Ќ§{>жАЎU!«ељЂаЁ|бЁ  ж ›ЇU!А +шаШЂ Даѕ/ ЊеюЖн·»Л 6x§з€а(Еz@ +,HВ‹–`й|$И І˜9љязјїёv%Брk Њ +AПюм< +ТAЏ|·t~ЂuaНcrэrT–uuЭФГќРjњ№eмаЄPюG=АЧДЭЭ妛uRЭC&ЫџъЭп=Й=ХЩУ¬М&JF:ыЎЁ +Я>QЅсшЅ«` Шd~-c @Ъи( +G +7 +x17Т0h‚ЧtбGюhф}б+ућЦ`и §тЁ`АгъE  U@Pyљ‡АЎІґwљ'„;іїLTd к—°Іб<оYљ!+WeзmД, ћдЇ^чѕэFсћF ЖбjБ +Т!ЋЬH~!Ћа +яL(¦MH! +@ +ъFDA‚аїdiъziйБ™ЁcDл'Я*¦zуM|"A +A(zґж®г +ИАъЪБъaў@dц"Ъ!™9Б“TЂ +К"ьmД0—ь!b’Ѓ +kдXaЖL1Кq¦QуК` 5ҐєVЮr@аuў!x\Ђ’Ѓ±фйФ«[їЋ={_Њ…9Ц>јHgбЖ€‚"I€Z‚ѕ@0 ( Ъ¦э#—‚Y5Џaњ‡8яDЂ +ЏРб +FXw}§bЊ%:@Ў@АL7U$ nё ¤_3r5уnС0C¤\@ъ(ЊН@>BРЊђH¤d‘НXГd’WКf˜bЋIf™Ѓeдў?0љЙж_)эќ@[fY’Џґ@g›zоЙgџ~RЗbљj~фgЎ&Ґ¤——DКhЈЋ> +©AЬҐ№f¤–&„hBНьM§G.љЭЏ ^Jj©¦ћzС`‚VЉкҐ™юhђ$[МZЃ&Ф‰›—°^™+®Y2й«ѓX>џ­‹lІ¤Nк"«К6Љ(3е8†%Р!Ѓ +ћ¤SН5э°АМя…эф“‚5HуO50d3M·Я:ОёЬД Н5Ъ€# +ЁН”ГВA.Ђ„\Ф" +KTуlВ +/¶SзфФЅщЌр=Е;б‰'ABН]ЃI@l>ZTЕх№¤Ђі{XщфBё­ҐѓИ2ДЭBT@тYќЬџ oy˜цнтH”ў.Ъ4$€x дrђ °‘ЊШ IВAПaъQ¤дB‡МЧ…рe¬jд«яц‡­С…R™ЖЪX)5H6ЂЬL!tёAvj"Р1o»Љу‰U¬RИЦц1«b!‚Рќj–Эy!q6o~0…H„W +IУ„ +XЦБMXJ8€ДИр ЫjАnр0[ч FbBGћ[ZKo2Sґc Г ЈђШС^~DѓJН`Зr $сацћИ“Ы_"˜»њІ_ [–ЮWЂвЈЇІиЖ@ЂO|zуЉЃ4_x%X +в†–ЧИў 8ИЃП>‘+ ! ¦`ДЪ:H4LС+¦ПЂ,А €ўyUИ@N™Q[ 'і $0= +ўP хwр љ +c! +pD4$?Ђ±°ї° ~n +ІЂ@Т` +MЦY t + \µlUP +@ +:ђ +0ђx +Т +з 2 +Ц .Ь0 +2°Љ"7ґжGI0kІjяЎђO©‹Єт0ihnИцovw *s$RІ•·¤ »Фя)яфO±hs"–]ІOFB%Ѕ,ы4mиг+Q‚+GўqPi—{!|ј€u +a +dЂ +Ъ”<ќ"† +B™‹Щ˜щF˜ зpGХ cGER„ +ѕчpL—qІ,c8KнЖOmйµйq¶™qЕnI‚vіЌЊ°|Р` +rР{pr x$n +# +Ш RРа”¶vIЌ3RОpIZзp!#JБRб +,0Ч “kТа“ф‰Iбя tџ…8Rў!оЩ.ЉR—$:R*•Srвњ=%’P + ;ґ +Ё ;—EZжаe°?*6 +8ђбe +dP cd0o`@ў`I€3x+Z–Vtµy?J @>кy`U* += єd—`Ие‰ QСrЌQЪaNТw +Xр _ р|0іw‹-iФ‰pДgYJ s` 0EЕѓяаГ +PpИДp˜µ +“°ьЂЂ‚ ЉpF@\agЄУщўhЈФU|€]Q +©р +Ѕеы‘ уѓPИ +Хђ а +&“:Сђ +a0 +Р‚aµ~klЈ™ЄXWKZЉ +Ь5а90 п—Њb +±°Y$ЛE(ЁnP + +хУЊ‰`C‡ЃМ +і+ОЩЖн’I +wРЈ + +бЂ01Е›Ѓw  х СёЊПєьНА +•&=oиH‘©ќЬЙ &P аЙ +#е’Ц@ +фY“Ѓќѓ!'иўt:хРЩЏ9`~\ Е ` +8pV©њ+Цё˜Уe +‰4jЈЛc$іЈ=ъЈA:¤yВ wJ(§ +нuи°=Б  +gр¬СJт + Gђћ°6jp6F°›Ё й7x@ +z%Dѓ¤рfL,іVр}яГ GVpБN…рx2#Ћ»4nР +# K А5  +“«SbФ1аБ0ь°ШPS4» 6)L?‘ и?[ ЁЁвљЈєT = Щ:гЅ T.›шґљ°_бMpRгd ­0>ф“ШWj°? Я +— +рЏg –Р +Р—ҐНћРd“PяЊпЊр Wл Џ|МЕHТЗIЋ  +*@Зf\¤я[Юb·j!)…™D‚М%YС’oС|tЬPЗ;™8ђ”"` +ђёj}яюЬ”Ќѓ +эb€‡”“Тт-’’+Ї,џћzlp ‘DЯ‰%§]пr +/nVЙkУжЛ°Мј&П¶9±tщАґЦУМ›ІD…ґ”lRX›ґ_%^Йm\‚$ЦјЂuїG"†ь„]4mъАGn\песљќк&э±яПшфьЭЇkJU"югOюеoюзЏюйЇюлПюнпюпяс/яеџтO йпQ”¦ю%m +D˜XPбB† +>„QвDЉ-^ĘQгFЋ=~yQљ3%Mљ|Ж¬џ3–-]ѕ„SжLљ5mЮД™SзNћ=_BѓжSиPўEЌEљTйR¦Mќ>…UкTЈ' \ No newline at end of file diff --git a/i/city/sub/ruins_png2.png b/i/city/sub/ruins_png2.png new file mode 100644 index 0000000..c77e855 Binary files /dev/null and b/i/city/sub/ruins_png2.png differ diff --git a/i/city/sub/shar_dark.png b/i/city/sub/shar_dark.png new file mode 100644 index 0000000..45e0d3b Binary files /dev/null and b/i/city/sub/shar_dark.png differ diff --git a/i/city/sub/shar_dark2.png b/i/city/sub/shar_dark2.png new file mode 100644 index 0000000..26618fa Binary files /dev/null and b/i/city/sub/shar_dark2.png differ diff --git a/i/city/sub/shar_light2.png b/i/city/sub/shar_light2.png new file mode 100644 index 0000000..772e5a3 Binary files /dev/null and b/i/city/sub/shar_light2.png differ diff --git a/i/city/sub/skam1.gif b/i/city/sub/skam1.gif new file mode 100644 index 0000000..6288792 Binary files /dev/null and b/i/city/sub/skam1.gif differ diff --git a/i/city/sub/skam2.gif b/i/city/sub/skam2.gif new file mode 100644 index 0000000..23cc8cd Binary files /dev/null and b/i/city/sub/skam2.gif differ diff --git a/i/city/sub/skam3.gif b/i/city/sub/skam3.gif new file mode 100644 index 0000000..38b626f Binary files /dev/null and b/i/city/sub/skam3.gif differ diff --git a/i/city/sub/sneg_3.png b/i/city/sub/sneg_3.png new file mode 100644 index 0000000..c55393f Binary files /dev/null and b/i/city/sub/sneg_3.png differ diff --git a/i/city/sub/sneg_32.png b/i/city/sub/sneg_32.png new file mode 100644 index 0000000..c55393f Binary files /dev/null and b/i/city/sub/sneg_32.png differ diff --git a/i/city/sub/snow_transp.gif b/i/city/sub/snow_transp.gif new file mode 100644 index 0000000..798a817 Binary files /dev/null and b/i/city/sub/snow_transp.gif differ diff --git a/i/city/sub/stella.gif b/i/city/sub/stella.gif new file mode 100644 index 0000000..2fc6b00 Binary files /dev/null and b/i/city/sub/stella.gif differ diff --git a/i/city/sub/stella_png2.png b/i/city/sub/stella_png2.png new file mode 100644 index 0000000..274e4a4 Binary files /dev/null and b/i/city/sub/stella_png2.png differ diff --git a/i/city/sub/stellav.gif b/i/city/sub/stellav.gif new file mode 100644 index 0000000..e69de29 diff --git a/i/city/sub/stellavn.gif b/i/city/sub/stellavn.gif new file mode 100644 index 0000000..e69de29 diff --git a/i/city/sub/stop_png.png b/i/city/sub/stop_png.png new file mode 100644 index 0000000..13d8c72 Binary files /dev/null and b/i/city/sub/stop_png.png differ diff --git a/i/city/sub/stop_png2.png b/i/city/sub/stop_png2.png new file mode 100644 index 0000000..360344d Binary files /dev/null and b/i/city/sub/stop_png2.png differ diff --git a/i/city/sub/strr.png b/i/city/sub/strr.png new file mode 100644 index 0000000..a07726f Binary files /dev/null and b/i/city/sub/strr.png differ diff --git a/i/city/sub/svechad.png b/i/city/sub/svechad.png new file mode 100644 index 0000000..47eb09b Binary files /dev/null and b/i/city/sub/svechad.png differ diff --git a/i/city/sub/svechan.png b/i/city/sub/svechan.png new file mode 100644 index 0000000..eb771ee Binary files /dev/null and b/i/city/sub/svechan.png differ diff --git a/i/city/sub/svechas.png b/i/city/sub/svechas.png new file mode 100644 index 0000000..86b6a34 Binary files /dev/null and b/i/city/sub/svechas.png differ diff --git a/i/city/sub/t_build42.png b/i/city/sub/t_build42.png new file mode 100644 index 0000000..9c50446 Binary files /dev/null and b/i/city/sub/t_build42.png differ diff --git a/i/city/sub/t_build422.png b/i/city/sub/t_build422.png new file mode 100644 index 0000000..6e6e550 Binary files /dev/null and b/i/city/sub/t_build422.png differ diff --git a/i/city/sub/tree.gif b/i/city/sub/tree.gif new file mode 100644 index 0000000..6d5d288 Binary files /dev/null and b/i/city/sub/tree.gif differ diff --git a/i/city/sub/tree.png b/i/city/sub/tree.png new file mode 100644 index 0000000..30fd235 Binary files /dev/null and b/i/city/sub/tree.png differ diff --git a/i/city/sub/tree2.gif b/i/city/sub/tree2.gif new file mode 100644 index 0000000..6d5d288 Binary files /dev/null and b/i/city/sub/tree2.gif differ diff --git a/i/city/sub/tree2.png b/i/city/sub/tree2.png new file mode 100644 index 0000000..30fd235 Binary files /dev/null and b/i/city/sub/tree2.png differ diff --git a/i/city/sub/tree22.gif b/i/city/sub/tree22.gif new file mode 100644 index 0000000..6d5d288 Binary files /dev/null and b/i/city/sub/tree22.gif differ diff --git a/i/city/sub/tree22.png b/i/city/sub/tree22.png new file mode 100644 index 0000000..30fd235 Binary files /dev/null and b/i/city/sub/tree22.png differ diff --git a/i/city/sub/tree_png.png b/i/city/sub/tree_png.png new file mode 100644 index 0000000..30fd235 Binary files /dev/null and b/i/city/sub/tree_png.png differ diff --git a/i/city/sub/tree_png2.png b/i/city/sub/tree_png2.png new file mode 100644 index 0000000..30fd235 Binary files /dev/null and b/i/city/sub/tree_png2.png differ diff --git a/i/city/sub/treen.gif b/i/city/sub/treen.gif new file mode 100644 index 0000000..878e591 Binary files /dev/null and b/i/city/sub/treen.gif differ diff --git a/i/city/sub/u4bg.jpg b/i/city/sub/u4bg.jpg new file mode 100644 index 0000000..9c42cad Binary files /dev/null and b/i/city/sub/u4bg.jpg differ diff --git a/i/city/sub/u4bgn.jpg b/i/city/sub/u4bgn.jpg new file mode 100644 index 0000000..ecbce9c Binary files /dev/null and b/i/city/sub/u4bgn.jpg differ diff --git a/i/city/sub/ugolok.png b/i/city/sub/ugolok.png new file mode 100644 index 0000000..67e23d0 Binary files /dev/null and b/i/city/sub/ugolok.png differ diff --git a/i/city/sub/ugolok2.png b/i/city/sub/ugolok2.png new file mode 100644 index 0000000..e4c74b8 Binary files /dev/null and b/i/city/sub/ugolok2.png differ diff --git a/i/city/sub/vesna_cap_1sk.png b/i/city/sub/vesna_cap_1sk.png new file mode 100644 index 0000000..59af41b Binary files /dev/null and b/i/city/sub/vesna_cap_1sk.png differ diff --git a/i/city/sub/vesna_cap_1sk2.png b/i/city/sub/vesna_cap_1sk2.png new file mode 100644 index 0000000..97d75a5 Binary files /dev/null and b/i/city/sub/vesna_cap_1sk2.png differ diff --git a/i/city/sub/vesna_cap_2sk.png b/i/city/sub/vesna_cap_2sk.png new file mode 100644 index 0000000..6aecb3f Binary files /dev/null and b/i/city/sub/vesna_cap_2sk.png differ diff --git a/i/city/sub/vesna_cap_2sk2.png b/i/city/sub/vesna_cap_2sk2.png new file mode 100644 index 0000000..99a855f Binary files /dev/null and b/i/city/sub/vesna_cap_2sk2.png differ diff --git a/i/city/sub/vesna_cap_3sk.png b/i/city/sub/vesna_cap_3sk.png new file mode 100644 index 0000000..eb278e8 Binary files /dev/null and b/i/city/sub/vesna_cap_3sk.png differ diff --git a/i/city/sub/vesna_cap_3sk2.png b/i/city/sub/vesna_cap_3sk2.png new file mode 100644 index 0000000..1770e36 Binary files /dev/null and b/i/city/sub/vesna_cap_3sk2.png differ diff --git a/i/city/sub/vesna_cap_bank.png b/i/city/sub/vesna_cap_bank.png new file mode 100644 index 0000000..fccfd78 Binary files /dev/null and b/i/city/sub/vesna_cap_bank.png differ diff --git a/i/city/sub/vesna_cap_bank2.png b/i/city/sub/vesna_cap_bank2.png new file mode 100644 index 0000000..df04a4c Binary files /dev/null and b/i/city/sub/vesna_cap_bank2.png differ diff --git a/i/city/sub/vesna_cap_berezka.png b/i/city/sub/vesna_cap_berezka.png new file mode 100644 index 0000000..e036667 Binary files /dev/null and b/i/city/sub/vesna_cap_berezka.png differ diff --git a/i/city/sub/vesna_cap_berezka2.png b/i/city/sub/vesna_cap_berezka2.png new file mode 100644 index 0000000..5c663ba Binary files /dev/null and b/i/city/sub/vesna_cap_berezka2.png differ diff --git a/i/city/sub/vesna_cap_build1.png b/i/city/sub/vesna_cap_build1.png new file mode 100644 index 0000000..eb9ec28 Binary files /dev/null and b/i/city/sub/vesna_cap_build1.png differ diff --git a/i/city/sub/vesna_cap_build12.png b/i/city/sub/vesna_cap_build12.png new file mode 100644 index 0000000..d51757e Binary files /dev/null and b/i/city/sub/vesna_cap_build12.png differ diff --git a/i/city/sub/vesna_cap_build2.png b/i/city/sub/vesna_cap_build2.png new file mode 100644 index 0000000..d3ee146 Binary files /dev/null and b/i/city/sub/vesna_cap_build2.png differ diff --git a/i/city/sub/vesna_cap_build22.png b/i/city/sub/vesna_cap_build22.png new file mode 100644 index 0000000..fe0b1ed Binary files /dev/null and b/i/city/sub/vesna_cap_build22.png differ diff --git a/i/city/sub/vesna_cap_build3.png b/i/city/sub/vesna_cap_build3.png new file mode 100644 index 0000000..a46de7c Binary files /dev/null and b/i/city/sub/vesna_cap_build3.png differ diff --git a/i/city/sub/vesna_cap_build32.png b/i/city/sub/vesna_cap_build32.png new file mode 100644 index 0000000..9fbf425 Binary files /dev/null and b/i/city/sub/vesna_cap_build32.png differ diff --git a/i/city/sub/vesna_cap_club.png b/i/city/sub/vesna_cap_club.png new file mode 100644 index 0000000..b456bd3 Binary files /dev/null and b/i/city/sub/vesna_cap_club.png differ diff --git a/i/city/sub/vesna_cap_club2.png b/i/city/sub/vesna_cap_club2.png new file mode 100644 index 0000000..3119693 Binary files /dev/null and b/i/city/sub/vesna_cap_club2.png differ diff --git a/i/city/sub/vesna_cap_cp_day.jpg b/i/city/sub/vesna_cap_cp_day.jpg new file mode 100644 index 0000000..d29ab66 Binary files /dev/null and b/i/city/sub/vesna_cap_cp_day.jpg differ diff --git a/i/city/sub/vesna_cap_flowershop.png b/i/city/sub/vesna_cap_flowershop.png new file mode 100644 index 0000000..fafeb34 Binary files /dev/null and b/i/city/sub/vesna_cap_flowershop.png differ diff --git a/i/city/sub/vesna_cap_flowershop2.png b/i/city/sub/vesna_cap_flowershop2.png new file mode 100644 index 0000000..a79f1f6 Binary files /dev/null and b/i/city/sub/vesna_cap_flowershop2.png differ diff --git a/i/city/sub/vesna_cap_fontan.png b/i/city/sub/vesna_cap_fontan.png new file mode 100644 index 0000000..e3a65ac Binary files /dev/null and b/i/city/sub/vesna_cap_fontan.png differ diff --git a/i/city/sub/vesna_cap_fontan2.png b/i/city/sub/vesna_cap_fontan2.png new file mode 100644 index 0000000..7a13f2f Binary files /dev/null and b/i/city/sub/vesna_cap_fontan2.png differ diff --git a/i/city/sub/vesna_cap_hram.png b/i/city/sub/vesna_cap_hram.png new file mode 100644 index 0000000..d8c5929 Binary files /dev/null and b/i/city/sub/vesna_cap_hram.png differ diff --git a/i/city/sub/vesna_cap_hram2.png b/i/city/sub/vesna_cap_hram2.png new file mode 100644 index 0000000..6d32b39 Binary files /dev/null and b/i/city/sub/vesna_cap_hram2.png differ diff --git a/i/city/sub/vesna_cap_kom.png b/i/city/sub/vesna_cap_kom.png new file mode 100644 index 0000000..df8250c Binary files /dev/null and b/i/city/sub/vesna_cap_kom.png differ diff --git a/i/city/sub/vesna_cap_kom2.png b/i/city/sub/vesna_cap_kom2.png new file mode 100644 index 0000000..9a55b77 Binary files /dev/null and b/i/city/sub/vesna_cap_kom2.png differ diff --git a/i/city/sub/vesna_cap_lab.png b/i/city/sub/vesna_cap_lab.png new file mode 100644 index 0000000..d46ae1e Binary files /dev/null and b/i/city/sub/vesna_cap_lab.png differ diff --git a/i/city/sub/vesna_cap_lab2.png b/i/city/sub/vesna_cap_lab2.png new file mode 100644 index 0000000..dbb7c2d Binary files /dev/null and b/i/city/sub/vesna_cap_lab2.png differ diff --git a/i/city/sub/vesna_cap_lavka.png b/i/city/sub/vesna_cap_lavka.png new file mode 100644 index 0000000..b83acf4 Binary files /dev/null and b/i/city/sub/vesna_cap_lavka.png differ diff --git a/i/city/sub/vesna_cap_lavka2.png b/i/city/sub/vesna_cap_lavka2.png new file mode 100644 index 0000000..d3d52a7 Binary files /dev/null and b/i/city/sub/vesna_cap_lavka2.png differ diff --git a/i/city/sub/vesna_cap_loto.png b/i/city/sub/vesna_cap_loto.png new file mode 100644 index 0000000..7c45ea6 Binary files /dev/null and b/i/city/sub/vesna_cap_loto.png differ diff --git a/i/city/sub/vesna_cap_loto2.png b/i/city/sub/vesna_cap_loto2.png new file mode 100644 index 0000000..00d9a38 Binary files /dev/null and b/i/city/sub/vesna_cap_loto2.png differ diff --git a/i/city/sub/vesna_cap_po4ta.png b/i/city/sub/vesna_cap_po4ta.png new file mode 100644 index 0000000..7a54fba Binary files /dev/null and b/i/city/sub/vesna_cap_po4ta.png differ diff --git a/i/city/sub/vesna_cap_po4ta2.png b/i/city/sub/vesna_cap_po4ta2.png new file mode 100644 index 0000000..a1c8a23 Binary files /dev/null and b/i/city/sub/vesna_cap_po4ta2.png differ diff --git a/i/city/sub/vesna_cap_registratura.png b/i/city/sub/vesna_cap_registratura.png new file mode 100644 index 0000000..1436c87 Binary files /dev/null and b/i/city/sub/vesna_cap_registratura.png differ diff --git a/i/city/sub/vesna_cap_registratura2.png b/i/city/sub/vesna_cap_registratura2.png new file mode 100644 index 0000000..bccd26b Binary files /dev/null and b/i/city/sub/vesna_cap_registratura2.png differ diff --git a/i/city/sub/vesna_cap_rem.png b/i/city/sub/vesna_cap_rem.png new file mode 100644 index 0000000..4e125df Binary files /dev/null and b/i/city/sub/vesna_cap_rem.png differ diff --git a/i/city/sub/vesna_cap_rem2.png b/i/city/sub/vesna_cap_rem2.png new file mode 100644 index 0000000..2b425ea Binary files /dev/null and b/i/city/sub/vesna_cap_rem2.png differ diff --git a/i/city/sub/vesna_cap_rist_group.png b/i/city/sub/vesna_cap_rist_group.png new file mode 100644 index 0000000..21f9adc Binary files /dev/null and b/i/city/sub/vesna_cap_rist_group.png differ diff --git a/i/city/sub/vesna_cap_rist_group2.png b/i/city/sub/vesna_cap_rist_group2.png new file mode 100644 index 0000000..4c015b4 Binary files /dev/null and b/i/city/sub/vesna_cap_rist_group2.png differ diff --git a/i/city/sub/vesna_cap_rist_monstr.png b/i/city/sub/vesna_cap_rist_monstr.png new file mode 100644 index 0000000..2f39b34 Binary files /dev/null and b/i/city/sub/vesna_cap_rist_monstr.png differ diff --git a/i/city/sub/vesna_cap_rist_monstr2.png b/i/city/sub/vesna_cap_rist_monstr2.png new file mode 100644 index 0000000..2dc7b03 Binary files /dev/null and b/i/city/sub/vesna_cap_rist_monstr2.png differ diff --git a/i/city/sub/vesna_cap_rist_solo.png b/i/city/sub/vesna_cap_rist_solo.png new file mode 100644 index 0000000..7dede11 Binary files /dev/null and b/i/city/sub/vesna_cap_rist_solo.png differ diff --git a/i/city/sub/vesna_cap_rist_solo2.png b/i/city/sub/vesna_cap_rist_solo2.png new file mode 100644 index 0000000..0b9e6c1 Binary files /dev/null and b/i/city/sub/vesna_cap_rist_solo2.png differ diff --git a/i/city/sub/vesna_cap_ruins.png b/i/city/sub/vesna_cap_ruins.png new file mode 100644 index 0000000..8778b48 Binary files /dev/null and b/i/city/sub/vesna_cap_ruins.png differ diff --git a/i/city/sub/vesna_cap_ruins2.png b/i/city/sub/vesna_cap_ruins2.png new file mode 100644 index 0000000..c77e855 Binary files /dev/null and b/i/city/sub/vesna_cap_ruins2.png differ diff --git a/i/city/sub/vesna_cap_shop.png b/i/city/sub/vesna_cap_shop.png new file mode 100644 index 0000000..e352c80 Binary files /dev/null and b/i/city/sub/vesna_cap_shop.png differ diff --git a/i/city/sub/vesna_cap_shop2.png b/i/city/sub/vesna_cap_shop2.png new file mode 100644 index 0000000..40b603a Binary files /dev/null and b/i/city/sub/vesna_cap_shop2.png differ diff --git a/i/city/sub/vesna_cap_statue.png b/i/city/sub/vesna_cap_statue.png new file mode 100644 index 0000000..fdcddaf Binary files /dev/null and b/i/city/sub/vesna_cap_statue.png differ diff --git a/i/city/sub/vesna_cap_statue2.png b/i/city/sub/vesna_cap_statue2.png new file mode 100644 index 0000000..fdcddaf Binary files /dev/null and b/i/city/sub/vesna_cap_statue2.png differ diff --git a/i/city/sub/vesna_cap_stella.png b/i/city/sub/vesna_cap_stella.png new file mode 100644 index 0000000..765fc8c Binary files /dev/null and b/i/city/sub/vesna_cap_stella.png differ diff --git a/i/city/sub/vesna_cap_stella2.png b/i/city/sub/vesna_cap_stella2.png new file mode 100644 index 0000000..f2e1a52 Binary files /dev/null and b/i/city/sub/vesna_cap_stella2.png differ diff --git a/i/city/sub/vesna_cap_tower.png b/i/city/sub/vesna_cap_tower.png new file mode 100644 index 0000000..c255426 Binary files /dev/null and b/i/city/sub/vesna_cap_tower.png differ diff --git a/i/city/sub/vesna_cap_tower2.png b/i/city/sub/vesna_cap_tower2.png new file mode 100644 index 0000000..0f0f14d Binary files /dev/null and b/i/city/sub/vesna_cap_tower2.png differ diff --git a/i/city/sub/vesna_cap_vokzal.png b/i/city/sub/vesna_cap_vokzal.png new file mode 100644 index 0000000..ffb4589 Binary files /dev/null and b/i/city/sub/vesna_cap_vokzal.png differ diff --git a/i/city/sub/vesna_cap_vokzal2.png b/i/city/sub/vesna_cap_vokzal2.png new file mode 100644 index 0000000..413775a Binary files /dev/null and b/i/city/sub/vesna_cap_vokzal2.png differ diff --git a/i/city/sub/vesna_cap_znah.png b/i/city/sub/vesna_cap_znah.png new file mode 100644 index 0000000..58a77b8 Binary files /dev/null and b/i/city/sub/vesna_cap_znah.png differ diff --git a/i/city/sub/vesna_cap_znah2.png b/i/city/sub/vesna_cap_znah2.png new file mode 100644 index 0000000..a912fb8 Binary files /dev/null and b/i/city/sub/vesna_cap_znah2.png differ diff --git a/i/city/sub/vokzal_png2.png b/i/city/sub/vokzal_png2.png new file mode 100644 index 0000000..40522da Binary files /dev/null and b/i/city/sub/vokzal_png2.png differ diff --git a/i/city/sub/wm.gif b/i/city/sub/wm.gif new file mode 100644 index 0000000..1c57574 Binary files /dev/null and b/i/city/sub/wm.gif differ diff --git a/i/city/sub/wm.png b/i/city/sub/wm.png new file mode 100644 index 0000000..aa3de31 Binary files /dev/null and b/i/city/sub/wm.png differ diff --git a/i/city/sub/wm2.png b/i/city/sub/wm2.png new file mode 100644 index 0000000..5512b8f Binary files /dev/null and b/i/city/sub/wm2.png differ diff --git a/i/city/sub/wmn.gif b/i/city/sub/wmn.gif new file mode 100644 index 0000000..249c855 Binary files /dev/null and b/i/city/sub/wmn.gif differ diff --git a/i/city/sub/zalp.png b/i/city/sub/zalp.png new file mode 100644 index 0000000..b9dc259 Binary files /dev/null and b/i/city/sub/zalp.png differ diff --git a/i/city/sub/zals.png b/i/city/sub/zals.png new file mode 100644 index 0000000..d712b07 Binary files /dev/null and b/i/city/sub/zals.png differ diff --git a/i/city/sub/zamok1.png b/i/city/sub/zamok1.png new file mode 100644 index 0000000..45f9bc6 Binary files /dev/null and b/i/city/sub/zamok1.png differ diff --git a/i/city/sub/zamok12.png b/i/city/sub/zamok12.png new file mode 100644 index 0000000..725e58f Binary files /dev/null and b/i/city/sub/zamok12.png differ diff --git a/i/city/sub/zamok2.png b/i/city/sub/zamok2.png new file mode 100644 index 0000000..b770893 Binary files /dev/null and b/i/city/sub/zamok2.png differ diff --git a/i/city/sub/zamok22.png b/i/city/sub/zamok22.png new file mode 100644 index 0000000..f02630c Binary files /dev/null and b/i/city/sub/zamok22.png differ diff --git a/i/city/sub/zdaniya-bk-berezka.gif b/i/city/sub/zdaniya-bk-berezka.gif new file mode 100644 index 0000000..878a8bf Binary files /dev/null and b/i/city/sub/zdaniya-bk-berezka.gif differ diff --git a/i/city/sub/zima_berezka.png b/i/city/sub/zima_berezka.png new file mode 100644 index 0000000..0f8f640 Binary files /dev/null and b/i/city/sub/zima_berezka.png differ diff --git a/i/city/sub/zima_berezka2.png b/i/city/sub/zima_berezka2.png new file mode 100644 index 0000000..7dbc796 Binary files /dev/null and b/i/city/sub/zima_berezka2.png differ diff --git a/i/city/sub/zima_cap_1sk.png b/i/city/sub/zima_cap_1sk.png new file mode 100644 index 0000000..642f8a0 Binary files /dev/null and b/i/city/sub/zima_cap_1sk.png differ diff --git a/i/city/sub/zima_cap_1sk2.png b/i/city/sub/zima_cap_1sk2.png new file mode 100644 index 0000000..887c305 Binary files /dev/null and b/i/city/sub/zima_cap_1sk2.png differ diff --git a/i/city/sub/zima_cap_2sk.png b/i/city/sub/zima_cap_2sk.png new file mode 100644 index 0000000..2aed2d2 Binary files /dev/null and b/i/city/sub/zima_cap_2sk.png differ diff --git a/i/city/sub/zima_cap_2sk2.png b/i/city/sub/zima_cap_2sk2.png new file mode 100644 index 0000000..8ed84b8 Binary files /dev/null and b/i/city/sub/zima_cap_2sk2.png differ diff --git a/i/city/sub/zima_cap_3sk.png b/i/city/sub/zima_cap_3sk.png new file mode 100644 index 0000000..915cacb Binary files /dev/null and b/i/city/sub/zima_cap_3sk.png differ diff --git a/i/city/sub/zima_cap_3sk2.png b/i/city/sub/zima_cap_3sk2.png new file mode 100644 index 0000000..1325205 Binary files /dev/null and b/i/city/sub/zima_cap_3sk2.png differ diff --git a/i/city/sub/zima_cap_arenda.png b/i/city/sub/zima_cap_arenda.png new file mode 100644 index 0000000..482cdb9 Binary files /dev/null and b/i/city/sub/zima_cap_arenda.png differ diff --git a/i/city/sub/zima_cap_arenda2.png b/i/city/sub/zima_cap_arenda2.png new file mode 100644 index 0000000..065fd89 Binary files /dev/null and b/i/city/sub/zima_cap_arenda2.png differ diff --git a/i/city/sub/zima_cap_arr_left.png b/i/city/sub/zima_cap_arr_left.png new file mode 100644 index 0000000..86e3fe6 Binary files /dev/null and b/i/city/sub/zima_cap_arr_left.png differ diff --git a/i/city/sub/zima_cap_arr_left2.png b/i/city/sub/zima_cap_arr_left2.png new file mode 100644 index 0000000..35c0012 Binary files /dev/null and b/i/city/sub/zima_cap_arr_left2.png differ diff --git a/i/city/sub/zima_cap_arr_right.png b/i/city/sub/zima_cap_arr_right.png new file mode 100644 index 0000000..b71490a Binary files /dev/null and b/i/city/sub/zima_cap_arr_right.png differ diff --git a/i/city/sub/zima_cap_arr_right2.png b/i/city/sub/zima_cap_arr_right2.png new file mode 100644 index 0000000..2b4d564 Binary files /dev/null and b/i/city/sub/zima_cap_arr_right2.png differ diff --git a/i/city/sub/zima_cap_arr_top.png b/i/city/sub/zima_cap_arr_top.png new file mode 100644 index 0000000..c883fa8 Binary files /dev/null and b/i/city/sub/zima_cap_arr_top.png differ diff --git a/i/city/sub/zima_cap_arr_top2.png b/i/city/sub/zima_cap_arr_top2.png new file mode 100644 index 0000000..ab542cc Binary files /dev/null and b/i/city/sub/zima_cap_arr_top2.png differ diff --git a/i/city/sub/zima_cap_arr_uleft.png b/i/city/sub/zima_cap_arr_uleft.png new file mode 100644 index 0000000..fb08ef9 Binary files /dev/null and b/i/city/sub/zima_cap_arr_uleft.png differ diff --git a/i/city/sub/zima_cap_arr_uleft2.png b/i/city/sub/zima_cap_arr_uleft2.png new file mode 100644 index 0000000..c051263 Binary files /dev/null and b/i/city/sub/zima_cap_arr_uleft2.png differ diff --git a/i/city/sub/zima_cap_bank.png b/i/city/sub/zima_cap_bank.png new file mode 100644 index 0000000..2cd1a3e Binary files /dev/null and b/i/city/sub/zima_cap_bank.png differ diff --git a/i/city/sub/zima_cap_bank2.png b/i/city/sub/zima_cap_bank2.png new file mode 100644 index 0000000..95779c9 Binary files /dev/null and b/i/city/sub/zima_cap_bank2.png differ diff --git a/i/city/sub/zima_cap_flowershop.png b/i/city/sub/zima_cap_flowershop.png new file mode 100644 index 0000000..c451da3 Binary files /dev/null and b/i/city/sub/zima_cap_flowershop.png differ diff --git a/i/city/sub/zima_cap_flowershop2.png b/i/city/sub/zima_cap_flowershop2.png new file mode 100644 index 0000000..9032bbf Binary files /dev/null and b/i/city/sub/zima_cap_flowershop2.png differ diff --git a/i/city/sub/zima_cap_fontan.png b/i/city/sub/zima_cap_fontan.png new file mode 100644 index 0000000..f1eec08 Binary files /dev/null and b/i/city/sub/zima_cap_fontan.png differ diff --git a/i/city/sub/zima_cap_fontan2.png b/i/city/sub/zima_cap_fontan2.png new file mode 100644 index 0000000..32ea03a Binary files /dev/null and b/i/city/sub/zima_cap_fontan2.png differ diff --git a/i/city/sub/zima_cap_gate.png b/i/city/sub/zima_cap_gate.png new file mode 100644 index 0000000..d2b6ab9 Binary files /dev/null and b/i/city/sub/zima_cap_gate.png differ diff --git a/i/city/sub/zima_cap_gate2.png b/i/city/sub/zima_cap_gate2.png new file mode 100644 index 0000000..2bc8570 Binary files /dev/null and b/i/city/sub/zima_cap_gate2.png differ diff --git a/i/city/sub/zima_cap_hram.png b/i/city/sub/zima_cap_hram.png new file mode 100644 index 0000000..8d0a777 Binary files /dev/null and b/i/city/sub/zima_cap_hram.png differ diff --git a/i/city/sub/zima_cap_hram2.png b/i/city/sub/zima_cap_hram2.png new file mode 100644 index 0000000..41884c5 Binary files /dev/null and b/i/city/sub/zima_cap_hram2.png differ diff --git a/i/city/sub/zima_cap_lab.png b/i/city/sub/zima_cap_lab.png new file mode 100644 index 0000000..8a7babc Binary files /dev/null and b/i/city/sub/zima_cap_lab.png differ diff --git a/i/city/sub/zima_cap_lab2.png b/i/city/sub/zima_cap_lab2.png new file mode 100644 index 0000000..ea7713f Binary files /dev/null and b/i/city/sub/zima_cap_lab2.png differ diff --git a/i/city/sub/zima_cap_lavka.png b/i/city/sub/zima_cap_lavka.png new file mode 100644 index 0000000..b5f0750 Binary files /dev/null and b/i/city/sub/zima_cap_lavka.png differ diff --git a/i/city/sub/zima_cap_lavka2.png b/i/city/sub/zima_cap_lavka2.png new file mode 100644 index 0000000..cbc4e37 Binary files /dev/null and b/i/city/sub/zima_cap_lavka2.png differ diff --git a/i/city/sub/zima_cap_lombard.png b/i/city/sub/zima_cap_lombard.png new file mode 100644 index 0000000..5963969 Binary files /dev/null and b/i/city/sub/zima_cap_lombard.png differ diff --git a/i/city/sub/zima_cap_lombard2.png b/i/city/sub/zima_cap_lombard2.png new file mode 100644 index 0000000..e354ed2 Binary files /dev/null and b/i/city/sub/zima_cap_lombard2.png differ diff --git a/i/city/sub/zima_cap_prokat.png b/i/city/sub/zima_cap_prokat.png new file mode 100644 index 0000000..7b50726 Binary files /dev/null and b/i/city/sub/zima_cap_prokat.png differ diff --git a/i/city/sub/zima_cap_prokat2.png b/i/city/sub/zima_cap_prokat2.png new file mode 100644 index 0000000..d887fe1 Binary files /dev/null and b/i/city/sub/zima_cap_prokat2.png differ diff --git a/i/city/sub/zima_cap_registratura.png b/i/city/sub/zima_cap_registratura.png new file mode 100644 index 0000000..46f0913 Binary files /dev/null and b/i/city/sub/zima_cap_registratura.png differ diff --git a/i/city/sub/zima_cap_registratura2.png b/i/city/sub/zima_cap_registratura2.png new file mode 100644 index 0000000..82f4326 Binary files /dev/null and b/i/city/sub/zima_cap_registratura2.png differ diff --git a/i/city/sub/zima_cap_rist_group.png b/i/city/sub/zima_cap_rist_group.png new file mode 100644 index 0000000..d0e1bf1 Binary files /dev/null and b/i/city/sub/zima_cap_rist_group.png differ diff --git a/i/city/sub/zima_cap_rist_group2.png b/i/city/sub/zima_cap_rist_group2.png new file mode 100644 index 0000000..be86f55 Binary files /dev/null and b/i/city/sub/zima_cap_rist_group2.png differ diff --git a/i/city/sub/zima_cap_rist_monstr.png b/i/city/sub/zima_cap_rist_monstr.png new file mode 100644 index 0000000..808b32b Binary files /dev/null and b/i/city/sub/zima_cap_rist_monstr.png differ diff --git a/i/city/sub/zima_cap_rist_monstr2.png b/i/city/sub/zima_cap_rist_monstr2.png new file mode 100644 index 0000000..bfa565a Binary files /dev/null and b/i/city/sub/zima_cap_rist_monstr2.png differ diff --git a/i/city/sub/zima_cap_rist_solo.png b/i/city/sub/zima_cap_rist_solo.png new file mode 100644 index 0000000..071ad0e Binary files /dev/null and b/i/city/sub/zima_cap_rist_solo.png differ diff --git a/i/city/sub/zima_cap_rist_solo2.png b/i/city/sub/zima_cap_rist_solo2.png new file mode 100644 index 0000000..187ead6 Binary files /dev/null and b/i/city/sub/zima_cap_rist_solo2.png differ diff --git a/i/city/sub/zima_cap_ruins.png b/i/city/sub/zima_cap_ruins.png new file mode 100644 index 0000000..9a13a85 Binary files /dev/null and b/i/city/sub/zima_cap_ruins.png differ diff --git a/i/city/sub/zima_cap_ruins2.png b/i/city/sub/zima_cap_ruins2.png new file mode 100644 index 0000000..f8c7361 Binary files /dev/null and b/i/city/sub/zima_cap_ruins2.png differ diff --git a/i/city/sub/zima_cap_stop.png b/i/city/sub/zima_cap_stop.png new file mode 100644 index 0000000..351733f Binary files /dev/null and b/i/city/sub/zima_cap_stop.png differ diff --git a/i/city/sub/zima_cap_stop2.png b/i/city/sub/zima_cap_stop2.png new file mode 100644 index 0000000..32280e5 Binary files /dev/null and b/i/city/sub/zima_cap_stop2.png differ diff --git a/i/city/sub/zima_cap_tower.png b/i/city/sub/zima_cap_tower.png new file mode 100644 index 0000000..64c8bd4 Binary files /dev/null and b/i/city/sub/zima_cap_tower.png differ diff --git a/i/city/sub/zima_cap_tower2.png b/i/city/sub/zima_cap_tower2.png new file mode 100644 index 0000000..8af3908 Binary files /dev/null and b/i/city/sub/zima_cap_tower2.png differ diff --git a/i/city/sub/zima_cap_tree.png b/i/city/sub/zima_cap_tree.png new file mode 100644 index 0000000..ad6dd51 Binary files /dev/null and b/i/city/sub/zima_cap_tree.png differ diff --git a/i/city/sub/zima_cap_tree2.png b/i/city/sub/zima_cap_tree2.png new file mode 100644 index 0000000..ad6dd51 Binary files /dev/null and b/i/city/sub/zima_cap_tree2.png differ diff --git a/i/city/sub/zima_cap_vokzal.png b/i/city/sub/zima_cap_vokzal.png new file mode 100644 index 0000000..65be3bd Binary files /dev/null and b/i/city/sub/zima_cap_vokzal.png differ diff --git a/i/city/sub/zima_cap_vokzal2.png b/i/city/sub/zima_cap_vokzal2.png new file mode 100644 index 0000000..17a03d8 Binary files /dev/null and b/i/city/sub/zima_cap_vokzal2.png differ diff --git a/i/city/sub/zima_cap_znah.png b/i/city/sub/zima_cap_znah.png new file mode 100644 index 0000000..69a4235 Binary files /dev/null and b/i/city/sub/zima_cap_znah.png differ diff --git a/i/city/sub/zima_cap_znah2.png b/i/city/sub/zima_cap_znah2.png new file mode 100644 index 0000000..65b2525 Binary files /dev/null and b/i/city/sub/zima_cap_znah2.png differ diff --git a/i/city/sub/zima_club.png b/i/city/sub/zima_club.png new file mode 100644 index 0000000..ecfeb99 Binary files /dev/null and b/i/city/sub/zima_club.png differ diff --git a/i/city/sub/zima_club2.png b/i/city/sub/zima_club2.png new file mode 100644 index 0000000..5e13e6e Binary files /dev/null and b/i/city/sub/zima_club2.png differ diff --git a/i/city/sub/zima_kom.png b/i/city/sub/zima_kom.png new file mode 100644 index 0000000..dfcb1a2 Binary files /dev/null and b/i/city/sub/zima_kom.png differ diff --git a/i/city/sub/zima_kom2.png b/i/city/sub/zima_kom2.png new file mode 100644 index 0000000..94dd27a Binary files /dev/null and b/i/city/sub/zima_kom2.png differ diff --git a/i/city/sub/zima_lord_castle.png b/i/city/sub/zima_lord_castle.png new file mode 100644 index 0000000..d52bbd0 Binary files /dev/null and b/i/city/sub/zima_lord_castle.png differ diff --git a/i/city/sub/zima_lord_castle2.png b/i/city/sub/zima_lord_castle2.png new file mode 100644 index 0000000..a690d04 Binary files /dev/null and b/i/city/sub/zima_lord_castle2.png differ diff --git a/i/city/sub/zima_loto.png b/i/city/sub/zima_loto.png new file mode 100644 index 0000000..18f2f5f Binary files /dev/null and b/i/city/sub/zima_loto.png differ diff --git a/i/city/sub/zima_loto2.png b/i/city/sub/zima_loto2.png new file mode 100644 index 0000000..b6b0962 Binary files /dev/null and b/i/city/sub/zima_loto2.png differ diff --git a/i/city/sub/zima_po4ta.png b/i/city/sub/zima_po4ta.png new file mode 100644 index 0000000..5bd7f4d Binary files /dev/null and b/i/city/sub/zima_po4ta.png differ diff --git a/i/city/sub/zima_po4ta2.png b/i/city/sub/zima_po4ta2.png new file mode 100644 index 0000000..cbfe9b7 Binary files /dev/null and b/i/city/sub/zima_po4ta2.png differ diff --git a/i/city/sub/zima_rem.png b/i/city/sub/zima_rem.png new file mode 100644 index 0000000..c31bd30 Binary files /dev/null and b/i/city/sub/zima_rem.png differ diff --git a/i/city/sub/zima_rem2.png b/i/city/sub/zima_rem2.png new file mode 100644 index 0000000..f8197ea Binary files /dev/null and b/i/city/sub/zima_rem2.png differ diff --git a/i/city/sub/zima_shop.png b/i/city/sub/zima_shop.png new file mode 100644 index 0000000..e9627df Binary files /dev/null and b/i/city/sub/zima_shop.png differ diff --git a/i/city/sub/zima_shop2.png b/i/city/sub/zima_shop2.png new file mode 100644 index 0000000..1640946 Binary files /dev/null and b/i/city/sub/zima_shop2.png differ diff --git a/i/city/sub/zima_stella.png b/i/city/sub/zima_stella.png new file mode 100644 index 0000000..a40c770 Binary files /dev/null and b/i/city/sub/zima_stella.png differ diff --git a/i/city/sub/zima_stella2.png b/i/city/sub/zima_stella2.png new file mode 100644 index 0000000..b86de71 Binary files /dev/null and b/i/city/sub/zima_stella2.png differ diff --git a/i/city/sub/zmkv_day.jpg b/i/city/sub/zmkv_day.jpg new file mode 100644 index 0000000..887b057 Binary files /dev/null and b/i/city/sub/zmkv_day.jpg differ diff --git a/i/city/sub/zmkv_night.jpg b/i/city/sub/zmkv_night.jpg new file mode 100644 index 0000000..78bc2d3 Binary files /dev/null and b/i/city/sub/zmkv_night.jpg differ diff --git a/i/city/sub/znah_png2.png b/i/city/sub/znah_png2.png new file mode 100644 index 0000000..27b61c3 Binary files /dev/null and b/i/city/sub/znah_png2.png differ diff --git a/i/city/sub/znahar.png b/i/city/sub/znahar.png new file mode 100644 index 0000000..b83fd5b Binary files /dev/null and b/i/city/sub/znahar.png differ diff --git a/i/city/sub/znahar2.png b/i/city/sub/znahar2.png new file mode 100644 index 0000000..8e36fb3 Binary files /dev/null and b/i/city/sub/znahar2.png differ diff --git a/i/city/svechad.png b/i/city/svechad.png new file mode 100644 index 0000000..47eb09b Binary files /dev/null and b/i/city/svechad.png differ diff --git a/i/city/svechan.png b/i/city/svechan.png new file mode 100644 index 0000000..eb771ee Binary files /dev/null and b/i/city/svechan.png differ diff --git a/i/city/svechas.png b/i/city/svechas.png new file mode 100644 index 0000000..86b6a34 Binary files /dev/null and b/i/city/svechas.png differ diff --git a/i/city/u4bg.gif b/i/city/u4bg.gif new file mode 100644 index 0000000..6567a27 --- /dev/null +++ b/i/city/u4bg.gif @@ -0,0 +1,856 @@ +GIF87aф ч + + +ЉЉЉ&&&ёёёHlуAAAfjљ”””µµЛЭЭьИИЙemфTlф:::цхьjqх««ц‚‚хЩЩЪEkн{{х000ґґцrqф¤¤циийљљљјјцмльгдьУУцХХы‹ЊхWkо{ѓуННцЕЕьЫЫхЕЕцШШлННьtvнВѕчјјь‚}фЅГчЁЁйгдц†‡нirнelнsrОЏЏ­ІІь··лууцЌЌО™˜нммцКЙмUWo¬¬ьRhП[pцњ уЮгцаЯч¤¤ьџќч‡‡›УПщЌ‹ы‘’чПУщXrн66Hѓ„ьђЋчFqхrzфЇ®чЄ¦хДДЧрпьЄЄА|{ь®ІхььцjkygeUйзьHqнпуы…Љх8>^LLT‡†хкзцЗЛьvuхЗЛц¦ЄцnmфццсQQMrr~rtъЧЫч>P›†††МЖэЫЧэЏ’쥫ь\^шчяШЧчЄ¦ьчыэжлх·¶ьUUU¶єфЛЗцAB<»µфжлэ‹†э¶єь444ѓ‹ьСУи**/ЦЫэkjaIII=dЭonн ў§q|ъ’“ћЇ­нђЋмССл^]cEEE894°Інeeepmhsrg^aXZYT +я'^Ї$W +д#¦ѕ·<ЅДTЌ + ш§ѓС&Ж ЃЄЯЈЁ" !©г +'љжp +¦@ДTЧШ'±lІЙ'и|B„8г!{Є83‡n’ЊВ '‡4Г‘3,­ґСBE“ +њ0ТI9в` Ќ$8ѕт +’¤pr +Es +Љ `PN2в<Г— Ђ0М. €“М6ґc ОЋ(eґЌ$Дp +ч8' +˜бj‚ дNЊ^9ЦЌ¤хЈ40Ў˜VRњђRd'Y6uИTЌbАИPҐ”N:ХтЉЄ:‘ґк«µ`яђЄ•:•$лЄHкtлЄјX‰¤ЁLКє“Nj\9Т•јрBҐ$sґҐJі4qвЛfsМбЊ+ѕ§СІэЁТ‰шВС‰ЮТdо4¦tўR+С'Р$о№ЛІдЊ*®ЂTµЧтв^ЬqТ‘pWFДфл‹+Ш†DRj…4З©@р®^„ [[k¬q7pД9ж±^$7њИаyМЭk7˜ЙҐ `Б‘ІIiЁТkК5ћ`ћМsПВ†˜f4©a‹’ b‹±И"щг±>J$”D#q$”Hќ\УI¬ЊоA-?+*^§yM-‡Ђ +0 +ЬS‚рtтc»‹-Ћ#)f1•FЉUЈQсjen* •)h№r€Ћ42М•УL3Т‰ $щг4Њ°ћk·ЧрbьЇ5{,“7BђҐ-¤HsвмTЄЛMТТЦUёbKБ¶(G€<АИ31‹©$¦Rb~Yж +Б¬oЛд„@Р4&.ђ#Ђ*a‰$lбЊ‘€hZaсЕґВХЎ9bЈ°Ц\б u€c{Щc3a°ж5«!ќA€щ<Зсє јв5ЈxҐLfДЕzFQќЃg0hђ<яЉЖржл›PvґЉ8д1НvHёBH6да*АіЫ8†A(+И’Јњјьe4+aЎH$q€™Y%Sоъ”W®т©ЄроЋќ@]vВ»C``ќHEљъx€]| +-ГИ'`q +ѕ +K‚‰Ь¦B +·aнЊиЦ™wVШњ  — Ђ ˜2 +`Џ¤2Ё ЂжA kXЈ<%ш„8` +ЅфjI©YМ58bН‘lеHд’D'ф‘¶Э.kYZI\¤‡}E{Т‘X4… ёpў|)тК:і$яAЇ4ЈFWDАIФ ›Yи +єШD^8QќЖН„ +@„Ј1ЙAє­Ѕ¬&#'5ўСт ‰&8)‹ 1#СИ`‡0L{(16БЉn”eMBA™Q,ИџP1"б˜хјж> Х!УЕ>ЎўNЄЄ3Р +е<жBЯqЯЙЇб$ \П(~Ѓ‘m"\EА(:(І‚)µ4+ !€‘ґ,lвЧФ8уМDKќ Й+ЉTЋ™ш((Ќ¬‘±'Ø|©Ц#˜&ЂnйmJёГ +FмВЕR"…ЉИ>«A„IС‚М‰ш(“У©d}z©˜цвlqP8Ш*‰MЖe*•xE+SйD"»еЊ"Ж%iЭf !Ѓ©$йВШ`бCҐЊЩя4‹Hфж°pif[#‰ЛВ¶Шіг#S—‹6ГFv> ђi‘¦L‚X<дГ‘Й+¦lҐ +_шѕ:IЮHDхГўю +°8rЯъЄЈ + +ёE‡$Qf¬Гґ @Ъ‹м…•h‡ + pгРЂFЅс°Ћ†#| +˜}эиGАЋ VHАмQ7»ЩЗnOZ»рqЏUфпx7ы<ЖЋЇ{=ИаzФЮЏ`¤ЅсБи@0˜ЊИw МА<3hБ f¤=cП5Ь!ЃgгмИ@†ОЋufђ@r  H !ђЂЭаF7Обyfию¶џ}2P{°aцІџ= ЉЂ|еwЂуір3ьQyЗ/ѕсЧЗ<-Љђ?|ѓЯ8я :/щк«Ѕиъ<ьѕЉјлќм•рd dСЋvH`аРИчОгЎф[tјгЖp ·р €А@Ђї +М2 +ѕ`3ЛБPл±Pb’Г‹ж + Р'К   ·@ Зµ + +ђ Ц 0ТА +pћ# уP —рь —°„ІP щ „MЕp IJX ЕА—ђ…S— +~Pкшxй—~€Зu_ЧuPxуа +' DШv ¦‘ +oщr™СPС0х0|I|щ—>0;˜>P˜>p…I‰№˜‡i˜Ћщ˜ђ™’9™’9…9˜…i™Ћ‰™Щ—z + 9˜0AђЌ¦щ‰r +˜ +909рљAћ +БG№ч +‚аЏLА: eа:P‚P^pB@фP{µwфЏ$ :@ §Xђ2Ђќ0ўZћљђ@ ъ™ЙЗ|іG эШyгЧyТзі`іђЌП9іIњ¶Щ™™9Љ©˜€I™DZ¤‘9˜|˜ќЙ—{Yхђr™х@‹ґ8n™–ЖX„r +®#А9 +Э` +г +°wза~0|ЎE ђY‹ћmє%‹ p0­…:S°hђ k°°7рЁђЪ«Жj¬—ъё•J ЄjЄ,pЄ–‹«<А" №љЫ©ЗZёЉє™0D°™@Dр›ћ §є™›№Y/рІ/§СY»iЄ ЋђЋ@±pЉP Џ``ѓ„р +m4 +Л°1 ¶oрT@Т Ѕv°±0±У+±kВvЂћЫk€°б +Ѕpe mы +0·t<ґщYчyч(я»ЧђчY(pµ0`zрЕnкoРUl%МЬч +Э°{~<|ГGЏz: ­nљЅ5P{К·УЄГD +А +‘З0љ`ВЫўюўЛЕQPЅШ‹Ѕ¬мє…0!`°иєы:­„ъ·€zЛh°Ёk +Є l« Є¶ +Єћ*q0Бќ:У™яљ©1}У”pТ#н©1НМЗz7АЁ+ Ж#ђД!0/0`… ѕѓ`!Ђ®ЇЩ·2јH °Ђ ГУкOђГчкХ@ь­Ѓ:ДЌ®NњДjЅ@ ѕЇ+Е=ОkўП;±\ј±kВаeХѓ:ЛЦМГыЄЦ!АН.р: ґш№ t|¶љКгЂм‡ьИЉђ|Ь фxЏC‹э *`Йo:†`oр¦%Њщ}“]| Й‘¬­”МµwkЖ ЫРJ ®K +НрЫБ{PЁ@<®\°вя»№‰Ь+»бm0О›ЕzрПz +Ъ20Вp юА +Ф– +ёXPб‚лѕАќСї© ф;Уїъ«<в0-Бљ +У3Ѕ«"ћвђ[їхЛ«К­<Є j#ќ№ћыМАБ\ЁхљДa°lЅвыЅAЂ0мЇ[0‹°8 Ю&њгъХNРЭйкХ^ +ВKЋеkНДgЌЦL ѓрФu*ЮqzЮ.ђЮsН±v=ЙйЬL`ВTЂ·ћђ®тЉєЦјЮm/ѕ˜6Рz0Џ +ЏµяGЏmЫ +ф@АЪhИl ґфx°mйЏ\ґљћђF+ЙЋ^Й^ы°Q kћsмз бЁ!љ~·бЊ&`дnДелbMСїЌё їђЉ©ЙМn°«ьА0А¬zА$M  УЏ+ ю°hРБЪ-­ѓЅm­°аЭНаО©э°s=±ыПM°ОИ€ P°нP'џ +ж°ИРЯЅ‹µ +Ёј­Г@\Н +ЃЋM  FPЖґn°J<ГоjЇѓЉІ ё™pЛ­¬уЫёч+У)nв#nгРЅЄ$Э©7Єј:¬ђє¬°‡Jєі,ЇУК[ ѕ!аЅЇ§ж­ж-Ѕt]о{озОјпяM +‡ dКПМ{о°ЮђP±Ј-±—МЧ»?лв жр +Г +?Ё Ярoб +0`4¦Р¤ H3L`вІ€ +ѓ6дИЃй… + +\ ‚ик‰ bєќлЫПя·oЬьРУ“ў‰?Э„aCўH‘ ь"Д‹—(`ьQЎТг?vю@Џ‚8…eN,чr&C s¦дњ9S¤ …8»Vјп‰ърыoЉL°аs ?’ў AMDcЌяє"‘R©¤€е(ТFu”АD-IA—ZТP¦4иЃ +r*"њЁ§ѓ°ИdЉ +YbЏ„Z a'l˜aМ +Г†E +Њѓ’ьЈ‹$‚И!J|ЩХэяиД Ж-Ж +"ЫЊаСbЊї®оє!‰јHДюC“/иђdq®yтaFqE ®МІ±Й3ы9лѕNaМ7Ю@SMDЬ|s №дdqЕю°Иf›Ґњr>2Фй’vўґs‹hрЬsyjљ$‰NХY ˜D˜ЙSJ>рЙR02Ъ(Б9ШAАѓ€­Ѕ%v Ѓ‡в + +ю˜A Њ †з:h‚ МE1˜ў8rђ7jуЌгњaг†Й#яЉEЎW. +хм#Lлоћ†—µ*?-rQ|dд‰ѕш0F˜AаЁ + +„кdЂEГR…®$zИ€Hw)“А®'=)ћУ4§(‹ЂHguЂIЁzЄP iv2ћmvџ\Бђ˜  БJё@”АhяA -hЃФ +Ц­Bx ]kZB Ф¬жб*qa,3*‹ZФYI¤ЬзќќDн +цђ"",aѓАЋЪ ¦x­±"иj0Lбmx€0ШЃ5)6hГљ ћ@d  0Aў1‚-јАE8‡7ДPњsЊГ_Оiмn‘RсДЖВZ’0сЮ|LgXЏ +ЮЂѓ x"° UpVTM=hS)бя‰CJT +WxҐў䆘€@ nи®ј«д5аJABХP†Lpб/УU X`<аА¶ґЅmh*БЄЧњВ7o”&°„ИKXкіTX?m!'RъrаэкуЊEў +˜їЉ ђ”В ;‡Ц“‚7ёрЬьСдe;h€EмЩйTэХФ6х‹‚ІЊці8ШdЄF¬2СђV»Ѓ®@:qх’§ЈђЩ.Ђ@‹fa˜GpЖ+bxd¦µ"˜ІЃ1ЧzBДјQoА$сЉ@ЏBи‚ђ"Ј7ѕ ТoЧ!Ј]ЧйmQЪFm +аў899OK +Ф P-k%?-Ц—RеlW©[wЁуДfИ +uк§н`ѕ2зDІ‘‰ +B$бЂn– „†\¶52±‡%А!Њd«ЅяKи@‚hВB0—чa;аІЎhaS‚gвЂ%hъsИЃ)Рє +Eа#@ЃD +p§_&Ъ©Є™h˜Ш*ђ8ќЄуҐу€№ђњм шЄjВХiў¤i”Йє°љюи:ЇЛ ·ђД O(„Q“ґ¬B4ЃґBС–m1„6h«іKџии‚/€‡M`VёАЂ()Ђ] А<ЕjЖr r Иzі8г[¤FJ«М’Э¬‚kJ‘ +L +иё"@ #QжД »°vC®џСЂ:x:›¤Щ*'ъ­љФ™сБЯкA˜ШA§ѓєЁЛђ8ЂўЎCЅwіўэP‘,м”<A–-ЂЏP‹gy‹LsКA@„ґR“­|YщК°Ф;P:Ђ +а€ЎXҐBѓнRFkѓНлє¶fфMfФНЧ|>]Ф‚)ЂѓАЉ?Ё№Иёuу!Y;Еэё‚kBѓF8 +>ШЊА®TC=€‚PE"hKx¦hcЃ PFи +°Е + :‰˜l:”CQ„+pЮЯ +‘‰©љ*!Ъ™n…­Ї*Е†@­Ь ЂAР±'ёЃR(…=р„6Ђ) Ђt©Ќ¤4ш.HПЬlѕхМЕ¬Ж5ЁН +и”„U._ыZ!QҐXг>Сљ›ѕ‘(ђТc€MтЏЖ‹µ@zЉ$LP»Ш!Gм$>СЎч”СeJ7‘JЄЬКIиАnhhЂа&aR8„a8†Ќ>—>iиАЛј$“7P$Jc$”ѕґ0И4КгґNУИ%Х“йУ*дЉ'КРќFgљиIJЂB CСв5PE`("hDђ‚R˜‰ +ЂНЃ „gК.KШѕ +°„вA hЃъZЃЫ!‚HЃ +«“µЮJвћaвQЧ™˜4х ™"«ІЄMЩ™ЉmЅxЮvє‹ґАN71и± ЂL@-%;µ­co6Y­c·,§eрЇґ· +N›†VqђА +”4€РGDњ»kуЪХа—.]јkЭяTЅ±fН +,{¦рдID8¶l &D€AѓLp®Ѓѓ3з–Йґв°С5hЦHY‘i +гЖђGH¦\уfО8jФxс&FC†\§%…Љ?4}Ўs +| VUU№Е–_h`€ ЦЎAР@C†(bФ +Rм E&#Ф`ѓDhh „6]р +Wґ`a«nС°–ZX™%BY"`%Buс`Б\}йµл]ЖЛЇU9„ЕDМцЯ\¦_!…pfѓ +&tыВnњўЯPM±иJqhА[ЁЋН6Ye@„P" сц‚|oј1q.Ё‡ћ*0з#’` `ЂA*И‚Њ ЭЃ' КэЃ^zлм‚ї1€L_ + e‹Yя”U;BЂ#$oј‹a‘ ѓиў!!j‡qРBXUiЕБX>[u«Бцв‡ –Hў–|Ђb 'ОЪђa!P‰&81И;hс¦ЋozА‚;QГ m„±‘йЃЋL^рd4Ь0Е‹‚Г Q BД–TфҐЂЋЩQ™hъQљ$­Й‘-,БG +yУ­E˜ +4 Д…n ‚pфBgрѓљђ‡-¬ЃUђ NњD,`bH˜B2в8˜Б љЉ›,`;м ћГЮў +ќ " :Q¶DuЋ +%H9:™d!#xяМЬ @Шp1KHLcpёЁ-/CОB…ZҐЎжхКWМZЛ‡ўhЅ8р X± +2ѓ—c¦B;@щrу> +ыН7=Ѕн'e[АДКX¶„=!^°9)Jg&vy<ЛЉМўµD/љЦ«B˜0eMхD:Ў 4‰ѓМН +7D8Оа…p0•b Ѓ!ћ@`д$˜ъ њp…8|тfШ‰NрHВ ! +т‚NКnS8jҐL>‚(H™2”“Ёг“rаш f +±тaW†чґ«0пy4хћx ї Л/ѕўlu"ід…W?уК +0‚ЙЬЗћЯ|ИN8џ’!°Aќ bC,иLE­‘Љew° Е +Рo¤3T•IQљТaa>ьм…D«јі@Џ-”°@ЁЗДќТG61%&я·ѓa +Б@ AOhЂ ˜"0Р„ВБ +o€б/ђ‚XpЇ^@Џ<ё¦z°‘Г*'–јЙҐЖJ p`DШ‚ +ђРMЌMЗJЂ«*9BWRЦµP2№ЂЮQ˜auѓ=3љ[К5‘it4№Ђ¦њшЎ< Р¬іЦДн{ѕ¤Х„ј! +=sW§-ЮYЄ§DЧЖ”0`ШЩ +рдрн@ЁЪm:3Іё +:ЊCHBЎ е y"є1дЁїыфpЭwџяМм‡?ддBЛ¤і“"Z°a°Tј"ЎыRCBМ†’˜LкйD Vѕ˜_Р†hдИ` A6µ†<њѓ0@&jЂ‚ xѓЯЂБўvFJ2УvW +OаБ)У¬s˜K’uђ|ЫЗџДLJhw%]БS +0hЕ—Вдs«ЋGЎФґh +_yљ† 7i#FуC$’ЛkіХ$5•n ¬Јµ@ "_&@aЂK…Ма-¬ЦhМщ„Ић +vрОPѓ.э-и¤Іщ(@ЬtЛ»Ѓ{>6°`яяБНА5 P‡®8Dєа€†vPЪУѕo +фKњOуKЫmзvЂ +юP†ИАHpB ћ|hА +Q¬‚bћ‘%m\vyT4хш(рАR9±I+ЎЙгј\`}„иtЉЅЌDм6аK0R\•‰мhЃ3сЂZ|АAdн_XЂX D» +‘Фµ +B!`Ж бЭTбЛд^JСМ«©FО„Va LйJY<ЏЖБ­Р”]и‘њС[уiJУШU9С•eБ$” —иX‚нd BАБ"Ш@&P X@<†еЕEьG”Й¤TЉMXR˜дThЃ˜СЋшџ#-ЋЎ +EѓIЧWј”0=ќg]Ошє° …њ€`ЂяЃ„С_шЕ’х +Љ4™јDДhF`ђ†­…БfИjT‚ЭmЃЛАЖєґКё[aэЪЌЎе9G\CжqВ!`А1lйН—ЖШЧq¤^АИGлЃЖлн‡mHёЌTЃвI!ўю4Иѓ\Cф џЌEli…™ЦiK[(…R MO +F Ц/ЦA1ЬмьRZ]ҐM…QxЦXDљ©яc¤бЊ«IEQ"ЖќСTИЈRb…ZРM№A)”‚ЭМ c8 +ИPgр Яx Ѕ +ЂdдGM2$ђay=В+ђФјВ!ґ¤,L +˜К +ґ +8X‹¬†„м…ьbМ l®J‹\ЬуР…|А¬4Ч–ЖЫ]p¬П¬)g` мЦЕюж|Ѓ'P‘fЖhtЯKyЏУiЃ#юYWрiюђ©cЛДЅи ЅЬ +б ђ¤В§¤@I@+\*0В+@М.ђ4 ѓ‚xЊ‡РµUqмS}ЪЗ \ +мБH5м +€dЬZ [ђ°`њ€a ЃЮ®…V«ЌЉ®4~ТШЬ„бк†щК,*FСј +я FДeҐаD☉2:ЈжЉ’4ж–RивЁGАU)‰уqЬ1ѕYO°@нС4¬К^EТA%ЇЬ@є(ИпдVI5XЇрf†=ПђІ џRИУ°EХ§ИuaВЦ†&аZ?.‚o‡B +Ь&clm№|…фЛКЌУЙоЯћ№е`ОlвM†юЎѕрMОюЪЈюA6В#@ +Ѓ†'P†O¦йSЊ”ёќ["~Еѓ +rEї^“ЃT!щ`" Ё·оSz”Р ,ВфdрA†cБЊ`ЈЎPЯйКNҐ ®Вc™LЊўL¤ЬЋфҐ*•Й,љКфСр Р’ЄҐжYXEТ1ЛUШНQ*ВdUlIйаdР&ґQJпмqDAЭЩ +м]vЯ +ґ…®„8E"б%HuYбф.Ѕ +„“(Cэ†бФ+З-k~ЈD@0‚p VЄNњЋu‘AЃ M`0¤ Ж‹яЁPбВE”(TмьЎР„дџ. Х0QИЖ"/ЩІ%„§6БyB$УЋhЦpш0фЌЎZz°PЪC У ZpUяѓ©=ћBµ*Uu4PAгFЩHT1г@[·mяЕ•ыПнЬ,р^ЂЪc,%-nвPJКВМ…†x` АLвYІАќ;9. +ЏЁH!.‚дѕ CЂWћ‘D  Ш%.™ ў‘FZRў†*ІH“Nє1љРAђPЂЃЉ<^PйҐU€в +#jxС +T в…F@Љ9СhaБсJq©*тК­°*ёЉ*ґРЄК*«ЄўТЄЋ(iр†ґa f{+3Ш(s + +Њ#ЋР”Ћ4­Y"љ„Рe$DЎМbрѓЪ¬FV’dT€CЅF-Б‰ў 2@ЃG»ШEяxqїET›C"‚6t‘ +‚РЃCRАї ѓ±н о„њ +"^`Њ +д@….‘˜ИЃ‰\by3 юkC +ЊLlБ¦AЃ9л *ЈSмфЮxЬ Бd вЙ`]”e—& ,Д ^Rѓ,¶я…5;hBqDџЕѓ +#rш +NLф‡ОRIўѓэ*ЩOpМ†ё"T˜Ѓ +¶Pќ +^p_х‚ +^ +7 +|ЫpяЫБз,`7K@€] +4КuМБQЈa‚KЗg€®;Н +И44A„Л\†ѓt`1RбЊ¬”5;LiЧ„H†С®С ШPЙђ +.&hѓ +є”‚6„! +ЈЛ. +”NйF-\€Єя:«(‚®а&Fcn ($ИФdF +&nКВ +~дҐdF@DЏљV¦eЌ?p@fД)њTИ O#ю $ф`Ў`АgиАЃ@а‚ +6Or!4*K mЩJoMOї˜ +Ъ&ўL б„j ¶  +—Аaаc¶Ђ}”Ћ6@хC3a>аЭp#г*§4њ,v–'^ +®а +¤Ђћ,ЁCv`б!dр%јnaнeЬ¦af‹Ђv ЛGвЊП> ќ„‚ ›pA4 +§«d +j@pД ПP$|f +Ђ + ѓ<ЎР€а ¦ ґ +lj N'w$ S<Г ,Бь&4я°Їwд2 + 9І 4"гя8QйўЄ|  +ћ@l,ђ˜lgeьђџ,YЄЂv +p 0a™Иvђв6.ЙЊ"ћ.¤<ШCћ¤ ,Б*z`-R3Л‚=BЖC<ѓдeћаЫј©Ъ ф#„¶n+=БZ‚ € (]z +M†>\jР¶+/ ъF БЄ# /."$&/‰б ”ДЃA0Ђ(к +В љr`нNД8Ѓя° 4АSцЖЖЖЄ-:ѓДfGМ‘ш`”АЄS.–eP2й1~‘ыІ–м0Ўb-&бULеbСrљl¬МЂіN§5ЊL2[§2З1в +W¦ +­ ¤c_¶`jВe +m jk\*а` ђ +a +Є + ` +6 *™i +Р`![аcЈ«ФJ +(ЬґBЉbbЖ') +§іZУћ@$™- M$ ¬I&а :фєbkчшЕ+±а\ш ]Іѓ]ґЂ9 тR/‚2DґћРћvУ‚fk#№ <ы‰»Ї»b† Ъ`UЙ Ў°ж"`Ак3 +ї` +$aўHAѕФ@у0ї†HфьлiяXпX!ў¤єЖ О`ЪNпє¦Љ ‹&"j !’ў¬FЈЄJi +вcjЇ+:¤#uЦaњ +O&ЁR¶v">.肦`ю, ЅC,: ичЃЉNћ:¦п0ІC¤P^дe:tр6·OEdm ѕРЦЄF4‚ ЛPY'вJжЃ +ђ!Xя{rAй–¤H""J˜ HШnЩ@pЅЂ„@xЉ§2`†3@ЉЂШ +ЃZ +ђ8ЈЄМ@ цЂ vЂК”LaГjsUЋ/хF7®JG#У®N—_#Л”*/3cYЬ|X@.€ґ0ЌђPгt1gЌщRwe#Юђ…­иT м1TҐ‰чhв¦&a26¶˜©кЦ@бПZ(фDьҐѓXM»¦¶љ¬)Ц­ +§рCxSdЦзNшмb"Іќкч(*дПв є:Ц'0Rdшџ®ЛҐ¬‰рB`ТsСъg ВЙO Ѕ– Д"`5$x¦g&Ђ +‚ +!›В°=+t«iJs +њц™*ИCfЛєR&PC`лfn”)џfЛ’л…}щdк¤zU«Ї"п®и>Ђѓbп:udx“7яn>¦VрJ$ »+ .”E\¤ +h m)]ЁЃ}№ EВ"v +^БДaW9A™%ЎШњ™Ј¤№ЈЂтѕю«!я(b'пЦ‹љ@О э`›3@vдтpЯћ` +JЎ.-5ЎEPhЧ-&AzшЛЦёЙкщК+Іћ,Юо2c…Jђ_ќ, Ёl + ЪT`@hНяrЂКB0Ю +’T…p G®J# ЊTЩШг–1З._YЧя8ђДJ¶Yc[hw•'ХЎтТ рjE·ШµUчЖЏЖџЕO0УЌJaҐА™:ЬLТAeАAБF%jўDьФOсXљш`¦йµ¦ГOЕј¶¤г\s g№M^NЌђїРШ ~3f(щЁ…Z +аkдУЃшОP˜гЃЉ&‡ @phШ~KћdФIќ'#Кd#\`"ґEf­E*FdЇ`BЂц5NЎСt‘bg‘DЈYвІКX¶xеj1Ія+»Ж#љЙшХИXЋЦ +Ґз°bа +Ѓ`”r%пKK•a¶АK oЂцАaВ“ёђ")РЊ0ЈИЦВ,гµЕ‡=Щ;{^чжіЕпІэ№г6e¬X а@мh¦ +юшЪU +! І?(«уЂЖ‹#R +h\–N +ђ‘­ФZ¦o2WЌ»~ЉЭШШз•л…Е2ь~s».ґҐ +V +ѓB +.И H!XТJeфПѓ FxRF*UиQ†yа u +п дM†`Y =hPЃFфАE6Zи`ѓaиБL=ВФKB¦tQM]PС‘=р0^`¬1…X\АЃDQ6QV1˜ц†TDхЖ–5X…y!lЃЙpp‘^X”A¦Ц{ґеV\+ +1 TfeЌАЕ˜`rU±С–BѕҐђ[¬№эбЫh2Б:„40 'Ч,ч +'XqL2LgЭУ)»мЦA$ЭяЃ^hћu5 Џ +UЩѓФай &„±EDР'˜щн‡оЉP‡4љq ЋqЁcѕъжkR‡жHR…BjtгF‚€pD,р° Яў@Ѓ *ёаЙ+PbD2ОXЅјcАтx#€э;0БЕT`fД¤4\q^7dBДP[`6й…„VZP№ЂZ YuЪV˜ ‰™љЂ +‡® иўЋ1:ЩйqQ*Пље"…,"ЎQХ"­m№ХDь­ц9д +vX'Ь:€еј‚A'˜3rL.Ћя4A ЦeG]uХIЫ_ОР†!H™а™љp<:VY\ +\Иv¦™ +tSќўКSт0•1НLgВађ°Ѓ§Ґ-jБВњ€°·F0;шљ`кBЕиp‹БcФr¶ґ!2ByУzHUЄ·еО3ћ)„Gић,m)…»КyF 6'аѓ@DV<х†яЁЬ& +TрMИx›ЭиЃВ)Ђ’A +Fь +—ГА5dЃ ЂЋ|  ”е,Эxз6Є‹JlЖTKн¬MmТ"›–@„Ldb‡вАЬ‡с)Їy1’<`ьAЇ$Х+Ґ)DJмeП$&ГЯЌр·І•‰тЂ1кБ¦р(Lе*oАA/ѓР†6ґА<°@DђD˜˜ aэ +АFцЏЄ$AВИ1]ІX.yЯтFѓ к0Qвbм2ѓ ~i[ВЉxFёуdpgjj·і–L К0+шZ\Р Г*&Qma [ца˜FqKmЈ*љ6)&~fѓ°ЃЭЂ®Њѕя +u№$^ЬА®цАґAf(gвК №­’]«Ќo¬’”йё@ЃVfТ”/»ЂD@Iµ,Ў(с Adp†DЁ`8ћfдЙ•-“%Ёф+QІЅЊh€&>¦%J/€LВ"€%$h\Ц0QШГЯДтPМ¬ ,mѓ(:уKIфR\СLљv‡=ѓNiQяФЎф№‚LиQ‰ЉфЎжt¶!&ґ2Јвуљтњ™€ъ‰5pO§ђ2&-‘7<б9©v/;Т”ж +±1„­ЈвRЪРЖU+=#­xєюю—Њ8ЂЇ8Б дH‚РиBѓЌ:;H‹7ѓњЇy7¬№ќiї‹P й~ж’4и%4PМЊЙИЗЙМB(mYяЭxЮ˜А,{°!ЙЕHЄ€їA№<щЙ„щРF„‡жА50„ѕс +A˜ 4иЄi ”е—Х¤`Ш¤,їd|oБD 4РџоЈ-П-8xs'‘єjъJ·ЧЖ¶)…Mo[Ъk‹Ті‡bўєї}ВяЅЪжЖpNf btЛТйO7mзШ•(¦.ЉС/Љ·ј¬F +Slm¦`EлZЪ’Ji3_˜–Vїщ +¬`Х`;ШїШД5ђѓIрў¤аД! ђ [щЏл­(УГҐжh…@„g<±3.ЂФЫЌn шт +- ЃКЗ‡ElЃ ђyђР™P Эѓ˜†+ЊO~хУ23±Y/к™$ЖcҐЄАФЦp-hРВ•Ќ,…И”ЉMgЃЮџ± у+Pсt=¬s=§ЙmLS“љrѕяBРхrA¤ii!Ќb–RшЗ6S·3KЇЖDNtu?Ш6&жU[&OFi&MeЄВ:уUFI•_¶Ў a,ЁЈ3Цю…›ЂЕСSњЂ}w Р‚m.иvцE4†0vIЈm…жЭm1Nwс"@ нўЗ3p +zћдX0 ]Ш…Н$2©—V’u2?B+sLњґMАqPqРMWЖ<-vLJ@ Wђ8 +)ђ¤VН3WЏfТ†ъB0IJa#su$1Bвg|KP~Аjc*дrяs–T‚ђR;!5]¤‚D:jSз[9ЂXDлQX‹й‘h‰f‹SТ3”7pЈ;˜bЃбХ)Y"Eи§aшЃуe_цЕTQ±RЄу»!m+Ид(aЧQSM ЋкИ 3ѓяµ ЇP<,Їp‡А РxkDxDm®’x§СjёҐеKі3ф§д'PxIъЎ”ЂW?>–q Т…ХpY +_xzbЁ}юТ‰Fт2хc’R<Ўе`°5R Љ +џр +р+¤ pЏ’P,)ђКbїб*ух—I^№ЋwA;Г‹M€Ђq_…я!иVLU#ЊҐr ’yъђVђъp]˜#5’ЦУ?‚0gи•Ъ©ќ]ЕMZPeщ{ђaР€яA`|0Ѕ— ˜`@рLpeЂзР 0А Eр +gажсЉ!РЂ€'ђe 6 +Ц9)PС№qЖйTбБxNд‘·hp‚Rр5.yZ я… +Я 0`¤!ЌW±7Іa.+ +Ђ*”sSB±l3ҐRE±jТ3ќБЊѓ6Ѓ%7 QUХ«Ѓ[йNе)[LххRцe€k Ia‰Ј8Њ3+ ›лш`Ђ +ґ@лікШіЃЁ:`Ёкh№P›&?ЎИC ‰хpXz„‰аа~ ^P­Ygа: ­њlpЭА +Ь фђ k®FXj>[jquаU+¶< @‚#ФћЦ“2[щ·˜%ИhИ2>¦†KRrР0@`m eаЯiј€Э°ЖlрpЯаL@ ьҐъ +iЬ +зђЕmЊ0  Q&рБ\я™`IUиЄ?FVХ”Jм)¬пй=5"JQ#Ar†uµ0`@N +ѕxЗRT¦Й‚  F0_ђP`ЬЖЅл +?0П=P +й° + +р Ч0 +w «&C/(Q2!-Яуэeр&Vс2ЎTяW(]?lH–фtУ)Р№~а +(rаз g М'ђ2 LрёXLФзЂЖЯђњ]¦ќ)Ђ¤a\є4аSLлц22†*Кўc])Kdх†ЬJЃ{• ;ра]Eґґ“oнҐЙШ˜1tы‡дFК_ZMОd˜ТE[Ѓ4“™ѕ¬fеFc^ћ"™…XОЃжХF0_ъwїЌМІ‚µb:У1АmЁepe офаBђgђз[ •ЎНў +НЛ,иФzАь‹ґЩ ґљРµщЏz +Гp©р +ќ Ѓч`}4:?i]@Ьл0GЂ +¶ ЈяСjp¦ЋЭ}Gр +µp«·ъЭwkкtрй + ЏР +ЙАipIЂЪ‰Wue$Ц7K*ЋMШg@ЬЈв·k»щЅoЃp8Б{?с™Ѓ‡“MPBpЮа +iЊб^з уGљ`e0®iLФkЬ +^М\gа(р[N +„LXi0БzЇ%ЈeGІЯоvЯ1q»x…м±<< +жO^w™3‹у3ЫЃ_юu.`чS2•Hе`5•ФLґ5:К’Ћ­щяз›НЩ\МЕ`јаzћзђx. ЪPїЩЈќЩМ зЛЊФЊЪылЪB ±=ЫВ2GИс+Еђ zґGK?Ж]РЕ=Ё0 +Їачµ`µ шЯ +ш~µЊ л + ш‹ЇГЏ`ј › +qк.›А ·Bа`оНП +Юр +хћђ+™эёQ” +Uя]˜`N'п±[ژ$ ! +$8Ёђ „ ЦЁЃѓЎC/^8DxPўЎ6mЮ̘ᢍGђЯЊ$№‘cG(ЈDq±RE +*юиЎP“ +Mr6ССдД‰2AQ”СQ” +›"'јaљБi?N™ћѓк'P¦gОx)Тµ›џaЛ +ДcП’=z$ЋІёgЏЃЂхЁБзЫ¶}nХаQЮ»Ї@ґR§N›єtЪТYЈ]Ы6muЫN§‰@$G¦5`JЕ± D д,.(7sбЃ™з¤OџобЃuямЦҐ{аЮЅыѓ,аЈ;їPѕ< (‰шpC +–'N6„ЁaИЕН2‰ОшйЋЫя ЂjNHDZtВЏqјс¦Бяѕб&ЇN$?B "“¤P„ЬР@ѓвЋ» + Uк§Їђ*ў©@шу#*Ёєщж›nь8зњnJнF*я/Rн +©°КЄф'¤Р:к,Z‡r«ЁF›ђ!(Р± R x…‘»0ђ™d …f;и'Ъ‰…N0xLlіэМ3УІ…qLыl4С@л6Ыm^{MќЫЪµ-u'Ќ;†а‚ "ЋxPў%,P№жXxА<з®ЈN<к +пажљ“оD„НK®‡фЬР‚VЂЏ€ж3!R0BP8Гї ЅH¤‰\РDfЎзЅщЏ›nюµТT_югL–ИD‘> AйK¬B№Ј o: +VЙfaлдЪd°хЊЫm?іLЮpН•юшEs +6wу§ +ЮV`СЉ'Аa +а +` `З©ВЄЂ$ЉE,bП1XЕОs0‹-Gѓh`Љѓ1°‡kИD +QP$мp(… +$hВ\`6‚я…cй”vЋќuCgHJ"P`Mа DА® њёЃ=р ћvўжx G ГЋ‹ІЖµЅ€H]ыGЌfdЈ)М Z„rxР‚)<б #X‚'LрёАc*Д L0€ xZтc™‘З‘ NpJЙ Fвы d+ЎВJJFЁ’aЋ +T€IL`B(O¦ tЈ<Ф(CчSўrtЛ€Р€7@†˜›ЃИ’пг‚ +X‚‰{&"ї +tЃ + ‚=рЄs7 ¬B+І €I«†°Ѓ+4Тљ/љ˜е0ЋгP‚B-@ѓ&!Bї  ш’г)˜Ѓ<˜№Bx¬H9‘,?!CK„Dр‚“Ы”АяC5М™ћщ9d<Эк5tГяЂCБ»Йћ\C7,µ9ьЙ›LГ•У­њґ-j¦аґЅаЭБ`ЛДаќ%X±4]ЖЫfШ¦®ћeЕЂN–ис6… +WИ`„W 0Ђ` ‡_ !аЭЕCU`к%d +ЧЄЭ<¤V№ЕЛ +TХЙУ^пю$PћyеШ‰eбВа§ў]еаМ“¦П3 јееl" ¦ѕ†іД +ЁlR)hnрҐЫ2ЮX¦­hЄоHq-3h" „"и #€ЃBШЂ†R0)ё©Ёќы—М2Ё)е йµъ>nОйXЈвHдPР‚+XѓчђЈ@,¤Ex¬’Ў‰EгFejЉbў<¦ў:њГQп—Ў + z`† +€–vёfђ™$[RNУ—ѓ-ЧJ9YuХ@ёЄ(€OаM&zёFЂт~iљAгШ ‡iЯ6ЯьzџљзD+*і +)h”ћ#'сГj€x*€ZУ ўовPAНЧqЉJ®јeкдњЁ‰Ў° ќ€”\tђPҐЬ-ш6•бўo©Ђ[Uя)НTЎjђЃYИ….ђЃHq4›ѕ¦[Йк‚‚[ +§Ѕ~2>С@·°е Ь(ѕЪз]цЪИЌь‡АшdђЂX `Ђ\°lБу–k9l‚ЗСЃТ* +A(‚ZJ9P9аVжOO‰ЉЂ(LаѓГ4ш*¦СЮвш(дёў 0,Б|—A}Aб¦чз4AДІ*ч 2з˜˜"а‚-А’‘с3’‰‚D©Вё»9S|l—C?˜ЎўР@yҐO/г9|‡ђgпFOµ“‡КЬUU6рє…”Yя˜ +]лeёрtY +ЂШ&0ЭАm XKhMќ:kйТ)L€aр 8ёЗ@§N> ХЌЫ7nЬиeИ ¤K6'љАЂIa&1uиД¦€ђ ~LvуУ-P·‘&Ѓr3zфhQ!NЩиHa"¤(єЖ +J=zXР d, %,О^`qAIЪ¶\0уаЃ№s=dy ЧLјYдвµыцбі†YX`v­†h°<±%Њ§B/bґ1ФF… + +MtxЎзейnпјyяг–Ъ[7Ц«UГNЅt6mn^n{9ЎЈL™D(љ +Ї@РЙ+њ0"Аp" ђb ќ\Г# p‚8Џ€УЂ€ +<2ў‰" +ґН‰в`АЙ’АxЂЊ 6 Н6ЦФ(bD)>вбЌ%‘594$ђЫ`  +8б*hГoжБIљJ9—мRІ%UФ9)СC zIи$zYЉя’A 0DЫ8ЪМ$€3 QP!ь‘BФ‹`B3§ T@­‰і +ypЃ! ѓwЖ пlѓ Ѕ“:ц+?QN~Г›2 +70”4р* Њe-WФФЯb©(Ћ0њЈхrЄ0‚ґЈjщ[ZQ€RЉR%e#F`иЃ: –Щёc”ЦЊЈ5ФпцёУџв.ђЅуЦu‚7 A4D&PҐ…jЯтEЬV"‚Д-Я +џЕAc:TДJёЁ‹N`љbЬeTѓЌвиЌкhЋТhдh5 +!КЏVЎъ€ѓЉ5б‰ЅВ!l[.M!K.“€`!'y`“й)ћл5Ц4 +иІ–ЎОYQ&hDА*@Б˜Х@AЊБ:LhD\U~e!,BќЩЂДQЬ XЕmБќ!ФIБС +ѓ!иВ4ј‚{¶…!Ђ|В-А2H +-шЪ=мГ:$Ђ3, |®*©ъ­®ЄEю FZLnUxJ‚¬rR' Њ8@Њ·ќШ\YHwвЗЂИ№•Ы°VйЎ€:рd:hQ.лнсћїkePQ¶В5|B М>И:рBЁAя БМ!lесQ\Е-‚ +¤kДIеђи`Б ґЂ0жCµЉw}E`ъл& +о.yяІ=˜г!noЫ5<ВгКП»Ў$І©d/aби•ћЉ031ЯC<PЁПфћз–Q–B4Ђ$¬ѓ=ИBH‚НФВ@A4xB‡"ц­ЦjiЩ–yҐЕu(nАќЌА';A + ¦- +¦‰ЂРвѕБіБ1А2*ЁЃрВ,«Ѓ-ШВ,гт&l: Гь2:(АхўBцjoч^o+іц3/ч/ЈВo‚ы®C5З/¬ѓ2ьB(„‚1а6D„B$„‚;X¦;Dг{\/€…L!K¤ЛRб1ВъА›v@ШЌфёґ-ґm;H@ °F”mя«­љФІIІ ‹}} {х& чГ*ШГ2˜Г ++€°'1|:$АРё„h‚t¬©=с +јЃ¤Vk…^їА8Е +ґ“ xB4ьА В‹ЁБѓTvЛnґK/И€. ‚HВo' +Jд3`ч2=ВcеO2`·еYЋq‚.АGI„XHіс˜g‹4(PЈz q‹°”р ПwЫ%•RыЩ‚Эoћ-?Cс= rИ Юя(шѕc·Є‹Г3`qйЈ{кKдЎЕ<ШбКя!”ы`@х°HвЄшЅ·Р_•ЬЇ:«‹ЮЇJхјќ.Бь4A„V'<‘Ш4Eћ$tBющ7DV[јђB>ИЂ њ +>%0xР 9@±MДT$$ +§ &€uKд +эшsФ¤П??®Lщъд̘­YS§M]wсгЙ[[ ^цЊ$UT@L +Щh‚ &P  +eРД€.єp ’Kda $б„E±ИzO +2 ”ѕn9HЎЉ"Ъ„ ч(кИ=!}$† ґBєе—_rR%yИяe”9RIеђC¤й¤Цјd­Є§ћ#j(УNcn—СЂ*З©йIf*Є@ёѓ°$БИЗЋAR-<Ъa +Bз/…6ЪИд”W.KЙ‘њD(ЃHю"F•9bТІ“NXлІШ`s-ШиЋZj5:‡v”TЦ”G‰( Z­8FDБ:`O…6№€8W!ђкЁ»|нµЎ»”3Нg„І*™Ё&mцєн6імЩОD+*©¤°ЄJ'Ц†Y»«a~NХзTwFй aѓ@6^]ОЫk —¤N0ђXёЪv]СёFKen±Е„R•”WXх•lЁ[·UљФW•-х]g“6°vEt¶ ¶БVZЛєmПд +Чxр¶»RKэ[Џ~)а’Jѕ˜§‚\&Аз |т)&("€@џт­H}5ТяЁЕиЛєkЂЊ№ИЏ&е<+BІ Џcщ;ўЩЗ ‚2q…K9а'„с‹ґђf${ЙО¶ґњдОv‡шЌOњГ·Ў8е'Чђ†«ZчґМ%j86‰sјФ”ЧИ&sіХгДВ гАfmP#–і“АҐЉM§К3L§1M§yvkgꦩЗHЖ(XYЉЄtg;+Bа¤`«¬F¶ЯЁо‹¬євl8±ўЌe,Ё“$Дq +Й" )Т@TT.tdY`аQЂаЃ +я[B}VPе#¬РЉjЅ–±”eµФIЋDde,ЩЛ +,|і«Ё™0QAЖ8‘Е•j*®с +ќВRЖР•НTqRЬЁDЕOёНXR„Љ7йЦIнt&ЏPНСДб6¬1ђ}T”ўZTСЉ†Ґћe\СDk$?щќ3s>гД5дШ№в(КVtZNњ¤Т“W 1Ќ ¤ь ’§‡Ф4"9ERЙTЖ2’}‚’(d,w +9їўE®ЊЖ““2КІBY”ТKLЎЪj‰шҐaјв[“i‰;QгjTQД!n/‚1€Р)І€љUћ.’+ЫИ€w»К"Јd;pm№1$CSэб’sEzOЙВ›0VЊ€ШЌ +".… ЂРп=ћуPk[ТСNwм“чAХ« ЋеU·с N ib\+$D.RУ±ц’Iяѓс˜H<ЉaКµ®Ж «\ —x +ЏЅєx +CGЎВNc‰HYF¦ +¤Љ'0Ў65ЄrQ|zУP«0ж(iћmК– +ЊPу•Х"§№ЬҐNџ{€p‡[\гющPКЌhF0VF`дn4'Д±бjЋ~†ХFmГ+РЎ1№|ћ;ЛЁ‰№‡!ВйљЈ{d˜Ю’иZRu©xШa0@ґх_уXЈdc8)Уќhm#[°ЂrU–иеwіO: sh…ДGХеUя5Жt\^p г$ьXH§E/ueqH\њbcАё®р @№№Ќђ™†е5Nд:н‘Ў˜ + +йЁCОиђЉU7йI—Сg¤утПA +”¤eоDо'ѕB#ђd§v‰М@а(*n'#prп +Ю>bЅ.†Э#­JBЖ8Lт”БаяA/ѕ-Ьм +˜LLЬ"пув= Јь,¦ b† +‘4 +№ўЋЊ .ь2жUфgHME юvLe˜pфШ+\$рЂг„A­а +©€ЃђяЗcHвcьG™”дЬPмЬ(Џл1- +eЁЅАЖкЋjЫИMўђXБђБX!Ў<Т‰°eYМ¤“OLЮ°ШњHS–Ґ}вPЏ.(|B'RnФRf іFќCЎ Г:ЉвZ1кbJРљ0W:Єь`eк +i6` Гn!€г!v,e~q +€SF +4бмaж~AДГЦ gaјSЁJnHe1ЁЎ4Т"sS7г«…тй'јeж…Rб)Яи#<ѕѓWЇКW5#7nДуааЧат\®ДъАxД0Ў=Њ#>/Эо +ЇРв­ +FуM-@ ЕЈё†ђ +CќЁ2ЃџLгоТД“єaџX4Л'Оp%ыоTetNНr0АmФмЌ +S®AХ5W4Єћ^%']ІЈ|Rёмз{¤U‘АЏРю4cљ‹@`bЪи +=ДaC'TVЛбkПAЫv>ДЃ¤>БBЫ–¬&HІ5ЯЁњЃюзн +Ж +5?Шcђ\о0hЈКј…‡<*1&чЊ~}q@_V +IаTуЦр7ЂН#_…вЎааnC`.ѓ?И +zДЌЊ +™ФM$Ґ™,/Ь>і® yhЖGЛ• +Ђ·Ў=ЉUZѕv«ШVS«'Љ‚±Ф!-+7kПЦ ?cyД°7ЛЊѓ»Њ ЗvtG‹zўў( 6Yияc­"М(ФlЈV`c¤к@RЪ†#3+lПР€Џ$•ЈгN(Fє8‘&Н‹ѕK9КHuдгђЉо!^тN$5жЬућ•WйNVйPЫНё*_F‘цwHv*,]•@Э¶‘ґH,6J +\AуGѓґF·/b ПЧba…Ј…CіЬnЕЬцB-CєCДVЌ(јВ«В{п'D}Фc)АФР±ь)+ј±X€Ё€`}±Ў"о¶RфЈ[D›Тдґ8XЕ‘+8«NNmЬьмxЮ~cU*«)Z{ +zѓ"‡ИСіeuOЪЋ•kg|№:F~#1Дяф0І€†YUу„k0№©–}CV+"ц-­‚ктЦЎЯ8`Њ +$DTС»I†II@xс0i Мбф^”[Kѕд!Яък,.>Жb,0/Ѕї 7ЬК­©g%„ьu=жѓV10БFй­|”S·*=tbКо„ґ«NT§lи$mўЖю"K‡ёвње;R·Бз09HЎЖ +%F"ўй +Џ_±Ыч™u…й+л†єИм+Сd+Вjh/›$ЎИЇтСЬг•яo=g.&}Ь +\аЮ ѕја^- +дь˜ba0юЮы +# +чj¬Щ­®\Щ0л5Ґ(”гњqШТГЄ|5Z6ѓБ|>«l)0юСђNБ€<Ѕйe:3ЩФС +CР¶2†i%њТ+:q7­А^(zJK^і`@P“†H:сҐ=e-o +аLY +D+P@ Jp bњвLDВІ–џ4DnSAKЎU(ОьВРЦЦ>!‰hЉяO'Ј +m8t +‚%qF'!Д +BJ@ °Ґ†5 A&¤‰>щКѓ„’Ђ©TО&NJJ€:д4дЋ¦©ни АЂ`ЯDl¬*·љѕПЕohЩ7ї Lџїґлj‡"2° IeЕ"®ЕЬkь +*b +..ўB]<мвdev9ЙHN’РЋ{ ± +nwЛi«4ЂГшнҐч:qЁКё‡оД#ѕЌ¦АL-ФрБЏw»І¶я;Йґ9ё|“XSОS'IЙ v +‹:™¶€сR R7 ъ’Ѓs§|ясгG‰‘ђУ +yЈ.e1d4•vТ`g=бUйГx’1Ґ'GБ~Ј]’Ж|я„"1HpС +рdЁГvЎ…ѕaЩуKџи,Ъ.К°Q–E6*вCјф“ТЉПD +ж§ЦN q +е@ +5413u…0CиБf4]ШШ’,їЗv‚3)QДHkcЖvўBeС#mt%md'hЎeQBкc#•§v0щ1„ц2 9x!мс†.вz4µ:У рў`ье3)"^нЖ#„PA˜¬FY#nж!с’@„$н‚R#Б{#(@6„[QB 1!aЈ/9&S\‚jhRHС4"цUrjеАЃ +‡pTкІ’—Wb©щDRbjh °zў)[BіN–·S„рQA’/¦”АЧ…ъщБ%шsPW!0s…uJВ fWѓQфMциђЏЈ4Ж`¬H*®ЈZ©Ш;яСq–DС—У"˜ЕS + !†чAљ•†Ћc!Q8у#%AHяµ“ (dлІSмЈcб_cЪz`tDPBc@СFtг…D•пІ€,е…0r +JДђL(1FВЕiЂ75*‘mGЃ +и +Yм0˜ё +ў”µ@¶!Й}&еЫЈЊz№—еТKя"Є<ЛУshYёЧZЈкєЈВЈЄыЎ ZЈУўмЎ(z­Иs +ЙS +њr4p‰Lfы«vЃ‰waLСб<бу}]+сає‚%LLV Eq°bsЉХї*Љдсєu‘sМу‰Nь‰>J<сggq;>RЬsџHД(­‰{ +язкДDмЎгAДА€ўfIёoУ‹Ф®E +pj& +‚@ EWѓ¦ Р­ек®Ь +В0 Вй:ОЫъН„+˜*Њ! +Мґ8ЕТRў9љЕС"<,LЊ Ш=ъw¤»jЪBq˜ѓЋhІMGєЙoUЙoFјY"муE»©xь…~Z«b°%[hM$ѕ]°x*#A‘ѕ‹њРmDcјВ ‘¬ZИAАвS¶Ў$‹аЧї,* аІ«Оs-аµZж˜Ј-щ;.•ДЉМІ<МВJл…©ЎХв<ЖCёoI-4ЪёМ ~рљ›±Њ°ЫЎдЪр®;ъДЬ2˜…ЙєX›G»¤<яћ%*Р"Kф§ДКУЛУіЎОrЈ%Є<йЦ`ЇЊЛ®aќё(ZЈ0\<7Ъ-†-Ї>jЈ6j<ю2С­ґТ¬QОЉNЛ+ЈћlтjУL#ЉeY-MmVIg +кLoA§е¦–Ф-ЃШЊ™ЌТЁХ +У|I8Э.2з¶ћ юD:ФX­µX2>2ТP‹%ЁR?ЛСЛNЦлЈ2ѓ™c'ЧЖ)у;ЛЪе˜g¦№жЏ‹®Ба +!@ЉѕHа ђ*}‚\№а”ВwЁ ¤mz Ђ‡ЉR¤t±+DщкHѕrд»ш‹D +BяDК oUЛ9"й±T$џfu€;ЖYGA$д™СЛ Ш{њ3!bе‹\Ќ3И1ЄЕщLдѕіќ‚цQЗ%dцxњ,DўAz‹$%РиР…eЂВ%ІЃ±qI2¶Йr451NnhrРРD'7·HНj„q”Х0Й4Aсд˜ШD4_ТпL6ЈaўВ—:]ТилXљЩLєЬµ.}b‹щѕІґ,5vh ЖУ€–§lҐ+ЭЬ'ц‚О^cg7¬УОv¦@PТ}Дx'=бБ.yeQS*ЌЇас «xіhиДЉf•&‰Омр€‡к\—R—D„;@йGtwяџAЦH"2jњL7ѓtС_с—}Sз#bШbжђЙ‰|лZЛH#‚МS Х1H¤2ЈоъЕЗµђwD€Ў[ +)о“Х¬t%в¬] +Oum Y гМВ¦љ\"кД€: °Л`Y,Ґ¤Q-L2у +Ує)™±xћў +p('bЂO~2@А€k +$і6O© 8¤ЋоSџ +дЮZGO:У е„]Оqј‡‹ЩдFlЛkќЛsxьb(­©Xч”д«ёyЖ{і< +k*цU&©2«ж; ‰С—Шm«ШЕ9VМЋџiW2)Ђ/ '¤Б€ћeµN[Ф/ѓ№M­ЩµEГ! нП°Ќ+Тx…“эЉNѕи°Ж:д @аdq\C|aДU®—џ1‚µ‹= +Њ˜:kґыcЂh‰)ф;…”Z­K ґыАзj8А®S†ж`ЏоPћгRЄ*+ЙBP9µр!«QЂХpPт5рС¬С +»cҐVZҐ +›”d%VRѕбТs¬nCq‹ЊJ Н#AЌГЂЮ‹=Ѓ: +|.<АЇ©Ў;оPЉ —ЬYз(ђ€а#1b\‡Њ± +—€ђ‹щЊ"‰tџа,ў*љ» 9Ѓ$ +й *gSџК®1З蹘тi©”¤Ё Єy +й«B1,М"B­` Г@­¦РЧSГ«‡r±М#BЙzљ7“B,ь +вЉ:  sZ!iё±'SёЩ›Ѕ'CЭ‡˜ІЯыВrА29y:A§)!„4릧ɧ†|ЊП0ќX©› +RВ@!‚9ќи·`і^щ5WjЎАҐеб Сx L™–ѓ 6ќАяbЃj†Nс +t8ќ ”Яr—8ЋQJ<@«uX†Й$ ¬циHr€:ЫАОБEђPц +©ЫаDPГ5ХI‘‰ђK Аю*Џs™о1†Яр–КO@‡,y’~rЊ·x iТ8|#І'iЉ4+Еcs·П`%–I +тЊтi +®РЊў ЅR1м(h:Ѕ Іі«РЎаC§GHDEy ЖМG8|ИтíЁ§ГP з«7xєІNXC…Г25ЬЭ3C€KО6д t +=qиѕ)I +/?·‚ + ++ЁћшГ“0Ў•C"ITћн` +ЂжСЌJ +НЉ A,!в*¶ґБ€‰шгB5Cєќ‰‘c@‘[HЏ;г9ґCе*’љІ +!Жcј—жР@AЌд№ДЫаПеЌ)ЋЉ +р¤р%*AЗ;b +У’«КЛЊъ0G„°И» џ.ѓ +РёЗ<ЧJDFС'm9fКBХі™Хј і „GЂ=F0>tzMКЉ¦§ЙMЖа­3u ­ё +Ќ§wЪИїЁtІЎРВЎѓ»ЉЗШВt» +9Ф¬?НЉ|‚TGй П[PТ$= +[‰‡MРNYKZKK–€ГiQ¦tЁ” ¶ ¤Ќ№яЋЁjК–X•%Ў‰M‰9RJ +;ц`Ћ +F#Ћ:€AJЏщ4ш`oйCлґ№њv({Ёўд эо0—ЌЄХ D%нА9y›і”QўЖNй‰д№К¶б a`ЁзА[Х5ٌ̘‘СЅ»ЌAИPЎ* +і™6нґОІШљЁ) Ж”BґXЊФCШ2ХM’ѓRb ОРл RиFЊ 2Њ…D=}bИ Ђѓ8czMљйMЬмM$C }tH3µ,ЯдЉ’ЊHr2,{…4TГЮsІЭS8ѕ(Шr +гН +tДsшaXјы„MH<˜‚‰УZоА…€9яOрZ3ўVґХ‘wiOIсX‡АLFь Ѓ˜­М°*­P= +LNЋо4dд°ќРКўуK ¬ЁтЪ№9ј%Љ8…ґД$VМЁЂ’Оi#oIвСњѓАЁюЋ‘%вЩDСА…xy#L ˜YЃ +bA©®KЏьmQхїaЖ#®YJQФЂU»b%РЌбLЄ© ]9GZ,9НЪ¬ єAЩ”DІsКШ€ЖШМr ЛЉ§Дj“ЅI: +Qм]Е5щE‘c(з +–PbРА9б+·!–Iу +ЦђълРЙ€Љ!KЯ8tЩхђЌu8+z[P,j<ђЯЙоА\T€v1[Ќ ?•bMiЎЈЎm Q.Е)ґ +1lхPM‰*P-СЮёФa+kЊш…X8ЋъАе°J‘0ш№J­1±m¤ђ%3±ЂЧ»‹Ц‹-dй­Аж ®№g_!6ҐЬЩ$Х8Јp\Ђ‡Аб/$єjФ‰[еa +рz_t0©{–”а№ь©›fs@ЏYKЏ?ВВ‰ђ„8kБ9EПY[ѓ€IBсЈтEх5Э(kЩр!· +ьґ‹QVTwҐБЌ%тШH  HўЂЗ±ўПэ’ГSТ5З1%]«тµn“‹‹ћ,тcЗRuИ4ИбхXЂ‚ »g˜ІїтгзћгЌ%s‡ЬBЗH'‚3ёМЪшћA'(Г‘аіИ’>* п.lё9l {bхhы eУшщЖз/ґ¶;k@VqivКуН¤eф‰·яpсЂ¤pЎп +@eXћЫpw7ђДmjыЊЕ3зё…}1Еь [ъe.т±Ык:—ѓёќЎ- +ѕщLЫћч„ +КMЦkфМ>aљЬЋ‹Јй%ЁXaВ7И0¬а•]й^”‰±GЂ€ЛЎВ +а‘°o$/¦\‡« +€хKШ/xnЃJр)\· ~}B@€Ш'b Pрй@_b"Фw°_~ЭЪ=|Ђђ + @6™У.л +Aф¤:Q +БSЏUђK4SA!Р#љ H +ж–Ќў¦Є_©ћжY`џН†qµµц!ЙБV˜ЄД@ +Ч+ЧУ цx=зЗ+вcЙ'x сФ‰PћЬBT ђZъёYD +шЊў№—gJHЃ{бI'µ№Ґ})ъ(baЊxФп˜юb ј¦ я$‹3ЙS‹ ЊIH$Kъ`EжцN@jJ*щЏэћd%·А%АГ>”т”1i`lўЙ:b±$%џ]C BrB¤ў$BLД К.Ёйиѓ„GІ(Є˜ф€F)РЗњ(…І *l№Е/bq•iЊ ШIя6s©ъ‰ђЄ‚]h,“GСhЄr­В ЁтЈЇО5f4Ё3Ќй^іHF6R2»Дкe„Uќ ‹7ё[¤ІЋУNЦ+”СYMozгq•І>lЅЦц°l ‡xЇј{ФЈћкtbyЕQЂrк% +ж$ґ/‡€RЏ–‚‡c(iI"qКBuЭЁL‘ (@ +тA#I + %Ґk±…I1EEЗ>RЪRЋxІ3Ґ1¬фUTЕМ'sЎsЌWь*ZЩКЪ[нкјPњbR!@іыХс^!Ї"‡5ґiV[зsгї?жЋЌІ˜·јSПZЭAЏ${гJбИЛ“ѕсќіјЪ{“Єъ9яУ^¤щ1mG1FЏ8¦°d^|&З[™R=€ +Iє[м™ЭсяБ3ќёЋ+:©Qq‰?С% 31&вАp±ЎтсOО +›ЯL–ьЗЙЂЙ™З­Д) +бmE–HQ¤°ЫEHЊ„Z$ +KдЦЁmEЬ<Џрњї| +Каi­Е[ ‘XмЙщH—…ЖЊЙ“А ve©И5нI ‚tLЄ €Ё(@~T1@ЗґM +$ЅEbxТ„5Д™^"ҐОsЁ[9ђmR&µм±›8hw(#4 +„„ЁDI…Iy +–ђI¤„џКET–мњU€M ‘A€ЕЕД̘C<ЂGјO<ў’I±–KaБEѓЂ\2№…†сGиFflYжаЕЁ(›§”Шf$ЗДйбi†№х’]±U[хТZЭЗя†84@_ЅИaкХбћ›#!ЂиХЖ}TЩeH‹рµ’р0Џ!"bєL{`@уЎKuИСо@.Ѓ^–эЕЉс…ИЊZCЃВ&ёњfhџyСЌЎl„@ +|h@„б,LЊh€1Э‚эќщЌШ„шAHRSЖЭНЯ“Z8‘:NЇµY]ўьKE˜ГLY ЪZ¤°Й@КЕЌMмe>}WЇ)…3†D±™Јђ” +1@шядRkH‚±°FaршNґxRt`З*ЋсЫЊ•˜m˜и +Я&dXRlѓ5ь§5˜ѕEЏo˜GрxOЅѕ)–ГUG9™лY[‚–F‡мњ‰ €MW”]Ф)I $:VИ‰ИCE,dО^hѕlМbLЙн@‘O ЊT`S” +^zI¤DЙ +iЙйV КHђYЈЌЙяЋЉ$щ5Ф +џi¬FµАG|d‹o@џ‹mЗ5¬¤»ќЛ№cЩ¤З­€¦ржњ Ј k–]УQм„>зkё„<_X^ EК=sЮHEРm®i‘ЄЈ”]\ЉвЗив:¬”Ы8I±…,—Х”"K€Иъ( +ѓ®’ё`ЏҐци•і(ўё4ЗЏ©Ю‰a†°(ЩђЎ­VНдvЏрэ†ЇЖ-Ђ–0ЂnГ6д-ЭZГ°B +„я@C>ИЕ¬в4йЗNl%эm‰ґї¤л[ЂєЋМ,*эИл“фИIАД@А.ѓ ґЊиљxЎНTА) +`Йm6Љ¤яTRЬЧ›ј .и”2„ n*D<НAp.Еʱ,СЪxi/CНЛЮqЎ$„–DД1h…ZЕ>ёЪЧ™МЋlДE\Ч-УЩ8IЙ€%бle1сD\Д…1iКг-О5C>dр°MЦЛ}HK“‰’уќRр4Rvm(йХwПxbПZБFc(` А»П5tрЅй—K1,ҐЗu%x0 +$vYБа ^T!` Ц^†\OПєЁХzHRKB± іuґ%щЖЋ13sнxкЉhXА.¤к^µRc«нaЯx–aк(З54 +Ы>КL4: ˜¤ ЩX]Ьtµ—ў)QH˜ѓ9>5ЌxЕ +KP ћЋ8”@®Е,+PB-(д ,г/иi еаs.\ЂNT­”†GBЋјT•R Ђ3ИкєOіё 1‹Gµеg¶° цДUЧ‚­ї!Х” А>пU'` Аq3Ћ!(c!°чtзiГ#и-L*Д-0p˜‡іаљGuЁ‹$G4їF}4F®HFiмdІDJ†eP[¶B1Мё<я Cє‚‰ЕZм©,ЏиЈXq,„ZА/”И: %PХЈЯu1€—9 ‘4‘ Мo­ѓ0A„„њ©BИ +ЙИ›јVћ`РшРэ4AЪҐ3М™¬¬ЧсZPцvoўEQ њ©=Еф™RИM_ђФЩCЮ«1 +М„МЎ€“<„¤еЭЋ€"Тщe€ б,onє>$є–J=зДM*i\[b]О`Ь^‡]Ev[н8¶L333xHт94“¤b†eЊщ)нµzАЖЅЃpsЂз2г[хе„ЅдЇ6@”яШo„¶a%d¤кf,VuФRµ’ДiFр\ЗоШд+8ГгЬџqСяВГ`l<рЛкЋЋiи‡ +гIљ…фіи^аБЃ?MGm‘Х…\АCIЫГIxКЬ±kJPЫњс“JBсџб1M„tМH] @ѓTD ъВt [ ED„’DM(QP€Є',ўщњ,<#S0‘H4€Љ] hъю-ћЖP4щ1gжёЕюDЎj^P1›ЮE"@t N0+иёЈТчьтzдRђя{уеSЯwvfя}ъ›Ѕ+@єјюс +@gРR(@Йhє^р`€OІ_hҐ_`JEЊ%kEУ н¤ Ј +(ьЧИьЗ3U КhСЃ$ +ґH`]H— +ЉФ)Ўѓv $°ІwКиАOuд©ѓмI`P`®жz28%Kз˜KШ+: БЂЏO ЂkѓЌ +”Бѓ‡‡/Ѓ·аеН‹ћ\ѓ 8ВKр‰±„>L°˜˜‚Џ‰}BЂ@Agяbpn«@Ђ$О›P@HI@ЂАЙ4мТ’8q:А ѓlЯНю-нU§W№]г~…Ўчл’ G§нй,Й¬3сіukрБН8Г®ґН|ђ˜кRK4З Н6ч˜»†9ж^!ОµWH©–Я™–9Чf‹.єзЄ +B`Oc„ ндДЩОYтКsЋ<йОSO6кћK®=Яд¬ЦТ8‘&8NёЕДOР +;ы¤54`_КD!№n!F’ _\мWЋШRнtдм€4з\g2№АЋИЉ!¬LDЕ(Ф‘TЖ8fVЕя`о(НЙ^”ђђR|ИЛђ +sхЎ¶„єфЁ3ќъИ(-џR(%•"Й!ynyyЂ;_кsLDт ЎЧ СAђnУDt”>Е%/фU=Ц@gXЅ·У·ЮtМYЧњE +Й…-\bМ-@с Z) IнРљ‰Ё +) ¤S@f`fђSdе ^{ +BBх2ћ˜C˜Sў~q sшe/)‚И¦ З +гТ%/*pG‹LN@yЉ';:Ю' Ыќ+5BЪPl&ф#а©fWЇIv^іЧШ]± —oЪУ­}‘"?ꑆ{°5џыРN\ПыХc¦‡ +’8ҐЈ%}ў'yЙ‰JЋRЂ›*N…!У¬ВЉ‰ E+СSSАFГҐФpsИNв!–•d +Ґ"Q‰Юшћњ‚/O‰љ_~! 9q‹`C€Nq‘Х г/&кЛ +dу"мґЕ!BГГ-њA€®&@BМH¦њЁЁfBиџB3b$№Д !™F»RHћБ°!Ђ{Љ9@ДЋь0I‰Ѕd№Э)a€QBТ$Im…џK4F˜*…А$Ґ{ІЗ…нб$Ђd7ѓ¤EAvЎ[¤Еи:р +ђ Ў§µ–)НЬЇ^Ў’Ґ<,‹^ёq?‚др +‚¶A +ам ґ&%LД ’‚VБNБ2JЂґ‚XБVAацq= +cnA`ЁћB) Ђњ,§а +Ђ(K +“!€2 У$Б(’„«рАD  я +а*к2U!%ў(MTR)¶1 уESУ& + Dmф(Ъ/%4MФ М"ъK3`‚ +`"анрЂ-«”(_t °K:.}nлS€ІnЎh!RцC+А +АD У +UС!#Fb‡‰84.бТЪЃ#$@iп!QJ + iµВD%у**АCs¶KЖЦ&mм0Ё)R>П/ +`‡фQ +УnVEKаЮ®F™A˜Ѓt/М + Ssб.Yб @ъ2 Б&ЅY"Lt"ЙbБ +‹#}…ЂЄ»3®›ТlZ^сs¤ЏI+“`©[?B.„Jа­й9ґчЂ,Ј5 dиtДѓВtъМ8ѓ‡!`HB}ШеN{1сй’х¬5ДsРб™№т +ЂЃ&¤‰Ьс¶љЁ +ѓя1єC +ф”пr“I;– @Ѓ$’ВЉС–n№5«Rењ)5ш2!ZPoт|…K@СгrhwЊw1чakС€'~\¦KuЕM”, ц$ҐbНН.vхRЫa2–ЌБжa “k#•-5cNЮ6ъ’0*!80 g¦wІ8Б‰ЃМD·2¤ЩKгЯgIvЗvVcY$)xzѓ“и%7т]x‡Х/„”ЪЫ‹Эя3zi—Ъњmж>)жi\ЖbёМ`»Џ‹рб_[#{С0f'‰‚Bњб&¤ А¶ЎґG­НOШlo±XBГ§z+8A-ђВk%ЪЎ°WАCѓAFDАJАЂ‡(Н!њ1@‡Tl…Nоr u$ШbM!U2 G +P @@' ђuKБN 0ИЅ%Ђђ¤WT%IЂуЂ4·АSЂа +”Аj +HВЊlѓБ +8s +ЫЯA`Ќ5в +xЯ’њх˜ eм!@¦3ќk€c=ь©™©т  4Йi%3Рz$‰й``9цБ!БDЊз9-jP#†Ч$A•k ЁoO“яљѓЁЖџAB…ђBЯ&„2п$Ri$j@oA„PPЂ.мшЉ’Э"IЧh<¦t(N4ЂљtҐ8v±Ж +uў!™Т +Ћ,` I(ЋшЬ x&“‹T Из*В§ Q†њз(ш¦И"VМкbяДr +Mх_ #©МS•tjFнђ!9‚–3}"N+СИЎЋгќ @”© 6с›~ +Ђ5dMЅю" д(аFЗРї +WжјgH@Z«Wм8µыDи™xBў‚Єsџм(@@ЪIP$µѓЃ¦™RiлСOп 7$"qВ;%уО +р^ф-жВЕ™N'ZЃЁг +,FҐf‹hI BHUЕН„ИXz <Іrг`dЏ…‹х6ҐР%D%р +[µG[ўпЪL>·ивcD€&E™їС„\Дqш‰r$ЭлАЂO4ч-Jxµ#M(А[4`,Д ьв +ЉJ]а д$ ЗдДГ:ђr‹%и€Е-dТђwЌ +†HQНjZ-Ђ»Е+9€џ®±Lц(ЂQ›"Є8>AљѕҐ0U)'2*@ !ђ +ђЂDIњE—¦G +gВD+&Шс R°l%sLДякышъМЇb№–Ж/+§ЁЙ*ґ"¬v4к7s™Тb4tЖЙTAаВЧ%п ѓЊїpV«М tаДВвЏaNтoрґF\жPЧ¬сiВ8ї°ЪjlEpдBHAYЄҐ + +!у +TЦlau.Ў)ЎВ + +pЯб6B «@$@B@ 0 +Д@,0р ї„@шB яE1цTfbдsж°—A]{!’У ‚*7Ч%DфpмцА<сB1Nѓ:с•`ыђGЎДЂэ М° +H’ +›EЋњ`$в ЏђЖ3< +° +:С эШ +azdDжt%p‚І +Ђ­’!8іЌIвBMA­ѓp +*ґ°s +ґІ(iи +ф,ђ±ФxI€бІ¬0@ +@d +№Ф}±[Вzуб ‚ +Ы +k$юUNнp +кђ +ђ +ЂиРx0Ыc=wяse nzx<Т›!Іr1dыIс +љA8lфu8цА@FИ+ $ЃsґРx1dвlqЈr#R@њoyN!™М#_ђ1S•[¶ +С‰@*І” ж y§p xРAjтNlQVЧ-ётf—A  )lс=oa”ВR°s1Б7>·Жq7|С*…±‚C/*BBVXGED?е,©8p‘ +ЧЧ~!2RУ6Пcі ДА +Фњх)5r Вђ®%У$8гЏMУ4Сг4Ѓ…'Йс + +)›ьйs¶"шЃ+°h|вр +Дp@Г™ZЎ +•P*йD/Г’z±5j° +p• АVіё.ёp7g o3 +Иpz8/Б +$А¦Ґ"N•7 +a”0 QэPCqRћіґV0Л›S”ЇБ›сяo*Аў*wi+7њэРx2{Іqі?Q‹і„‹©i~v 0ФCцep±Px +fsE8ЦіY…д†Гj+H°H ?%,U”1Ї*oй(Џ1]Щдa8К2P‹z ,ЇЎpјl;Ј…сЖ7nT JbdШшmхЦ)і5mCвZЇI5иб`№ZRCІ +ыe,Wґ$В.ґҐJa§яp +Ж ¤° +0 + PU±3J#°т4ъ)\кяъHa6j&э(’А8ъqa”$5;ea֘ЌBУ]ЉґmSсdЇР Њрќѕ=e + +ђp± “о№2Ы)ф„ шё}"tЈ‹БyiБ;Р®?•“ 9r‘`"j]¶Њ±+±Ѓ{Ф™5#Ч‹QЗaOёґўБe=Ы) +ґ +„дґ”¤‚ ў‘PиЈ'рpKќтshэ–1Ж9@bяIлт|~ІK".€ЃFA€{‚јГwіЋ<ќьЃЈ g'Ua,љ'С?oІ#Ќг @rG^Ј'оfoшw +кp:Ўng§zИ7®V"¬ Й±_Ў„3ъЛ“‹–;3нђ,DФmАW2‘@BI‘Cы  +XTKТрўй4џ4Ѓ +”»˜й|х6[€$ѕ А3ЎОт*",H€!‚2dХЙ5 сAЋЄ$l832шAXґтЗSМЃП.ъ~˜я$НК°ё0иьkkфлЙeШ:" +А©Q,d/xЪ›н. +PBЂR‹!N<№ыР:sCз…#EA)ф– ˜Т" {ЅSй +rіrњSq<‚EБґsA991Уя•илYJpч‡ц±Ъ’ +†n{„Ј¤ +@Q»_цutщ**ъuLA*‡rmUc9”nQнву–#xб4­qR +‚еrа`•Ѓ%$$ +МrIђXў±[1P@ЊБ*{нNДS@‚Б\%08хіВCч +(А#3ЧЄ\ + ;µ pв9eЩЄv%;@vЩбч (H`пћ„{цh+ +H`лiЧ$XN€ +о9%q$б”fЉн­“ЪЃЗЃ‚Aц$SН!Аћ~HHЉTRщы% Цt«„:XE§М+яФЧUeйњ +( QIа ЇCЖЃ\т`ќ§ўіgХUD3 +а·а}b“JNb!Ђ-ўм‰¬VTCіР»$ Ђ +% дИ6VЂ2 +Іx—АCА№<ЪAНґКl1љ9:@‹~Д*ё…=s + +p_ШБЕ:Мѓ˜~Р"Xy^`Вђџ ccч(UNA¶њ¬"ьВОъО# +а Мk6Ђ‡еPД Л rЏЋ$¶я± +ёЖ5@°‹·А6@P(q‚eкц +@Nн‘viЗф ќЬb~!іG аВЎјж†кЛANbЂSДFNDW°ўg>я&V<‰WцdђЪC:л ™ +<˜GOБВH\у‰Рмc:`Ђ]дµЋuМЕTЙS:ЧFGVК cKJ@Њ{х¦`§ш-УЦ ¦QяшЄ›Ц˜5с®КY°фUекЭдА3X ЫЩшa†‚O@~ +^®ЃЫeE&狦¦QЛг›њIdТМ­—ФSбHд_ОS=ЅВг{чј1u.ЛґsПб+eTj®щ&]°SжњбдfЋњJйј{›QЉn¶«Е·э8™<ЌЛ№!BP‡U襸‡ШR€љ[ +Ч &” 5x„O°s@ `v¶њcZ+†m®e"4xюжнH I|\ЪXјїБcVvјдљB^°гDx&Я\єШщQќЋбМУещЉ&Bcзб‘ak®hzЬX>ѕaЛЭz™/я©з>ЖeAЙкћ‘Юэ›‘њ¦jp>> ¦jбpПю˜кіfgє~ +}оkЕдЭ QІ>И вЁPжњ·&BNne !Яt6j­О\і®›°\¦·~П+НлЬ•Уз +КnfBs=юкifVїfеїiDЪигсgј†м ! +—Цµ"БЛы‘ +NЁоH”Ґ‘Џ”шВхa>B(ЏҐщ%2ЂХ ЌЊrйЩP»ѓTLй®)аKj=О^\ъЮ»ѕ±ЃПз}Ќu>ђWф®нРf6@пеzm%f–oф^7Бу^·z3kЪ@ђюopѕjСђюaя +©^yclИA;з-MH _зПжЪvЅ№aрќ7 +,`j#џ#nњB9џЫ=ЏБ•ЫpЪzҐв˜Я2™ХИ…8ШuрйP,yћ(У‹иA) ШІђ№xЃйЁ*zЉUсЏў +{+ВкЁ9ЁщЌЉ ™Ї +™т щЇ* {8…—R"ќъ +ђч?z))+ x«·2,Њ yњ/Ѓ0Љµ>’‹†яшђ‡­яђІ˜xSсщ¶кЁ3gџ№щ…аЁ†'‹Аш‰Ћh—¬Г’©]˜я§#ђя +хъЅ`x№(yіАаxЎ Я‹…ЎиQаёыЯ8s%щ}xЎ†і”OyШSйЁҐ·yџ?YШс№ы])˜‚!,%Z.[yѕЂљз ‹Г/ыиЩ ЁЎ°§Њ«—€SXxбЎЊ>:s{`xџgіЇВш±З€ЏxщМhэ‘Ї˜0‹БПэ1‹ъЧ_9Qџ6cЂЌ§ьвпЁЌя*0JъАЇўЮЋ— ЦwьЌ7Ђ«З…я˜Іv˜ІЂС №˜і]ЩLЂ +аЙрЩ“Б&tЃax1”™e0*у?rЊі‰5Ё9'«yiЂX·N‚Ѓ}x + °® +яґc q„К H€OВ„ PO"ѓ€К>}ВпV¬_±аЂ&ћv6саўё‘АF‰x¬˜° +C м! ‰$4ЂЂ§tЦаq ‰хKcм­ц‰bх гЊ + ЈХљONxЬ‘(±wЛ/4  +)л”°О¬уя=6б-lkN[ YЈ›ДШXА +|ВJ;цч˜BЩ·P”Щ%!їдў0" +«WYхЌйfЌ + Ђ +wЂ5њbПeqf*UЄ6ЄцfYџјкYЖ5€ +4°Ќ5’РN“т А™вl#@MЁ¶†p›ЫрIМ ЊШ4€OЖ["Љhе E¬‚"PN~ф‰SЎ4г¬а$0т µЕ$Т§еФж'В$ЂNїз$і¬  !r'Ёў›CИ“Ќя! шj~Ї&"1 +(О‰8Ї а–»вІ6aBn~2"Щњ#™Аі +T…¬0иЊж›KRоqИPЏє€Т4pН +/yAђiѓ"…ЇАs‹ЎHtЊУ@x +п# +APz +Ч$BМ«v¬IЂ2p“6!МB ёЉ (Ђ>в +1а±й9CqyD!РLФї?­v¦ +?tв„Ю4,ѓ5Ћ—ю“'~йH­…’ …8БГт-іzєьџј®Шї3ќ©•уЄ 2!ђ6ИЎ1њЫ$1!8L'БяЫ`ЬJe1Љ—x: +. 0 +,Q+ХџюХ°oХ«b ЫУњЩU§{eЄc{X»ЮUg‘µй_‡ЪYОvІq‡]ЭzYћЉ6Є©ElMХ‚ +ѕўфPЋ +XжF6µиЕ,c%ЛШДrЦјЦШЖUs¶ +уn6®Ѓнлk^m +pХO }ВГ +¬c0 +Ё)` +Н#|Н  …В +а§}‚‰XaЕ•A +˜_•z•‚}Эv›‹ҐыНџыщ«…]2ђVґ±`•kqЧЖ•yyоц1аўбя ЭQбОШ•6„]\Ѓaщб_Я‰Ў{mбЃэФЭ!fЫz±—ЧС]]бМЏa +cI3¬ВЏҐЯ­3ј\и +UEбЙд€€Фњ DЅ ътЕьЛ/ЊIъщєЛ,ЎoYHЕ`ЈЅW€/і(J¬0К/ +C0¬М‰І°СІ„0ѓД>ШГ*ЬCЇ Ащ Б°эВ‹Ш\†˜4°‡ < +Ы‡шўД«hqщА D=ѓО˜,°'µGI”GЇc(Ьpє¬ߘ1¬°З \ No newline at end of file diff --git a/i/city/u4bg.jpg b/i/city/u4bg.jpg new file mode 100644 index 0000000..b32dd27 Binary files /dev/null and b/i/city/u4bg.jpg differ diff --git a/i/city/u4bgn.jpg b/i/city/u4bgn.jpg new file mode 100644 index 0000000..d447be1 Binary files /dev/null and b/i/city/u4bgn.jpg differ diff --git a/i/city/ugolokudahi.gif b/i/city/ugolokudahi.gif new file mode 100644 index 0000000..3487e77 Binary files /dev/null and b/i/city/ugolokudahi.gif differ diff --git a/i/city/vesna_cap_bg_d2.jpg b/i/city/vesna_cap_bg_d2.jpg new file mode 100644 index 0000000..79dbfab Binary files /dev/null and b/i/city/vesna_cap_bg_d2.jpg differ diff --git a/i/city/vesna_cap_bg_n2.jpg b/i/city/vesna_cap_bg_n2.jpg new file mode 100644 index 0000000..044b89b Binary files /dev/null and b/i/city/vesna_cap_bg_n2.jpg differ diff --git a/i/city/vesna_cap_cp_day.jpg b/i/city/vesna_cap_cp_day.jpg new file mode 100644 index 0000000..d29ab66 Binary files /dev/null and b/i/city/vesna_cap_cp_day.jpg differ diff --git a/i/city/vesna_cap_cp_night.jpg b/i/city/vesna_cap_cp_night.jpg new file mode 100644 index 0000000..ac365a8 Binary files /dev/null and b/i/city/vesna_cap_cp_night.jpg differ diff --git a/i/city/vesna_cap_park_day.jpg b/i/city/vesna_cap_park_day.jpg new file mode 100644 index 0000000..c9b8df3 Binary files /dev/null and b/i/city/vesna_cap_park_day.jpg differ diff --git a/i/city/vesna_cap_park_night.jpg b/i/city/vesna_cap_park_night.jpg new file mode 100644 index 0000000..3f83b3f Binary files /dev/null and b/i/city/vesna_cap_park_night.jpg differ diff --git a/i/city/vesna_cap_strash_day.jpg b/i/city/vesna_cap_strash_day.jpg new file mode 100644 index 0000000..5585fac Binary files /dev/null and b/i/city/vesna_cap_strash_day.jpg differ diff --git a/i/city/vesna_cap_strash_night.jpg b/i/city/vesna_cap_strash_night.jpg new file mode 100644 index 0000000..829c18a Binary files /dev/null and b/i/city/vesna_cap_strash_night.jpg differ diff --git a/i/city/vesna_cap_torg_day.jpg b/i/city/vesna_cap_torg_day.jpg new file mode 100644 index 0000000..5be3cd8 Binary files /dev/null and b/i/city/vesna_cap_torg_day.jpg differ diff --git a/i/city/vesna_cap_torg_night.jpg b/i/city/vesna_cap_torg_night.jpg new file mode 100644 index 0000000..c47aa31 Binary files /dev/null and b/i/city/vesna_cap_torg_night.jpg differ diff --git a/i/city/vesna_cap_zamk_night.jpg b/i/city/vesna_cap_zamk_night.jpg new file mode 100644 index 0000000..c05d917 Binary files /dev/null and b/i/city/vesna_cap_zamk_night.jpg differ diff --git a/i/city/zaim_cap_strash_night.jpg b/i/city/zaim_cap_strash_night.jpg new file mode 100644 index 0000000..0564181 Binary files /dev/null and b/i/city/zaim_cap_strash_night.jpg differ diff --git a/i/city/zima_cap_cp_day.jpg b/i/city/zima_cap_cp_day.jpg new file mode 100644 index 0000000..894990c Binary files /dev/null and b/i/city/zima_cap_cp_day.jpg differ diff --git a/i/city/zima_cap_cp_night.jpg b/i/city/zima_cap_cp_night.jpg new file mode 100644 index 0000000..0e46b74 Binary files /dev/null and b/i/city/zima_cap_cp_night.jpg differ diff --git a/i/city/zima_cap_park_day.jpg b/i/city/zima_cap_park_day.jpg new file mode 100644 index 0000000..526f4d0 Binary files /dev/null and b/i/city/zima_cap_park_day.jpg differ diff --git a/i/city/zima_cap_park_night.jpg b/i/city/zima_cap_park_night.jpg new file mode 100644 index 0000000..344a99d Binary files /dev/null and b/i/city/zima_cap_park_night.jpg differ diff --git a/i/city/zima_cap_strash_day.jpg b/i/city/zima_cap_strash_day.jpg new file mode 100644 index 0000000..a587594 Binary files /dev/null and b/i/city/zima_cap_strash_day.jpg differ diff --git a/i/city/zima_cap_torg_day.jpg b/i/city/zima_cap_torg_day.jpg new file mode 100644 index 0000000..4425fb6 Binary files /dev/null and b/i/city/zima_cap_torg_day.jpg differ diff --git a/i/city/zima_cap_torg_night.jpg b/i/city/zima_cap_torg_night.jpg new file mode 100644 index 0000000..61c37e7 Binary files /dev/null and b/i/city/zima_cap_torg_night.jpg differ diff --git a/i/city/zima_cap_zamk_day.jpg b/i/city/zima_cap_zamk_day.jpg new file mode 100644 index 0000000..2298b13 Binary files /dev/null and b/i/city/zima_cap_zamk_day.jpg differ diff --git a/i/city/zima_cap_zamk_night.jpg b/i/city/zima_cap_zamk_night.jpg new file mode 100644 index 0000000..e01de2f Binary files /dev/null and b/i/city/zima_cap_zamk_night.jpg differ diff --git a/i/city/zima_rist_bg_day2.jpg b/i/city/zima_rist_bg_day2.jpg new file mode 100644 index 0000000..8fcafb5 Binary files /dev/null and b/i/city/zima_rist_bg_day2.jpg differ diff --git a/i/city/zima_rist_bg_night2.jpg b/i/city/zima_rist_bg_night2.jpg new file mode 100644 index 0000000..34e18a1 Binary files /dev/null and b/i/city/zima_rist_bg_night2.jpg differ diff --git a/i/city/zmkv_day.gif b/i/city/zmkv_day.gif new file mode 100644 index 0000000..f2930eb --- /dev/null +++ b/i/city/zmkv_day.gif @@ -0,0 +1,929 @@ +GIF87aф ч +WЋ\7¶дW‹Х,Жcc©^<–,ЫЄй#у ™-2zђ‘±5гЕ¬Z7ЦЦщ˜2eЁa +Y¬¶¬UY+­кФ мФ±с†¦чыsкОсЊЭF¦Н˜є7?‚U‰4¦й—vg¦„+ФÁ#uІяШРzDpСdъ^1DЏф¬W?1Ђ‡ыґ ¦¬Ђмy V1КpАЃZД #VU2йсОx,щ¤Sw=хJ'й„!„^Д8мЂ^L;9"MаЃxв†#рОMЯuчa…СЌ„QQН…е–AЪ`Ф\G&Ё‘KzTФ\CЩI`‘¤ТH¬a¤ЖE?*wLsќ96а[l57Ґ–iе¤MQ.a•AЄ]хXh¤iuж›‹‰Y–QUҐ VgYeЦ™ўmyЦњЃбж¦gTН№P–Е –_g=%ТIE~a‡аIфЭxђ^кP(у•иђ!–(С|дM4e+ЈД155T +wLbсhOmn1VБYN<зe‹EcќЙ‰=wў&˜‚Ђ’х°Г : 2 ёЌҐЪЎ‘-ш•ўЋ™e’ПЩ№дт„!J3№wSPeу1л•ЎP)Н’¬Hd ,чjh(Ck® цBppЙ1mґ!љ1\{Ђ еp аГкvv‘яДХ¶ЕьЭЋµ"‰lА/BJ$±бmч”@СК‘D—IУі4ЪmyMVtПід~YФKr™¶WVb·™1н<6Uлfн1ђЙnGxdQm +л®3Y‘ѕИ¤гХTб(WћV'n^НМХ;­ЈЋJ™oP­ҐaUdшцэЗXg§j.ч§rUеа\МъВ +ъ˜2сЦмЪoЎб?±g€ћЇ]ђZ1ћ#-‹$$єуЋu,5¦Љ + DЪT°дЖ +**±Ђрt,а +«XЃ°ЂDђh5+^°VІ"Ё€+рйЃ‚«PЕйZ7Ѓ +lјаИà °qЌd\гgЗaэъЧ9\#°}Ѓ5YkјЂ‘mkQС*ЦО†u­„e3’‘ Ж!ћC Д°UPР +ЫР#™ѓ@а@Їђ1U9Р¤ђѓ Hp@ђГ}л _9аЧ–p,_яшАVЂЃ¬` шБцЇѓ'МЂ +SX®0†3јб [ёГжр‡)\Ђ —ёВwЁр‰O|`ЗФ@–АпеK‡УЎUёЂЋm¬г аШТ°Е\@дVёЂє ГlњдVФ8Й6Ћ2’Ґeиxµ-`A °ЪpЦЛ^–ЕYЩ +1{Yі ёАUЈ¬ ґbя 7¶…,ZР%_АЛ/`Ж5˜ +n8vІМА36qVТ2ѓl]Вd% ЌFяР€,[1ШМ.б¬^–і-РЉVE[ГKpЖ БЊq0ѓ­bГWyЪSVг•«6v3LлxЕ.q‰SМkЬAwH1°…рka3`Шк‚:–}e7ыЧМц±yMl”ШБцhBі­P†;ЎєRЁ= uфt®‹2ґ(« +">q‰SьвџёЖ7ОсЋ{ьг ‡шД!сђьбя·ЃВn…‚јЯHЋ[аг%чвЯЅ ‚.l@„ћ'! јР9/Ђnp]$Ѓ +U€†,4Э lZhG;љQц*Шўg_;ЫЈQ…«_Ѕз9Ч…€Р ¤wмСhFЁ­ЌOCЦА¬ ыЧВ2ГТ +v qдИGГЗiAѓ&Lњщ§BЕi rTб_є.Zсo''№Oћ2я••|oЇх@=!ЕЄЬ!ЮlЇ‚,ЖNwMЫВa·E4цOчiш?Ђ]·I@ јЧsp +˜@?зvІ°ЬЂvu—=чiрV`_ђЂD°‹р„NG`H[Ё…\ёw_@^и…N˜Dр…Ox +U`z”чi“—ђ· Цp +ирXЋeXЧЂxўWy®И +„‡ +›pX§ёXЌж Ц0yЌё…H€ьW +U0 +ЃGy„uX›0‹zЖ ЋЕЗШW’uzЋш€~З wш„“ш +Ш…{Чsј0tиw›ё‰ячБ +u щvЯЂv -¤^З` + +0Џ,©њ˜ЃвёЃTРЃ>X“8Y”=йЋЧyќмёѓ%Ђ“M°ѓ#Шў9• (Ћўђѓ3єѓM ‚;hќII•Ш +ХP +ђXЂ +є—f8—uh‡”°— +Ш†e©†sЎjh—h †vh†d™Ґc© љђЂx…i˜Ќ( +я™€‰y‡Ќ)ћ[x‰fx‡~H +О љџ‹„·X–№gў +ца +Ра zљ§vjyЌ¦y‡w™Ряш Сиљьw:ZЙР™}†‹ОАљПр ЏЁћ?з‡z˜ЂsЩ¦VPЏ+9Ѓ>ЄЃ1 “„*А”ТY“D9>iќO©Ћ>9ѓ$‚=JЃXњЌ §‘ytз©ћ‰I +йћyzhчџ@@UNb“аЂ фc +pЃ“/№ўP“ґа + +‰!й†Zи„uЎp*Ґvi‡[яЄqъ„cЁ‡`єћЃHђЃxo‡€Мљђя – +˜‡tJЉ¤vxЬРWЌ¶g«Ш€{z +| +Ч †Vx¦з›ь® +ЪҐ);Єкj„ђЌµ@ЇёЎ0Й«яє«юК°Їљ«№jќЇjќ+к‚IЙЇDXЇ ˘LљЂ™¦Ж*®?;€D‹v Щ¬ящ + +\ѓCД +©^Рџjk€јИ‹ ґСР¶бj¬HWІb8†s8њ&Щ¦ +hЏѓ›ЌтЇрКЌрZЇЯh„Єкњ@ШЃ»ЄОЋ*‚ +ЁҐй’:+™”А ВиЁX¬:KЌd9ҐNXі1kіjАИіБ;¤юW¤оI¦рy¦Н* +J +ХА©‘H +‰ё ¤vX–%›Ќ6ja{ЁК›сЩ П ЯК€hчiњwЊ{ +Aњ%«‡љЂix‰_0ћjњЪЇ-‰ЃбшЃZ°ЇЪЇ.ъЄ8iќн[±<Шў8й +®С@ +ФрЏ‰я¬‰yXіs¬LЫДмъЂр +Ѓµ ’сЅHXЇч*“ъJ„ъъ’ў „яЉ№!ЁЅЎ КЮйќж+“[‚D™‚'и‚ ¬ЃљKЃрxЃ> +Їгй…P€ИФр¤KЪ…D0 +]Щ  Ђc)§%›Б)Ы¤Ў:АZZј_§ ь—зР»С ˜qЫ ЛаНhЗ‹hљk[ +ђsvЁ ЦИ Фр я +]7 +НђzvXu»gгЂ•ъЯ, +t«gћyµ·YПs +Ж8:‚%H % +л0џ‡8ЩN‹Иј +СР•Б€л@jўҐg‡ЧhҐ†sЂ‹ЬрП‡uxђж§ц\П€Ч€o›ГЁ‡€‹иР|0УќЁ|vРU= +Ф0†ЧЦ•яlЄgLLћбiЙљм’з ±-jќдиЋоёѓ3) +сЅЕ,­°oЅЇHЇр Ѓ—[H†OкЏ“Щ» Ѕ‘ЌШ № ОЅИvЛр +І +—­јм +ЃЩXЦ,ЋЙ—¬Ќ›њЎwн +Ѕ; +M'Вx~њV …µЭ F: +л +ЦЂVhяЗ +ЖЁЊЗЁП¦¦gФm·ЉEZ•ЄgђґmЫНЮьџО0©№ziчННа©‹™’т‹ЎЯHЦViЮИ’Мщ’X, +)Z“)j«эZ‚9ЩЎ9j°"‚2ЙК9Џ,Щј“М„U*‡ ИЖ?€o+ЗЛZ¦8tPка‘Cwe +ТPСЈэ ОP·м ў%Yя§ђ¶Ы•Jй‡U…ЏЉ¦vК +ГЭW^;Ёuюб‹ј їHг7^ѕљ{Л–ЬС–LЇIїЇЉ‚$кЋ’ЛЋ8)шЫiЕ?ёёчMг¬\ЃEpЙц€ЖЅL†NКжЙJђє»n[ +;јlWТђcЧУSмдИђ+–АP}€hЉа®Џ€Љ®DL®Fњі%Y’¤jњ”\Ш•<п›\ёОышу~Є0 Шяѕњ7юпТKЃGЋuќд4ћЦeLЇt_ьDш”(hў?ИчяЪЙкН«НївM +ІXЩУGЗХЏјґн^ЙЏя±hм„ +ЉyиБЧ¶w„ЭAK­*T€ўё •і~K˜ЭС°ЮўДТR»#2З"lёuKHу!BXyр…лЃ4QљHmZБ‚› jVз яAAіmTgY3[tT+P@Щ1bаЋУ@О“Л.l¶{]t€НbїF8{хj‚ њ¦ю +9jD#z°#сl'"Њ€vРЁзT Ќ˜–§±iTЈљЊ”ШґИ…$©C5¶7¶®x¦µx‹‚8hЎ+¦‡‹аЕўТхЊи,Г/°ЗҐ¦б’Т з?)*‹ЊnґіZ|! I“ДІXЃСXF>NЧj`>l!ДHюд"LcщрФ65ILEDIјђ˜zЦcЎйE}VР˜ЅФОYcQ•^Х^СвxЂ‰Э°S˜OюК/К…Cўю\°B ЩМ”ІeЅлЃз4X©Иц°’љоxg{ЫSRчд‘.„Ая¦н* +™ЫUхО‹яЎ +Р@ѓ&6heБЎ±|–"XйEyя*аUcJ CИЉ‚Гj•abKЕљevЃIdAФјy z„ђ‹TKЅ4ђз4Ж¤D/Жу’т<мµфьN<џЩЅyЁл|›ЈГАQ d3 +.KбЩ+€ ј„$›w("BPв°В„¤‰СiЖ)«ФBПP5FY’Igd`"VGЌёСУNрЈ€dNЌИЭдCє<Ё2EђKЁљ;Ж•5г+џuћс ґє©?*Ш°IiфQ`АiљиЩYfe–&ФЄ3ляЄ퓬Yz±;Ё%с‚,@D6Ё“X»zE–BшC 2‹9Њ˜а–/ ] JГ«\– +ЈC%лЌ'ЏЇ%`ГTcЫX3"о21` +сЗ1­яъHиёh nљKлв–Z4NЕ1кZ07т­‘{Їп^A…Ћ–ґAФD00r~Km†3,© +UРѓ`Й›ЕыKКТWќАUeq@с>ХЃ.бок8ГeЬAаБс€60] +mЂ:х©K!а‚aПBJ~€•ў°¬мBлIXн0Б:С` ЫQ‚пAн!єк™4,ЪzҐ‘ШlЙ¦ЙrҐµђ&B“–Щ0сUЬ5bj†,‚[Њc(#›51І1j~=„!»Qз5!Pv–ЂиљЗvИзршzb’¶BgЊ*BЭ•¶.©єЊЉ@+°ЧюfИЛ%СЪћя»яа§-ёzРђ…o$Ў5 lЎ©»ў‹iиLх6Ю!х»Я7µ9‡ Љ№®Bi6:БaКб~П45rЪG5 т‘щЌЊ†3њсЌo +bz {Т¤Ї’ яй№–І®АK;А†±€ЇЩЫ8лА&в"р&еъC`5sКЂ‰µ€ај’PДЫё®·Й4&№-тh­Љ™ћЇр+э(ґ±‹ +‹ж‘ еq¶Ж + Ш–Rьќ\z–„*4mГ•†#Ђg€†ЌиђWа…sXop†eЁЌiXХ:„ZH9І¦9ўa№xS©Р ­°ТљY*рАiљQАqљ9 И + ‘ ‚*ђnЂ +{°‡:X»"эАЦsІМ“cўW8’E ЉІ€Ѓ0·ApnФXp»АЂФ +ёАlм1йД +і0Ћ;ђ ` +vЉ€€ё +rD‹[¦ЧZJт€’Љб»S‰їКЏ~RьHa6µPћЖ + "Ш°gл УРфi@?*ЏИ “""лК +UmД +ґА Д +~}›ЉcЌ­њС=|„zЙСbP®яnx‡}й—sr!н<Щ +<ёџЁК8иKФ<Ѓv{љ§iмМ@у±3њxЂя8.б®…Та› „Bн1ЂЬF’ыЁшTlМЖQЂ…\ђM Hl„ХE]ФлМОEµѕЋє7^=БAё ц ЄЖњЫ"{ёOщu` +}Џѕs[‰Ѓнт‰†U—ЃБ&TИ‰НQp€›_ +УкzЂ¦ $ѓE™¶x·<•йn@Q'Ў©  ©ЎП ˜|б + Ў2 +#°00Ь†6Ња/Ў‘iКяyH’”°0і*ВЂ +ЂА.6мР…HЬc ›¤ +Бґ€·Ђ5сЉtuўЙ:!жҐч|I5Sі^Ш4nЉНхш« +S‹v‚ + eIE4ZДЊА°k±Ћ[ћt)ыВФУ8с/ЂѓнЄА Ќ4Ф +Сpс€µИ' +WAЁ Kй° +P'VЊѓBВ…@!Vр‰ЬЕ`­1(Ап–Ч"pщЛIHВЗLCµЏ-щE…Њwђ"–A9иzЋ†0dX-s' s%_ђПW‡|Н№МЖXцe‰ЉЛrЦіљ&Ѓд¬Ї +pЂ°±s„єіА$c§жЦбРs–c®гD/F0Г•Ц'о‰ДFвЖb|$ДvТвЄ€ЩЃ(К“БMШќ–ЙO‚vjђ*UjcП¦˜§ёЕ„†j‚TДшЁ— +˜nВ~{Op=­ґd#ёр@&B‘ 8;»\С§c2GX;ЫЧЮр†Щр9њ$њ vОCl4оLя†њИќVАоНЇАЖ№Ј +Tь +{qЕ +$СэУ­iЬ FDEЕmащЇБќЭа~Qќ(ЧF БdВ#C1 2гФ!LDЩф +SтЕЩ1Iѓ-\ЂуЙO}ґ} Њ°@4ЅЩц9ў#z_ъМ† xЦ2|Г3$Б%ѕ^k,ђo„S8‰Њґ +†ЉlђфЂЕ*є‰Ц˜вЦњ"˜$†<ЕH#5ЩWXКПјDеЙaЭЇc%Tiњ0’„«№MСЭ±eЂШаЅT±Ў—3V#Ј|аMф  ¤TLЂР .B&2јГ#ьБЧ€яMДДм€ +‚C*¤B0ГQ•SIЃ;0Ђ=VО+|wь”ШЊBш +шC$ Ѓ[М +ЬJБЕ¦X!>ДѓЃ.р‚)•PC1ЙГ4ђЪJlЙ‚ЏrvYt†_y@ўъРdzшa bьРGБЬG7ИБtЦ›эGzш‡1IГЃ°з‚“38C>8Г2њ„ЁъщЩіЁџ€YЋВ9„_­Nў‰ЫHЊДB|%Ћ€B РIМR;1ќYцЦЌFwБ‰ +LX а-Шг,Х@H*Љ†¤C КЃ)™џј˜$ЦA5 +•DЋаLwA+QhнНТ,QAёP +Ђ5|XяСХ +иє«EМeЭmMЈэP7&cBIF˜cEЁЙRмХЅ]QJMќўаНbжMк,¤мТѓ*Ђ +БАA4‚QзЪЫЋBщ ё4АAяѓ~Ќ1ҐВtB' CАЃ ђA)$АЂћlБЉЕѓ"C  AЯИ„ЁгЋдЯЅ…¦Е +тю8˜i2н8€¦Њ +‘ +{qUGыЙ=жњ0D Eќ№®PЏ<СњБ м„ћА«‰РґТ l·I“jўB&=ЃKWB%ДB˜Ћyl†<Ѓ В”#Ў˜г©m +ОАSH±kE фxА#Ё!gB +ьБ# ^1(CH"do`h¬ А7tё‡§5М7Рн@@< А1TA5ь[шiI-hМШМґ\ЊlҐ¦ єЎxІЛ.-­\Хa0Aя-y°Ї‚LМЁ®CXm}LsБАGЙeЯЙ™цgy65M°5ђ¶=€-ИFЗd—…Oµ@Hѓ8C78Г4Бlµ€M`О+ХРvЌ> iMнс™№ јО†yЂ™BХэ> +L ®5*tLњЂ:‚”. +I’l—ћFQEdаћдД.ЂnїтD.¬«ќ +˜ДЁГR{А1’Њ“ўСЂ +°@+|А +˜БJaъ@вА +ПX нxц†)MC3dБ8C|Б‰TљoЃ +`чЂ!ЇBєGё„бJPЛ"(А™А +VњCа + +щ@мъ7ђ`A +j(hp!A0zАhв ЖQѓО $ЁPcCЏA†l€Ж?„©юЬ‹бҐ.ҐJЃљ„S$ЉQ`ІsзоЂkУњEvмp@K…EҐ5hт·ЈяHBWЂCЂ@ќB;љР*ЎВA *;\p@Цfk VУ @©—®є±Иђ!E¦T^d\ёђS@k·µдYD`оѓ"eK€"л@’fFЪ F‘U +}€Р«§O§Iу…u"`/ZDiQ¶mO#0ЌЪ4ЯѕЈ^'Z3гЗ—5“Еў@8Д€J:1. +4йa°.S!ў*УЖ1Й У$*KJњ{vjйҐR*©„HоQd‹.xв©R\PЂA ЂдhҐT eEkЁЃэA04BюШк’ктІМl(Аєр !ЁҐ–ьjIѓ +З%йT4Ўм…  к]Вц!1ЕЋТB4ѕшкЕ‡Zю§м¦й¶‘$сЦ bфрЈ7Ь,%p@д¦HtbВ +ћь0Б†Пv бЏ@Г1@—,Ыґ¬2µ€Z<»ЉЃ­ВЎaШah*©"xg« +Aшf7·! +<4µ3њ`5ьбЌpфX„mgС„&hpЋ4м ЌшG.j˜‹„<‘ЊЎђFJўЃ?ЂMLрЃ\“'PЂf`B§8ћ|АZ В(uё +яЧ¬"t&4ТуЗV€‘ЎњЎEў JgФ±•6| 0ЄрА#Je…"<`\IH¬жBџЩф‚гR@:Ћ +™вFџ&!MP!‹ +0’Gж6яУєЎhJg«РпA?0Ў}(ћаD0Б А“уДG” +=шГPЮaЃ +Фў¦8Ђ˜ ђ%Wl@„я0АЃ°¶^3^ШF1ЇЃН2Гw +[$P8у˜З|P *”@ў MZF§” хЂ +њ©ЃjрЉ"МИҐ™ЎL rГп¦mBЌЪ?ztR!яхАd(|ђI8RFЋ(mJ,6:%Ё YGД›ўъ +х‰O#RuІT/lёЄ]€A бб<н$АЏ«‚”¶ + V&Ѓкhѓ:*›nyk[»˜NC€"Р‚И°˜ўІ<%)˜Э¬fkAМ«‚4Ї(M2іЕрv6ґ)ҐэЙOх­п=нsџlзОc„:зЊt€aЂь ћи! qЌПд‚ЗР +V,cШВШ}$љ^о +ilL}к’ћГ˜q +ЄЏGиJ‚(KА]_‹ґЧ$”пN_‘†лцbЅ'я2к@<’ c{Њ·Цп|»иД№‡ДЁO»Ы}‹ЄЈ…ЬPC*(‚я‘%”mД‡{§;IiнГ\ьбB`D ,†vЬ‘ "Ъ@ ІТ6°A+ +:ЪйќєC=„«ћоIСНЧГёБё°a®л˜!л.р®Ѓ&MѕЃя€аАФDс~нdaѕT@Х ФБLг*>c‘ЄbЗ0CQ6Е< ђ!<  +vG˜†I:‚ +ќ¦ ⮤ЄҐVДjBЛoрq#шЌ ўA”$LFAh``б   ` +Ч¶mЫ4"8Ґ„!dm&‡"CБГВ +hЂh ˜j6аЄ!аЕаPЂ|L“|e[л{tы,E–Й +„ Paщ@[Dгl BAL%Мљ…‘0л7…оАА€Ў +ибR„RчLоЇВ[5¬%НZГїҐжnnbtc>вlЧg,_л.у ПЦЃяы хEРЂ ;ЦaС†q;XTСєйъrзМб7zЈFЛЕ0ѓг:ucU`™¶КX^$…”5y(iM3ЇВ &рAт+ABЫxsр2 ++¤2‚hЂ),^Fng>ѕЂ +љ4!7„Ёи®ЉьоѕNКЊ:B†І0pВ є +Ед@d© +eэB?LyfRJ4~i?93’‚„ +@A#*?зsL…НПп+ЉНИ‡VЖЕ0«© +МЎ +м›Ё«8ЬҐ]яdK¶а%9ѕ +¦3>Ў"`dH!bЧv +M‘4Iu°ЁTDБNД‰љfI‰Љ4ѓ“¤FЎv¤Ља + P ТБZмЕт…”ЎЋ!бS„аQТщфг>ЌМЊВјђeьдђюд s% +ЉЦЪAЊв(fUМ!{Тпе0о>¶…эT‘жЖ‡1zз|„Х7ЦҐям>ШЕхI›:Ф,µ)~жЗ2!Є‹!°EеEСёUEe«юvф6fѓ‚–Њв"Йf[6FcКЦm<Д–JЖCИ«¤B|hЦр5uўc‰*іЌЈ”MLTуLNhјЃ–AДaД!ЦaF«Ѓ +ифЋофNуt'иИ а—Р0[Д‡\z!–zБюОafСЕо + +TБо4'р€'t"МА0Pэ°•ta 8fqtбЗJТ X:ЮЧ:hХБвPyИOК  +ЂЕ,Ђ‚-БА'?UWЧП{Ц¶эЖ'\яnЋ\¦awЄйaOr™zЎ7м¶8 +oп2›у2Dm @ЈЈ:rл-O4џљсCsС8ћ+џ€]zngѓ[8Хвp‡љZ1‘З3vАрљЂy(KQ°8"챋:АЁt‹Нт&¤†Шy lЧВ‘ +Љ@UЁa;ўЃУzЎ·KўL&%*rSБ ъuIв„yТtПИ +!‚МЂ"!ЪA9ы”>Ђ“ +Х0|Ўд  +о 7|Г|Щ}cЏШўГ•ЎЦ—цtбвљЦ@а„ +ЏpЊ+д!hаобT!"! ь„§ВlЗ*ЄН`ѓ6tцдЂ\Р§@ “U€­ѓ“ЗАg   +даЕhп`Оўљ|е¬`1&|tЎ4U™™№\VE  ~аЕ^x% +lА +Ђ¤ +њА~БЋАяКАА +sћј»*ц†¬Ц<¶¤ruAъAQB*Ц"РeFЁCТ!hаCћE`хћ©W9`k] UЮL7Д… @КЃoЋ`/«‹ +Вµ ‰Ђ +"hѓР8u дШ°Q+ўђG +jЉHЁЎ­p|аСЉ‹(я°P#E‡Sї~Н:2…„2QЖрў„3Й"<“Pг tЎФ¦5J и4j?“PJВsQ’©FЈU‹V5Z4Auєrґ5ZЧfdЛ.[д‚ЃcЊ P¬X +н •Т""Dѕ8NуЕЉдWjiPДБґTм(С¤ •=NфиЃ&U0\Ќф'vЄT`ь»Ќ;·оЭј{ыю +<ш? +я0`(ћ»6ЊеЛПАР¤©Gф烘џ¤вЊйУ=н tdђуў&3fY’јЪъ чи`Ф_юПцqЫВ}kА`щЭцЯ(Ляu§B +;4PC +T В]4Р@GД *аXсdipHDy"–зЎ..гЃЊpАb‹(Ж є@PЂ*Иc dPИ@pЊ=" +AфЉGбeф +а(рСGu”Ж‡кbЉ;R˜ДѓЫ¬$Њ+·МrК e”‘‚%ЅLO‡ зR†…ќFA•TQEi%WZэYЗVuТМ dХQ–_Т,іЁ4i­А\pЃ31vµ YЯHуЌ_dЦB\0U©PќJЂS‹ђH‡гq”QEФаЂf4A hЈ•p„hАЂF0±Ќ +м@… +Ї@Аb>А"%I-3‡>вl" +%54Сg@ё\µТЪцџ~ГA‹[ЂЛw[ЂщХ6Fd!џќpB „јтEyD‚a;аивad,®ЪШc‘Aж1m K€Ќ1&ЈHwўG™ѓ ;тXђ1@ +„ф@’EщЂ“6XсЎ•ђuиШМєXвЉ [BТЌ¬ґЗ/Fђ№F3й0Ж©B%зњ†aхgЬpguХ46Н§Zбќ7Yzэ]–4‚ЮиЈИґ•‰¤•ЪuЃ`‚Йb‹-Z vБЊ.ё  єиВ /Ґя*FI/‹ЙЬЎЇdФ@- +*H…(ўґiтќ†¬эQм±З ЫІяС,’Ж+ђµH@3Ю€Гю&‚бЂ +ЭЙ7ј} |ЂИA &МXїp]gA˜ЃЧ2SQмаDX %>† +Rг­шВМ,И"µЉD ў1RD‡˜uЁrP‡с‚ДЕ8  BСѓ<ѓЂ.:$µ*U‰jВ†B¤AС¬EDёЂДЦ‰`ЃkRЂц #Њй9@A°Ђ°Ќ)n›[Uм&·я0К +,}"T3т1>И<А‚Н\6°БЌgаTh‚i¦ГњiI‹8 +cXpт‡…ќ@Ы±O·"TЅУPЃЂ‡аР+2“єEД(FD1Ђф„hUлШГ"ЗH†(* +ЕЂ +…,А + ёЂѓ”Гђ‘ЋpCИ8«©H"0’fЊ‰МC  +з8µЙПрАJ +в“Јqћ +4s™ZШЂЏ,(qLѕ‚<Ў†4ша g\K +h8xА­hЩ­ъe@њяЖiVБ +¦їXц*BgрдTp‚3М.4ThРjб‘€¤'”™?!@4^ihЊ‡љРъ¶ВаиchСѓxЂ.-ФЊ‘ x G@ЄK +єXуClXИ™F, +pE t…¦ ЌЌMJЏхКRYаxЗ|З0sjvСЛяЂ–іќZ~2vЎyќ%­Рб$w№mты¬р4jкНЁB3lс>0ёТЁB jЛҐШнЅ°!ЂXnщпхq8«иЯ0Њњzфs0Це™–_=8-!(ґКФ·Г-Ќc„ђ µA@$‘cЪmЖXAй Ђ +RYёг0@к +bд‘н6Ђ”‘‰N„BБЄаЬ‹Ъеб›м¤а@ћЂт”ќґ‹'-сK +TOxBЁ Ѓ +UDЎјЌo”Ж’sл kpz«olІНіђ…$§Е«– +k¤~Nаёcилz\я,…tbЂѓЃАІ:оpH9 +ђѓњM(„¬ Ѓё`Ђ?оLZ4бОhр‡cяpВRZР“ЌД\.› +MЬ&С‹ю: +60в±і4Ь9їFSЪ УC±Е78=‡9pгЛxuRћ!8ЙХбЗ…F2’Б h,u М4дЃ”Ч:ҐU +p +киeЅвЉc"7+ +6—U(sLvsЦ°dЋўфpGv„tsQfЕр'xtwфs-h)MBрtPGѓBЃђRаpBZЧut&XhА +ї"wь`БЦJR(<R]ћu Хѓlѓ^=P%0˜ДђСpLYђ\кq +s +ЬАdО +Рђ@А7@` +sЂ—· Ш‡‚3LA +  бIуЎ0і?ВСhblЦВа2]ЕуІ”-ЅвІ+s_ЯЖ­  +Ў`oЫw2“ADаякP mр°v +P +тhЏMЖdsщ(sKЃ]UЏp –">§‚A‡‚-Ёђ ©tДр “eYц,©JY7g4@g\—u) +K08Ю jЙ Мpя +лБ†Y°"зNЃ–Q`Ьa?00 +ЕAl›…6й?7)-ЕЃ0 +Ьа +х‡q€MmXЏЮpЏс˜Џщшd(Ѓ‚Ђ Џ  )*XIЗ‚ЁДќ I нрђJ7ћYGѓ `B9‰гz ’l— LзёP;П ’xяѕж0ІыЎ?к0РYђИy‰Лб?ТС-p§Б“–Ф<ЎJЙ мГЎHy +РpЃЮа @ +!$:12U°#PјЂ2.BD/rХш‹<У}zЂ +Є|€ +Ц0ЄmШ†ПяsчHќиrњц(е ‹`Ґђtat¦ђЁ¤™ +zрЁ +г№8=¬Е1hBb–ѓ°˜ ‹х9YЇЁJ]wѓ +Fi”гђy(8џвrгpyяЉ”Ш°js`И‡Ма С +в +Р_]кPЃtЎ’јрZ/ўіOqKwцoт"ґIР Х€ +˜Un”5g +Ьа©s+Єt +Љ”|pMўЄ”Ь`Ьђч˜ЄИЃ.зЏ6з 3·!шВЄђeFf%шs™ ѕZYёљ8А +ћЬiG)€#ЖрK'ћЏP№Оz„‰C Eў +›ђ ъpy™зњ‚“[ТА›Т +К>Ry”л1ЄЦрq˜ПАa˜dz‡xЈ8z“Ъ–°·­ЏV”x ГC¤юyrщ "ы ^и + §љmў Щ©`Ж` +뱧ЉЏq«”ћК†kX•Kј[HI•O\·~+ЕJi +ЗiДхHЏПyЃыИЄюш(сеё“‹ђ, +ЌБ.@ +g‘[кБјя‡ЅОђKРяЅЉЅF‰yЙ0ЈZ°и Ъ4Iјt.™TжЛwСµ–Ъъ–Ћц€’­0@‰D:їфэY<Уb‰Ггwy¶,2mЩГЌ,0UF#pџгнВ&И*™ пGЁs"¤`З  МA ЖА@P° +,Ђ еЗА   + +ўS\ЕцањцёТ°јЄ‰»dН rPЃ&№?'Зб +–»У”[Жz°УАЄ№ґz ‘ ‹BН¬wЊЗlч ся4VPz XЈБ/з;J®Щ»Э‚lЉ“#{{icЗГЂЦiН +РСPRF(\ў–— ш +ўzfh°|ЂЧ{yЄ°‡1= +ЌQ ўI;р:%р/ѓм?»ЊИїь­ЩЕ0 :<Ч2-щЎ Ј wЌ —Й1M`ЎмВI@ј0*ЬиЌђ@АN +r + рAДрJ +4¤BЕB +cTU„#К@` +V`UfaЊЖїљ8јЄ«B­«NФг™№Е€ ДxGѕКФM=Л*‹B  +ђЦ +ЊЧ†1yОа +лбЧD °|Р†щУ¶ +МЩ®•]Nµaш3®kщвћTб158»®vУиГ=,АRP—ађОѓj'\ЧmpuІcq#,фАЄP +KРІ вµDl:/ј +vX +…T<†•)‡CхЎЄњ‰№ҐЉ™wИо0С€ hPua6м»ЌЋљБ +*=Э'[‚Д…aH‚=мDФmЁ І0k “џP+Ё‚h*X;…pё{€†0%EЃґKя#-DЃЙ»S‹0%+l‰E№¬Ђ+Ш5"&2њ†jЁ¬ђћD°Ђp‡UѓC7L +Ґ€OP.)ђ‚kТ‚zишщ–¬Ыб˜ЪH†Ш dа +vШ'PѓlPXЊТEt‹Gђѓ а +I“ЙЄ¬ЛІ¬З„PФAҐUB”˜ґFУЙHKҐЙ­РўИ™€DYњиЃґ“yљIIљ$Ў +.ыX±‡oPµ(ЂH08Њ¦iљ¦NH +1‚XOFpOшЊO ў(Iz†2IЈ8:њ‚P˜-…XIИ™РЅЦJ{В>1-HЈ= ­ +UB%,Р™ ‰Ё©™”В±:в «иЉe€>А„)h¦N™‚8Ќ|Ѕ„ +wё„l™ѓУrёё) +:БВВX©ІГ¤Ё1€ґ Ґ“Д •,PИ‘»Vў;ЦzЙСтУ±Ќш¬Е ШЩ‘iЧ^а L‰†­˜¤– +єЪШ{АLа{H^РD^LИАгедѓ[Ѓ +-[®hлЂ@h]№†M`eР(ђdP‚IДэ а +ЪHѓ€„ +… Rа†™5'GD†4Е1Р9ЁC,ё5M Ђ№HИпЫа<8g8%Њ”2 C1‡I‹—‚•Ч9‘›їF•G}„у0ђт8GУ!• О +M¦I<µ:Cйi)у«ЬРЭ OJ®nЎ.ѕБ†Са„. «л–fd©ex)=ѓ•ИТЁ›.yЛKHй5ШцzЛbАgѓ*оD +ВЯНxй + +®К8† +ф Ъи5уґ°Р?в0){hЋ ;?ф#Њ2Kaiё +hяP›$XЇ1‘s=…Ґ]є $ґг‡ш¬ЧќBЅУH‹4Ч•Э€dёc€ЗҐs-‚Ї ЈщP«шЭ,р†Яш·7Cй:;БС[x„№ЂѓжсCk`\‰™йс®L†mж1h™ЌўqXЂ[A +Єж!°EЗсРЄi*бФЄZNц8hVU@–Eв…nhMф +УРГUэEH +ЃDXЂe›ЇшZЂxhnђ +gcДЁ‡c8qЩ(X@7рJ¬¦БМлt"†x аЛRБ lЖ@ +пХ2-[X‘20/а„рц‚-а„00 «v– Т’xіO*[ЭЙ ВPBкhЗ!д•Њ;‡Р„A€ґkЅ4>™ґVъ;DiЭ›\Й\%™<°йb"¦i0‡¬ЁѓhH?hрЊЅ± №ОtxI0 +XrcяF„P +)бЉ¬H|±Є‚X0ѓ0/р3ЁЂY€…%@ ДИєkРї‹u°…:"0њ"`QH€i}vЦ‡цD[ҐњфG›}e4 =jњРґiј˜”Э"Јh°TO o  лY/»ЙaщDHИ„kцrзЇа2ђ‚я{аtШ„X cxЃJx„xАС + +K@ЂђrѓІ‹ИheСЇЉ*Ѕ°7H ‡DиЛеѓя*Ђph +,ЂlЁЂђd!–2(HDhгЎЭ’8`Вd!Ђ‡GКX°‚OЉ”2Л`БA +H и,ђцВћNiТ¬9CљЕЪТЈО–йlъФ™ґf, Ё  ШV­^‰#@¬ЦPe3Р“)ZЇnЯѕ-VМШ±caЌ!+ЂмІЅnC©Ќ”Йѓ‡PчРУFСѓћH +zx№ +еК•t± yІж +§TIіД У1«®:«cБ…[fБхYq3W_}))_Иsk&Џ„BaД +; vЩ‘wВ +і—џГ +kR^yд9њБГлСЗ уБ§‰}Ќдgс|wwB'dwFѓшзќ +ФтП¬Хѓ4aC35^і 6/H™М5Ш “! Xђя +Д©ф€,W_№zk +$aIиЧ§A†v™бxяn(иЫРлҐ1J3TS…^(р9i€N +v`B*Ё *3™w"жќх|'aгЙЖмџуР§=в±ПГёіхфа *DYT І…СрJдО^A +c#Йx‰1JВ˜(љ>ДБ +}Ив]0Ђ> аЃcЁИFв + в›p*PБ©б9ЏRЙУ„"рBSЬИЩОРaЈkј@ Ёj¦џh” Lx‘Љ€=0aЏ·т!˜ђkDPDЎq$гъX@(`Ђqp +џыя„,?ЈЙДC1…щ©Tu ЪђU•;E ЂЦ®1јЉ›ђIX9P +V$#ЃЂа` Hй—(†¬ш7Е*г`д&Д ЊШЈЖё^YЅ + п° +СЌQ2eјMY›л +Q‡."z@тB C/zБ ^8§в­ЂCI±бRђв~B)p‚0Ьѓфh….(Ўв4XЃЕ4ШAT›`ќюpз ᙘЗ2аУџЮрЗсЎПyl˜в©»qОЅSc™.№„ШР +°ЮbмEс +!$д H!)я€В(sp +O$R †ІЃ +7ЪТ_з­ж–VYПUнАЛфvЅЉа2€аЇBљ/™Ѓ +˜fФАEKВµA ё +А‘tHеБђЃИqЃшЃЬГё +Н&° +¬Ѓ'њBоЕґБH$DB Ђ¶ЬSь№›х°Jх!Гх]WІ±Ђ.@Ђг725 2„O«АЉD[ь±;Х +ъ…ПщIх + Р RЃОMR™O‘‡Р…LЗи‚ЗzьдwиT rG8 +9ҐPAј‚ЖњM–ЂЩ\НE%°ѓZ^›д–%™E:Р2„B(D‚і˜«Р=`Ru@hЅ1јC'DЃ%, +МА рb1z„4Ю‰3V aBЫ[ИJ;rЏ;ЕXМ]М“*4ЧCHSІqЂO@Ђ8¤њг[Ё#ьЅ…{MsR#ьЙЕ21з<єгц¤Е~­ЏїщУяЙg@)њЃњBbЃB`e,„HXРЃ2D‚юЂЖВДBt$@|@ѓ–B)ђдpБH~X)<Бm B РѓРњuЁАК\З ђhЛм\ҐЩ”‰–G{ф } G{(eОЎ‰FU€>•(Ё +ђ +ЙФuИL9@‹U~@И6@РФOВzh@ђЗ+ґ@ 8AДГфEx…ІЁaи“V¬Е~э[&†–JБ#ё“”i2©B: +ќБЛ€Q +Э¤S9ХЊНэ‡Н•@щЦ/єпu¤Pђ(‰ўМНЊэ:А +ш(!ФВPB…А»˜XЗ PФ9lГ6”ѓ(Б1Di«љE&°§ц +ЊдђБLЂ#ђБ Ѓх^Ђp˜AИаF‡]Рјґѓ:Р@@• Ѕ‚P‡ +и(gҐLiі5Ы/T=•юBpщТВu˜ђ ApvјovH0-4ЎТЬ2OrЇJ)ідg?ird\d”тde„І±њe +XTУ4,ИJФяj%БXБ+p,ЊIЭT¦БЊ¬ФMЗ L +А@пrЂ@Аr +(A9T +!;g9экиЄ'\ЇЈкВЯ9Т5z{f9¶єя`А¶$ґ Іґ`µШA!Яё6_тт'a$v?йЏZFВу‚Ђ˜@) Aх–B,шrє~6ёЃgы4F 2"Д@ PЂўЗ@3»ЮФѓ°@PXѓ%Ѓ.BKВИЦ +(ЂЃьsr +°іЁѓ +,¤w ЂG€HU3cAЯHШ±я1ЖіЕЏp}WcX32ш$№жўµZC919:ўџ#щ\‡ПZC[#» +‘з#—<Ь@HxА‡,$*w2µdЖAќjюDЛ~#Їµизcн#ДЂ‚†`Ќ¤.WЂ +Уь;¬a4ћ”IЁз,QјVЫ14n +чl‘Їј#ЏьYпЉXјЯ±*І°І<ж^9]—о[Лх +#J”ТЖC›†+jмШQЉ‡ђ}”т‹ћ‹'3ЅырЃМ‡00?Д0C†Њ™P]"=щсГ—Ж>\~็  ?fbtйВ$DbЬ‹ђ\ґh± ™4i (!G®>dИ”XPRЩ¶·{d +э(SрLџ#хЈw pЖqKqЋСѓgbЕ¦џ†ЮЖ2jл=€JOwЌYµbЌљv¤H–пЭ#ЦЌ s,у±`2e€"H(SЖ,"а/),0‚сІr5Њ6"В†P#MЏЪv«Њ2К,#&C‹щрCcD<昵LњОГ 7дрBй8ФpЕeD1Ей@ь°БЩ1ђЙАQ‘,H +"™hБG:№Г’1X`Ѓѓnфп‘GFЁќx¶©@ +"ЎЈ m¤nWК†і +7мс ЮЫА‚ кSH7=„•- +МЂГE&кb…џ~€3‚H”В#Њ¦@ДЏѕ™*Р>cёjJ–2Й +<ХЈNЧТEЈђ4 =# +Ѕ`»AЃцєCЄ1b№r +зХMZОШ•НЖNЬ©§ЂиUуҐqд_МАѓ?cxФ Ђ«Њ®фЙHлЖк2яYпEнbhA‚ќ”B4р‡ЛЖ_S{ІБ +Fp>XЙVѕ&1М§ ьyР‚6Ц@{iзF5вХ‹Ёs#iЌиgИ°ЩZXД®б#.{Щ‹т# Хh]ИP†*”=А(Ў +Т…PД Њѓ?>ЂЂ •XБp`‚R¬сf„ћрT$ѓЈЯЉµ…?jp˜ +¶¤‘Б!B#!)IwB©ЉиKљ{Г*6p…|j˜ КР№#%Lu‘zWйєя’< 7z˜ЧјJ +'о1N€Ў± +@бРK°OB,Т(ЁИТ 5№R%3UEDЊ [3±Єй`8"›ЪЊЃeТІф +$њ2ЁVњ5ОЊxћZ +кУCф@F:вЎUаЈЕЂПйї?р )pQмцѓм1ьБnМЖЄзJ!0~ РnЖeмп'Ь ($‡*f3Р +¤ўЉBу˜а#Ѓ®Ђ’К¬:ҐНРlиf%I^m>ѕC= Ё8Ё(¶…МЎ +аЂLЂ €PУb!˜„G X +уЂмтА ё † cЎ"В@"¶А°I°АґПЭ‹tг‹є‡@`LЃ6нzЂ°)›т(Xh#TГћи%»І‹”о,„ўѓіHЈaiЄ АzЈТ© +n ¶K` Ё#о$+2Њ>>Џ<Д9"oЫ,Ц,&:ЮбЊБCjпцTсцЉцћнААнdPfї +ж$тД оД)ьЂяъяпMHО~`n {> ¤°РpЙЕ”мЂ!Џa'ђ2эаю® Л¤‚˜А>PКм=Г&Ю¦QГ †>рГjИЈ ЊnибAУ&@xba з0СИ`Уа Ђbn +уа иq +lc–*kй<П"б‰<Д^0†§СbЪ +jЂьЎpТАТ +кЄЖ%ЪЂ +"*ь@­¶Ї6 ’,‰ЧLbЉ.Ю` +Iр~ЖC Ћn2 +б  +О,sK58б,xАҐ<Б +я@Є‡<ЛҐ#k ¬%Ђ#8Jзн „\Й2„тЄ ;ё‰aєг;ВJЂн#є -Iпы +&яg "I †?Щr ‚ґAyZС1‰Ї1w1ч4hїnЈ:>Cрd$N[ѓrЬЦў€‘ o‰dЁ-Ф ‱.I5@А%Ђњ$k:)$ў"ъ‰*aЦ`ш©-;8ь†-эSLН‹џЖi2L¦АВнgJЖ1ЌoDМj•пш6# +њ`:Е’P ь4,Hd@ +аW[– +BaXУіtG Vj<бuс“Нюѓ“V*g%Ж9.жј@аЖp2†)эeбx" xД`yыBaб"A°5 µ°'џа JБ–Ѕ`ћаCAAn:5R +„n?ЯЧЛм +оў?юC@ +Жx h,Њ±ьj>в!襝Bв3–”^R6 +НЬІЂ¤аыK±t7BуaJёЃв †еЛf:іЪЄ6­їF,q¦Ф0jCB(f,€‚|–dЊЇnM„ч†‰@J®¤,`ц@|ЋыЦ.шУ`H@ыЋ­т\­ќ: t 4•ЎђE$tm}L t‘JВ!&З ЭБ[Зхђт¶"&Е!¤ДЉHг"$%"~µ$ш*Rx‚O(‡Еўъ¦Вд:аД>Y@ +`Мяа p >t +\—и\НPА>C@`7©vч9d·™tДЖ•Zј+R”4RІЃ‘;—_їЛ@¤АЇ$ўу2ѓ Ё`HЇћ‹FAрщvIпШЖTЦL˜@жЃ<*1эЎeШ…©-Ь~eњЁ;Ezxј LjтЌNCмГ®С'L†9QY*±вЂЉщ“Ґ„ь^і!dЄЬk•ЁфЂ`Ѕ+‰_Эcе¦ч® +T#ЋApагB$(§ђ!˜rњЪ+'E·YМГ%‚«шД‘D‚Е'n`NPn ‰Q`і=бХњ5Г^їЏ-Ы№“Йя@[KЃЗЈ†`ћ[EtЂ +±чб°w¦в±яъCY!Ф aмал +: ?`Ьиf мs}G»и$Аіgafa"Ыwb®9йTе;®$#p-Чј+ФБ†OЄ)bњг>x єЁ‚18С¦aюЈ?ь  Tџ3¬фьТџd6Mкх:кАіцф4N©¶dєЫ2PjYFOЊW†vjУ'щ~FЅoJ a…4ЈИЎВXЄҐл +ФМ"ЛЂ#@ђ ?„?x@ ЎђЎФПГгЉ KЂЫ}А +Б(Ђ"V‚eБ +њВА +†#{g–іWн†ьC?4ЙEфC—`Рb[вггDфЖўЬЙA!ИЕ E“b ъа–g[ЎАз,й +˜5| ±® ®а$bЦјХW~Щ·}E[­ќ(Г4тЉK†ѓП… +Бёc.ўЧрE +•Йѓ‡ +2бcЁ)7»ґ ЗЉB\ +хс‚Грњ]¤lEЉ‚k +†Ъѕ)ќыр.|*дѓВВДiЖЗЄ9®l8±bЖѓ$<•A˜? …аСBA +ХЕ +C$ђ`)A$ †CD(б„b$P QBaФ +‰я^шСGyфСҐДXК +$tа +WјQРEeH +}(d&Ѓg)ЕУ”<йбЬIї‰фИкЁ3‚кФ“ 6±Ѓ +RЬа…ІЉС='ЕPBбаEµ\шЂ'%A']Q®Ѕ†]$Ъежs@Ѓ7н'яџШЃ;І«`0сЙ*9„0Я¬tрд~»fVдUЩzСF¶–AґzчD) Иha…;˜АЗ'„ ‘P…€†pH8Ѓ‚•агU <Б"\ёш"‹+ +йвџ6љё1€Ђ©дzQi[ ¶uМZtmѕyзx%†љ2е $ЂДбђБч)%F¶®TP)@ІMеРЈ€"шp‚ЭпяЩЏЅџ пѓфbg`‘d7”>јШGс\яiвPЏ( ь=ѕэЦFрфИДґФТ»…‘$OAШт< +ґБОњq6ГЌ‘я-lђДQzШEnp<ЎУX02Њ5HFdxUєЂ®АBrYWє`3°ЁE6cNОt6џ +   CвЯ| ж#§•Ѓq€ГТТ4‹¤ +$А©ЙА!„@ь3iГљuћиg+|КЙO`›и$d +k +ф К-Шбљ"8^Ѕd5‹Ѓ4­3€ѓ~ЊЖ™' +@Cа +@” !€Aѓ]1=]д†В +€и*–ґЃ[LBc жУЈ€”P +YљD6‡ОH@щыЫЅ.‰…ldCkќ„M„шpbdяљ ФЦ¬Рй"НК‰чТv”haaXL€ЭВ7 Tђ*‚љ¤WFS(p„ў +oym@—№ђ…-‹іњ_@ИRќС™BI(0•ЗЛЃх«„1ьhіZкTЃTL=Ј +ђC +ЂgJ&„R•џҐh™@ЪТЦ+3X°сVyJхuбы№ЃИg€Ъ‚БмaПj»pKzЙ „›H‚‡% -oы©яф'Ѓ ЃVeђЃ f•кa Збeґ@2`м»22Ѓ©PЄp   +љ@,всІ˜aE6‹ия +–ґ¤€И'hьгМ +y_‚™S3XaБЉfN +Чhт4Ќ`€HРПEjЉ”њрMm¶©[Rу3ѓ:Mм‹'›*uyUЖzҐ +ЕиЖ#фаЖIu•0gqЛ^*·8J9.1mн §2ХёМщ˜-З`кq—R†TЕдaЋ±Й( +7я +ќHдMG „~ БЏИД;¶¦HџN +qмb3рШЮнћ±#М“Э#ЉPVж +%^XQћ°‚-a…;Ъ®р$‰ P~бЯоVnъH$щ–?Hr#ђ7$0э3‰Ѓ x  +бђfqЎтdЋ‚V€1VFdwбЕЂя˜њтrЊsrЋc   eХU3GЉБwЎЫ —QR!ѓґВCчв6Ж& +лД  +дАяж' +Сy7aїс4ш·±цъЎ‚„ўXЂS.“ф9ЁPUЖ(oWl!ЃЊСЂ%Gx›S{ +К$…3тP¤—#Д©¤wCіD/{v;rMК3@$РL·e-еa…0 +€&Q;sn°¦?2|дt”°цBрq 4жDr±#ШU +уф1#€ИfzCЄ0 +¦rC¦ +Q· +[SQpхр˜б°RроЂ •№‹оАч’ЗP +©R +і +Уµka4µГ‹ђЂч0KШ8dF +‘0[;BІҐс0 +ɘ:qЂЄг$( +=± +x +!оА‹QЂ срgЕѓ +aіђ "Pv <›xj +:ХВћ +‚sЃY¶ЃpдЂda=v©jБdH z 9Dkµ!_SєЋЎЊr°f5ШЎЌvЦuЇ{!Ј`|ОЁП +АДв‰@ЩЃP”ЪЋt$Є№(X;‚+Ж‹Jp €ђ +щ2 +фЊ–В(КfЎГWY­Ќ !Ѓ+°ІoМaC@• "а3ВЃ +Vа…Ђа ‚-Д +иАѓjШX +D‰УЙTF +ZС’гў¦4e`ЕЭ¦–ТЃ§%FЊЂШС‚%Њcъ˜R"в°ѓd˜I +K _+•rVі B4§яYi +¤X)H –dB™G  оРЃ6 +uЇ»\Ј5ђc¬I‡•ЎЌ +0I$(рXOХЎњФћ6µҐVсiі0Е%8P 2xM ›”Ьµ¤=§Ц@кE@ +\iШКа@˜ѓm{™€)d!ЅuќBОґјтУГmTн«haK›Uu¬@µ`ЙB +¬Ѓ5ЁuьµњL#ъ-Ж~злЯ~в36ј>jЪДѓ‚д ‡6єA ЋJб…i1ƘҐІ НLjLЃ™ ‚&0Ѓ1ЄKБ=(0џ»`НИ%8р`jW[Г…дD +ў\Бя˜ћnн¬ж¬°‚‰8• b‚¤ЧЖ!@Fа +˜–w8#X`’ laы8Бnaл“T“`·З­АЉЕAaqР +5€ b!€ЄUє"Н )G8‚PЮ`”ІЖa·˜ґQr‰И‚KЮ ЋВЭАУ +ШяЬэЭg|XќL9h +;О‚w7Ф †lH +…±$OЂ1 ёР1Єa +=#ИГђwx“З + rjѓPЁ–6И†ЂЫіЅпая=z +ђГ¤ђI`v˜‚4дґB +/&0№ђ”, рГ¤9O8ОєOИОB®X‹.Е°5=Ш.жўa‘Ц“m +u« +58xѕсУrp‡edFbё+,рњfЦ±B•вЖгFƘ‡Њѓь›WиЗ _АFаўф,Ѓ-иѓ>шЎ +©Ы+&Дkd +,±'eўOч›RвЃmаЃdІ шS‹l +ЙФЋ†q–лРw3в  k‹EYґ—b8†P0е7эZ~ЙЕи@Нrл…J‡Ц(ѕ_Њ75анJДµ +#%¦ ,†xO0'`OхdPґy@яр;€ +Р 8RЉ0›—xЅу +p±@ЂeЕ‚N\9 + ^TV‚ +ШщР‡=ґC[ЉнАЎЯ +™ѓаТWhLH`Џ…ЎLЭг=§ +ѕT45 +СВeЕjЮІл+Зъ+mЮ« +!И*ѓ hЃ ѓYи^±p[њ8ш€H`HЂT +ЎpdGѕ]ђЧвг qd dдG~k”eјQќERE°‰ИYі±[$Зeж%тЭЧњф:Р3ћФЧ +нЧжн № рЌ5UгE.ЃHђS8‚Я +DЩҐUB¤&РѓЖ!g9¶КАR\Йwv…\Б˜`Q +в#†nPыЫЂqcl»ЌpSФЮ…VЗым–—ЇҐ*Ќpаw0†NёTВП +‹! +яХАБF‚0D.`O)–в +‡;наяY…'S’€Y0Ў + Kх<},3Ељвk<Н +%n±Е'€X!… ав‡’ш!'jh j +9]­E EґI +"Ё!‚•B!pC$‚0•RJ-еКT2T•6VEЄЌ;дxVXЖњҐFZfuяsV[ѓXaҐЄеЃ1ЁJ&nэҐj©ЃfW¬k%¦˜XЖ@fL'јvB©;о\ҐЌeќeгYgGWII0ZFzиqњ’XGБ'ЎЃZі'=Тб†+ћёб}» њ7Z&e„ Q +:p° +FЄ©pЅjЁx!ЦШ;e№іM=Ыё#Ђ;–ҐђЌђВщ0ќЬwн•ieF © L0±›тј‡D}а­б®'гћ+ѕч9Ё»' БќrК€;БВІР»ЂF ЃД2јбТъ —!-"AЃ P + B4C€Zя¶Ьн 3ЬZf—qw“б +” +;жЃ«)д6eРа“tУ™бМнme ‰ЬМ8·№-0Д + ™Аў”ЪЂ€Ѓf bCHІ¦‡ DВЂёPRvЈ^Ёe'«(Л<Д3‰–h +TазБcҐuѓћФ±'X0КбЋ`?Ѓ­Ы0ВT ЛG*ДBK#№IQЭeu›Э_{˜bґnu«“Ъ&MЧ—Дt·JK§Њ± г1ЏСЉ!G,©іЗCRТЉ”O +L  +аіЪрtаhд Ч)в Тъ„а(8‚)X +’†N1‹„ \ЅЕИBшД§vЄ§ЂЏр' +*"2™P)dўЗЈгB”:ѓЮІ Rќ}bв}зЄ*Б*ІЎѓА"ёІмИ'А  +°ЊUlY2iШФµЋЇ‚©]­узQ>V,‰Ф”6:1bр@+дш¬Щ@kЏ4ЛZщQ‚ѕS“Ма8ЮШњмг6ъМg>лs©TНXџSџ"AS).С‚,Ў›bѓ$\ѕхЙ »lў4ҐH„b €AщД›·№MgвN&€н:Љ  ч ¦lЅ›Ln1“ +€`{ё‰(А·†кd¬A©Z$°ФGфD +Я@.Ј†_e…ЩxGeЮ‘Ќ +—”`БІh5°НЧoїпшЌ|˜O€5ђK,ђЬLy<Д4HЃ<@Ь–e€@N|UЎшDьDСµL†ФµШХјШўнсq`•aeЭЧ©Ћ ~Э ЪE[ ЉЦЕ…^фUмшY(№]"‰Љ¦E6АЭeD1иЮнi!\p љ¦uаIЬ¤Дё„‡ё,Мs`бё`їH` TG",@"”ЎX@тдAlђBД†ЖЌЎ˜"j!И&€q\ђЕdCЏя‰@°Ч +ЁЧ>-hn?eQ&E ·qЙсЋЬѓ(A Ѓ +ЂцiH‡4ШЅ Ь„ґ lHЛ +;VНЋeRХ\ЌћЃ’_Н  †ќЄtR'­Ћ¤ЪХN?ЉТv’н¬ЕYдJY,љкЬFћIp‰Eњ љЁ ¦©СmдЋOqЎёд–}д@q… Ањ‡яДѓH LБhЃ;њIЌ^lЌBґaЗЬ†P +яUQL"(ВЛа +щРЂ"YVЩ•µ[*jИ„а›К(XїiвЙЬЊА5EELМл]ХpЬbG3¦'жб=ћ•ѕy)™ѕШЃД’i¶SРЙ)–T +`6KDД ¶T€5^–&М•¶„K­„‘Аzс +„©І•хкПч’Уц–“ќВчbЇ•:UЪZ)rД2Ы‡ќpЦсґ +М‚q]БЬ‚0јБ¬Б‚b~(›адСХf +„А,¬lqНВчђ“FфB¤ЂОZќХб)3+уk>¶PTк$Ц'aц5ГО?Vs7jfGк—у]p*зh­ehсПg i}iШћF&GqґЌ /™ЁҐнюјGд•—»ґЪ‘ЅДwD±3®х|ицИ@JмД'lявтмK‘ґљK,«K5#Љ/2ќВZЇZ}ЃІОЄЈ@n&@М•…°ТYУ’ф’вр@еAЃ|Чс +HИ»ETц™n»ЄH%иўеЙd€"tbц…”Nk_Ee€(¶ЫєЭМф›Fe_e”МRщЕфэh,(kЦ|Іќ,kвШI[YпЖ~ЇK`пA§ш[Гµ\џB\“$I’ЇЙ)РHОЙ)|П@Ь†ЄdЄµx‚.‡ +фЌ +,аэLlёH$‡endдяidJ|ЇВurИЗxс°FЗД*лKЏH`Eѓћ‹7о€=сKґч AЭ¶2Ў‹t(ЇђЦмз‡K#l‘фљќ„pЧRтє4M +нБ6АwЫ“сyИЂЄЁЃ\‰тэ,…KіХІ2nчЖoьфАx\»8ПВ)їx]·2’ачьp8М0—Б-PWјЇђWWrД2µxљiРiСr +сх“ґ"3Я;r\ + +YЛ +б&!R] gЩІђа’opLdU•ВuзњьИІ®¦IСЏ'њ@‹хњЊ—*“Woy/Z3њ–Ћ—'H‘xЄСGгvйвG@xдMњqfИ8"Г“‘(X¤Dђ1С,ќ°dв! ГЋS +ВO—WuЃ"t + +Q˜бЌfм€8ЋИЃ°Ѓ:xpКёµSN™%ДЦ01‡Н†|ѓГ=H±ѓfЂ‘#ЫцВ"0#в€ѓь¤И$…‰ђ(г/”АDЙ¤-р*€  +ёr)§ћtв –@©sЂ°”Ё@ %˜:о8#0BУАRИомКґBїцЉ  Аи”8”‘ UCёLЦЦё,V[1›,„y%Ті +"±К7 aµcЌҐ53ѓГ­Ќ<ё!=<ђ‹kАO9эрлO9˜s.\кЮi®<чЪ+F=оШmП»рЮЏЭ +rЁЂњmЊРБК1ЭTУ‰\с , +§ёG5x8©#яьKлїѕґЧю˜NаЯЅbЮЩЧЭуО3_Яb<°}уЬЗ.^}гх—>sбяЅзHn[o«7’ю„)$¶@Оl“@‡яЩ.ѓР $ђЈ9(GтYЋЮb2$ЂиHBA’@t2±ЁGAУ„6DўвЎ.б€[ЬrV +D2КA‹‚ЦЈ™m,/"» +ґЎЈG.@ХP5€ @Ц;‰HЦџ°•Q.YAЪfВ“+‚MFQВ +”ЂѓќА0ЃЭОи4е%8#pP”аc'-YcOЂb7Jµdq°Авt@©ЖmC®p…¦ь‚¶dЉ-џ +ЂµЋ@:#ИА)А‚ +ѓbхJ"Epo{юЩЖsАwќr]G`Пq—vЮ0к¤].u2БќL +Йђ 3tTCyy8•ЄBИCoЁђ(gF3‚0† 6lЭ` +bQOД“Hш$¦ +,Ь@X®Ђ¤PM™‚ /[ѓ±^+9Л№G·ТЭ)xХ2=sжі’1ћeфY#Ўа—Ч:­iнb+Їi‰ВЧ`ыДюD1-гV6Р9M~µK~Э 'wBЃНk2W]Э u +‘‰,(hЎ( ФЯъVёІђYЦГ +Њг +`®ШЖµZ®ѓЩ*']'¬˜ +f=ъРcg»ўїЎи…БіЇ‚Ц#бМПQЪёГNµ›џkбЃCf›5“€дKУх®·Ґїкмц=еzGp‰с€Sї/ЎЁ;ъЦчj{u'№ўЦ—ъVнНwЙљЛН12rЭleKЉ%aШЕ.†±dѓJў=цwНл^ёЕ›o |фMХ!$sђк*„ђяјњиB2ИѓVg#ѓT Є“a`(фIЬF"ЪA™I—(<ЪZL“цfЪив„-Л™ЪЖ6ґ±ёH‘ѓ’ЉдЦ¤EN'3A‚<ё¦кЉАаwF$/J`БЕ3>рЊ›ЂLќ”фґЁ°„e + +ЭІ.CTpJ\зEкks6Ї6pЈ йщъ¦~HT+"ЉO1LЉxАаСТВR`R¶БЕ  hМO%&xМ,p@”АГ*В +|м*ZС +€М+а +єЃ¬ҐТВђ°М‚#tТ+†огйрЊE¦П>d–j18#АфL ЬС!ѓWveАъkЎ>bgLBaК hяK&[n-Чљ ~‚‰yњ¦}6 +пґi~љГё’kё€kё +„$А‹тМpт\’ Gв-R +д„f#ѕш.`h0ВcBo?©f’Dч4…чљеTґg:" +Ё4іq:C7оц7¬SёXн=< >Т‡я< “=x‹;WWП;рг2Ч9?'Ї˜3Шж$–&tfл=cp-&‚"Џ$ДЋћЛєЋCЧrФbvбШ\I[;Й…Jђ7ЕLҐ6ЂчnW|ПBWлt@9 bѓ!A +€a’y`Xі"ґPlћEu +@ґB,rў + є! + +@з4±HЛT"Ж&Э\d5=‹…‹дйuяи„dкг5ѓ S$1^е-Т5†о©™r*Ѓ€wVПҐ;vЈ:‘°}8Z:Su7@Ъ!±)ќЦ©9†њРГњrх#ЅIgњ- + +Йiє ш.‰DА®%ИЅТґд`""&,-nCН4ЕE˜®H +гephwў€˜оіrР8ГА2J†Жј?Џ6bwз Т?ЉCЙб_јx +ђ—xAГ@g,Bа‘AєбyґІ +4‚:рC†Хђ +*б'зKыа”@ sМЙA*ы|ЙђЎіЎ@J›ЕK'EђЎHыввь~л—e9 +µ‘})%,¶A +ЪЧeэњ˜Ѕ"В + +#ByhАaБЊ.v$uqbЃ„ :9yЉЪК•УжОќPRЋ)<рЂ¤cЂLxт CЂЂ +ђшЇТ(ЫЊ(НЖѓ‡љДЩІЛF,2±bЕ  ЗѓbЖ"ї“ьYте +Xh#E60uўM<иЃEzHY +9:ёуN6¬°Ќ6с SЋYђP U° +>J dАя +„¦ZА±2ЪаЈ9ЪdѓbО +ЪX_Щ …”р%АzхсЂиvФб5‹ іQХ[oЅQXfeхFbЃЦWћ–j*ЁHд°й,GМЧ xMeD +<¤Аk +J5x02¦\6Е@–b1И 7Ь1§чYoё]¶Z&Ґ©&Z¶Мћ¶ЫjЈеЖmn·M›­ёЕ#њdдVf#fXи@ +Д`/…OЙ°TЅкљВѓ +ЖWџ + +вє¬WeeХ-іј±†§§XВ3МђzXќ";Zґї5л GT%ѓ'Ї{рћxў«Ж'C%ќ ++XБ  1 +' „ѓо¤•Д РB=ґБђ.ANМ’х8(гN™› +pЊz¤ +¬’FдЃ$qfЛЖ +ЂrЄ0Љ­G@ +Ш|*諤tp€ЮСВ&dSфx gЙ ·aU IH’ЂvЕ/ЖI ?<ј¤h +ЪD›bЈ-{‚Оc‰)H%„УВУ,pхRCЂ Ђ@·‹qV*;»я2јґћіђaЂ8.лFКpЦz©њнуZ‚MяlH›эЩЭеGуЅ.n\3њж›кM¶5ѓC^ЗSFхЬ›˜n +§9 +gSР'7X’TXчя!INР8'ѓµ8в± +vGX=&'NP WDest ±Ge§AkБ +Ў¶7j$z“бКАЄ@ ѓФ5ДQф°,љAlТВ-аeVХyкzїЃ. +IsqЏўQ22TыЊ.8ЊКS@d ,˜aР! +PЗEgТ^• fSO¶7G“q Дђ …зl0 +в'j@ќ@-І +ЗpRќё^DIOфO»и"K„ЉеяР<”pьAёоР<•X,aefu‚Ґ'39c@Xp°g“ґDрҐ“$ТЧ&YВЂш UlfЋшзlгЁkxфFU)V7д88rHhWчи|3›К@VyґЃі™F“4rlRЂ.6^GoTе~•’d8QРпрФ!*ЁqZАХ30аKИјҐ’фDґF +­x8Щxф0Ћl2cИ +0^y€ЎЁG^ВЎUё—mpх ҐFGИA=gя$@зГЭ– —±°@В§RЦb#;Ъ +б +щедp ‹A—к/і\яДQО“ +ЛHR +'IџH9…eX=c€a–Йh‚t’@ў N?Ј і]Vе™щD±'ЉґWXCOPf=±y'Ђ$jОR[oUЄ +KGmc°W{GGй +@ЕЎFхЙХ† Е_хeVде Mv^ЌўЖђG¦@°±ўќG>dИ†Ё&®Ё±ЈФдЇЕб†{yсOфPжҐjч]ґ‘.љС\8№,ҐЗ¤!«‘ +ђи¤бф"‰zЂ‹Д—¤w© +КАп +EЧЃн5G№mь©7ъxЃ$Ј]tld +JT—„"’¦pRJ”GcФ ЪцЃ“N +§±Ј»AxCyOѕAё6—GМе†ЛUjМжltЕ z˜§љС«Дpі©ШД7/ +WA*»†˜@qЪ@ќ#w®¤f ґЦq3§Wт§Bў7Дt±ЃиW«IeяЋt¤ +Ж•Е"ИVёs››z ђ’к&q&†іsWFHaVjќіI”4Єy'K3J[®Ё4MEќЉдЃб cА[c@йР\{ЧљtHfУ5\ЦeLШw +Ж_z.ЖЕmЧ’дµkЦЈ=НB^KPаЈj J°аХѕ»ЖmЂHё~И^АОе,РЖ W±€hёKnI m +ЗЂLЭp ]RЕ«ч\ћЖGр• jsоаЭрe +(ї1r4зl~’–ASкQ—Iѓ('l,Иdд UщX8Wе°°l =CG.2IidaЌЁзЉЖрeV‰<'l2Ќ®»ЏYrфt#qyХЫёkX‹$ЏfEGVLH<'v„'Ќf]гњc"©и чШ¶$ьFђ |a[•‡5Ќ‡H@]рфД Рљ{уµ€GgОE•Pjp0ХЖ›…p ¤` ыЁ ЎА¶8 ђs”И~7‡ХђО»Ђ˜kБ…”СїбР‡ФФеKOит’±јxЙtўФ’,є №яьЎЕСЛи{Б,ѕБ•JщўЛPАQ]я  Хїk6з2fPЂ і±j4Й€BВАЕ4NX°ї’сНyTj@#_(’Ај„·Q’С\Чи%@гЪк 7mr^QnещЄ ¦5ў,«®e 9.qk,k ќаВcж +ЎVЌxх Ћ@—·_МТM,fЕKk$¶YЕ  +~ О#qV@#sрµ\fХjґ»‹•¬YmЕ1f.'b0…{%x±U yD/Ћ’–яаЪпPNИ±МЅхzі{ЅФcЃС\ьЙ“суOхр\с…•ѕ•?zФ€.й¶кH[їOЄyв >л$‰5 PЏ­Ў ЗО›§Я_йЩGюl +НUЎ гЪ"°є,.ђрґVВf‹ пP кђ™neGЅ%BgWЃ@OВ)r  +'mGыhХиШф:'-ЙKѓ? ЎhнСтxGgtVr5›Е«·Г™ЄН‰›хD7t[м\{§aХЫЦ"j4жя5rmS˜\dµ!sХV +Ђ +l+f¬њF% (-ЂМ)Іr”)…DOќ:dпЮh)‚%cа¬јcБ@=dИ”°d`¤Г”dе°TЄJ*_dw8\Ђ`аЋ±;МrhЙЃNЛ–T µ« +ЋNpЁB^»RYБ‘ЖЋ)ќzч˜Г­R[В) ǒ昪Пj^ёPкЪф&]ибJdSf +ЂЧvF9ЉСЛм PZЋ@/ +Аѓ +:-¬rFКДѓаNВH.ЏF4FґУH4i«© 0“PP + +Й¦$рАHђЊ”J•Њ”!Ѓ!d°G‡Ћy¤Ќ‚Вбp*ЊЋ ҐЌL€iЏТСHc*¦ќе¦*ЂВtЉЙ)&T!¤c0ЬЖќЊЉЄk2r21 +86Є.›ёФ@Ш”B&c +@«Ґ18Ј0ЫФ©gҐ–РІ„ґєдАMS‚љКN»Ъ 'ња›JІ¦Ъ‹…K cмUX ѓЌ ` +3Ом +G 9 0v§]ѓIЈIѓi(Йnіs$Ґ>ЫЊ±дЄJ€cФD(HПљJя§ ++@ФЈ¤l,ђ„I p‚°Љ‘в†YX +’Њ ѓ +Ё§@sє„–м‚Јћ#Т“1…жj5У…FсE6 +*УD№ +4ЄGz +xR$‡DЈ±L›Њ$rF 1*аG2©iЈ€Ћ)o>„,0 +¬Џнн49Y +МTCЗСl!Ѓ tД¤ +Н»Дх ФД +ш¤ЩЏC;_ЋP6љkлwХ›JK>ѓ#йAK#У`чт(—WС%)‘ќ±ZR‰™С,`‡Єђб2µЏФgZвRKґРЙ ,SіЛ}¤;YЦзeЗ  )H«LтU(©Љ±ШE­ qyU\.…(E –z=ЬS˜0Жf%@Ж6xP +tЈ +Ў@•TЎ +g®‰ђ#И1Д2 €Ѓ;,8Ё,A.d€ЎUFЈЎ€5 ХЌТ|И &нRђ +Ф +b<в тА‡P‚R’T¤)Ј± гФ† н˜˜ҐR’jDаз«ІҐґљЕЖ'BН”бФъЋ®¤Vefc 0,љ™Д'&±Эќђб=ЗiМЇ}ўV­¦™9Ж¤5jJхЪЦ:‹ + ^]ЃK}jц—ЏсI_ІГKEўС,@Ј9PФЄZ +80d8%яЈнBЂ2p ”±а&$Йk[Ґђ +d.”+ЋPkIj9‡(ЕZ_5›†…AЌ€ђ5СpS#`Ј‰PГ Оэ‰s єRUk<L•&lВZ1ґЎPtC кЂВиЖМОҐ{„ћИR •Дх/V™bU:Э™pођUС€O’F ЫђЉИєдBLь4ҘOЂ-AпT +p“˜j­Sо¤7іW­.!®“Ає9ѕмm'ІЃмTКгєЖ†pm&·bѓ2№PС®В)F/}%Лл-dF-2ЦМ"sЭb6e+(iCлс(П5kЙћ%*сWYт 'YАЇЖ4зУµ* +РЈ ѓшюй4Щ›щЈЬ*ЎbXТ.Ў#†@юV™В%µ…„®Ќ¶:ᕤCE›цґп”лA¦цyч1M џMЎ; +˜#;eњЏ®(—в6%‡IкЩЂjBYЁE„8qD€FbиnйЎ)бшP“jRЩrХ·®ЎщP™афЅФ„ё$Uqў…И€H[@u=jСdzRb¤©i5sћбBqБп3ЈkЭGVTњИPҐfКxц +3дЩ”OTЁ#сћTІMЭЅ\Ж®vжҐР‚nЄм1mЫ€RL7К”Ж$лqЊш`Ґ†Я‰еИаОZ +УO’гXЊ™я^с€\Ц—Ґ#y§AусDc­^Е2ШFБ$ВU +e ў&¬ь ЧљtЭэ¤.ЊБкфgЬ +’bДОNЩjpV’ўЙ5С$2[Fв|"ЊЁb$G-иP‰ЋЧА5")Fs(qІ0фкM9у\28tJe#)цеФm"І0F®aЙVЊЃЂ” Џ0ТIґКЧ6ъ4ъОу„?ф=ЉЦѕ$ OMёqHц9КЖEи.ЫжmУy(@ЋWJ„ ’б F)XAљ&ѕЊh¦‡ґ—љгErМПа€9ҐТЃ 8 ‹’.Rй-а:`Ѓoт П›ЅяI™ћ_СЖЁ‹¤и–‘(  +›Л€#Ѓ­J№Л’гВ$ҐИЋЎsБМк2Б&R …вP…Ви%Uў +'K·љБ0вA°‚Ј =H«bG©«ЎЬ€©ЄЃ0©п3€¤БЏ2І‰wИљЪHўС»‹ыX!w + 8ђќк=‒4Љ„L +ЩzБ:‚›§±@Gд +Gб–вZ°’x’яgs‘эbўlй€к%µ8†LђЪ$ІП`ѕш{Ш(Ќ:КРrq’3†i4„@€ѕ‘P“`‘cЁH РIЛэ™'AІG‘bлЫ»!Б!Є”t#R¬µЊ&5Ѓ" +y“ЄZFЌ`¦· «A +ЂP‚‰УxзіКL;IµЏѓFZpЏX[ђяј $ЃіA’KЊмOH‡ѓЎЅККviњСw‰Ќh=вњрјnй/КІ=±РЖљ! +БЏм!є:‘ +OЎ-щK`№љЁsЙbујr +°ЋшђP@Nъ‹№Q®кq€CГї±vШФЉV‡ЂЈКќOЎEУ2/~"&%x4‹‚H–#№|Аtґ–b»%Ѓ™‘ЬCї +э°˜Ѓ“аxОџаёЊWя•МбіЁ^СБ<4ћйi˜ЂМ4'ш•ѕY‰'ѓ¶«+¶T}=ђ¤‰wЙКґА,Щ к@“…Ј+°j3Іэ‹і№ђ‹Х!b(‘A™­рЈ0;сОуј бД!i­ґ‘Њ›Сf…#ЎЈюЁ‰ѕA†гЃ,;Х¦ +…:ђ‹ %Ў‰ў<гщ`)ЙЏ’.ЊЃљСЃ§, +·PvЄ‡юЃЂ)hЎ)`'@†nђ‹bИ„w8ЊКWГ[%=€Ш™8t¶»В€Н¶;‘(s°‰‰Ц' S”ѓDP°—ЃCЦ›Ўfmѕў +гrKЈA4Ш8вљхW«' +‰rYc­bђGшЌ$©O'ђ3щµ:nѓѓI#€ +&BЦsQЉљ ;ьЊ€hі1U° +S?aІ)ў"†•ҐЕ­№‰я<і‹§¬ўeеќl¬§…э+Zбhѕ9¦я1±№dТў,г3†px‡4•0±c`WvҐЦв©ЊkЫ@~М°т<Юdё) +sў4’=і“џік yО ЏS‡ A" +&уЎ5mжіўёб°fF3e–±ј0 +‹€§И +е(ё¬"‚©г'!„(љс/S Т‰8†t +-ќ·®‰8y~„»щ[Їсзж›Vб©Ъ-Ђђ±ѓD ‹`PUђ)&Є +втЇ‡ОЧ™®К˜о‘[ШF{І8в‘€S®ћ1ћ&°Тѓb«JB.¶kqѕЄ,1/СгяRЋ*“M#4$­hJ^Gц #†H8д ь +vґњЭ] 8° +zИa.鵘vh_Ќ¦Є Є +‰i}ЦЁYҐBѕ©4т=©©0Юж +?ўЉь,‰Ч#ђНЛ!ІлkЭ +?—ј›Ц8<у±књЎд^§BYЎ-‚°ъї;!†Р ++ +їW1Ђд +b±“Ўр^’ўйU +еЈ€µ¤r(yШИРHШ†m +РSFрШ@dя.Dv¬ШD1@”Аyq°АDbИЉ$ @1”Ќ,`’Ш1Д”Q$XрбB†Ќб¤xLаNњЖЉ#T(ОќД„-–S`QcI“ж¤hмЈSЎA‰uSк“aХ«@}ќH2(P­<‹"…ЄT)WІV‰ІЕщ‘$ТЇ?'tАкVҐйєZ]+dОЅe7 5маЈЋїІmл8°ЭћЖ 'ЉЧтУА‰ЈN6;QўWГ?‹‚\KмЭРЁLЉl—Щ¬Ь«ЏiKjX«Фћ“ЏvГ©m§п§ku6M*nj¦Ўб2нй–,XвђЩ8¦ЃЏ 8 +s “Xrd©5“Цп\z(Аяв˜e<а<С¦24ҐЈђMДЙDЬTxХD D…ЕCJ€ OюSM<ДE:˜ѓl ё @ цФ‰#JёH2!gЊ2Кh“B.*HbC6u"KЩќеў€2.”г‰Ъ€…9ВЦTAў8д‹\-™a‰‘&гN$ћeC§„7HПMљ%Ё e>:Ш‡EБИ•M6ѕ‰Ј@е@)PB)жШЎR‚)bЋbj—ж‚_ЋIҐѓШEDњA +швCJyp >ЏШ§ЊА —РЧЖD:‘„Џ@*qрИxЂ xДA +Z ¬†В +лg‡K름ТтlL%¦Й+»Н– ЇњPRDПO5йTiЫ®Ыk :ХKаf+W–фZ{Уё˜®Ѓи[]єJЩ%БЛЖ R¬е,X@A" +ЗP +pА"‚иД)цр€pXby4 q‡[Lў©ШD+кО‹N,Ј†˜Ж *с‡uф«З1ОqЋEдЎx‰J@‘RЊЈќ˜ДN1Ќc¬#Щ(DKPQ€cўе ТС$w ЈЯѓЕ2z1•њd$IYДGRЉ‡„Ј)D9ЂRђX%%гёC%’‘Ћjфe0гx‰)~•}4"0зxG?у—Mde&ЎYLBЋ‘˜«ЬдRЖIBQЏ?,АйpЁbH†6’+F9є#_W! уљЯ<з;пщПkѕ + }зEOъУЈ>хЄ_=л[пъЧГ>цІџ=н7ozЬѕцєЯ=пGЯШKMЅUp@DabЊd9С') +в”m >б +ў®!(‚в> ш9!¶г–!я±Ј-" ъa@ВЎVџтЎ%Bв$љб +"jдю_єaG¦#знбҐиNўХS9џ†yQ„"СГ|•Г#„ВJPџ,@1 +! ѓ&&ЎээЎю¤b$ vвє!GКe#FбEКeћЯ!тe +¶_aъЈ_ЮaC"bвФeЯ +Ь &вЖ +вaІ`=Ћ^H¦яY`b^ :І!ъEў<ОЈFж_о±гн СUођ2(NTaўе а`Y=ю- +„$%`ifh(F&|"књ&д'*jЎцgщ%&rЎџ +dB>я*%Т#–ЁJ¦ +ЖЎ^fЩ§Юг{*аєZXб^ё +GђДН±а;dW +Ґ{Іcw@АaeЮq2©ж‰e +d$Ћ 9®#jr*^и¤Цi +ЋcҐЉk<ћf(’г¦,‚Жa]’аГтc·Ю\|ЃX–ќсЩОнXVЪЄ@ +jгВиЅv* §!@">ЁК_нІikж'Ж"п(#oЂ&>нўІбFBЧ©Ь& ў1Ћoє‚oД6ж +/"d–еrw& о…>Іm%‡сDВ­g¦б5OЭ¶ї(~¶A<МЙ‘8ЎC˜зМ…®©*Ьћ _жжЃf’#†fЯJ/ћЪЯH°Ј‹књІ#2їcгN-жp$ЁчљТ­aк®нAсfjв-ЗҐ^иФ^2-›jfЎ†z"eю)G‚ЇЬкі#*оRh>лqfB$ pCbкјjЮQh€OX–‹(їЕЖC­Ю`-пЮХ +я¦¤ц+0яйќhБу!кэ њJ '.4}JбЪ,ѓnr&µ\f™`норДЋфнКрSў*“ґ-ц«Dч2 guъґcµWГ5Dюm73! іpГ2µPpЏMёowDВXи†HђW€ +Ў-ЉЂ–ёЮ»µPY +Ѓ–dћ‘CCРЎe[ +БУЗј€x–sev„,6>Дљ˜ЁЎба)W6Е¦ёЎh!¶B(bѓ¶jїHgЃLісvg„gy–@БхФn'„˜аh™¶ +yV4·;u–(A¬˜voч—rЂиЋt!Г6ЁvfП6Љс6ф +>ђC9Ра9хяР!нPs{Цn—ѓy§Оn/>ДD +g§Р@А·p”{/¶˜ +­6sѓv +9·‰%6Иd¶isРtп”vKђ©voу6rѓЫё­vg8h%9е“069ve;w +)Гt{ЃZeїЎИЁ¶‰ҐvuЮbsPEСГґЕC|н…C`ЬЊ~@aШtЌХNy’—zЌХђ'9W-U‰µ‘п@}ФX9%нRy—kF5yтhTZ]7Є`…№=‰QSн/Ў№ЏmёU’’»щ`=чALwGсТuV [Ґ9Q±Сy…ФH-”OС9ќY“ЏСyEФ}y`Uя№`є‰u—t-К#‰.й“}†YХнU(™Xљ“:.yTc[MjћжHGьѓНeYЇў*А vYPoЕH +ыЧЭHА „;@ЭІg‚{ +ЧЂ†Дя›Зы^оEЭШ + + + +Ошибка + + + +
    +Ошибка : Доступ в данный раздел запрещен
    +Перейдите на
    стартовую страницу + + \ No newline at end of file diff --git a/i/day/left.gif b/i/day/left.gif new file mode 100644 index 0000000..a1efd81 Binary files /dev/null and b/i/day/left.gif differ diff --git a/i/day/location.gif b/i/day/location.gif new file mode 100644 index 0000000..6089cb5 Binary files /dev/null and b/i/day/location.gif differ diff --git a/i/day/mennu112_04_lite.gif b/i/day/mennu112_04_lite.gif new file mode 100644 index 0000000..abc1be0 Binary files /dev/null and b/i/day/mennu112_04_lite.gif differ diff --git a/i/day/mennu112_06.gif b/i/day/mennu112_06.gif new file mode 100644 index 0000000..7d3623d Binary files /dev/null and b/i/day/mennu112_06.gif differ diff --git a/i/day/mennu112_06_lite.gif b/i/day/mennu112_06_lite.gif new file mode 100644 index 0000000..7727875 Binary files /dev/null and b/i/day/mennu112_06_lite.gif differ diff --git a/i/day/mennu112_09.gif b/i/day/mennu112_09.gif new file mode 100644 index 0000000..a1c95cf Binary files /dev/null and b/i/day/mennu112_09.gif differ diff --git a/i/day/right.gif b/i/day/right.gif new file mode 100644 index 0000000..3101452 Binary files /dev/null and b/i/day/right.gif differ diff --git a/i/day/sand_lit2_27.gif b/i/day/sand_lit2_27.gif new file mode 100644 index 0000000..d878deb Binary files /dev/null and b/i/day/sand_lit2_27.gif differ diff --git a/i/day/sand_lit_20.gif b/i/day/sand_lit_20.gif new file mode 100644 index 0000000..d40828e Binary files /dev/null and b/i/day/sand_lit_20.gif differ diff --git a/i/day/sand_lit_220.gif b/i/day/sand_lit_220.gif new file mode 100644 index 0000000..79b2857 Binary files /dev/null and b/i/day/sand_lit_220.gif differ diff --git a/i/day/sand_lit_27.gif b/i/day/sand_lit_27.gif new file mode 100644 index 0000000..7ec291e Binary files /dev/null and b/i/day/sand_lit_27.gif differ diff --git a/i/day/sand_mid_31.gif b/i/day/sand_mid_31.gif new file mode 100644 index 0000000..0030142 Binary files /dev/null and b/i/day/sand_mid_31.gif differ diff --git a/i/day/sand_top_20s.gif b/i/day/sand_top_20s.gif new file mode 100644 index 0000000..af01272 Binary files /dev/null and b/i/day/sand_top_20s.gif differ diff --git a/i/day/sand_top_24.gif b/i/day/sand_top_24.gif new file mode 100644 index 0000000..d0154ab Binary files /dev/null and b/i/day/sand_top_24.gif differ diff --git a/i/day/sand_top_28.gif b/i/day/sand_top_28.gif new file mode 100644 index 0000000..35cc060 Binary files /dev/null and b/i/day/sand_top_28.gif differ diff --git a/i/day/top_lite_cap_01.gif b/i/day/top_lite_cap_01.gif new file mode 100644 index 0000000..e31f30c Binary files /dev/null and b/i/day/top_lite_cap_01.gif differ diff --git a/i/day/top_lite_cap_011.gif b/i/day/top_lite_cap_011.gif new file mode 100644 index 0000000..688fae5 Binary files /dev/null and b/i/day/top_lite_cap_011.gif differ diff --git a/i/day/top_lite_cap_03.gif b/i/day/top_lite_cap_03.gif new file mode 100644 index 0000000..2a5819d Binary files /dev/null and b/i/day/top_lite_cap_03.gif differ diff --git a/i/day/top_lite_cap_07.gif b/i/day/top_lite_cap_07.gif new file mode 100644 index 0000000..89f354a Binary files /dev/null and b/i/day/top_lite_cap_07.gif differ diff --git a/i/day/top_lite_cap_08.gif b/i/day/top_lite_cap_08.gif new file mode 100644 index 0000000..08db25b Binary files /dev/null and b/i/day/top_lite_cap_08.gif differ diff --git a/i/day/top_lite_cap_081.gif b/i/day/top_lite_cap_081.gif new file mode 100644 index 0000000..ec4b313 Binary files /dev/null and b/i/day/top_lite_cap_081.gif differ diff --git a/i/day/top_lite_cap_11.gif b/i/day/top_lite_cap_11.gif new file mode 100644 index 0000000..1f79f88 Binary files /dev/null and b/i/day/top_lite_cap_11.gif differ diff --git a/i/day/top_lite_dream_13.gif b/i/day/top_lite_dream_13.gif new file mode 100644 index 0000000..e3ea060 Binary files /dev/null and b/i/day/top_lite_dream_13.gif differ diff --git a/i/day/top_lite_dream_15.gif b/i/day/top_lite_dream_15.gif new file mode 100644 index 0000000..16c56f0 Binary files /dev/null and b/i/day/top_lite_dream_15.gif differ diff --git a/i/day/top_lite_dream_18.gif b/i/day/top_lite_dream_18.gif new file mode 100644 index 0000000..a9b1357 Binary files /dev/null and b/i/day/top_lite_dream_18.gif differ diff --git a/i/day/zvuk.gif b/i/day/zvuk.gif new file mode 100644 index 0000000..300ef0c Binary files /dev/null and b/i/day/zvuk.gif differ diff --git a/i/day/zvuk_off.gif b/i/day/zvuk_off.gif new file mode 100644 index 0000000..dd990d8 Binary files /dev/null and b/i/day/zvuk_off.gif differ diff --git a/i/deal.gif b/i/deal.gif new file mode 100644 index 0000000..dcb9782 Binary files /dev/null and b/i/deal.gif differ diff --git a/i/deal.png b/i/deal.png new file mode 100644 index 0000000..70e62c9 Binary files /dev/null and b/i/deal.png differ diff --git a/i/def.gif b/i/def.gif new file mode 100644 index 0000000..fc83cd1 Binary files /dev/null and b/i/def.gif differ diff --git a/i/destiny.gif b/i/destiny.gif new file mode 100644 index 0000000..106d15f Binary files /dev/null and b/i/destiny.gif differ diff --git a/i/destiny1.gif b/i/destiny1.gif new file mode 100644 index 0000000..14a7f37 Binary files /dev/null and b/i/destiny1.gif differ diff --git a/i/deviz.gif b/i/deviz.gif new file mode 100644 index 0000000..486b577 Binary files /dev/null and b/i/deviz.gif differ diff --git a/i/down_line.gif b/i/down_line.gif new file mode 100644 index 0000000..e8a56ce Binary files /dev/null and b/i/down_line.gif differ diff --git a/i/dungeon/0000.gif b/i/dungeon/0000.gif new file mode 100644 index 0000000..79ce10d Binary files /dev/null and b/i/dungeon/0000.gif differ diff --git a/i/dungeon/0001.gif b/i/dungeon/0001.gif new file mode 100644 index 0000000..c0fa0eb Binary files /dev/null and b/i/dungeon/0001.gif differ diff --git a/i/dungeon/0010.gif b/i/dungeon/0010.gif new file mode 100644 index 0000000..324a422 Binary files /dev/null and b/i/dungeon/0010.gif differ diff --git a/i/dungeon/0011.gif b/i/dungeon/0011.gif new file mode 100644 index 0000000..ee26138 Binary files /dev/null and b/i/dungeon/0011.gif differ diff --git a/i/dungeon/0100.gif b/i/dungeon/0100.gif new file mode 100644 index 0000000..9608060 Binary files /dev/null and b/i/dungeon/0100.gif differ diff --git a/i/dungeon/0101.gif b/i/dungeon/0101.gif new file mode 100644 index 0000000..831618e Binary files /dev/null and b/i/dungeon/0101.gif differ diff --git a/i/dungeon/0110.gif b/i/dungeon/0110.gif new file mode 100644 index 0000000..ad39d75 Binary files /dev/null and b/i/dungeon/0110.gif differ diff --git a/i/dungeon/0111.gif b/i/dungeon/0111.gif new file mode 100644 index 0000000..52de879 Binary files /dev/null and b/i/dungeon/0111.gif differ diff --git a/i/dungeon/1.gif b/i/dungeon/1.gif new file mode 100644 index 0000000..eaec959 Binary files /dev/null and b/i/dungeon/1.gif differ diff --git a/i/dungeon/10.gif b/i/dungeon/10.gif new file mode 100644 index 0000000..00ec3af Binary files /dev/null and b/i/dungeon/10.gif differ diff --git a/i/dungeon/1000.gif b/i/dungeon/1000.gif new file mode 100644 index 0000000..bf87f17 Binary files /dev/null and b/i/dungeon/1000.gif differ diff --git a/i/dungeon/1001.gif b/i/dungeon/1001.gif new file mode 100644 index 0000000..79d8f41 Binary files /dev/null and b/i/dungeon/1001.gif differ diff --git a/i/dungeon/1010.gif b/i/dungeon/1010.gif new file mode 100644 index 0000000..e52d235 Binary files /dev/null and b/i/dungeon/1010.gif differ diff --git a/i/dungeon/1011.gif b/i/dungeon/1011.gif new file mode 100644 index 0000000..8be985d Binary files /dev/null and b/i/dungeon/1011.gif differ diff --git a/i/dungeon/11.gif b/i/dungeon/11.gif new file mode 100644 index 0000000..ce460a1 Binary files /dev/null and b/i/dungeon/11.gif differ diff --git a/i/dungeon/1100.gif b/i/dungeon/1100.gif new file mode 100644 index 0000000..9ce7622 Binary files /dev/null and b/i/dungeon/1100.gif differ diff --git a/i/dungeon/1101.gif b/i/dungeon/1101.gif new file mode 100644 index 0000000..51581c0 Binary files /dev/null and b/i/dungeon/1101.gif differ diff --git a/i/dungeon/1110.gif b/i/dungeon/1110.gif new file mode 100644 index 0000000..6c8ef58 Binary files /dev/null and b/i/dungeon/1110.gif differ diff --git a/i/dungeon/1111.gif b/i/dungeon/1111.gif new file mode 100644 index 0000000..0fcbbe6 Binary files /dev/null and b/i/dungeon/1111.gif differ diff --git a/i/dungeon/12.gif b/i/dungeon/12.gif new file mode 100644 index 0000000..c9c5e69 Binary files /dev/null and b/i/dungeon/12.gif differ diff --git a/i/dungeon/13.gif b/i/dungeon/13.gif new file mode 100644 index 0000000..c4e7048 Binary files /dev/null and b/i/dungeon/13.gif differ diff --git a/i/dungeon/2.gif b/i/dungeon/2.gif new file mode 100644 index 0000000..fa07509 Binary files /dev/null and b/i/dungeon/2.gif differ diff --git a/i/dungeon/20.gif b/i/dungeon/20.gif new file mode 100644 index 0000000..427a453 Binary files /dev/null and b/i/dungeon/20.gif differ diff --git a/i/dungeon/21.gif b/i/dungeon/21.gif new file mode 100644 index 0000000..86c4e50 Binary files /dev/null and b/i/dungeon/21.gif differ diff --git a/i/dungeon/22.gif b/i/dungeon/22.gif new file mode 100644 index 0000000..2d04606 Binary files /dev/null and b/i/dungeon/22.gif differ diff --git a/i/dungeon/23.gif b/i/dungeon/23.gif new file mode 100644 index 0000000..f0cd62f Binary files /dev/null and b/i/dungeon/23.gif differ diff --git a/i/dungeon/3.gif b/i/dungeon/3.gif new file mode 100644 index 0000000..6677ca4 Binary files /dev/null and b/i/dungeon/3.gif differ diff --git a/i/dungeon/30.gif b/i/dungeon/30.gif new file mode 100644 index 0000000..e4af49e Binary files /dev/null and b/i/dungeon/30.gif differ diff --git a/i/dungeon/31.gif b/i/dungeon/31.gif new file mode 100644 index 0000000..1322f5d Binary files /dev/null and b/i/dungeon/31.gif differ diff --git a/i/dungeon/32.gif b/i/dungeon/32.gif new file mode 100644 index 0000000..1e7bdc7 Binary files /dev/null and b/i/dungeon/32.gif differ diff --git a/i/dungeon/33.gif b/i/dungeon/33.gif new file mode 100644 index 0000000..beeebfb Binary files /dev/null and b/i/dungeon/33.gif differ diff --git a/i/dungeon/40.gif b/i/dungeon/40.gif new file mode 100644 index 0000000..290dbcf Binary files /dev/null and b/i/dungeon/40.gif differ diff --git a/i/dungeon/41.gif b/i/dungeon/41.gif new file mode 100644 index 0000000..9596176 Binary files /dev/null and b/i/dungeon/41.gif differ diff --git a/i/dungeon/42.gif b/i/dungeon/42.gif new file mode 100644 index 0000000..f717c2c Binary files /dev/null and b/i/dungeon/42.gif differ diff --git a/i/dungeon/43.gif b/i/dungeon/43.gif new file mode 100644 index 0000000..620c22d Binary files /dev/null and b/i/dungeon/43.gif differ diff --git a/i/dungeon/5.gif b/i/dungeon/5.gif new file mode 100644 index 0000000..0976fbd Binary files /dev/null and b/i/dungeon/5.gif differ diff --git a/i/dungeon/50.gif b/i/dungeon/50.gif new file mode 100644 index 0000000..66f0f93 Binary files /dev/null and b/i/dungeon/50.gif differ diff --git a/i/dungeon/51.gif b/i/dungeon/51.gif new file mode 100644 index 0000000..cb7f570 Binary files /dev/null and b/i/dungeon/51.gif differ diff --git a/i/dungeon/52.gif b/i/dungeon/52.gif new file mode 100644 index 0000000..6fe5101 Binary files /dev/null and b/i/dungeon/52.gif differ diff --git a/i/dungeon/53.gif b/i/dungeon/53.gif new file mode 100644 index 0000000..424f5d0 Binary files /dev/null and b/i/dungeon/53.gif differ diff --git a/i/dungeon/6.gif b/i/dungeon/6.gif new file mode 100644 index 0000000..73c2d89 Binary files /dev/null and b/i/dungeon/6.gif differ diff --git a/i/dungeon/60.gif b/i/dungeon/60.gif new file mode 100644 index 0000000..24ead36 Binary files /dev/null and b/i/dungeon/60.gif differ diff --git a/i/dungeon/61.gif b/i/dungeon/61.gif new file mode 100644 index 0000000..3d4cfb2 Binary files /dev/null and b/i/dungeon/61.gif differ diff --git a/i/dungeon/62.gif b/i/dungeon/62.gif new file mode 100644 index 0000000..7fb5658 Binary files /dev/null and b/i/dungeon/62.gif differ diff --git a/i/dungeon/63.gif b/i/dungeon/63.gif new file mode 100644 index 0000000..c6302a9 Binary files /dev/null and b/i/dungeon/63.gif differ diff --git a/i/dungeon/7.gif b/i/dungeon/7.gif new file mode 100644 index 0000000..0976fbd Binary files /dev/null and b/i/dungeon/7.gif differ diff --git a/i/dungeon/70.gif b/i/dungeon/70.gif new file mode 100644 index 0000000..3591b00 Binary files /dev/null and b/i/dungeon/70.gif differ diff --git a/i/dungeon/71.gif b/i/dungeon/71.gif new file mode 100644 index 0000000..5fab6c2 Binary files /dev/null and b/i/dungeon/71.gif differ diff --git a/i/dungeon/72.gif b/i/dungeon/72.gif new file mode 100644 index 0000000..8b89196 Binary files /dev/null and b/i/dungeon/72.gif differ diff --git a/i/dungeon/73.gif b/i/dungeon/73.gif new file mode 100644 index 0000000..80bb101 Binary files /dev/null and b/i/dungeon/73.gif differ diff --git a/i/dungeon/8.gif b/i/dungeon/8.gif new file mode 100644 index 0000000..d89d039 Binary files /dev/null and b/i/dungeon/8.gif differ diff --git a/i/dungeon/80.gif b/i/dungeon/80.gif new file mode 100644 index 0000000..939476e Binary files /dev/null and b/i/dungeon/80.gif differ diff --git a/i/dungeon/81.gif b/i/dungeon/81.gif new file mode 100644 index 0000000..77e5e97 Binary files /dev/null and b/i/dungeon/81.gif differ diff --git a/i/dungeon/82.gif b/i/dungeon/82.gif new file mode 100644 index 0000000..49fe1c7 Binary files /dev/null and b/i/dungeon/82.gif differ diff --git a/i/dungeon/83.gif b/i/dungeon/83.gif new file mode 100644 index 0000000..0ea07bd Binary files /dev/null and b/i/dungeon/83.gif differ diff --git a/i/dungeon/back.gif b/i/dungeon/back.gif new file mode 100644 index 0000000..5beb109 Binary files /dev/null and b/i/dungeon/back.gif differ diff --git a/i/dungeon/forward.gif b/i/dungeon/forward.gif new file mode 100644 index 0000000..dd31b0a Binary files /dev/null and b/i/dungeon/forward.gif differ diff --git a/i/dungeon/left.gif b/i/dungeon/left.gif new file mode 100644 index 0000000..f8c5265 Binary files /dev/null and b/i/dungeon/left.gif differ diff --git a/i/dungeon/mobs/621/1.gif b/i/dungeon/mobs/621/1.gif new file mode 100644 index 0000000..8bfdf97 Binary files /dev/null and b/i/dungeon/mobs/621/1.gif differ diff --git a/i/dungeon/mobs/621/2.gif b/i/dungeon/mobs/621/2.gif new file mode 100644 index 0000000..b65d774 Binary files /dev/null and b/i/dungeon/mobs/621/2.gif differ diff --git a/i/dungeon/mobs/621/3.gif b/i/dungeon/mobs/621/3.gif new file mode 100644 index 0000000..87fe62a Binary files /dev/null and b/i/dungeon/mobs/621/3.gif differ diff --git a/i/dungeon/mobs/621/4.gif b/i/dungeon/mobs/621/4.gif new file mode 100644 index 0000000..28765fd Binary files /dev/null and b/i/dungeon/mobs/621/4.gif differ diff --git a/i/dungeon/mobs/621/5.gif b/i/dungeon/mobs/621/5.gif new file mode 100644 index 0000000..fb950db Binary files /dev/null and b/i/dungeon/mobs/621/5.gif differ diff --git a/i/dungeon/mobs/621/6.gif b/i/dungeon/mobs/621/6.gif new file mode 100644 index 0000000..0880bda Binary files /dev/null and b/i/dungeon/mobs/621/6.gif differ diff --git a/i/dungeon/mobs/621/7.gif b/i/dungeon/mobs/621/7.gif new file mode 100644 index 0000000..bff9a69 Binary files /dev/null and b/i/dungeon/mobs/621/7.gif differ diff --git a/i/dungeon/mobs/621/8.gif b/i/dungeon/mobs/621/8.gif new file mode 100644 index 0000000..2b2b2da Binary files /dev/null and b/i/dungeon/mobs/621/8.gif differ diff --git a/i/dungeon/objects/621/1.gif b/i/dungeon/objects/621/1.gif new file mode 100644 index 0000000..4528b7e Binary files /dev/null and b/i/dungeon/objects/621/1.gif differ diff --git a/i/dungeon/objects/621/2.gif b/i/dungeon/objects/621/2.gif new file mode 100644 index 0000000..b807c6b Binary files /dev/null and b/i/dungeon/objects/621/2.gif differ diff --git a/i/dungeon/objects/621/3.gif b/i/dungeon/objects/621/3.gif new file mode 100644 index 0000000..a240f30 Binary files /dev/null and b/i/dungeon/objects/621/3.gif differ diff --git a/i/dungeon/objects/621/4.gif b/i/dungeon/objects/621/4.gif new file mode 100644 index 0000000..7d974f1 Binary files /dev/null and b/i/dungeon/objects/621/4.gif differ diff --git a/i/dungeon/objects/621/5.gif b/i/dungeon/objects/621/5.gif new file mode 100644 index 0000000..c5b570c Binary files /dev/null and b/i/dungeon/objects/621/5.gif differ diff --git a/i/dungeon/ref.gif b/i/dungeon/ref.gif new file mode 100644 index 0000000..12eedff Binary files /dev/null and b/i/dungeon/ref.gif differ diff --git a/i/dungeon/right.gif b/i/dungeon/right.gif new file mode 100644 index 0000000..1592132 Binary files /dev/null and b/i/dungeon/right.gif differ diff --git a/i/dungeon/turnleft.gif b/i/dungeon/turnleft.gif new file mode 100644 index 0000000..e5f1a99 Binary files /dev/null and b/i/dungeon/turnleft.gif differ diff --git a/i/dungeon/turnright.gif b/i/dungeon/turnright.gif new file mode 100644 index 0000000..8d73ca5 Binary files /dev/null and b/i/dungeon/turnright.gif differ diff --git a/i/dungeon/users/0/0.png b/i/dungeon/users/0/0.png new file mode 100644 index 0000000..6984ac4 Binary files /dev/null and b/i/dungeon/users/0/0.png differ diff --git a/i/dungeon/users/1/0.png b/i/dungeon/users/1/0.png new file mode 100644 index 0000000..178bf9e Binary files /dev/null and b/i/dungeon/users/1/0.png differ diff --git a/i/erase.gif b/i/erase.gif new file mode 100644 index 0000000..1e5c314 Binary files /dev/null and b/i/erase.gif differ diff --git a/i/erase_.gif b/i/erase_.gif new file mode 100644 index 0000000..c0f013d Binary files /dev/null and b/i/erase_.gif differ diff --git a/i/err_recom.png b/i/err_recom.png new file mode 100644 index 0000000..3f2fbe7 Binary files /dev/null and b/i/err_recom.png differ diff --git a/i/err_upgr.png b/i/err_upgr.png new file mode 100644 index 0000000..971050a Binary files /dev/null and b/i/err_upgr.png differ diff --git a/i/euphoria.png b/i/euphoria.png new file mode 100644 index 0000000..01f038c Binary files /dev/null and b/i/euphoria.png differ diff --git a/i/evn_news_03.gif b/i/evn_news_03.gif new file mode 100644 index 0000000..6bd9e5a Binary files /dev/null and b/i/evn_news_03.gif differ diff --git a/i/evn_news_05.gif b/i/evn_news_05.gif new file mode 100644 index 0000000..0cdab80 Binary files /dev/null and b/i/evn_news_05.gif differ diff --git a/i/evn_news_07.gif b/i/evn_news_07.gif new file mode 100644 index 0000000..59c04be Binary files /dev/null and b/i/evn_news_07.gif differ diff --git a/i/evn_news_12.gif b/i/evn_news_12.gif new file mode 100644 index 0000000..a59b15d Binary files /dev/null and b/i/evn_news_12.gif differ diff --git a/i/evn_news_13.gif b/i/evn_news_13.gif new file mode 100644 index 0000000..acc0e72 Binary files /dev/null and b/i/evn_news_13.gif differ diff --git a/i/evn_news_16.gif b/i/evn_news_16.gif new file mode 100644 index 0000000..46ff1e2 Binary files /dev/null and b/i/evn_news_16.gif differ diff --git a/i/evn_news_17.gif b/i/evn_news_17.gif new file mode 100644 index 0000000..6d7a625 Binary files /dev/null and b/i/evn_news_17.gif differ diff --git a/i/evn_news_18.gif b/i/evn_news_18.gif new file mode 100644 index 0000000..186009c Binary files /dev/null and b/i/evn_news_18.gif differ diff --git a/i/expx15.gif b/i/expx15.gif new file mode 100644 index 0000000..300dc0d Binary files /dev/null and b/i/expx15.gif differ diff --git a/i/favicon.ico b/i/favicon.ico new file mode 100644 index 0000000..aa03a2c Binary files /dev/null and b/i/favicon.ico differ diff --git a/i/favicon.png b/i/favicon.png new file mode 100644 index 0000000..6150337 Binary files /dev/null and b/i/favicon.png differ diff --git a/i/fighttype0.gif b/i/fighttype0.gif new file mode 100644 index 0000000..f839b23 Binary files /dev/null and b/i/fighttype0.gif differ diff --git a/i/fighttype1.gif b/i/fighttype1.gif new file mode 100644 index 0000000..efe2863 Binary files /dev/null and b/i/fighttype1.gif differ diff --git a/i/fighttype10.gif b/i/fighttype10.gif new file mode 100644 index 0000000..87552d8 Binary files /dev/null and b/i/fighttype10.gif differ diff --git a/i/fighttype2.gif b/i/fighttype2.gif new file mode 100644 index 0000000..3bc6324 Binary files /dev/null and b/i/fighttype2.gif differ diff --git a/i/fighttype3.gif b/i/fighttype3.gif new file mode 100644 index 0000000..3bc6324 Binary files /dev/null and b/i/fighttype3.gif differ diff --git a/i/fighttype4.gif b/i/fighttype4.gif new file mode 100644 index 0000000..f5f5f6e Binary files /dev/null and b/i/fighttype4.gif differ diff --git a/i/fighttype5.gif b/i/fighttype5.gif new file mode 100644 index 0000000..f5f5f6e Binary files /dev/null and b/i/fighttype5.gif differ diff --git a/i/fighttype6.gif b/i/fighttype6.gif new file mode 100644 index 0000000..87552d8 Binary files /dev/null and b/i/fighttype6.gif differ diff --git a/i/fixed.gif b/i/fixed.gif new file mode 100644 index 0000000..eb5b241 Binary files /dev/null and b/i/fixed.gif differ diff --git a/i/flag.gif b/i/flag.gif new file mode 100644 index 0000000..d7d831d Binary files /dev/null and b/i/flag.gif differ diff --git a/i/flag_position.png b/i/flag_position.png new file mode 100644 index 0000000..65a0bbe Binary files /dev/null and b/i/flag_position.png differ diff --git a/i/forest/cell_1.jpg b/i/forest/cell_1.jpg new file mode 100644 index 0000000..e12e0c7 Binary files /dev/null and b/i/forest/cell_1.jpg differ diff --git a/i/forest/cell_10.jpg b/i/forest/cell_10.jpg new file mode 100644 index 0000000..71aebb6 Binary files /dev/null and b/i/forest/cell_10.jpg differ diff --git a/i/forest/cell_11.jpg b/i/forest/cell_11.jpg new file mode 100644 index 0000000..1c8af53 Binary files /dev/null and b/i/forest/cell_11.jpg differ diff --git a/i/forest/cell_12.jpg b/i/forest/cell_12.jpg new file mode 100644 index 0000000..3db781f Binary files /dev/null and b/i/forest/cell_12.jpg differ diff --git a/i/forest/cell_13.jpg b/i/forest/cell_13.jpg new file mode 100644 index 0000000..4040b33 Binary files /dev/null and b/i/forest/cell_13.jpg differ diff --git a/i/forest/cell_14.jpg b/i/forest/cell_14.jpg new file mode 100644 index 0000000..ff4521b Binary files /dev/null and b/i/forest/cell_14.jpg differ diff --git a/i/forest/cell_15.jpg b/i/forest/cell_15.jpg new file mode 100644 index 0000000..0c79ca4 Binary files /dev/null and b/i/forest/cell_15.jpg differ diff --git a/i/forest/cell_16.jpg b/i/forest/cell_16.jpg new file mode 100644 index 0000000..0fdf3ea Binary files /dev/null and b/i/forest/cell_16.jpg differ diff --git a/i/forest/cell_17.jpg b/i/forest/cell_17.jpg new file mode 100644 index 0000000..abe5251 Binary files /dev/null and b/i/forest/cell_17.jpg differ diff --git a/i/forest/cell_18.jpg b/i/forest/cell_18.jpg new file mode 100644 index 0000000..b67249b Binary files /dev/null and b/i/forest/cell_18.jpg differ diff --git a/i/forest/cell_19.jpg b/i/forest/cell_19.jpg new file mode 100644 index 0000000..60ba912 Binary files /dev/null and b/i/forest/cell_19.jpg differ diff --git a/i/forest/cell_2.jpg b/i/forest/cell_2.jpg new file mode 100644 index 0000000..cdc43f1 Binary files /dev/null and b/i/forest/cell_2.jpg differ diff --git a/i/forest/cell_20.jpg b/i/forest/cell_20.jpg new file mode 100644 index 0000000..29b5be5 Binary files /dev/null and b/i/forest/cell_20.jpg differ diff --git a/i/forest/cell_21.jpg b/i/forest/cell_21.jpg new file mode 100644 index 0000000..02d9c68 Binary files /dev/null and b/i/forest/cell_21.jpg differ diff --git a/i/forest/cell_22.jpg b/i/forest/cell_22.jpg new file mode 100644 index 0000000..a28aafa Binary files /dev/null and b/i/forest/cell_22.jpg differ diff --git a/i/forest/cell_23.jpg b/i/forest/cell_23.jpg new file mode 100644 index 0000000..66722c3 Binary files /dev/null and b/i/forest/cell_23.jpg differ diff --git a/i/forest/cell_24.jpg b/i/forest/cell_24.jpg new file mode 100644 index 0000000..52bbd1c Binary files /dev/null and b/i/forest/cell_24.jpg differ diff --git a/i/forest/cell_25.jpg b/i/forest/cell_25.jpg new file mode 100644 index 0000000..5c1a288 Binary files /dev/null and b/i/forest/cell_25.jpg differ diff --git a/i/forest/cell_3.jpg b/i/forest/cell_3.jpg new file mode 100644 index 0000000..9434c4c Binary files /dev/null and b/i/forest/cell_3.jpg differ diff --git a/i/forest/cell_4.jpg b/i/forest/cell_4.jpg new file mode 100644 index 0000000..671b2b0 Binary files /dev/null and b/i/forest/cell_4.jpg differ diff --git a/i/forest/cell_5.jpg b/i/forest/cell_5.jpg new file mode 100644 index 0000000..8b51a1a Binary files /dev/null and b/i/forest/cell_5.jpg differ diff --git a/i/forest/cell_6.jpg b/i/forest/cell_6.jpg new file mode 100644 index 0000000..624f599 Binary files /dev/null and b/i/forest/cell_6.jpg differ diff --git a/i/forest/cell_7.jpg b/i/forest/cell_7.jpg new file mode 100644 index 0000000..4062f05 Binary files /dev/null and b/i/forest/cell_7.jpg differ diff --git a/i/forest/cell_8.jpg b/i/forest/cell_8.jpg new file mode 100644 index 0000000..b2d816e Binary files /dev/null and b/i/forest/cell_8.jpg differ diff --git a/i/forest/cell_9.jpg b/i/forest/cell_9.jpg new file mode 100644 index 0000000..d85c24d Binary files /dev/null and b/i/forest/cell_9.jpg differ diff --git a/i/forest/pointer_2.png b/i/forest/pointer_2.png new file mode 100644 index 0000000..8398fc6 Binary files /dev/null and b/i/forest/pointer_2.png differ diff --git a/i/forest/pointer_4.png b/i/forest/pointer_4.png new file mode 100644 index 0000000..3b4097a Binary files /dev/null and b/i/forest/pointer_4.png differ diff --git a/i/forest/pointer_6.png b/i/forest/pointer_6.png new file mode 100644 index 0000000..ae65fdf Binary files /dev/null and b/i/forest/pointer_6.png differ diff --git a/i/forest/pointer_8.png b/i/forest/pointer_8.png new file mode 100644 index 0000000..ad016f6 Binary files /dev/null and b/i/forest/pointer_8.png differ diff --git a/i/forum/arrow3.gif b/i/forum/arrow3.gif new file mode 100644 index 0000000..9b2fe11 Binary files /dev/null and b/i/forum/arrow3.gif differ diff --git a/i/forum/edit.png b/i/forum/edit.png new file mode 100644 index 0000000..607cec3 Binary files /dev/null and b/i/forum/edit.png differ diff --git a/i/forum/forumru_03.jpg b/i/forum/forumru_03.jpg new file mode 100644 index 0000000..1b2cd27 Binary files /dev/null and b/i/forum/forumru_03.jpg differ diff --git a/i/forum/fr_04.jpg b/i/forum/fr_04.jpg new file mode 100644 index 0000000..c212dc8 Binary files /dev/null and b/i/forum/fr_04.jpg differ diff --git a/i/forum/fr_08.jpg b/i/forum/fr_08.jpg new file mode 100644 index 0000000..e306cac Binary files /dev/null and b/i/forum/fr_08.jpg differ diff --git a/i/forum/go.gif b/i/forum/go.gif new file mode 100644 index 0000000..3167053 Binary files /dev/null and b/i/forum/go.gif differ diff --git a/i/forum/ico/man_club.gif b/i/forum/ico/man_club.gif new file mode 100644 index 0000000..13deb2a Binary files /dev/null and b/i/forum/ico/man_club.gif differ diff --git a/i/forum/ico/woman_club.gif b/i/forum/ico/woman_club.gif new file mode 100644 index 0000000..ee82879 Binary files /dev/null and b/i/forum/ico/woman_club.gif differ diff --git a/i/forum/icon1.gif b/i/forum/icon1.gif new file mode 100644 index 0000000..17c25f1 Binary files /dev/null and b/i/forum/icon1.gif differ diff --git a/i/forum/icon10.gif b/i/forum/icon10.gif new file mode 100644 index 0000000..0b52ccb Binary files /dev/null and b/i/forum/icon10.gif differ diff --git a/i/forum/icon11.gif b/i/forum/icon11.gif new file mode 100644 index 0000000..9b41654 Binary files /dev/null and b/i/forum/icon11.gif differ diff --git a/i/forum/icon12.gif b/i/forum/icon12.gif new file mode 100644 index 0000000..973f4e0 Binary files /dev/null and b/i/forum/icon12.gif differ diff --git a/i/forum/icon13.gif b/i/forum/icon13.gif new file mode 100644 index 0000000..b8c33ff Binary files /dev/null and b/i/forum/icon13.gif differ diff --git a/i/forum/icon14.gif b/i/forum/icon14.gif new file mode 100644 index 0000000..7464328 Binary files /dev/null and b/i/forum/icon14.gif differ diff --git a/i/forum/icon2.gif b/i/forum/icon2.gif new file mode 100644 index 0000000..852c1dd Binary files /dev/null and b/i/forum/icon2.gif differ diff --git a/i/forum/icon3.gif b/i/forum/icon3.gif new file mode 100644 index 0000000..20a6d1a Binary files /dev/null and b/i/forum/icon3.gif differ diff --git a/i/forum/icon4.gif b/i/forum/icon4.gif new file mode 100644 index 0000000..ee5572d Binary files /dev/null and b/i/forum/icon4.gif differ diff --git a/i/forum/icon5.gif b/i/forum/icon5.gif new file mode 100644 index 0000000..40f62bd Binary files /dev/null and b/i/forum/icon5.gif differ diff --git a/i/forum/icon6.gif b/i/forum/icon6.gif new file mode 100644 index 0000000..d8e2c06 Binary files /dev/null and b/i/forum/icon6.gif differ diff --git a/i/forum/icon7.gif b/i/forum/icon7.gif new file mode 100644 index 0000000..10a2a6c Binary files /dev/null and b/i/forum/icon7.gif differ diff --git a/i/forum/icon8.gif b/i/forum/icon8.gif new file mode 100644 index 0000000..830b123 Binary files /dev/null and b/i/forum/icon8.gif differ diff --git a/i/forum/icon9.gif b/i/forum/icon9.gif new file mode 100644 index 0000000..8152b44 Binary files /dev/null and b/i/forum/icon9.gif differ diff --git a/i/forum/minus.gif b/i/forum/minus.gif new file mode 100644 index 0000000..d2d927f Binary files /dev/null and b/i/forum/minus.gif differ diff --git a/i/forum/msg.png b/i/forum/msg.png new file mode 100644 index 0000000..510fa04 Binary files /dev/null and b/i/forum/msg.png differ diff --git a/i/forum/n21_08_1.jpg b/i/forum/n21_08_1.jpg new file mode 100644 index 0000000..b60b51b Binary files /dev/null and b/i/forum/n21_08_1.jpg differ diff --git a/i/forum/new.png b/i/forum/new.png new file mode 100644 index 0000000..89154c0 Binary files /dev/null and b/i/forum/new.png differ diff --git a/i/forum/nnn21_03_1.jpg b/i/forum/nnn21_03_1.jpg new file mode 100644 index 0000000..f6d1fa1 Binary files /dev/null and b/i/forum/nnn21_03_1.jpg differ diff --git a/i/forum/p.gif b/i/forum/p.gif new file mode 100644 index 0000000..b528de6 Binary files /dev/null and b/i/forum/p.gif differ diff --git a/i/forum/plus.gif b/i/forum/plus.gif new file mode 100644 index 0000000..70076bd Binary files /dev/null and b/i/forum/plus.gif differ diff --git a/i/forum/senk.png b/i/forum/senk.png new file mode 100644 index 0000000..4c11ca9 Binary files /dev/null and b/i/forum/senk.png differ diff --git a/i/forum/sitebk_07.jpg b/i/forum/sitebk_07.jpg new file mode 100644 index 0000000..40d6ceb Binary files /dev/null and b/i/forum/sitebk_07.jpg differ diff --git a/i/fountain.png b/i/fountain.png new file mode 100644 index 0000000..d68c742 Binary files /dev/null and b/i/fountain.png differ diff --git a/i/fountain_gold.png b/i/fountain_gold.png new file mode 100644 index 0000000..fe48fc4 Binary files /dev/null and b/i/fountain_gold.png differ diff --git a/i/freedom.gif b/i/freedom.gif new file mode 100644 index 0000000..dafcc2d Binary files /dev/null and b/i/freedom.gif differ diff --git a/i/frendlist/button_cp_exit_sprite.jpg b/i/frendlist/button_cp_exit_sprite.jpg new file mode 100644 index 0000000..48e544b Binary files /dev/null and b/i/frendlist/button_cp_exit_sprite.jpg differ diff --git a/i/friend.gif b/i/friend.gif new file mode 100644 index 0000000..c8d1df0 Binary files /dev/null and b/i/friend.gif differ diff --git a/i/friend/b__ok.gif b/i/friend/b__ok.gif new file mode 100644 index 0000000..c1319e4 Binary files /dev/null and b/i/friend/b__ok.gif differ diff --git a/i/friend/inf_dis.gif b/i/friend/inf_dis.gif new file mode 100644 index 0000000..4f00a1e Binary files /dev/null and b/i/friend/inf_dis.gif differ diff --git a/i/friend/lock.gif b/i/friend/lock.gif new file mode 100644 index 0000000..9f1ee40 Binary files /dev/null and b/i/friend/lock.gif differ diff --git a/i/friend/neitral_30.gif b/i/friend/neitral_30.gif new file mode 100644 index 0000000..15799d0 Binary files /dev/null and b/i/friend/neitral_30.gif differ diff --git a/i/friend/offline.gif b/i/friend/offline.gif new file mode 100644 index 0000000..d25db82 Binary files /dev/null and b/i/friend/offline.gif differ diff --git a/i/gloves30.gif b/i/gloves30.gif new file mode 100644 index 0000000..fb3291c Binary files /dev/null and b/i/gloves30.gif differ diff --git a/i/go.gif b/i/go.gif new file mode 100644 index 0000000..3167053 Binary files /dev/null and b/i/go.gif differ diff --git a/i/guard.gif b/i/guard.gif new file mode 100644 index 0000000..f6682b6 Binary files /dev/null and b/i/guard.gif differ diff --git a/i/hell.jpg b/i/hell.jpg new file mode 100644 index 0000000..9727543 Binary files /dev/null and b/i/hell.jpg differ diff --git a/i/helloween_2011m2 (1).gif b/i/helloween_2011m2 (1).gif new file mode 100644 index 0000000..6ae1185 Binary files /dev/null and b/i/helloween_2011m2 (1).gif differ diff --git a/i/helloween_2011m2.gif b/i/helloween_2011m2.gif new file mode 100644 index 0000000..6ae1185 Binary files /dev/null and b/i/helloween_2011m2.gif differ diff --git a/i/helm6.gif b/i/helm6.gif new file mode 100644 index 0000000..28cc3fa Binary files /dev/null and b/i/helm6.gif differ diff --git a/i/herz.gif b/i/herz.gif new file mode 100644 index 0000000..b263dce Binary files /dev/null and b/i/herz.gif differ diff --git a/i/herz_.gif b/i/herz_.gif new file mode 100644 index 0000000..9def4dc Binary files /dev/null and b/i/herz_.gif differ diff --git a/i/hist_2013.gif b/i/hist_2013.gif new file mode 100644 index 0000000..118ce72 Binary files /dev/null and b/i/hist_2013.gif differ diff --git a/i/humor1.gif b/i/humor1.gif new file mode 100644 index 0000000..5831a64 Binary files /dev/null and b/i/humor1.gif differ diff --git a/i/i_2.jpg b/i/i_2.jpg new file mode 100644 index 0000000..fbc4d98 Binary files /dev/null and b/i/i_2.jpg differ diff --git a/i/ico/1year.gif b/i/ico/1year.gif new file mode 100644 index 0000000..7e9c706 Binary files /dev/null and b/i/ico/1year.gif differ diff --git a/i/ico/2year_big.gif b/i/ico/2year_big.gif new file mode 100644 index 0000000..c8bd779 Binary files /dev/null and b/i/ico/2year_big.gif differ diff --git a/i/ico/Thumbs.db b/i/ico/Thumbs.db new file mode 100644 index 0000000..e915f8e Binary files /dev/null and b/i/ico/Thumbs.db differ diff --git a/i/ico/ZN1_1.GIF b/i/ico/ZN1_1.GIF new file mode 100644 index 0000000..880d22b Binary files /dev/null and b/i/ico/ZN1_1.GIF differ diff --git a/i/ico/ZN6_1.GIF b/i/ico/ZN6_1.GIF new file mode 100644 index 0000000..2a39863 Binary files /dev/null and b/i/ico/ZN6_1.GIF differ diff --git a/i/ico/chatFX_mini.gif b/i/ico/chatFX_mini.gif new file mode 100644 index 0000000..0171522 Binary files /dev/null and b/i/ico/chatFX_mini.gif differ diff --git a/i/ico/chatFX_standart.gif b/i/ico/chatFX_standart.gif new file mode 100644 index 0000000..1ce6337 Binary files /dev/null and b/i/ico/chatFX_standart.gif differ diff --git a/i/ico/cite.png b/i/ico/cite.png new file mode 100644 index 0000000..703e566 Binary files /dev/null and b/i/ico/cite.png differ diff --git a/i/ico/draw.gif b/i/ico/draw.gif new file mode 100644 index 0000000..520962b Binary files /dev/null and b/i/ico/draw.gif differ diff --git a/i/ico/favor.jpg b/i/ico/favor.jpg new file mode 100644 index 0000000..9d9fa37 Binary files /dev/null and b/i/ico/favor.jpg differ diff --git a/i/ico/favor1.jpg b/i/ico/favor1.jpg new file mode 100644 index 0000000..2494280 Binary files /dev/null and b/i/ico/favor1.jpg differ diff --git a/i/ico/fixed.gif b/i/ico/fixed.gif new file mode 100644 index 0000000..eb5b241 Binary files /dev/null and b/i/ico/fixed.gif differ diff --git a/i/ico/ic_acc0.gif b/i/ico/ic_acc0.gif new file mode 100644 index 0000000..3bf4965 Binary files /dev/null and b/i/ico/ic_acc0.gif differ diff --git a/i/ico/ic_acc1.gif b/i/ico/ic_acc1.gif new file mode 100644 index 0000000..73a3bcd Binary files /dev/null and b/i/ico/ic_acc1.gif differ diff --git a/i/ico/ic_acc3.gif b/i/ico/ic_acc3.gif new file mode 100644 index 0000000..082f28f Binary files /dev/null and b/i/ico/ic_acc3.gif differ diff --git a/i/ico/ic_acc4.gif b/i/ico/ic_acc4.gif new file mode 100644 index 0000000..2903d6c Binary files /dev/null and b/i/ico/ic_acc4.gif differ diff --git a/i/ico/ic_acc5.gif b/i/ico/ic_acc5.gif new file mode 100644 index 0000000..d9450d0 Binary files /dev/null and b/i/ico/ic_acc5.gif differ diff --git a/i/ico/icon1.gif b/i/ico/icon1.gif new file mode 100644 index 0000000..17c25f1 Binary files /dev/null and b/i/ico/icon1.gif differ diff --git a/i/ico/icon10.gif b/i/ico/icon10.gif new file mode 100644 index 0000000..0b52ccb Binary files /dev/null and b/i/ico/icon10.gif differ diff --git a/i/ico/icon11.gif b/i/ico/icon11.gif new file mode 100644 index 0000000..9b41654 Binary files /dev/null and b/i/ico/icon11.gif differ diff --git a/i/ico/icon12.gif b/i/ico/icon12.gif new file mode 100644 index 0000000..973f4e0 Binary files /dev/null and b/i/ico/icon12.gif differ diff --git a/i/ico/icon13.gif b/i/ico/icon13.gif new file mode 100644 index 0000000..b8c33ff Binary files /dev/null and b/i/ico/icon13.gif differ diff --git a/i/ico/icon14.gif b/i/ico/icon14.gif new file mode 100644 index 0000000..7464328 Binary files /dev/null and b/i/ico/icon14.gif differ diff --git a/i/ico/icon2.gif b/i/ico/icon2.gif new file mode 100644 index 0000000..852c1dd Binary files /dev/null and b/i/ico/icon2.gif differ diff --git a/i/ico/icon3.gif b/i/ico/icon3.gif new file mode 100644 index 0000000..20a6d1a Binary files /dev/null and b/i/ico/icon3.gif differ diff --git a/i/ico/icon4.gif b/i/ico/icon4.gif new file mode 100644 index 0000000..ee5572d Binary files /dev/null and b/i/ico/icon4.gif differ diff --git a/i/ico/icon5.gif b/i/ico/icon5.gif new file mode 100644 index 0000000..40f62bd Binary files /dev/null and b/i/ico/icon5.gif differ diff --git a/i/ico/icon6.gif b/i/ico/icon6.gif new file mode 100644 index 0000000..d8e2c06 Binary files /dev/null and b/i/ico/icon6.gif differ diff --git a/i/ico/icon7.gif b/i/ico/icon7.gif new file mode 100644 index 0000000..10a2a6c Binary files /dev/null and b/i/ico/icon7.gif differ diff --git a/i/ico/icon8.gif b/i/ico/icon8.gif new file mode 100644 index 0000000..830b123 Binary files /dev/null and b/i/ico/icon8.gif differ diff --git a/i/ico/icon9.gif b/i/ico/icon9.gif new file mode 100644 index 0000000..8152b44 Binary files /dev/null and b/i/ico/icon9.gif differ diff --git a/i/ico/icon_fight.gif b/i/ico/icon_fight.gif new file mode 100644 index 0000000..efe2863 Binary files /dev/null and b/i/ico/icon_fight.gif differ diff --git a/i/ico/icon_talk.gif b/i/ico/icon_talk.gif new file mode 100644 index 0000000..e9089f5 Binary files /dev/null and b/i/ico/icon_talk.gif differ diff --git a/i/ico/klav_transparent.gif b/i/ico/klav_transparent.gif new file mode 100644 index 0000000..bde9b6a Binary files /dev/null and b/i/ico/klav_transparent.gif differ diff --git a/i/ico/life_beg_33.gif b/i/ico/life_beg_33.gif new file mode 100644 index 0000000..5709410 Binary files /dev/null and b/i/ico/life_beg_33.gif differ diff --git a/i/ico/life_green.gif b/i/ico/life_green.gif new file mode 100644 index 0000000..8265ade Binary files /dev/null and b/i/ico/life_green.gif differ diff --git a/i/ico/life_loose.gif b/i/ico/life_loose.gif new file mode 100644 index 0000000..21a0d7d Binary files /dev/null and b/i/ico/life_loose.gif differ diff --git a/i/ico/life_red.gif b/i/ico/life_red.gif new file mode 100644 index 0000000..6841435 Binary files /dev/null and b/i/ico/life_red.gif differ diff --git a/i/ico/life_yellow.gif b/i/ico/life_yellow.gif new file mode 100644 index 0000000..9ebdfa0 Binary files /dev/null and b/i/ico/life_yellow.gif differ diff --git a/i/ico/looses.gif b/i/ico/looses.gif new file mode 100644 index 0000000..afe6c17 Binary files /dev/null and b/i/ico/looses.gif differ diff --git a/i/ico/news.gif b/i/ico/news.gif new file mode 100644 index 0000000..902a6c7 Binary files /dev/null and b/i/ico/news.gif differ diff --git a/i/ico/offline.gif b/i/ico/offline.gif new file mode 100644 index 0000000..d25db82 Binary files /dev/null and b/i/ico/offline.gif differ diff --git a/i/ico/p.gif b/i/ico/p.gif new file mode 100644 index 0000000..b528de6 Binary files /dev/null and b/i/ico/p.gif differ diff --git a/i/ico/snow.gif b/i/ico/snow.gif new file mode 100644 index 0000000..06320da Binary files /dev/null and b/i/ico/snow.gif differ diff --git a/i/ico/to_moder.gif b/i/ico/to_moder.gif new file mode 100644 index 0000000..972b49d Binary files /dev/null and b/i/ico/to_moder.gif differ diff --git a/i/ico/vrag.gif b/i/ico/vrag.gif new file mode 100644 index 0000000..5db2f74 Binary files /dev/null and b/i/ico/vrag.gif differ diff --git a/i/ico/webmoney.png b/i/ico/webmoney.png new file mode 100644 index 0000000..eb91a8c Binary files /dev/null and b/i/ico/webmoney.png differ diff --git a/i/ico/wins.gif b/i/ico/wins.gif new file mode 100644 index 0000000..7626518 Binary files /dev/null and b/i/ico/wins.gif differ diff --git a/i/ico/zn2_1.gif b/i/ico/zn2_1.gif new file mode 100644 index 0000000..406c9bf Binary files /dev/null and b/i/ico/zn2_1.gif differ diff --git a/i/ico/zn3_1.gif b/i/ico/zn3_1.gif new file mode 100644 index 0000000..f6f9040 Binary files /dev/null and b/i/ico/zn3_1.gif differ diff --git a/i/ico/zn4_1.gif b/i/ico/zn4_1.gif new file mode 100644 index 0000000..9c70645 Binary files /dev/null and b/i/ico/zn4_1.gif differ diff --git a/i/ico/zn5_1.gif b/i/ico/zn5_1.gif new file mode 100644 index 0000000..894284c Binary files /dev/null and b/i/ico/zn5_1.gif differ diff --git a/i/ico/zn6_2.gif b/i/ico/zn6_2.gif new file mode 100644 index 0000000..387b7b5 Binary files /dev/null and b/i/ico/zn6_2.gif differ diff --git a/i/ico/zn7_1.gif b/i/ico/zn7_1.gif new file mode 100644 index 0000000..7f12226 Binary files /dev/null and b/i/ico/zn7_1.gif differ diff --git a/i/ico/zn8_1.gif b/i/ico/zn8_1.gif new file mode 100644 index 0000000..904e2a8 Binary files /dev/null and b/i/ico/zn8_1.gif differ diff --git a/i/ico/znbl_1.gif b/i/ico/znbl_1.gif new file mode 100644 index 0000000..2ee23d7 Binary files /dev/null and b/i/ico/znbl_1.gif differ diff --git a/i/ico_change_leader1.gif b/i/ico_change_leader1.gif new file mode 100644 index 0000000..7cc9a8b Binary files /dev/null and b/i/ico_change_leader1.gif differ diff --git a/i/ico_kill_member1.gif b/i/ico_kill_member1.gif new file mode 100644 index 0000000..19869ff Binary files /dev/null and b/i/ico_kill_member1.gif differ diff --git a/i/ico_no.png b/i/ico_no.png new file mode 100644 index 0000000..2dacc60 Binary files /dev/null and b/i/ico_no.png differ diff --git a/i/ico_ok.png b/i/ico_ok.png new file mode 100644 index 0000000..88adb01 Binary files /dev/null and b/i/ico_ok.png differ diff --git a/i/ico_refresh.gif b/i/ico_refresh.gif new file mode 100644 index 0000000..d319b9e Binary files /dev/null and b/i/ico_refresh.gif differ diff --git a/i/icon/draw.gif b/i/icon/draw.gif new file mode 100644 index 0000000..520962b Binary files /dev/null and b/i/icon/draw.gif differ diff --git a/i/icon/looses.gif b/i/icon/looses.gif new file mode 100644 index 0000000..afe6c17 Binary files /dev/null and b/i/icon/looses.gif differ diff --git a/i/icon/wins.gif b/i/icon/wins.gif new file mode 100644 index 0000000..7626518 Binary files /dev/null and b/i/icon/wins.gif differ diff --git a/i/icon1.gif b/i/icon1.gif new file mode 100644 index 0000000..17c25f1 Binary files /dev/null and b/i/icon1.gif differ diff --git a/i/icon10.gif b/i/icon10.gif new file mode 100644 index 0000000..0b52ccb Binary files /dev/null and b/i/icon10.gif differ diff --git a/i/icon11.gif b/i/icon11.gif new file mode 100644 index 0000000..9b41654 Binary files /dev/null and b/i/icon11.gif differ diff --git a/i/icon12.gif b/i/icon12.gif new file mode 100644 index 0000000..973f4e0 Binary files /dev/null and b/i/icon12.gif differ diff --git a/i/icon13.gif b/i/icon13.gif new file mode 100644 index 0000000..b8c33ff Binary files /dev/null and b/i/icon13.gif differ diff --git a/i/icon14.gif b/i/icon14.gif new file mode 100644 index 0000000..7464328 Binary files /dev/null and b/i/icon14.gif differ diff --git a/i/icon2.gif b/i/icon2.gif new file mode 100644 index 0000000..852c1dd Binary files /dev/null and b/i/icon2.gif differ diff --git a/i/icon3.gif b/i/icon3.gif new file mode 100644 index 0000000..20a6d1a Binary files /dev/null and b/i/icon3.gif differ diff --git a/i/icon4.gif b/i/icon4.gif new file mode 100644 index 0000000..ee5572d Binary files /dev/null and b/i/icon4.gif differ diff --git a/i/icon5.gif b/i/icon5.gif new file mode 100644 index 0000000..40f62bd Binary files /dev/null and b/i/icon5.gif differ diff --git a/i/icon6.gif b/i/icon6.gif new file mode 100644 index 0000000..d8e2c06 Binary files /dev/null and b/i/icon6.gif differ diff --git a/i/icon7.gif b/i/icon7.gif new file mode 100644 index 0000000..10a2a6c Binary files /dev/null and b/i/icon7.gif differ diff --git a/i/icon8.gif b/i/icon8.gif new file mode 100644 index 0000000..830b123 Binary files /dev/null and b/i/icon8.gif differ diff --git a/i/icon9.gif b/i/icon9.gif new file mode 100644 index 0000000..8152b44 Binary files /dev/null and b/i/icon9.gif differ diff --git a/i/icon_inf/5_03.png b/i/icon_inf/5_03.png new file mode 100644 index 0000000..bab93a9 Binary files /dev/null and b/i/icon_inf/5_03.png differ diff --git a/i/icon_inf/5_12.png b/i/icon_inf/5_12.png new file mode 100644 index 0000000..1386a4b Binary files /dev/null and b/i/icon_inf/5_12.png differ diff --git a/i/icon_inf/5_15.png b/i/icon_inf/5_15.png new file mode 100644 index 0000000..8f8bfd4 Binary files /dev/null and b/i/icon_inf/5_15.png differ diff --git a/i/icon_inf/5_23.png b/i/icon_inf/5_23.png new file mode 100644 index 0000000..64fc316 Binary files /dev/null and b/i/icon_inf/5_23.png differ diff --git a/i/icon_inf/5_28.png b/i/icon_inf/5_28.png new file mode 100644 index 0000000..d063337 Binary files /dev/null and b/i/icon_inf/5_28.png differ diff --git a/i/icon_inf/5_34.png b/i/icon_inf/5_34.png new file mode 100644 index 0000000..a1b453e Binary files /dev/null and b/i/icon_inf/5_34.png differ diff --git a/i/icon_inf/5_39.png b/i/icon_inf/5_39.png new file mode 100644 index 0000000..c308b3c Binary files /dev/null and b/i/icon_inf/5_39.png differ diff --git a/i/icon_inf/7_03.png b/i/icon_inf/7_03.png new file mode 100644 index 0000000..2f5f332 Binary files /dev/null and b/i/icon_inf/7_03.png differ diff --git a/i/icon_inf/7_07.png b/i/icon_inf/7_07.png new file mode 100644 index 0000000..7b49c61 Binary files /dev/null and b/i/icon_inf/7_07.png differ diff --git a/i/icon_inf/7_09.png b/i/icon_inf/7_09.png new file mode 100644 index 0000000..4896f69 Binary files /dev/null and b/i/icon_inf/7_09.png differ diff --git a/i/icon_inf/7_12.png b/i/icon_inf/7_12.png new file mode 100644 index 0000000..4118767 Binary files /dev/null and b/i/icon_inf/7_12.png differ diff --git a/i/icon_inf/7_15.png b/i/icon_inf/7_15.png new file mode 100644 index 0000000..64892e2 Binary files /dev/null and b/i/icon_inf/7_15.png differ diff --git a/i/icon_inf/7_17.png b/i/icon_inf/7_17.png new file mode 100644 index 0000000..80e5fbb Binary files /dev/null and b/i/icon_inf/7_17.png differ diff --git a/i/icon_inf/7_19.png b/i/icon_inf/7_19.png new file mode 100644 index 0000000..f09c1e2 Binary files /dev/null and b/i/icon_inf/7_19.png differ diff --git a/i/icon_inf/search_ico.png b/i/icon_inf/search_ico.png new file mode 100644 index 0000000..c0ff263 Binary files /dev/null and b/i/icon_inf/search_ico.png differ diff --git a/i/im/1.jpg b/i/im/1.jpg new file mode 100644 index 0000000..3ee91b5 Binary files /dev/null and b/i/im/1.jpg differ diff --git a/i/im/10.jpg b/i/im/10.jpg new file mode 100644 index 0000000..23515cb Binary files /dev/null and b/i/im/10.jpg differ diff --git a/i/im/11.jpg b/i/im/11.jpg new file mode 100644 index 0000000..a723dd7 Binary files /dev/null and b/i/im/11.jpg differ diff --git a/i/im/110.jpg b/i/im/110.jpg new file mode 100644 index 0000000..76af6fb Binary files /dev/null and b/i/im/110.jpg differ diff --git a/i/im/111.jpg b/i/im/111.jpg new file mode 100644 index 0000000..2aa33ef Binary files /dev/null and b/i/im/111.jpg differ diff --git a/i/im/112.jpg b/i/im/112.jpg new file mode 100644 index 0000000..bb2ae9c Binary files /dev/null and b/i/im/112.jpg differ diff --git a/i/im/113.jpg b/i/im/113.jpg new file mode 100644 index 0000000..cacd90b Binary files /dev/null and b/i/im/113.jpg differ diff --git a/i/im/114.jpg b/i/im/114.jpg new file mode 100644 index 0000000..0823a11 Binary files /dev/null and b/i/im/114.jpg differ diff --git a/i/im/115.jpg b/i/im/115.jpg new file mode 100644 index 0000000..6b7410b Binary files /dev/null and b/i/im/115.jpg differ diff --git a/i/im/12.jpg b/i/im/12.jpg new file mode 100644 index 0000000..6f718c9 Binary files /dev/null and b/i/im/12.jpg differ diff --git a/i/im/13.jpg b/i/im/13.jpg new file mode 100644 index 0000000..067214b Binary files /dev/null and b/i/im/13.jpg differ diff --git a/i/im/14.jpg b/i/im/14.jpg new file mode 100644 index 0000000..d444bbf Binary files /dev/null and b/i/im/14.jpg differ diff --git a/i/im/15.jpg b/i/im/15.jpg new file mode 100644 index 0000000..79918c5 Binary files /dev/null and b/i/im/15.jpg differ diff --git a/i/im/16.gif b/i/im/16.gif new file mode 100644 index 0000000..763be44 Binary files /dev/null and b/i/im/16.gif differ diff --git a/i/im/16.jpg b/i/im/16.jpg new file mode 100644 index 0000000..54347fb Binary files /dev/null and b/i/im/16.jpg differ diff --git a/i/im/17.jpg b/i/im/17.jpg new file mode 100644 index 0000000..b9569f7 Binary files /dev/null and b/i/im/17.jpg differ diff --git a/i/im/1724581.jpg b/i/im/1724581.jpg new file mode 100644 index 0000000..a1b7045 Binary files /dev/null and b/i/im/1724581.jpg differ diff --git a/i/im/18.jpg b/i/im/18.jpg new file mode 100644 index 0000000..be4ac9b Binary files /dev/null and b/i/im/18.jpg differ diff --git a/i/im/19.jpg b/i/im/19.jpg new file mode 100644 index 0000000..08a6abe Binary files /dev/null and b/i/im/19.jpg differ diff --git a/i/im/2.jpg b/i/im/2.jpg new file mode 100644 index 0000000..5648edd Binary files /dev/null and b/i/im/2.jpg differ diff --git a/i/im/20.jpg b/i/im/20.jpg new file mode 100644 index 0000000..70cfd9e Binary files /dev/null and b/i/im/20.jpg differ diff --git a/i/im/21.jpg b/i/im/21.jpg new file mode 100644 index 0000000..9f2adaa Binary files /dev/null and b/i/im/21.jpg differ diff --git a/i/im/22.jpg b/i/im/22.jpg new file mode 100644 index 0000000..af93364 Binary files /dev/null and b/i/im/22.jpg differ diff --git a/i/im/23.jpg b/i/im/23.jpg new file mode 100644 index 0000000..4d48afa Binary files /dev/null and b/i/im/23.jpg differ diff --git a/i/im/24.jpg b/i/im/24.jpg new file mode 100644 index 0000000..01dcdcb Binary files /dev/null and b/i/im/24.jpg differ diff --git a/i/im/25.jpg b/i/im/25.jpg new file mode 100644 index 0000000..6cbced9 Binary files /dev/null and b/i/im/25.jpg differ diff --git a/i/im/26.jpg b/i/im/26.jpg new file mode 100644 index 0000000..5ff8f12 Binary files /dev/null and b/i/im/26.jpg differ diff --git a/i/im/27.jpg b/i/im/27.jpg new file mode 100644 index 0000000..3343ec8 Binary files /dev/null and b/i/im/27.jpg differ diff --git a/i/im/28.jpg b/i/im/28.jpg new file mode 100644 index 0000000..7f334f3 Binary files /dev/null and b/i/im/28.jpg differ diff --git a/i/im/29.jpg b/i/im/29.jpg new file mode 100644 index 0000000..9841093 Binary files /dev/null and b/i/im/29.jpg differ diff --git a/i/im/3.jpg b/i/im/3.jpg new file mode 100644 index 0000000..f941bfe Binary files /dev/null and b/i/im/3.jpg differ diff --git a/i/im/30.jpg b/i/im/30.jpg new file mode 100644 index 0000000..3a916c8 Binary files /dev/null and b/i/im/30.jpg differ diff --git a/i/im/31.jpg b/i/im/31.jpg new file mode 100644 index 0000000..f5c3f92 Binary files /dev/null and b/i/im/31.jpg differ diff --git a/i/im/32.jpg b/i/im/32.jpg new file mode 100644 index 0000000..6679c28 Binary files /dev/null and b/i/im/32.jpg differ diff --git a/i/im/33.jpg b/i/im/33.jpg new file mode 100644 index 0000000..041ce38 Binary files /dev/null and b/i/im/33.jpg differ diff --git a/i/im/34.jpg b/i/im/34.jpg new file mode 100644 index 0000000..6fc5785 Binary files /dev/null and b/i/im/34.jpg differ diff --git a/i/im/4.jpg b/i/im/4.jpg new file mode 100644 index 0000000..dec3927 Binary files /dev/null and b/i/im/4.jpg differ diff --git a/i/im/5.jpg b/i/im/5.jpg new file mode 100644 index 0000000..630309b Binary files /dev/null and b/i/im/5.jpg differ diff --git a/i/im/6.gif b/i/im/6.gif new file mode 100644 index 0000000..8d8a668 Binary files /dev/null and b/i/im/6.gif differ diff --git a/i/im/6.jpg b/i/im/6.jpg new file mode 100644 index 0000000..79d442d Binary files /dev/null and b/i/im/6.jpg differ diff --git a/i/im/7.jpg b/i/im/7.jpg new file mode 100644 index 0000000..7809ea1 Binary files /dev/null and b/i/im/7.jpg differ diff --git a/i/im/8.jpg b/i/im/8.jpg new file mode 100644 index 0000000..c3666ab Binary files /dev/null and b/i/im/8.jpg differ diff --git a/i/im/9.jpg b/i/im/9.jpg new file mode 100644 index 0000000..392a0fb Binary files /dev/null and b/i/im/9.jpg differ diff --git a/i/im/append_0.png b/i/im/append_0.png new file mode 100644 index 0000000..945a792 Binary files /dev/null and b/i/im/append_0.png differ diff --git a/i/im/append_1.png b/i/im/append_1.png new file mode 100644 index 0000000..8758c69 Binary files /dev/null and b/i/im/append_1.png differ diff --git a/i/im/append_2.png b/i/im/append_2.png new file mode 100644 index 0000000..ad693ae Binary files /dev/null and b/i/im/append_2.png differ diff --git a/i/im/logo_big2.png b/i/im/logo_big2.png new file mode 100644 index 0000000..58906ad Binary files /dev/null and b/i/im/logo_big2.png differ diff --git a/i/im/previos_0.png b/i/im/previos_0.png new file mode 100644 index 0000000..981fbaf Binary files /dev/null and b/i/im/previos_0.png differ diff --git a/i/im/previos_1.png b/i/im/previos_1.png new file mode 100644 index 0000000..89f8391 Binary files /dev/null and b/i/im/previos_1.png differ diff --git a/i/im/previos_2.png b/i/im/previos_2.png new file mode 100644 index 0000000..a0d6f89 Binary files /dev/null and b/i/im/previos_2.png differ diff --git a/i/im/u1001573_1407648022.jpg b/i/im/u1001573_1407648022.jpg new file mode 100644 index 0000000..9bfd89b Binary files /dev/null and b/i/im/u1001573_1407648022.jpg differ diff --git a/i/inf.gif b/i/inf.gif new file mode 100644 index 0000000..c14a211 Binary files /dev/null and b/i/inf.gif differ diff --git a/i/inf0.gif b/i/inf0.gif new file mode 100644 index 0000000..941ecc4 Binary files /dev/null and b/i/inf0.gif differ diff --git a/i/inf1.gif b/i/inf1.gif new file mode 100644 index 0000000..b9d34f0 Binary files /dev/null and b/i/inf1.gif differ diff --git a/i/inf_pal.gif b/i/inf_pal.gif new file mode 100644 index 0000000..4a84602 Binary files /dev/null and b/i/inf_pal.gif differ diff --git a/i/inf_scroll.gif b/i/inf_scroll.gif new file mode 100644 index 0000000..0b19e94 Binary files /dev/null and b/i/inf_scroll.gif differ diff --git a/i/jgrowl_moover.png b/i/jgrowl_moover.png new file mode 100644 index 0000000..31fe60a Binary files /dev/null and b/i/jgrowl_moover.png differ diff --git a/i/journal.gif b/i/journal.gif new file mode 100644 index 0000000..b2f1a91 Binary files /dev/null and b/i/journal.gif differ diff --git a/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png b/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png new file mode 100644 index 0000000..5b5dab2 Binary files /dev/null and b/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png differ diff --git a/i/jquery-ui/ui-bg_flat_100_a5a5a5_40x100.png b/i/jquery-ui/ui-bg_flat_100_a5a5a5_40x100.png new file mode 100644 index 0000000..14744c9 Binary files /dev/null and b/i/jquery-ui/ui-bg_flat_100_a5a5a5_40x100.png differ diff --git a/i/jquery-ui/ui-bg_flat_100_c7c7c7_40x100.png b/i/jquery-ui/ui-bg_flat_100_c7c7c7_40x100.png new file mode 100644 index 0000000..8a17c6a Binary files /dev/null and b/i/jquery-ui/ui-bg_flat_100_c7c7c7_40x100.png differ diff --git a/i/jquery-ui/ui-bg_flat_100_ccc3aa_40x100.png b/i/jquery-ui/ui-bg_flat_100_ccc3aa_40x100.png new file mode 100644 index 0000000..9ffde07 Binary files /dev/null and b/i/jquery-ui/ui-bg_flat_100_ccc3aa_40x100.png differ diff --git a/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png b/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png new file mode 100644 index 0000000..bc45614 Binary files /dev/null and b/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png differ diff --git a/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png b/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png new file mode 100644 index 0000000..07eba86 Binary files /dev/null and b/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png differ diff --git a/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png b/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png new file mode 100644 index 0000000..859c29c Binary files /dev/null and b/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png differ diff --git a/i/jquery-ui/ui-icons_000000_256x240.png b/i/jquery-ui/ui-icons_000000_256x240.png new file mode 100644 index 0000000..94294d6 Binary files /dev/null and b/i/jquery-ui/ui-icons_000000_256x240.png differ diff --git a/i/jquery-ui/ui-icons_cd0a0a_256x240.png b/i/jquery-ui/ui-icons_cd0a0a_256x240.png new file mode 100644 index 0000000..48fe8c5 Binary files /dev/null and b/i/jquery-ui/ui-icons_cd0a0a_256x240.png differ diff --git a/i/karikatura_01.gif b/i/karikatura_01.gif new file mode 100644 index 0000000..9cf996f Binary files /dev/null and b/i/karikatura_01.gif differ diff --git a/i/kazna_get.gif b/i/kazna_get.gif new file mode 100644 index 0000000..b8024cd Binary files /dev/null and b/i/kazna_get.gif differ diff --git a/i/kazna_put.gif b/i/kazna_put.gif new file mode 100644 index 0000000..2f8270f Binary files /dev/null and b/i/kazna_put.gif differ diff --git a/i/klan/1x1.gif b/i/klan/1x1.gif new file mode 100644 index 0000000..75b945d Binary files /dev/null and b/i/klan/1x1.gif differ diff --git a/i/klan/AD.gif b/i/klan/AD.gif new file mode 100644 index 0000000..3ee697f Binary files /dev/null and b/i/klan/AD.gif differ diff --git a/i/klan/AD_big.gif b/i/klan/AD_big.gif new file mode 100644 index 0000000..06078e3 Binary files /dev/null and b/i/klan/AD_big.gif differ diff --git a/i/klan/Adminion.gif b/i/klan/Adminion.gif new file mode 100644 index 0000000..3ee697f Binary files /dev/null and b/i/klan/Adminion.gif differ diff --git a/i/klan/Adminion_big.gif b/i/klan/Adminion_big.gif new file mode 100644 index 0000000..182bdab Binary files /dev/null and b/i/klan/Adminion_big.gif differ diff --git a/i/klan/Admins.gif b/i/klan/Admins.gif new file mode 100644 index 0000000..e5300d6 Binary files /dev/null and b/i/klan/Admins.gif differ diff --git a/i/klan/Admins_big.gif b/i/klan/Admins_big.gif new file mode 100644 index 0000000..dd6ac0f Binary files /dev/null and b/i/klan/Admins_big.gif differ diff --git a/i/klan/Angels.gif b/i/klan/Angels.gif new file mode 100644 index 0000000..985cb72 Binary files /dev/null and b/i/klan/Angels.gif differ diff --git a/i/klan/Angels_big.gif b/i/klan/Angels_big.gif new file mode 100644 index 0000000..a9cb0d6 Binary files /dev/null and b/i/klan/Angels_big.gif differ diff --git a/i/klan/Anti Killer.gif b/i/klan/Anti Killer.gif new file mode 100644 index 0000000..c9d8999 Binary files /dev/null and b/i/klan/Anti Killer.gif differ diff --git a/i/klan/Anti Killer_big.gif b/i/klan/Anti Killer_big.gif new file mode 100644 index 0000000..06078e3 Binary files /dev/null and b/i/klan/Anti Killer_big.gif differ diff --git a/i/klan/Anti War.gif b/i/klan/Anti War.gif new file mode 100644 index 0000000..e0da22a Binary files /dev/null and b/i/klan/Anti War.gif differ diff --git a/i/klan/BAKU.gif b/i/klan/BAKU.gif new file mode 100644 index 0000000..48bae62 Binary files /dev/null and b/i/klan/BAKU.gif differ diff --git a/i/klan/BAKU_big.gif b/i/klan/BAKU_big.gif new file mode 100644 index 0000000..2c2de60 Binary files /dev/null and b/i/klan/BAKU_big.gif differ diff --git a/i/klan/Bakins.gif b/i/klan/Bakins.gif new file mode 100644 index 0000000..3cc5d92 Binary files /dev/null and b/i/klan/Bakins.gif differ diff --git a/i/klan/Bakins_big.gif b/i/klan/Bakins_big.gif new file mode 100644 index 0000000..157f7f2 Binary files /dev/null and b/i/klan/Bakins_big.gif differ diff --git a/i/klan/BlackLight.gif b/i/klan/BlackLight.gif new file mode 100644 index 0000000..fffd8e2 Binary files /dev/null and b/i/klan/BlackLight.gif differ diff --git a/i/klan/BoS.gif b/i/klan/BoS.gif new file mode 100644 index 0000000..0cc4ea4 Binary files /dev/null and b/i/klan/BoS.gif differ diff --git a/i/klan/BoS_big.gif b/i/klan/BoS_big.gif new file mode 100644 index 0000000..c2e4dec Binary files /dev/null and b/i/klan/BoS_big.gif differ diff --git a/i/klan/Brigada.gif b/i/klan/Brigada.gif new file mode 100644 index 0000000..79d7b90 Binary files /dev/null and b/i/klan/Brigada.gif differ diff --git a/i/klan/Brigada_big.gif b/i/klan/Brigada_big.gif new file mode 100644 index 0000000..72bb441 Binary files /dev/null and b/i/klan/Brigada_big.gif differ diff --git a/i/klan/BrotherhoodOfSteel.gif b/i/klan/BrotherhoodOfSteel.gif new file mode 100644 index 0000000..0cc4ea4 Binary files /dev/null and b/i/klan/BrotherhoodOfSteel.gif differ diff --git a/i/klan/COVEN.gif b/i/klan/COVEN.gif new file mode 100644 index 0000000..2d83bac Binary files /dev/null and b/i/klan/COVEN.gif differ diff --git a/i/klan/COVEN_big.gif b/i/klan/COVEN_big.gif new file mode 100644 index 0000000..4755735 Binary files /dev/null and b/i/klan/COVEN_big.gif differ diff --git a/i/klan/ChampionsOfEvil.gif b/i/klan/ChampionsOfEvil.gif new file mode 100644 index 0000000..bf03867 Binary files /dev/null and b/i/klan/ChampionsOfEvil.gif differ diff --git a/i/klan/ChampionsOfEvil_big.gif b/i/klan/ChampionsOfEvil_big.gif new file mode 100644 index 0000000..e80a6de Binary files /dev/null and b/i/klan/ChampionsOfEvil_big.gif differ diff --git a/i/klan/DARK LEGION.gif b/i/klan/DARK LEGION.gif new file mode 100644 index 0000000..060183c Binary files /dev/null and b/i/klan/DARK LEGION.gif differ diff --git a/i/klan/DARK LEGION_big.gif b/i/klan/DARK LEGION_big.gif new file mode 100644 index 0000000..0022364 Binary files /dev/null and b/i/klan/DARK LEGION_big.gif differ diff --git a/i/klan/DRAGON.gif b/i/klan/DRAGON.gif new file mode 100644 index 0000000..f064445 Binary files /dev/null and b/i/klan/DRAGON.gif differ diff --git a/i/klan/DRAGON_big.gif b/i/klan/DRAGON_big.gif new file mode 100644 index 0000000..ccee9d1 Binary files /dev/null and b/i/klan/DRAGON_big.gif differ diff --git a/i/klan/DW.gif b/i/klan/DW.gif new file mode 100644 index 0000000..42a7e44 Binary files /dev/null and b/i/klan/DW.gif differ diff --git a/i/klan/DW_big.gif b/i/klan/DW_big.gif new file mode 100644 index 0000000..ceb8823 Binary files /dev/null and b/i/klan/DW_big.gif differ diff --git a/i/klan/Dark Knight.gif b/i/klan/Dark Knight.gif new file mode 100644 index 0000000..ef80d7a Binary files /dev/null and b/i/klan/Dark Knight.gif differ diff --git a/i/klan/DarkAlliance.gif b/i/klan/DarkAlliance.gif new file mode 100644 index 0000000..cb70432 Binary files /dev/null and b/i/klan/DarkAlliance.gif differ diff --git a/i/klan/DarkBrotherhood.gif b/i/klan/DarkBrotherhood.gif new file mode 100644 index 0000000..de4858d Binary files /dev/null and b/i/klan/DarkBrotherhood.gif differ diff --git a/i/klan/DarkBrotherhood_big.gif b/i/klan/DarkBrotherhood_big.gif new file mode 100644 index 0000000..0dcc2b4 Binary files /dev/null and b/i/klan/DarkBrotherhood_big.gif differ diff --git a/i/klan/DarkClan.gif b/i/klan/DarkClan.gif new file mode 100644 index 0000000..9194065 Binary files /dev/null and b/i/klan/DarkClan.gif differ diff --git a/i/klan/DarkClan_big.gif b/i/klan/DarkClan_big.gif new file mode 100644 index 0000000..54d7843 Binary files /dev/null and b/i/klan/DarkClan_big.gif differ diff --git a/i/klan/DarkImmortals.gif b/i/klan/DarkImmortals.gif new file mode 100644 index 0000000..7f74263 Binary files /dev/null and b/i/klan/DarkImmortals.gif differ diff --git a/i/klan/DarkImmortals_big.gif b/i/klan/DarkImmortals_big.gif new file mode 100644 index 0000000..1f95c93 Binary files /dev/null and b/i/klan/DarkImmortals_big.gif differ diff --git a/i/klan/DarkLaw.gif b/i/klan/DarkLaw.gif new file mode 100644 index 0000000..b8242c2 Binary files /dev/null and b/i/klan/DarkLaw.gif differ diff --git a/i/klan/DarkLegion.gif b/i/klan/DarkLegion.gif new file mode 100644 index 0000000..2b04629 Binary files /dev/null and b/i/klan/DarkLegion.gif differ diff --git a/i/klan/DarkSouls.gif b/i/klan/DarkSouls.gif new file mode 100644 index 0000000..3ae8653 Binary files /dev/null and b/i/klan/DarkSouls.gif differ diff --git a/i/klan/DarkSouls_big.gif b/i/klan/DarkSouls_big.gif new file mode 100644 index 0000000..adde8c2 Binary files /dev/null and b/i/klan/DarkSouls_big.gif differ diff --git a/i/klan/Domino.gif b/i/klan/Domino.gif new file mode 100644 index 0000000..cc9c9f5 Binary files /dev/null and b/i/klan/Domino.gif differ diff --git a/i/klan/Domino_big.gif b/i/klan/Domino_big.gif new file mode 100644 index 0000000..bccf813 Binary files /dev/null and b/i/klan/Domino_big.gif differ diff --git a/i/klan/Dragons.gif b/i/klan/Dragons.gif new file mode 100644 index 0000000..1df41e0 Binary files /dev/null and b/i/klan/Dragons.gif differ diff --git a/i/klan/Dragons_big.gif b/i/klan/Dragons_big.gif new file mode 100644 index 0000000..f685d57 Binary files /dev/null and b/i/klan/Dragons_big.gif differ diff --git a/i/klan/Dynamo.gif b/i/klan/Dynamo.gif new file mode 100644 index 0000000..cb77cc9 Binary files /dev/null and b/i/klan/Dynamo.gif differ diff --git a/i/klan/Elite.gif b/i/klan/Elite.gif new file mode 100644 index 0000000..3cd5d65 Binary files /dev/null and b/i/klan/Elite.gif differ diff --git a/i/klan/Elite_big.gif b/i/klan/Elite_big.gif new file mode 100644 index 0000000..2196fda Binary files /dev/null and b/i/klan/Elite_big.gif differ diff --git a/i/klan/Envoys of Hell.gif b/i/klan/Envoys of Hell.gif new file mode 100644 index 0000000..5a67f7d Binary files /dev/null and b/i/klan/Envoys of Hell.gif differ diff --git a/i/klan/Envoys of Hell_big.gif b/i/klan/Envoys of Hell_big.gif new file mode 100644 index 0000000..daa421b Binary files /dev/null and b/i/klan/Envoys of Hell_big.gif differ diff --git a/i/klan/EoH.gif b/i/klan/EoH.gif new file mode 100644 index 0000000..5a67f7d Binary files /dev/null and b/i/klan/EoH.gif differ diff --git a/i/klan/EoH_big.gif b/i/klan/EoH_big.gif new file mode 100644 index 0000000..daa421b Binary files /dev/null and b/i/klan/EoH_big.gif differ diff --git a/i/klan/Eon.gif b/i/klan/Eon.gif new file mode 100644 index 0000000..144c0f4 Binary files /dev/null and b/i/klan/Eon.gif differ diff --git a/i/klan/Eon_big.gif b/i/klan/Eon_big.gif new file mode 100644 index 0000000..e4ed9bf Binary files /dev/null and b/i/klan/Eon_big.gif differ diff --git a/i/klan/Equilibrium.gif b/i/klan/Equilibrium.gif new file mode 100644 index 0000000..fc1aa8b Binary files /dev/null and b/i/klan/Equilibrium.gif differ diff --git a/i/klan/Equillibrium.gif b/i/klan/Equillibrium.gif new file mode 100644 index 0000000..fc1aa8b Binary files /dev/null and b/i/klan/Equillibrium.gif differ diff --git a/i/klan/Erathia.gif b/i/klan/Erathia.gif new file mode 100644 index 0000000..bcfee2e Binary files /dev/null and b/i/klan/Erathia.gif differ diff --git a/i/klan/FLAME STARS.gif b/i/klan/FLAME STARS.gif new file mode 100644 index 0000000..c9e80df Binary files /dev/null and b/i/klan/FLAME STARS.gif differ diff --git a/i/klan/FaF.gif b/i/klan/FaF.gif new file mode 100644 index 0000000..dd4c680 Binary files /dev/null and b/i/klan/FaF.gif differ diff --git a/i/klan/FaF_big.gif b/i/klan/FaF_big.gif new file mode 100644 index 0000000..d7cce2d Binary files /dev/null and b/i/klan/FaF_big.gif differ diff --git a/i/klan/FallenAngels.gif b/i/klan/FallenAngels.gif new file mode 100644 index 0000000..8450421 Binary files /dev/null and b/i/klan/FallenAngels.gif differ diff --git a/i/klan/FallenAngels_big.gif b/i/klan/FallenAngels_big.gif new file mode 100644 index 0000000..75065f5 Binary files /dev/null and b/i/klan/FallenAngels_big.gif differ diff --git a/i/klan/Family.gif b/i/klan/Family.gif new file mode 100644 index 0000000..5fdc17e Binary files /dev/null and b/i/klan/Family.gif differ diff --git a/i/klan/Family_big.gif b/i/klan/Family_big.gif new file mode 100644 index 0000000..e79dac8 Binary files /dev/null and b/i/klan/Family_big.gif differ diff --git a/i/klan/Fast and Furious.gif b/i/klan/Fast and Furious.gif new file mode 100644 index 0000000..dd4c680 Binary files /dev/null and b/i/klan/Fast and Furious.gif differ diff --git a/i/klan/Fast and Furious_big.gif b/i/klan/Fast and Furious_big.gif new file mode 100644 index 0000000..d7cce2d Binary files /dev/null and b/i/klan/Fast and Furious_big.gif differ diff --git a/i/klan/Forestelfs.gif b/i/klan/Forestelfs.gif new file mode 100644 index 0000000..124e5bc Binary files /dev/null and b/i/klan/Forestelfs.gif differ diff --git a/i/klan/Freemen.gif b/i/klan/Freemen.gif new file mode 100644 index 0000000..e5300d6 Binary files /dev/null and b/i/klan/Freemen.gif differ diff --git a/i/klan/FromHell.gif b/i/klan/FromHell.gif new file mode 100644 index 0000000..76bc9e4 Binary files /dev/null and b/i/klan/FromHell.gif differ diff --git a/i/klan/FromHell_big.gif b/i/klan/FromHell_big.gif new file mode 100644 index 0000000..52a152b Binary files /dev/null and b/i/klan/FromHell_big.gif differ diff --git a/i/klan/Funs of Anime.gif b/i/klan/Funs of Anime.gif new file mode 100644 index 0000000..64aace1 Binary files /dev/null and b/i/klan/Funs of Anime.gif differ diff --git a/i/klan/Funs of Anime_big.gif b/i/klan/Funs of Anime_big.gif new file mode 100644 index 0000000..4a9001a Binary files /dev/null and b/i/klan/Funs of Anime_big.gif differ diff --git a/i/klan/GUS.gif b/i/klan/GUS.gif new file mode 100644 index 0000000..30fc478 Binary files /dev/null and b/i/klan/GUS.gif differ diff --git a/i/klan/GUS_big.gif b/i/klan/GUS_big.gif new file mode 100644 index 0000000..30fc478 Binary files /dev/null and b/i/klan/GUS_big.gif differ diff --git a/i/klan/GoD.gif b/i/klan/GoD.gif new file mode 100644 index 0000000..171a26b Binary files /dev/null and b/i/klan/GoD.gif differ diff --git a/i/klan/GoD_big.gif b/i/klan/GoD_big.gif new file mode 100644 index 0000000..9f95f84 Binary files /dev/null and b/i/klan/GoD_big.gif differ diff --git a/i/klan/Guards.gif b/i/klan/Guards.gif new file mode 100644 index 0000000..a3525b3 Binary files /dev/null and b/i/klan/Guards.gif differ diff --git a/i/klan/Haiducii.gif b/i/klan/Haiducii.gif new file mode 100644 index 0000000..5280a2b Binary files /dev/null and b/i/klan/Haiducii.gif differ diff --git a/i/klan/Haiducii_big.gif b/i/klan/Haiducii_big.gif new file mode 100644 index 0000000..849f8ab Binary files /dev/null and b/i/klan/Haiducii_big.gif differ diff --git a/i/klan/Harbour.gif b/i/klan/Harbour.gif new file mode 100644 index 0000000..41b8a9a Binary files /dev/null and b/i/klan/Harbour.gif differ diff --git a/i/klan/HellMix.gif b/i/klan/HellMix.gif new file mode 100644 index 0000000..1960f4c Binary files /dev/null and b/i/klan/HellMix.gif differ diff --git a/i/klan/HellMix_big.gif b/i/klan/HellMix_big.gif new file mode 100644 index 0000000..15f02e8 Binary files /dev/null and b/i/klan/HellMix_big.gif differ diff --git a/i/klan/HighTech.gif b/i/klan/HighTech.gif new file mode 100644 index 0000000..ba89812 Binary files /dev/null and b/i/klan/HighTech.gif differ diff --git a/i/klan/HighTech_big.gif b/i/klan/HighTech_big.gif new file mode 100644 index 0000000..a221dc8 Binary files /dev/null and b/i/klan/HighTech_big.gif differ diff --git a/i/klan/IMPS.gif b/i/klan/IMPS.gif new file mode 100644 index 0000000..e17d076 Binary files /dev/null and b/i/klan/IMPS.gif differ diff --git a/i/klan/Immortals.gif b/i/klan/Immortals.gif new file mode 100644 index 0000000..5280a2b Binary files /dev/null and b/i/klan/Immortals.gif differ diff --git a/i/klan/Immortals_big.gif b/i/klan/Immortals_big.gif new file mode 100644 index 0000000..849f8ab Binary files /dev/null and b/i/klan/Immortals_big.gif differ diff --git a/i/klan/Iscariot.gif b/i/klan/Iscariot.gif new file mode 100644 index 0000000..0d5fd0e Binary files /dev/null and b/i/klan/Iscariot.gif differ diff --git a/i/klan/Iscariot_big.gif b/i/klan/Iscariot_big.gif new file mode 100644 index 0000000..b81a3b3 Binary files /dev/null and b/i/klan/Iscariot_big.gif differ diff --git a/i/klan/JackalClan.gif b/i/klan/JackalClan.gif new file mode 100644 index 0000000..34953fc Binary files /dev/null and b/i/klan/JackalClan.gif differ diff --git a/i/klan/JackalClan_big.gif b/i/klan/JackalClan_big.gif new file mode 100644 index 0000000..c54c889 Binary files /dev/null and b/i/klan/JackalClan_big.gif differ diff --git a/i/klan/JoD.gif b/i/klan/JoD.gif new file mode 100644 index 0000000..ce683c0 Binary files /dev/null and b/i/klan/JoD.gif differ diff --git a/i/klan/JoD_big.gif b/i/klan/JoD_big.gif new file mode 100644 index 0000000..7b35878 Binary files /dev/null and b/i/klan/JoD_big.gif differ diff --git a/i/klan/KNL.gif b/i/klan/KNL.gif new file mode 100644 index 0000000..22c58d3 Binary files /dev/null and b/i/klan/KNL.gif differ diff --git a/i/klan/Keepers of Flame.gif b/i/klan/Keepers of Flame.gif new file mode 100644 index 0000000..103581a Binary files /dev/null and b/i/klan/Keepers of Flame.gif differ diff --git a/i/klan/Keepers of Flame_big.gif b/i/klan/Keepers of Flame_big.gif new file mode 100644 index 0000000..88d73e2 Binary files /dev/null and b/i/klan/Keepers of Flame_big.gif differ diff --git a/i/klan/Knights of Darkness.gif b/i/klan/Knights of Darkness.gif new file mode 100644 index 0000000..4dd69a1 Binary files /dev/null and b/i/klan/Knights of Darkness.gif differ diff --git a/i/klan/Longriders.gif b/i/klan/Longriders.gif new file mode 100644 index 0000000..79aeb17 Binary files /dev/null and b/i/klan/Longriders.gif differ diff --git a/i/klan/MIBS.gif b/i/klan/MIBS.gif new file mode 100644 index 0000000..e871402 Binary files /dev/null and b/i/klan/MIBS.gif differ diff --git a/i/klan/MIBS_big.gif b/i/klan/MIBS_big.gif new file mode 100644 index 0000000..b34b807 Binary files /dev/null and b/i/klan/MIBS_big.gif differ diff --git a/i/klan/MIB_big.gif b/i/klan/MIB_big.gif new file mode 100644 index 0000000..b34b807 Binary files /dev/null and b/i/klan/MIB_big.gif differ diff --git a/i/klan/MafIA.gif b/i/klan/MafIA.gif new file mode 100644 index 0000000..1466f08 Binary files /dev/null and b/i/klan/MafIA.gif differ diff --git a/i/klan/MafIA_big.gif b/i/klan/MafIA_big.gif new file mode 100644 index 0000000..1466f08 Binary files /dev/null and b/i/klan/MafIA_big.gif differ diff --git a/i/klan/Mercenaries.gif b/i/klan/Mercenaries.gif new file mode 100644 index 0000000..b818b78 Binary files /dev/null and b/i/klan/Mercenaries.gif differ diff --git a/i/klan/Mercenaries_big.gif b/i/klan/Mercenaries_big.gif new file mode 100644 index 0000000..0857aa7 Binary files /dev/null and b/i/klan/Mercenaries_big.gif differ diff --git a/i/klan/MiB.gif b/i/klan/MiB.gif new file mode 100644 index 0000000..e871402 Binary files /dev/null and b/i/klan/MiB.gif differ diff --git a/i/klan/NorthPalmira.gif b/i/klan/NorthPalmira.gif new file mode 100644 index 0000000..8627633 Binary files /dev/null and b/i/klan/NorthPalmira.gif differ diff --git a/i/klan/Novxani.gif b/i/klan/Novxani.gif new file mode 100644 index 0000000..b75eea0 Binary files /dev/null and b/i/klan/Novxani.gif differ diff --git a/i/klan/Novxani_big.gif b/i/klan/Novxani_big.gif new file mode 100644 index 0000000..d1d449b Binary files /dev/null and b/i/klan/Novxani_big.gif differ diff --git a/i/klan/OgniBaku.gif b/i/klan/OgniBaku.gif new file mode 100644 index 0000000..c4b3ac0 Binary files /dev/null and b/i/klan/OgniBaku.gif differ diff --git a/i/klan/OgniBaku_big.gif b/i/klan/OgniBaku_big.gif new file mode 100644 index 0000000..b3d84f8 Binary files /dev/null and b/i/klan/OgniBaku_big.gif differ diff --git a/i/klan/OldBaku.gif b/i/klan/OldBaku.gif new file mode 100644 index 0000000..b75eea0 Binary files /dev/null and b/i/klan/OldBaku.gif differ diff --git a/i/klan/OldMiB.gif b/i/klan/OldMiB.gif new file mode 100644 index 0000000..e36c453 Binary files /dev/null and b/i/klan/OldMiB.gif differ diff --git a/i/klan/PhantomsofChaos.gif b/i/klan/PhantomsofChaos.gif new file mode 100644 index 0000000..676fa7b Binary files /dev/null and b/i/klan/PhantomsofChaos.gif differ diff --git a/i/klan/PitBull.gif b/i/klan/PitBull.gif new file mode 100644 index 0000000..3aa1ce5 Binary files /dev/null and b/i/klan/PitBull.gif differ diff --git a/i/klan/RMercenaries.gif b/i/klan/RMercenaries.gif new file mode 100644 index 0000000..a548f3f Binary files /dev/null and b/i/klan/RMercenaries.gif differ diff --git a/i/klan/RMiB.gif b/i/klan/RMiB.gif new file mode 100644 index 0000000..bb1601e Binary files /dev/null and b/i/klan/RMiB.gif differ diff --git a/i/klan/RMiB_big.gif b/i/klan/RMiB_big.gif new file mode 100644 index 0000000..7b54cb8 Binary files /dev/null and b/i/klan/RMiB_big.gif differ diff --git a/i/klan/Rastanoobs.gif b/i/klan/Rastanoobs.gif new file mode 100644 index 0000000..9417b52 Binary files /dev/null and b/i/klan/Rastanoobs.gif differ diff --git a/i/klan/RecruitBoS.gif b/i/klan/RecruitBoS.gif new file mode 100644 index 0000000..09e1992 Binary files /dev/null and b/i/klan/RecruitBoS.gif differ diff --git a/i/klan/RecruitDarkClan.gif b/i/klan/RecruitDarkClan.gif new file mode 100644 index 0000000..613e2e2 Binary files /dev/null and b/i/klan/RecruitDarkClan.gif differ diff --git a/i/klan/RecruitDarkClan_big.gif b/i/klan/RecruitDarkClan_big.gif new file mode 100644 index 0000000..1ecdffb Binary files /dev/null and b/i/klan/RecruitDarkClan_big.gif differ diff --git a/i/klan/RedCross.gif b/i/klan/RedCross.gif new file mode 100644 index 0000000..cc0c3b0 Binary files /dev/null and b/i/klan/RedCross.gif differ diff --git a/i/klan/ResidentForce.gif b/i/klan/ResidentForce.gif new file mode 100644 index 0000000..ea4af69 Binary files /dev/null and b/i/klan/ResidentForce.gif differ diff --git a/i/klan/ResidentForce_big.gif b/i/klan/ResidentForce_big.gif new file mode 100644 index 0000000..763c948 Binary files /dev/null and b/i/klan/ResidentForce_big.gif differ diff --git a/i/klan/Ritter.gif b/i/klan/Ritter.gif new file mode 100644 index 0000000..e2f4976 Binary files /dev/null and b/i/klan/Ritter.gif differ diff --git a/i/klan/Ritter_big.gif b/i/klan/Ritter_big.gif new file mode 100644 index 0000000..44e1cf8 Binary files /dev/null and b/i/klan/Ritter_big.gif differ diff --git a/i/klan/SOVETSKI.gif b/i/klan/SOVETSKI.gif new file mode 100644 index 0000000..7b3a510 Binary files /dev/null and b/i/klan/SOVETSKI.gif differ diff --git a/i/klan/SOVETSKI_big.gif b/i/klan/SOVETSKI_big.gif new file mode 100644 index 0000000..1561f9e Binary files /dev/null and b/i/klan/SOVETSKI_big.gif differ diff --git a/i/klan/SPoAN.gif b/i/klan/SPoAN.gif new file mode 100644 index 0000000..0dcb358 Binary files /dev/null and b/i/klan/SPoAN.gif differ diff --git a/i/klan/ScorpionS.gif b/i/klan/ScorpionS.gif new file mode 100644 index 0000000..2bcc7b0 Binary files /dev/null and b/i/klan/ScorpionS.gif differ diff --git a/i/klan/ScorpionS_big.gif b/i/klan/ScorpionS_big.gif new file mode 100644 index 0000000..642714d Binary files /dev/null and b/i/klan/ScorpionS_big.gif differ diff --git a/i/klan/ScreamOfDeath.gif b/i/klan/ScreamOfDeath.gif new file mode 100644 index 0000000..a2f2777 Binary files /dev/null and b/i/klan/ScreamOfDeath.gif differ diff --git a/i/klan/SecondReality.gif b/i/klan/SecondReality.gif new file mode 100644 index 0000000..6efbefa Binary files /dev/null and b/i/klan/SecondReality.gif differ diff --git a/i/klan/SecondReality_big.gif b/i/klan/SecondReality_big.gif new file mode 100644 index 0000000..21821d7 Binary files /dev/null and b/i/klan/SecondReality_big.gif differ diff --git a/i/klan/SoT.gif b/i/klan/SoT.gif new file mode 100644 index 0000000..2b76c28 Binary files /dev/null and b/i/klan/SoT.gif differ diff --git a/i/klan/Stalkers.gif b/i/klan/Stalkers.gif new file mode 100644 index 0000000..763d702 Binary files /dev/null and b/i/klan/Stalkers.gif differ diff --git a/i/klan/TARMANS.gif b/i/klan/TARMANS.gif new file mode 100644 index 0000000..a9ef8dc Binary files /dev/null and b/i/klan/TARMANS.gif differ diff --git a/i/klan/TARMANS_big.gif b/i/klan/TARMANS_big.gif new file mode 100644 index 0000000..a625986 Binary files /dev/null and b/i/klan/TARMANS_big.gif differ diff --git a/i/klan/TBR.gif b/i/klan/TBR.gif new file mode 100644 index 0000000..253590f Binary files /dev/null and b/i/klan/TBR.gif differ diff --git a/i/klan/TBR_big.gif b/i/klan/TBR_big.gif new file mode 100644 index 0000000..c042ab8 Binary files /dev/null and b/i/klan/TBR_big.gif differ diff --git a/i/klan/TS.gif b/i/klan/TS.gif new file mode 100644 index 0000000..1abb105 Binary files /dev/null and b/i/klan/TS.gif differ diff --git a/i/klan/TS_big.gif b/i/klan/TS_big.gif new file mode 100644 index 0000000..835a293 Binary files /dev/null and b/i/klan/TS_big.gif differ diff --git a/i/klan/Tabula Rasa.gif b/i/klan/Tabula Rasa.gif new file mode 100644 index 0000000..253590f Binary files /dev/null and b/i/klan/Tabula Rasa.gif differ diff --git a/i/klan/Tabula Rasa_big.gif b/i/klan/Tabula Rasa_big.gif new file mode 100644 index 0000000..c042ab8 Binary files /dev/null and b/i/klan/Tabula Rasa_big.gif differ diff --git a/i/klan/The-Justice.gif b/i/klan/The-Justice.gif new file mode 100644 index 0000000..67b3c48 Binary files /dev/null and b/i/klan/The-Justice.gif differ diff --git a/i/klan/TriAda.gif b/i/klan/TriAda.gif new file mode 100644 index 0000000..2271e87 Binary files /dev/null and b/i/klan/TriAda.gif differ diff --git a/i/klan/TriAda_big.gif b/i/klan/TriAda_big.gif new file mode 100644 index 0000000..5d75656 Binary files /dev/null and b/i/klan/TriAda_big.gif differ diff --git a/i/klan/Uravniteli.gif b/i/klan/Uravniteli.gif new file mode 100644 index 0000000..b608df3 Binary files /dev/null and b/i/klan/Uravniteli.gif differ diff --git a/i/klan/VampireS.gif b/i/klan/VampireS.gif new file mode 100644 index 0000000..ce32b42 Binary files /dev/null and b/i/klan/VampireS.gif differ diff --git a/i/klan/VampireS_big.gif b/i/klan/VampireS_big.gif new file mode 100644 index 0000000..ce32b42 Binary files /dev/null and b/i/klan/VampireS_big.gif differ diff --git a/i/klan/Ventrue.gif b/i/klan/Ventrue.gif new file mode 100644 index 0000000..07323b2 Binary files /dev/null and b/i/klan/Ventrue.gif differ diff --git a/i/klan/Ventrue_big.gif b/i/klan/Ventrue_big.gif new file mode 100644 index 0000000..07323b2 Binary files /dev/null and b/i/klan/Ventrue_big.gif differ diff --git a/i/klan/VersuS.gif b/i/klan/VersuS.gif new file mode 100644 index 0000000..d0297ea Binary files /dev/null and b/i/klan/VersuS.gif differ diff --git a/i/klan/VersuS_big.gif b/i/klan/VersuS_big.gif new file mode 100644 index 0000000..44deff6 Binary files /dev/null and b/i/klan/VersuS_big.gif differ diff --git a/i/klan/ViP.gif b/i/klan/ViP.gif new file mode 100644 index 0000000..87d9589 Binary files /dev/null and b/i/klan/ViP.gif differ diff --git a/i/klan/ViP_big.gif b/i/klan/ViP_big.gif new file mode 100644 index 0000000..67a9a05 Binary files /dev/null and b/i/klan/ViP_big.gif differ diff --git a/i/klan/Volnye.gif b/i/klan/Volnye.gif new file mode 100644 index 0000000..8ff3ba2 Binary files /dev/null and b/i/klan/Volnye.gif differ diff --git a/i/klan/WBoys.gif b/i/klan/WBoys.gif new file mode 100644 index 0000000..d1dba48 Binary files /dev/null and b/i/klan/WBoys.gif differ diff --git a/i/klan/WBoys_big.gif b/i/klan/WBoys_big.gif new file mode 100644 index 0000000..342ad1d Binary files /dev/null and b/i/klan/WBoys_big.gif differ diff --git a/i/klan/WildHearts.gif b/i/klan/WildHearts.gif new file mode 100644 index 0000000..627265d Binary files /dev/null and b/i/klan/WildHearts.gif differ diff --git a/i/klan/WildHearts_big.gif b/i/klan/WildHearts_big.gif new file mode 100644 index 0000000..b21b832 Binary files /dev/null and b/i/klan/WildHearts_big.gif differ diff --git a/i/klan/Wildplain.gif b/i/klan/Wildplain.gif new file mode 100644 index 0000000..ebb65f3 Binary files /dev/null and b/i/klan/Wildplain.gif differ diff --git a/i/klan/align_1.99.gif b/i/klan/align_1.99.gif new file mode 100644 index 0000000..10e5dff Binary files /dev/null and b/i/klan/align_1.99.gif differ diff --git a/i/klan/align_4_big.gif b/i/klan/align_4_big.gif new file mode 100644 index 0000000..46d9926 Binary files /dev/null and b/i/klan/align_4_big.gif differ diff --git a/i/klan/aton.gif b/i/klan/aton.gif new file mode 100644 index 0000000..d498e0d Binary files /dev/null and b/i/klan/aton.gif differ diff --git a/i/klan/aton_big.gif b/i/klan/aton_big.gif new file mode 100644 index 0000000..43f18a4 Binary files /dev/null and b/i/klan/aton_big.gif differ diff --git a/i/klan/izbrannie.gif b/i/klan/izbrannie.gif new file mode 100644 index 0000000..985cb72 Binary files /dev/null and b/i/klan/izbrannie.gif differ diff --git a/i/klan/izbrannie_big.gif b/i/klan/izbrannie_big.gif new file mode 100644 index 0000000..a9cb0d6 Binary files /dev/null and b/i/klan/izbrannie_big.gif differ diff --git a/i/klan/legion.gif b/i/klan/legion.gif new file mode 100644 index 0000000..98088c9 Binary files /dev/null and b/i/klan/legion.gif differ diff --git a/i/klan/legion_big.gif b/i/klan/legion_big.gif new file mode 100644 index 0000000..4fc6b2d Binary files /dev/null and b/i/klan/legion_big.gif differ diff --git a/i/klan/oNe durEx.gif b/i/klan/oNe durEx.gif new file mode 100644 index 0000000..5510074 Binary files /dev/null and b/i/klan/oNe durEx.gif differ diff --git a/i/klan/oNe durEx_big.gif b/i/klan/oNe durEx_big.gif new file mode 100644 index 0000000..eb0967e Binary files /dev/null and b/i/klan/oNe durEx_big.gif differ diff --git a/i/klan/pAdonki_big.gif b/i/klan/pAdonki_big.gif new file mode 100644 index 0000000..1cdd7b6 Binary files /dev/null and b/i/klan/pAdonki_big.gif differ diff --git a/i/klan/radminion.gif b/i/klan/radminion.gif new file mode 100644 index 0000000..c763088 Binary files /dev/null and b/i/klan/radminion.gif differ diff --git a/i/klan/serv/help.gif b/i/klan/serv/help.gif new file mode 100644 index 0000000..daa138e Binary files /dev/null and b/i/klan/serv/help.gif differ diff --git a/i/klan/skomorokh.gif b/i/klan/skomorokh.gif new file mode 100644 index 0000000..edc5d0e Binary files /dev/null and b/i/klan/skomorokh.gif differ diff --git a/i/klan/skomorokh_big.gif b/i/klan/skomorokh_big.gif new file mode 100644 index 0000000..7639c5f Binary files /dev/null and b/i/klan/skomorokh_big.gif differ diff --git a/i/klan/ttz.gif b/i/klan/ttz.gif new file mode 100644 index 0000000..1078c59 Binary files /dev/null and b/i/klan/ttz.gif differ diff --git a/i/klan/xXx.gif b/i/klan/xXx.gif new file mode 100644 index 0000000..de3ef2e Binary files /dev/null and b/i/klan/xXx.gif differ diff --git a/i/klan/xXx_big.gif b/i/klan/xXx_big.gif new file mode 100644 index 0000000..c5529b1 Binary files /dev/null and b/i/klan/xXx_big.gif differ diff --git a/i/klan/zamok/klan_img_0113.jpg b/i/klan/zamok/klan_img_0113.jpg new file mode 100644 index 0000000..549f48a Binary files /dev/null and b/i/klan/zamok/klan_img_0113.jpg differ diff --git a/i/klan/zamok/klan_img_03.jpg b/i/klan/zamok/klan_img_03.jpg new file mode 100644 index 0000000..382567b Binary files /dev/null and b/i/klan/zamok/klan_img_03.jpg differ diff --git a/i/klan/zamok/klan_img_08.jpg b/i/klan/zamok/klan_img_08.jpg new file mode 100644 index 0000000..b2e615c Binary files /dev/null and b/i/klan/zamok/klan_img_08.jpg differ diff --git a/i/klan/zamok/klan_img_08h.jpg b/i/klan/zamok/klan_img_08h.jpg new file mode 100644 index 0000000..56ca99f Binary files /dev/null and b/i/klan/zamok/klan_img_08h.jpg differ diff --git a/i/klan/zamok/klan_img_09.jpg b/i/klan/zamok/klan_img_09.jpg new file mode 100644 index 0000000..4c47c74 Binary files /dev/null and b/i/klan/zamok/klan_img_09.jpg differ diff --git a/i/klan/zamok/klan_img_11.jpg b/i/klan/zamok/klan_img_11.jpg new file mode 100644 index 0000000..32e9c23 Binary files /dev/null and b/i/klan/zamok/klan_img_11.jpg differ diff --git a/i/klan/zamok/klan_img_13.jpg b/i/klan/zamok/klan_img_13.jpg new file mode 100644 index 0000000..ef83b67 Binary files /dev/null and b/i/klan/zamok/klan_img_13.jpg differ diff --git a/i/klan/zamok/klan_img_17.jpg b/i/klan/zamok/klan_img_17.jpg new file mode 100644 index 0000000..85118d2 Binary files /dev/null and b/i/klan/zamok/klan_img_17.jpg differ diff --git a/i/klan/zamok/klan_img_19.jpg b/i/klan/zamok/klan_img_19.jpg new file mode 100644 index 0000000..3adf8d9 Binary files /dev/null and b/i/klan/zamok/klan_img_19.jpg differ diff --git a/i/klan/zamok/klan_img_21.jpg b/i/klan/zamok/klan_img_21.jpg new file mode 100644 index 0000000..f7486f4 Binary files /dev/null and b/i/klan/zamok/klan_img_21.jpg differ diff --git a/i/klan/zamok/klan_img_23.jpg b/i/klan/zamok/klan_img_23.jpg new file mode 100644 index 0000000..8628164 Binary files /dev/null and b/i/klan/zamok/klan_img_23.jpg differ diff --git a/i/klan/zamok/klan_img_25.jpg b/i/klan/zamok/klan_img_25.jpg new file mode 100644 index 0000000..8024840 Binary files /dev/null and b/i/klan/zamok/klan_img_25.jpg differ diff --git a/i/klan/zamok/klan_img_27.jpg b/i/klan/zamok/klan_img_27.jpg new file mode 100644 index 0000000..e1abe6d Binary files /dev/null and b/i/klan/zamok/klan_img_27.jpg differ diff --git a/i/klan/zamok/klan_img_28.jpg b/i/klan/zamok/klan_img_28.jpg new file mode 100644 index 0000000..039beab Binary files /dev/null and b/i/klan/zamok/klan_img_28.jpg differ diff --git a/i/klan/zamok/klan_img_44.jpg b/i/klan/zamok/klan_img_44.jpg new file mode 100644 index 0000000..41bd7a9 Binary files /dev/null and b/i/klan/zamok/klan_img_44.jpg differ diff --git a/i/klan/zamok/klan_s3r3_07.jpg b/i/klan/zamok/klan_s3r3_07.jpg new file mode 100644 index 0000000..68451eb Binary files /dev/null and b/i/klan/zamok/klan_s3r3_07.jpg differ diff --git a/i/ko.jpg b/i/ko.jpg new file mode 100644 index 0000000..568c617 Binary files /dev/null and b/i/ko.jpg differ diff --git a/i/kras2008f1.gif b/i/kras2008f1.gif new file mode 100644 index 0000000..eaba7b5 Binary files /dev/null and b/i/kras2008f1.gif differ diff --git a/i/kras2008f2.gif b/i/kras2008f2.gif new file mode 100644 index 0000000..75a3508 Binary files /dev/null and b/i/kras2008f2.gif differ diff --git a/i/kras2008f3.gif b/i/kras2008f3.gif new file mode 100644 index 0000000..07b83ae Binary files /dev/null and b/i/kras2008f3.gif differ diff --git a/i/kras2008m1.gif b/i/kras2008m1.gif new file mode 100644 index 0000000..3beaf9c Binary files /dev/null and b/i/kras2008m1.gif differ diff --git a/i/kras2008m2.gif b/i/kras2008m2.gif new file mode 100644 index 0000000..b7048e9 Binary files /dev/null and b/i/kras2008m2.gif differ diff --git a/i/kwest.gif b/i/kwest.gif new file mode 100644 index 0000000..8bed8e5 Binary files /dev/null and b/i/kwest.gif differ diff --git a/i/laba/1green.gif b/i/laba/1green.gif new file mode 100644 index 0000000..28933d4 Binary files /dev/null and b/i/laba/1green.gif differ diff --git a/i/laba/1silver.gif b/i/laba/1silver.gif new file mode 100644 index 0000000..bfcfe98 Binary files /dev/null and b/i/laba/1silver.gif differ diff --git a/i/laba/arr1.gif b/i/laba/arr1.gif new file mode 100644 index 0000000..ed7f8ae Binary files /dev/null and b/i/laba/arr1.gif differ diff --git a/i/laba/arr2.gif b/i/laba/arr2.gif new file mode 100644 index 0000000..c756c77 Binary files /dev/null and b/i/laba/arr2.gif differ diff --git a/i/laba/arr3.gif b/i/laba/arr3.gif new file mode 100644 index 0000000..a42ca30 Binary files /dev/null and b/i/laba/arr3.gif differ diff --git a/i/laba/arr4.gif b/i/laba/arr4.gif new file mode 100644 index 0000000..dadf356 Binary files /dev/null and b/i/laba/arr4.gif differ diff --git a/i/laba/bg/1green.gif b/i/laba/bg/1green.gif new file mode 100644 index 0000000..28933d4 Binary files /dev/null and b/i/laba/bg/1green.gif differ diff --git a/i/laba/bg/1silver.gif b/i/laba/bg/1silver.gif new file mode 100644 index 0000000..bfcfe98 Binary files /dev/null and b/i/laba/bg/1silver.gif differ diff --git a/i/laba/bg/a.png b/i/laba/bg/a.png new file mode 100644 index 0000000..0fcdeb0 Binary files /dev/null and b/i/laba/bg/a.png differ diff --git a/i/laba/bg/align_0.gif b/i/laba/bg/align_0.gif new file mode 100644 index 0000000..b237e44 Binary files /dev/null and b/i/laba/bg/align_0.gif differ diff --git a/i/laba/bg/arr1.gif b/i/laba/bg/arr1.gif new file mode 100644 index 0000000..ed7f8ae Binary files /dev/null and b/i/laba/bg/arr1.gif differ diff --git a/i/laba/bg/arr2.gif b/i/laba/bg/arr2.gif new file mode 100644 index 0000000..c756c77 Binary files /dev/null and b/i/laba/bg/arr2.gif differ diff --git a/i/laba/bg/arr3.gif b/i/laba/bg/arr3.gif new file mode 100644 index 0000000..a42ca30 Binary files /dev/null and b/i/laba/bg/arr3.gif differ diff --git a/i/laba/bg/arr4.gif b/i/laba/bg/arr4.gif new file mode 100644 index 0000000..dadf356 Binary files /dev/null and b/i/laba/bg/arr4.gif differ diff --git a/i/laba/bg/b.gif b/i/laba/bg/b.gif new file mode 100644 index 0000000..047e47c Binary files /dev/null and b/i/laba/bg/b.gif differ diff --git a/i/laba/bg/e.psd b/i/laba/bg/e.psd new file mode 100644 index 0000000..a1faa10 Binary files /dev/null and b/i/laba/bg/e.psd differ diff --git a/i/laba/bg/e1.gif b/i/laba/bg/e1.gif new file mode 100644 index 0000000..6867d2e Binary files /dev/null and b/i/laba/bg/e1.gif differ diff --git a/i/laba/bg/e2.gif b/i/laba/bg/e2.gif new file mode 100644 index 0000000..322c799 Binary files /dev/null and b/i/laba/bg/e2.gif differ diff --git a/i/laba/bg/e3.gif b/i/laba/bg/e3.gif new file mode 100644 index 0000000..6acd5bb Binary files /dev/null and b/i/laba/bg/e3.gif differ diff --git a/i/laba/bg/e4.gif b/i/laba/bg/e4.gif new file mode 100644 index 0000000..ca4059a Binary files /dev/null and b/i/laba/bg/e4.gif differ diff --git a/i/laba/bg/e5.gif b/i/laba/bg/e5.gif new file mode 100644 index 0000000..6867d2e Binary files /dev/null and b/i/laba/bg/e5.gif differ diff --git a/i/laba/bg/h.gif b/i/laba/bg/h.gif new file mode 100644 index 0000000..32ff5c8 Binary files /dev/null and b/i/laba/bg/h.gif differ diff --git a/i/laba/bg/m.gif b/i/laba/bg/m.gif new file mode 100644 index 0000000..5ebda2a Binary files /dev/null and b/i/laba/bg/m.gif differ diff --git a/i/laba/bg/o.gif b/i/laba/bg/o.gif new file mode 100644 index 0000000..97c87fd Binary files /dev/null and b/i/laba/bg/o.gif differ diff --git a/i/laba/bg/of.gif b/i/laba/bg/of.gif new file mode 100644 index 0000000..34a0952 Binary files /dev/null and b/i/laba/bg/of.gif differ diff --git a/i/laba/bg/os.gif b/i/laba/bg/os.gif new file mode 100644 index 0000000..f3ebbcf Binary files /dev/null and b/i/laba/bg/os.gif differ diff --git a/i/laba/bg/p.gif b/i/laba/bg/p.gif new file mode 100644 index 0000000..524c20d Binary files /dev/null and b/i/laba/bg/p.gif differ diff --git a/i/laba/bg/r.gif b/i/laba/bg/r.gif new file mode 100644 index 0000000..63029e4 Binary files /dev/null and b/i/laba/bg/r.gif differ diff --git a/i/laba/bg/ramka_s2.gif b/i/laba/bg/ramka_s2.gif new file mode 100644 index 0000000..093093d Binary files /dev/null and b/i/laba/bg/ramka_s2.gif differ diff --git a/i/laba/bg/refresh.gif b/i/laba/bg/refresh.gif new file mode 100644 index 0000000..0aadb36 Binary files /dev/null and b/i/laba/bg/refresh.gif differ diff --git a/i/laba/bg/s.gif b/i/laba/bg/s.gif new file mode 100644 index 0000000..c3b5fd5 Binary files /dev/null and b/i/laba/bg/s.gif differ diff --git a/i/laba/bg/u.gif b/i/laba/bg/u.gif new file mode 100644 index 0000000..11589cd Binary files /dev/null and b/i/laba/bg/u.gif differ diff --git a/i/laba/in_nav_bg.gif b/i/laba/in_nav_bg.gif new file mode 100644 index 0000000..2e9390e Binary files /dev/null and b/i/laba/in_nav_bg.gif differ diff --git a/i/laba/navbg_big.gif b/i/laba/navbg_big.gif new file mode 100644 index 0000000..8f0dd61 --- /dev/null +++ b/i/laba/navbg_big.gif @@ -0,0 +1,1104 @@ +GIF89a,љч +Sљє‘"Rџ Q–dєrдRЈqZФЄ¦O¤4ќ&е#ТіEЌ^E»VfХЄ7KfќіжN–E§f};—gD†:т= +\№SЩѕm;T©Н›XЛv$©ёІeВ_#пU,.Кћ”Уfъ8±жK4jґmБАuiВVЦue›‹IK>ъісеЯ—YBЖ|w8ЫОДгЌ<»еї°^‰Ц\({хн„vGS[Ѕ2tВБ]пяО¬ёщужYК.є5pИЖ‹?Эk7фтШПM·?*P6аіЭСfљqc©5ЯD©й†z 6и kt=Xа„OЃжЃ¶5ђu†±W`†FщЗЩЂDЭwњsiQ— ‚0Iив‹)ћHњp&ю†Џbшди ‡JИЈ‚Й=7"Џ?.ЕЫoВЁдЋ*йёVyеxг?SІ%еBRкЁеYW"•e•^:©Ш(зM жy&Жѓ5 вє·дњh]yfLd†)&CYb‰eџ_ъeћ1uщз—|Ю8К(}&љеўZЮI% \"™бhm{ъ(ћњt†:i l1*(ў‡J™OЋ«ћЉO>­¶яъ(>¦оiж«ІВZЁ«ѓBzjЄїЋj(•Д¦чжЃѕQ8Яѓ…‰єз‹y +Z«“7тЉП1Uf +®«ж“A·ЪЖ*«”ШВ:nЋЯљлmєгbыЄ»Цє +kбЖ+hЎuЉЩиђџB™)zя*щlew­ЅжЖлн1 ГК°є°л-&·qДc2o_¬n>˜d’IДжF¬к·ёF|Л-˜\МсёЫr і·вЖмлЗ ™љpќ1\мuЗєЦ\ztzhҐ хњ4МR’јmЙЄвК0«;}сµлzј1Йw<1Еg|KД"gў±ЦЮ#2».ПЫtЩЗЌ1З.;ќх·+ ІЭяЩ· kKо°Мв%ўЁї-љЁ»Екншг°‚Н.·Cь1ЭVїњ5ЕАtћБ&›TЬ5ШqЏњс&e‹,єЦЈ>ти‹јmк’s¬zн Чq·ьuЛ\—њ0·бж/ИЭљ{МФјтйзqYЋx™ЧщЖЏwоyЫUлНvЦуЉlLпclvЛз·¬Л&љД­IкpгћAь їПrЭ#—¬ иьwўЛъ›0ы4Q·ґГw¶3Ы·ВV»ѕ•МiЪЉ˜»¶Ж.xEН^@“N‘¦зЁk= r]Дv‡±ЊБЏe˜Р„ +н'І•etќ€Ў bИ \а"†+Ta б· +щ· ˜@ќИ!я4ДNа‚}њ +я‡F2ѕЏ}ь3›A±[+Ћ7БїЅкUЯ‹Хг’ў¶HE*р›URЬXј8лq‰Q +Sд•Ѕ:Цn(Љ‘ЧPь"Vэл^ГЉЖFЧКxUЇzI1`'cЗFО«'жы^јюв¬>®«'ЛЯOњяє]е +»ЊYSш•—Hј2dЈГ• +С–3ЬўЫWб +C°aзjн}8њ*пБ®•<\Є-7YМЃBµ›U1aЈ™йЖ.6Їў°…ЁKqW-ЛвФ§H…,љ\_SрўИў(ЕqCQ`«z§.Е.TX&—‚ў¶Е0|LlbџВЗЎ Е)Jq +UђВЦE¶E0RqЉЈU©P…*t¬мSДГОћ±лj‹ёЪ¦x3bJШяХ‹iV…zMЎгa є voVЫ\Мx’1Љ%}Ј„‡щє^нW„ЄxЂг·ў¶ґ"«¤НИ‰'Vє©ќн4aяJШ W№ИNFЃѓmЉqџвФЩя>u^ѓqЉa”;ЦкЅ«YEqr + +TИ]Зv¶* +‹xДѓйЗЋЕ®ќоъxмвФ=·5)в.фr›b©­cU +z ЮГpцРuvЩЫ;ВWп.\џs`wї© я=.ЏU|6и…PчёџьШДN7ZwщnмQЯЭ]7EЪ‰'жq.ґ2c>Йs/¬a#TЈx]i8¤DЕдKkҐo–`^TW0go™з{FlІ c§жz±А|©аz +®З~ЖzНvsґ7zЩ&‚9зm.˜s7&X џ~фА|І° ЄЛ@ба|µP{.€ +±‚ЁР‚Є¦cШ‡ +µP Гђ №рv#HzM +‹Ejgе ¦p +ўP +ф7…Ф# 7HЭяdBргO*фUэeDъfUVcмҐee˜nАЖeўЖeU'…ш‚Ё uсps®P +SИ|» +Ъt–nwuyyXyЕiќeCьЧF®CZѕуM«…*+ЃЕ3BќS:ЦtJ•жPгeDV†Е°X™wVВЦ‰%WtН–sFЁmБ +.© +R ( ФҐ§…·я +MHѕ +°а +в‡ЉµЧs©¶ >¶ЋБ0…ОђiђNvDuD7DEэwђ¦µ; +ЙZОѓЂ‰+;LДP4дU Fe3wV¬fVAzГЖe>– +OX{Aйt4˜Ќpx•*™’\Й +Ш`vЂ +¬›(˜’ѕ¶`ЛЙ +~Ђ + Ђ +°Љ¬€ +LIѓШЂ +~яа’q0 «° +И9•Ђ‚Р© +оQ)ќ љqё S‚»psФиЌA6—Ш° +Ђ +Ъђ +ГИ„@Й|Є—Џџ‡nзvfB†yV–`r%hЈ•>Ю,Ћb +w7Й?яУ[XPбеEЧ–fхUdј tЖv +!HЊ7З‹ф0”3 + +аљ.) +¶Iѕй WЙ +v0њИ‰ +а +*Й¤PћА @›*–о™’ѕІ№ +Sєњј‰ +І*ИЙ +`Ц@›4 Ц0 +ё©„~pћyJ¤ +оЙ›` +0 +ёй pъ‹пXћlР +° +Бщ¤qА +р°lj +Љ  + YkЁ>љЇ­Р +АЦ0±эJ›ЬКҐгй +Vл +Ц`ЂЂ›ХЙ¶Ош“WiЉР +‹ё0°іЂњЪ`¤аKЁ±јh… +zlNµ@uІP +~]#jзD %p†F/Ш€1+і"3M™ Dоu†кk:[l2˜ѓёЗ|1:ґL‡0ћ~0 -ЙµJЄµДК¦ s©l µМя`·Ш0 +€ тл†`ґ°Ї­АМАЅnЪ +  +Ш;—°° +q їнZµЂЁ­а iЂ€АuйUK›ђ§qРёPё‡ ±l +Љ«Ш°ЇЉА Зi[№вйЊC©№$@¶°ѕЉ0 мK а:•?©§р)‡&€}kYѓ­› +,з™iћDFлSR§•.»ЛЎҐZT"ЈІљP¬Љ‘—JІїАЋ>†t7Щm:g|ґЗЌр№§WЄ +9l§Ц‹ +q@µ­а°ЉЫ +›i +М@ nаОа nР­@ ђ`няъ +Їа ъ+µ€анJ ј +lLАФК ; Ља +мА†`МPГиК¶Ђ +(<—ірѕщ«ёґа +n,ї>Љ +­Ђ +.й pНР Ј¬ёPГмЛЖЗ:›ІI•Ѕљ KXЏба…ЁX Іwc¶ +Д v%y“§ЊЅРЌГ +і +РђРРђP’°Ќ ёђ+ВiР Ї@ Ь®Ѓ,И…њС‚м ђРЌ Зul’ЬСЦpћ—њ¶™мщ*°р +Р +нљ‰@З‰Lwмр +` +6мЈџ{‰p,Ц„¬Рk +@¶f»ґЅPґ3Ъ|`НoX +§ mЫЬНb†‘ ¶VЇґ2 I3Џ іfB Z‚M vuјPlП¦mpGПЁi‚ё9–ы®аћSщҐШ`ћJ*ВщљЙЇ@Т э†PepАИЊМИђР ’ #Э‹P‹ђ +ђ0Иm@ mя0И€Р‰РР ќСО`rЊр‹m`У$а М ИаЬЉ@АґiЪ‹ amЫрн + ·Y}ё©< —=њWЪђ“В|ПPшvоч~Ж 3†Q~жT4>жД„ѓО2у;IҐB6фVl–ШЊэl7Ё ·И‹%8ЩcI¤wЉѕ˜Н­Љ +PЗђР +@­Љ;ХЃР +М}ИОР +н p‡p’АЪt¬ЮЭэФЮНИ$P]PЭЙz[[ю¦Н +ЛИ +БФ*ХяЊњXЂ`ЅЯъНг¶њХ{ѕжyЩqШћ ~”є +vZ›ѕЉКѕm:Лґм®$РЫр +n оъ +Ц3‚ -Ђ‹ђ¦]†р +ЉЛ®rЬ¦]ђрЃ Фђ°ЈЬQnФ‰Pд$ЂпЭ +pЗ„,рФЄq +ѕ]°Нi~'°„ЂЊl·}U°и =]ЪЯЫ‹аЫ’pЂдЃАчjЮ ‚@w`ФђpиRлУr\ТВ ?’?ЂЬnФЯ>КЉ,Зв}' °e е·m +O‰ђр‡/Ы$я +ЁЯЇ Фы*„Рч-ђрP,@ЫiаСЇп$Њ +Ь¦l›§pЁҐ;*u5wЩшєз–]Е[e›…DвЊ:Ьѓ2Ђв3 яb–iIXЊX°ъkHgkІЁ…Fй|TПйчњ~`§=—‹« +$CЌњµiµ3,]HF8ДўМH€ЬґqЈH6lґЭґc‡бrЩAаКqЂpфР‹W Єx©TќJ•ЄФзRЎ~…ъкУ'N&LhЪ”Бµл|щрН¦]Яя?ЬяjЗО—Ў·л[˜2m"®‰“0a ”‡%Є/RќU©Љ7= +Є „†ёб† °С%ё‚l°Ў‡йdнб2Х”ФNgu·Ш2РФ5T‰Ы¤RN<жO\”` +OePDk©е:­{9” +륀Вм +Ic­4.  +C*ђ¤ЌEТxа•6 iЈЦ%№Г*Ї‚Ї9Єb6шв‹$y«‹Ј(Ш *УЄ.98A©бЉ+jђв€ Apўѓ2ccЋ9ЖPшYю©ъz€y’ +`—ЩђEФ,w0Dє ЃЊ+"-($ ¦ ь.О@D+¬E¬bHАџxяЋ^TЏЛ…вbaВS”0Ё€Мг@S +Q(Gm§QЫ€s‹а`nµСНЁJµ)T +‡8њX[«<1X‘MШ‰З +QAЏ^„# +  +о$аЉЂБ+ј˜lь &М°@L^т +$! + +Б rђ‡$Ђ +GЉиT¦‰Џ O +ђµр\сЉВOfб +жEЇ!Lб +>˜B(™p"Ѓ JњМѓЗ˜`ї#€! +±)Ё'ЛйЭ @иАnР‘oЙЂwшпКР!№Л]ЖDI"jw +\  Н|f4уЖpР1֘ЕCµ +2ГFP$'8БHNђСиu|7<и‘љЄФ, Й%ъ®їшЕ1•см¦j’AЃmЪЙпЮ‹7ђAхVд8o#‡Ё +S4§‚\|ј¶NСnќ%•<}ш»QKяЦ„>+е‰WҐцСйLў$ЈM^Y1‹ pЕџУ_ђЗ;)V6fс +ѕ"ikyE#>рЃE°аҐkU.s«Pа@¤$2 ЙFє €Ez+»tK„7`¤NЮ “вB0Їу.Б GђS' +„еYH’IшРћА„&Ња@Ѓ F0Ј‘™ жхXNц­%х¬ +jш +Iа—¬Х‚!d! CH©™фuћmАxѕǘ”"…Ѕ%’€HтФФ +?Ђ°‰µ`ЋMБоУё{n‹w‘m3ЮФУЮчn2ЪZЉжЈЯяVEЦІМќ(ґЉ~°њ6,W˜? + vђ@ґ^сЃj= +ьіјБE„рЄ!эE…%Ш\’2?п +ъ‚°S¶ІvЂRЂР‡>aAк<лAяЈїy&а4А:­Л‚”чўћ*°$ `˜Ѓ@d9…„rсЏкЩ +Бi[ І{¬,»2о +‹Ђ›Ѓ8”ЃxAь.ЪpъCѓкЃ&hRг‚<иЂфJ/(8ЂЂ"˜?#Y‚<аOЃRBЁ?) + B"Ф!#јҐ—05аЂRХUшъ + Е%ЂDшб#I’QµЃ Ф P‚ АT!шY)h*'ЂЃ˜'XЛ#p:™Л¤!ШR„03ёЃ-HґшЩшћЫa+«Lг‚шN?\‘)ЁЃІZ0т¬т”CЇXг4љ„…hmШЛW`6ГАVј+ Ђ&JМSи2пЁСе…Ф +…еш„"hТ¶aЧvеЌyВ8• +нєЉ Жа4@„x +%«<‚нх. 1А_”цЃЙ1 +xґЎ:1АDTд—*Ѓ‘ +P‘;Г©ЯaЊр’z…ІБ8hЂ9Б‰g’ +њsЕ1Ђв »vl^Џg#ijЭ8`EрK2*жООмeи6¤#eЫ%Ф^TЇT«ҐФM:Ee’1ИЃџщ–, ‘Џ©Х-а‚е‰ЃOZЁ˜)џ¤Ф°ЃЃЂPдяЎ5џ‚JЯц4ї3а>xЃ3шЃ=ёs>PрY5‡‚VѕшС +ІЎІЃ*Э'ЋмР А€qА\ Ёс›рз¤y Ђ¦VЁ® 8вћ­љЃ:­’—њ#g‚aЬ)ш™‘Ы™oY*°Ъ +(Ёў/мЌYЃ)Xп“ѕ Ђ РПЎ‚%€O8Їыт№“qTъSЃ16'яFlІZ(шЪщЃ)ђ$м…?a›ёс5х’№$ЩЃ·8„$0nфЮ4б +ђҐґJщ.8Ѓ2`Ѓ†иџђ;Hux‰›@Qм Д mр…љHЂЬЛ8…ІсСJЎ”vкf·)RЮНG•µБ…NЁGWyS…CAцШMА вМЖмЪ‹VвaыhЦцpgЁ +ЬЋ¤ѕІ]T§;аеЦцИєЎ’юCХ3Iɘм]Iуh4ЏчЊ‡ЩтL\ +њєsвРЎ‚U!D… + Д +7@ф +„Й8”!Bd‚[ѕЊ`т…Г4\¦\№ІbE¶F LPў$FЌ%pяД аx…ЌJАа"ДИ'K~ +6¬ +„`я©S¦l‰ +'ёpТ‰&›l’I&˜d°`> +жѓ„ш8˜O˜`b &љ dB +-дђ)©Ё’Љ} +‘Gg•Ц7ҐtАT<М0Cc„яTcp1ЫRФ +Gн +OС¦QDaCdЂAF~F±ВPЁpА +Џр— +AЎ„›“N°А.Њ +К-'IiRE '$В$m,ТЖv*µБВОё’¬¤W­+®аG8~6Ъ„S@Є˜« +D¤ф +1БIЃ&Ё ѓ +F(Ўѓ ^€a'&QDBДS +/Ґ<ґ‹*сTdў ёВЉД1‹ДqXcН +=P\=p@Е№ж±!bpСZS@с‚ `1”¬C(v… yра‚ +%”0ЁФQx +` :БO\ГB,pАc+Ф ВddёщжSё0* К +a…SL›AђA†5@ВЌ» +\*З *\Бs<Ђђ‡ 2,uГЃ,",!Е&RFЇ”с@іМё!Iґ€„ЫpzЦ:јm8­І» +ђ r7’ +FAџ @ +1 pРГTJ —: +Љ€П"`з DШБр…„ф„Ј +€uЛс€G-рЈSьўxџшд'вЕ< 9ПAш8„ў· ГХ#€'@!°PЂhя©€*FЏр№"H +D`Dъsђ­™@шЃ њ (\aЊ=4Ј + „  Ђ +mиЈ3ўz‡2PХђxE˜ЎЂнH «шк +O”B¶°Е)Nq.ґю2€\OГ|!ЂЋА + f-@#7l§ЏЇpjЬHMћ"Hт‰ Њ4 +м µqBxА4pТЕfW`ФЬFО4j1Иm Аp†•Ћt8рm ‚аQxNFJPХl бћaћpX)GщА‡ L`Ђ +МИ(ЗФф +ћ¤аM§‚NЉr +аЂЊ•¬йБИяX +`ю¬З_!rC¤!ђX  +¦pЂ#Ў'Ґ„щ9‰€.@Цx‚Н"Ч*тJqMсfѕ@л ь…gђt±з{ +фЪl”ЫЃ +@ЃHБ„СФАхќl”SlpЬЂ®Ь +FџФЯ=­@®ќЃL@џ JЖҐ`ФхЕ +€ +ђФѕWrнЪрђ +Ф@IA $ЧfX ґЭ +HЃЁЂ©Ђш–ёҐЃҐq€ЃTlЖм +Ц'p‚@~В@ш)нШ(D€*‚0dЂ$ДB„B)њВ0 +Ђ5АfaVK4А ·№O8в› ‚чqЂOIPиМRLP«UPа-ЎAП±S9aT)FЃ=нA\SrҐY†PК|SсEНч4У­LJ7й:КЙяSШPЎJ••ЄП +ЪX@Dр«4† µyђ€a ,2НА" ЕUтд‘ЈG‚wЬёДD&LЂN 2DЂ B W€™r»Д™(N12бА0`ИЂ9ув +~шс¤‡Ѓ&?~,я±„z‡IFL9тИYт +LЁOX-\ИP¦РѕЕ‰юsВ &ЂиЎѓ/x +Hiг’Lr‘”a –˜bљ©¦µrЙ •ЃEя(ўЊBJ)LІz +*©ЁЄк*¬2Щ„IMѕ*,QЂJ…Jћв Ђp@АЃ·XЎ)¦8А.f˜qЖ7q¦ +АЪHЈ‚4ШlDЕdЁў +‡dШЂ*8P(„ѕО¶ёЃ)j в +жў€В€(А8­„)`“m‰#TёmЉЬ UВ%”€BУ€бЊ3аPЋ +є»В‡Fшaј,rЅ/@ +e( lQE+г 'њ·`…hљЊУa3i…–“^™’8CjD†оД“ЉЈ"®sAѓ$2#1v"‰$n“В +ўBЯКhП9!яТивЩ,XaZ˜y  +DДgFX`‘А‰гђq•p|)ЂћZ6о˜QDБYdЈ:1щ–”W6’*VЃYМJV3‘г~Ў0EЗx† +ћРh®Ш’¶„ +Ь +аZА0ЃHБбW0Ђ¦`ЙК.€Б юж„ +6РвJђљ3мB0P,А + +WђВF`ѓ#ґ-ЈWЂLГ›Яdq‹‰S 0ј “р +P CDPHФ  Lё*ўФµ +!3<° +…(~ 1r@¶ !˜K~±є|А +с v[ґHо.Њу&рЉК шc:ѕ к4Е’ѓЋc8А` ‘jЗ*йЈ\M!8Ђ@–аPvаСцO^@`rа“v  AёВђИpѓ~i&°AbVa + +фb$N1$Т`Y@ё¬&O fмe@"keЋЕA !М&lbкЋqмb +–АйњАц ѕa†ю‘vnзлjА xЂ Т¤ЌR!\€ +$Ry*2X  . #Н„:Т#ЭBь +ОТ†’ ?З +¤.Ё`ЂBяСу В8h +БАXcШ< ЄJc@MZя‰ Йh + ЂE'ЎО@ €Ђ5onа +А&t" +oT^jDБ +ОЂSсnзu<т ЁФ +¶bв +@9й!b'ЦµВ!b`vAdІК8v,>vљN&dџ‚dҐ"I’діPVМѕ,Дb,ЂВdБKXЃО^‚&т¬”fgяljl)ц)џЁЖ…¤G2м$"%MjеZ€’ +е†&Нє` ?Ђ +aё J!\Ґ5\C +8 +vнЙQЬжK4Ѕ•E«СX'Ѓ1% tФЦ +†•¦&Ўm_ +WauнАЋcЋo-и +Ё й дDб'˜)€fuл &¬ЧL`g!Ѓ·@В–°r|«>@иe®Fх1d@ ­3: lvаOШ% vШй¬Л^ѓу"Е@R‡лш® :ЂnА`'…7J +*w +&Аї$Їh UИ` °м¶ЖnЭёТ +яВ feф’ ”o”’O2T©H‰ЂёgЭАLZЎ|¬a~iu]бµь ‰UІ±ґ!\·ЉЇx='«(‰в+¶ЊЊIxReИшdОШJО<ХШ8vЃdБ„эд‚&xоzuЦГњA?AЈ3uџ9O8 ђTАТOЌЋez`Ш7„>Є+@|LЈ5ўа1µ®bЩ[ЌЂBЂ  Ђщ fm„MpFНСцсQ(,Iщ`h`J@uЌЧ&!Фє±PнU4°ј\ +а †YpA©бОУ—‹Вh6ПВ€аuZM +дХ@Цe Zє†Њ"c‡C я>€&*yOШЂ&в“ав¬ +¤ъ0)ЎЋ`Ф`b`,ЉЌ`„П ЫіXаЉґ[R…шо b№«Z Шu¦щ«ЫK2e T`пј­mq +RЮ«U§У-·e?®Ђ\4 + +~А@Ю +”…O$„"@"Є !(B" L¤ +яј‡Р§%А°а%^7Љ–±1¶ш\a'вAк”MџyDъсwЃ!дЉЊ: ™‚Ђ:Ў KЋЦШ~РмЂВЪBz§ША‚“L[Ѓ{‚–ц>аџ>  оаyzbЏо$"нu]€Б’ +’#ЬИqА +8Ђ‘„ €ОыoцаЁЏ„ ЅЬЛЊNё¶ы‹к+Ш’ЩђўJ +И{Z—Ђ:аZNрн‹ш’‘аF К + ё1Цъ +АґЖјМ©а‡Сњ…˜kт@"c€*cAB +<ЬиЖ¤ЏЌѓ€аАEЌА + ж'а19Э + Ђ@Э@ё˜й–‘ЦЪ4 GХ·wfC4\M +°0Ы‚l†gЧЫК!ЄЂАR…$г&/Мд`gВШ­a˜м |A +%КЁOњ4iЪ” “H`2дГ‡_ѕ•'Yж+)2“МL›я:qвф Ч§OћB… +v*и)Wv&@а`Ц,6l˜9uгQљWTЫ¤Ѓ)M™@wєRђA…К + TEЖ TrlI" rЕ„Н1ВЕ'#€Ш€Ў‚FўЂЃГЗѓЋhZ1Ќ‘ ДrN # АyзБ% ОњЃ`DЙ0ZG9}fЏЈB +Qт<©µn!\с«вИ`Аa8оЩГ 0Q”њГzAђ€_ђ1dEђ|Gд•в$O’<7Fм“ѓC’bД +v-2Є’!‘gОЬРb*ЃЉДЗ*8P” +а=сШб`я8 EП)¤Pd‹'нДI'‰$’I&ќ„’K(•”&%НdЊ1љШtУN<щdЉP¤h“ +,°Xг”PE5U#Ќґ±€!ZmХЊW‚ИРU'rSжАV[h +0Д0Ѓ QQ”pЖ$Јy°Зkј…vd–™fЋ|%zNRВ`€ЕќD +) &b…xЖ@¤­1EЁSx7ВЁN(aаPВЂcПA°r°А|,gГD±.ђъГЬђ‡#0DbЬpГC —Ct1€ hЙ@Vm<аF+L) ИяЂ&Ађ6Ъ,иK8„гG„с Pa +WЁ@ ++бNЏ +*©TT‘ѕћ|трї МbБџ€pА˜АШ°GЩиIOҐ5Ѕ№ДЃ +<3љі1@mbЛХЬ€Г L +ањ  +qђa€Аp†ј ;6(г*C„+ьF +#hЦяЂА:1d‰7ИЃлQ…‚ ДСH4‚[ьqѓ„T ёB + +ЂЉ3^б$юВ +LDОf†–*TaаAґv0¦!)Gф3Т…БrU +[и,`%ћцаs>РЂ я0и®ЮP&Ja +50@Кїђ„!Б0БёЄ%ЩcE +Д +њd¶`I1 +T„А€252р +Zёy№° ’$ Іђ1©0 +“ ж“’ѓ{C " +г +а‡°р{Mе +йs=ШW› ’$‰J$ж“o @1ћ`W<цђЄЂ +±Ђm›·WЪpCЖl°Ї`2а$BёwYg!B‰‚0~ф_C3&рbK`&Э1jDЂ95)ysСk5% +іT +щyЁ +«  +X:?  +¶) +л њ°Шу/$"’)Q’nh{ќ +S1¦`WҐpUСS Є`ѕр§«°WЉРNqЁ‰jN2L’0e—%}h;X@Y6pQtAfзXWаСxґF«e„^&„ Q@ Y{ЄJ +АЦ`› з ттyЄЂ‘B +&жњВp¬GJ®gJг3cжc; +Ў°‘ў +|,» +?0Л +0|ьaіW3‹Ґ|d±32°3 Y-a27 +L +є—­Ad G +Р Ї[e°ёЛъБљ·+‡ +ж"  +лў…В{UB +ўњk±bЛ«†)± +s oхJТKЅujЅ`=1Uбђ +U§иO«(u +…Zїс•?АØЈХҐF0`Q`ђтQ8аQ хБ»Rkё68ЌТhџЗўw=А`-ЏXє]ђћXpЁщєНp + +уVњР/ +Ґ`1ґ4 в¦І‘a~ +­ЙЇ ?.Јє—Ь233d;X-й±уЫz—A|18SРЊWЌPpЃеґ +˜7` +…Aс*Ш*Ѓі]МтAЯ<_=sK +бЁP ^UАIЗrљnЎ”С'‚И№=>˜J }3±vКm^И§№аH@ .]p»ДіыKiP€рx\Q%<Ј”„GU0їу+AГВ<ђAНxГ.ђЃe­RP™C ­±ЂnGUkQfІсuжЌG@ѕЎFѓгящ0AНyаRлСЋп:АtAu¶g‡ў«мђuJ  ZN@Qр(„Ј–2w ЃдГL°ЃWчЎ2@*@,;°:ЂЂx‚03я<Ъ’р2i`Ђф +ЛќТфа„ +wlЗжЭ‚°Њ(MФ*Cm¤< `:(gБKрАL$8Э_ЪХqі1 /р^+PБ‚НR›&8ѓ#алкШк­Ѕ64a’b + +Y.њ»Ѕ=-’†# ж,Ўњ2!‡О “Кќ1фrmЅа °ҐЌ\Ё„Е„Хv.ћЊЕ’H:uэ%MyРYрНО °mW 8G ЄL¤џp '±БQъз,gW7ЌРи6 +Mhµ`в¶ љDЗ>Ўют¦fo^~0ї’#њwEІ™ +ЁY€<† + +XЄ`9ФEP,’єPёsўЊ¤2Н Ajг†37ЦЊ*ЂНЋ6;°…ЈG/W|jЭf(›I®&M&:uхTЄX)ѕІRҐЉ/—/?~\№B +-7Ќ,§‘dHТў@'NЬ№‰‹ )7PI"  xt’зFЕ+*TЃвД‡Ѓ)R®ШPa +˜3“Рр1b„D(R0J±q¤єR¦/qс€t&L0†!I€ +я„dPC%‡ ,9rм +n] )љШИД)љнA +¦PaЉ#’ИГ5ZKн†$v¤З№Ј!»ёг#ЛHгHpГЌ±& ¬Ye;€ГЃ^®¤ +kL2113µрщзџ·Рљ+N9Бт$˜_швЕYшЊЂґ@l°™eЈ¬aГ‚ЎmФQМ&M$ђ;оMA\Єb†S !ЏФ@ +м[/Ж“Ж@ГѕЖ ) +Ів€,..0~а!z&> +#&PВ Е·б +PxҐEиĘМr&·DmjmК]4С‰«С‰ЎEV†qЉАД# +hЂe±I° e(ѓg,яХ‚Mqк4Вv 8Чр`?.П `›W1®UЄ]ѓVpЂб ›CNr<ЗЂ8AuрЄаu*р° к +fЕ¬аШF–“s‚€Ј2”ЂЃГ Оа€BPb#˜ЈvњpfЃФXфиt±$Њ Ѓd~f°T* +Б +;XяNS- 0!z<ий–° +u’{Шѓ‡BЂп 0€V@„Y©а коК*"˜ +yмА-с*XжБ[›Бdp€4#S-HГРЊ2,ВQmА¬Ѓ”8 џMЂ +TD…ўeErг 6°О`™dа(HвЧЅГC…„TA«НУ +j°‚+Д`"@р+S0`“ COSgђh"xДcdГLБ +S”†]щc;ЫsЪvjя№Н„ иТ ¬Эй¶ E7‹СЪgіЖ +ћсЂ=ШБйxА…<„ S%Д "0 +T +f „ЁЂHы„ F#±оДаЭ*Tс ­sЃ +АбЯм•@/ хB„@њ torђ›B` +GЈ[aЃ'Е€ѓґA¶ћЕc»ая’)LС•ЮѕvО™ - я1Љ;Яb.zЦX:x§¬иI±0n٘RҐ8(z +вrћ Ц@€»‰Ў&„Ё°y'€d[!иn№хЧQ шАл.ДJР№3„Ct' +1ЎB= CCEСS‹с +п'¦SґЖШ,gи8Є{I“„…  aў‰RЏm1@ЂҐc‹ќі;»S)°Ъ!ЧиЃРY8‚ђ*Ј2‚µ(#Ё58р•юк»p•% щЄ[Z$`—ё@8"ИГ±.ш‚®z‚ИЃGўЂChAР€Ђ*ђЁ +&`53TЌшЃ „C—XЏ#мo9ђБ‚#№›;HHяHѓEД>ђDJґDk83Ё@…]P +‰ў†Фќ!Ђ !‘3ђ +pJРGxЃ  +Бђ!8Ђ +ш 7(Cq Jt +S.¤2`‚58BX5Pѓ1˜Hp‚[Тѓ’xA˜Ѓ`Т‹ьВ=Ђѓощћ„X + +ь$ЃЮиЈЙБAС9Й‡q‚˜њB]Ђ +ЙLR|Ря:=Ф¤ѓйщЃэШцЎЗ\у! +ш‚` +“Ё$¤ЂЖ"&"Z„ +ЛP 'QА'«ёЎ +fh +ђ› Ь`ПСђЄ°$@ —!и‹й6мЈ™э(7b–dЃ‚Ъ@њ2R‚st·–ѓа\›„ѕ;=pS°ЌT± +›µ•p4џ3|1µЭЫЕ +  Їя 2ёґ!Б D\Dh +(ѓDёЂ4ё8 +И‰ВS™ўR‘ЌИХЅ ш‚8‚+н©“|ђаpЈ# #%Ё5/@Го€НЩ»як;.фЂ(h‚˜€#Иўкќ%'–rЬеb€+#)Vќ“,‘%€hX2нL +й™вHX˜ + ‡єѓеяk†;h†WЁѕ©e†‚…^tЂU0Љpр?ТJЛXшЯRP Ц­€€±з…µ†А!рИ1@.CлЁ +њu&˜%—јЃJІЅ[сMдCrB,€Ђ˜ +,0z©;V‚р1‚рй[C«ТЭ;ЊdЂФҐ"@&0WyЮa˜W0ЕgЫхЂ HќX‘‚Ј8Ґ#А'ѕH›ъ•H=Н Э:Ц%ё•†0#ёОкЙАгYJМi˜ЦЃ–мтLёФИЏь ‰hІ%ld ЎЂ2`ЃџaCш +j7+кяUeҐ.[5IаЄ 9!ж^†¬@ЦMДк•УЂ…FіI|›йJ(НX„Bґґ›`aљђЁ'‚QИэ№N‚„Гaіібs=;ђ6'HЃњ-ќp/…#(Ћ щGжhЅ%EОBрЂзВ3ЂйиY!kЛюТ|¶]'л@)ЗДT „‚ЋШюr18 Ѓ“Э8¦c‡А!(гP‚ѕЄЌфЃ>F‰ЩaaЎвѓKsЌЙ[ЪЁЄ„%㴈ЛЙ‡ЛЊ˜V&¦®0”§“ +ю;- +^ЪЏ<и +Nт О#ў0 +(5Ш_!вc +э5{±±‚焆„L dмA%Ас‚J…в€J“@XPEfдѓ…x@%(iёЎ¦ґ‡€gАJ(СQбУ +9Б@„M6РЁBа E +DҐ”GMIЃBTNЁЂД# +b„0CTT±A‡D +RHq„S<;E +Ё +2бц2А +{р±..Ѓѓ)љH@S)LqDQ1‘У‹A,6…ФR©@Дкa @tPм‘ЬpГ СWIDЙБ аAДЪE3’њY—m в†ј9ЂЦ ЂЂ6бРх.»Иb /¦рвI1Ђв"(fя™`r(ўш(К™hdvYjџ°нљ(ЏҐ‚ЉЬ™ +ЂMnqфvґ€8s*^i\Р‡8‡¬И ѓ Pqkґњї¶ B ф +U˜"„јаEk7‚С‘о +М‚‚¤uУ‘о#1а‰~Vp + M­hЕo6и‡я +- ®^–‡НЌаY¬ѓVzЂ‚%,Ѓњ[‚>6є“Т‡)5ђ‚ь®°аД(0ЂOb°‚бHJAp + €щЂ(*ЂQT +Љ‡и $AHи…яHcѓС$ђ +ѓўн'„Q StY<Ьm +0h%Ъ…Ґ|+3%Pц#„ШЅ|Ґ…uЉ"ыg@нB$VЫе;0р1@)Ќ У3 ЁїsдЙ…S„Ђ&1hпJL„ҐX»•H!А|TLЈS–n +уб+¤@­)РџыwИrѓПхЂЗ! НjU+ИтЊg‚»Гкў& GБ†ѕYЂ^„#сHE*яN! +>…PњPmfИм™t†QАЌ.:ОжХ€‚Ґ чй ;¬ЦP`˜С†>;Г i +| ЛTVЊйe#xўjъц—c±Г‰Еp°GЎtЏ&ўД±I™®з![ЄJ +ш4,”=цЧ!ЇћcнѕэЅЩ ' +гX’Р¤Gбe! g+ЕЅЉЎp№CQЃ<Ђќ5ьй +ёВ~Pш–Mr?yвggЕГ|`|Q˜Ш8&t±яNMHЄНЎ№)>ЁЉxhКvpАnЊИЊ>УвT‚–„$.°иМ +зіўh +¦@‡О№а){Ќ{Ћђ‚У9=>l,сLO»9кOјИMБ”~ША숋8ШWхДчtlПTќьЃd·МQ‹ЂЛK8Д…НСшФN ˜Т +ёN¬Фі˜Rй,ЕLСИ|KТMA +јЯҐЂЊљ|@БэЂ Б‘hЋё +М Ц DyЙО,P P–$T@#ђА^Њ +"0ѓДAШБgЙћВЎВ)ЦшI(Ђ.апЃЌпБУўА–hятЩSИ1)<_<Ђ“hхYѓiЦp$,B”БЂЙsDЗCС +! Sи`D…zlЪ‘\ў@МіЬЯЁіИXкґЗµ•`аI›лаСіЕ@ЮЕвЂлђRX]Oь—ШиЋRќРЖр„ёФ|х €Ђ¤И…•’аµM­O‡ќЋйPL‰№UR`‹@ЛJ][©1‹.)K™[{@ћx©Зx- `ЃEш\М[b5ЬsaA\ђчµA:C”µ‚°БnШЃ°‚•С +TЪЊэё +‰xс +8Б|¤@ +‰ьdKщЂ{ЊП·БNмЗLЕ~дЗ +А +E«™ OE~АT +xLфW0ЦАL­Х[еДДў{˜ОЖЂG$eRР6:‰…S¤@©ХG|аUДи’x‘”з М°hEY@ъЈ9ЎJ1T PА4 °Ђ!¬IЯґ\+ьchѓш‚hСГ$BFCК-hЖ™ЅУ?јVЕe‚с!џjЂ‚(”УNЌ*hdФ +6XѓђЉя<Ђ‡!B"\ +LАNРИMДОЉХ€ +¤WЌ42ЦОWЭHЂ{\%Ю№Z,©А·‰ПL%…ґХSЋ•¬ м•˜’и8Лz¤[КXEІHћ»Ѓ‡ИЫ +PDЭМ3EУ4}@qе#3Ќ ‘ +$ +m&ЬBШ€MgџЩа¦nТVџ˜B*t)Г 'qbѓ'rІЃ1зЁ)tЮA О2±Eзi яЈVYxEФdxСOT А ЃSШЯ8в•{„лtЁRДЊђА +D‡ гЖ¬@‰i[,™ ЄmL‰ЕNƘhQD›н”ХДрИґРHQјСT +ВJ"CЙЕB@В59CpM‘© +ШtЬ:UЖd„В—2\Ьф‚6p¤)rZ@5 +(榹@Q +eіњХЊќПяэ¬О®~j%…Д +(›ЧйЗз ±¤А8KиёПyNБњХјХ‚…ЄqМІаХРЋД@‹Ь„ @ +h(Rа€()ЕЕрДыААШµQД• +„ЊЉ][§¶ТЊN§К˜ЕЋС‘Р Лз`…•„Ђр\ЫV«cН +stA4C]5Ђ8-ёЃ)’љkћSџ°Н' К-Ь‚»&JЩ Miњ +Щk”Bc(\<Рѓцk(‚мmAµ$Ёi4ѓ’!K"S…ЂД vh…Ќ­GэФOзшА4 Ш•Д‘‰вDzЅQаeМ‹H]ґй±ня ‚ЛмРЋВБHћњm.=^У%ЙЊЧ.ЌЗxєOЧ2EQ”љ Ш¤ +Ђ~ЕNR€NVВNМљPДАЬDн‡н  иИюЩQȘRа©Ђ0r['љОш +ъDM БЛуЃ_ќО& tОХояЁ‰b›ё}М(yБ·Ф„Qј” B%WЮ„Є~Пст‡¬ЭЌ],Љ’µ%PЁ(6Kн +‰Оѕ‡b‚gМAWдAYдБк&Vc№Е!P!ЯЃ$‚^иEHЂ!Ђhѓ€V +™B(ь‚ Ј†.а&•z†:Љ”n +qBГdа“ҐД*dоo"XАe‘дxџбґАшiЙ0Ў_Wф@–&‚T_9]{ЂL|„Њ[ЕИ+жNФT‰K ¤€PtЂp˜ФС:пЗЮY]YЋQz СЃыЃ@ЕІ‚3э€›Xе/-­Qіф@чА„л/Ќ,L©аЩяOЃёAO\A†еСм,LNНs‹ЁвІеD~р‰СRz=‹’Њ‡’р@P"Y –tЙaA—Б)WАљ4Вrю™"Ђ +7n Kй:Б0'C1јЌ)м˜@ +ёd%А`OўЂ_IЕCKЊ{]› КGQBМђђТчфЫL,пРTN\ЃяO$( „›G;Ѓй‰/щХUЬАѓЕ +l ‘№E0\” ЬAРЪrЖБ, хСS·¦kJ\ +W0X5Щаљ‘ЖсҐEЋњ)ЁBЬрђ¦Ш˜µЁйB3Lр `П4 рJ„‘Й”—xutщјt© % +dZz@Ex¦Ф +$Эlа±PБіtи·БҐРПАА@€ +@Мщёф[ѕbc/@ьѕЇXЌЪ~| ` тЋЇЧбTOAT€—,БG9ќ њNbТр•.щЂАNY…L: +#EcЭ +·”љ*н®[сЕьсЏ|¬hзи‡MЁфЭа‡†®@‹ЌОµ™љьАэ‘9&3a'gБ™[ДE7C"  “\+ДЃАІ6¤f.4ЖЕ·Жj : +OiШ°ч;ЅЦЎ0zЗй‚ $џ'\ЌA’В.DM +ЁґHБ +a9`ў%Ab"дБCЖ8y" +^QҐ†*jш˜ўу€:#ЂфшDћ»шмЪНђ)“&];}Є)SЄTхЎ @; 8ђА† +яі4‹оєУ%‚ Trм +Ёxy +C ЃЌ8вp`В@IДRyF”RBж“NЬК$®№2Ёл.јтЙ’Їѕ4С$0Бx Ж0UPЩ%ћ +HЂ;PД6ZiаѓEє8$*,ЩЂ +ЭfўMЈIa!ЮXТпA!*ІИBе$`#ў(uS!”ђn:FВaW…@Б…%ѕCб$|pв\@в‡#`˜m&)¤ А6›Ћ˜BБ‚‡ѓ8pьі!¶І‹бЉ‡ш+ИЫ!hрSеRўhхѓўа<Ђ€Ьd«XA„В YиЂЁў†ё!@rР‚©*"АўЁоё Ќ +ТАJ«"µСFЂ +“JБ>yТSR‰Зе`о +Ѓ9 Б™;я7Ы ‹*–Кa +4И# Ђ8TQ[З»‚¦—КИЂ+ІНТ¦…Фb($s#дT‰(D +"®ЁЃ›¤XA!ју.А…Є†a‘ ’0Z‰X’hUxKЙВsЈU # +"ЂZТОz8Яц+("w3RБ»ЬUбЉ¤ҐXbV:ЂаЎ(НЃ +1l'dAZ€Ђ­Є ‚њ‘ ЋY`%Ѓ(¦TTq’˜(Ы„c+=Оd|ІМ’d’ЕS˜2 +;Нx`цЈ«U М™›Y€Є ,:уsС‚ЦCuб^P + 0ЃРБuЁC@p‰!)L‘AЃ…CњЂV‘Д>РЂH` +Ћ\двyЄ8KZ@ЉЌсеJZЪ’^жr‹’ќмяг+…)X– +TД#б(@W°A3D ў eиB6#ѓ*bЎВтРЃ:0aK •®  D!@8PЊ0­Џ +8` ар5€ЂdxA Ве… у,A’8Ѓ@ (X +ґ%Ё ЄpАo\@ђ:ҐшB4 (- +ђяЃ +¶Й2,вV!ћ5¬‡UtҐ +`†Ъ gJеU` +BріиЃh=PTІЬf„TБ FxА¶ + а0С·%и вй!њБ¬gёoCE`O2С /ё\<ба[Ж DTВS?lR%€Аk A®кkќPл@иЂяк ‡ЕU ZД Є AH%a,ЂДТ +v›B +r9/Ш*Hо +€0Ц €Љ˜+tCс| +кx•Ђk%Ф $BЁЃ"YЄяИка ю”6PкЂ„рА_юЪЃАљ"MBіЃЂД'!С†8Аb +ђЂ5ЈЌp$# +Tш™ї’ +T +Ћ +\ ER¤ц'чv w6@вљA$Б@© +&@R‰1NЂ JBaъ¬‡вєыфBыЊ!ЬBPжыLбRAЦ„ьґf!(µЪЇћ‚ zq•~"а3f4Hѓѕ ъ§'®1|аЦ–1ܘ*ЎZЛ·~!љђе›ѕе»ћщ8ѕз»ZчЫZыыЋуАн{Аэъїл›їс[Бьѕэ[їјБ%њБ#ЬА-њА|В/|БњН |амTаж¬ЬJ’n wr ¦ Q“жG^Ѓ +~54 +р У Ћ!lЭцГЅ]»lН·НйОпјїЭјОгП\ПН•ПуЬО=m эП =Р +]Оы\Р=СчС=О'0дЂb%–’аghDAљv,*љйGА^Б`+@bюЂ`7N!ъb‰J„ьzвўИс“f/‹—>б€IБlб|ТGy[сґфVпаNЂ(Ђ~6Ђr`h2ЮЊX‘`VZѓ Єг +"TИР!Д‚ы&\Шрб@Њ)v€CIЌ1V(qAgD‡z’hё1P€36МАrи…2Ѓ$AкL‚vђъЎ *T¦J‰т䉓U]›2eВД5C†|щрб 6C¦[™4яiкФ‰Ё·ўJ•"…*=zґ9€3Л7ґЪH*УмО +X"D˜A…JЋЂт$Q’?– ЎеЉJ&LШgВЯВ}ьцLЌp`йУ©WпkMЪфАШюXc|}[uоЩ»mЈц­ЫµpЬЕkГ&ЬшrЩґy‡ьщпиЗ™·цґAXЋ¤G’@ѓШЖveAKjYљ¶FцУ-“ЯЄ¶­ёиY.jбЋ«оoмr›®’рћл.ЅаКлmЅнО»®Ѕют«/№Ј»oЏ1А@ +N°ѓ +­pА*2ЋpшxҐ0ђ'@ah‚x4;т0q‹[`BЛУD8A•и‘‚.ґ +@ґ‘Ђ8 АЉ@DњQ†э„с„‹±ћ!h 8мБШ u0`8€Aў  +4ЄНшШ&EёіА†6 +ђ2rF…S„YAXm« ДДЬ€B +њ…A bЂ0€ їс‡ф1Э®6¤™u­M{лXлљ!ј^€Їi +lЊя;5І&¶­ЏќkeЧЙЮµ±ЎэлeSЫЩУ¶ґ[|нmЯє+ ¦Ћ°„€2Ѓ<ЭнЂLnў®О +•МЦiі±xЕР:л.жйWY¤" +)ЂѓDp% АgXЃiщQ‰*С<Е +™yНЌtsяеј 4·9JQЈЫ у|и?gИОsѓфў/ЅзDЧ№Рqоф©ыјкG§єФі~х­3ќкdxaм'„±э`<@Ё фpѓ›дЂоiФ!|•† +ґa¬ч +}ўр‡G*¦И“3iA!ще Ўђ +І° ЄЂ +°OЪ` +ж^Ќ +‘&яuг%Єd7Ј7\ў№Ў8Ёѓ4Иѓ7˜ѓ@и$BиѓD8ѓFhѓH˜ѓJё$GшѓOXѓ=(…;И„V„X˜„WX…\Ё…^˜ѓp +Р +р~€Ђ(€У +Д@Eњ°_‡8Ђ +№ђ +~fё° ˜ +°Ђ4}Зr а ВГ †H*€˜€ЂY№њ@OЎ +І@ +—˜—з +ђЏw + +ёћЃ¶—}™xшџщ ›` zе*ed +ќІ Џж +ЪА +  ›' wp +©–Љ/˜ZЁю@ЧҐ1° +0 +чd +Sq— h™ +Шh§ ¦ +АєB;ЮѓGRCVSTр™’Ў„Т–1Cj€H?"mг`BTB)Фµ·Иµ$¶_;¶$¶$Bd¶Bd;Bi‹¶(·s»¶iы§ Ђ1@+0Sђ†љЃи§C +ъ6N +gEo*ДZW‰Ё€ЊЁҐ› Oх=¶` +» vЃ~А +эФ +Мр +mP,PPХГB|;р†$86N@^ + + +˜ фР аvЂ +э« +¶ ў +wЙ_и ВАЌX!E ђ¤  +HN ° +Ш ЉЂ­ +P"ЪЃp‡р:{„ВC°,Л‚#ѓTHЂ?Wђx]·U\О%]ў К»•\ЖКЁ<КЄ¬\Г]ЛХК©|К®ь\БeКИUЛ¤јКp`IPЎzЈ>Ђ4d#_Аv@ +YС$X@±,А@ #s ЂІpщяМю‡А€Ч№ЉHWТ Eр<чЙh"И@¦…¬ +=deMe­РЅСНРЅdEцС"а)@L%ЃRа92‚ЫzАL°5ѓ@Ы1w ;† +˜Фk±ФMMZ1!¬bSЌОOq=YН +–"ђЩ + +;Є° +Юґ˜бђ Ђ˜ +R1ЗU±_ќ0*2ы4›Ґ‡Ц*№==ua4Yќ + Ь’яBt¦ћйG`ЉRлПпЧ6 'с§Ђ}Бg|Тч|В·}ЩWдCО}BѕDѕдУ‡дL®дСеGодM>еOnеRо`АЕЭ€*а5Pn,MUЄ5qf„°(ВB'Ђ–кХ +€@‘$5a%5-вqѓ »’1МВВL +y э +Гєб[сзbиКЪ¬„Оh +ђщ +$А(rGћ&„ §90Н®#‰д·> +Ќс/ЊУ€‹OЌя‹/сЇсЯсё(Ј5`+p&XЄ54ё1Ѕ;0–г%>С ъЫ=€ЂoАбаw– ¬"оjaк”E‡осф2лn +±P УЉ=а +Е +Еа*YоJOh]tђNїh| +µЂ µвM +@ pЦрyfЇSPйC0z°v@р»?0Q6`р а§1 +я +X6l Д!З + n$ABO?P1‚cЊ#АЂYбП­>~ьь™ичvnЭ·qпЪҐлЦ\№}яоНЇ>Вх +F,X±aѕxn,0еД—g^|˜3дБtЌЂ©aД†STYBзI’Ь +@ҐjcЗЏњ>Ќ,™)&К•-_ў¬^іS‘Oбuntч@?Ъм`3К¬AѓҐwљ1mA† B!r +ЭяєрC·4д°В3ЬpB1ДKD=T1Д;ґрЕ№bLДGtGe,qEw4QЗyфЗ‹(RА‡HAЉ)–‰фHBѓ<†B«r¤·.оHгqcё‰(т%жњ#Ґ”b<сдNЁ+I&мZri»’nс.<сv"%•џиЙE + pжСщ.(Ј™CкdѓЛ$ +°h*ђfІ +є8д„ ўd†rШпѕи +.%”P„№©¦>сT)»н2ё‰5ЎШQHQETвяЎ§Ђґ` +ПЃNt"!I&naє—°дaщ˜‰7!1Љ…BІPЎв +7ыApаaJЂя6д–JFC&(Z]*”З№м±Џw4џз2И?’ЏTу#‰HGтђЊ$$ M HJ&R’‹ЬG# №IH~т’“мd%ЙИ((^pЃjPѓ#„еf#шЏб40@ +®Pр%ђѓl`а@BpAМ­3 +Амѓ °:hBjР· 4. +ЕC#кРЉBф/hFouС‰>фЈЕhAGЄЋRФ¤ + +©GYЪяС•‚ґ°z6Ѓ +TpјА 0‚‚И +P8‚~0 +йЏZHuNТQШuP‚՘яЬ‚&љ 'єZ0°ЦфиE8ґ‘ЂYДAnЂЙТ˜palЧ +–W‡њ +SёВ€ +ч$‚а%аАHЂјPP~TВя/Ў†l\@-j·ђъi¦¶PЁG +H +eФХ©†5«SЊк +ХZЦёVu¬OэкRпШ«6­ѓэkcЩ№vИђ¬@€т|p~кSґД 25•zµаш*CВ6Рl + +b^[^ѕ±€0C±CыГС ЃEГБР!6еож<ᛈХЩЮAсяRш*Sр&z +яЃ! Ј*Ји9‚p0"ё8 +#№>" 9БЁIББЁ @AFRA”БNўAмљ|БTљ4БlБ\Б ФБдБ"фБ#Bј$lB +‰8ђлЂ‚˜'8ёЃЃЫx«Еб"Яh† А.7Шќ8H +с“-rЉл‚ЗyЊmЂP9Ь€R…8бG«:э+"‚њ˜ѓ…Pш*Щ©ќp‡°ѓUX…€Hшh„;0/І-ѓ–‚Nщ$  +¬(Иё)&1‚( їР Пp ФЊЊУм Ц, МPMЧ +˘НКhMРёMШЬ ЩМНП€НЪфMСЂр2 ‚И)•иЃ®ђЌ<„а +H„;h!7`‰H +€f° +*@! +€L§`Ѓ4p `”6tЂїж˜Ћ(…яKOiљ¦э[/MА&N†Бм ъ¤‡? №t +€ +BШЂHћ +µy›¶БW{ХWЂеЧ}ќ›і!ШЃ5Шµ XҐЃ +ёҐ0Rё"„"µ.I`I 6PEАњ[- + +0,а +Р@ИЃЄ€ЂЁ‚„˜”‘Mѓэ”Ц6 +zH8SE¤H ИЉ Р  ЎJдљ™'АP8Ђ +аHѓ0YE˜и\zP¦‚ я†СќЩ;сЗУ}Х©‘ +к$PЌ•§:АD:€’Jѓаѓ 0‹&Ѓ=(•І(’j©˜ъa˜тa”*)"N)‘z©ЦЁ"в#6b&Fb—©!Ћb(>)‰ZЂk#‚Ё4 +p—!0K*ШЦ Њ¤ +Hѓ6xEђ!mp–Љ‰™Х…hb˜ АRЃ<ў‚М`Pа^…ћЂяЭ}ЂьІfhHx…2ёЬ +АЉз ‹ѕBf‡^Ѓ3P‚=0 +%Ѓx^8€№’+:ъ~9љKєъFєп єьоoҐы9 + +hАбQ@g° + Ѓб`†8P`§ЉкщЊс9Б\Р«ЮЛ‡Qnoо#В;ч<9М…!' +ЏaҐ(ѓ ђЬЙuяёыЅ_2’ + (ё¦б=€Ѓ3аbз%`B!\B"„В'\v'Tv#Њцf‡vLB”v%¤цґцgџцkwvmwБp!8‚oYжК¬Lбi/ў +Ђ>уѓм +&\Xр`C† +я ъ3€pbЕ€/:Ф§±"DЊ1‚д(СaIЌ#QZTщ±ҐИ—!;К4™QЎЃ6l¤€Ѓ§Џ/ тЬРў… + -6D8qўYі ’X\`СЖY… +ґ,°‰'Amб +Uј +°Іѓ- О IJDЎ…RAfд2$ €$@~шр±д +`РgA”(Њђб·oBэb4бП6n‚»‡ф +<чрЮїo#знР8sбО‹/®{zВкН‰g?.ќ;tлЙџkя®Ьыuрю`(I’bEIђt +„†МЁ2CP’”qG‹¤с@#О4P$М4`Б +2ЄШRJ)kµҐ‰.qЙ…I]xе…П^М…Й&-rТI[ xВЎ)ЄЁЂbѕ а˜5 +(ЂH#e\Р‡ИP!9д …zU‡ ?ЊаP\qА/L +Wf?g¦I¦™Ў©¦nlєIg?vКщжљq:4'њmћтY§џВљgўє-ZЁў8ђЗ +>Д +(¤ В•6њбZ ^¤@Ж `иP А·TжDыTтoАeъCрB#\‰А Gд0А+МрВW1Ж'<рД,qБ"[ rЙsІКіј±Л%Г 6А„ +y°{Г +;€И;P!CИ‚$’тБЌґТJ mёБЊ5`г‡ +1ЪR”яVГW +P@<µpmJ0ЩxJ`o™ќв‰w%»b‹Ют6O€"nt‹G. +ђ+m=ЖAnђDZPґTЃ3 +A*qߘ ` ЙЌ BCВ°t3LqшГBм†1bЏЁC ±‡94Б›(яД%qFф!“€E(2СЉNDbmаѓиЃ +B„ђSA¤@PађD aЃ +| n€ѓА +]б +ииZ0<ЎHPјeДJ‘ятвї±и/ќёдіc +Rњў +ґpщ"Ђ +R!ѓPWњФ$ёА xрAj °>xБ`Pp +Ђр +ZpIя¤ЃiЁ@ъС0#BVУF2 +‰ +R E‘ћшђ#еЙ»H2#bЫ&.Щ PЂвїаЁ*ђa·(Pq°†ЬРЂњаD’Ѓ fА„А3нВ~а(,б#Д„P‚LN %0BnS ѓд‰xЛЄБёКМТ}uaaеGWWWV­ЉХ«Бa+ZЗ0°n5®nҐk[ХъЦі¦•¬{­k_зjVАКu­|-м>@В# H?Х8*„`7И!6Ђ…Ниy„D¬ТчЂ(А°•Xис‡xЁ‚ЈR$HET,’–ф¤•Lй%YЉP”‚“µЁ[ +:uЖ "xA‚TаА ‚–‡Y&ХP@Ѓ€ +-hDл9Рwюsќ +й=KљР‘~ґҐ)ЌйDGz+ n a+иA?ЈB+9ђ„`6Ў(CgРX  m3$`µk# +Ћаѓ+ФаЊ|0!p +7ёД!Ћq‹S|г№ €Ђ‚!лТ@vАB +[ИMQ.ЂАв +ётћКБ °, C@ўчЅ'О_1гУ†Eф +–~FљйС‰\dµЩeD™РЕ‹ +^”BnИИE +ЪяЕѓYє` +t8»C‡ђБЊ`LА1ќѕЩРии6ЊfДBи@С6аZQ&`Ж@ Z Б`а +ъO¬А +@ + +уЅH‹мO$•TЉЊИ&и‚’AЭ'l_0LCРЎMщЃPЩ +вdJД8БёАi€ \Х€АѕД@l°‰Б,ДVХ?˜ +6¬Р‚34ВД$!|JиЃЬ@ФБ,<Ћ +@ИнњБ +аЃ БЃ(Џза†АШЖBдЙид p,ЗEJ¤FV¤adE|d™Xdќd$E–dHzdJrдIЋdKљ¤HNдFК$KЦдJў$Nv¤N‚дE’дБДЂASя +ЊЂ%AЬ@„ЂЩmАњШ D@3<$| +њЖа +X њQмБрЃ0Х + ф‰ КџЄўкќJў +кў"ЉЎ: +ўЉўJ*ЈRЄЈєI¬ +В ¤Є–Q +LPж +Ш +аАа +фДl(ХРtXф +@ш +ђ +Бe‘)UС=QyСEЇQoM/Y/фV/ч:Їчnш6/ц>/щnЇФ@Ая(М)t@,t†h ,-±ЄT¤eдiЙо,`ГеТC. В4tT1|ФзfВ-Ь‚икй2KћоnuџіBY8\‹M‘’Р§©tЃ (г ‚0Й +|AЂBнLМ wyњЃДА ¬АDи;ЃS;ќ<э°<±;‘S:ЌУ:qіS'q7!с<Е1ыpG±Яќ +АЭБЂФТ@цАЌЦA мНћ ИЂС ©$TЕ,‚!8CiE6ё‚ +шЁЏRЃю*¦ht@я€YiЁ@e®F!gNАјА(^Щ•^ќr`aЭХ`е•_©2bЙІ+ГХ*я, –-Пт+Јr,чт-гЂ В¦z|±” Aф +Щ•т_<Ыє”“F"{°WшН«4Г!ґЂfh†¶С +0і№СЃ ¤@.• 8B `¦и +ф ѓйW„%ф‚х—‚!CCґCC˜ѓEфBOф„˜Ђ)tEc4GЛ—G7ґЃet?@, @¬ +8Ц§Ћ@|A@ +Е ВS~ +бф”S”БBЈёБОЕЃdН®”Gя™ВvnгунТaЎІ€€JF(Ё3'№CЭф‚/ш‚M +@™єЃ3PА,WPй'м№R5ж¤ +ј@Ѓь_јАlZЈЪ qљ¦хЈ)]уµ^OљЈэu¦цЎ¶]пхҐ 6^ц]ЧuҐ-цAАМ  ЂБ +ьАр + Б*&«нЈA‘JМBTё30,HЂkїПЇ=й7¤ЕYІE†.9›€[® +S7хО¦®- Cµ_ЦсXY#Ш®Џ¦с ЁЛ + +B=#$ +~ +†` І ­Ї`­Џ Їгъ®W  .`ЇџаЇK`°лєЇ {®ыѕ@|Ф@e^v” UЊЂ¦дБN№ОT^ЖV¦A<@8HЂ`…t0YАYЂxШ4R¤«€Ј»е‘НЕ±вV'PzꆂЬФ‚2 + +IфдЙ(• +'"`iqЛќf>H‚фБ™k$H  ЅxЄH‘*е)ЁOњ4mЪ”)° kуеГ‡Їmѕµ˜иљХ¤‰S‘"ћJ•Uк”*UфВщтѓ +њ‘ђtЁЛAUrў2Dѓ–$<Ђtш±Д(W \! +эх˜С„їШі Ъц]0чnЪѕqл–=ьvВяаЗ{'nњwmзЎ#яM]xулЛЈW^]{смТ·ы‚Г +ќу €РЊИXЄjv'XXд) °Жљ8XсГЏ +gX  +№а$9бHЬ`БUР¦A +@ +фиЎЋ:¦pБ‡j`Т8V8ѓ/VаѓЊ3tЁ„^Щ +КІў}*™·Ю,эБ— }щ­ДЮ˜^‚эшЯ}.˜a„ыЅч`‡'68_‹¦8гЃ!®Шг…A~XдЊWPb`А!‰zшB§:Ђt€BАtѓCоРЩї.$IЈ)ЁЂ%ЋUмHАz\…х”P<е“O:±W]?м5ѓ_н2‘“ +M1ҐSPAEYpя k¤%ЎЊ.9dѓ*ЁD *ЁИc§Ођpб‡#М]тЂЋ +Іf° Ђ*Ђ¤‚6h`Ђ°AАЋ¤]­е”¦=щe¬©5дРj·°Цz\ё®P°M‰ќx(@;HΘЄЕ# ‚9ИБ + +Tp"F +И0%>њA7©DGrc‚z„6#H OВЙя‘P -L! MH0Љђ†2Дб +chCЄР,фб yXГ}Ьр…EФaѓШГ#ю0‡64и@Ђao.ЛC’р…:D*; +Ђ#¬ \?(^~АјэH ѓ В СB`A‘№Ђ$*ђ†8О1v`=ёЎ +YDѓЏ` .:qґd`ђ… ‘€0‘ іp +‹дE0‚a H`~8Z`!­\ЂЂ€ +ђA( ”2в`ђPш +FШИ@©|Ў +8 +`"РЂ"рB +b°€А8юРЃ>ЋН`ў0Kг-//П^хцГјЊs/yбЛ^щЖFјфЌ/zу»Ю4Э7Ѕъµ/Я»ЯщъЄрЊау‚ P€B&°Э\ +)рЂр…Р,P !6p­ЬЎ e h6Л ¬=PЎЊhИ‚Ў8mj+ЉґдЉђn9Ж1в""Щr*#Е–ї +о+Qа„Њ e7H>CP… +Ќ‡ђDљ’†6ьZp…eдV¦ P(BQmі`вV@т[аТЎh{TФ¶6`JЎmІ1И @ђZСЂW\аНЁV&3№;>䩦PА=J8АшЂ†”Д©єСG—Fq%Њpй Ґ#јбџшБћс јв!яwЙ;~с–Ид_xН#^р™?<зEЯшРW~ф˜GЅй)_x0xБ*ћЋЂ,a +tиp|кіѓn РЩ. Є4Tа›ЌГ‹]БЫяx(CЏ§0X˜®ЪM@ќµV{v‡:љ ]d]ХжДУёћЗx +xIјьн„"§60`P#BР† Р1р€4P&+рх%р'°#рA°EpI°MђmГg07‡ ЂD ¦А иа\®xф +б)ЮH$АњE +  +„` \а}А: +:©Ббg|Ћ +¬БYЄ‚UЮДaЏDЃъ¦ЖўА°W4*.ўNЪАПDш"l ! +а +В$і¤#У$7’%QІ$ar$]R%iІ%SR#E2'g’'eт%’$ѓт$=2 +а%V +~ •к x >ог±Ђ/(аRl@ +KбАўоВўp%Ї¦-pЕЗ¦¤ЪяЎLЈыБ D`…} + ”AтТ/€A›qБ-Ѕ9Wz…к ©ы¤ +ЃM$¤®MBHбьzЎ|!ђ%`і9ю +T<%Ь—ЭBа·(•ъж¤а +И +СBнУ-ТMЇ°1mТ +ЫУ›С ›Ї›УЫЇ»ЇчZУ"›!JА ф 2ѓА +њ›ў52Р”Л«RтАГъ*Qакt®q ў@®?ЏфVптNПуROК#oуToКYЇу¬фZЏЛџ<ЛЈЬЛќЛїјМЙјК gђт +в`U¬Кв!†ЃpЊйґ9CT–.27ЄЛ°.2! +уўH*ИaEґ- +JX ЗЩЋн€6v">ѕЂ ~ +Й +O«ЃSA +&ТЇ %"7s6e7Щяэ[3юkУ4б4aіэoуюнЯ6ўџїЃъшсуgB ?}.4Шђ`C#6VЃB$† zфР" -ѓfl€ЎEі.e$UЂФ¦Ѓg +V!XеЗOЂ +ҐЃЙ3DМвДA ­@ +Ж«”'aE?iЪ¤0`N›F•ЪUVa•( „"J(¶ђ + +(рaЂ бГdа0 +hыDF[?•дЁЩЋэфшЈЋ<Љж#ђ‘ I¤’э0‰d‘A©P’FҐ“PV)е’TjЦе“_Fж–`z1Ѓ ¤ D# 1Bњ@|”яД;PG!`СВ!]HІLmґaБ,ШhгJ№Д*¶”’ ' Фw_~LхчџTlљБRWaх‰Ѓћe‹-§Ф’K/ЅhЈЌq А†ђ¤±€$Ов 3 ўЕ7ф +чб~'ЮшAJД  1QГФЃАCC + `‡ +¤ HЄ'HYкr1П\у-·ЬњsД$(Љ)§ІG–`уЄ"~p4 ,tAA€229„BГ_ф +TЙA&XfBґA–?„рПчc›ю®ябпяЂ! +7€Gv`…NР(UњвҐ(ЕP@Q„"Ь‡eTyЩсўТ”N-еf8ЛЉVvV +Ўс(@ь`lXc +°  'РЋ !ѓ +pЂZ +lPВа@Ќ)C†¤}Њў ЌфЏ"9IѓмГ‘—$H&+щИ!y’’›ґ$$G©INћr!џ,e(1IJUЉ’•±4е,%YЛWў”ќ¤%? `¬ +м 9ШАIС§;њ +^ EаD't‘”–YQf +Р™· ­tЊТ‹*j1V! +l8`hМh@^1+п,"[Е!Є0"@Ь`7ааdаА60дbЙЏJ д2|Њ)cя<гkФ 0–с@tј-GЗ?®±ђuлcпшЖIІЌ{њc#39КK†r‘«<д&KЩКJ2?RЬгL@†IЂЋґЁbЈА!љСЊ +|ЂОЏ¬Ў +эГ@џ˜+:“І©—БЊќ®ЉUpfNN|bTБF4RЎ +2  +UД\.P†пђ +‰PД ъуCьцЈQд" биeффЎчЬи@єТВt¤;ќзPя№Ф…Nхў[=йYчщС№NtЇ7лaЏ:Ш—ѕх©—=нB·Ђ„T™zёABАЃдаГ‚€ +BҐRJI4¦® љyJЂХЉWFЕ3SЊ1б Л*°Ѓ +JtѓXгАJP“­c`„GІ¶ЧюS[d†Я­в/дш: ~Ќ/ђж'ящЛЏѕу7}䧋ъВ—юц±_}н[‹ыМїѕdВпэсѓїыж·МR°‚ IРѓю˜ѓAњП™‚8De›бC­GnАb +Цђ +Ш  +Pg­—Ґ{аfNSCА;ђ<Р@`Pђ˜cJ $Ц"Ґ[ь`ё &OR IX6С„O€„l3…Lи„Gя…Xё„UИ…Rш…[ё$]Ё„TH†P(†hh…f˜…`X†kЁ…m(‡pЁ†^И†@+P°D <ђ%9`Ul&~Т 'рC +lpЂ®ђk5F$ тAEQWVAЃ–зЧN4“8ЃчЃћyB‚c„ +в ©·‚М jЂ!iЂje{tQo3Ђѓў^_Ђ @ +ўS€ж#ШяqНP`0 ЇГь qА* 2з  +Mф qUж40:…Kђ'ЫЎ^<фЌ°oґ@ 8 +џG +й‰Е’Ј3{3&ЂВ` _AґЄАє€я~ +І +LqTБEёА ©[ +ПА3џIFс +’h+xF +|А ў й” hќ*В |lXз кiіЦА §й$ВiР!«–GTА!Ђfyђ ј?я°*01p\жdGFd]цdYFeБСW&СHСmСЌС +ЅРS¦С ­eX–С +Тm6‡ђ) #BT`:)q"ЛµR1!DШ«Ё·І‡ў  +ГP +ї C‘¬p|3VЎh”№Аща)IбЃгЬ A{О<Ј +кЊ‚ћ–ї‘hґА Ђ‹@ВT„0" +х‹ А5WP1рD`WрlѕЖmsЭlв&lд†ЧЮVЧЪFЧЩ6nЅЧбfmy-Ш…НЧЂmШwЌШ„нЂ Sr 3o 4иfB+iРЎЦґ’XҐШ0№¬в +}ЖєГ` +цяWЛрЖ¬Ф:л¬uЊ Ё R*^‘ +<ѓi‡…‚fЃjс­рzР![uG/mЕ!р“ D` +« +)ВаЪќHEcљяєdєАќ KЎ –єўА СpґЇk=І{xkВp“±з!e=xСѕь¬. +«Р*vађ +Ћi)YбPєяЉЁy˜PФљєaАИ џА +a0 +M +Іђ +ЁЂґЊ +Ь«Љ jЇ0ЎђА!кUµзяe>K+` +ЯЋЮ€ЋїЋуЁЋхирЏчHЋцxсПрџспс/тэђPР! G0хЦwЁCw3я +IвБ Р®g¬" +‹—;ЪЮDq5) X-#о;‹y!Й)ЏБњ° \СЗ§п +ы¤ІLkaЖ=]¬j І/­{dzPWђH0Я0p–\©•Xi•q/•sї–T‰–xїчz/ч~чЂџ•‚_чjЩч(Я9Уб ЂЩРoђм,ђe@g%;ЂІЈї«@_gе +ЙАЁРІр(крD_JE9ы№дяОФ|•Ѓ7хЛ° ѓхb4°»хЊОFрL ОPжРЕђ»e­wXlPоЉDЂ±Хй›В ќУщьО/ќТпњР?эЕYэФЯьШїэИ™эЬ?t ;а@pt0> Т-pє€ђePІЇ0Ђc%6A_ѓ, +ш) +•ҐTЋш Rг€ ) ФX…V0 †„X +И + ,`†p`fуГ’± +UH!%˜Юв„“а‚иёж:Вh№[ЏйЎLJвдO@ E–\R%ЂpАУж¦rЪЙФ0$Ќ +9б¤"D*ѕБЂ|рЃ +m А†$аЂqЂУ† Вф‚31H#аб /ИЂ#Љ3ц ѓ !D +юНQ/а(бb0VBH%Кrc/X!a#4Ш0О0В qАЊ(а(˜ЏЌш2† +Ј˜qd%6nXC ЌАQ#,A‰”`†ґPPЎT b +±лрa"F +H@MS `Ќ<Ч\с%?ВЎ‡UR1e·WкdЦбЊ;WЋ–{ьз>т5cb­о QDб…”hRЎ'ЂпJЕ ›ќ$`†™°–Ѕ2љЎЂ‚°dfрAѓ)VрП…ЂбH­ +И$T!" $Џ&ирjЖsБk¦q…Бxб 0И@YжЈyяF*БђуЂ ИX!Я^ # `_{ +Ґ/Б ў "В 8ѓґd"/мЃ +bРэLБWЂR (ь@tБFА + ±»C Xђ†!6ў`k¬с,¬6~H@lЂ]Дb¤аEo¬іђ…l":AЋг.!№\бЉrСБ'LB aЂBЩI…*bzа;¬°CkfЎE05ђЂД €;h+ЬЄ!6°Ѓэф +yД– +)Иѓ €з‚аа\6 +†°­Б ˜ЈьҐ+… 9ђ-?вВЃR€ѓєАzђГ0СA>PБ а +жЙ‰`‡hЈ +я`‡›М"'ЁS@^СЎњvlKЉRЄ …$иЎ?m•a’АV"Фa@иБ +ґ:а6p1ѓьЊ+ГЩb`НЁА оъЏ” +V 4x0B=8 +;ђЃ†АЁhб.‚љq +Ьб=ўi„$@?ѕT‰ШАM +PЂњС@Vjѕ]hA dP… +`Rѓ¦PЂ$$ЎP@‚T d@ЎP©C’ґ[ Ў•)Аq `ОБi)ё¬јbрЬБАЖ$gѓl@K{ўЂ) §f3ѓОбIBЂЃ`e°PXЃуT +*€ВuЗµ9¬y°ЅЊЃs‘РЪНЮЙHЌ%и +Ђgа]›­Ѓ„„ј7xќј!Ьъ9дБIиБ{7:$€ + 2ШA!пр¶ ”ЃXD  +’‡vЕ)88Р`ЂѓЛ MнЉ“ћ*ж%э-©}"Pб˜q¶ўхЁbhІA&ОKО€ QPXДD +•Г …„#8jЎt@ВфрѓўШ7'э@аZ0ѓ +l€Cй\ѓSрЂЗЩП>…)JЎEЎjВря$©•­*Мнn;О©О@‡Ј + +a„‚%-1qЉ•• +r‚Ѓд +Цdљћrф¤ы¤АIsр`pЎЩвB»Ґљю\нnнMЄ†ШeЂ"Б`•vJ-sZёxщ €(€RЃ#˜Ѕ Я!@ЃЁѓ@ +m + +р@И +а=Р +H=ъ!Т Ќя^»Ђs¬ЂFЂ˜1  …xSd1ШђБdHр +и–nЗИ- ‚ШЃj„!ёkМ9дшЁЉвЃи + ‚ +Г ©.и‚иµfH„sD©FЅХqfЂ±Х€ѓЧЂ +X¶e {‰|ѓ8‰Ђ$ ИCЋ‹ё€З# +BИ“ЋN0©т„НСЋнђ‰РЂyДHРcХi +ђo-И@`Г4|ØtC8LЖLиА8м"KљњК%@JDщЏЁDк®P,DXE[ь$Чі@€µАr‚џьI'8КВ”DћґА:Рѓ)РO Dµ¤ РKZ{/ёФЛ>ьЙАЄАїь ,%8СиЂ:@Ж:tП:XO + +»€!фНЯTИД)‚М)^АјTШ…д +®љќё;ghЂ6аSC`Џfђh†Ј8„Cв–мм–lњЃlМЃF„6Ф +ш‚ЂC=рЛВМѓИДRў5(ђ8‚єЪsGЙKїґ@=аЃ:А!zЁ›КШЙЦаХ/hЅ$ш=ёЃЁOєМЛаIDй +Ђ ++‰…ШNёЋ_…В9YPU˜‰СсѓЉ\…›`ExNiЩ/Ё7л•„2 $ъВ·ОёLЩЙNЪ№*ђsmФlдЂhЇћ°@ѓ4ЬЃ0Р&ДјдґsЅRzUђCњњCjмГ ®FhTѓ`_х +ЃJfI‚pC+а(џмVL-Ь!аU +h=иГэЕш|Х|яaМЁq#>Љ3LМр°Ў&Mќ>ейЛR¦RЕ + МЬяёAD‘і +њAъђ¦Нѓ6m AJSбЃ¤®,.Pиr§Л‰±‡єв°ЎJAngT©‚%[ЄИ 4Јm•X°ґ ’Гn„і‡о”9ЃеРвCa КAeC—–)Pа[XPб ~#H¦"fo ;'иVЩ0h!BTZВ"ѓЉ М-(њ5Э0з2dDhqhшќ eКЬIsь I‹*”IуаAH†µyХ© n(hћЌµ8вДБ¦>{?6йС“№kЄS§ћEЊ˜B…љ29t & Md>!€`GyФI&tВЙ'ЉRЎK¦фKL2P@о№b‡6`гАя +X`Є.2c +uzq8ЂЂ шЃл{ЁТk*§Ёr +)UѓPB%1tM&D$QЃ&н? 2˜ЃH +e‚,'~J…ўШВИ.±  +*К +USОxзя-мЋ$D•Ж5яЃт'”5у!‰9,)bVRI&H"іќ€9}t'$¦ss†°pdЈ—QP Ѓ°/ оC"I#i˜lҐњЕ) s`Юс,$ў и X¬‚GЌXW~Ді@`§`p†vњaA ѕв)О xЦжЬYГШ@С,в0‹Щ!АVv@ +TИ„Ђ\'ўќШA=%*Ў¬f‡~±Ѓ_ +°†3„ЗA¤8#mИ +•g<‡U`З™ ґяb)C<‰eHД!бЅЁ]@+(CАwЃLэ|†0„ҐТ°€@њй8HZ„S&0H\еSђ Ђsћф•; jN€ъ +rљЄ¬”бG +{VжH•ђQщС+¦C‚`‡HaЖАRҐ ++NUX•лЇП +O!Ѓ«ТИЊЄ€к—NБ*б"Z(B·Цh3‚‚ў№9АvuГ‰(Њ[аЄ‹z­MђЊmЖЄшU*ьi +Е–"  5|€¬MЬ"лd'E, Oj…DІњPI¶µ­П‰В%.ЖiJРxд +й6; +Џр„(pQЊ"ћрxїЇ ЃDҐќxµ*˜’D DЪХ¬ЋкЌђДUљ2ЈђyА +x +pКSTк*EАb_—:ЮЁLZќZтґFhЕP¬!#іБ*«eЕЇїReЈДБ(f;Сy€r;ФН„яuC@R€aWH9o®Ђu_ +d=d@А"Ѓ.bciᘞЩс&І sbґAІ?Ґ +U(#Ё‹G +Z™H<­aЅ†т*іЭW˜З43hQ\hэJЦµ F¶]B.ГcV¬~$ЭzЄ'|K°·ЁГ…¤џ} Ё8ЌS‘ХMjщJйШя©IА7Шй· ‹№C,ЁBЄ¦j‘CњВi]Э°DЇщYќ8ђГИЄ‚-И‚ + &)ЬcКоєдnЇP0є€џ€Н!2˜‰•˜ХщS)˜_—‚-CЫљ‚Ђ¶-Љ‰~”B0€В/ ›чв«ї¦hrи„„«щрeНjUkWЇZя…;–lYІ—Р¦UKVGЪnЯ^2‹лWЇRсfёJ5ЇRLxщц•:РиRЈ·љRTјсС™ 1Н“–X0В/5.”чrжВ‰ 3}М ъЇRЉ'‡ЦЙS`Ю¤­_KµљЃв-їЃЛѕZuпU»ї›>|쥶bЧљ•‹№Ь№YЕЯЪ›:nА№kМЮ0Л‰3ж~є©нЦJїяеоxсвхп№o‡o07wп‚wg/€]ouяяФҐі‹ё ЊЛ№thлАіКBK‡б +АяцТ-? gГ«»ТъRЏ<їа‹-/ЬJЛIѕш@DС/Ч8Q¶ъєѓЄ?к4Дn7 +q¬+ёy,Рё‹K9 +ІGвр!+I їЄО«ЮЋЎ+З)с9fЇЇ¬д+C©олkКяи +°+ +чЭ5НЅWЯ}9Э‘Яwsэ6,»­УЮПб…7х—arѕфТж(®уб‹1†7H9Џ,8c€#Щ^‚9юШдё2ЖURЏOѕUд—Yёе–=.щ\›¬Щ`њgожџ)=ёзtYnPжsIfі`-xЯџCz\љy:hг|lЋ№…ОYеЉҐцкЁГ.ЫlЏ¦чlв  \ No newline at end of file diff --git a/i/laba/refresh.gif b/i/laba/refresh.gif new file mode 100644 index 0000000..0aadb36 Binary files /dev/null and b/i/laba/refresh.gif differ diff --git a/i/labbg.jpg b/i/labbg.jpg new file mode 100644 index 0000000..bc23d6a Binary files /dev/null and b/i/labbg.jpg differ diff --git a/i/labirint3/0.gif b/i/labirint3/0.gif new file mode 100644 index 0000000..ab64a38 Binary files /dev/null and b/i/labirint3/0.gif differ diff --git a/i/labirint3/1.gif b/i/labirint3/1.gif new file mode 100644 index 0000000..082f53f Binary files /dev/null and b/i/labirint3/1.gif differ diff --git a/i/labirint3/1/cn1.gif b/i/labirint3/1/cn1.gif new file mode 100644 index 0000000..c260f1e --- /dev/null +++ b/i/labirint3/1/cn1.gif @@ -0,0 +1,757 @@ +GIF89a`р +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛwҐЎнъ&4$ЏK<]4яоHШ0в»_Њ|Б ®ФCнtq1€Aћјx†ZЙТрЕР є:гЂи9C#Њ”УF&OћN›”8Ш$KIє/нФa˜Z—рЛA|(‡­ў€ A*ђ)Фn‰јЃK2рлЊ!^«vІ" + Ђ[­’H'ц-СЉўK^ЎІ, +ЅҐЁDA†|°9Ў†4 +aІ4ЪЋi†ДУpT~a%–ZкТЉx_|ж˜Eљ‰¦љѓО9Л&йQ©xяа…ђA +FИBѕдQЙ&ђбI%dHЂ +­0XJ+AґТЮ5^,#‹,FpАAо А*”гЋ PБ@tў +тйЃІЁЂВ2г!‚ T’@jP Bi¤CgтзѓnАЂ0`1Бx$2мЎ)JЖ¤!жUf\+aй*йаC +ЂБ†,즉‚ЖJpм1И"“l2К*ім2МyИLіН8лl .є$ИРB«›¦ +FЬаl”яіЊЖ*XBTX"Л5кґB!IpЂJОI’ѓµ‚ИаN(!т +48аqЪ ёу" + Q¬­¦sоІЊ +Uы‚ ђаЋ„G ќИY+fa„VD&ELj шcєи +О‘@”€Г"HВ‡sћрЁ`‚#.ѓ[МаCЮ`­ШЌГ … Lђ№y№Ѓ7 BФeмN +dаrf„e+WЗТ +Ъб›tи/E.SB+ў$ћt„eBёAў ± $  +EЙ^2“г¤'AЙ®Q–’§tѓ*еЧКWКваЂ,В<Ђ +‚ђЂа|€Ў= ошd TH йМЃ$ІUяhNoјxАЃk¤Б’pb®q +Hґ.&`Ђ?U@†eИO•ёЈPЃђpL оbЂаИ€=iЋф +l<‘€‚Z­ёЊI5ЈҐI {J +§((RшR„;»в’Ol¦)сЬ4§;Ґ@OЛФ +TЂ;ё0ЋК%a + PA±P/\CМD®Иѓшяq Ђ±P` 2<@™»Кс +8`@J@‘!Ь1Yґb‚’ЩD'Zf(Я н1_Йќю@U–Г€G%<ЎШЂ?иC'ЭБџ”]‰ JpЧV ®ЅUвЊІW„цд FШ– +npШB БрУ4йХЧ  *…КбАІБ‚tвоkPрЭрЋ·јзХЌzАЮAнКVсEБ|л[/ьк—їю°Ђo,ЈІЌm¬l‘€‡ИЂа’Ад8AёўµVy!TЂц9¬ђ@x° v  +>°A%`3Їx2@ *—ЬI7 Ѓ©ћ0® +Ђ+KЧшЇ APЄІWLk@+ЊPOl +й љ[ЭКЂ +H@Шp?:‚~eЎќиE С_xt¤;1йJ_Zeљоh§yрйBь ¤VІ$¶ +цUЉь2а‘н@"PдйА5шН&’Ґ‹/Ь±U›яK+Ь +Ь@ј°…rЃёa+’ѕЗ±"9аdш˜•@†8 +$аЎqЂАEа*ЎЌ и&їОk|Ђ[ѓ,K`ГШ ‚ + ЌкVї– +NБМ>'±T В8ЖСЃLHЂав +d‰BD&їHЁdбHY¬а№@0?Оф…tl‚ S`^Cц°рЃ<ђ…T§‚zNщXAя;``ѓЪ Lє·9p +lаs,9@ +Л lАђ@/"р:›уpъ&uBЈ}¬дCPІђe¶p3ёѓKH +>Ђ9“+PBїа 6 h»яS ч”  '№ўl` °° ‹е"б !< 9фІђ“&І0323°Apё`Рk„АKА iЂ‡tІ‡лв‡Ђ(€@€†И4‰Ё‹Ш€•р€‘˜”X–€‰Л`-BХ‰… (P<ґD ° +2 D–E¬г«у_ам0лИ®%;ђc ‡ЄДl`FPqh`иІW@vТ +†б†yр +—’Ф‚4ІЉ$W·]В• +8©“<№?yUAi“Kђ}ЁЌwY( ® фws +ЅQ¤9…`LўI"=±! ‰@з±jaбЋЄ }ВPRгҐ@~l€!:PРw _а7J +_д{АWF`I(ykn +dАт`љ…P +УС3А!т=У" ЄФк° —с)3|ђтђ| `K° » e7 4Ђ+’7>Р=Д# рuЎх¬ђ€"я° +"p +(‡є“• Ё‰И Ћ +©’*4нd©˜ъ_`ЂaКйaЈ х_9 +Р17в|yА3Є¤Й° вЎ\P2`ЕIљК‹ҐIљЁ­А,пY&Іђ› R +њZеpgеЂ @@A  +xеPлАм°Ґ©ябЋ‘I›Ф,lў>  ћЎ 7aЪ¬ђҐ™±K±Kы°‹Ы±Aр±ц!Іє@І:`І(«І,лІSі3[і8pім°Щ1jљм0#°“ МЂ|@ +·Йђ‰‘™л°ь ўг0ґ¤©‚PЇKљ`А-yљЁб.;¶[ЉФУ3K01Fp):Рj(P™б@бC'ЮфJ7Ђ ђ4дС’=C1Щ1‰vъ»є4фg*@§eµ Б„¤VѓJЙlГ†№C‹@бђHipiPsя0¤ +g° +Q°z•Уj zУ]7Ђk 0Ёд tА" <ђ|НІ І –Ў‘V Й°­В†Ї‘ќ˜’`р@ +xа GР +p +—PЙ—А р0 +cр˜0жЂ Ц0·°B  +c° ЭЂ/Р—Р +z X"p Bр m ·ђНmр +Ђ“5!°X`mрОz°/  пL +МЬ° ~РB +У wР Э°JPЂP06@ x°˜р?`Xp/ +Sж¶РД0m +Жs +OPj ЂmА +hр9А IЂ + +Фn Ф@Ф p +gPQр e@ +GЖTP|Аsа +МP— +Я>ЯкSЯчќЯыќІОЛФ +о" oPPo`"ь +·R ЛаT)ўy@R“T$%¤›я@5ђ3›аг= +р7@ + °ІU”@ +I°kIpЦUp iа”°мђ.й”nй˜.љОйTайd +” +nА_PА†– +EpC…rМ!†РњX±H№ +E…)BE’‚ЄPбВC†¤qђ8p@%¶H9xб‰ +:¤JPИP№"(nё•ЃЃ„tF4DИЃ…’yтDh•Ѓ +# ЁґўR:ќтМт…¬ ЌNіFМ’хЙя?Ь№uпжЭЫчoаБ…знВД™‚ЬР вН›Oѕш  +(DР`… whЕ n0Fѓъ CАV!ІУ„Ѓ2%(q3ЈYjfі›б,g:Ы™›yЮsџ)рз@пЏРЦ=t98°h`A0ЃXАФр‹,!ъ/HБ†нҐ!’lаЂ®!о9 о(В5фc I,Г аC«ёЂѓ¶ЂЎ (…ZqЬРх(@B%И „p d°ЃeАЃ%ДCNєш¬яР +Џ‚BtQЉVд*8grс‚ шВdж8;ᛆpдЂаА + ё”"ҐёA+t†’ў ‹€ё2qХ‰M +w¬ _(‡,xЁЋ/LJe-г@Эp‚±ђbЎXPвщИK~т”Їје/ЏщМkю#а\зT< +ґО`2 Ѕи`( +l‘ +9B) ьњ<ЛА +|€~TVpињ +dЂ˜•C@БђЂ*+јОУu‚Ь.`8]Р +€“(pѓд–5су‡"˜§*CЂf +#yЂ2а +¦щ‚ьЩ…Rh‡"Q +/X +(ѓ$@€ (#б +hПч €Пщ·В›L/ђЃ3Џ"pГ €@Hx)э`f7t8f  +уЙ$/ —™˜" oњA°6pOCаЃ ёP;ГЂрд!+ьupЅv ІэќV±Е9ЂH‚s›?~(“RBP‡Ё(яOШ„NP +@'и”N:нЌЪ“ ·BиС8#„яфOаB·rѓГО<7аѓqрАsУГqё†pјaKeп¤’qP6›ДУ1ЕPµ=s UES<ЕД<ХS>Н–?]‚@T.(ФC5UEeTGEХT’Ф†[‚KЕTIXЃ2ЂК”±uђҐ1eDvа‚eMFyX‡1МSK„¦SЂ>`]XD]ЭФmеЎ1 +.GeДP +ХSХRхАЪk•p +‚:7~Ш&y0„%ШSTеPњ±ЂX(ШѓMШ…•‡…X‰ҐX‹ЕXЌ + +Yа…№0Щ*h +ь«9 +?`…˜‚ ‚,€ѓШЂcЃ*Ђx0XЂ&р†6ќ¦pѓD@маYрWХ= +Айн® ,˜Ѓ +8ЂИ…°ЃJшр°ЃрЈ›V ѓNHEzЂе`VВO`]Ч…]ЩҐ]ЫЕ]Эе]Я^бЭ®в=Юд]Юж}ЮиќЮкЅЮмmЂнЕ‚ +ШЃиЂЁU p0!hѓ) 5а…hѓ6Ѓ)˜‚ёЧ­=XpЭ#Рѓ)x]?XGрІPѓЁX„Vѓ|{Ё(Ы% Y˜ + ЃYрѓDаРЃiB!V0®Z!ЃиА7†c ђc:¶cАc=жcШэг@&=B6dDVdFvdH–dJѕjАd@И1˜†+ †;xЃ?р‡,и +…2°„(€5рѓXЂxу –­ +Y  +и_ЁЂ`г~eh8(ѓAA` +©Й*2$P  +РѓуЂ!“FйPi–vi˜–iљ¶iњЦiћцi jўћЈ +4А№ +ОIЈЈщO°Њ4І wXi Р– +мТlЅ`ћяђµНњ¦TrГлЈП8 Ђ„ѓљСЂ Ђ$@… “¦xр…ЁO`…B4(? +ПЄиц,1q;Д"Ђз0QR‚x˜ $%Ё„СPО<`…Dш!h +шъ\ЂЃ +Ђ&ШiPfД”?^Yµ +xЃХ`В„ћтtr‡в†’/~щ@Ѓ$H<Іt1 њ;nЁ€pC +Y DЁђЎC€)ZДЁ‘ЈЗ E’lрҐJ–.aКDrдn‡)Sјu JQО,‚&З” ~яЁAЃ +<,YўвжЃџ |P`р†Ќођ P!P– +г4h0ў+‚CІсУU(nЬ…ВЂ)ДCG6r„s#ґVwЧdIа@Iѕѕ LЂЎНM &P˜0щзэ;шрвЗ“/oю<ъфв5A"хЌ‘yAЌB›ЁјЃ°Ђ +d8ЂB|!‹DР”,B ҐA Г.м№џ|(Рg~ъсзЂh ‚ +2и „Rhб(ShИЎ,ЛШ0Ѓ-QаБX ; +*…dђa„ббраЕ8гxЎѓІ ‚,Г™$Иђѓ9Ь°BнђAБ&H$‚ +(ДрK0 +¬iВ +ФйЎE,ББ7˜АА""ЖЂG 0p†єxБL¤°2 +ЛDp(ЖЄЂ¬ +К2л,ґТRk-¶Ъrл-ёв’kоАІоa@BяFјуЦ В†•‘АGЁЎЖ +јШтI иО%XСБ'SPЃ‚;d0рtу¶б–”cЙ +щЎр… +иАC9І\ѓЃ•ІЊ +¦eЊB ё 8аА!иОІ <Ђ“(¤CФ +®ж2  l@‚ 4  yмBI0B) с…7x!``@S$±Њkр`*ВTpB„ё!т‰B¤Ж4a8lђс„_T Уш +S(–ЂvЊѓ аE\‰ pЃ§`;Ц‘8М!l  +$ёГ!‘T ёAtриа€Зё°»%DА…дзt fЎЫє3˜»R”" ’@*4ђѓ9i +ТQЉа4А}P#Ns +,®ЄFlђPАЃeиЂ pѓOr°„ а +E(і©‚0d@¤Ё )К@ њ! +.(ЬК`x¬в ˜В +l°иB › +fQ ] A d0D ХQЈv +‚Д:p@ђБ hЕпtЃЃаBђУ­КRxP€P@гX†vЃѓ%A|а”Ё м^а‚(ДљРp`z­ЬPЋ/"7pА­–б ќёАг‘G a€V/ELвЁ +!ђ$8Р^Mў#5Р +D +f0ј 3@В¶0†5<{x »с€ЎQв‡АД `q\ c?А·8cЪАЌ‹© +<А vbА*Q ѓBїЖсЁQ§ЌсЙўLЊ4дјаI—Ў“ЂІ§ЫмgG{ЪN¶6¶Ѓ§н$wыЫбц$Иmnt«› н¶“ЂЄ†л0@lРБ8І‚J€а5€ +eА8$Б +мД + Б ЬЉ'Њ@фШ‰8$яЊ +8@ +ђ  ў  +І   +ЪаА@@ЖБ ј +ШЂ +<ЂTЃ@„ +ьBРЂ/Д" ¤'ј МВ'А +Ѓ,$ +8#4J#5&Ђ5bЈ6rЈ7‚Ј8’Ј9ўЈ¤¬Ј ґг;@<Оc=Юc>&@ ,ВВ +`P иБNA”Ћ0— Ѓ +А¬ЂcА +Б/LБ< Ш +0@мLуDЃ  +ЁA °<ЃЊЏRxB +А@bVБ*@/РЂдAZv&4— ёГУ<Нd% ЁШЂ P|‚h@-№xB.ША8 +cDAV Ъa%O+Ё@oфNoхЮАхfпцў@ч~oш.Гш–пщ¦пъ¶пыЖпьЋВ +шВД±њ +• +ґО2ё‹itТ”  @%ё@hт%”X7@ +( шЃ%4d /&еШ&8 +IЂ--Ђ'Э +рГ,ѓ Ё&`Ђ9л,D”A9xpT˜„дАйHЊпи«М3p@¬@Ђ @А” +<ЃѕД@/o;”¦±џ“i@+ +дБА@ЄВD†UФrDL@нВээњIc>‚Jіtё4LЛ4MЫфђжґсґOµPG<ДЇQ#µR3u\1@%ђБ@@р† +„ѓАAр +ёБЇMЛшBїАЂ'xВЊыЂ0 LЌФІ$Q °‚ћ—џПРџгpЪА ЬвйАЎ'zуўbЈ?:…H:рВXє `zhz%pє Ш-иБ@дЦЂ Ун +SЃ%Ё:X‚ґ:.}±6Ђ!шЂќhЧ5ШшЈ&ЂЋIяЂiА0А +Ь1+lNФЦд +H‚%Ђ В)иkF„БPВ Й/NА Ђ +l +¬ +xB16—%ђЃУў.Њ¤Ц€”Ї +”јњј +¤ьК·ј.јј.ДьМЧјЧ„JОп|Пя|Р}СПЃ+<А”АТЂ¤Г2шАЇ}‚QдgвєR|шаєБ +ґѓШB +аЃ=ЊОДЊOk яLRз +T($АCL@ ЊD<ьБЊ|•ЉЂЁTђX° М€,иџTvѕЃ,рCфF)<)„рЃ „B¬Г)ёЇ8± ёАиБьLнЈѕ Б +аБ"4Ђ/ +Р  АS:wщђш іI wІ"ИътE#(€ёЎ#€Ћ(PЬђ%(‚YєZТЎГ…7Ішe +~ЎБИ°Б†Ф°Б%p ќ<|рAAKJ’Eu4рAILp:йЁі;нёу<сИ3/фФcП=шдЈ/ЉытЫЇяїя|АЬЎбЏJѕђ +  Ар"0– + Cd дЃ"°дu +)Зќ +ВqЃЁeЂ‰в!О %ЃJ Ђ†ђXA +F(ЃKЖгuWђвQr#КYб#0@пЃ +_VрЕ‡%tЃ.%…Aб +wФ’D +4`А„d!qGfxаA…ҐЗG…%ё +Y8  B"x +Aи Ђѓ + б +2@ЃV$jЂAЂШ­„ч]ЛЩ€тpАut h]дСЎCЉ +G\ясwјИ%·„rЛ1ЧњsПAќф3Є@=–Х[э +Оb +]t )%]J™И;ІPA)20xВdPВ…P°ЊvDЂ,оPѓЬ°Ap 6С + +E€А.а7'>с‰>€"Ђ‚і б>шВт”`јБ:ЁЃ $PЃ:Gx±љБЂ† ЋА‹П + +7`@ +JЛА +К ‚TA ђ + ҐН` H@Cя +8jМ|  ЋRЗр…%ўнpЦ•фHQђиаўнИиF;ZЉЏ†t¤%=iJWЪТ—Жt¦5ЅiNw*2ђA?]ЖЬAЃё%ЁAц*~иА„є8,1еqЙ№гї@ +(jћk"Y†<т‡~Ѓ є8T+JQ ` ґpр38:ЁT’єШ…3°€Hе  + +Юѓ_Ёaиx +1H„Яq_ьВ +НГ,Ьа‰м +БмFOP P©A‚r%- +д+аЕЬFЊЖIxЙ.ж°6$Ѓ&ЁDp kt`р˜ПzІ +jЂАЉЩб рѕ;К`‹O + €Б `‚2„Г«8АД=‡L цА0DЂ|Ј@*АЊa р` +°б`ЎёбAlЃґ*ЂHА@ЎJаш@’  +B! +јАє! +Ћа +Ћ 6 6` 6`p!АЎёчFTАѕ 4 "аp1Є|а`lA +H` ^`dЂф`оАЮа>Ў +ЋАя +< +* €Ў XБШE  ©0$ТAC" |А' +>AЎША\A:n ќ@DЂОPбщЁ  \ О  Ц 8ЂШЃ)Л@B +@`v +nЂа˜Ђ :nl @j(ЂљЂ +КЃј*A +*иaSVБ +*!jА @ Ю‘ &Љ"dЖтУh`xґБfЂЃРл +т‰ЖD + Ў +ЄАў +¬\ЂPaј@яЄАF +’пX! +а +ьа@ +]р АP +АhBІ” ?АшrфtА@ Ь +а*а.`.а¬`є`H +Д +ґ!ркђ%Јд +А +@  +PБ Фfо +ф`ж7 +®@ +R +кaxiA*Бя,бр@в( +! ! +&Ж d @"¦RLt + 8 +Ѓ +Ђ¶ +щђy‘щ‘#№я&№’/9“7№“?9”G№”O9•W№•a x x№~A ф ¤~Ў>O@ „  ѕ .DkаGА emю +DЂВЎ›˜Ѓ,] ¦`NAЂ±-5Ц!®ћ8 p +@  +ю  `єКЂъКА#xбTа§ ]`Є АЏnЂ њA xг a"a +Ё & n` + |Б`’ Т˜я%`˜)‡8А!® ~ъ‚ъ †єЁЏ:©—є©џ:Є`Є«ъЄіz«»ъ«+АH…¬Нљ +ћ +`Ё +>ЂTБ +DЂО! F!: +F‡$Аж +є!D`.Б@ L  +БВ +;`^  &a:А` +є±B{•яiаЦВ&Ђ  .а8&Ўlц`:Ў|бl +` +аМв¶H Bа м`aВ x а +FaЋК ФЂCГа: ёєX/а``b бКА``mTб +Jca +xа\Ђ> +$PUЃ рєМА +˜`7 АґaША +Д@. аЋa Љ! +(кK2A бєѕ +„ + ї@HА$`nX +zcLa Ђa +*Ѓ|˜ЭАЮ!eлґо@Бёе +ќкЕЂЂ†CN’p"‚? 6ја@i@>ьа$9іGЋXsрYЗ‡!bЎВ@(r[яињq`ѓJМЖЌдЃ9‚ЉPб5 +hЙтgHЃj@@cС'2b”H@гЙ +ТUB‚BЙ/d$€шT!,;X<¬¤dкta¦E9*x|‘eIBШ±eП¦]ЫцmЬ№uпжЭЫчoаБ…'NАxХгИWИT®@Ц$PTт4ВПЉ_ +8‚В8^°“!` Л8єа +я9дђB’BEмА!a„T‘О +a ’!р Б'ј` xLЂЗ€±ВW>юdђ@в Џ:†Њі„Yq– +nБВ!*’C 0г*9€P‚м± +&< +n a‰џ,"J~”Q o€”Р‰YФАy  +(АЃp@…0Dt ‹еЭ†?_˜Zя’ Б·Р`ЁRШАИАg8C,Бѓ0$Ѓ^(dшАylHB *ћ†vq†4”! +б „!^" +"(B8ёu€o”¤ьQ!?ЬўUи@&°@ L +˜ВЋЂ‡@аўРГnAЂа +Lh˜PЃ,г шГ6є@‚шЎ +X„ zhГ N™КU¶т•±њe-o™Л]цт—Бf1Џ™Мe6у™Xђ&5­йЊlnШ@А!к :0А•xВ +YЂ@=Д +н@В' +0Fa‚2Њ""аB +@F +*Р(|АXAЪЃLЊбФ8F-@р‰ђВ«± +TxЃ~Ђ1Ђў—а +$ЎЃ0°ГFаА8*ЛрвU8,ђд '  ˜|@r@Ѓ3€А А'h0oфб +Ђ8Б7рЃDяЎАГ-LБ +ДАhА¦@*8ЛђrG^!€gМe>sљЧЬж7 Оs®уќу¬\>‹АПЂ4Ў}ш +  +TPBМЂЃ(Ж!‰9Pв €9ВqTHBIpEHQ†,suШ +Ђ`)x˜oNКxжЂ 0# +Ьђ‡<<б 0°° +Pѓ'фБ +2Ь HёVP *”Б„О‡Эуџ}иE?zТ—Юф§G}кUїzЦ·юЂ®Яал`{ЩkPґ«Э>иC"`'€Chh +uP 6‡s21p +ђ0@і°А т6 +0` +- +hА +4Р ёb Ър9Eгr"2xЂ +9P3a :p +± +Ђ 4ЃFв@l +lђTp¬@ +Oh ¶_ЂdpGрMpG@ +G%ap +PМ ,Ј—I03’@P’ +<р +§ + +pЈР@ L А5иџа~А +·± (р +0qK„s +аIрI0±& lPgрU0Sp#зM$`v`$ +ђљoЪ# § ЃаЃ/ё +xА +¶dz"°bА + ђ(иi•А +`(§tj§QЂ§zК§~К Ђ*Ё„jЁiЂЁ& ЁЊкЁ5 + +аCа +р\ D+Ђ?‘’$о`¬Р +@Nh@а +Зі3KЃ!xі9geАі> ґBKґF‹ґJЛґN µRKµpµY+  SЈІ :pZ +Їъ +g"·А +K°$8°1Ј9ЖHа +ђQYрЇДЂрЄ +ђj ++ +~ K +ЩЕG—. Jй Ј&dј0[RЄ¦/ђxђ"tJіSaВн +FE^јdА KЏ&‚рX ѓKH8p(б†Uь4xЃҐ€:uЁ‰ЙbеЯ^ѕ}эюXр`В… +я +a©И*&ЂXвђб$`–ЬHі@Њ*2\”!”д +)bc•-V+DаWЄ:$ +*~ЃБ`%ЏBdy.€xPB‚VDH`ЃФ  #ФQ‡]–h0€Vv "]ЪYб +0ТXBІўN! l c—%rД QfЃ$„’°„ hвўH Qa$ +1М!a‹ZД@Ђ€ГОD3M5УфГ + JшEA ‘ЎIXб LpAюшD^\ђЃЂшdЂ#TА 04ёб†x"ђE +” Ђ4РЎC0A +gЙѓ›>˜`@РЈЉ7°E],qГ Ь‰а +я%њ‹ 2VpГ‡ СҐН7гњіО;уЬіП?ґРC]ґСG#ќґR0e +Ё°!Ѓћ`@)ГwЬ±д‹Rx0б“3lqG‰@XfPКC t0Д02ё)46(( ~4€%qб.xИ .ааBt + JX3iҐ—>sЃLђ  аШбЂ „€‹hCЏQм @HЎдЊOцPCђw9}­” ` Yђ%‚85‚?(pз 2шd– +VЃ@€я6рCЂ=€a +Оp㈂p „(ёбЌR2¤*”ђ…"h­$t D/tбBћљ0аў”АђБ„p$8cЮзўСљЊJўG Љ +TОЂ¦К(‚Кp xЃ аЃ +t!]d`<ёЖ5–p +|Б› +гGB„OД‡1ђ0A7М@wq +Ўвє0 .JБЏV!\Яfя2ѕ™рѓXҐРЂ<‚`пe` м В +a(CЪ‡:д!|Дљ +±€GL"M˜Ё ' +1ЉS<_bЈрЂPG+tЃѓшЌ+•МЉиG +¬а‡eа +¶` Ц`fЦб6 +Ђ‚ +P +ЈKа7R ˜ѓ2Д’‡Sяp чБ + + +0/^АђЃ3 +Ит-я·.ят0у2П†ҐљЂzЂ‚˜†'H +€‚Pµ€ +шшђЏ +PЃqx'>(Rx +р˜Щp’u% „‡AсШ XЃ#hЂJXyPYx5€ +sЂ,xV |*ёjpЃ(>Рч–ЅµђЂpёЃ/ш7˜Ъ& +p Р>h…аЂ PЃИBXRЉ~q+ +‡ј–ЂIЫFKяђGСЃN:Xщђ +Љ‚љBа‚"аЃЌ1к%‡` +$(`Ђа§Cђ®і8 RЎ"B„ВЭштЕН,FP,СаN‚>­rpўвFBdй(†џ<.–„Sу@(nX +‚!ќСPf ^ЦрVЙA:YќPррВ.$„AЕN]T’„сВe] мЦq9Л.џuмё`а‚ѓ<sеrЙkwпЮ‚pДуa ЇЛBKдyЙАEЭ …д¶М°+#*Tњ{А +Ћ +<юЃ-z4йТ¦OЈN­z5йq_4ДХ +і]|tсi‹–K ‚tДя‹gДG#F8pА +2 N№г "e)]є2СЃ8_ +yбPЖЏ‘єv—ёІСfnєеХЫoБ +WЬqЙ-ЧЬsСM—Ku `чЛvЭ}З(M8`•d  Caм’A+:q[лмў`x1I˜0 +)ђ@ВAМр Ѓ<МИЊ^03B–Т•Q^,7du‘„Ь ’рЂB +U­рАЇи‘:ИИ +РA +ь@ряY°КJ«­ёкљ‚RМрВ м0ѓћёЕz@ + +”а[АФЂ +єшЕ0z`Њeф†РaФгУ4 '8Г§HДжоэЌбТђ†<аЃ”Сн+ѕWaяOђХbШ ІA<аaG(Д[ёKXЖ +(!ЃpC˜Ч<з=zС“ЮфЁWЅXпzШЛћцN°=о?  +Д +TТс‚€=Ђ„б–б¦a¬aѕaОa ФбжбцбвP=Q!b".ўыґЂ +\Фжэ‚Ђ +4A@€@Lѓ¤‚ёС ѓњ˜4¬К|А!А 8ѓаTС фA ДЂeЕУЅYLlЅА°В'|DA<Ђ|@  +Р +ЊА}жз~цзиЂиЃ&и‚6haBЁ„RЁ…bhВuЁ0A„и€>Б@ Б +Ь +X +T@"hГlC¬Ђ  +јд‡ +Ё +0<Б +@Б bЃdЃЇ•Ђ)ьБ<А-р<ВА&°В±A +В¬ANzЂ>И<ЃФ@ XЃЃy@*њ@6ф +Р lGЮ +аЂ¤ѓPА(Oъ­$>dBА±XJ0мЂ48A#Ф@"ЁЇ#Г®ЃҐB ¬Ѓ"Ђш8A Рbд‚шиC њ +PА&$В'Њ +C`‘@Ђ4d5€C 4 +HЎ±^Aд Ёhб6їЂ)Ш‚DБ!B °Ш°А$, +4@6Њ@ 4 $фB7фCGфDWфE7BFлГF{@G4„фH—48AJ+K»4 +ф +0#њ +‚!А¤Г)@44 Ёх˜Г”${ЪЃя?|А €AAq.<АP +˜‚фАSЉЧ 4аВHGB0B"д7 0Вp‚ИАГЅ1Бо +‚С@ЂLш s;7ЛFчtџ@u_wvАvwчw‡чx—чyW@zCБz·”{Г7(И7}Ычє6Б ц(±0LCP +Ш +pГ;b$` +ДЂюj +Мє=Ѕµ'ВA™АT@PЂ @АЄ B-Ђ@ `C”Ѓ |Х.L;Ь +ґ +tB8 +HC +x=ЂЅШ“} +˜=Ъ—ЃЪі}ё}СЬЧ=/РЃ˜З' +DЂ'Ф@Ья@‚ Ќ'[є Ъ +‰G;Д\™ gВ@vюeФё‘cGЏA†9’dG0XA°2 +Ёй Х 3"•±)ї`P0bFЛ l<йГ$Y +d{чNA b€mЁХoШЈgm^dЪs +<~$ ЃЉЌJJ ё%d”“)W¶|sfН›9wцх3иРўG“.mєOKяФ©USbХгДЃ'OF4aT! +4gБb +L!хр ЂT¦Б| H`6АС +` F`#c`„lV АЃИЎРа&А|Бtуh @а hацR +VбДАВ¶DrБ> є`N2Z'ЃO tO7uW·uаuW1d"S vow®М@wy· +< +VА|< +@aта +ъа°‚˘ ®°¤Ў. °юU*µnкЎ fя  +VЃGwtoАЂ +Ѓ©§•Z”цФd‡@ч +тАю +>!~НјЎ’ ЃЁ@vAєш‹ГxЖёЊПшDS@ЌгЂЌНАЌбXЋй˜мШрAЏщ ю˜ЦЏ{.айм€Ђ `Fй +ђJ +ЮАiK +zACRє ђb +? +э€ +aк!к`/@sэlj &А +¶xtd ёbЂ°МЂ о ЂgАЦ@¶ +к—Ё +ІАЪљЩ { мАqД`б<µИ~!@,Ї ъa’<х +да"Ѓ6яБ +<Б~ЃH ъ +‡љUЎАfђЃ8µ[Ђah!F !ф(јiбјsЃfЃ8!2@К +X +Fд%W0а 4АLDшa PА tЎHе |`bа xЃ<Б°@’ +`иљЫ[“@H$ +DАО@8@*…ЂВ +8 ˜! TЂ + +ЊЬа +  \ а@ +F› Bџи`_б zў F@ЩcҐJШv)уi!дНK@ &a&~б +@БСtjкЎњЂ;ёБ†АВ€а˜ЊЃЖ XЌЂ``H@КpЎ?М` +.@N@к + R,X`aа&K3Z,lЙ” +вh!rбђHХЂ1“"О )@mйТҐОЋC·FХ©µЎЛЋGjяХвy§О†JЩ идИ’'S®lщ2жМљ7sомyУPЎDЌ"UКФ)T©T­Ц”’BЯ A)¶°°ѓС…њµґTЫ©@-39±HqЎV$" ДhєЈЇKУ V*шR;ЕдC:Ґ\ + ._zРв€ђ‘“PH©3{ї;;YZиW'¤ычргГgФВ‘0F=8 ЦЁa +ЁbК6$ј +Жha… +(=|Ђ‹@ F@°p©LЪВ¤ўАћЖфWА 3Ha@-_y8 ]Rl!Я±И&л^4ц  #ЌФЄL#DDѓ‹'ВаЬКА>7ЎЂ2 + +pѓV°ЊЂLЂ +µй‚ +Р…'РaъЎѓl0 +њах0ѓ*@ +I2Fa”сЊi\cЯG<І®ЋwМгышЗ@`ђ=(д!Щј0С С8ЃЦ +@а)њЃЂh0ў#tЖ~ +•р…@ +№іc†Рђ4 ышЪ>®&˜(^дРaр°ўЌЈѓ. +(4Ast + AДр‚,Ђ ¤TМ XК^–О §' +fА…иvwТ +L`6˜Ђsdб +вH_ В˜жz@“\яША Вh0гo`B6ШlЂЂА€QД +n@ +:! +;cTТxА ё•‚0:GЏN З4(Ф:lЊ +–05g·ЃЗў@D фрwќч‰d Х`Rђd R +ЖpE"f’•P'ря'А}РЊ +ЫАьЧ@aUx<ы§А6Y@ +; +АSОХВ` kЂ‚c¤Х яЖ@ ?  N`Ќu„IE4Sа-°„AZP$uRЖL0zф°;`'°r0 Є°$PSµ  +̘—aa PhК $Кe HРё0 яDа73>5/ЛЎъРа!'рр~)0ZАё ?Ђ r)")/0%@X0~p?°пeXаGc OаPЦїа А—~ЩЂ)˜Т@˜†‰˜ЉйЊ)/Вр˜‘9™P™—9O€ґ™ќщ™Ў№с–ъ P}Е? +ЫРТPyрРdрeѓMpt + +‰ЂZ‡р`Y ЊzЩўЃ 0 яђћ +с +D РуQP нуїр «Рu1рьЧ4 0*Ј4jЈ8ЄЈ<кЈ@*¤Dj¤~фI:‘LА¤N +™р@Ґ,`Ґћ 6Dpu0ђ 2 ‘@"А +°tАOН"F'Ђ +M0•@° сђЄ_аћйђ ѓ7BТЂ6 *СPrђeВЌ0 +c‚ mТ©PZ1Яђ №ђ60rЂњ0} ЄбNђ‘@љ@1€wФяPP +p +  +эеPG“’ +№А +Т  @‘`Й± i +K3N%_‰зФ ќ +cШ °hГ@=‡ +j`h0ЈЈґРя$QDР+@Z`› +‘ ['Ђxа­¦Щ +къ№ЈMа V“ +Щ@эУ@ФB=ФD]ФF}ФHќФJЅФLЭФNэФPХR=ХT]ХV}ХXќХZЅХ\ЭХ^эХ`Цb=Цd]Цf}ЦhќЦjЅЦlЭЦnэЦpЧr=Чt]Чv}ЧxќЧzЅЧ|ЭЧ~эЧЂШ‚=Ш „]Ш†}Ш€ќШ? \ No newline at end of file diff --git a/i/labirint3/1/cn2.gif b/i/labirint3/1/cn2.gif new file mode 100644 index 0000000..4a93a1e --- /dev/null +++ b/i/labirint3/1/cn2.gif @@ -0,0 +1,289 @@ +GIF89a`р +‚s[¤њ‹B5!;2!’„k\Q6Ќ…pujS«¤“і¬›4(D8#laI‚va‰}jM@(zjKЙД№(„rT9*‹y[eYARA$zmZrfQ`K*J<(p\9’†rў”z YE)TI2 P=%©ўЌљЊsГ»°dX.№±ќ%c[GS@0#H6"Ї¦™]I/.'0(ћ—€)#XI5.$†|a\S?]H%~iFpdHD5QD(€ЃjM:%uaGwfQќ—ѓ˜†jЊ~o‰wawiTsbNeR7B4C2YF/SB,`R;2-I< .({jQw]C2ѓ}drY/|jV[J4ї»°*#‚|` fX7—Џ@6'eR=J8xpYRG6G>.2+H6woTF8˜“Ђf_H…wh`WEџђqЏ€p©˜‡•€gњ†\ќ‰fvgF…Ѓd/wfW +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛ·ЇЯїЂ Lё°бГ€+^Мё±гЗђ#KћL№Іе˘3kЮМ№ізП C‹MєґйУЁS«^Нєµk…цX=PЈ9ђ»xр˜HОЪџ&Ї/т°'цвr5ЩўыАћ]ёpṆ«I“№˜oБC[w +ѕ›ђя“°јI¬=±љ. ¶ЂXИн @юћ=ў,А#6tйФYwАрРD.XCЯx< +eуЖ.QH°Лodі‹oр°K'[њЈG`њsН9XPЕ.xXса| +а9’УД.ОеRЈsьQ$,BсЖQм”PLY%ќ@!Е–`XpMaЋYf&t–°‹ +ТЁ*њРA©paЕ{UHі@QјС„Хm‘Л9[мЛіА!№P,Рс†Ћв8ч¦Vаqx<йJtf‚‹џ™,ђIЖHУd ¦зЬ.»м±ЕЃXBxАЩI-Щ`«н.4б-ёwBо™dІ.й¦ЫодА{@,!V{В+™tp#jЎj!"PBѕ"рК ѓX#A Ґф“DЛѓ аѓ%dRў€XЃ@&%иEoґs]"м±\,[ё нBE–pЮгнk0.zx`A.tB4ЎќpWВe[AVXAҐIЊ'вГ±дІKнґ#/Tішм}UCя€З.x° +Ѕ±@t4HЗѕЩЬ„Њ|o…xґѓGМ/P@І(›nЊЗќf'jВwЂt +Ф+Б ¤a& н+tИ„ +†‹ЖBA±‡8n•ЉXМ°†-:@Рц†°х°ЊA,ѓ\с#К% ‡4и +l Њєк +&б +?ёBҐ*чРЃVVа +°”%-m‰K=мR” +ЪT2Б¦^“#вВ lрЉV%A@( +ЮаzMMЭЩВ5D) +ьPk Ђ‚8Фc©ТU +Јви иђћXёа +xЋIіЃR•єўҐVhЩ›|ZѓЃсбOйС¶ ГИXUJЦy“ @5дќп¬^0љdрЃЦ@В…ЋТcQѓФж®2lm« l4ЃR"~DИ§LTЂEz*ѕj +XГ +Ѕз}-H/<зП–YЈ[|и`vфо +:85!ћ—џ@Г4Т°Ђ4LC i(Е&ћ#@C=` +iЁ‚•Е`ЊRиб W0l`"ЃDЁ„!®а +f01LВЖ +ЂBК ЌґV +ЯВ…™љP +Upг!†•*iШ C3С ЎШоШ.\Ђ‡-ґг6¦¶@fЎ„W¤Гіx„ёAяi Ч3ЦЁ$<ЇЅ 8Q¤Qn¤”QЁ +ЇЂQи¤*­вzЇ` + Г:Ё‚U–”R{ +)P|ґаґрnРr2g"ЖРqWўd}R +ЊІѓРѓу(AШ0–Ф$$*t0@kS*г1+Чr'р2w'P +„@OЅP +ў{.яP#"хo R Еч”B ґ +6H7g+рUѓp¬ЂJД РR™ +ЏР<@'А[р5рd[` +у=o +ЧЏь{а№t Щ i0Ђ€вQqD‘С +Та­яp®р +ЄP +ґrЅD +СpY%`@I°Eљ’ WM "t>мЊ24ЇDXI±Ђ—ИH' +pЕшL:д +Зі +Ѕ°1c-#Р+!@m“–2P: +Poђ1эyдЂQЧu_ЄIX~nи„ФТљЃU5p, XЙVпQ|·ШKpzИ0О%X #ЎрIoB5LшZQАtEMQp +‰ѓhR»pвpY +Ў +I XГЎ!TіЕЧYХ а5Ј1FVҐ3‚EЈ¤•AКEWЎs’Ѓ5Z5ўl꥾Z§§!ЦЂWГA¬%`¬nљ«t…Yѓ ў‚E \9бJ«Пк¦2Ђ 'рзЈVИE)Ує®цъ¬ЄyW5PИpЇЂUQRЧKe`ХдћЖ +Т0Ћы‡> p·° +Ґт›0<2 +ЬabчB±™яа6Ђ±тcIHА +­@NА;" OђлАBСBm Ђ +СаАр¬А +HЂwЂy +а +ЯCenл-р­`u{ +Oђ +бXЖpM˜ў3°яI +*C@VЂ‡еЫ™ ЩpТP aгЕз +в° + G@–— 6р·0 w 6ґp vЂ1PL ђ5“Р§+k@ +e **@uлO@ +iPђAЊd R*\p,–з +5ђ9ьqYі‚ +нД“«·O @`yPДа +еq>Ds1чA-,E>гЖзz] ЧҐ`«2Uрvp§°З}<Bpћ`АOА +Ва + +µрeрЁD–t8h#љ2B«™UгA‘Cѓ0в +6ф® +=Ђ +D` 3РrЂZ0 ¤¦"0 +Vp B `  +РАQMЇА +DР +3`r H@uПы`­l=b`=Р +*Р +Z0/А +0 БАђ 3@™PnU@/АIЂvнђ ™ўU—R:s<ёu +’A˜UoЏг|2д +з +ЙђjL-?ѕрвQoРn›ЂћfEнФduWaхТp i +ЎАB +І ЩЎэСЋФтћ(NЕI _BйвЃ6PЕ5^iVЩ°гV¶rtђ +*рP` +Vрi +ЄАcB&jBЂbр s0 †ЂЗЮgЮ±UЂ­ p0 R@OE*LлкЕќ%ЖҐ °ZP7*JYZѓР з ђЕgЇЅФ‚% +0!ёђ њtЖ,ґ~hІ6Kxв1џ?° qч 8_"UРућіЏA*УF@UЂ.° +а +UPPдЊBОhђy +y0 +[ў +`О@ + ў@poАЃ`¬pЭ'А +> ;жЂЯ Е·]ХbqМЖ +о +6`±ФРјOаePъ{[*3–0зf°Я[= Zя ,hЂzp ^p –6 +z`–џЖ° +3 +dКD'JЃ„ўX‘АjF/•z”кЂ @Ї3ц фПгGђ!EЋ$YТдI”)U®dЩТҐKrЦИ‘;`Ř„ЄD‰‚`Б‚(Т&I;qў—^НRеЖ +<%А^±кФ$Љћ +`А ФжZ¬MљрзАџ=PцИ4 ежЃ;{юЊBhиБW\ZTђ ¤i4ЁRYЅ±Є§КЊ[OфDШґ +1\5cOя +kѓHH"ЎДЈ|&@{YЬшqдЙ•//)`РЧi: —й +BЌr$И„њ$И9A…TдB‚i3Ґ›@YЂKn»хц[•x@¶ +Д“‡й C +ВэКX@€ш¬ў“* +и¤ѓ›И&у>±к +р 6яЂ·јВMЂJрFЁ'и|р +\Ѓ›рАў` `zШД*ћР‰LDЎ[ МYЮ'я‚vМ'9№тVЊХЂ Ю+Z1@C!Ґ°Б¦А@ШИ  +wґў•0Д$Єђ<Ў +oШ'sФсPИг%жЗ=Дbe¤ё$Ђ©h$a€l…$т„GNDLРѓvБ»€ИvP`% +P…i¤БЂВnvЃ‡IЊh·(@E R‚®яйFN°яaЌн™07]лЗ+Рр„+€AЋлd'ЩЖ”¬v  7q‰ьHL…А‡,Ик +ШMшWљґCр‚Р„› ђЖBь#ВHА(Ї +^в +«JБ,ts%иG@W +ЦфF–№йGёPЃ5Ёіќc%+–jђ“=ё™рЌЊ P¦&xЂ„HCЂљ‰^pѓMaE ъ +/D‚ЁaIГCEЌUHl ќ°˜ ЄЦ?ђГя®`k ddёЄЉ°B“јФкбn˜…_µP +lШЎ® Й>б +е—»иV& @;MЁB›ґ‡РбI©иD.N`оБUX +Yе*lbAоN¬nа +жUЮШм&ЅOтВЛ(Ѓшv" +шўЂ(>К\<=А.КXXЈ±ЯсиЂ[·A˜ktЖM&¦!VXWЖ3F lюP.ЮOP[сwK0вЬxНkcNЖТa\€ґ 'яљ9vЃ.иmhЙc`ЈcчШ?®[¤„|›q†Е?[АЪђ‹N„h®БЁ‹цвQ­±Ёp夛щusДdТН¤рЉAдн›"¦ЫцQ +JГ<с8 +Lxt¤']i\:7%8§УР†PTЃ©˜ДБ +C!O`5^­ѓrЂбДъ ”ѓРC'<Ђ$ВmАК± +€@а@^ьўЁSяЦБљ +Г +%( +wґЂіиA –Т-МЂАAЈ=>г-€ѓI"РП¶gЌ7Lѓ &Р,ёEщ°Ѓ„P!Ёа +“иC0‘€2x мЂ&ЉЂR» ќЁ@.¶P(l!дLЉVЙcqтЂA zЕ +‰^<б—0†Ђsdd +>o§йђ‰2XАФЁ…ћЂuВЭ’МЕ.F:…Zмў™ИГ-D°Ђ*€ љЅИ6WCЋWаNГx!ъБ.XЈ"ЇђГ$TЪЏ;xЎ АЗMOЭ±М›LЉШёё +іЇЅpЯ + ЅАёђ +!€A @З*РPЃLёВXD° €AqЃь3 < †dѓ˜А$iђ† +x…азрЃЁЃ@і `рЃV˜ЃA 0РЃШ)Zђ +ЯH‚ЧHѓ +1€Ђ[h… +hmА‚, +Р†! +д‚:ў Џ1Pѓ˜p +ВЏP(ѓ6°ѓs€b(Є&`ЂH€ѓmx +Uаc#HѓYpH…я$и‡Ѓ1`,8Jе,џ€‹!‹=€lђѓ°Љ +1И‚ењRoЩ"`ф +{›&±Р;(…єё +.dЁ ˜9 +А…-р + p…7А¦P(=H)rh  <(ѓр±Ђu ЄUЕ3xЩ¬hѓsђ†2ЁbтPЛhvщ ќuиЩЭp…lZў]–ЈµЂ»+W8 + Рbи +Ш† ˜Ђѓ"Ё†@А +Ѓ)HX>Ё1ё…ёВВZЊИЫQ“(и +8д#„W`У9рљAЂIP‚ииАЫќ˜(ЂP8p@DЩ@ѓSМ+°p +xѓvрZк°ѓX ЃKР/ЙdjI‚‰±l­б†$p‰„$ћ¤ѓеVё$0й”^m’°8§HРM +.…[И˜ЊG`…t$pѓя©H(ѓ'ђ†=СPH„Mx†й\ђ‚cЂИќ*X¦ж‘ гЃIАКjђнVPЦSЂW +ШѓT8Ив…T™‘7ћШ…=О†`pёї†:…‡Ъg0aИ ш‰“Ё +ё°ЃZ°…1u=Hх3пWO‚To Ш„i€‡Ц°ЂЉ¤rpPГ +пи„7`ЋZ…LАbтэ(Ѓ2(… +@‚;H©.лХі°bHю‘ dш-kиФI(„>иt‡яът0Р‰Ѓ†иГД9P@ ‰ +BИДиHZ юsЃ6иШМi‚OА|Ѓ9@‚[Ё‚I(Ѓ&РЪlёKhш‰pм…2n †+РО9˜…Ћ§…^P‚ „qЊ BоUрµ†хZЏІ +Ё`Ґ†ЂNдxм)Ahљ(џтМY0hЪБ9ЬFs€&bЇE8 DК”x>вс’O D˜тАCВ®±ЄT)°‹G +˜{Т¦эcѓђ•ѓ¬Х°&!Iѓ%б+a­ kR^IЈУAF +dx%яј±!¦П‹’'S®lщ2жМљ7sомщ3иРўEWX° ЦЊ*њ(ђ M™^ЄTЅрrв+&*ђ "G§W“={ДiЌuаЏ«'v\АVLS/µ Ё…ґE@… ЂкHA +°Ќ'LвmH7˜N|B˜ѓ"V nђ +kd"l@F ё 2ЫxЃЦа9VDҐмБ.эфuЅ +HЎњИO3„!ЊmlГ‚И‚0a LдD):Q@њГ‘ёЂЪА‡)tѓvжP4р ТАЎє˜‡B +!€шFB"0ЂЋg\ ‡°PИЂWмВЁђ‚О±‹s¬C +ќШE ° <4бЂC&PQУћц|™€BКа(, јрА\ Y ” o8А: +˜Ј]X4`Ђ% +лшE°DyvT¦G¤С*|`Лlхr РKXўZ (Bћ1Ѓ AЊц’»i@G8B\p€ мd  +±€d?к~@˜‘G@!Вї3°™кШЖ”сЋІ9:рЯ(8Pф.А@ґлІ=и‹6ая 8XЖм&В,МdК ё +|;g ё”УZЊd ,КиB2tZk +OxB*@€Hм@ ШFB +R4А0Ѕ&VюЃ)$Г0h +: +бћЎваКЏж V-МК`V!Ю" д ЁO +Ў.B ‚$:єaBЂЖЕв‚ ` к$єЃ +’б$Ў +@АЁeз`А +іp щбцLЎ$Дђ Н°АФAh °‰­@ HЎ@ м! +«сШяЄ‚}RҐ38c~ѓ`2`@ +к@АL t` +cр%РаЪ +¤R:) + +Б^Ў( +! + +ЎtаудБlAsH2@`>аC ZьК +ШЎ +"! +BбZР•д¦AМa Заµ98 +т@4 XQ@ +таОБ¦`h +к „aѕ!ђjОAьЂrЂ! +`( &d \ No newline at end of file diff --git a/i/labirint3/1/cn3.gif b/i/labirint3/1/cn3.gif new file mode 100644 index 0000000..4e6a6e0 Binary files /dev/null and b/i/labirint3/1/cn3.gif differ diff --git a/i/labirint3/1/cy3.gif b/i/labirint3/1/cy3.gif new file mode 100644 index 0000000..9628b3e Binary files /dev/null and b/i/labirint3/1/cy3.gif differ diff --git a/i/labirint3/1/index.html b/i/labirint3/1/index.html new file mode 100644 index 0000000..681796e --- /dev/null +++ b/i/labirint3/1/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/i/labirint3/1/kanal.gif b/i/labirint3/1/kanal.gif new file mode 100644 index 0000000..db39c3d Binary files /dev/null and b/i/labirint3/1/kanal.gif differ diff --git a/i/labirint3/1/l1.gif b/i/labirint3/1/l1.gif new file mode 100644 index 0000000..e69d824 Binary files /dev/null and b/i/labirint3/1/l1.gif differ diff --git a/i/labirint3/1/ln1.gif b/i/labirint3/1/ln1.gif new file mode 100644 index 0000000..d9d7e85 --- /dev/null +++ b/i/labirint3/1/ln1.gif @@ -0,0 +1,212 @@ +GIF89a`р +kZ<–‰l„x[©–rХНВ4,"њЉe’}aQC,ЪС»©–yЊyU;2)ўЏpD5ЕёќI=+НЖ№o]DdZH«љsqdPbR4ZJ,D;#Зѕ±siL{jA_N7bR,!±џ„‚nR–‹pѕ®–yeIё¦ЊПКЅ№­‘dY<…z`p]:ydCJ:"¬ћ‹‰uYљ‡hЄ™yСЕІєЄ‘SI,A4#ї№¤;0®ћ~hT;»©†zmWХТГ©љ~?5*ЗГІMD7ЩН»Ґќ‰ќ”‚60"Ј–ЂkY4ЭЦЙВ·ЄБЇ–Ѕ­‘НВ¦ЭЪН·°›є®•ЖВ­=8*ДІЊ­љ}NG3ѓu_©ћ~­љxmdNQE8F@0Ає«SC$УЖ»ЛЅ›ќЋvџђlёҐѓМ»•|t`–€d®ќyШЛІдЩЅhU2Ґ˜uukWє® Љ}ghVAѕ·©XF3аЭХNH:ОВћОИґґЁ‡Єќy=7$H5$—ЌwЏ{LWE,ўЌ[-(ugFЁЎЊO>'“†o¶°–`M,‰w`†wSРїќ»°ђЅ«‘Ё—ѓaVFШЦЙїёћЮШЗ~oMљ€qZF%А®ЌРА¤·¦’+!dW6WG8±Ё˜ЖАЁЋ„o^J%G7*^P/P?074&TG'>-xgPЇЁЌё± hXFЗё—Й¶‘Јџ—P?РНБ‰~pИВ·ЃjA© ЃED5ё©• +Аlё*Rя°.яOћьр Ёћ@•Є_¤#SїL(ТM%GlP …‚™шт +жЁcVэфcѓД! +Џ„RXXЩиЂ*ёIђЌ©“J$ћ±°бЋXf‰3мM@A(ґccaјҐ +ЏTbO ‚*Б ‚J +eQ +EpЉF?ЄЙИД¶<ЃU0Тћ`†ўe +S ‡6ђ†BЊa xARаЃ4CрЃљИGЇdгЉpћпЃБ*Ь…ЂИ@xAЌZМЎcШВЊR§B¬c +RP ћAЃМГ ¤( + +]K<ћЂКj2е 0B^xЃtА Ю¬џЈ"0ўЭЁA3ЁЎ  5ЗҐ0 +ѓњкЕ#‚ЂяЮQУљ +!hГљQѓu° |XЖ> „g¬AH`Є BQЂH Ђ˜@)NР–к=f@ѓц їkи"Р0ГoXрg№  +и† Юђ†KёёВ2’б†4b(ТJPЋРНж Ap©VmbF%{@@ђЌ PaFУ ~T‚ +o Gj`I>мc^@Ђj°W|aЃЉГЋpњ­V%ЁшР©ђ“ +ћQЕ\"Q) Ђ…˜Ва@ЋuH#K0Ѓ’с†$ @НpЃ +ЊA4R”Е‡ЌнI4¬я +з XVЉ$P„ЊU"2¤PЗ”A5рp@ +|иFT@Ђ”"?XxДeЛЭЌh­‡aG*&ђ‚.d )ш‰ЁЮ˜: b +kp‡ФЂT¦^b ШЂ jђ„ YРіЊіо#є€ey;„І +8м#6A!LР „А)8A:PЏnL 5Ћ1EФS™Щ + а +kpѓмЁ‡6<бАBЉс†-є!6`„ru3”")а1LСЃLа +pёD–а†-4г/и€ЖЃ!Ш  +(ВЎgќђ#ґa G8В!14”‚ +8(йd7†"P EѕЎ!ВЂ8„ЃО|pG7ЬБЃn°АґшX*ьIлnD8‚_)`.,Ђб†[ +˜ЃЅ7xЏ~8nЁ“сrlA…ЃвPЂJ ! +]v€ iЊrA…Ш¤3гЁBЏ ё¤А ©IЈКxЖ%ћЃ О+ѓs° +ж +(Бeђхкµ\ +3 В^юc(T\‰#”ЁЩUЗяЛЉ6њЁ†0ЖћqЏq|cёxГаchЗз˜G$¦Їe9DАґД.  QX3ї2FМ@Эт7'Іa0IЖ@~рК°рЖа•&а2ь'cH +"ALЇ‡E°xї0К ЖЂр5> ґ=Xа`f,   +#cыі(¤ZаЖу +P +P8p}Њ°( @А8ђ Xд&Д4F_ёiФ°=(я°{їТ[g5ph`ра„зt‹УE#M8р +{Ш{А–Ц2C &†p€Q%5р 4Б п +% Ж“P +ЁЂ2Ep +№И]WД Уаgkў +№РMУЂMа)0 +Ђ†яаE []!кЃ%pЋ0 +T°  +C -eа`0Ф0/`ў[Р`аvp +ґ „=iX)°‡Рвр +]р‡{PЇPT s?s +>ђ +ЅPkР +д0}°, 50 +[PЃP +qIN‰` `< а0Mе Р ‘2ЁC +[ЂYл Љр …P40@ +] vр ї +E + ` +р +Ћр +‰` +РҐЗ к¦ +Jp +еp0Кмр >`†рs  +М0mАЁpє(ђ;§46Р-ЇYЭЩ мРF!PЈ°@ +,ђ‘Р/• «360Ђ / @Љђ4рЫDкс,.рЏА^’!Fя1F'b.м‘ +f‘v­hE2рї0еЂzрЮ8«-ЛGP +Р~¦8АOРђн@uЄ +†Gѓ`т€а Ы{ЂkРЃR@5Рґ|4%°Ј0 +-Ђ6А0¦P @ ЮРў€Њђ¤^E +_ђі•р”„`J +8pУЂT єPи–ђ +О§2e ITј +а»'АT@g2ёхгtX +АPЂёяЩ +"P +`А +Ю +0jp рлAC +E ^ +УЂ +&уT!T1•рFБаsp[ ъZzрЇ0їр  ? +t@ і@УРЂрЪB +кТЕЦ’4рc°±+0іPМ4Bа|ДпБ0ЭРp”р ја+зspAMЪ,4< ЃЦІнљeяPСw +R0•` +0e0wР8Р b\k?1ќђrРЎЂ=ЃV)Ќ;v085р«Ј ”,<{7° рґsр +kъ;i40JАFш© zq›Нbін0bђ/P P + ахЊеhёВ ъZ'qр€@>`8)PS +ўИe0wAJЂ‘@B +цЭ°JpнРќЄ@FІy S=3јА!ђ- +UаїЁ +°XpmCWїU•р…»Ч ѓр рY +hА&@-¤Р Љ[~В/` ЖЂЖ +/Р ДЭ±И­0{ +‰pd ‰ 0№ +SЂЖUv:‰Ц\kЄЂ:Мp.  +.0k + +zРЄЊЂЅ1QE0µ$16cр!Р mP0S Т Їдр 1dбб’‡Z@ eР ?ђ"РNP5 +5Р¤њаеаLюс{с †іҐЄ +>` }`жgћ)•zm00р +@NРдeчh Їњў +Jђ{&e‘рнР>А 5@c„’кђ~ѓ№•Ћ)Tа>рЧZP@ +ЈА:psр`Uх‘Ђ +c°Ђ>А…№( ‡˜нЪ.Fєѕлyb?e``"  +{ ПђaPЮЋ)i µја°pSPЉ^ПЭў~G Б¤У +/  ы`@ +°U +ўP[аhTw@wђ Р +rА Ќђ +PђУаfР8·05РџмаGЂПkа7МР + ` +Ф +Pђ°Ї%яP +А]  9@`0 +P +ФЙЛ–@:њшЧРбC€%N¤XСвEЊ5nдШСгGђ!EЋtш$Г‚ДhjТb +”(IB +vК(‰В–5c щ86FH(xлЦЃдU¬YµnеЪХлЧ‰!ћ +ЬA‰XЁўЉW +ґсFsМ*„ ЂеЋ< +Р +pа^±¤Ђ*ґћ ЉHЕ‡7КЂ§€fШaЗ%6Pǘ)Ь „9В(ЫtуM8Є"ѓЉiA¬А'nИB`аIєи 4яbѕЁбЌ"<ЁЎh Ѓ%h0?–PГ?j`(NRK5u№RЁСўЋ`иB9юИЕb0@‡sЃ@@)§ѓ +&)з„y*БВђr(°‹˜AA‰ Qђbњ +ўgЌB|pa[†vЈ ЁЙ +>„8Б/TГ '€РDЮXв@д(яa3j$ЁAl°!Ћ2ћ1ДD(шeљ’hа ’Hў‚шznєMEeСТЂЃ3` +(гoрѓ:jр ±С (PG +Ря…<рг38EЉP†BФh@ +ТрЃn¬ +p.јР‡5ФА +лX`}ёЁ‚.x +Ш‘i(0e"љFбЉjь` +˜ѓєр‚rlБ +( +Та†рбYшЖ%~шF8‚$©Ж8ћQј@" ‡ґнѓЂA<„lahF/>аЌ  ЭрC>А8„AЭXъ ·8†R”aDt +Hйr„Д ¬ ‰ FUNђ9„ЂeАb¦Ѓ0hЎ͘ЖБw˜А PшX1JhFУ!бђCTђ &яДb0 +ш@ґрОTЁ +Н Ђк^P|` KШ‡.сЙtЂЂ 3}#JР +А‡а} Я`".‘3љ†uЃґР ,TР9г®Dд°1€Ђ +pП7t` +sh +\ …"ј@RzРВ:ЁЎ @дА.ЦtXЙЪяЪ$­a +.@bѓyёБ':#†QФ!ђ" +t длџґЬЃЉIЫ·Qяёа7Д‚YpE­w +XD,к@Њ”h"№ЂБ6¶±J+x᧥ЂЉ`ѓl<б +8Av@€s A~и +ь ј‚ј^P +8`R`бЖИґ +Рѓ2ў1ђ‚©{HXрЁўр‡АРѓи†X\h? +Ь +8HX†3…,Ёѓ:€ЃVа†°‚Р+р +€ +0ЛІ$€ђ‚g`±E +˜–X5яЛґIT hX&+ +˜k°Ђ+ОљМg z@±Mp/ш…zP1шЃ7H‚ €…fш +АЂ0-HGpPA0 +€0ш„Ђ‚p 0€‰Tbп +Ё( +и ‡rшХр +,> +К +АYy˜rx<*ц=ђ- +°X +( +06(Ђ‡"RhИг…-`Ѓqр-p Р„t±µD…P +ё*p†WЁЂxР‚чЃ +°iЁ +h-°+ђ[ ‚њЂЂQ „\ + + +Р` ЃH +Иш& Ђ + +АЃO`Ђшl0…уbї‚Р$ 2ђ’ЗішО8n ёѓSШM0 +а„pS@OopЂ | +Њm#<Њ›BЕљABЁi‰0 +W8pN#˜ Џ=ъшcVрpь8Ѓ‰&ѓ вЏН\"‚:tX…Њ"‡<р +3Њ + іN/ј0 <аcЋ@К9'ќu>ґy +pђ3П"w$2К РЊ^`ЂсК(са И°1АѓЌ% +"у<9М’Fќ +»"П!аJ<1ЕЅrЗ9дpЙ%j(#‚?Ђбл +PЬ°ЏrИ‘Eђ’oЦ|вЙ|PA/¤с Вxв‹ЊЂаI&#xт@њIлЅwЄР`ЊRиrѓ(0рЎ… ЧtСu}°0А,UМR†#ијЂ «ђ!тD± +4ГxbОЫ™рА7л­я8Џ +Н°рџ-1ґ ‚±дP № И +"ИQЊ +uдСЭЂ я@"Ф@ b $` ‡р…$ЖyД#“`@ш"(БЛ¤ +sиЂZ +ъш|Ў DБ–АГ ° :ґЃћиS©JЊDCH8EZВ 1dAяЂА0 +Ъ° +j°ѓhв +CD,lБWШ,ЃЃјЂ +4бaF˜*|Ќфke˜4юЂмт·ulЂD:»ґ +’`jXВН0`@DP Г5Ѕ4®WҐ‹I@# P ѓД` +ШиБks­н:Х@hЁ +.8 +Р Д.ІЅн}Й8аА=„PLђ@IиYпРфJЌ@ўbFР"[В°ьѕ8ђђрЪ  .@0д +Фqкn7Р,4'@ ѓёCLЎAZЬБВrДИ ЗxИaA€ъЫќCља‡F‘‡Њ"78ЃАЂ„яЂЎв˜Б ґ¤шСC:ъA-€БSbhЎe +°Г 0Ђ(ФЃ °@+dђЮS3 Ћ +ьЃЂWh!Ѓ7АpGDА3Ё +Ыд8B4РБVЎH Уа– ЂAгhЃ#$!(ЂX!‚ДВ +\Ф8‚ @"'RД¶И@hA Ф<Ђt"*F|“hЃ°)бS1Ў"ЯsД®Ш€sжЊ`7gа€Ѓљ‹iЦ"ъу?\.ОбЉёµKLjF +ЉВ%В®]3f„S9йXЎё| +U,®Oмv +Ђ«T\b ‹‰Pиrv\ё@†%”ЧаQЖяУVkљм32hЉђЃ®]ч¦„ + T.м"њУВn—Ьие–М{Ґ°!‡ +1hтЙ 'мЂX!8МЮ„"}а‚<3|Г9з|Ѓ~_|ёаrО;DЉ6*rЃѓmє…Ѓ&фQpBчмрA +6tA§pВbјѓ +€Ѓ +ІpИyО®№аоЃ V#'Й.˜@$"Qmм6 +•2Нlpг,@f<таPЈ”p$~@Ћ(€:ѕШеІђ + +w'аu€Ђ  ЁБЋ +uм@Н'ИB)\2м<0Ґ°GЃF°­i"E6@„!р…(|а2±АЌ@ч”Uк°V© ив+;%\`ъl@Ypж7 +;`Yђ$ђ

    Ы +‹?Z +А ћ@ J + o`ЙрыR1‰а” +”Dљ¤XТ‚H РеYрПжMњ9uодЩУзO A…%ZФиQ¤I•.:X–,@nФj¤„Пџ3V†<Шsf’Љќ&Tc¦cP@ ЃЛЋ1N~°±+ +ђЙZГ'џ0Q"@‚q™·= +$н44иУeДњ<©,„ё”‚Аљ Њш УcєA;фџаВ·єR8РЕ + 1`4HШбЌк"”pB ++tМ‘4є +6Pз$аAЋ4ІСеEZAЎт@ +РЃ¤L:qАњ +_Ђ N:!Ж‚E>° +ub!–<’9ЎТ1ВMRЩ +ъ@‡R$9Ў’ЙАA¦Д†Љ!A‹X`!_D™g…І`г”TF…Ѓ­3Ч|ућжXgћ9HXgІЙѓjмqЕЌ +NpeћTє9В‚>ФСb„Њ0В†,8a!ы‘ +св/В„€EЗQ +ЁТИ®‹uж8Ї}`# + +@а•B®‘ќЮpг4Ђђ@С4(„ +@Pя +ЬЃ рЄq +‡`ЊИЎгђЂ P ЉАБ NР5Ђ†‘A2hщИ‰в­ Д2"0# ,s +pЂ ЎhBЦ00BЭx…м ЂЂ"Ђu'€АмЎ +ђA`™й€p…H  ђ~ +ґЪ„ +t‚;B78Р +Ђ@ +ЊЎ0 ‡+®Р4< +мa€ -(‚‹q +* 00C +6CГp‰?ьЃ LЁГ*ЊЎя +@Ж&Ж RYб @Ђъ°Ѓ +}˜B2ъРЃWА ipВxРJј +sИBЦq[шuуэ.v ‡l#5˜„pi°†5pв +hўdy@ю`Ь? а а#:q +i@P ˜ЂеХ X¤/89ђmHFЃ„u Ђ°ЂpЃrHЂ`†Ё +0 +pЂRPі7Hњ;˜Ђk@x@ р5ђ'z9Ё‚ЂHќ|Њ7Ш31ЃrP„%8ЂpЂ> ZЁ8ЂSC† +а†H‚E`ЃHЂ`Ђ0(x…@‚?;и‚pѓx«&ђШЂ+аЃ,° + +а„я1˜ +ё @‚Nx 0cЃ°ЂP4 +Р}X‚ЩlO¤и‡>D +ёE0bИЃ3шЁ$` X(‚;°…KC»Yђ P…<Ђ‚1ђ…8F‡˜)А° +ZЪЃАMe°‚x +ЂE“0‡$иҐЩx=ђWp„`^[Ђ"и…4РРѓbр‚ +0ґ;JИp‚.0FЂЂЅ;Q/э‰(#ЁЂIѓ°…Mа + +А.ђ‡nёx +x‡#X +Ёѓ:€Ј?@ +€Г +(‡*€ѓ*a¬‚Ј•Ц<їщ*†)РJ  ђЃ +HЁ…y°   аµd`/#Ђ=`¶yР‚d€…p„єЭZQ(†ReђH†lЂ +ЃїЭФа‚8‡±° +З0Ђ‚ L…2 +@Ѓk@@°†8АBeр†EnQ  +@8HЃ(°UH +Ђ.еqЃTѓq4Ѓ=pЂ@„8x‚6юѓvёлЌL%N˜pPа:ёЉ + +Жсc”QHthx°†iPѓQрi3ѕp*H‚:ч|H‚?ИZи†ЃЃ> ‚4X)(Ѓ=‚!Ђ@Ђ$P +(‚1P‚L_F5р +р˜uPkЂ‡kOЖ[€‡WШ†яk˜Ђ  +P +`ЃV0y(Q +!vТІя–‡9‚6ФР +@ H„ZA +(ј iР…!X0Ћp`®°БА4Ў iђА- J8Б у ‚ а„ldЃЂёВсЋнv°CЎ<`ЛyТ(I0ЕАЂЉеma ё!ю@Љ}(Ђ?ЎB#Ћ +,БJXB¤ЎЌ[|@ЦЁВ4фQe(Г@Ѕ0Ѓ4аSXвЯ€Ґ?‚а +рЈћ.}йMОЂ?”`eёА|а+˜e±NM‘Фa +2Ѓ„1ЂЊАF;pрвR +N B]°P¶’v­Цр + Д@Ь¬Љ…”а.Зjѓ",Ўxлh№h†J«]—љAf F)S`µ?ЂБ@(„аЃђўМpЂnЗС )@u˜ДЖвцmPBм0„^¬ВЦи…RPЏ`@Т +АQ‚jФЃJи2r0 %ьЃјќ +ГВ/°РЊ (‚Й~жб]м ‚'¤@ °Ђ`,ў¶ +l`CrE°°~4˜рHЮJ + аЗ/TаЁ“s]iЫи1°Ѓ¤%0Ђ0XD7&q HГЈ4`1RP +IбІ)аЬ§‚0 +•А„,>?ЃNtўdPB +Аn†·Aљѕњ"к0„‹ +Ес[”†пo:ьз/ ИыѕOЂxрч‘oC Ч7у°юВ}41 + +а +iђґ Ъ‚1RRв1PЮ0:t"Y ђґё%юЃо02 +^аo° + +ЉґaТЎ"ШQRѕа"Ф°ЌUj  lРн ЙяаZрP ˜р!`Ќ#V|Д/{  ЫpIШ„3QЂ°ј@ +4@ +uа•ҐeдцG65.g#0І9/ф=.B+P#ЩC +`“ +MPи°б Љ2‘i° +` iР‚Pvр сХ° +і +c§ 9я°yтiрЂЂ +vРђ+РЋЈ;Au +’ +ђ*cђ +Жђ= UАP°ґpGup +ђpАвд‘°uА 2PkрґЕ#vв +Yр!ЃАf(CF”&0J°uнЁtehі&(р n`} +H`‰VgMbhшс. +з + Є°К  +Яp˜/U(0CЧА+Y`G)ЂH N°)oяP +6@ГА +АGЃаН@KҐ!ВxшB b`;ЗJ©ґ юС†" +g@,Yc Тђ  А@±pѓђTђ3ъgш“ц іаm1Тй +дo:r Џ 6(рќ ЧЂv@ +шњЪГ  +Г0 eP pђ ґ@ k@ + +Ю@'˜Ќ#^Ґ“iАпР` +Є +p +“0jЗp й „ђ+TiP˜6 + +Ъ \"‹{ QГ°іp + +ЏdWдE iа“ +xяD +Ё +• +0r6ЯВГ`VЙb"Мa vАk ° ІP yЂ&XїP$—b ЂЧ ° +lјГАc +’@ђip‚ Дг‚bђ’6 +`ЊҐ–0 +yP †p$RФ. :y4Д2dO\фа2 УҐг`Pе ¤@ +˜Т°10 ћ#%D–xЧ­„Ѓµs({ђyрЗ@@ ћyџрєЛrнВ.ч±«МЊp™LP` +ЄuЖР )"ЕќЂЫ© +иуї°ођ) јъ< ¶Ьn+ +–ђѕ‚b¶-ИЗCDцB~ ;S°iђ5°OOА p@ BќTТzSnр їР%Д'!лТ ЎЃvњЩi 7@ +° xр qк#ъЃ.¤=MgЂ 0·М ЯуЭ~°4Р’*\2 +р +Яx‡Р@P +г@ЦЊ +ЌА ЗђХЂNNј°z +p8@*А©р@Ђ™  `ђT НP3»ЯМ 0' ґ”е@1 њЂЎаU·тЪым +™@Л&©Е)PҐC] 0Ђо Шђi°*"Фа+9з{ +p +с¶Q°uў +ЂF0p/Ђ° + p@ +kР}0yp‡n +Ђ +џ°ќd@# +–2 +фРZ@tР УРХv H +`mя За O Рђw3z·r}Ќ  +Њ`u}хQ|kP µ ђh\¶H@ p о ШАдС + +°;“)°}А +f + @ +$°ЧшgЂЧі +/иа{‘кS’a9L‘АЂбLЌ2ЄTсRuЖQmxvиБF =Ж!бAf` t™„"Y`ЋЄЈБ͘Uh60`†ИЕ 5л4&\ШрaД‰O!КN&$C УђвS¦wi~щF*,RґвЧ/1†тHrЖ¦HџM*ѕАйB‡Sя” +{ht83E Ґ:+xT’С&ђ†4J*…ЃЃ%tXf‡FvYyс +ђ B‚ Ь% +`И#ЏX ѓ +bМђ “_Ь0/ +n‰ѓ_BhЂk”ё…„ 0Шkѓ +®Б@ ?Ш Ђ + +7R  +=Ї@<г +^ґ°‡R.ЂC–L‰d;кШc›N˜†WNЂшnју^l• ШP‰>2 … +!\Ё@Ќ#R`c~ш)жЋS йбЃ;ъ8„ +AB№% +Pб$‡8’щБ +Ћ!ЃE%К±)?\ЃpҐЌ2rP` +zОXЃЖahЁ‚Ћzё‡.>Ж†" +2И ЋZ0Ѓ†g¶И% 6оH¤џ'8№d3оx њ\Њ©  +:‰гC° +ВрЕ$|± +„ ІИ„С +c„ Tpѓ;мЎ:6€!|pћ@Д@Ђ(‡фГёш¤ў¦итR‚мpЊв`‚ +Q"?  +U`B$Ц Iр ђЂ7Rђ]Љ! _Ёѓ2 +¬h +мA +w +‹”С€J` ИBљкђ†$%б +ЋЃ‡Ђ@)%ђµ€¬ѓнiЏ=ЌzTьЊ"|yиCѕи‹| 8d-2`ћКc†  +ъ—Cёa(H +HА +DoьВш€‘ +,А +»аА¬q(ИЂќ(@мЃЃQфtябРБ Шу +ц Uі›=L +8! +y(ЃUъ’Т‹шх ђ +p­Ђ!zФ11  +8ы^шZ$љpC4Р Ьв _hЗ„!HјЂ”@䑦ШVP®вWА‘…qЁc€«Џљ2Ґc*pЃГЊF tњбЊь J„$pЌDёЂ6h +ЎDtgdЂя_J +Р_„а0pU2ИJ €F‚:)Љ + +R(И‚=Pа‡m +N$(KЎ"ЌXЂксѓ.°% +<-n"1ЈaшE ± +,­чJЏжvђщеС8¬ў_ p‡М +ё#==єz¦ф…CхЁ=(тgfA‚±зЧЧxО•ўD)aЮ±ZWяљ–0јГuИеbђ†,њacMF'н 0"VЊXЗ|єэqН688є– ¬• +B`5|AGЋ‚)h Qк°00ИБ~DD3Л‹D YшEКe +pвxА†АJ‹“љv˜„#jP°Nѓ +SlЌк˜C!Є`+бЪрBЂярѓ7Р ZИ‚„q‚ш †{уй™‚4€&|HЃBА‚јBВАQЊO ВwР° PbќЁAjР 8ґ +kш + њ +tр +(а0Ћ2Р8iИЂHPЂвІk„H +р„bё/†7ИЃ'АvАtђ +(Ѓ ˜$ЏGџД•‘лLЁЂq0†-PЁљ0 +аЁ„R†O@kа +Rў!WУФ¬”САч[$`“P + +OXш•_(–€ЂёX† + +Р„O ‚kё +HАѕ\Иd"a‚ +ЂDж9дI‚P€д°$8‚,0 + +‚-HЗ˜„—ЭсѓIш +°"ЗЃ]Ђ"А=]џ™R€кu­Аѓ]рw0+`‡&ЂЁ^ +Ш"@XЂ‡APЃDxЂF +€… +hZXXX< +@Ђн7 И60ѓ^ lВn +pЙ¤bѓ.ІІеЌ Lјy!В$0Нљ­!p€"QZ*LhI%ќ“ яfТ¬iу&Оњ:wтмйу'Р B‡-jtи "TфКDВѓ€V$Ѕs‡BўrFpхr°Ґ@ќS9EJT‘ + И)ВD’nОв 0D”(&ћ ШTоA. (pб‚Х(я RЃ Б +:•ЄЌHЕѓ‡ (5h + ЁГҐX§†|"5­„” RО•Ёuф5мШІgУ®mЁ‡*оМp2j†\ё‡ +ёИй Н€¦vpN•»s*С»4ЉЭ»ѓАЗќGк +XАddsБ¶ +*ЊK™°ЏPБJ&Ўс@№(ўВ.@РѓY>ђя?D6рБ°@ДмДC +@ђBК)rp3Д@OњУ‰>P°N„8(Ў…zиM&80Ј¬Р ,@‚„џ­°АЉ +, Ђ + + 1€° +uhB+ЎLТ‡гA&—T +}hq€0TРЌ 0°З9 tгГfА;5ХU»;‚*X`‚&$, Б22z‰Ђ l„2ђDРАђЃБ‰ + +ЂbР(tГ бZ Њ‘‰<В/ +В.вЂ` +АДх +JЉ%hр“а eУ«ЮШЂ4‚ +¶Р +6 `и‡-<аЃnx !`m +ЁђЃ`ЈfЁ +±ЊDш w0Ѓ<1rиў0ЃaUРѓbњbЎPЂjА†Nм@‚8+ +Dа„i¤@W`Д‘C-jћЁЁ +L]ІєсБ Dб`B» +E&±$ВЅ  + +T н ВjQ DЬЎ!рЂi‚bиВ0єрЂ"ё,3¤Ѓ,Р„'цХ, ФљЪВЧб GЛp˜ Ђg +а dE3°q„я>db +Jg:иЧЫкж`!Й>H)¦‰X8AHИ2 BЉePЃ +“АЮаQЊ +Y4# +HђѓTЂwДв°XГ&z0+HG +ЌЕ!!…РУїюцї?юуЇяэуїяюя? +¦  +® ¶  ѕ Ж  О +Ц  +Ю ж о ц ю Ў!Ў!&Ў.!6~Ў>!FЎN!VЎ^!fЎn!vЎ~!†ЎЋ!–Ўћ!¦Ў®!¶Ўѕ!ЖЎО!ЦЎЮ!жЎо!цЎю! ў "!ў!""&ў"."#6ў#>"$Fў$N"%Vў%^"&fў&n"'vў'т`@ \ No newline at end of file diff --git a/i/labirint3/1/ly3.gif b/i/labirint3/1/ly3.gif new file mode 100644 index 0000000..499b7d0 Binary files /dev/null and b/i/labirint3/1/ly3.gif differ diff --git a/i/labirint3/1/ly4.gif b/i/labirint3/1/ly4.gif new file mode 100644 index 0000000..391323b Binary files /dev/null and b/i/labirint3/1/ly4.gif differ diff --git a/i/labirint3/1/n1.gif b/i/labirint3/1/n1.gif new file mode 100644 index 0000000..d9828d3 Binary files /dev/null and b/i/labirint3/1/n1.gif differ diff --git a/i/labirint3/1/r1.gif b/i/labirint3/1/r1.gif new file mode 100644 index 0000000..1617552 Binary files /dev/null and b/i/labirint3/1/r1.gif differ diff --git a/i/labirint3/1/rn1.gif b/i/labirint3/1/rn1.gif new file mode 100644 index 0000000..ab009f8 --- /dev/null +++ b/i/labirint3/1/rn1.gif @@ -0,0 +1,178 @@ +GIF89a`р +УКґ’}aљ†bІ¦’ЉtR©–rQC,ФОБ–‰kI=,3+!ЪС»њЉeўЏpD5;3)„x[ЊyTМЕ№©—yЕёќЄљs`N7cS3D;#siLdS,cZHЂmQqdP[J,"–‹p±џ„ѕ®–ё¦Њp]DПЙј{jB™‡i‰uYxdJИѕ±№­‘J<#dY8+ё¤„·°›­љxҐ˜uЛЅ›F@0аЪЛQE8mdN–€dАє«М»•®ќyШЛІдЩЅukWФЖјџђmЯЬФ|saє® ѓu_НИґNH:WF3gVAОВћH6#WE*ґЁ‡ЄќyЉ|g=7$—ЏxЏ|LvgF…wTўЌ[-(_M+ЧХК”†pЉw`·°–РїќO=)»°ђЅ«‘aVFАёћЮШЗ5)А®Ќ™€rЁ ‹РА¤·¦’ZH&№ІЎeW6}oN©˜‚,!WG8ИВёЖАЁЋ„o^P/O? P?164&SG'[D$?.ЇЁЋ hXFЈџ—З№—Й¶‘wgOG7+‰~p±©˜DD8‡{e№Є– +gО(qRі§Пџ@ѓ +EЁB…-_RpX3ґ©У§PЈ>|“іU+KBЪph)µ«ЧЇ`]Ю4кМ"ф¶rи¶­Ы·pV ¤тФ/ €pАй.їёЂ ЋЄВj+о–Њ*qЛЙЇV_€ьZ2ёІеЛ0щ9ѓ,¤ВИЗ +eшE(aS,ґ‚DђXBB‰_ьВЃR–ддМ­Ь‹§Lив‹2й—‚)TрК/Ї¬ЃЌЅµА-ФIPЮ)ђМуД<¬qК_06й¤G”Му…;*d8CH¦W–XС'D4,дVћ…TѕQЃmВ=©жљQт…~§њ2 +,H0J +ї¤0 + +DђЛHр +> Q'BР`+ґAK-:я*+Ј_Њj +30.%А6ґ‡6Ш!%2О¶ТB5А’ZКTЇЖТш”Р °<'¬н¤ЫGЛd1Г:ЊC Б9,ЬЕБ-`4k –`ЈОs`яM +ХЁ«йґ’EњKёK’€pБЂAЂсъцp№А Nј+I?cЂ Vњ3Њ!ВGпXСБ(­Мр…3o`гњNУ(иE/v‘† +{@’ +=~`ЂVPЂ`я\@Ѓ,dagи +`-˜qЊD +е7ѕ +q€'Hс}! 3И  "-( „°†!Ф +R,s<б +ПњЃ@‚0c3 ЗИA„ +Н¬`шЂЦ ОФаЧгђ0Ч9“ф€ЈPApЉPBР|Ш‘я„ШЎ~ ЗЩf@@¤!`РОЎЪР  ‰8Ж9Э9l°уў/‚v>wЋX,Ў_E1Дм Њfђ@ +лxЗ&О`†ђ#д8 1 +@b +С€А-®!@@x  +kЂF‡j,Ѓу P:рМ 3ЗВђ„$шЏ38Г8Z +„@cе±$*Ђ…ЉЉ  +mђ—RHФ¶†дg±D +-Р ЅpNЂ +|P†м°‰@К¶ X A‚ѕ*ГjxF5ЄБ‡ .“Ћв±„’ЦЏА‚ +v8`KAЊux"|ЁлaО‘РI`(€Г~Ђґб1ъ±D‚Мжѓ!я(8…(0W +ђCГX†м /lB +|рDЃ5€ЊQ|!9ђ0 +ZЁ@SЙ=мL{Ђ[C%@ЃА +jярB^ї +Ё + +K8КMжAl”`KиШhр†ґовA>G!J а +Б(ъPЃqД# †-д'3HМ1ђw-с&gњВ ХKУґ +А)Gђ ] + А + ЅЂNЩ( +x" а4p fЧ‰n *`ИpЭ °Gђ +Сђ Ђ"p1?Ђ'I"ЏmХ +  +ЉА]0VР~U†Е JР-@»ТзP4¤AФБяРС эЂТpsЂZбH IT+ xР +Rg’46‡ ( +- +lал +p•1,@µN( + яђ +кp +†… +й +ГрyщHJ н0?РRhђ=”Wq¬ўРKђNQ00AАK»Y + БЂAзђнРfP +Y@ у8,ђ[єСVAЅЂ•p!@B)р%РJF +p ?6¦fя*0  QЂJ` + з@Pf@…vчв Aхр Bђw Ћр2w # +nђwђ р‚pн ҐIАр-`в Ш*0·P°@iАО@ +№@0 +Y`€‡p–А)р +°0ЁьГЈрѓО +ЃnО°pbЁЦr"а ¦СЗІЁ Л=<шV`И0Q0z1 -РHPWяшLО0КсQ‹ )@L4&Yiђ +pw0№РЋ…'Л@aшжP№`|ДGoPюJnr&1’PЂрР +Е +q +iTnwЂN(Ђ5 +%PЅ`5 7 +pЂPС +D”@tЂ ”Ђ%_p +Нb )я@эЗ5@=xР +0`РpPD0 Й»=ЪҐ !Рt`JрV°lрї`D”@y"¤ DА0° +0 +АK± +ҐPuэ{ДЄд!­№У”4ђwa +њ,)* +мHvp ўаЂ@ +L^уЎ8 +ЂИPrplЂ +WбrDp#ЙЂPБhK“P=PрBЉ +™Р +`P%ЂwpFЂ +°ЃтGЈ7$Ј¦й– ‚ЊЅ’¶Ѕ0Ђ +fя0о@3lђ!оБ2¦LАёY#ѓ0]00Рx° P¶шђ, +0_іJ u@ќ?`OР +cђђhАа41G(в· +7яpаT ЄЂЋ+Вн(Ы ?АRJ?РЖ< !рY04 2Ш0l@з°а’ђ +РЈ" +–ЮЋBJH0 +3ЂP0°<° t ©BeбЌbўэ° -pB*Ђнр†Ђ¤Ј@щрщp …D`z@ш •РE +*АЕђЂВbзCРђа 4ЄЛPђ +p0яР +]А€’$}°З'YђuЄр+А ++ 3РІХ®&fрpйаl.РsOҐw +  ­›Дад +Ая°¤)0а{ЉVCђ + 0 +`Y°>†@W±VpяРub tЂ( ыwђцйА˜Ђ +3Rph±Р‰f°Бta’‚!А¦9Ё^ј +/† З>0$†CTp&3ю˜Б"€˜ ‚‚Ђ6Pщ`ЊH.`@Ѓ6аВ(2 Љ"yБИйрI(Ј”Т'sсвЌmћxГЋCж‰б +bшЃ3Оi'!–ђ ЂО№Џ˜$ќ +8 SV $ЋAЖЂб9‚љrPB -ґ+:@яг +-;0з c DтР‚†,О1„$и)бњ?љ0ЊдЙ&‘и¤ +А… µхV\ЙЫ@ +Кh@Љ#z¦‚щиSbhш!џ$ђН +*ё/˜,V9g)3\ИгЂёЂ +F(Е… +V "Ћ.ѓЌІ BjВ ПU‰0”р‚;ћQf˜5ћ@Ј%Bивr gѓЄа† Њс $Ю0dM`єV„ +7–С@‰рX†H ·эv)±D˜)ЕЋ0р‚|М + шЁБЉO°!-  + HО`@Hб +$A$PB5Мс‹WhP‰K¤‹'6 +]ЁA иpЋR q@ +?@Ћb8В+Ш@$ИђBДБc€В2#Ђ‡‰{дгN\ Op!°ѓ :@ +xАш„ + +t`n ‡1,P(@ ° яdЂM(@˜QX†Sњ*qЃ6± +®БЈvР +¬‚ +@АБ +ђЎqђ!XЃcДa 'И Q т‘|а‚x |…Y©0’ђЂ„ SeЃ<ђ +д!]ЁВ.°Г8b˜ +`m +о… +7ШЕ• +ќ+\" +ЋшYИАgм!/HBlpѓ^ZЦ†ZF9аrl#прB ђ°‹'ARm= Ђ'Pв  А~џIa]XuцМ +.$T80kpO ` B&рЋr  +шђ0€BВэр'Ў рBZ +hХaЁ‚і‘ +¬ў˜ДЉqJF$а繆4P0рБCР˜‘WL +Qаѓ˜Zа„ +z~цтёп.п–б(Bp(Б° $ДC ЈXVАCР ! Ђ"pЂ9< 0ЂБ +:фЎЇ~А>Q„@б,+аБ ЄяЂЉ +–±Љ фЎЈґҐ$И@ИP„€АЧ*DaUЂ6p!9ИЃ џPE36а#”АшуЗ аРЂ(°#…Р@ШBрrX†«iЁ`0 +pH˜ +€°Ѓ-аn`ѓЬCSґ %X+`Iш +x„ёѓHzP6  ‡ip“ « +Oр3‚G n +иr„J– +x‡8 ‚O +иЄ ЂИ˜Ђ hЃep4€‚?Ё‚;`ѓpf€2 +РЂe@ ђ3аЃSЂ{pѓ0`…Зв{(oxМЇфЃ °ЂFия#Д+±‚|°Ђш +˜Р†<`Ѓl¤~і%`„bр…1`bАM +И *†OёЇЂ + .8ЂD` +°ѓ(@%ђ%hЂ`Fа*ШB˜)А„p(АИ +и3иjш)ђ‚ 0­08 +яр†x|hѓ(Ѓ< +%…cxѓH† ЃTёЂ(ЕѓN˜ЂnhLr†RЂЃ,`ѓ(ёѓI + +!¤|uЂ шѓh +(„tа„EёPЁY`†GИЃrш +ъш#ђAІ„H*€р’ѓ,DгАєё’Љ»аЂЏp\Ж +I BЖ +3р±A2˜ Ђ¦9'ќuЦ)Л€X /С q)¤€!Ж}фSОђcA$ а`КRxЙE0 +­ы¤вK4ЩL!ЋF€!‹˜ЎО$tмЖ.ђK 0† +;ь°Hќи‘C*ќ8 +G`L¬0яИ +Еl°Б 2Ф2S +ЛР +"A€“CИ@И%3hа "ђsD{И±‚X#П T ‡Л=\ рPАBЛ=wЄ>¤ўG‹€#†9ђВ„вЂ<аJ2°T3-|РE0`D.ЕЊ + €2HЕ€‚“lрА s8BЛ0<Ђ:цЩ#HN*5¤/®ЬPЗ>D)x#ЖЖhGП-DРЂ«дВГЫ/Ь я „C60Б€l Сид`—H…jЂЋiмГв‚ёЂ€ Ђ`/аД%$а3Дb’hЂ#Љр + §мАpшЃ"XЂЏ?8ўЂp + +› F’ +Щ€„VQХ@ b°¦M ѓЂ;xЗ#ёВЉђЋbX +±ѓ=Ђ sё".P +ТQЂDdE +&аЭЂ#E‡?˜р tѓ«Er~fЈИ2АБ©ѓm§ !qђP‡LвD˜C,@g +їbЂ‚ ј"мmП 77ё8pя‘‹”ua%°>Сѓ=|"7А +шИCЖ`Ќк­b +ў ‚ЂгЩРГИsЋ =cЎ-,*” +’EЮї8Lc"Ш±‚(Pа=И@Ћ ЅЕs-QH@"1‰(ф« “( +и†:дџ + r#@ +\АF F”ф’^а?Д‚9a Кr`@ \ No newline at end of file diff --git a/i/labirint3/1/rn2.gif b/i/labirint3/1/rn2.gif new file mode 100644 index 0000000..6f88264 Binary files /dev/null and b/i/labirint3/1/rn2.gif differ diff --git a/i/labirint3/1/rn3.gif b/i/labirint3/1/rn3.gif new file mode 100644 index 0000000..451715f Binary files /dev/null and b/i/labirint3/1/rn3.gif differ diff --git a/i/labirint3/1/rn4.gif b/i/labirint3/1/rn4.gif new file mode 100644 index 0000000..e1219d1 Binary files /dev/null and b/i/labirint3/1/rn4.gif differ diff --git a/i/labirint3/1/rn5.gif b/i/labirint3/1/rn5.gif new file mode 100644 index 0000000..ff5a7ca Binary files /dev/null and b/i/labirint3/1/rn5.gif differ diff --git a/i/labirint3/1/ry1.gif b/i/labirint3/1/ry1.gif new file mode 100644 index 0000000..b8140eb --- /dev/null +++ b/i/labirint3/1/ry1.gif @@ -0,0 +1,197 @@ +GIF89a`р +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛ·Ї_—$:1UвЇбџb€%{р J•юЄ |0рqІЗN.SюG Б‹(ў@vвдН¬Л^ќrЬ,1ў˜:=‹˜)Ыbбr¤Є±7¦Я|€eк¶ї(QL#Е8ж; `·®ЭѓUњ˜я`Н}d‰ +є_мя˜U!щ‡vNь•€Rb=ыц·€mSeeК„њLY°°юG»vёицѓ,ъ¤іОё¤“NtзаFёЫ°ЂН" +њp".>р‚M4c +;Ђ$А‹:аA4ЕГ?7Ў?ф­fаЕоЂl +VрЕ;¶0SoЂb§}ДЖр +а!"ШД‚°јL„Шbђ@;Р2-Їж9&0… +S‰)м +CИ +$ЂЋ!€@- ЗVV‚Е€aШ‡ЃgO!IWB рB +pp;ХЗDЗ¶аcoXчПcа©/ZДà аEиqєDЎPшя6L¶0„`|аЬЂ‚  ШНњ@ё#pс ‘uеxД#РqEЎ+A 2UkTр„1x@ јHЎ|Н +†H‡Rю—фNађ№єVь‚”•Аcв +Ї_аUpЈЋ0ДХ‚<„-аЎЮАоpБЗwF ИЂ“Zб<а8ЮАuї0!‹=…Мг„ pШЌ1ю`1nБѓ„pљЬXЗюМЂoґ єѕ 3|ЃЋ`ЊtјёѓЂћ  §\NРXгывt€`8C dt +јЖяlР)G8rЬ cёыЅxА<И9H@($ѓH†?PґЃ7$ѓ4ю`*т +ЙАѕІ +еQo` +Q@ДYo`—Nђz рЙpДcЬ~-0Йал§NаЙ` +›сЃxб4cн +фр@ЦаЦpђTI˜TI‹TI/ДIЋяAIЊС€p†@прЏPP„VаVpz€Џ /фtPА°\ +QР=йЎ«рTToЊ” ·PUpNP‰‚XФРNpU°†3 +А + PАKА +Уp,Р%я± +ЇБ + нР°н`НhА 30_А L0pL  ° +2` ` љpо +]p‡а]‚ +•3P ›Ђgа9аЄЂ5• +кт0ё`л°–Рmё +?ђ›™’ђG@ ‡°ЇГ&oа)iЙЬАjтu +дPњёЂ.мђ;м0P†ыі’W}с% +©АµрzЩdЋ‡© +аc +Е °GЂH9&ё@ф`p. ™ьf=04#r +O +ЬPZ™ _а@MыQ tpџй4PЈo! +¶а +"Р‡°‘І$  ҐІpИ Ґ"AыБТF њА"Q  +vжІў6р•A° +Ы@мp"юЃ ,і·б¤ +ъ +¬ђ ]рbрђЄА)R а-Ћ3аА QPiл)†Ф Pv˜ѕА®kС:Љ№ђp%Џ €G  +С"7EЪ +а §С'`A +F››Ф€епр g@ +G`%аLШµђЃ".ШшBЊq°·ађдыюр +¦U9Ђ¬µ`hРhpy ]  +љЂЧ`‡а”7ГрмЂІё° +Єђ±°±e'P©уРЅЂRАw0№g±PPP25[р С ‘ЕАp3єц@7а љP˜Тяv +Н@ +° +#``mш! ¦ђ ёPЌЛе± +ВёђЫr + а ц`.а'ё0B; A¦ђЫ° +'І*ЄP°NА ма$а0™p +, +ћ Pp&ЄІiЫ@B¬Љ§l2Q Ьа +yЁИa![ +#7”†,mNкЙҐвр›ДРлр6° +л§QюаЭГт•6А¶g +р +атj]ѕp +"E$µґ)d–"ТTД°sTиFеp +Ъх љА +ҐІ +?‹Ап`Н{°Ћ0” +О X¬u/ ” л` +ѓњ +Й0 ьUЏЅЌе\¶ 9 c0qЏЂ +њ@ЗСlђя +Jа +^ +¤apІ·` +р8B™ +УP ++KћРЄйbP +h +ypа)йpЋРЃюp˜яg‹§P ѕP«ћ( &`( +БаF3 н@7ФяьДђђђЈbН‡ДаД`д;А ‡за`Ґ«рйХ\›Рx~§pEШ€•4IlВ“ж†` +А +`ЙPы™¦°О6°ЫР`°рeNђ·Ќ±··pbpзҐ^JО +Џq°Њ‘„З—€•Ti*ёи®к];оП^A`р ‹` к°2P +ђ +)ђ +`_pрDM +rP +ађ л 5$?t p]0 +,? +ђn +Р +В"йPЪ +“л +KЮхQqфа +‘рbї  рСњ0€¶Чw +гнДђґ<АлАq`еЂ‡й}"tP` BЂ +KҐшOAп ]0›а + n` +м° +n +RБ'pм&”(1ЛМљ +*сXЗН ЃM:ђ4шЧТеK˜1eО¤YУжMњ9uодЩУзO A…ојРL[ 4xдњQ aT +Нd,в·bF4L,6№@cбЗЏ +( Ў…:acЂ!РЂ¤Ili 8 +X(Ђ•t,˜ЕмЪБ‹ +|QA—L`тPDUя4(Θвљ* + г +9ФтВђUЋ8в +Мр3 +<Ёd“IАђAO ђC +zиaз”Ћf)ᬩ‚Z°Ж€цыoАkZѓ (hВ{™Ў[ZЁВИч¶Б +ф" @“XB @Ћёр"ђЃ +Ђ` +ё Ђ:ФA cЂѓА(бT"&ЂГ +PЂfЃМ°ЕTСЊ +A +™ З‚`…-,‚ `ђL‰E4в Js`‚ПYае Ѓ†Ja‹А:P kXаЏ°‚5Д°vњб…"0@3hшF8&€WЏР‚XС‰3HАPШB @…HdO] +p +ЬИа1‹( + +%<В#еjWebЌw€  +-pБИ!њA ˜ +" +$а .њА›Ё„&А ¬я…НаEјzYЇ®Ў +°‚ +Ђ8@)˜Q‹8ИЂ +WЁ`˜Ґ®H·А,jИb ++¬„ѕЂ‡=D‚ +@XА"Ђ`Й 6Ј + •^…0 +ђDxa`АС[0!'hД&"0.шБХe°9§±€А +P‚/КСМ +„FXЋ,ААћЂКhР»ЦЭ¶РWЂЇдE0ЊфЂ¤ШQ‚ +Ш‚ /p@^T‚#¬#иИ6ЦЊЁљЃ°њ + +ҐB@laн°‚60Rґ +b>:2А +:аЉХN +h(pgш‚2иpЃA@Ђ(Ђ +Ё„®YЧЈёvи‚P@ѓ +Sљ„K°‹G`Ў7яH H0 +˜ѓFЂ‚SpФаЂЂM°SL… |°K,h\ +ИTgэ‡$р‚ +(†g ,°„А<|Ў‡!0ЂНЙЂ5 +8 ˜‚QCЂX° +Ё?© +ђѓ9И(.@ѓh(#@‚…ё^=ѓ ёЂ.А‡k=KРЂ2Шѓ +p + Ђ>°„A`€]А!°ІR„ +аЂ%…&h‚6Ё + + +8Ѓx ЃAH‚я€†$р|`$°Mё„l‡ЙVJАm@ Р†gmЂUh +РE%r"Иш8!РЉP°P +˜` Ѓu'шаO=p«` +ШqmOCяZ‡6`6e˜©GиTР +ђ‚|„BАy˜BђбШнѕЃ @…Ш‡^pр#Џ!Шѓ˜ў [Џ2Ѓ0Fx"x…VPзЧ‡Б6иZ8†ehzZЂе0 …ZиLАЂиЂNЃп‘fpѓh +4и BDў"G’,iт$К”*WІlйт%̘2gТ¬iу&L,ЛhхiУ§И +Y|уппя?Ђzmа 4бР‚E8!`AБ}0# x3М + р“Д3,hRГ +lдsL:иА†»„СJЂ=ъш#ђqЖ8ќ †D4X’@ЎИp +WЬRђyк№'џ5…Р :gLЫ%ўфЎ +М°€E4 + +8 0 +˜qВ8 @\D$ +:кАЩ ‘ХјўѓЪҐ›~v—\2 +‚р±Вйб‹Џk!¬~ +чoЂ$0ЂJ``X°G– Ђ>€Б ѓX‚,ZP†6( +(€@ Б‚¬°†E, ЪђЂ7”а +_xЂдђ;@ЁЕ-ц +H„(–P„p цЕ +QФ +H®1ЉмВ]э)PM†>(ґ б8†"љ`„c„>@љѓ,˜ +—@ +@B@Рђбђ|€ +?Y¦%±„%HЈ pѓ& Ф`aEРCqЋФЂ аѓM +ЈрЃЅВ(ЉО$`АЉ0В(2 "Ha +ЁЃ ІСђђѕ ђм(@ a„6 HЉђ +2˜ +Dб +€h«".±Ь +ИF6ЬБ +Y°W8 +Mik% +pА2 +FЁЃa{ РќImD*X 7dChЖ †R>bIHВ%ъ‚6Dcs5AЕ-сґ%aџEЂ4Ра  KИjHsЋsрchpAx4Б{pАE  +ђA@°wґb0pѓV°-5Bd:†&Fаў6$aЌ№@,є‘‚¤Г8Бт@Ѓ‰9 7P@„.ч•Ґ@eB6h0Ђ|Јз ЌУTC \ No newline at end of file diff --git a/i/labirint3/1/ry2.gif b/i/labirint3/1/ry2.gif new file mode 100644 index 0000000..8aeb1e7 --- /dev/null +++ b/i/labirint3/1/ry2.gif @@ -0,0 +1,210 @@ +GIF89a`р +ujR¤њ‹D8"{jK4(<2 p[:‚uaЄ¤“Љ}j“‚d9+5%(kdUTI1dYAZE)RA#I=(«ў‹aK+|pUњЋsaN1znZK9R>#wcD‘„qiS3Ає­\TDseP +…|gdX.%TB'+eU=xiUP;# +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛ·ЇЯїЂ Lё°бГ€+^Мё±гЗђ#KћL№Іе˘3kЮМ№ізП C‹MєґйУЁS«^НєµлЧeщY +.•Ћ¶”± +4^(Л„hL-uЁз +јић вИТFWxH9ђ( +”Њ Б$љE|e8РҐmPA-{\бђшиВR2 + д'pQ #«Њ °Чет§,Ы’Ва#м°ЈЈ$!?2„М„з,{!‚u}Ш-B"аўКЛeњэЫя@RЄ¶FС°8Ђ¤R&0p]ђР?Ч[ДQ.~°ШY +#pн†x+ЗTЂ}06а™†‰wP ї"шt«ёб Le™|#ГсДA0Ээ¦poаm +$г˜3# +§<М‘kї±Ѓь:еб;р¦ая +Mр*ђ ++S + €8w`i@k +рГ cрmLњ ,°?РА@ +‚О0“0 k" +”=iP9°Jрђ{ Fp’aЂљ` +’ў +Хў …Р +wђvrР.ј1`тФ wРМ0џ¦°Ыа §`{8°+0 +й?r0>Ћ oЂ +ё`’РеђРЂ’ђлрЌ@ +а +ђmЂV0рдBПt\P +Ѓ/шжђ-@ +р H0Лz +Гк€#IП>=ИЎаЂSN`˜0уS”aµьш©еСД-рT0 +њџ+=aЉђ >8кХ;СйkШ±eП¦]Ы¶яPё%“ +YLXѓ„"ЮШ` +¤ИB>>а„џЫ:фрCCС' +СЗ‚|УЂoљш@ _.IГ4*Рh‹tТb iз +HЮJЗТY +Ир +>0 -ЦБ¦€DL(PHІЂ††1є‰а +РКАGРnИ!МhЗ‚!Т €,БTq$G щd‘uДE“\%д +"HюhГR– ҐMкtАRЪYа +G†р`€F§]Ц? „ФG¤ђX)¤‚E€@АЂдЃ +\`oшАq¤Arи†Ря-ґA +ђђ‡@жkД'(PБ‹љHG¦АЂN№ Ђc$cYаЃh$Г“XE) €…ргtxEp КA °†М +Д0‚"д‚ ‚!aCа7B"њPИ°€ГРqА@PtP`„BЌyLПY@Ќ ґЂ)О 5ёЃx +ЂЉ< + ЁЉд‚ +ЊЩДЪpC\"CВdHќ(Pў Р„І@pФ" XC›ё°†ЬA +Ъё +D$vh zp1АаЃ–С‹і>B  +eTаЦИБ Ц†( b°ЭC ~б;А"µ`АдPBЊ p‚ьЂS˜ +[xЛ.K•#и”J +ЂD$ђѓQЂаЈаеqЏ‰S€nD:=љРЊ.ђЂFя€Г0Кђs*‚CpAЉ% +D 8Z(•€)–RIk˜р‚U)BЈЃQјЄ˜>¦tҐwsЊЙ@‚с*а + Бz.ШВL Ђ-HKХ1#’P +-\eCІt»ЭэЏF­hЃ”А>‚ tШД Л,њe_m …я *P3\A¬АѓY k” 38A6X0Й B{„•µі \d2~nЁ5ў0qЊ блz–$xP‹3Њ -~"НУБ +я]U¬ў€H…ФКh +HИ +[¤ШВ2¶і…-dБe:2RЛXе)G8аk ‡jя 3˜Ў%ёB Qv3°ВѓА &А±Л+ЕэїzА,0GZр… Њв5˜Ђ+\ЎТzф +ҐDђАЏЃDШ + +А8 А‚Ау +^ ‚ +h +°ѓTА‚8€‚x +€†}`ЃUр +шMPЂЭСёКЂP0h"LЁ„Ђ +ё`ё„K€ѓ^0‚RPД  +^ђЃШ*€‚=и.zЊКњ9) `…°ЂLі#И0XzHѓ +ЛЃ x2Щкe@‚G(ѓZ0-иH0(†.р+€  ћHВ"БLЂ ЕИЂ @a»X’^&XБ0иG'„ЂњЊAyША%ЮЂ„г@Г–@†t" +ЎЌ4!№TАЃВ8УAЇрЃLёѓoоЛG&‰| А*F":1Ќ мBfяXџ30 +Tґ}§ Д Д`· +Ш!;\ђК#µжґ±Ћ +Qh …54@ +сx ¤“ +@jкаB*ЬТ€1Мв +(C@A$ўk`C +д#–PДяоP†ZФ‚†„раѓБ +…ЛѓЁрUcђ + Ђ +D,: Xp@КЄ`°[|#JB!±†5ЊУK|Р@0bV)p4ёГяќ;HЃЃИJnА oЬ 7рБhЬp(DўyB} +Q„Ъжбё†р  РQ ¦ «™Ї`A„*А‚Ќл„>й ]ЬeЧ…Е€ЂJдV Ы*ЁIЂ@•аВ ЃћEАBЕи +p~ +€D“7аМBлH№ +р`!4ВЗB>д\ +p-uРАC!–бо"iи@1ю]Њ™ѕСR0Еђ@oH#+ ёД8@Є +­A!АC# +QЂя"ИAЭР„ьAо8‰ш(рD)@аA6 PЊЬ" +p@>Ќ.9A”‚Ы3@Uq …ї>Ћџ +t P +® ¶  ѕ Ж  О +Ц  +Ю ж о ц ю Ў!Ў!&Ў.!6КЎ>!FЎN!VЎ^!fЎn!vЎ~!†ЎЋ!–Ўћ!¦Ў®!¶Ўѕ!ЖЎО!ЦЎЮ!жЎо!цЎю! ў "!ў!""&ў"."#6ў#>"$Fў$N"%Vў%^"&fў&n"'vў'~"(†ў(Ћ")–ў)ћ"*¦ў*®"+¶ў+ѕ",Жў,О"-Цў-Ю".жў.о"/цў/ю"0Ј0#1Ј1#2&Ј2.#36Ј3>#4FЈё \ No newline at end of file diff --git a/i/labirint3/1/ry3.gif b/i/labirint3/1/ry3.gif new file mode 100644 index 0000000..1f3d854 Binary files /dev/null and b/i/labirint3/1/ry3.gif differ diff --git a/i/labirint3/1/ry4.gif b/i/labirint3/1/ry4.gif new file mode 100644 index 0000000..3d839ea Binary files /dev/null and b/i/labirint3/1/ry4.gif differ diff --git a/i/labirint3/1/stok.gif b/i/labirint3/1/stok.gif new file mode 100644 index 0000000..8849bde Binary files /dev/null and b/i/labirint3/1/stok.gif differ diff --git a/i/labirint3/1/v1.gif b/i/labirint3/1/v1.gif new file mode 100644 index 0000000..4f467a3 Binary files /dev/null and b/i/labirint3/1/v1.gif differ diff --git a/i/labirint3/1/yo.gif b/i/labirint3/1/yo.gif new file mode 100644 index 0000000..3de8963 Binary files /dev/null and b/i/labirint3/1/yo.gif differ diff --git a/i/labirint3/111.gif b/i/labirint3/111.gif new file mode 100644 index 0000000..fda3030 Binary files /dev/null and b/i/labirint3/111.gif differ diff --git a/i/labirint3/12.gif b/i/labirint3/12.gif new file mode 100644 index 0000000..8cc2e3f Binary files /dev/null and b/i/labirint3/12.gif differ diff --git a/i/labirint3/122.gif b/i/labirint3/122.gif new file mode 100644 index 0000000..7d2be7a Binary files /dev/null and b/i/labirint3/122.gif differ diff --git a/i/labirint3/1_l.gif b/i/labirint3/1_l.gif new file mode 100644 index 0000000..7edd8fe Binary files /dev/null and b/i/labirint3/1_l.gif differ diff --git a/i/labirint3/1_n.gif b/i/labirint3/1_n.gif new file mode 100644 index 0000000..107b103 Binary files /dev/null and b/i/labirint3/1_n.gif differ diff --git a/i/labirint3/1_r.gif b/i/labirint3/1_r.gif new file mode 100644 index 0000000..2007490 Binary files /dev/null and b/i/labirint3/1_r.gif differ diff --git a/i/labirint3/1_v.gif b/i/labirint3/1_v.gif new file mode 100644 index 0000000..9394d08 Binary files /dev/null and b/i/labirint3/1_v.gif differ diff --git a/i/labirint3/2.gif b/i/labirint3/2.gif new file mode 100644 index 0000000..303194f Binary files /dev/null and b/i/labirint3/2.gif differ diff --git a/i/labirint3/2_.gif b/i/labirint3/2_.gif new file mode 100644 index 0000000..44ed682 Binary files /dev/null and b/i/labirint3/2_.gif differ diff --git a/i/labirint3/2_l.gif b/i/labirint3/2_l.gif new file mode 100644 index 0000000..4c88038 Binary files /dev/null and b/i/labirint3/2_l.gif differ diff --git a/i/labirint3/2_n.gif b/i/labirint3/2_n.gif new file mode 100644 index 0000000..1ce2955 Binary files /dev/null and b/i/labirint3/2_n.gif differ diff --git a/i/labirint3/2_r.gif b/i/labirint3/2_r.gif new file mode 100644 index 0000000..a92e37e Binary files /dev/null and b/i/labirint3/2_r.gif differ diff --git a/i/labirint3/2_v.gif b/i/labirint3/2_v.gif new file mode 100644 index 0000000..73c1f72 Binary files /dev/null and b/i/labirint3/2_v.gif differ diff --git a/i/labirint3/3.gif b/i/labirint3/3.gif new file mode 100644 index 0000000..a590f78 Binary files /dev/null and b/i/labirint3/3.gif differ diff --git a/i/labirint3/4.gif b/i/labirint3/4.gif new file mode 100644 index 0000000..11def9d Binary files /dev/null and b/i/labirint3/4.gif differ diff --git a/i/labirint3/bez_san.gif b/i/labirint3/bez_san.gif new file mode 100644 index 0000000..ef1e090 Binary files /dev/null and b/i/labirint3/bez_san.gif differ diff --git a/i/labirint3/bg.gif b/i/labirint3/bg.gif new file mode 100644 index 0000000..08b467d Binary files /dev/null and b/i/labirint3/bg.gif differ diff --git a/i/labirint3/bolt_d.gif b/i/labirint3/bolt_d.gif new file mode 100644 index 0000000..28f6217 Binary files /dev/null and b/i/labirint3/bolt_d.gif differ diff --git a/i/labirint3/buttom.gif b/i/labirint3/buttom.gif new file mode 100644 index 0000000..cdfd6dc Binary files /dev/null and b/i/labirint3/buttom.gif differ diff --git a/i/labirint3/buttomi.gif b/i/labirint3/buttomi.gif new file mode 100644 index 0000000..aa43bcc Binary files /dev/null and b/i/labirint3/buttomi.gif differ diff --git a/i/labirint3/diz.gif b/i/labirint3/diz.gif new file mode 100644 index 0000000..04cdb0a Binary files /dev/null and b/i/labirint3/diz.gif differ diff --git a/i/labirint3/g.gif b/i/labirint3/g.gif new file mode 100644 index 0000000..b384742 Binary files /dev/null and b/i/labirint3/g.gif differ diff --git a/i/labirint3/g_c.gif b/i/labirint3/g_c.gif new file mode 100644 index 0000000..57d5064 Binary files /dev/null and b/i/labirint3/g_c.gif differ diff --git a/i/labirint3/gad.gif b/i/labirint3/gad.gif new file mode 100644 index 0000000..6ee9947 Binary files /dev/null and b/i/labirint3/gad.gif differ diff --git a/i/labirint3/ico_change_leader1.gif b/i/labirint3/ico_change_leader1.gif new file mode 100644 index 0000000..7cc9a8b Binary files /dev/null and b/i/labirint3/ico_change_leader1.gif differ diff --git a/i/labirint3/ico_kill_member1.gif b/i/labirint3/ico_kill_member1.gif new file mode 100644 index 0000000..19869ff Binary files /dev/null and b/i/labirint3/ico_kill_member1.gif differ diff --git a/i/labirint3/index.html b/i/labirint3/index.html new file mode 100644 index 0000000..681796e --- /dev/null +++ b/i/labirint3/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/i/labirint3/key1.gif b/i/labirint3/key1.gif new file mode 100644 index 0000000..9e268b1 Binary files /dev/null and b/i/labirint3/key1.gif differ diff --git a/i/labirint3/key2.gif b/i/labirint3/key2.gif new file mode 100644 index 0000000..4db2415 Binary files /dev/null and b/i/labirint3/key2.gif differ diff --git a/i/labirint3/key3.gif b/i/labirint3/key3.gif new file mode 100644 index 0000000..b1e4838 Binary files /dev/null and b/i/labirint3/key3.gif differ diff --git a/i/labirint3/key4.gif b/i/labirint3/key4.gif new file mode 100644 index 0000000..09ede08 Binary files /dev/null and b/i/labirint3/key4.gif differ diff --git a/i/labirint3/key5.gif b/i/labirint3/key5.gif new file mode 100644 index 0000000..d28362e Binary files /dev/null and b/i/labirint3/key5.gif differ diff --git a/i/labirint3/key6.gif b/i/labirint3/key6.gif new file mode 100644 index 0000000..fbdf86d Binary files /dev/null and b/i/labirint3/key6.gif differ diff --git a/i/labirint3/key7.gif b/i/labirint3/key7.gif new file mode 100644 index 0000000..d3fe5e3 Binary files /dev/null and b/i/labirint3/key7.gif differ diff --git a/i/labirint3/key8.gif b/i/labirint3/key8.gif new file mode 100644 index 0000000..d181bf7 Binary files /dev/null and b/i/labirint3/key8.gif differ diff --git a/i/labirint3/key9.gif b/i/labirint3/key9.gif new file mode 100644 index 0000000..c71c7aa Binary files /dev/null and b/i/labirint3/key9.gif differ diff --git a/i/labirint3/kluchik.gif b/i/labirint3/kluchik.gif new file mode 100644 index 0000000..b85aa87 Binary files /dev/null and b/i/labirint3/kluchik.gif differ diff --git a/i/labirint3/krisa.gif b/i/labirint3/krisa.gif new file mode 100644 index 0000000..fa20a7f Binary files /dev/null and b/i/labirint3/krisa.gif differ diff --git a/i/labirint3/krov.gif b/i/labirint3/krov.gif new file mode 100644 index 0000000..e4a28d4 Binary files /dev/null and b/i/labirint3/krov.gif differ diff --git a/i/labirint3/lead1.gif b/i/labirint3/lead1.gif new file mode 100644 index 0000000..97a7f2f Binary files /dev/null and b/i/labirint3/lead1.gif differ diff --git a/i/labirint3/left.gif b/i/labirint3/left.gif new file mode 100644 index 0000000..f8c5265 Binary files /dev/null and b/i/labirint3/left.gif differ diff --git a/i/labirint3/lefti.gif b/i/labirint3/lefti.gif new file mode 100644 index 0000000..477d0ba Binary files /dev/null and b/i/labirint3/lefti.gif differ diff --git a/i/labirint3/lestnica.gif b/i/labirint3/lestnica.gif new file mode 100644 index 0000000..c85510b Binary files /dev/null and b/i/labirint3/lestnica.gif differ diff --git a/i/labirint3/luka.gif b/i/labirint3/luka.gif new file mode 100644 index 0000000..3c31d71 Binary files /dev/null and b/i/labirint3/luka.gif differ diff --git a/i/labirint3/maps.jpg b/i/labirint3/maps.jpg new file mode 100644 index 0000000..942611b Binary files /dev/null and b/i/labirint3/maps.jpg differ diff --git a/i/labirint3/mart.gif b/i/labirint3/mart.gif new file mode 100644 index 0000000..3a4eb8f Binary files /dev/null and b/i/labirint3/mart.gif differ diff --git a/i/labirint3/mater247.gif b/i/labirint3/mater247.gif new file mode 100644 index 0000000..dedd2b3 Binary files /dev/null and b/i/labirint3/mater247.gif differ diff --git a/i/labirint3/merz.gif b/i/labirint3/merz.gif new file mode 100644 index 0000000..8cc2e3f Binary files /dev/null and b/i/labirint3/merz.gif differ diff --git a/i/labirint3/move.gif b/i/labirint3/move.gif new file mode 100644 index 0000000..9857164 Binary files /dev/null and b/i/labirint3/move.gif differ diff --git a/i/labirint3/navi.gif b/i/labirint3/navi.gif new file mode 100644 index 0000000..b555545 Binary files /dev/null and b/i/labirint3/navi.gif differ diff --git a/i/labirint3/nazad.gif b/i/labirint3/nazad.gif new file mode 100644 index 0000000..5beb109 Binary files /dev/null and b/i/labirint3/nazad.gif differ diff --git a/i/labirint3/obit.gif b/i/labirint3/obit.gif new file mode 100644 index 0000000..fa77ea3 Binary files /dev/null and b/i/labirint3/obit.gif differ diff --git a/i/labirint3/pauk.gif b/i/labirint3/pauk.gif new file mode 100644 index 0000000..64b09f9 Binary files /dev/null and b/i/labirint3/pauk.gif differ diff --git a/i/labirint3/podzem.jpg b/i/labirint3/podzem.jpg new file mode 100644 index 0000000..cae25c1 Binary files /dev/null and b/i/labirint3/podzem.jpg differ diff --git a/i/labirint3/podzem2.jpg b/i/labirint3/podzem2.jpg new file mode 100644 index 0000000..ab8bb9b Binary files /dev/null and b/i/labirint3/podzem2.jpg differ diff --git a/i/labirint3/ref.gif b/i/labirint3/ref.gif new file mode 100644 index 0000000..12eedff Binary files /dev/null and b/i/labirint3/ref.gif differ diff --git a/i/labirint3/rewet.gif b/i/labirint3/rewet.gif new file mode 100644 index 0000000..5353b0d Binary files /dev/null and b/i/labirint3/rewet.gif differ diff --git a/i/labirint3/right.gif b/i/labirint3/right.gif new file mode 100644 index 0000000..1592132 Binary files /dev/null and b/i/labirint3/right.gif differ diff --git a/i/labirint3/righti.gif b/i/labirint3/righti.gif new file mode 100644 index 0000000..fcd51ad Binary files /dev/null and b/i/labirint3/righti.gif differ diff --git a/i/labirint3/rn1.gif b/i/labirint3/rn1.gif new file mode 100644 index 0000000..ab009f8 --- /dev/null +++ b/i/labirint3/rn1.gif @@ -0,0 +1,178 @@ +GIF89a`р +УКґ’}aљ†bІ¦’ЉtR©–rQC,ФОБ–‰kI=,3+!ЪС»њЉeўЏpD5;3)„x[ЊyTМЕ№©—yЕёќЄљs`N7cS3D;#siLdS,cZHЂmQqdP[J,"–‹p±џ„ѕ®–ё¦Њp]DПЙј{jB™‡i‰uYxdJИѕ±№­‘J<#dY8+ё¤„·°›­љxҐ˜uЛЅ›F@0аЪЛQE8mdN–€dАє«М»•®ќyШЛІдЩЅukWФЖјџђmЯЬФ|saє® ѓu_НИґNH:WF3gVAОВћH6#WE*ґЁ‡ЄќyЉ|g=7$—ЏxЏ|LvgF…wTўЌ[-(_M+ЧХК”†pЉw`·°–РїќO=)»°ђЅ«‘aVFАёћЮШЗ5)А®Ќ™€rЁ ‹РА¤·¦’ZH&№ІЎeW6}oN©˜‚,!WG8ИВёЖАЁЋ„o^P/O? P?164&SG'[D$?.ЇЁЋ hXFЈџ—З№—Й¶‘wgOG7+‰~p±©˜DD8‡{e№Є– +gО(qRі§Пџ@ѓ +EЁB…-_RpX3ґ©У§PЈ>|“іU+KBЪph)µ«ЧЇ`]Ю4кМ"ф¶rи¶­Ы·pV ¤тФ/ €pАй.їёЂ ЋЄВj+о–Њ*qЛЙЇV_€ьZ2ёІеЛ0щ9ѓ,¤ВИЗ +eшE(aS,ґ‚DђXBB‰_ьВЃR–ддМ­Ь‹§Lив‹2й—‚)TрК/Ї¬ЃЌЅµА-ФIPЮ)ђМуД<¬qК_06й¤G”Му…;*d8CH¦W–XС'D4,дVћ…TѕQЃmВ=©жљQт…~§њ2 +,H0J +ї¤0 + +DђЛHр +> Q'BР`+ґAK-:я*+Ј_Њj +30.%А6ґ‡6Ш!%2О¶ТB5А’ZКTЇЖТш”Р °<'¬н¤ЫGЛd1Г:ЊC Б9,ЬЕБ-`4k –`ЈОs`яM +ХЁ«йґ’EњKёK’€pБЂAЂсъцp№А Nј+I?cЂ Vњ3Њ!ВGпXСБ(­Мр…3o`гњNУ(иE/v‘† +{@’ +=~`ЂVPЂ`я\@Ѓ,dagи +`-˜qЊD +е7ѕ +q€'Hс}! 3И  "-( „°†!Ф +R,s<б +ПњЃ@‚0c3 ЗИA„ +Н¬`шЂЦ ОФаЧгђ0Ч9“ф€ЈPApЉPBР|Ш‘я„ШЎ~ ЗЩf@@¤!`РОЎЪР  ‰8Ж9Э9l°уў/‚v>wЋX,Ў_E1Дм Њfђ@ +лxЗ&О`†ђ#д8 1 +@b +С€А-®!@@x  +kЂF‡j,Ѓу P:рМ 3ЗВђ„$шЏ38Г8Z +„@cе±$*Ђ…ЉЉ  +mђ—RHФ¶†дg±D +-Р ЅpNЂ +|P†м°‰@К¶ X A‚ѕ*ГjxF5ЄБ‡ .“Ћв±„’ЦЏА‚ +v8`KAЊux"|ЁлaО‘РI`(€Г~Ђґб1ъ±D‚Мжѓ!я(8…(0W +ђCГX†м /lB +|рDЃ5€ЊQ|!9ђ0 +ZЁ@SЙ=мL{Ђ[C%@ЃА +jярB^ї +Ё + +K8КMжAl”`KиШhр†ґовA>G!J а +Б(ъPЃqД# †-д'3HМ1ђw-с&gњВ ХKУґ +А)Gђ ] + А + ЅЂNЩ( +x" а4p fЧ‰n *`ИpЭ °Gђ +Сђ Ђ"p1?Ђ'I"ЏmХ +  +ЉА]0VР~U†Е JР-@»ТзP4¤AФБяРС эЂТpsЂZбH IT+ xР +Rg’46‡ ( +- +lал +p•1,@µN( + яђ +кp +†… +й +ГрyщHJ н0?РRhђ=”Wq¬ўРKђNQ00AАK»Y + БЂAзђнРfP +Y@ у8,ђ[єСVAЅЂ•p!@B)р%РJF +p ?6¦fя*0  QЂJ` + з@Pf@…vчв Aхр Bђw Ћр2w # +nђwђ р‚pн ҐIАр-`в Ш*0·P°@iАО@ +№@0 +Y`€‡p–А)р +°0ЁьГЈрѓО +ЃnО°pbЁЦr"а ¦СЗІЁ Л=<шV`И0Q0z1 -РHPWяшLО0КсQ‹ )@L4&Yiђ +pw0№РЋ…'Л@aшжP№`|ДGoPюJnr&1’PЂрР +Е +q +iTnwЂN(Ђ5 +%PЅ`5 7 +pЂPС +D”@tЂ ”Ђ%_p +Нb )я@эЗ5@=xР +0`РpPD0 Й»=ЪҐ !Рt`JрV°lрї`D”@y"¤ DА0° +0 +АK± +ҐPuэ{ДЄд!­№У”4ђwa +њ,)* +мHvp ўаЂ@ +L^уЎ8 +ЂИPrplЂ +WбrDp#ЙЂPБhK“P=PрBЉ +™Р +`P%ЂwpFЂ +°ЃтGЈ7$Ј¦й– ‚ЊЅ’¶Ѕ0Ђ +fя0о@3lђ!оБ2¦LАёY#ѓ0]00Рx° P¶шђ, +0_іJ u@ќ?`OР +cђђhАа41G(в· +7яpаT ЄЂЋ+Вн(Ы ?АRJ?РЖ< !рY04 2Ш0l@з°а’ђ +РЈ" +–ЮЋBJH0 +3ЂP0°<° t ©BeбЌbўэ° -pB*Ђнр†Ђ¤Ј@щрщp …D`z@ш •РE +*АЕђЂВbзCРђа 4ЄЛPђ +p0яР +]А€’$}°З'YђuЄр+А ++ 3РІХ®&fрpйаl.РsOҐw +  ­›Дад +Ая°¤)0а{ЉVCђ + 0 +`Y°>†@W±VpяРub tЂ( ыwђцйА˜Ђ +3Rph±Р‰f°Бta’‚!А¦9Ё^ј +/† З>0$†CTp&3ю˜Б"€˜ ‚‚Ђ6Pщ`ЊH.`@Ѓ6аВ(2 Љ"yБИйрI(Ј”Т'sсвЌmћxГЋCж‰б +bшЃ3Оi'!–ђ ЂО№Џ˜$ќ +8 SV $ЋAЖЂб9‚љrPB -ґ+:@яг +-;0з c DтР‚†,О1„$и)бњ?љ0ЊдЙ&‘и¤ +А… µхV\ЙЫ@ +Кh@Љ#z¦‚щиSbhш!џ$ђН +*ё/˜,V9g)3\ИгЂёЂ +F(Е… +V "Ћ.ѓЌІ BjВ ПU‰0”р‚;ћQf˜5ћ@Ј%Bивr gѓЄа† Њс $Ю0dM`єV„ +7–С@‰рX†H ·эv)±D˜)ЕЋ0р‚|М + шЁБЉO°!-  + HО`@Hб +$A$PB5Мс‹WhP‰K¤‹'6 +]ЁA иpЋR q@ +?@Ћb8В+Ш@$ИђBДБc€В2#Ђ‡‰{дгN\ Op!°ѓ :@ +xАш„ + +t`n ‡1,P(@ ° яdЂM(@˜QX†Sњ*qЃ6± +®БЈvР +¬‚ +@АБ +ђЎqђ!XЃcДa 'И Q т‘|а‚x |…Y©0’ђЂ„ SeЃ<ђ +д!]ЁВ.°Г8b˜ +`m +о… +7ШЕ• +ќ+\" +ЋшYИАgм!/HBlpѓ^ZЦ†ZF9аrl#прB ђ°‹'ARm= Ђ'Pв  А~џIa]XuцМ +.$T80kpO ` B&рЋr  +шђ0€BВэр'Ў рBZ +hХaЁ‚і‘ +¬ў˜ДЉqJF$а繆4P0рБCР˜‘WL +Qаѓ˜Zа„ +z~цтёп.п–б(Bp(Б° $ДC ЈXVАCР ! Ђ"pЂ9< 0ЂБ +:фЎЇ~А>Q„@б,+аБ ЄяЂЉ +–±Љ фЎЈґҐ$И@ИP„€АЧ*DaUЂ6p!9ИЃ џPE36а#”АшуЗ аРЂ(°#…Р@ШBрrX†«iЁ`0 +pH˜ +€°Ѓ-аn`ѓЬCSґ %X+`Iш +x„ёѓHzP6  ‡ip“ « +Oр3‚G n +иr„J– +x‡8 ‚O +иЄ ЂИ˜Ђ hЃep4€‚?Ё‚;`ѓpf€2 +РЂe@ ђ3аЃSЂ{pѓ0`…Зв{(oxМЇфЃ °ЂFия#Д+±‚|°Ђш +˜Р†<`Ѓl¤~і%`„bр…1`bАM +И *†OёЇЂ + .8ЂD` +°ѓ(@%ђ%hЂ`Fа*ШB˜)А„p(АИ +и3иjш)ђ‚ 0­08 +яр†x|hѓ(Ѓ< +%…cxѓH† ЃTёЂ(ЕѓN˜ЂnhLr†RЂЃ,`ѓ(ёѓI + +!¤|uЂ шѓh +(„tа„EёPЁY`†GИЃrш +ъш#ђAІ„H*€р’ѓ,DгАєё’Љ»аЂЏp\Ж +I BЖ +3р±A2˜ Ђ¦9'ќuЦ)Л€X /С q)¤€!Ж}фSОђcA$ а`КRxЙE0 +­ы¤вK4ЩL!ЋF€!‹˜ЎО$tмЖ.ђK 0† +;ь°Hќи‘C*ќ8 +G`L¬0яИ +Еl°Б 2Ф2S +ЛР +"A€“CИ@И%3hа "ђsD{И±‚X#П T ‡Л=\ рPАBЛ=wЄ>¤ўG‹€#†9ђВ„вЂ<аJ2°T3-|РE0`D.ЕЊ + €2HЕ€‚“lрА s8BЛ0<Ђ:цЩ#HN*5¤/®ЬPЗ>D)x#ЖЖhGП-DРЂ«дВГЫ/Ь я „C60Б€l Сид`—H…jЂЋiмГв‚ёЂ€ Ђ`/аД%$а3Дb’hЂ#Љр + §мАpшЃ"XЂЏ?8ўЂp + +› F’ +Щ€„VQХ@ b°¦M ѓЂ;xЗ#ёВЉђЋbX +±ѓ=Ђ sё".P +ТQЂDdE +&аЭЂ#E‡?˜р tѓ«Er~fЈИ2АБ©ѓm§ !qђP‡LвD˜C,@g +їbЂ‚ ј"мmП 77ё8pя‘‹”ua%°>Сѓ=|"7А +шИCЖ`Ќк­b +ў ‚ЂгЩРГИsЋ =cЎ-,*” +’EЮї8Lc"Ш±‚(Pа=И@Ћ ЅЕs-QH@"1‰(ф« “( +и†:дџ + r#@ +\АF F”ф’^а?Д‚9a Кr`@ \ No newline at end of file diff --git a/i/labirint3/sclad.gif b/i/labirint3/sclad.gif new file mode 100644 index 0000000..faad997 Binary files /dev/null and b/i/labirint3/sclad.gif differ diff --git a/i/labirint3/sclad2.jpg b/i/labirint3/sclad2.jpg new file mode 100644 index 0000000..bf26bb2 Binary files /dev/null and b/i/labirint3/sclad2.jpg differ diff --git a/i/labirint3/sclad3.jpg b/i/labirint3/sclad3.jpg new file mode 100644 index 0000000..7eafb05 Binary files /dev/null and b/i/labirint3/sclad3.jpg differ diff --git a/i/labirint3/sclad4.jpg b/i/labirint3/sclad4.jpg new file mode 100644 index 0000000..df6daa6 Binary files /dev/null and b/i/labirint3/sclad4.jpg differ diff --git a/i/labirint3/stok.gif b/i/labirint3/stok.gif new file mode 100644 index 0000000..8849bde Binary files /dev/null and b/i/labirint3/stok.gif differ diff --git a/i/labirint3/sun.gif b/i/labirint3/sun.gif new file mode 100644 index 0000000..6528851 Binary files /dev/null and b/i/labirint3/sun.gif differ diff --git a/i/labirint3/telep.gif b/i/labirint3/telep.gif new file mode 100644 index 0000000..1be64d8 Binary files /dev/null and b/i/labirint3/telep.gif differ diff --git a/i/labirint3/top.gif b/i/labirint3/top.gif new file mode 100644 index 0000000..d53ed04 Binary files /dev/null and b/i/labirint3/top.gif differ diff --git a/i/labirint3/topi.gif b/i/labirint3/topi.gif new file mode 100644 index 0000000..9b86ff2 Binary files /dev/null and b/i/labirint3/topi.gif differ diff --git a/i/labirint3/trup.gif b/i/labirint3/trup.gif new file mode 100644 index 0000000..3a4eb8f Binary files /dev/null and b/i/labirint3/trup.gif differ diff --git a/i/labirint3/user.gif b/i/labirint3/user.gif new file mode 100644 index 0000000..3c42c64 Binary files /dev/null and b/i/labirint3/user.gif differ diff --git a/i/labirint3/v.gif b/i/labirint3/v.gif new file mode 100644 index 0000000..cfa15ef Binary files /dev/null and b/i/labirint3/v.gif differ diff --git a/i/labirint3/v2.gif b/i/labirint3/v2.gif new file mode 100644 index 0000000..67f770c Binary files /dev/null and b/i/labirint3/v2.gif differ diff --git a/i/labirint3/vlevo.gif b/i/labirint3/vlevo.gif new file mode 100644 index 0000000..e5f1a99 Binary files /dev/null and b/i/labirint3/vlevo.gif differ diff --git a/i/labirint3/vpravo.gif b/i/labirint3/vpravo.gif new file mode 100644 index 0000000..8d73ca5 Binary files /dev/null and b/i/labirint3/vpravo.gif differ diff --git a/i/labirint3/vverh.gif b/i/labirint3/vverh.gif new file mode 100644 index 0000000..dd31b0a Binary files /dev/null and b/i/labirint3/vverh.gif differ diff --git a/i/labirint3/yeralti.gif b/i/labirint3/yeralti.gif new file mode 100644 index 0000000..b216ad8 Binary files /dev/null and b/i/labirint3/yeralti.gif differ diff --git a/i/labirint3/yerustu.gif b/i/labirint3/yerustu.gif new file mode 100644 index 0000000..ee90985 Binary files /dev/null and b/i/labirint3/yerustu.gif differ diff --git a/i/labirint3/yo.gif b/i/labirint3/yo.gif new file mode 100644 index 0000000..ae60053 Binary files /dev/null and b/i/labirint3/yo.gif differ diff --git a/i/labirint3/yos.gif b/i/labirint3/yos.gif new file mode 100644 index 0000000..d9f4c4b Binary files /dev/null and b/i/labirint3/yos.gif differ diff --git a/i/labirint3/zel.gif b/i/labirint3/zel.gif new file mode 100644 index 0000000..f8da190 Binary files /dev/null and b/i/labirint3/zel.gif differ diff --git a/i/labirint3/zombi.gif b/i/labirint3/zombi.gif new file mode 100644 index 0000000..26c1f7c Binary files /dev/null and b/i/labirint3/zombi.gif differ diff --git a/i/labirint3/zud.gif b/i/labirint3/zud.gif new file mode 100644 index 0000000..9eb3276 Binary files /dev/null and b/i/labirint3/zud.gif differ diff --git a/i/labirint3/zuk.gif b/i/labirint3/zuk.gif new file mode 100644 index 0000000..8bfdf97 Binary files /dev/null and b/i/labirint3/zuk.gif differ diff --git a/i/lead1.gif b/i/lead1.gif new file mode 100644 index 0000000..97a7f2f Binary files /dev/null and b/i/lead1.gif differ diff --git a/i/left.gif b/i/left.gif new file mode 100644 index 0000000..c0368c0 Binary files /dev/null and b/i/left.gif differ diff --git a/i/library/archive.jpg b/i/library/archive.jpg new file mode 100644 index 0000000..5ecbd32 Binary files /dev/null and b/i/library/archive.jpg differ diff --git a/i/library/library.jpg b/i/library/library.jpg new file mode 100644 index 0000000..5ecbd32 Binary files /dev/null and b/i/library/library.jpg differ diff --git a/i/light_bg.png b/i/light_bg.png new file mode 100644 index 0000000..c3ba35e Binary files /dev/null and b/i/light_bg.png differ diff --git a/i/lite/mennu112_04_lite.gif b/i/lite/mennu112_04_lite.gif new file mode 100644 index 0000000..abc1be0 Binary files /dev/null and b/i/lite/mennu112_04_lite.gif differ diff --git a/i/lite/mennu112_06_lite.gif b/i/lite/mennu112_06_lite.gif new file mode 100644 index 0000000..7727875 Binary files /dev/null and b/i/lite/mennu112_06_lite.gif differ diff --git a/i/lite/sand_lit_20.gif b/i/lite/sand_lit_20.gif new file mode 100644 index 0000000..ebea33d Binary files /dev/null and b/i/lite/sand_lit_20.gif differ diff --git a/i/lite/sand_lit_27.gif b/i/lite/sand_lit_27.gif new file mode 100644 index 0000000..de92f34 Binary files /dev/null and b/i/lite/sand_lit_27.gif differ diff --git a/i/lite/sand_top_20s.gif b/i/lite/sand_top_20s.gif new file mode 100644 index 0000000..af01272 Binary files /dev/null and b/i/lite/sand_top_20s.gif differ diff --git a/i/lite/top_lite_cap_01.gif b/i/lite/top_lite_cap_01.gif new file mode 100644 index 0000000..612fecd Binary files /dev/null and b/i/lite/top_lite_cap_01.gif differ diff --git a/i/lite/top_lite_cap_011.gif b/i/lite/top_lite_cap_011.gif new file mode 100644 index 0000000..688fae5 Binary files /dev/null and b/i/lite/top_lite_cap_011.gif differ diff --git a/i/lite/top_lite_cap_03.gif b/i/lite/top_lite_cap_03.gif new file mode 100644 index 0000000..2a5819d Binary files /dev/null and b/i/lite/top_lite_cap_03.gif differ diff --git a/i/lite/top_lite_cap_07.gif b/i/lite/top_lite_cap_07.gif new file mode 100644 index 0000000..89f354a Binary files /dev/null and b/i/lite/top_lite_cap_07.gif differ diff --git a/i/lite/top_lite_cap_08.gif b/i/lite/top_lite_cap_08.gif new file mode 100644 index 0000000..31f46fe Binary files /dev/null and b/i/lite/top_lite_cap_08.gif differ diff --git a/i/lite/top_lite_cap_081.gif b/i/lite/top_lite_cap_081.gif new file mode 100644 index 0000000..ec4b313 Binary files /dev/null and b/i/lite/top_lite_cap_081.gif differ diff --git a/i/lite/top_lite_cap_11.gif b/i/lite/top_lite_cap_11.gif new file mode 100644 index 0000000..1f79f88 Binary files /dev/null and b/i/lite/top_lite_cap_11.gif differ diff --git a/i/lite/top_lite_dream_13.gif b/i/lite/top_lite_dream_13.gif new file mode 100644 index 0000000..e3ea060 Binary files /dev/null and b/i/lite/top_lite_dream_13.gif differ diff --git a/i/lite/top_lite_dream_15.gif b/i/lite/top_lite_dream_15.gif new file mode 100644 index 0000000..16c56f0 Binary files /dev/null and b/i/lite/top_lite_dream_15.gif differ diff --git a/i/lite/top_lite_dream_18.gif b/i/lite/top_lite_dream_18.gif new file mode 100644 index 0000000..a9b1357 Binary files /dev/null and b/i/lite/top_lite_dream_18.gif differ diff --git a/i/lmenu_1(1).gif b/i/lmenu_1(1).gif new file mode 100644 index 0000000..1b8132f Binary files /dev/null and b/i/lmenu_1(1).gif differ diff --git a/i/lmenu_1.gif b/i/lmenu_1.gif new file mode 100644 index 0000000..1b8132f Binary files /dev/null and b/i/lmenu_1.gif differ diff --git a/i/lmenu_2(1).gif b/i/lmenu_2(1).gif new file mode 100644 index 0000000..4d4f611 Binary files /dev/null and b/i/lmenu_2(1).gif differ diff --git a/i/lmenu_2.gif b/i/lmenu_2.gif new file mode 100644 index 0000000..4d4f611 Binary files /dev/null and b/i/lmenu_2.gif differ diff --git a/i/lmenu_3(1).gif b/i/lmenu_3(1).gif new file mode 100644 index 0000000..85f7a4b Binary files /dev/null and b/i/lmenu_3(1).gif differ diff --git a/i/lmenu_3.gif b/i/lmenu_3.gif new file mode 100644 index 0000000..85f7a4b Binary files /dev/null and b/i/lmenu_3.gif differ diff --git a/i/lmenu_bagr.gif b/i/lmenu_bagr.gif new file mode 100644 index 0000000..00f6e6c Binary files /dev/null and b/i/lmenu_bagr.gif differ diff --git a/i/lmenu_down.gif b/i/lmenu_down.gif new file mode 100644 index 0000000..481f4d1 Binary files /dev/null and b/i/lmenu_down.gif differ diff --git a/i/loading.gif b/i/loading.gif new file mode 100644 index 0000000..279a227 Binary files /dev/null and b/i/loading.gif differ diff --git a/i/loading2.gif b/i/loading2.gif new file mode 100644 index 0000000..78493c2 Binary files /dev/null and b/i/loading2.gif differ diff --git a/i/lock.gif b/i/lock.gif new file mode 100644 index 0000000..9f1ee40 Binary files /dev/null and b/i/lock.gif differ diff --git a/i/lock1.gif b/i/lock1.gif new file mode 100644 index 0000000..c796f21 Binary files /dev/null and b/i/lock1.gif differ diff --git a/i/lock2.gif b/i/lock2.gif new file mode 100644 index 0000000..8608fa2 Binary files /dev/null and b/i/lock2.gif differ diff --git a/i/logo.jpg b/i/logo.jpg new file mode 100644 index 0000000..e57495e Binary files /dev/null and b/i/logo.jpg differ diff --git a/i/logo2.jpg b/i/logo2.jpg new file mode 100644 index 0000000..4967a4e Binary files /dev/null and b/i/logo2.jpg differ diff --git a/i/m5.gif b/i/m5.gif new file mode 100644 index 0000000..d72d18e Binary files /dev/null and b/i/m5.gif differ diff --git a/i/mag_travma.gif b/i/mag_travma.gif new file mode 100644 index 0000000..ccf7f6f Binary files /dev/null and b/i/mag_travma.gif differ diff --git a/i/magic/1marta_gift4.gif b/i/magic/1marta_gift4.gif new file mode 100644 index 0000000..b04adaa Binary files /dev/null and b/i/magic/1marta_gift4.gif differ diff --git a/i/magic/1x1.gif b/i/magic/1x1.gif new file mode 100644 index 0000000..3a03dfd Binary files /dev/null and b/i/magic/1x1.gif differ diff --git a/i/magic/al_neut_power.gif b/i/magic/al_neut_power.gif new file mode 100644 index 0000000..4a74c7c Binary files /dev/null and b/i/magic/al_neut_power.gif differ diff --git a/i/magic/antimirror.gif b/i/magic/antimirror.gif new file mode 100644 index 0000000..f73f88c Binary files /dev/null and b/i/magic/antimirror.gif differ diff --git a/i/magic/attack.gif b/i/magic/attack.gif new file mode 100644 index 0000000..d5b466a Binary files /dev/null and b/i/magic/attack.gif differ diff --git a/i/magic/attack_defence.gif b/i/magic/attack_defence.gif new file mode 100644 index 0000000..2b3f06e Binary files /dev/null and b/i/magic/attack_defence.gif differ diff --git a/i/magic/attack_t.gif b/i/magic/attack_t.gif new file mode 100644 index 0000000..6aad55f Binary files /dev/null and b/i/magic/attack_t.gif differ diff --git a/i/magic/attackb.gif b/i/magic/attackb.gif new file mode 100644 index 0000000..977e854 Binary files /dev/null and b/i/magic/attackb.gif differ diff --git a/i/magic/attackk.gif b/i/magic/attackk.gif new file mode 100644 index 0000000..44ae550 Binary files /dev/null and b/i/magic/attackk.gif differ diff --git a/i/magic/attackk_close.gif b/i/magic/attackk_close.gif new file mode 100644 index 0000000..017e7f9 Binary files /dev/null and b/i/magic/attackk_close.gif differ diff --git a/i/magic/attackk_open.gif b/i/magic/attackk_open.gif new file mode 100644 index 0000000..44ae550 Binary files /dev/null and b/i/magic/attackk_open.gif differ diff --git a/i/magic/battack.gif b/i/magic/battack.gif new file mode 100644 index 0000000..977e854 Binary files /dev/null and b/i/magic/battack.gif differ diff --git a/i/magic/bexit.gif b/i/magic/bexit.gif new file mode 100644 index 0000000..4632e51 Binary files /dev/null and b/i/magic/bexit.gif differ diff --git a/i/magic/brat.gif b/i/magic/brat.gif new file mode 100644 index 0000000..e657cf3 Binary files /dev/null and b/i/magic/brat.gif differ diff --git a/i/magic/chains.gif b/i/magic/chains.gif new file mode 100644 index 0000000..8c91fa9 Binary files /dev/null and b/i/magic/chains.gif differ diff --git a/i/magic/check.gif b/i/magic/check.gif new file mode 100644 index 0000000..6247fbe Binary files /dev/null and b/i/magic/check.gif differ diff --git a/i/magic/crush.gif b/i/magic/crush.gif new file mode 100644 index 0000000..6e55011 Binary files /dev/null and b/i/magic/crush.gif differ diff --git a/i/magic/ct1.gif b/i/magic/ct1.gif new file mode 100644 index 0000000..50d8078 Binary files /dev/null and b/i/magic/ct1.gif differ diff --git a/i/magic/ct2.gif b/i/magic/ct2.gif new file mode 100644 index 0000000..65de5f8 Binary files /dev/null and b/i/magic/ct2.gif differ diff --git a/i/magic/ct3.gif b/i/magic/ct3.gif new file mode 100644 index 0000000..b5c0868 Binary files /dev/null and b/i/magic/ct3.gif differ diff --git a/i/magic/ct_all.gif b/i/magic/ct_all.gif new file mode 100644 index 0000000..9cd90e5 Binary files /dev/null and b/i/magic/ct_all.gif differ diff --git a/i/magic/cui_off.gif b/i/magic/cui_off.gif new file mode 100644 index 0000000..44a88a8 Binary files /dev/null and b/i/magic/cui_off.gif differ diff --git a/i/magic/cure.gif b/i/magic/cure.gif new file mode 100644 index 0000000..b5c0868 Binary files /dev/null and b/i/magic/cure.gif differ diff --git a/i/magic/cure1.gif b/i/magic/cure1.gif new file mode 100644 index 0000000..50d8078 Binary files /dev/null and b/i/magic/cure1.gif differ diff --git a/i/magic/cure150.gif b/i/magic/cure150.gif new file mode 100644 index 0000000..846d540 Binary files /dev/null and b/i/magic/cure150.gif differ diff --git a/i/magic/cure2.gif b/i/magic/cure2.gif new file mode 100644 index 0000000..65de5f8 Binary files /dev/null and b/i/magic/cure2.gif differ diff --git a/i/magic/cure3.gif b/i/magic/cure3.gif new file mode 100644 index 0000000..b5c0868 Binary files /dev/null and b/i/magic/cure3.gif differ diff --git a/i/magic/cureHP15.gif b/i/magic/cureHP15.gif new file mode 100644 index 0000000..4584d77 Binary files /dev/null and b/i/magic/cureHP15.gif differ diff --git a/i/magic/cureHP30.gif b/i/magic/cureHP30.gif new file mode 100644 index 0000000..827e063 Binary files /dev/null and b/i/magic/cureHP30.gif differ diff --git a/i/magic/cureHP300.gif b/i/magic/cureHP300.gif new file mode 100644 index 0000000..fa77c7d Binary files /dev/null and b/i/magic/cureHP300.gif differ diff --git a/i/magic/cureHP45.gif b/i/magic/cureHP45.gif new file mode 100644 index 0000000..638ea6a Binary files /dev/null and b/i/magic/cureHP45.gif differ diff --git a/i/magic/cureHP60.gif b/i/magic/cureHP60.gif new file mode 100644 index 0000000..846d540 Binary files /dev/null and b/i/magic/cureHP60.gif differ diff --git a/i/magic/ddark.gif b/i/magic/ddark.gif new file mode 100644 index 0000000..a25d789 Binary files /dev/null and b/i/magic/ddark.gif differ diff --git a/i/magic/death.gif b/i/magic/death.gif new file mode 100644 index 0000000..f92f9eb Binary files /dev/null and b/i/magic/death.gif differ diff --git a/i/magic/death_off.gif b/i/magic/death_off.gif new file mode 100644 index 0000000..5bf1371 Binary files /dev/null and b/i/magic/death_off.gif differ diff --git a/i/magic/def.gif b/i/magic/def.gif new file mode 100644 index 0000000..16223e0 Binary files /dev/null and b/i/magic/def.gif differ diff --git a/i/magic/defence.gif b/i/magic/defence.gif new file mode 100644 index 0000000..16223e0 Binary files /dev/null and b/i/magic/defence.gif differ diff --git a/i/magic/devastate.gif b/i/magic/devastate.gif new file mode 100644 index 0000000..6e55011 Binary files /dev/null and b/i/magic/devastate.gif differ diff --git a/i/magic/dlight.gif b/i/magic/dlight.gif new file mode 100644 index 0000000..a0df359 Binary files /dev/null and b/i/magic/dlight.gif differ diff --git a/i/magic/dneit.gif b/i/magic/dneit.gif new file mode 100644 index 0000000..d829877 Binary files /dev/null and b/i/magic/dneit.gif differ diff --git a/i/magic/dpal.gif b/i/magic/dpal.gif new file mode 100644 index 0000000..3a9be8a Binary files /dev/null and b/i/magic/dpal.gif differ diff --git a/i/magic/element_air.gif b/i/magic/element_air.gif new file mode 100644 index 0000000..ce6a56c Binary files /dev/null and b/i/magic/element_air.gif differ diff --git a/i/magic/element_earth.gif b/i/magic/element_earth.gif new file mode 100644 index 0000000..e7b347b Binary files /dev/null and b/i/magic/element_earth.gif differ diff --git a/i/magic/element_eath.gif b/i/magic/element_eath.gif new file mode 100644 index 0000000..e7b347b Binary files /dev/null and b/i/magic/element_eath.gif differ diff --git a/i/magic/element_fire.gif b/i/magic/element_fire.gif new file mode 100644 index 0000000..e8afbe3 Binary files /dev/null and b/i/magic/element_fire.gif differ diff --git a/i/magic/element_water.gif b/i/magic/element_water.gif new file mode 100644 index 0000000..a93f8ce Binary files /dev/null and b/i/magic/element_water.gif differ diff --git a/i/magic/fist_def.gif b/i/magic/fist_def.gif new file mode 100644 index 0000000..edc4420 Binary files /dev/null and b/i/magic/fist_def.gif differ diff --git a/i/magic/haos.gif b/i/magic/haos.gif new file mode 100644 index 0000000..70944a5 Binary files /dev/null and b/i/magic/haos.gif differ diff --git a/i/magic/haos_off.gif b/i/magic/haos_off.gif new file mode 100644 index 0000000..f39c5aa Binary files /dev/null and b/i/magic/haos_off.gif differ diff --git a/i/magic/hidden.gif b/i/magic/hidden.gif new file mode 100644 index 0000000..3821f44 Binary files /dev/null and b/i/magic/hidden.gif differ diff --git a/i/magic/illusion.gif b/i/magic/illusion.gif new file mode 100644 index 0000000..da94105 Binary files /dev/null and b/i/magic/illusion.gif differ diff --git a/i/magic/ldadd.gif b/i/magic/ldadd.gif new file mode 100644 index 0000000..229fa3f Binary files /dev/null and b/i/magic/ldadd.gif differ diff --git a/i/magic/marry.gif b/i/magic/marry.gif new file mode 100644 index 0000000..167ffc1 Binary files /dev/null and b/i/magic/marry.gif differ diff --git a/i/magic/mirror.gif b/i/magic/mirror.gif new file mode 100644 index 0000000..94bdee0 Binary files /dev/null and b/i/magic/mirror.gif differ diff --git a/i/magic/note.gif b/i/magic/note.gif new file mode 100644 index 0000000..f8fc1eb Binary files /dev/null and b/i/magic/note.gif differ diff --git a/i/magic/obezl.gif b/i/magic/obezl.gif new file mode 100644 index 0000000..6866204 Binary files /dev/null and b/i/magic/obezl.gif differ diff --git a/i/magic/obezl_off.gif b/i/magic/obezl_off.gif new file mode 100644 index 0000000..8a56ea0 Binary files /dev/null and b/i/magic/obezl_off.gif differ diff --git a/i/magic/pal_buttons.gif b/i/magic/pal_buttons.gif new file mode 100644 index 0000000..6247fbe Binary files /dev/null and b/i/magic/pal_buttons.gif differ diff --git a/i/magic/pal_off.gif b/i/magic/pal_off.gif new file mode 100644 index 0000000..95166b2 Binary files /dev/null and b/i/magic/pal_off.gif differ diff --git a/i/magic/rep.gif b/i/magic/rep.gif new file mode 100644 index 0000000..ba7f379 Binary files /dev/null and b/i/magic/rep.gif differ diff --git a/i/magic/rost.gif b/i/magic/rost.gif new file mode 100644 index 0000000..52a30df Binary files /dev/null and b/i/magic/rost.gif differ diff --git a/i/magic/scanner.gif b/i/magic/scanner.gif new file mode 100644 index 0000000..baa1d15 Binary files /dev/null and b/i/magic/scanner.gif differ diff --git a/i/magic/shout.gif b/i/magic/shout.gif new file mode 100644 index 0000000..4c77807 Binary files /dev/null and b/i/magic/shout.gif differ diff --git a/i/magic/silence15.gif b/i/magic/silence15.gif new file mode 100644 index 0000000..e543f57 Binary files /dev/null and b/i/magic/silence15.gif differ diff --git a/i/magic/silence30.gif b/i/magic/silence30.gif new file mode 100644 index 0000000..519025d Binary files /dev/null and b/i/magic/silence30.gif differ diff --git a/i/magic/silence60.gif b/i/magic/silence60.gif new file mode 100644 index 0000000..bd9c03d Binary files /dev/null and b/i/magic/silence60.gif differ diff --git a/i/magic/sleep.gif b/i/magic/sleep.gif new file mode 100644 index 0000000..4e3eb6a Binary files /dev/null and b/i/magic/sleep.gif differ diff --git a/i/magic/sleep1.php b/i/magic/sleep1.php new file mode 100644 index 0000000..af2f04f --- /dev/null +++ b/i/magic/sleep1.php @@ -0,0 +1,59 @@ +На персонаже \"{$target}\" уже есть заклятие молчания "; + } + else { + if (mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$tar['id']."','Заклятие молчания','$magictime',2);")) { + if ($user['sex'] == 1) {$action="наложил";} + else {$action="наложила";} + addch("Законник "{$user['login']}" $action заклятие молчания на "{$target}", сроком на на 30 мин. ."); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Успешно наложено заклятие молчания на персонажа \"{$target}\""; + } + else { + echo "Произошла ошибка!"; + } + } + } + else { + echo "Персонаж \"{$target}\" не существует!"; + } +?> \ No newline at end of file diff --git a/i/magic/sleep_off.gif b/i/magic/sleep_off.gif new file mode 100644 index 0000000..c4ed8e1 Binary files /dev/null and b/i/magic/sleep_off.gif differ diff --git a/i/magic/sleepf.gif b/i/magic/sleepf.gif new file mode 100644 index 0000000..d93b4d7 Binary files /dev/null and b/i/magic/sleepf.gif differ diff --git a/i/magic/sleepf_off.gif b/i/magic/sleepf_off.gif new file mode 100644 index 0000000..b99d9ff Binary files /dev/null and b/i/magic/sleepf_off.gif differ diff --git a/i/magic/spell_luck.gif b/i/magic/spell_luck.gif new file mode 100644 index 0000000..90740c1 Binary files /dev/null and b/i/magic/spell_luck.gif differ diff --git a/i/magic/sys.gif b/i/magic/sys.gif new file mode 100644 index 0000000..91fbc5e Binary files /dev/null and b/i/magic/sys.gif differ diff --git a/i/magic/teleport.gif b/i/magic/teleport.gif new file mode 100644 index 0000000..60d4fd6 Binary files /dev/null and b/i/magic/teleport.gif differ diff --git a/i/magic/travma.gif b/i/magic/travma.gif new file mode 100644 index 0000000..4c3285b Binary files /dev/null and b/i/magic/travma.gif differ diff --git a/i/magic/un_align.gif b/i/magic/un_align.gif new file mode 100644 index 0000000..0d4dfa7 Binary files /dev/null and b/i/magic/un_align.gif differ diff --git a/i/magic/unmarry.gif b/i/magic/unmarry.gif new file mode 100644 index 0000000..d6904af Binary files /dev/null and b/i/magic/unmarry.gif differ diff --git a/i/magic/vampir.gif b/i/magic/vampir.gif new file mode 100644 index 0000000..8092305 Binary files /dev/null and b/i/magic/vampir.gif differ diff --git a/i/magic/vip.gif b/i/magic/vip.gif new file mode 100644 index 0000000..0ff2400 Binary files /dev/null and b/i/magic/vip.gif differ diff --git a/i/magic/wis_air_def1.gif b/i/magic/wis_air_def1.gif new file mode 100644 index 0000000..a9fef7e Binary files /dev/null and b/i/magic/wis_air_def1.gif differ diff --git a/i/magic/wis_air_def2.gif b/i/magic/wis_air_def2.gif new file mode 100644 index 0000000..346cd4f Binary files /dev/null and b/i/magic/wis_air_def2.gif differ diff --git a/i/magic/wis_air_def3.gif b/i/magic/wis_air_def3.gif new file mode 100644 index 0000000..3f7a3b7 Binary files /dev/null and b/i/magic/wis_air_def3.gif differ diff --git a/i/magic/wis_air_h1.gif b/i/magic/wis_air_h1.gif new file mode 100644 index 0000000..5359fe5 Binary files /dev/null and b/i/magic/wis_air_h1.gif differ diff --git a/i/magic/wis_air_h2.gif b/i/magic/wis_air_h2.gif new file mode 100644 index 0000000..489016f Binary files /dev/null and b/i/magic/wis_air_h2.gif differ diff --git a/i/magic/wis_air_h3.gif b/i/magic/wis_air_h3.gif new file mode 100644 index 0000000..2acdfbf Binary files /dev/null and b/i/magic/wis_air_h3.gif differ diff --git a/i/magic/wis_air_m1.gif b/i/magic/wis_air_m1.gif new file mode 100644 index 0000000..e4fff34 Binary files /dev/null and b/i/magic/wis_air_m1.gif differ diff --git a/i/magic/wis_air_m2.gif b/i/magic/wis_air_m2.gif new file mode 100644 index 0000000..e94966d Binary files /dev/null and b/i/magic/wis_air_m2.gif differ diff --git a/i/magic/wis_air_m3.gif b/i/magic/wis_air_m3.gif new file mode 100644 index 0000000..0d4cd47 Binary files /dev/null and b/i/magic/wis_air_m3.gif differ diff --git a/i/magic/wis_air_o1.gif b/i/magic/wis_air_o1.gif new file mode 100644 index 0000000..acdc6f3 Binary files /dev/null and b/i/magic/wis_air_o1.gif differ diff --git a/i/magic/wis_air_o2.gif b/i/magic/wis_air_o2.gif new file mode 100644 index 0000000..7246a6a Binary files /dev/null and b/i/magic/wis_air_o2.gif differ diff --git a/i/magic/wis_air_o3.gif b/i/magic/wis_air_o3.gif new file mode 100644 index 0000000..58e1c27 Binary files /dev/null and b/i/magic/wis_air_o3.gif differ diff --git a/i/magic/wis_air_t1.gif b/i/magic/wis_air_t1.gif new file mode 100644 index 0000000..4393435 Binary files /dev/null and b/i/magic/wis_air_t1.gif differ diff --git a/i/magic/wis_air_t2.gif b/i/magic/wis_air_t2.gif new file mode 100644 index 0000000..d49025b Binary files /dev/null and b/i/magic/wis_air_t2.gif differ diff --git a/i/magic/wis_air_t3.gif b/i/magic/wis_air_t3.gif new file mode 100644 index 0000000..89bdd4a Binary files /dev/null and b/i/magic/wis_air_t3.gif differ diff --git a/i/magic/wis_earth_d1.gif b/i/magic/wis_earth_d1.gif new file mode 100644 index 0000000..55898de Binary files /dev/null and b/i/magic/wis_earth_d1.gif differ diff --git a/i/magic/wis_earth_d2.gif b/i/magic/wis_earth_d2.gif new file mode 100644 index 0000000..e8d5689 Binary files /dev/null and b/i/magic/wis_earth_d2.gif differ diff --git a/i/magic/wis_earth_d3.gif b/i/magic/wis_earth_d3.gif new file mode 100644 index 0000000..be4855a Binary files /dev/null and b/i/magic/wis_earth_d3.gif differ diff --git a/i/magic/wis_earth_def1.gif b/i/magic/wis_earth_def1.gif new file mode 100644 index 0000000..56d0ac8 Binary files /dev/null and b/i/magic/wis_earth_def1.gif differ diff --git a/i/magic/wis_earth_def2.gif b/i/magic/wis_earth_def2.gif new file mode 100644 index 0000000..dc62565 Binary files /dev/null and b/i/magic/wis_earth_def2.gif differ diff --git a/i/magic/wis_earth_def3.gif b/i/magic/wis_earth_def3.gif new file mode 100644 index 0000000..f9a826a Binary files /dev/null and b/i/magic/wis_earth_def3.gif differ diff --git a/i/magic/wis_earth_g1.gif b/i/magic/wis_earth_g1.gif new file mode 100644 index 0000000..c896aa3 Binary files /dev/null and b/i/magic/wis_earth_g1.gif differ diff --git a/i/magic/wis_earth_g2.gif b/i/magic/wis_earth_g2.gif new file mode 100644 index 0000000..70587e4 Binary files /dev/null and b/i/magic/wis_earth_g2.gif differ diff --git a/i/magic/wis_earth_g3.gif b/i/magic/wis_earth_g3.gif new file mode 100644 index 0000000..f1cd33e Binary files /dev/null and b/i/magic/wis_earth_g3.gif differ diff --git a/i/magic/wis_earth_k1.gif b/i/magic/wis_earth_k1.gif new file mode 100644 index 0000000..6d2143e Binary files /dev/null and b/i/magic/wis_earth_k1.gif differ diff --git a/i/magic/wis_earth_k2.gif b/i/magic/wis_earth_k2.gif new file mode 100644 index 0000000..23b9cec Binary files /dev/null and b/i/magic/wis_earth_k2.gif differ diff --git a/i/magic/wis_earth_k3.gif b/i/magic/wis_earth_k3.gif new file mode 100644 index 0000000..d50cf33 Binary files /dev/null and b/i/magic/wis_earth_k3.gif differ diff --git a/i/magic/wis_earth_m1.gif b/i/magic/wis_earth_m1.gif new file mode 100644 index 0000000..d04126e Binary files /dev/null and b/i/magic/wis_earth_m1.gif differ diff --git a/i/magic/wis_earth_m2.gif b/i/magic/wis_earth_m2.gif new file mode 100644 index 0000000..01a57c2 Binary files /dev/null and b/i/magic/wis_earth_m2.gif differ diff --git a/i/magic/wis_earth_m3.gif b/i/magic/wis_earth_m3.gif new file mode 100644 index 0000000..bb101b6 Binary files /dev/null and b/i/magic/wis_earth_m3.gif differ diff --git a/i/magic/wis_fire_def1.gif b/i/magic/wis_fire_def1.gif new file mode 100644 index 0000000..7f65035 Binary files /dev/null and b/i/magic/wis_fire_def1.gif differ diff --git a/i/magic/wis_fire_def2.gif b/i/magic/wis_fire_def2.gif new file mode 100644 index 0000000..0d4a56c Binary files /dev/null and b/i/magic/wis_fire_def2.gif differ diff --git a/i/magic/wis_fire_def3.gif b/i/magic/wis_fire_def3.gif new file mode 100644 index 0000000..04ca1f7 Binary files /dev/null and b/i/magic/wis_fire_def3.gif differ diff --git a/i/magic/wis_fire_i1.gif b/i/magic/wis_fire_i1.gif new file mode 100644 index 0000000..91b54d0 Binary files /dev/null and b/i/magic/wis_fire_i1.gif differ diff --git a/i/magic/wis_fire_i2.gif b/i/magic/wis_fire_i2.gif new file mode 100644 index 0000000..caec491 Binary files /dev/null and b/i/magic/wis_fire_i2.gif differ diff --git a/i/magic/wis_fire_i3.gif b/i/magic/wis_fire_i3.gif new file mode 100644 index 0000000..a2ce0f1 Binary files /dev/null and b/i/magic/wis_fire_i3.gif differ diff --git a/i/magic/wis_fire_p1.gif b/i/magic/wis_fire_p1.gif new file mode 100644 index 0000000..61a7e47 Binary files /dev/null and b/i/magic/wis_fire_p1.gif differ diff --git a/i/magic/wis_fire_p2.gif b/i/magic/wis_fire_p2.gif new file mode 100644 index 0000000..2629e7b Binary files /dev/null and b/i/magic/wis_fire_p2.gif differ diff --git a/i/magic/wis_fire_p3.gif b/i/magic/wis_fire_p3.gif new file mode 100644 index 0000000..a2f329d Binary files /dev/null and b/i/magic/wis_fire_p3.gif differ diff --git a/i/magic/wis_fire_t1.gif b/i/magic/wis_fire_t1.gif new file mode 100644 index 0000000..e68a9bc Binary files /dev/null and b/i/magic/wis_fire_t1.gif differ diff --git a/i/magic/wis_fire_t2.gif b/i/magic/wis_fire_t2.gif new file mode 100644 index 0000000..0ae42c1 Binary files /dev/null and b/i/magic/wis_fire_t2.gif differ diff --git a/i/magic/wis_fire_t3.gif b/i/magic/wis_fire_t3.gif new file mode 100644 index 0000000..ce72039 Binary files /dev/null and b/i/magic/wis_fire_t3.gif differ diff --git a/i/magic/wis_fire_v1.gif b/i/magic/wis_fire_v1.gif new file mode 100644 index 0000000..cf00b95 Binary files /dev/null and b/i/magic/wis_fire_v1.gif differ diff --git a/i/magic/wis_fire_v2.gif b/i/magic/wis_fire_v2.gif new file mode 100644 index 0000000..69348f7 Binary files /dev/null and b/i/magic/wis_fire_v2.gif differ diff --git a/i/magic/wis_fire_v3.gif b/i/magic/wis_fire_v3.gif new file mode 100644 index 0000000..4363918 Binary files /dev/null and b/i/magic/wis_fire_v3.gif differ diff --git a/i/magic/wis_water_ch1.gif b/i/magic/wis_water_ch1.gif new file mode 100644 index 0000000..c13e2c5 Binary files /dev/null and b/i/magic/wis_water_ch1.gif differ diff --git a/i/magic/wis_water_ch2.gif b/i/magic/wis_water_ch2.gif new file mode 100644 index 0000000..5f500df Binary files /dev/null and b/i/magic/wis_water_ch2.gif differ diff --git a/i/magic/wis_water_ch3.gif b/i/magic/wis_water_ch3.gif new file mode 100644 index 0000000..7a33ce0 Binary files /dev/null and b/i/magic/wis_water_ch3.gif differ diff --git a/i/magic/wis_water_def1.gif b/i/magic/wis_water_def1.gif new file mode 100644 index 0000000..779be4a Binary files /dev/null and b/i/magic/wis_water_def1.gif differ diff --git a/i/magic/wis_water_def2.gif b/i/magic/wis_water_def2.gif new file mode 100644 index 0000000..dd15c15 Binary files /dev/null and b/i/magic/wis_water_def2.gif differ diff --git a/i/magic/wis_water_def3.gif b/i/magic/wis_water_def3.gif new file mode 100644 index 0000000..21b3061 Binary files /dev/null and b/i/magic/wis_water_def3.gif differ diff --git a/i/magic/wis_water_o1.gif b/i/magic/wis_water_o1.gif new file mode 100644 index 0000000..9d3fb1e Binary files /dev/null and b/i/magic/wis_water_o1.gif differ diff --git a/i/magic/wis_water_o2.gif b/i/magic/wis_water_o2.gif new file mode 100644 index 0000000..478775b Binary files /dev/null and b/i/magic/wis_water_o2.gif differ diff --git a/i/magic/wis_water_o3.gif b/i/magic/wis_water_o3.gif new file mode 100644 index 0000000..431943a Binary files /dev/null and b/i/magic/wis_water_o3.gif differ diff --git a/i/magic/wis_water_r1.gif b/i/magic/wis_water_r1.gif new file mode 100644 index 0000000..1959635 Binary files /dev/null and b/i/magic/wis_water_r1.gif differ diff --git a/i/magic/wis_water_r2.gif b/i/magic/wis_water_r2.gif new file mode 100644 index 0000000..215ba34 Binary files /dev/null and b/i/magic/wis_water_r2.gif differ diff --git a/i/magic/wis_water_r3.gif b/i/magic/wis_water_r3.gif new file mode 100644 index 0000000..afbf4db Binary files /dev/null and b/i/magic/wis_water_r3.gif differ diff --git a/i/magic/wis_water_tr1.gif b/i/magic/wis_water_tr1.gif new file mode 100644 index 0000000..1bb3647 Binary files /dev/null and b/i/magic/wis_water_tr1.gif differ diff --git a/i/magic/wis_water_tr2.gif b/i/magic/wis_water_tr2.gif new file mode 100644 index 0000000..2d3b7cc Binary files /dev/null and b/i/magic/wis_water_tr2.gif differ diff --git a/i/magic/wis_water_tr3.gif b/i/magic/wis_water_tr3.gif new file mode 100644 index 0000000..10533db Binary files /dev/null and b/i/magic/wis_water_tr3.gif differ diff --git a/i/married.gif b/i/married.gif new file mode 100644 index 0000000..5634387 Binary files /dev/null and b/i/married.gif differ diff --git a/i/married2.gif b/i/married2.gif new file mode 100644 index 0000000..57d9c5b Binary files /dev/null and b/i/married2.gif differ diff --git a/i/marry.gif b/i/marry.gif new file mode 100644 index 0000000..656e09d Binary files /dev/null and b/i/marry.gif differ diff --git a/i/massfun.gif b/i/massfun.gif new file mode 100644 index 0000000..b627bdd Binary files /dev/null and b/i/massfun.gif differ diff --git a/i/medal.png b/i/medal.png new file mode 100644 index 0000000..492ef5a Binary files /dev/null and b/i/medal.png differ diff --git a/i/medal10.png b/i/medal10.png new file mode 100644 index 0000000..a954ca7 Binary files /dev/null and b/i/medal10.png differ diff --git a/i/medal11.png b/i/medal11.png new file mode 100644 index 0000000..1636f66 Binary files /dev/null and b/i/medal11.png differ diff --git a/i/medal2.png b/i/medal2.png new file mode 100644 index 0000000..1328c62 Binary files /dev/null and b/i/medal2.png differ diff --git a/i/medal3.png b/i/medal3.png new file mode 100644 index 0000000..7057799 Binary files /dev/null and b/i/medal3.png differ diff --git a/i/medal4.png b/i/medal4.png new file mode 100644 index 0000000..bc0f65b Binary files /dev/null and b/i/medal4.png differ diff --git a/i/medal6.png b/i/medal6.png new file mode 100644 index 0000000..bcabef8 Binary files /dev/null and b/i/medal6.png differ diff --git a/i/medal7.png b/i/medal7.png new file mode 100644 index 0000000..ab25377 Binary files /dev/null and b/i/medal7.png differ diff --git a/i/medal8.png b/i/medal8.png new file mode 100644 index 0000000..553d80f Binary files /dev/null and b/i/medal8.png differ diff --git a/i/medal9.png b/i/medal9.png new file mode 100644 index 0000000..e6ae51d Binary files /dev/null and b/i/medal9.png differ diff --git a/i/medal_01.gif b/i/medal_01.gif new file mode 100644 index 0000000..1790d60 Binary files /dev/null and b/i/medal_01.gif differ diff --git a/i/medal_02.gif b/i/medal_02.gif new file mode 100644 index 0000000..0bc5da7 Binary files /dev/null and b/i/medal_02.gif differ diff --git a/i/medal_04.gif b/i/medal_04.gif new file mode 100644 index 0000000..3aa8812 Binary files /dev/null and b/i/medal_04.gif differ diff --git a/i/medal_19.gif b/i/medal_19.gif new file mode 100644 index 0000000..49985f7 Binary files /dev/null and b/i/medal_19.gif differ diff --git a/i/medal_22.gif b/i/medal_22.gif new file mode 100644 index 0000000..d190591 Binary files /dev/null and b/i/medal_22.gif differ diff --git a/i/medal_23.gif b/i/medal_23.gif new file mode 100644 index 0000000..a499289 Binary files /dev/null and b/i/medal_23.gif differ diff --git a/i/medal_24.gif b/i/medal_24.gif new file mode 100644 index 0000000..0f24391 Binary files /dev/null and b/i/medal_24.gif differ diff --git a/i/medal_26.gif b/i/medal_26.gif new file mode 100644 index 0000000..2ccf491 Binary files /dev/null and b/i/medal_26.gif differ diff --git a/i/medal_27.gif b/i/medal_27.gif new file mode 100644 index 0000000..79bf9ee Binary files /dev/null and b/i/medal_27.gif differ diff --git a/i/medal_29.gif b/i/medal_29.gif new file mode 100644 index 0000000..8997a40 Binary files /dev/null and b/i/medal_29.gif differ diff --git a/i/medal_31.gif b/i/medal_31.gif new file mode 100644 index 0000000..4e15851 Binary files /dev/null and b/i/medal_31.gif differ diff --git a/i/medal_33.gif b/i/medal_33.gif new file mode 100644 index 0000000..408608a Binary files /dev/null and b/i/medal_33.gif differ diff --git a/i/medal_hram_011.gif b/i/medal_hram_011.gif new file mode 100644 index 0000000..aefaf51 Binary files /dev/null and b/i/medal_hram_011.gif differ diff --git a/i/medali.png b/i/medali.png new file mode 100644 index 0000000..2c1c691 Binary files /dev/null and b/i/medali.png differ diff --git a/i/menu1at1.gif b/i/menu1at1.gif new file mode 100644 index 0000000..7f295df Binary files /dev/null and b/i/menu1at1.gif differ diff --git a/i/menu1at2.gif b/i/menu1at2.gif new file mode 100644 index 0000000..ec66a8d Binary files /dev/null and b/i/menu1at2.gif differ diff --git a/i/menu1at3.gif b/i/menu1at3.gif new file mode 100644 index 0000000..ed06b64 Binary files /dev/null and b/i/menu1at3.gif differ diff --git a/i/menu1at4.gif b/i/menu1at4.gif new file mode 100644 index 0000000..11a0bb4 Binary files /dev/null and b/i/menu1at4.gif differ diff --git a/i/menu1at5.gif b/i/menu1at5.gif new file mode 100644 index 0000000..949d798 Binary files /dev/null and b/i/menu1at5.gif differ diff --git a/i/menu1at6.gif b/i/menu1at6.gif new file mode 100644 index 0000000..6b110cb Binary files /dev/null and b/i/menu1at6.gif differ diff --git a/i/menu1at7.gif b/i/menu1at7.gif new file mode 100644 index 0000000..4b7fa43 Binary files /dev/null and b/i/menu1at7.gif differ diff --git a/i/menu1at8.gif b/i/menu1at8.gif new file mode 100644 index 0000000..8f74b40 Binary files /dev/null and b/i/menu1at8.gif differ diff --git a/i/menu1ps2.gif b/i/menu1ps2.gif new file mode 100644 index 0000000..421c59d Binary files /dev/null and b/i/menu1ps2.gif differ diff --git a/i/menu1ps3.gif b/i/menu1ps3.gif new file mode 100644 index 0000000..12ac6b2 Binary files /dev/null and b/i/menu1ps3.gif differ diff --git a/i/menu1ps4.gif b/i/menu1ps4.gif new file mode 100644 index 0000000..f5c4a89 Binary files /dev/null and b/i/menu1ps4.gif differ diff --git a/i/menu1ps5.gif b/i/menu1ps5.gif new file mode 100644 index 0000000..edd4386 Binary files /dev/null and b/i/menu1ps5.gif differ diff --git a/i/menu1ps7.gif b/i/menu1ps7.gif new file mode 100644 index 0000000..3981933 Binary files /dev/null and b/i/menu1ps7.gif differ diff --git a/i/menu1ps8.gif b/i/menu1ps8.gif new file mode 100644 index 0000000..1259129 Binary files /dev/null and b/i/menu1ps8.gif differ diff --git a/i/menu1ps9.gif b/i/menu1ps9.gif new file mode 100644 index 0000000..4ee5e22 Binary files /dev/null and b/i/menu1ps9.gif differ diff --git a/i/menu3.png b/i/menu3.png new file mode 100644 index 0000000..f7edee5 Binary files /dev/null and b/i/menu3.png differ diff --git a/i/minus.gif b/i/minus.gif new file mode 100644 index 0000000..d2d927f Binary files /dev/null and b/i/minus.gif differ diff --git a/i/misc/dmagic/bneitral_03.gif b/i/misc/dmagic/bneitral_03.gif new file mode 100644 index 0000000..8790c03 Binary files /dev/null and b/i/misc/dmagic/bneitral_03.gif differ diff --git a/i/misc/dmagic/bneitral_05.gif b/i/misc/dmagic/bneitral_05.gif new file mode 100644 index 0000000..9f6343c Binary files /dev/null and b/i/misc/dmagic/bneitral_05.gif differ diff --git a/i/misc/dmagic/bneitral_07.gif b/i/misc/dmagic/bneitral_07.gif new file mode 100644 index 0000000..a55ce30 Binary files /dev/null and b/i/misc/dmagic/bneitral_07.gif differ diff --git a/i/misc/dmagic/bneitral_17.gif b/i/misc/dmagic/bneitral_17.gif new file mode 100644 index 0000000..3d7daed Binary files /dev/null and b/i/misc/dmagic/bneitral_17.gif differ diff --git a/i/misc/dmagic/bneitral_19.gif b/i/misc/dmagic/bneitral_19.gif new file mode 100644 index 0000000..4f6ea02 Binary files /dev/null and b/i/misc/dmagic/bneitral_19.gif differ diff --git a/i/misc/dmagic/bneitral_27.gif b/i/misc/dmagic/bneitral_27.gif new file mode 100644 index 0000000..321b8dd Binary files /dev/null and b/i/misc/dmagic/bneitral_27.gif differ diff --git a/i/misc/dmagic/bneitral_29.gif b/i/misc/dmagic/bneitral_29.gif new file mode 100644 index 0000000..9d9f633 Binary files /dev/null and b/i/misc/dmagic/bneitral_29.gif differ diff --git a/i/misc/dmagic/bneitral_31.gif b/i/misc/dmagic/bneitral_31.gif new file mode 100644 index 0000000..3ae0927 Binary files /dev/null and b/i/misc/dmagic/bneitral_31.gif differ diff --git a/i/misc/dmagic/bwhite_03.gif b/i/misc/dmagic/bwhite_03.gif new file mode 100644 index 0000000..3330d45 Binary files /dev/null and b/i/misc/dmagic/bwhite_03.gif differ diff --git a/i/misc/dmagic/bwhite_05.gif b/i/misc/dmagic/bwhite_05.gif new file mode 100644 index 0000000..7127304 Binary files /dev/null and b/i/misc/dmagic/bwhite_05.gif differ diff --git a/i/misc/dmagic/bwhite_07.gif b/i/misc/dmagic/bwhite_07.gif new file mode 100644 index 0000000..bfeab03 Binary files /dev/null and b/i/misc/dmagic/bwhite_07.gif differ diff --git a/i/misc/dmagic/bwhite_17.gif b/i/misc/dmagic/bwhite_17.gif new file mode 100644 index 0000000..d1d30eb Binary files /dev/null and b/i/misc/dmagic/bwhite_17.gif differ diff --git a/i/misc/dmagic/bwhite_19.gif b/i/misc/dmagic/bwhite_19.gif new file mode 100644 index 0000000..6d3d9b1 Binary files /dev/null and b/i/misc/dmagic/bwhite_19.gif differ diff --git a/i/misc/dmagic/bwhite_27.gif b/i/misc/dmagic/bwhite_27.gif new file mode 100644 index 0000000..4a61f26 Binary files /dev/null and b/i/misc/dmagic/bwhite_27.gif differ diff --git a/i/misc/dmagic/bwhite_29.gif b/i/misc/dmagic/bwhite_29.gif new file mode 100644 index 0000000..9d2aac5 Binary files /dev/null and b/i/misc/dmagic/bwhite_29.gif differ diff --git a/i/misc/dmagic/bwhite_31.gif b/i/misc/dmagic/bwhite_31.gif new file mode 100644 index 0000000..afc7aa4 Binary files /dev/null and b/i/misc/dmagic/bwhite_31.gif differ diff --git a/i/misc/dmagic/white_30.gif b/i/misc/dmagic/white_30.gif new file mode 100644 index 0000000..219a782 Binary files /dev/null and b/i/misc/dmagic/white_30.gif differ diff --git a/i/move/beg_butt.gif b/i/move/beg_butt.gif new file mode 100644 index 0000000..6aa27e6 Binary files /dev/null and b/i/move/beg_butt.gif differ diff --git a/i/move/beg_chat_03.gif b/i/move/beg_chat_03.gif new file mode 100644 index 0000000..ab9a138 Binary files /dev/null and b/i/move/beg_chat_03.gif differ diff --git a/i/move/beg_chat_05.gif b/i/move/beg_chat_05.gif new file mode 100644 index 0000000..3b08b51 Binary files /dev/null and b/i/move/beg_chat_05.gif differ diff --git a/i/move/bkf_l_r1_02.gif b/i/move/bkf_l_r1_02.gif new file mode 100644 index 0000000..d7e68eb Binary files /dev/null and b/i/move/bkf_l_r1_02.gif differ diff --git a/i/move/bkf_l_r1_06.gif b/i/move/bkf_l_r1_06.gif new file mode 100644 index 0000000..a83002f Binary files /dev/null and b/i/move/bkf_l_r1_06.gif differ diff --git a/i/move/mennu112_04_lite.gif b/i/move/mennu112_04_lite.gif new file mode 100644 index 0000000..abc1be0 Binary files /dev/null and b/i/move/mennu112_04_lite.gif differ diff --git a/i/move/mennu112_06.gif b/i/move/mennu112_06.gif new file mode 100644 index 0000000..7d3623d Binary files /dev/null and b/i/move/mennu112_06.gif differ diff --git a/i/move/mennu112_06_lite.gif b/i/move/mennu112_06_lite.gif new file mode 100644 index 0000000..7727875 Binary files /dev/null and b/i/move/mennu112_06_lite.gif differ diff --git a/i/move/mennu112_09.gif b/i/move/mennu112_09.gif new file mode 100644 index 0000000..a1c95cf Binary files /dev/null and b/i/move/mennu112_09.gif differ diff --git a/i/move/navigatin_46.gif b/i/move/navigatin_46.gif new file mode 100644 index 0000000..91b5ce8 Binary files /dev/null and b/i/move/navigatin_46.gif differ diff --git a/i/move/navigatin_48.gif b/i/move/navigatin_48.gif new file mode 100644 index 0000000..71ef774 Binary files /dev/null and b/i/move/navigatin_48.gif differ diff --git a/i/move/navigatin_50.gif b/i/move/navigatin_50.gif new file mode 100644 index 0000000..7be4e87 Binary files /dev/null and b/i/move/navigatin_50.gif differ diff --git a/i/move/navigatin_51.gif b/i/move/navigatin_51.gif new file mode 100644 index 0000000..be1a012 Binary files /dev/null and b/i/move/navigatin_51.gif differ diff --git a/i/move/navigatin_52.gif b/i/move/navigatin_52.gif new file mode 100644 index 0000000..e99c29f Binary files /dev/null and b/i/move/navigatin_52.gif differ diff --git a/i/move/navigatin_52i.gif b/i/move/navigatin_52i.gif new file mode 100644 index 0000000..866d6b1 Binary files /dev/null and b/i/move/navigatin_52i.gif differ diff --git a/i/move/navigatin_53.gif b/i/move/navigatin_53.gif new file mode 100644 index 0000000..acfee8a Binary files /dev/null and b/i/move/navigatin_53.gif differ diff --git a/i/move/navigatin_54.gif b/i/move/navigatin_54.gif new file mode 100644 index 0000000..d7c49f0 Binary files /dev/null and b/i/move/navigatin_54.gif differ diff --git a/i/move/navigatin_55.gif b/i/move/navigatin_55.gif new file mode 100644 index 0000000..bd50df1 Binary files /dev/null and b/i/move/navigatin_55.gif differ diff --git a/i/move/navigatin_55i.gif b/i/move/navigatin_55i.gif new file mode 100644 index 0000000..d229db3 Binary files /dev/null and b/i/move/navigatin_55i.gif differ diff --git a/i/move/navigatin_56.gif b/i/move/navigatin_56.gif new file mode 100644 index 0000000..229f1fc Binary files /dev/null and b/i/move/navigatin_56.gif differ diff --git a/i/move/navigatin_56i.gif b/i/move/navigatin_56i.gif new file mode 100644 index 0000000..c0178c8 Binary files /dev/null and b/i/move/navigatin_56i.gif differ diff --git a/i/move/navigatin_57.gif b/i/move/navigatin_57.gif new file mode 100644 index 0000000..f981203 Binary files /dev/null and b/i/move/navigatin_57.gif differ diff --git a/i/move/navigatin_58.gif b/i/move/navigatin_58.gif new file mode 100644 index 0000000..532196b Binary files /dev/null and b/i/move/navigatin_58.gif differ diff --git a/i/move/navigatin_59.gif b/i/move/navigatin_59.gif new file mode 100644 index 0000000..b942be6 Binary files /dev/null and b/i/move/navigatin_59.gif differ diff --git a/i/move/navigatin_59i.gif b/i/move/navigatin_59i.gif new file mode 100644 index 0000000..4a51d1c Binary files /dev/null and b/i/move/navigatin_59i.gif differ diff --git a/i/move/navigatin_60.gif b/i/move/navigatin_60.gif new file mode 100644 index 0000000..a11a52c Binary files /dev/null and b/i/move/navigatin_60.gif differ diff --git a/i/move/navigatin_61.gif b/i/move/navigatin_61.gif new file mode 100644 index 0000000..9d25108 Binary files /dev/null and b/i/move/navigatin_61.gif differ diff --git a/i/move/navigatin_61a.gif b/i/move/navigatin_61a.gif new file mode 100644 index 0000000..6defae4 Binary files /dev/null and b/i/move/navigatin_61a.gif differ diff --git a/i/move/navigatin_62.gif b/i/move/navigatin_62.gif new file mode 100644 index 0000000..753a641 Binary files /dev/null and b/i/move/navigatin_62.gif differ diff --git a/i/move/navigatin_62a.gif b/i/move/navigatin_62a.gif new file mode 100644 index 0000000..776d917 Binary files /dev/null and b/i/move/navigatin_62a.gif differ diff --git a/i/move/navigatin_62i.gif b/i/move/navigatin_62i.gif new file mode 100644 index 0000000..892e7de Binary files /dev/null and b/i/move/navigatin_62i.gif differ diff --git a/i/move/navigatin_63.gif b/i/move/navigatin_63.gif new file mode 100644 index 0000000..dd6e9ab Binary files /dev/null and b/i/move/navigatin_63.gif differ diff --git a/i/move/navigatin_64.gif b/i/move/navigatin_64.gif new file mode 100644 index 0000000..f0bb842 Binary files /dev/null and b/i/move/navigatin_64.gif differ diff --git a/i/move/navigatin_64i.gif b/i/move/navigatin_64i.gif new file mode 100644 index 0000000..deccc7e Binary files /dev/null and b/i/move/navigatin_64i.gif differ diff --git a/i/move/navigatin_65.gif b/i/move/navigatin_65.gif new file mode 100644 index 0000000..7472e47 Binary files /dev/null and b/i/move/navigatin_65.gif differ diff --git a/i/move/navigatin_65i.gif b/i/move/navigatin_65i.gif new file mode 100644 index 0000000..63a59b8 Binary files /dev/null and b/i/move/navigatin_65i.gif differ diff --git a/i/move/navigatin_66.gif b/i/move/navigatin_66.gif new file mode 100644 index 0000000..822d4b6 Binary files /dev/null and b/i/move/navigatin_66.gif differ diff --git a/i/move/navigatin_67.gif b/i/move/navigatin_67.gif new file mode 100644 index 0000000..e50ca88 Binary files /dev/null and b/i/move/navigatin_67.gif differ diff --git a/i/move/navigatin_67i.gif b/i/move/navigatin_67i.gif new file mode 100644 index 0000000..3185b4d Binary files /dev/null and b/i/move/navigatin_67i.gif differ diff --git a/i/move/navigatin_68.gif b/i/move/navigatin_68.gif new file mode 100644 index 0000000..21d51d3 Binary files /dev/null and b/i/move/navigatin_68.gif differ diff --git a/i/move/navigatin_69.gif b/i/move/navigatin_69.gif new file mode 100644 index 0000000..7464ffe Binary files /dev/null and b/i/move/navigatin_69.gif differ diff --git a/i/move/spoiler_bg.jpg b/i/move/spoiler_bg.jpg new file mode 100644 index 0000000..6db1a98 Binary files /dev/null and b/i/move/spoiler_bg.jpg differ diff --git a/i/move/spoiler_left.jpg b/i/move/spoiler_left.jpg new file mode 100644 index 0000000..1d981e5 Binary files /dev/null and b/i/move/spoiler_left.jpg differ diff --git a/i/move/spoiler_right.jpg b/i/move/spoiler_right.jpg new file mode 100644 index 0000000..dbfe391 Binary files /dev/null and b/i/move/spoiler_right.jpg differ diff --git a/i/move/wait3.gif b/i/move/wait3.gif new file mode 100644 index 0000000..1e93468 Binary files /dev/null and b/i/move/wait3.gif differ diff --git a/i/msg.png b/i/msg.png new file mode 100644 index 0000000..510fa04 Binary files /dev/null and b/i/msg.png differ diff --git a/i/mult1.gif b/i/mult1.gif new file mode 100644 index 0000000..f5021af Binary files /dev/null and b/i/mult1.gif differ diff --git a/i/new.gif b/i/new.gif new file mode 100644 index 0000000..31082a1 Binary files /dev/null and b/i/new.gif differ diff --git a/i/new.png b/i/new.png new file mode 100644 index 0000000..89154c0 Binary files /dev/null and b/i/new.png differ diff --git a/i/newd/bricks_bg.jpg b/i/newd/bricks_bg.jpg new file mode 100644 index 0000000..0e43c24 Binary files /dev/null and b/i/newd/bricks_bg.jpg differ diff --git a/i/newd/butt7_hell.gif b/i/newd/butt7_hell.gif new file mode 100644 index 0000000..a101417 Binary files /dev/null and b/i/newd/butt7_hell.gif differ diff --git a/i/newd/butt7_hell.png b/i/newd/butt7_hell.png new file mode 100644 index 0000000..89d03ef Binary files /dev/null and b/i/newd/butt7_hell.png differ diff --git a/i/newd/inf.png b/i/newd/inf.png new file mode 100644 index 0000000..3afce3f Binary files /dev/null and b/i/newd/inf.png differ diff --git a/i/newd/m_link1.png b/i/newd/m_link1.png new file mode 100644 index 0000000..7c55a0b Binary files /dev/null and b/i/newd/m_link1.png differ diff --git a/i/newd/up_butt1.jpg b/i/newd/up_butt1.jpg new file mode 100644 index 0000000..18ade0f Binary files /dev/null and b/i/newd/up_butt1.jpg differ diff --git a/i/newd/up_butt10.jpg b/i/newd/up_butt10.jpg new file mode 100644 index 0000000..cc3ac56 Binary files /dev/null and b/i/newd/up_butt10.jpg differ diff --git a/i/newd/up_butt12.jpg b/i/newd/up_butt12.jpg new file mode 100644 index 0000000..49bc921 Binary files /dev/null and b/i/newd/up_butt12.jpg differ diff --git a/i/newd/up_butt1_anim.gif b/i/newd/up_butt1_anim.gif new file mode 100644 index 0000000..b122eac Binary files /dev/null and b/i/newd/up_butt1_anim.gif differ diff --git a/i/newd/up_butt2.jpg b/i/newd/up_butt2.jpg new file mode 100644 index 0000000..1bba4a3 Binary files /dev/null and b/i/newd/up_butt2.jpg differ diff --git a/i/newd/up_butt3.jpg b/i/newd/up_butt3.jpg new file mode 100644 index 0000000..9421252 Binary files /dev/null and b/i/newd/up_butt3.jpg differ diff --git a/i/newd/up_butt4.jpg b/i/newd/up_butt4.jpg new file mode 100644 index 0000000..167b801 Binary files /dev/null and b/i/newd/up_butt4.jpg differ diff --git a/i/newd/up_butt5.jpg b/i/newd/up_butt5.jpg new file mode 100644 index 0000000..1e0fc99 Binary files /dev/null and b/i/newd/up_butt5.jpg differ diff --git a/i/newd/up_butt6.jpg b/i/newd/up_butt6.jpg new file mode 100644 index 0000000..0617b4d Binary files /dev/null and b/i/newd/up_butt6.jpg differ diff --git a/i/newd/up_butt7.jpg b/i/newd/up_butt7.jpg new file mode 100644 index 0000000..1d6cf4f Binary files /dev/null and b/i/newd/up_butt7.jpg differ diff --git a/i/newd/up_butt9.jpg b/i/newd/up_butt9.jpg new file mode 100644 index 0000000..a9ac89c Binary files /dev/null and b/i/newd/up_butt9.jpg differ diff --git a/i/newd/up_butt901.jpg b/i/newd/up_butt901.jpg new file mode 100644 index 0000000..314f50b Binary files /dev/null and b/i/newd/up_butt901.jpg differ diff --git a/i/newd/up_center_bg.jpg b/i/newd/up_center_bg.jpg new file mode 100644 index 0000000..a32827a Binary files /dev/null and b/i/newd/up_center_bg.jpg differ diff --git a/i/newd/up_center_left.png b/i/newd/up_center_left.png new file mode 100644 index 0000000..0248210 Binary files /dev/null and b/i/newd/up_center_left.png differ diff --git a/i/newd/up_center_right.png b/i/newd/up_center_right.png new file mode 100644 index 0000000..16979f8 Binary files /dev/null and b/i/newd/up_center_right.png differ diff --git a/i/newd/up_left_dec.png b/i/newd/up_left_dec.png new file mode 100644 index 0000000..d7307d8 Binary files /dev/null and b/i/newd/up_left_dec.png differ diff --git a/i/newd/up_left_dec12.png b/i/newd/up_left_dec12.png new file mode 100644 index 0000000..9c19fe5 Binary files /dev/null and b/i/newd/up_left_dec12.png differ diff --git a/i/newd/up_left_dec12_____.png b/i/newd/up_left_dec12_____.png new file mode 100644 index 0000000..fee6ff1 Binary files /dev/null and b/i/newd/up_left_dec12_____.png differ diff --git a/i/newd/up_right_dec.jpg b/i/newd/up_right_dec.jpg new file mode 100644 index 0000000..d1821b6 Binary files /dev/null and b/i/newd/up_right_dec.jpg differ diff --git a/i/newd/up_right_dec2.jpg b/i/newd/up_right_dec2.jpg new file mode 100644 index 0000000..58ff70c Binary files /dev/null and b/i/newd/up_right_dec2.jpg differ diff --git a/i/night/a___ang.gif b/i/night/a___ang.gif new file mode 100644 index 0000000..701fd1d Binary files /dev/null and b/i/night/a___ang.gif differ diff --git a/i/night/a___ang.png b/i/night/a___ang.png new file mode 100644 index 0000000..837031c Binary files /dev/null and b/i/night/a___ang.png differ diff --git a/i/night/a___chest.gif b/i/night/a___chest.gif new file mode 100644 index 0000000..60072bb Binary files /dev/null and b/i/night/a___chest.gif differ diff --git a/i/night/a___dlr.gif b/i/night/a___dlr.gif new file mode 100644 index 0000000..330c0fa Binary files /dev/null and b/i/night/a___dlr.gif differ diff --git a/i/night/a___ext.gif b/i/night/a___ext.gif new file mode 100644 index 0000000..39035e7 Binary files /dev/null and b/i/night/a___ext.gif differ diff --git a/i/night/a___friend3.gif b/i/night/a___friend3.gif new file mode 100644 index 0000000..c8d1df0 Binary files /dev/null and b/i/night/a___friend3.gif differ diff --git a/i/night/a___haos.gif b/i/night/a___haos.gif new file mode 100644 index 0000000..500579b Binary files /dev/null and b/i/night/a___haos.gif differ diff --git a/i/night/a___inv.gif b/i/night/a___inv.gif new file mode 100644 index 0000000..24c5f86 Binary files /dev/null and b/i/night/a___inv.gif differ diff --git a/i/night/a___neutral.gif b/i/night/a___neutral.gif new file mode 100644 index 0000000..c69e8d3 Binary files /dev/null and b/i/night/a___neutral.gif differ diff --git a/i/night/a___pal.gif b/i/night/a___pal.gif new file mode 100644 index 0000000..97f2894 Binary files /dev/null and b/i/night/a___pal.gif differ diff --git a/i/night/a___vip.gif b/i/night/a___vip.gif new file mode 100644 index 0000000..51e989e Binary files /dev/null and b/i/night/a___vip.gif differ diff --git a/i/night/a__forum.gif b/i/night/a__forum.gif new file mode 100644 index 0000000..221e0e7 Binary files /dev/null and b/i/night/a__forum.gif differ diff --git a/i/night/add_itm2.gif b/i/night/add_itm2.gif new file mode 100644 index 0000000..f81ceb4 Binary files /dev/null and b/i/night/add_itm2.gif differ diff --git a/i/night/b___.gif b/i/night/b___.gif new file mode 100644 index 0000000..630c8f3 Binary files /dev/null and b/i/night/b___.gif differ diff --git a/i/night/b___1.gif b/i/night/b___1.gif new file mode 100644 index 0000000..3b08b51 Binary files /dev/null and b/i/night/b___1.gif differ diff --git a/i/night/b___bg.gif b/i/night/b___bg.gif new file mode 100644 index 0000000..697a5a9 Binary files /dev/null and b/i/night/b___bg.gif differ diff --git a/i/night/b___bg2.gif b/i/night/b___bg2.gif new file mode 100644 index 0000000..acf3bac Binary files /dev/null and b/i/night/b___bg2.gif differ diff --git a/i/night/b___chat_off.gif b/i/night/b___chat_off.gif new file mode 100644 index 0000000..32a304c Binary files /dev/null and b/i/night/b___chat_off.gif differ diff --git a/i/night/b___cl1.gif b/i/night/b___cl1.gif new file mode 100644 index 0000000..38c33ed Binary files /dev/null and b/i/night/b___cl1.gif differ diff --git a/i/night/b___clear.gif b/i/night/b___clear.gif new file mode 100644 index 0000000..1e5c314 Binary files /dev/null and b/i/night/b___clear.gif differ diff --git a/i/night/b___filter_off.gif b/i/night/b___filter_off.gif new file mode 100644 index 0000000..7418899 Binary files /dev/null and b/i/night/b___filter_off.gif differ diff --git a/i/night/b___filter_on.gif b/i/night/b___filter_on.gif new file mode 100644 index 0000000..8cf858c Binary files /dev/null and b/i/night/b___filter_on.gif differ diff --git a/i/night/b___ok.gif b/i/night/b___ok.gif new file mode 100644 index 0000000..ccc5748 Binary files /dev/null and b/i/night/b___ok.gif differ diff --git a/i/night/b___slow_off.gif b/i/night/b___slow_off.gif new file mode 100644 index 0000000..8aa9666 Binary files /dev/null and b/i/night/b___slow_off.gif differ diff --git a/i/night/b___slow_on.gif b/i/night/b___slow_on.gif new file mode 100644 index 0000000..0d124fa Binary files /dev/null and b/i/night/b___slow_on.gif differ diff --git a/i/night/b___smile.gif b/i/night/b___smile.gif new file mode 100644 index 0000000..9163e2c Binary files /dev/null and b/i/night/b___smile.gif differ diff --git a/i/night/b___sys_off.gif b/i/night/b___sys_off.gif new file mode 100644 index 0000000..8100039 Binary files /dev/null and b/i/night/b___sys_off.gif differ diff --git a/i/night/b___sys_on.gif b/i/night/b___sys_on.gif new file mode 100644 index 0000000..a240d90 Binary files /dev/null and b/i/night/b___sys_on.gif differ diff --git a/i/night/b___translit_off.gif b/i/night/b___translit_off.gif new file mode 100644 index 0000000..911e82e Binary files /dev/null and b/i/night/b___translit_off.gif differ diff --git a/i/night/b___translit_on.gif b/i/night/b___translit_on.gif new file mode 100644 index 0000000..aa3e27c Binary files /dev/null and b/i/night/b___translit_on.gif differ diff --git a/i/night/b__give.gif b/i/night/b__give.gif new file mode 100644 index 0000000..a3bbb09 Binary files /dev/null and b/i/night/b__give.gif differ diff --git a/i/night/b__light.gif b/i/night/b__light.gif new file mode 100644 index 0000000..b086b95 Binary files /dev/null and b/i/night/b__light.gif differ diff --git a/i/night/b__neit.gif b/i/night/b__neit.gif new file mode 100644 index 0000000..742009d Binary files /dev/null and b/i/night/b__neit.gif differ diff --git a/i/night/b__ok.gif b/i/night/b__ok.gif new file mode 100644 index 0000000..c1319e4 Binary files /dev/null and b/i/night/b__ok.gif differ diff --git a/i/night/b__orden.gif b/i/night/b__orden.gif new file mode 100644 index 0000000..46813eb Binary files /dev/null and b/i/night/b__orden.gif differ diff --git a/i/night/b__otm.gif b/i/night/b__otm.gif new file mode 100644 index 0000000..10d6d91 Binary files /dev/null and b/i/night/b__otm.gif differ diff --git a/i/night/battles.gif b/i/night/battles.gif new file mode 100644 index 0000000..68a08b3 Binary files /dev/null and b/i/night/battles.gif differ diff --git a/i/night/beg_butt.gif b/i/night/beg_butt.gif new file mode 100644 index 0000000..6aa27e6 Binary files /dev/null and b/i/night/beg_butt.gif differ diff --git a/i/night/beg_chat_03.gif b/i/night/beg_chat_03.gif new file mode 100644 index 0000000..ab9a138 Binary files /dev/null and b/i/night/beg_chat_03.gif differ diff --git a/i/night/beg_chat_05.gif b/i/night/beg_chat_05.gif new file mode 100644 index 0000000..a520cd2 Binary files /dev/null and b/i/night/beg_chat_05.gif differ diff --git a/i/night/bkf_l_r1_02.gif b/i/night/bkf_l_r1_02.gif new file mode 100644 index 0000000..022b7dc Binary files /dev/null and b/i/night/bkf_l_r1_02.gif differ diff --git a/i/night/bkf_l_r1_06.gif b/i/night/bkf_l_r1_06.gif new file mode 100644 index 0000000..ba0bcff Binary files /dev/null and b/i/night/bkf_l_r1_06.gif differ diff --git a/i/night/bottom.gif b/i/night/bottom.gif new file mode 100644 index 0000000..4d264b0 Binary files /dev/null and b/i/night/bottom.gif differ diff --git a/i/night/cap_lit_21.gif b/i/night/cap_lit_21.gif new file mode 100644 index 0000000..6dd3a01 Binary files /dev/null and b/i/night/cap_lit_21.gif differ diff --git a/i/night/clan.gif b/i/night/clan.gif new file mode 100644 index 0000000..b634ce6 Binary files /dev/null and b/i/night/clan.gif differ diff --git a/i/night/index.html b/i/night/index.html new file mode 100644 index 0000000..981477b --- /dev/null +++ b/i/night/index.html @@ -0,0 +1,15 @@ + + + +Ошибка + + + +

    +Ошибка : Доступ в данный раздел запрещен
    +Перейдите на
    стартовую страницу + + \ No newline at end of file diff --git a/i/night/left.gif b/i/night/left.gif new file mode 100644 index 0000000..a1efd81 Binary files /dev/null and b/i/night/left.gif differ diff --git a/i/night/location.gif b/i/night/location.gif new file mode 100644 index 0000000..6089cb5 Binary files /dev/null and b/i/night/location.gif differ diff --git a/i/night/mennu112_04_lite.gif b/i/night/mennu112_04_lite.gif new file mode 100644 index 0000000..abc1be0 Binary files /dev/null and b/i/night/mennu112_04_lite.gif differ diff --git a/i/night/mennu112_06.gif b/i/night/mennu112_06.gif new file mode 100644 index 0000000..7d3623d Binary files /dev/null and b/i/night/mennu112_06.gif differ diff --git a/i/night/mennu112_06_lite.gif b/i/night/mennu112_06_lite.gif new file mode 100644 index 0000000..7727875 Binary files /dev/null and b/i/night/mennu112_06_lite.gif differ diff --git a/i/night/mennu112_09.gif b/i/night/mennu112_09.gif new file mode 100644 index 0000000..a1c95cf Binary files /dev/null and b/i/night/mennu112_09.gif differ diff --git a/i/night/right.gif b/i/night/right.gif new file mode 100644 index 0000000..3101452 Binary files /dev/null and b/i/night/right.gif differ diff --git a/i/night/sand_lit2_27.gif b/i/night/sand_lit2_27.gif new file mode 100644 index 0000000..d878deb Binary files /dev/null and b/i/night/sand_lit2_27.gif differ diff --git a/i/night/sand_lit_20.gif b/i/night/sand_lit_20.gif new file mode 100644 index 0000000..d40828e Binary files /dev/null and b/i/night/sand_lit_20.gif differ diff --git a/i/night/sand_lit_220.gif b/i/night/sand_lit_220.gif new file mode 100644 index 0000000..79b2857 Binary files /dev/null and b/i/night/sand_lit_220.gif differ diff --git a/i/night/sand_lit_27.gif b/i/night/sand_lit_27.gif new file mode 100644 index 0000000..7ec291e Binary files /dev/null and b/i/night/sand_lit_27.gif differ diff --git a/i/night/sand_mid_31.gif b/i/night/sand_mid_31.gif new file mode 100644 index 0000000..0030142 Binary files /dev/null and b/i/night/sand_mid_31.gif differ diff --git a/i/night/sand_top_20s.gif b/i/night/sand_top_20s.gif new file mode 100644 index 0000000..af01272 Binary files /dev/null and b/i/night/sand_top_20s.gif differ diff --git a/i/night/sand_top_24.gif b/i/night/sand_top_24.gif new file mode 100644 index 0000000..d0154ab Binary files /dev/null and b/i/night/sand_top_24.gif differ diff --git a/i/night/sand_top_28.gif b/i/night/sand_top_28.gif new file mode 100644 index 0000000..35cc060 Binary files /dev/null and b/i/night/sand_top_28.gif differ diff --git a/i/night/top_lite_cap_01.gif b/i/night/top_lite_cap_01.gif new file mode 100644 index 0000000..e31f30c Binary files /dev/null and b/i/night/top_lite_cap_01.gif differ diff --git a/i/night/top_lite_cap_011.gif b/i/night/top_lite_cap_011.gif new file mode 100644 index 0000000..688fae5 Binary files /dev/null and b/i/night/top_lite_cap_011.gif differ diff --git a/i/night/top_lite_cap_03.gif b/i/night/top_lite_cap_03.gif new file mode 100644 index 0000000..2a5819d Binary files /dev/null and b/i/night/top_lite_cap_03.gif differ diff --git a/i/night/top_lite_cap_07.gif b/i/night/top_lite_cap_07.gif new file mode 100644 index 0000000..89f354a Binary files /dev/null and b/i/night/top_lite_cap_07.gif differ diff --git a/i/night/top_lite_cap_08.gif b/i/night/top_lite_cap_08.gif new file mode 100644 index 0000000..08db25b Binary files /dev/null and b/i/night/top_lite_cap_08.gif differ diff --git a/i/night/top_lite_cap_081.gif b/i/night/top_lite_cap_081.gif new file mode 100644 index 0000000..ec4b313 Binary files /dev/null and b/i/night/top_lite_cap_081.gif differ diff --git a/i/night/top_lite_cap_11.gif b/i/night/top_lite_cap_11.gif new file mode 100644 index 0000000..1f79f88 Binary files /dev/null and b/i/night/top_lite_cap_11.gif differ diff --git a/i/night/top_lite_dream_13.gif b/i/night/top_lite_dream_13.gif new file mode 100644 index 0000000..e3ea060 Binary files /dev/null and b/i/night/top_lite_dream_13.gif differ diff --git a/i/night/top_lite_dream_15.gif b/i/night/top_lite_dream_15.gif new file mode 100644 index 0000000..16c56f0 Binary files /dev/null and b/i/night/top_lite_dream_15.gif differ diff --git a/i/night/top_lite_dream_18.gif b/i/night/top_lite_dream_18.gif new file mode 100644 index 0000000..a9b1357 Binary files /dev/null and b/i/night/top_lite_dream_18.gif differ diff --git a/i/night/zvuk.gif b/i/night/zvuk.gif new file mode 100644 index 0000000..300ef0c Binary files /dev/null and b/i/night/zvuk.gif differ diff --git a/i/night/zvuk_off.gif b/i/night/zvuk_off.gif new file mode 100644 index 0000000..dd990d8 Binary files /dev/null and b/i/night/zvuk_off.gif differ diff --git a/i/nklan/MiB.gif b/i/nklan/MiB.gif new file mode 100644 index 0000000..e871402 Binary files /dev/null and b/i/nklan/MiB.gif differ diff --git a/i/nklan/MiB_big.gif b/i/nklan/MiB_big.gif new file mode 100644 index 0000000..e871402 Binary files /dev/null and b/i/nklan/MiB_big.gif differ diff --git a/i/none.gif b/i/none.gif new file mode 100644 index 0000000..c7ca8ea Binary files /dev/null and b/i/none.gif differ diff --git a/i/nov_god_2011.gif b/i/nov_god_2011.gif new file mode 100644 index 0000000..71bb581 Binary files /dev/null and b/i/nov_god_2011.gif differ diff --git a/i/obrazec.png b/i/obrazec.png new file mode 100644 index 0000000..db5891c Binary files /dev/null and b/i/obrazec.png differ diff --git a/i/off___.gif b/i/off___.gif new file mode 100644 index 0000000..41c7a9e Binary files /dev/null and b/i/off___.gif differ diff --git a/i/offline.gif b/i/offline.gif new file mode 100644 index 0000000..d25db82 Binary files /dev/null and b/i/offline.gif differ diff --git a/i/olimp_2013.png b/i/olimp_2013.png new file mode 100644 index 0000000..70a2cdb Binary files /dev/null and b/i/olimp_2013.png differ diff --git a/i/olimp_bronz_2013.png b/i/olimp_bronz_2013.png new file mode 100644 index 0000000..44fbd46 Binary files /dev/null and b/i/olimp_bronz_2013.png differ diff --git a/i/olimp_gold_2013.png b/i/olimp_gold_2013.png new file mode 100644 index 0000000..69f23ad Binary files /dev/null and b/i/olimp_gold_2013.png differ diff --git a/i/olimp_silver_2013.png b/i/olimp_silver_2013.png new file mode 100644 index 0000000..0cee102 Binary files /dev/null and b/i/olimp_silver_2013.png differ diff --git a/i/other/btt1b.png b/i/other/btt1b.png new file mode 100644 index 0000000..023b91c Binary files /dev/null and b/i/other/btt1b.png differ diff --git a/i/other/btt2.png b/i/other/btt2.png new file mode 100644 index 0000000..fcb6d0a Binary files /dev/null and b/i/other/btt2.png differ diff --git a/i/other/btt3.png b/i/other/btt3.png new file mode 100644 index 0000000..b04f32f Binary files /dev/null and b/i/other/btt3.png differ diff --git a/i/other/btt3b.png b/i/other/btt3b.png new file mode 100644 index 0000000..47000d4 Binary files /dev/null and b/i/other/btt3b.png differ diff --git a/i/other/button_cp_exit_sprite.jpg b/i/other/button_cp_exit_sprite.jpg new file mode 100644 index 0000000..48e544b Binary files /dev/null and b/i/other/button_cp_exit_sprite.jpg differ diff --git a/i/other/button_mid_Sprite.jpg b/i/other/button_mid_Sprite.jpg new file mode 100644 index 0000000..ec81fca Binary files /dev/null and b/i/other/button_mid_Sprite.jpg differ diff --git a/i/other/darkButton_mid_Sprite.jpg b/i/other/darkButton_mid_Sprite.jpg new file mode 100644 index 0000000..f9a63f3 Binary files /dev/null and b/i/other/darkButton_mid_Sprite.jpg differ diff --git a/i/other/down_bgx.jpg b/i/other/down_bgx.jpg new file mode 100644 index 0000000..e52023e Binary files /dev/null and b/i/other/down_bgx.jpg differ diff --git a/i/other/down_center_bgx.jpg b/i/other/down_center_bgx.jpg new file mode 100644 index 0000000..fa6a9c9 Binary files /dev/null and b/i/other/down_center_bgx.jpg differ diff --git a/i/other/down_left.jpg b/i/other/down_left.jpg new file mode 100644 index 0000000..81cb16d Binary files /dev/null and b/i/other/down_left.jpg differ diff --git a/i/other/down_left.png b/i/other/down_left.png new file mode 100644 index 0000000..0d3d20a Binary files /dev/null and b/i/other/down_left.png differ diff --git a/i/other/down_right.jpg b/i/other/down_right.jpg new file mode 100644 index 0000000..96e883f Binary files /dev/null and b/i/other/down_right.jpg differ diff --git a/i/other/down_right.png b/i/other/down_right.png new file mode 100644 index 0000000..ff2fdf7 Binary files /dev/null and b/i/other/down_right.png differ diff --git a/i/other/form_bgx.jpg b/i/other/form_bgx.jpg new file mode 100644 index 0000000..b75667f Binary files /dev/null and b/i/other/form_bgx.jpg differ diff --git a/i/other/form_left.jpg b/i/other/form_left.jpg new file mode 100644 index 0000000..4a3e122 Binary files /dev/null and b/i/other/form_left.jpg differ diff --git a/i/other/form_razdelitel.png b/i/other/form_razdelitel.png new file mode 100644 index 0000000..3786555 Binary files /dev/null and b/i/other/form_razdelitel.png differ diff --git a/i/other/form_right.jpg b/i/other/form_right.jpg new file mode 100644 index 0000000..206e9ab Binary files /dev/null and b/i/other/form_right.jpg differ diff --git a/i/other/head_bgx.jpg b/i/other/head_bgx.jpg new file mode 100644 index 0000000..07b4e33 Binary files /dev/null and b/i/other/head_bgx.jpg differ diff --git a/i/other/head_category_name_bg.jpg b/i/other/head_category_name_bg.jpg new file mode 100644 index 0000000..8c00af8 Binary files /dev/null and b/i/other/head_category_name_bg.jpg differ diff --git a/i/other/head_left.jpg b/i/other/head_left.jpg new file mode 100644 index 0000000..ead9053 Binary files /dev/null and b/i/other/head_left.jpg differ diff --git a/i/other/head_razdelitel.jpg b/i/other/head_razdelitel.jpg new file mode 100644 index 0000000..94af06a Binary files /dev/null and b/i/other/head_razdelitel.jpg differ diff --git a/i/other/head_right.jpg b/i/other/head_right.jpg new file mode 100644 index 0000000..f36ea52 Binary files /dev/null and b/i/other/head_right.jpg differ diff --git a/i/other/hr_2.jpg b/i/other/hr_2.jpg new file mode 100644 index 0000000..dd8f320 Binary files /dev/null and b/i/other/hr_2.jpg differ diff --git a/i/other/hr_line.jpg b/i/other/hr_line.jpg new file mode 100644 index 0000000..504e3bf Binary files /dev/null and b/i/other/hr_line.jpg differ diff --git a/i/other/main_bgy_left.jpg b/i/other/main_bgy_left.jpg new file mode 100644 index 0000000..6ada20a Binary files /dev/null and b/i/other/main_bgy_left.jpg differ diff --git a/i/other/main_bgy_right.jpg b/i/other/main_bgy_right.jpg new file mode 100644 index 0000000..6a5ddc7 Binary files /dev/null and b/i/other/main_bgy_right.jpg differ diff --git a/i/other/obraz_frame_bg.jpg b/i/other/obraz_frame_bg.jpg new file mode 100644 index 0000000..ed5553e Binary files /dev/null and b/i/other/obraz_frame_bg.jpg differ diff --git a/i/p1.png b/i/p1.png new file mode 100644 index 0000000..098b06c Binary files /dev/null and b/i/p1.png differ diff --git a/i/p2.png b/i/p2.png new file mode 100644 index 0000000..1ecc77b Binary files /dev/null and b/i/p2.png differ diff --git a/i/p21.gif b/i/p21.gif new file mode 100644 index 0000000..fa2742c Binary files /dev/null and b/i/p21.gif differ diff --git a/i/p3.png b/i/p3.png new file mode 100644 index 0000000..3bd57f7 Binary files /dev/null and b/i/p3.png differ diff --git a/i/painter.gif b/i/painter.gif new file mode 100644 index 0000000..f782efc Binary files /dev/null and b/i/painter.gif differ diff --git a/i/pal4.png b/i/pal4.png new file mode 100644 index 0000000..0bbe6b1 Binary files /dev/null and b/i/pal4.png differ diff --git a/i/pal_good1.gif b/i/pal_good1.gif new file mode 100644 index 0000000..b2fd39b Binary files /dev/null and b/i/pal_good1.gif differ diff --git a/i/pal_old1.gif b/i/pal_old1.gif new file mode 100644 index 0000000..64d77cb Binary files /dev/null and b/i/pal_old1.gif differ diff --git a/i/pal_orden.gif b/i/pal_orden.gif new file mode 100644 index 0000000..ba88dee Binary files /dev/null and b/i/pal_orden.gif differ diff --git a/i/pal_sign1.gif b/i/pal_sign1.gif new file mode 100644 index 0000000..0a71759 Binary files /dev/null and b/i/pal_sign1.gif differ diff --git a/i/pal_sign3.gif b/i/pal_sign3.gif new file mode 100644 index 0000000..69704f9 Binary files /dev/null and b/i/pal_sign3.gif differ diff --git a/i/pal_sign4.gif b/i/pal_sign4.gif new file mode 100644 index 0000000..37aa5c8 Binary files /dev/null and b/i/pal_sign4.gif differ diff --git a/i/pal_year1.gif b/i/pal_year1.gif new file mode 100644 index 0000000..a79b965 Binary files /dev/null and b/i/pal_year1.gif differ diff --git a/i/pal_year2.gif b/i/pal_year2.gif new file mode 100644 index 0000000..64cec86 Binary files /dev/null and b/i/pal_year2.gif differ diff --git a/i/pal_year3.gif b/i/pal_year3.gif new file mode 100644 index 0000000..ec85518 Binary files /dev/null and b/i/pal_year3.gif differ diff --git a/i/pal_year4.gif b/i/pal_year4.gif new file mode 100644 index 0000000..e9e7df1 Binary files /dev/null and b/i/pal_year4.gif differ diff --git a/i/pamyatnik.jpg b/i/pamyatnik.jpg new file mode 100644 index 0000000..e5a22cb Binary files /dev/null and b/i/pamyatnik.jpg differ diff --git a/i/paper.jpg b/i/paper.jpg new file mode 100644 index 0000000..e9ef278 Binary files /dev/null and b/i/paper.jpg differ diff --git a/i/paper1.jpg b/i/paper1.jpg new file mode 100644 index 0000000..c64c753 Binary files /dev/null and b/i/paper1.jpg differ diff --git a/i/park/1.jpg b/i/park/1.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/1.jpg differ diff --git a/i/park/10.jpg b/i/park/10.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/10.jpg differ diff --git a/i/park/11.jpg b/i/park/11.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/11.jpg differ diff --git a/i/park/12.jpg b/i/park/12.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/12.jpg differ diff --git a/i/park/13.jpg b/i/park/13.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/13.jpg differ diff --git a/i/park/14.jpg b/i/park/14.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/14.jpg differ diff --git a/i/park/15.jpg b/i/park/15.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/15.jpg differ diff --git a/i/park/16.jpg b/i/park/16.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/16.jpg differ diff --git a/i/park/17.jpg b/i/park/17.jpg new file mode 100644 index 0000000..dab55b5 Binary files /dev/null and b/i/park/17.jpg differ diff --git a/i/park/18.jpg b/i/park/18.jpg new file mode 100644 index 0000000..e5204ba Binary files /dev/null and b/i/park/18.jpg differ diff --git a/i/park/19.jpg b/i/park/19.jpg new file mode 100644 index 0000000..95d6215 Binary files /dev/null and b/i/park/19.jpg differ diff --git a/i/park/2.jpg b/i/park/2.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/2.jpg differ diff --git a/i/park/20.jpg b/i/park/20.jpg new file mode 100644 index 0000000..e256c6a Binary files /dev/null and b/i/park/20.jpg differ diff --git a/i/park/21.jpg b/i/park/21.jpg new file mode 100644 index 0000000..aab8917 Binary files /dev/null and b/i/park/21.jpg differ diff --git a/i/park/22.jpg b/i/park/22.jpg new file mode 100644 index 0000000..72df17f Binary files /dev/null and b/i/park/22.jpg differ diff --git a/i/park/23.jpg b/i/park/23.jpg new file mode 100644 index 0000000..cb98a7a Binary files /dev/null and b/i/park/23.jpg differ diff --git a/i/park/24.jpg b/i/park/24.jpg new file mode 100644 index 0000000..c59d531 Binary files /dev/null and b/i/park/24.jpg differ diff --git a/i/park/25.jpg b/i/park/25.jpg new file mode 100644 index 0000000..9cdeaff Binary files /dev/null and b/i/park/25.jpg differ diff --git a/i/park/26.jpg b/i/park/26.jpg new file mode 100644 index 0000000..2ba007b Binary files /dev/null and b/i/park/26.jpg differ diff --git a/i/park/27.jpg b/i/park/27.jpg new file mode 100644 index 0000000..fb406ce Binary files /dev/null and b/i/park/27.jpg differ diff --git a/i/park/28.jpg b/i/park/28.jpg new file mode 100644 index 0000000..c66f174 Binary files /dev/null and b/i/park/28.jpg differ diff --git a/i/park/29.jpg b/i/park/29.jpg new file mode 100644 index 0000000..3c70588 Binary files /dev/null and b/i/park/29.jpg differ diff --git a/i/park/3.jpg b/i/park/3.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/3.jpg differ diff --git a/i/park/30.jpg b/i/park/30.jpg new file mode 100644 index 0000000..1c6145f Binary files /dev/null and b/i/park/30.jpg differ diff --git a/i/park/31.jpg b/i/park/31.jpg new file mode 100644 index 0000000..ba61dba Binary files /dev/null and b/i/park/31.jpg differ diff --git a/i/park/4.jpg b/i/park/4.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/4.jpg differ diff --git a/i/park/5.jpg b/i/park/5.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/5.jpg differ diff --git a/i/park/6.jpg b/i/park/6.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/6.jpg differ diff --git a/i/park/7.jpg b/i/park/7.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/7.jpg differ diff --git a/i/park/8.jpg b/i/park/8.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/8.jpg differ diff --git a/i/park/9.jpg b/i/park/9.jpg new file mode 100644 index 0000000..09e0fda Binary files /dev/null and b/i/park/9.jpg differ diff --git a/i/pencil.gif b/i/pencil.gif new file mode 100644 index 0000000..768c9e4 Binary files /dev/null and b/i/pencil.gif differ diff --git a/i/pict_anketa.jpg b/i/pict_anketa.jpg new file mode 100644 index 0000000..17cb110 Binary files /dev/null and b/i/pict_anketa.jpg differ diff --git a/i/plus.gif b/i/plus.gif new file mode 100644 index 0000000..70076bd Binary files /dev/null and b/i/plus.gif differ diff --git a/i/pob18.gif b/i/pob18.gif new file mode 100644 index 0000000..1d90287 Binary files /dev/null and b/i/pob18.gif differ diff --git a/i/podarok.gif b/i/podarok.gif new file mode 100644 index 0000000..4d424b4 Binary files /dev/null and b/i/podarok.gif differ diff --git a/i/pole/bottom.png b/i/pole/bottom.png new file mode 100644 index 0000000..0aa5d7f Binary files /dev/null and b/i/pole/bottom.png differ diff --git a/i/present.gif b/i/present.gif new file mode 100644 index 0000000..fa642e0 Binary files /dev/null and b/i/present.gif differ diff --git a/i/prof1.png b/i/prof1.png new file mode 100644 index 0000000..f48a050 Binary files /dev/null and b/i/prof1.png differ diff --git a/i/prof21.png b/i/prof21.png new file mode 100644 index 0000000..8f0e233 Binary files /dev/null and b/i/prof21.png differ diff --git a/i/prof22.png b/i/prof22.png new file mode 100644 index 0000000..ac61614 Binary files /dev/null and b/i/prof22.png differ diff --git a/i/proficon_paparatzi.gif b/i/proficon_paparatzi.gif new file mode 100644 index 0000000..a98f70f Binary files /dev/null and b/i/proficon_paparatzi.gif differ diff --git a/i/proza1.gif b/i/proza1.gif new file mode 100644 index 0000000..43ee96f Binary files /dev/null and b/i/proza1.gif differ diff --git a/i/r240_1.jpg b/i/r240_1.jpg new file mode 100644 index 0000000..df43c00 Binary files /dev/null and b/i/r240_1.jpg differ diff --git a/i/register/agr1_04.jpg b/i/register/agr1_04.jpg new file mode 100644 index 0000000..faedbea Binary files /dev/null and b/i/register/agr1_04.jpg differ diff --git a/i/register/agr1_08.jpg b/i/register/agr1_08.jpg new file mode 100644 index 0000000..0f42782 Binary files /dev/null and b/i/register/agr1_08.jpg differ diff --git a/i/register/agr1_12.jpg b/i/register/agr1_12.jpg new file mode 100644 index 0000000..d875037 Binary files /dev/null and b/i/register/agr1_12.jpg differ diff --git a/i/register/agr_03.jpg b/i/register/agr_03.jpg new file mode 100644 index 0000000..c431324 Binary files /dev/null and b/i/register/agr_03.jpg differ diff --git a/i/register/b1_03.jpg b/i/register/b1_03.jpg new file mode 100644 index 0000000..fb011f9 Binary files /dev/null and b/i/register/b1_03.jpg differ diff --git a/i/register/formz_10.gif b/i/register/formz_10.gif new file mode 100644 index 0000000..fa4a70f Binary files /dev/null and b/i/register/formz_10.gif differ diff --git a/i/register/forumru_03.jpg b/i/register/forumru_03.jpg new file mode 100644 index 0000000..1b2cd27 Binary files /dev/null and b/i/register/forumru_03.jpg differ diff --git a/i/register/fr_04.jpg b/i/register/fr_04.jpg new file mode 100644 index 0000000..c212dc8 Binary files /dev/null and b/i/register/fr_04.jpg differ diff --git a/i/register/fr_08.jpg b/i/register/fr_08.jpg new file mode 100644 index 0000000..e306cac Binary files /dev/null and b/i/register/fr_08.jpg differ diff --git a/i/register/fr_15.jpg b/i/register/fr_15.jpg new file mode 100644 index 0000000..ac20676 Binary files /dev/null and b/i/register/fr_15.jpg differ diff --git a/i/register/kukish.png b/i/register/kukish.png new file mode 100644 index 0000000..b06fe58 Binary files /dev/null and b/i/register/kukish.png differ diff --git a/i/register/lawss_04.jpg b/i/register/lawss_04.jpg new file mode 100644 index 0000000..2821591 Binary files /dev/null and b/i/register/lawss_04.jpg differ diff --git a/i/register/lawss_08.jpg b/i/register/lawss_08.jpg new file mode 100644 index 0000000..0a05cd2 Binary files /dev/null and b/i/register/lawss_08.jpg differ diff --git a/i/register/lawss_12.jpg b/i/register/lawss_12.jpg new file mode 100644 index 0000000..3d41e1e Binary files /dev/null and b/i/register/lawss_12.jpg differ diff --git a/i/register/ll12_30.gif b/i/register/ll12_30.gif new file mode 100644 index 0000000..8250c4a Binary files /dev/null and b/i/register/ll12_30.gif differ diff --git a/i/register/ll12_301.gif b/i/register/ll12_301.gif new file mode 100644 index 0000000..355d2cb Binary files /dev/null and b/i/register/ll12_301.gif differ diff --git a/i/register/ln3.jpg b/i/register/ln3.jpg new file mode 100644 index 0000000..195ade7 Binary files /dev/null and b/i/register/ln3.jpg differ diff --git a/i/register/n21_08_1.jpg b/i/register/n21_08_1.jpg new file mode 100644 index 0000000..b60b51b Binary files /dev/null and b/i/register/n21_08_1.jpg differ diff --git a/i/register/nm314_13.jpg b/i/register/nm314_13.jpg new file mode 100644 index 0000000..522da6c Binary files /dev/null and b/i/register/nm314_13.jpg differ diff --git a/i/register/nm31_04.jpg b/i/register/nm31_04.jpg new file mode 100644 index 0000000..f28adbe Binary files /dev/null and b/i/register/nm31_04.jpg differ diff --git a/i/register/nm31_08.jpg b/i/register/nm31_08.jpg new file mode 100644 index 0000000..19ce3fd Binary files /dev/null and b/i/register/nm31_08.jpg differ diff --git a/i/register/nnn21_03_1.jpg b/i/register/nnn21_03_1.jpg new file mode 100644 index 0000000..f6d1fa1 Binary files /dev/null and b/i/register/nnn21_03_1.jpg differ diff --git a/i/register/obrzz_04.jpg b/i/register/obrzz_04.jpg new file mode 100644 index 0000000..523c319 Binary files /dev/null and b/i/register/obrzz_04.jpg differ diff --git a/i/register/obrzz_08.jpg b/i/register/obrzz_08.jpg new file mode 100644 index 0000000..e4cf056 Binary files /dev/null and b/i/register/obrzz_08.jpg differ diff --git a/i/register/obrzz_46.jpg b/i/register/obrzz_46.jpg new file mode 100644 index 0000000..aa635a0 Binary files /dev/null and b/i/register/obrzz_46.jpg differ diff --git a/i/register/pict_anketa.jpg b/i/register/pict_anketa.jpg new file mode 100644 index 0000000..17cb110 Binary files /dev/null and b/i/register/pict_anketa.jpg differ diff --git a/i/register/rairus_03.jpg b/i/register/rairus_03.jpg new file mode 100644 index 0000000..27168d3 Binary files /dev/null and b/i/register/rairus_03.jpg differ diff --git a/i/register/ram12_33.gif b/i/register/ram12_33.gif new file mode 100644 index 0000000..d19be85 Binary files /dev/null and b/i/register/ram12_33.gif differ diff --git a/i/register/ram12_34.gif b/i/register/ram12_34.gif new file mode 100644 index 0000000..9af3924 Binary files /dev/null and b/i/register/ram12_34.gif differ diff --git a/i/register/ram12_35.gif b/i/register/ram12_35.gif new file mode 100644 index 0000000..faedca7 Binary files /dev/null and b/i/register/ram12_35.gif differ diff --git a/i/register/ratin_10.gif b/i/register/ratin_10.gif new file mode 100644 index 0000000..7bc9f95 Binary files /dev/null and b/i/register/ratin_10.gif differ diff --git a/i/register/regen_10.gif b/i/register/regen_10.gif new file mode 100644 index 0000000..d993386 Binary files /dev/null and b/i/register/regen_10.gif differ diff --git a/i/register/reggs_03.jpg b/i/register/reggs_03.jpg new file mode 100644 index 0000000..d3f57cf Binary files /dev/null and b/i/register/reggs_03.jpg differ diff --git a/i/register/remk1_13.gif b/i/register/remk1_13.gif new file mode 100644 index 0000000..999ebe3 Binary files /dev/null and b/i/register/remk1_13.gif differ diff --git a/i/register/sitebk_02.jpg b/i/register/sitebk_02.jpg new file mode 100644 index 0000000..b3d4814 Binary files /dev/null and b/i/register/sitebk_02.jpg differ diff --git a/i/register/sitebk_03ru.gif b/i/register/sitebk_03ru.gif new file mode 100644 index 0000000..8fcb3c2 Binary files /dev/null and b/i/register/sitebk_03ru.gif differ diff --git a/i/register/sitebk_07.jpg b/i/register/sitebk_07.jpg new file mode 100644 index 0000000..40d6ceb Binary files /dev/null and b/i/register/sitebk_07.jpg differ diff --git a/i/register/zak_03.jpg b/i/register/zak_03.jpg new file mode 100644 index 0000000..1c077a0 Binary files /dev/null and b/i/register/zak_03.jpg differ diff --git a/i/register/zzz1_10.gif b/i/register/zzz1_10.gif new file mode 100644 index 0000000..a638c4c Binary files /dev/null and b/i/register/zzz1_10.gif differ diff --git a/i/ring95.gif b/i/ring95.gif new file mode 100644 index 0000000..5467185 Binary files /dev/null and b/i/ring95.gif differ diff --git a/i/ruins1.gif b/i/ruins1.gif new file mode 100644 index 0000000..d904b33 Binary files /dev/null and b/i/ruins1.gif differ diff --git a/i/ruins2.gif b/i/ruins2.gif new file mode 100644 index 0000000..613bff0 Binary files /dev/null and b/i/ruins2.gif differ diff --git a/i/ruins3.gif b/i/ruins3.gif new file mode 100644 index 0000000..7db2b83 Binary files /dev/null and b/i/ruins3.gif differ diff --git a/i/ruins_u4astie.gif b/i/ruins_u4astie.gif new file mode 100644 index 0000000..5632cd9 Binary files /dev/null and b/i/ruins_u4astie.gif differ diff --git a/i/runes_slots.jpg b/i/runes_slots.jpg new file mode 100644 index 0000000..3a2e567 Binary files /dev/null and b/i/runes_slots.jpg differ diff --git a/i/say2.gif b/i/say2.gif new file mode 100644 index 0000000..ccc5748 Binary files /dev/null and b/i/say2.gif differ diff --git a/i/say2_.gif b/i/say2_.gif new file mode 100644 index 0000000..7626c82 Binary files /dev/null and b/i/say2_.gif differ diff --git a/i/senk.png b/i/senk.png new file mode 100644 index 0000000..4c11ca9 Binary files /dev/null and b/i/senk.png differ diff --git a/i/sh/0000009.gif b/i/sh/0000009.gif new file mode 100644 index 0000000..eff8205 Binary files /dev/null and b/i/sh/0000009.gif differ diff --git a/i/sh/000009.gif b/i/sh/000009.gif new file mode 100644 index 0000000..206105d Binary files /dev/null and b/i/sh/000009.gif differ diff --git a/i/sh/00000999.gif b/i/sh/00000999.gif new file mode 100644 index 0000000..2ced268 Binary files /dev/null and b/i/sh/00000999.gif differ diff --git a/i/sh/0009.gif b/i/sh/0009.gif new file mode 100644 index 0000000..0bbc79b Binary files /dev/null and b/i/sh/0009.gif differ diff --git a/i/sh/0009009.gif b/i/sh/0009009.gif new file mode 100644 index 0000000..811a5cc Binary files /dev/null and b/i/sh/0009009.gif differ diff --git a/i/sh/0009990009.gif b/i/sh/0009990009.gif new file mode 100644 index 0000000..54ce5ec Binary files /dev/null and b/i/sh/0009990009.gif differ diff --git a/i/sh/009.gif b/i/sh/009.gif new file mode 100644 index 0000000..b46964c Binary files /dev/null and b/i/sh/009.gif differ diff --git a/i/sh/00999.gif b/i/sh/00999.gif new file mode 100644 index 0000000..f143e4c Binary files /dev/null and b/i/sh/00999.gif differ diff --git a/i/sh/00999999.gif b/i/sh/00999999.gif new file mode 100644 index 0000000..c3880a1 Binary files /dev/null and b/i/sh/00999999.gif differ diff --git a/i/sh/0909099.gif b/i/sh/0909099.gif new file mode 100644 index 0000000..36be26c Binary files /dev/null and b/i/sh/0909099.gif differ diff --git a/i/sh/1 (1).gif b/i/sh/1 (1).gif new file mode 100644 index 0000000..f6476e2 Binary files /dev/null and b/i/sh/1 (1).gif differ diff --git a/i/sh/1 (1).png b/i/sh/1 (1).png new file mode 100644 index 0000000..9d10186 Binary files /dev/null and b/i/sh/1 (1).png differ diff --git a/i/sh/1 (10).gif b/i/sh/1 (10).gif new file mode 100644 index 0000000..a0dfec9 Binary files /dev/null and b/i/sh/1 (10).gif differ diff --git a/i/sh/1 (10).png b/i/sh/1 (10).png new file mode 100644 index 0000000..0d4fb7c Binary files /dev/null and b/i/sh/1 (10).png differ diff --git a/i/sh/1 (11).gif b/i/sh/1 (11).gif new file mode 100644 index 0000000..31d1d03 Binary files /dev/null and b/i/sh/1 (11).gif differ diff --git a/i/sh/1 (11).png b/i/sh/1 (11).png new file mode 100644 index 0000000..8c56493 Binary files /dev/null and b/i/sh/1 (11).png differ diff --git a/i/sh/1 (12).gif b/i/sh/1 (12).gif new file mode 100644 index 0000000..4bcde5b Binary files /dev/null and b/i/sh/1 (12).gif differ diff --git a/i/sh/1 (12).png b/i/sh/1 (12).png new file mode 100644 index 0000000..9a34225 Binary files /dev/null and b/i/sh/1 (12).png differ diff --git a/i/sh/1 (13).gif b/i/sh/1 (13).gif new file mode 100644 index 0000000..3324236 Binary files /dev/null and b/i/sh/1 (13).gif differ diff --git a/i/sh/1 (13).png b/i/sh/1 (13).png new file mode 100644 index 0000000..fd504db Binary files /dev/null and b/i/sh/1 (13).png differ diff --git a/i/sh/1 (14).gif b/i/sh/1 (14).gif new file mode 100644 index 0000000..3dd61f4 Binary files /dev/null and b/i/sh/1 (14).gif differ diff --git a/i/sh/1 (14).png b/i/sh/1 (14).png new file mode 100644 index 0000000..62a1b70 Binary files /dev/null and b/i/sh/1 (14).png differ diff --git a/i/sh/1 (15).gif b/i/sh/1 (15).gif new file mode 100644 index 0000000..7f34011 Binary files /dev/null and b/i/sh/1 (15).gif differ diff --git a/i/sh/1 (15).png b/i/sh/1 (15).png new file mode 100644 index 0000000..5b93338 Binary files /dev/null and b/i/sh/1 (15).png differ diff --git a/i/sh/1 (16).gif b/i/sh/1 (16).gif new file mode 100644 index 0000000..c7750b2 Binary files /dev/null and b/i/sh/1 (16).gif differ diff --git a/i/sh/1 (16).png b/i/sh/1 (16).png new file mode 100644 index 0000000..0c9cc0b Binary files /dev/null and b/i/sh/1 (16).png differ diff --git a/i/sh/1 (17).gif b/i/sh/1 (17).gif new file mode 100644 index 0000000..83fc178 Binary files /dev/null and b/i/sh/1 (17).gif differ diff --git a/i/sh/1 (17).png b/i/sh/1 (17).png new file mode 100644 index 0000000..8cf9355 Binary files /dev/null and b/i/sh/1 (17).png differ diff --git a/i/sh/1 (18).gif b/i/sh/1 (18).gif new file mode 100644 index 0000000..0992c37 Binary files /dev/null and b/i/sh/1 (18).gif differ diff --git a/i/sh/1 (18).png b/i/sh/1 (18).png new file mode 100644 index 0000000..e407485 Binary files /dev/null and b/i/sh/1 (18).png differ diff --git a/i/sh/1 (19).gif b/i/sh/1 (19).gif new file mode 100644 index 0000000..07ec42c Binary files /dev/null and b/i/sh/1 (19).gif differ diff --git a/i/sh/1 (19).png b/i/sh/1 (19).png new file mode 100644 index 0000000..40d53c6 Binary files /dev/null and b/i/sh/1 (19).png differ diff --git a/i/sh/1 (2).gif b/i/sh/1 (2).gif new file mode 100644 index 0000000..13e28a6 Binary files /dev/null and b/i/sh/1 (2).gif differ diff --git a/i/sh/1 (2).png b/i/sh/1 (2).png new file mode 100644 index 0000000..053812a Binary files /dev/null and b/i/sh/1 (2).png differ diff --git a/i/sh/1 (20).gif b/i/sh/1 (20).gif new file mode 100644 index 0000000..d09b75f Binary files /dev/null and b/i/sh/1 (20).gif differ diff --git a/i/sh/1 (20).png b/i/sh/1 (20).png new file mode 100644 index 0000000..2e2207c Binary files /dev/null and b/i/sh/1 (20).png differ diff --git a/i/sh/1 (21).gif b/i/sh/1 (21).gif new file mode 100644 index 0000000..075a9a7 Binary files /dev/null and b/i/sh/1 (21).gif differ diff --git a/i/sh/1 (22).gif b/i/sh/1 (22).gif new file mode 100644 index 0000000..0be3df0 Binary files /dev/null and b/i/sh/1 (22).gif differ diff --git a/i/sh/1 (23).gif b/i/sh/1 (23).gif new file mode 100644 index 0000000..147f63f Binary files /dev/null and b/i/sh/1 (23).gif differ diff --git a/i/sh/1 (24).gif b/i/sh/1 (24).gif new file mode 100644 index 0000000..8d471b3 Binary files /dev/null and b/i/sh/1 (24).gif differ diff --git a/i/sh/1 (25).gif b/i/sh/1 (25).gif new file mode 100644 index 0000000..d622edc Binary files /dev/null and b/i/sh/1 (25).gif differ diff --git a/i/sh/1 (26).gif b/i/sh/1 (26).gif new file mode 100644 index 0000000..a541990 Binary files /dev/null and b/i/sh/1 (26).gif differ diff --git a/i/sh/1 (27).gif b/i/sh/1 (27).gif new file mode 100644 index 0000000..abb4ab3 Binary files /dev/null and b/i/sh/1 (27).gif differ diff --git a/i/sh/1 (28).gif b/i/sh/1 (28).gif new file mode 100644 index 0000000..7b29978 Binary files /dev/null and b/i/sh/1 (28).gif differ diff --git a/i/sh/1 (29).gif b/i/sh/1 (29).gif new file mode 100644 index 0000000..a32b584 Binary files /dev/null and b/i/sh/1 (29).gif differ diff --git a/i/sh/1 (3).gif b/i/sh/1 (3).gif new file mode 100644 index 0000000..5f1d9ce Binary files /dev/null and b/i/sh/1 (3).gif differ diff --git a/i/sh/1 (3).png b/i/sh/1 (3).png new file mode 100644 index 0000000..6464557 Binary files /dev/null and b/i/sh/1 (3).png differ diff --git a/i/sh/1 (30).gif b/i/sh/1 (30).gif new file mode 100644 index 0000000..7df37c9 Binary files /dev/null and b/i/sh/1 (30).gif differ diff --git a/i/sh/1 (31).gif b/i/sh/1 (31).gif new file mode 100644 index 0000000..ac15869 Binary files /dev/null and b/i/sh/1 (31).gif differ diff --git a/i/sh/1 (32).gif b/i/sh/1 (32).gif new file mode 100644 index 0000000..51df76b Binary files /dev/null and b/i/sh/1 (32).gif differ diff --git a/i/sh/1 (33).gif b/i/sh/1 (33).gif new file mode 100644 index 0000000..dbdd018 Binary files /dev/null and b/i/sh/1 (33).gif differ diff --git a/i/sh/1 (34).gif b/i/sh/1 (34).gif new file mode 100644 index 0000000..be9a1d9 Binary files /dev/null and b/i/sh/1 (34).gif differ diff --git a/i/sh/1 (35).gif b/i/sh/1 (35).gif new file mode 100644 index 0000000..f1f5701 Binary files /dev/null and b/i/sh/1 (35).gif differ diff --git a/i/sh/1 (36).gif b/i/sh/1 (36).gif new file mode 100644 index 0000000..d23ee2b Binary files /dev/null and b/i/sh/1 (36).gif differ diff --git a/i/sh/1 (37).gif b/i/sh/1 (37).gif new file mode 100644 index 0000000..0e33df6 Binary files /dev/null and b/i/sh/1 (37).gif differ diff --git a/i/sh/1 (38).gif b/i/sh/1 (38).gif new file mode 100644 index 0000000..af2719b Binary files /dev/null and b/i/sh/1 (38).gif differ diff --git a/i/sh/1 (39).gif b/i/sh/1 (39).gif new file mode 100644 index 0000000..13a6b2b Binary files /dev/null and b/i/sh/1 (39).gif differ diff --git a/i/sh/1 (4).gif b/i/sh/1 (4).gif new file mode 100644 index 0000000..88347f4 Binary files /dev/null and b/i/sh/1 (4).gif differ diff --git a/i/sh/1 (4).png b/i/sh/1 (4).png new file mode 100644 index 0000000..34f2fdd Binary files /dev/null and b/i/sh/1 (4).png differ diff --git a/i/sh/1 (40).gif b/i/sh/1 (40).gif new file mode 100644 index 0000000..e18155d Binary files /dev/null and b/i/sh/1 (40).gif differ diff --git a/i/sh/1 (41).gif b/i/sh/1 (41).gif new file mode 100644 index 0000000..0feefff Binary files /dev/null and b/i/sh/1 (41).gif differ diff --git a/i/sh/1 (42).gif b/i/sh/1 (42).gif new file mode 100644 index 0000000..f6b7e26 Binary files /dev/null and b/i/sh/1 (42).gif differ diff --git a/i/sh/1 (43).gif b/i/sh/1 (43).gif new file mode 100644 index 0000000..c615dcc Binary files /dev/null and b/i/sh/1 (43).gif differ diff --git a/i/sh/1 (44).gif b/i/sh/1 (44).gif new file mode 100644 index 0000000..83c99a8 Binary files /dev/null and b/i/sh/1 (44).gif differ diff --git a/i/sh/1 (45).gif b/i/sh/1 (45).gif new file mode 100644 index 0000000..2501f2d Binary files /dev/null and b/i/sh/1 (45).gif differ diff --git a/i/sh/1 (46).gif b/i/sh/1 (46).gif new file mode 100644 index 0000000..0b4e9c6 Binary files /dev/null and b/i/sh/1 (46).gif differ diff --git a/i/sh/1 (47).gif b/i/sh/1 (47).gif new file mode 100644 index 0000000..67676db Binary files /dev/null and b/i/sh/1 (47).gif differ diff --git a/i/sh/1 (48).gif b/i/sh/1 (48).gif new file mode 100644 index 0000000..3e2cf9f Binary files /dev/null and b/i/sh/1 (48).gif differ diff --git a/i/sh/1 (49).gif b/i/sh/1 (49).gif new file mode 100644 index 0000000..19d0df2 Binary files /dev/null and b/i/sh/1 (49).gif differ diff --git a/i/sh/1 (5).gif b/i/sh/1 (5).gif new file mode 100644 index 0000000..0a07ffb Binary files /dev/null and b/i/sh/1 (5).gif differ diff --git a/i/sh/1 (5).png b/i/sh/1 (5).png new file mode 100644 index 0000000..fde2373 Binary files /dev/null and b/i/sh/1 (5).png differ diff --git a/i/sh/1 (50).gif b/i/sh/1 (50).gif new file mode 100644 index 0000000..c132d4d Binary files /dev/null and b/i/sh/1 (50).gif differ diff --git a/i/sh/1 (51).gif b/i/sh/1 (51).gif new file mode 100644 index 0000000..254571e Binary files /dev/null and b/i/sh/1 (51).gif differ diff --git a/i/sh/1 (52).gif b/i/sh/1 (52).gif new file mode 100644 index 0000000..cad6c11 Binary files /dev/null and b/i/sh/1 (52).gif differ diff --git a/i/sh/1 (53).gif b/i/sh/1 (53).gif new file mode 100644 index 0000000..93686df Binary files /dev/null and b/i/sh/1 (53).gif differ diff --git a/i/sh/1 (54).gif b/i/sh/1 (54).gif new file mode 100644 index 0000000..5e63057 Binary files /dev/null and b/i/sh/1 (54).gif differ diff --git a/i/sh/1 (55).gif b/i/sh/1 (55).gif new file mode 100644 index 0000000..7e7cbea Binary files /dev/null and b/i/sh/1 (55).gif differ diff --git a/i/sh/1 (56).gif b/i/sh/1 (56).gif new file mode 100644 index 0000000..cb20dbc Binary files /dev/null and b/i/sh/1 (56).gif differ diff --git a/i/sh/1 (57).gif b/i/sh/1 (57).gif new file mode 100644 index 0000000..82d0ba7 Binary files /dev/null and b/i/sh/1 (57).gif differ diff --git a/i/sh/1 (58).gif b/i/sh/1 (58).gif new file mode 100644 index 0000000..4c5ea03 Binary files /dev/null and b/i/sh/1 (58).gif differ diff --git a/i/sh/1 (59).gif b/i/sh/1 (59).gif new file mode 100644 index 0000000..59e77ea Binary files /dev/null and b/i/sh/1 (59).gif differ diff --git a/i/sh/1 (6).gif b/i/sh/1 (6).gif new file mode 100644 index 0000000..468eff6 Binary files /dev/null and b/i/sh/1 (6).gif differ diff --git a/i/sh/1 (6).png b/i/sh/1 (6).png new file mode 100644 index 0000000..d09c77a Binary files /dev/null and b/i/sh/1 (6).png differ diff --git a/i/sh/1 (60).gif b/i/sh/1 (60).gif new file mode 100644 index 0000000..c927f2a Binary files /dev/null and b/i/sh/1 (60).gif differ diff --git a/i/sh/1 (61).gif b/i/sh/1 (61).gif new file mode 100644 index 0000000..6667462 Binary files /dev/null and b/i/sh/1 (61).gif differ diff --git a/i/sh/1 (62).gif b/i/sh/1 (62).gif new file mode 100644 index 0000000..873f2dc Binary files /dev/null and b/i/sh/1 (62).gif differ diff --git a/i/sh/1 (63).gif b/i/sh/1 (63).gif new file mode 100644 index 0000000..81b7eac Binary files /dev/null and b/i/sh/1 (63).gif differ diff --git a/i/sh/1 (64).gif b/i/sh/1 (64).gif new file mode 100644 index 0000000..66d1be5 Binary files /dev/null and b/i/sh/1 (64).gif differ diff --git a/i/sh/1 (65).gif b/i/sh/1 (65).gif new file mode 100644 index 0000000..c1e4133 Binary files /dev/null and b/i/sh/1 (65).gif differ diff --git a/i/sh/1 (66).gif b/i/sh/1 (66).gif new file mode 100644 index 0000000..6340412 Binary files /dev/null and b/i/sh/1 (66).gif differ diff --git a/i/sh/1 (67).gif b/i/sh/1 (67).gif new file mode 100644 index 0000000..60000e3 Binary files /dev/null and b/i/sh/1 (67).gif differ diff --git a/i/sh/1 (68).gif b/i/sh/1 (68).gif new file mode 100644 index 0000000..f0020d1 Binary files /dev/null and b/i/sh/1 (68).gif differ diff --git a/i/sh/1 (69).gif b/i/sh/1 (69).gif new file mode 100644 index 0000000..e10da7d Binary files /dev/null and b/i/sh/1 (69).gif differ diff --git a/i/sh/1 (7).gif b/i/sh/1 (7).gif new file mode 100644 index 0000000..092b5b2 Binary files /dev/null and b/i/sh/1 (7).gif differ diff --git a/i/sh/1 (7).png b/i/sh/1 (7).png new file mode 100644 index 0000000..650a1a4 Binary files /dev/null and b/i/sh/1 (7).png differ diff --git a/i/sh/1 (70).gif b/i/sh/1 (70).gif new file mode 100644 index 0000000..2c5399c Binary files /dev/null and b/i/sh/1 (70).gif differ diff --git a/i/sh/1 (71).gif b/i/sh/1 (71).gif new file mode 100644 index 0000000..ce08b9e Binary files /dev/null and b/i/sh/1 (71).gif differ diff --git a/i/sh/1 (72).gif b/i/sh/1 (72).gif new file mode 100644 index 0000000..3c65460 Binary files /dev/null and b/i/sh/1 (72).gif differ diff --git a/i/sh/1 (73).gif b/i/sh/1 (73).gif new file mode 100644 index 0000000..b0fd6bc Binary files /dev/null and b/i/sh/1 (73).gif differ diff --git a/i/sh/1 (74).gif b/i/sh/1 (74).gif new file mode 100644 index 0000000..85f9379 Binary files /dev/null and b/i/sh/1 (74).gif differ diff --git a/i/sh/1 (75).gif b/i/sh/1 (75).gif new file mode 100644 index 0000000..bfde37a Binary files /dev/null and b/i/sh/1 (75).gif differ diff --git a/i/sh/1 (76).gif b/i/sh/1 (76).gif new file mode 100644 index 0000000..3a02d24 Binary files /dev/null and b/i/sh/1 (76).gif differ diff --git a/i/sh/1 (77).gif b/i/sh/1 (77).gif new file mode 100644 index 0000000..45d65d0 Binary files /dev/null and b/i/sh/1 (77).gif differ diff --git a/i/sh/1 (78).gif b/i/sh/1 (78).gif new file mode 100644 index 0000000..432aa75 Binary files /dev/null and b/i/sh/1 (78).gif differ diff --git a/i/sh/1 (79).gif b/i/sh/1 (79).gif new file mode 100644 index 0000000..e0f38ee Binary files /dev/null and b/i/sh/1 (79).gif differ diff --git a/i/sh/1 (8).gif b/i/sh/1 (8).gif new file mode 100644 index 0000000..06f2e9a Binary files /dev/null and b/i/sh/1 (8).gif differ diff --git a/i/sh/1 (8).png b/i/sh/1 (8).png new file mode 100644 index 0000000..b599324 Binary files /dev/null and b/i/sh/1 (8).png differ diff --git a/i/sh/1 (80).gif b/i/sh/1 (80).gif new file mode 100644 index 0000000..a5dabf3 Binary files /dev/null and b/i/sh/1 (80).gif differ diff --git a/i/sh/1 (81).gif b/i/sh/1 (81).gif new file mode 100644 index 0000000..9d1f416 Binary files /dev/null and b/i/sh/1 (81).gif differ diff --git a/i/sh/1 (82).gif b/i/sh/1 (82).gif new file mode 100644 index 0000000..5504d80 Binary files /dev/null and b/i/sh/1 (82).gif differ diff --git a/i/sh/1 (83).gif b/i/sh/1 (83).gif new file mode 100644 index 0000000..b6453fb Binary files /dev/null and b/i/sh/1 (83).gif differ diff --git a/i/sh/1 (84).gif b/i/sh/1 (84).gif new file mode 100644 index 0000000..d3d56c8 Binary files /dev/null and b/i/sh/1 (84).gif differ diff --git a/i/sh/1 (85).gif b/i/sh/1 (85).gif new file mode 100644 index 0000000..2d7d79e Binary files /dev/null and b/i/sh/1 (85).gif differ diff --git a/i/sh/1 (86).gif b/i/sh/1 (86).gif new file mode 100644 index 0000000..99e15e1 Binary files /dev/null and b/i/sh/1 (86).gif differ diff --git a/i/sh/1 (87).gif b/i/sh/1 (87).gif new file mode 100644 index 0000000..79d60ef Binary files /dev/null and b/i/sh/1 (87).gif differ diff --git a/i/sh/1 (88).gif b/i/sh/1 (88).gif new file mode 100644 index 0000000..993b56e Binary files /dev/null and b/i/sh/1 (88).gif differ diff --git a/i/sh/1 (9).gif b/i/sh/1 (9).gif new file mode 100644 index 0000000..8a407b4 Binary files /dev/null and b/i/sh/1 (9).gif differ diff --git a/i/sh/1 (9).png b/i/sh/1 (9).png new file mode 100644 index 0000000..d26c4e4 Binary files /dev/null and b/i/sh/1 (9).png differ diff --git a/i/sh/103001.gif b/i/sh/103001.gif new file mode 100644 index 0000000..c8700d9 Binary files /dev/null and b/i/sh/103001.gif differ diff --git a/i/sh/103002.gif b/i/sh/103002.gif new file mode 100644 index 0000000..631a3c2 Binary files /dev/null and b/i/sh/103002.gif differ diff --git a/i/sh/103003.gif b/i/sh/103003.gif new file mode 100644 index 0000000..167c316 Binary files /dev/null and b/i/sh/103003.gif differ diff --git a/i/sh/103004.gif b/i/sh/103004.gif new file mode 100644 index 0000000..622add4 Binary files /dev/null and b/i/sh/103004.gif differ diff --git a/i/sh/103005.gif b/i/sh/103005.gif new file mode 100644 index 0000000..e543f13 Binary files /dev/null and b/i/sh/103005.gif differ diff --git a/i/sh/103006.gif b/i/sh/103006.gif new file mode 100644 index 0000000..989990a Binary files /dev/null and b/i/sh/103006.gif differ diff --git a/i/sh/103007.gif b/i/sh/103007.gif new file mode 100644 index 0000000..f09a5fe Binary files /dev/null and b/i/sh/103007.gif differ diff --git a/i/sh/103008.gif b/i/sh/103008.gif new file mode 100644 index 0000000..15f0191 Binary files /dev/null and b/i/sh/103008.gif differ diff --git a/i/sh/103009.gif b/i/sh/103009.gif new file mode 100644 index 0000000..3ef6493 Binary files /dev/null and b/i/sh/103009.gif differ diff --git a/i/sh/103010.gif b/i/sh/103010.gif new file mode 100644 index 0000000..3c05915 Binary files /dev/null and b/i/sh/103010.gif differ diff --git a/i/sh/103011.gif b/i/sh/103011.gif new file mode 100644 index 0000000..61f77da Binary files /dev/null and b/i/sh/103011.gif differ diff --git a/i/sh/103012.gif b/i/sh/103012.gif new file mode 100644 index 0000000..84a6cdf Binary files /dev/null and b/i/sh/103012.gif differ diff --git a/i/sh/103013.gif b/i/sh/103013.gif new file mode 100644 index 0000000..ebf50c1 Binary files /dev/null and b/i/sh/103013.gif differ diff --git a/i/sh/103015.gif b/i/sh/103015.gif new file mode 100644 index 0000000..e02bc28 Binary files /dev/null and b/i/sh/103015.gif differ diff --git a/i/sh/103017.gif b/i/sh/103017.gif new file mode 100644 index 0000000..aeb8ed2 Binary files /dev/null and b/i/sh/103017.gif differ diff --git a/i/sh/103019.gif b/i/sh/103019.gif new file mode 100644 index 0000000..dd595db Binary files /dev/null and b/i/sh/103019.gif differ diff --git a/i/sh/111.gif b/i/sh/111.gif new file mode 100644 index 0000000..dc78439 Binary files /dev/null and b/i/sh/111.gif differ diff --git a/i/sh/14febbear_love2.gif b/i/sh/14febbear_love2.gif new file mode 100644 index 0000000..34ee72d Binary files /dev/null and b/i/sh/14febbear_love2.gif differ diff --git a/i/sh/14febcake2.gif b/i/sh/14febcake2.gif new file mode 100644 index 0000000..b214b24 Binary files /dev/null and b/i/sh/14febcake2.gif differ diff --git a/i/sh/14febcats.gif b/i/sh/14febcats.gif new file mode 100644 index 0000000..fd9b961 Binary files /dev/null and b/i/sh/14febcats.gif differ diff --git a/i/sh/14febchoco.gif b/i/sh/14febchoco.gif new file mode 100644 index 0000000..2dc2941 Binary files /dev/null and b/i/sh/14febchoco.gif differ diff --git a/i/sh/14febheart12.gif b/i/sh/14febheart12.gif new file mode 100644 index 0000000..19d9797 Binary files /dev/null and b/i/sh/14febheart12.gif differ diff --git a/i/sh/14febheart13.gif b/i/sh/14febheart13.gif new file mode 100644 index 0000000..8b1c67b Binary files /dev/null and b/i/sh/14febheart13.gif differ diff --git a/i/sh/14febheart14.gif b/i/sh/14febheart14.gif new file mode 100644 index 0000000..45bd311 Binary files /dev/null and b/i/sh/14febheart14.gif differ diff --git a/i/sh/14febheart15.gif b/i/sh/14febheart15.gif new file mode 100644 index 0000000..e9999dd Binary files /dev/null and b/i/sh/14febheart15.gif differ diff --git a/i/sh/14febheart2.gif b/i/sh/14febheart2.gif new file mode 100644 index 0000000..2d777bb Binary files /dev/null and b/i/sh/14febheart2.gif differ diff --git a/i/sh/14febheart3_svet.gif b/i/sh/14febheart3_svet.gif new file mode 100644 index 0000000..66abfb6 Binary files /dev/null and b/i/sh/14febheart3_svet.gif differ diff --git a/i/sh/14febheart5.gif b/i/sh/14febheart5.gif new file mode 100644 index 0000000..61bc2b4 Binary files /dev/null and b/i/sh/14febheart5.gif differ diff --git a/i/sh/14febheart8.gif b/i/sh/14febheart8.gif new file mode 100644 index 0000000..4f81721 Binary files /dev/null and b/i/sh/14febheart8.gif differ diff --git a/i/sh/1620_m1_amulet.gif b/i/sh/1620_m1_amulet.gif new file mode 100644 index 0000000..bf2eace Binary files /dev/null and b/i/sh/1620_m1_amulet.gif differ diff --git a/i/sh/1620_m1_armor.gif b/i/sh/1620_m1_armor.gif new file mode 100644 index 0000000..a67fd13 Binary files /dev/null and b/i/sh/1620_m1_armor.gif differ diff --git a/i/sh/1620_m1_boots.gif b/i/sh/1620_m1_boots.gif new file mode 100644 index 0000000..46ff016 Binary files /dev/null and b/i/sh/1620_m1_boots.gif differ diff --git a/i/sh/1620_m1_earrings.gif b/i/sh/1620_m1_earrings.gif new file mode 100644 index 0000000..2ff51de Binary files /dev/null and b/i/sh/1620_m1_earrings.gif differ diff --git a/i/sh/1620_m1_helmet.gif b/i/sh/1620_m1_helmet.gif new file mode 100644 index 0000000..44dfdad Binary files /dev/null and b/i/sh/1620_m1_helmet.gif differ diff --git a/i/sh/1620_m1_ring.gif b/i/sh/1620_m1_ring.gif new file mode 100644 index 0000000..1223824 Binary files /dev/null and b/i/sh/1620_m1_ring.gif differ diff --git a/i/sh/1620_m1_shield.gif b/i/sh/1620_m1_shield.gif new file mode 100644 index 0000000..a0e07a3 Binary files /dev/null and b/i/sh/1620_m1_shield.gif differ diff --git a/i/sh/1marta_gift4.gif b/i/sh/1marta_gift4.gif new file mode 100644 index 0000000..b04adaa Binary files /dev/null and b/i/sh/1marta_gift4.gif differ diff --git a/i/sh/2109_aring.gif b/i/sh/2109_aring.gif new file mode 100644 index 0000000..1804dad Binary files /dev/null and b/i/sh/2109_aring.gif differ diff --git a/i/sh/23feb.gif b/i/sh/23feb.gif new file mode 100644 index 0000000..a04e0ec Binary files /dev/null and b/i/sh/23feb.gif differ diff --git a/i/sh/23feb2.gif b/i/sh/23feb2.gif new file mode 100644 index 0000000..2e6c922 Binary files /dev/null and b/i/sh/23feb2.gif differ diff --git a/i/sh/23feb3.gif b/i/sh/23feb3.gif new file mode 100644 index 0000000..c2b0f56 Binary files /dev/null and b/i/sh/23feb3.gif differ diff --git a/i/sh/23feb4.gif b/i/sh/23feb4.gif new file mode 100644 index 0000000..1ba6178 Binary files /dev/null and b/i/sh/23feb4.gif differ diff --git a/i/sh/23feb5.gif b/i/sh/23feb5.gif new file mode 100644 index 0000000..a2c2854 Binary files /dev/null and b/i/sh/23feb5.gif differ diff --git a/i/sh/23feb6.gif b/i/sh/23feb6.gif new file mode 100644 index 0000000..b37ce4d Binary files /dev/null and b/i/sh/23feb6.gif differ diff --git a/i/sh/30mf (1).gif b/i/sh/30mf (1).gif new file mode 100644 index 0000000..30baa1c Binary files /dev/null and b/i/sh/30mf (1).gif differ diff --git a/i/sh/30mf (2).gif b/i/sh/30mf (2).gif new file mode 100644 index 0000000..30baa1c Binary files /dev/null and b/i/sh/30mf (2).gif differ diff --git a/i/sh/30mf (3).gif b/i/sh/30mf (3).gif new file mode 100644 index 0000000..30baa1c Binary files /dev/null and b/i/sh/30mf (3).gif differ diff --git a/i/sh/30mf.gif b/i/sh/30mf.gif new file mode 100644 index 0000000..30baa1c Binary files /dev/null and b/i/sh/30mf.gif differ diff --git a/i/sh/3864_m1_boots.gif b/i/sh/3864_m1_boots.gif new file mode 100644 index 0000000..3f7249a Binary files /dev/null and b/i/sh/3864_m1_boots.gif differ diff --git a/i/sh/3864_m1_bron.gif b/i/sh/3864_m1_bron.gif new file mode 100644 index 0000000..efd3646 Binary files /dev/null and b/i/sh/3864_m1_bron.gif differ diff --git a/i/sh/3864_m1_kulon.gif b/i/sh/3864_m1_kulon.gif new file mode 100644 index 0000000..37c4ecd Binary files /dev/null and b/i/sh/3864_m1_kulon.gif differ diff --git a/i/sh/3864_m1_perchi.gif b/i/sh/3864_m1_perchi.gif new file mode 100644 index 0000000..097900f Binary files /dev/null and b/i/sh/3864_m1_perchi.gif differ diff --git a/i/sh/3864_m1_pushka.gif b/i/sh/3864_m1_pushka.gif new file mode 100644 index 0000000..5655192 Binary files /dev/null and b/i/sh/3864_m1_pushka.gif differ diff --git a/i/sh/3864_m1_ring.gif b/i/sh/3864_m1_ring.gif new file mode 100644 index 0000000..4ffe3b7 Binary files /dev/null and b/i/sh/3864_m1_ring.gif differ diff --git a/i/sh/3864_m1_sergi.gif b/i/sh/3864_m1_sergi.gif new file mode 100644 index 0000000..3c03707 Binary files /dev/null and b/i/sh/3864_m1_sergi.gif differ diff --git a/i/sh/3864_m1_shield.gif b/i/sh/3864_m1_shield.gif new file mode 100644 index 0000000..2fbfaf0 Binary files /dev/null and b/i/sh/3864_m1_shield.gif differ diff --git a/i/sh/3864_m1_shlem.gif b/i/sh/3864_m1_shlem.gif new file mode 100644 index 0000000..8b6d526 Binary files /dev/null and b/i/sh/3864_m1_shlem.gif differ diff --git a/i/sh/3864_m2_armor.gif b/i/sh/3864_m2_armor.gif new file mode 100644 index 0000000..c5e7d26 Binary files /dev/null and b/i/sh/3864_m2_armor.gif differ diff --git a/i/sh/3864_m2_boots.gif b/i/sh/3864_m2_boots.gif new file mode 100644 index 0000000..a550970 Binary files /dev/null and b/i/sh/3864_m2_boots.gif differ diff --git a/i/sh/3864_m2_earrings.gif b/i/sh/3864_m2_earrings.gif new file mode 100644 index 0000000..e2997d4 Binary files /dev/null and b/i/sh/3864_m2_earrings.gif differ diff --git a/i/sh/3864_m2_gloves.gif b/i/sh/3864_m2_gloves.gif new file mode 100644 index 0000000..43bb2d7 Binary files /dev/null and b/i/sh/3864_m2_gloves.gif differ diff --git a/i/sh/3864_m2_helmet.gif b/i/sh/3864_m2_helmet.gif new file mode 100644 index 0000000..879911c Binary files /dev/null and b/i/sh/3864_m2_helmet.gif differ diff --git a/i/sh/3864_m2_knife.gif b/i/sh/3864_m2_knife.gif new file mode 100644 index 0000000..391d53b Binary files /dev/null and b/i/sh/3864_m2_knife.gif differ diff --git a/i/sh/3864_m2_kulon.gif b/i/sh/3864_m2_kulon.gif new file mode 100644 index 0000000..012e76e Binary files /dev/null and b/i/sh/3864_m2_kulon.gif differ diff --git a/i/sh/3864_m2_ring.gif b/i/sh/3864_m2_ring.gif new file mode 100644 index 0000000..e009fbf Binary files /dev/null and b/i/sh/3864_m2_ring.gif differ diff --git a/i/sh/3864_m2_shield.gif b/i/sh/3864_m2_shield.gif new file mode 100644 index 0000000..0754d27 Binary files /dev/null and b/i/sh/3864_m2_shield.gif differ diff --git a/i/sh/3864_m3_armor.gif b/i/sh/3864_m3_armor.gif new file mode 100644 index 0000000..b9059aa Binary files /dev/null and b/i/sh/3864_m3_armor.gif differ diff --git a/i/sh/3864_m3_boots.gif b/i/sh/3864_m3_boots.gif new file mode 100644 index 0000000..a0216ca Binary files /dev/null and b/i/sh/3864_m3_boots.gif differ diff --git a/i/sh/3864_m3_earrings.gif b/i/sh/3864_m3_earrings.gif new file mode 100644 index 0000000..ad3511d Binary files /dev/null and b/i/sh/3864_m3_earrings.gif differ diff --git a/i/sh/3864_m3_gloves.gif b/i/sh/3864_m3_gloves.gif new file mode 100644 index 0000000..24f8b48 Binary files /dev/null and b/i/sh/3864_m3_gloves.gif differ diff --git a/i/sh/3864_m3_helmet.gif b/i/sh/3864_m3_helmet.gif new file mode 100644 index 0000000..15322e5 Binary files /dev/null and b/i/sh/3864_m3_helmet.gif differ diff --git a/i/sh/3864_m3_knife.gif b/i/sh/3864_m3_knife.gif new file mode 100644 index 0000000..f43e248 Binary files /dev/null and b/i/sh/3864_m3_knife.gif differ diff --git a/i/sh/3864_m3_kulon.gif b/i/sh/3864_m3_kulon.gif new file mode 100644 index 0000000..5306f8e Binary files /dev/null and b/i/sh/3864_m3_kulon.gif differ diff --git a/i/sh/3864_m3_ring.gif b/i/sh/3864_m3_ring.gif new file mode 100644 index 0000000..ae83cbd Binary files /dev/null and b/i/sh/3864_m3_ring.gif differ diff --git a/i/sh/3864_m3_shield.gif b/i/sh/3864_m3_shield.gif new file mode 100644 index 0000000..d2defbc Binary files /dev/null and b/i/sh/3864_m3_shield.gif differ diff --git a/i/sh/4080_m1_shield.gif b/i/sh/4080_m1_shield.gif new file mode 100644 index 0000000..d76ff1b Binary files /dev/null and b/i/sh/4080_m1_shield.gif differ diff --git a/i/sh/4644_m1_amulet.gif b/i/sh/4644_m1_amulet.gif new file mode 100644 index 0000000..be8a217 Binary files /dev/null and b/i/sh/4644_m1_amulet.gif differ diff --git a/i/sh/4644_m1_armor.gif b/i/sh/4644_m1_armor.gif new file mode 100644 index 0000000..8a44cad Binary files /dev/null and b/i/sh/4644_m1_armor.gif differ diff --git a/i/sh/4644_m1_boots.gif b/i/sh/4644_m1_boots.gif new file mode 100644 index 0000000..b932eff Binary files /dev/null and b/i/sh/4644_m1_boots.gif differ diff --git a/i/sh/4644_m1_earrings.gif b/i/sh/4644_m1_earrings.gif new file mode 100644 index 0000000..a668eb0 Binary files /dev/null and b/i/sh/4644_m1_earrings.gif differ diff --git a/i/sh/4644_m1_helmet.gif b/i/sh/4644_m1_helmet.gif new file mode 100644 index 0000000..9fe0639 Binary files /dev/null and b/i/sh/4644_m1_helmet.gif differ diff --git a/i/sh/4644_m1_naruchi.gif b/i/sh/4644_m1_naruchi.gif new file mode 100644 index 0000000..c68e5cc Binary files /dev/null and b/i/sh/4644_m1_naruchi.gif differ diff --git a/i/sh/4644_m1_shield.gif b/i/sh/4644_m1_shield.gif new file mode 100644 index 0000000..92a394a Binary files /dev/null and b/i/sh/4644_m1_shield.gif differ diff --git a/i/sh/4644_m2_armor.gif b/i/sh/4644_m2_armor.gif new file mode 100644 index 0000000..948ec26 Binary files /dev/null and b/i/sh/4644_m2_armor.gif differ diff --git a/i/sh/4644_m2_helmet.gif b/i/sh/4644_m2_helmet.gif new file mode 100644 index 0000000..d062ef0 Binary files /dev/null and b/i/sh/4644_m2_helmet.gif differ diff --git a/i/sh/4644_m2_ring.gif b/i/sh/4644_m2_ring.gif new file mode 100644 index 0000000..1b71a39 Binary files /dev/null and b/i/sh/4644_m2_ring.gif differ diff --git a/i/sh/4644_m2_shield.gif b/i/sh/4644_m2_shield.gif new file mode 100644 index 0000000..d062ef0 Binary files /dev/null and b/i/sh/4644_m2_shield.gif differ diff --git a/i/sh/4644_m3_ring.gif b/i/sh/4644_m3_ring.gif new file mode 100644 index 0000000..3fefb6f Binary files /dev/null and b/i/sh/4644_m3_ring.gif differ diff --git a/i/sh/4644_m_ring.gif b/i/sh/4644_m_ring.gif new file mode 100644 index 0000000..4890139 Binary files /dev/null and b/i/sh/4644_m_ring.gif differ diff --git a/i/sh/4644_m_ring2.gif b/i/sh/4644_m_ring2.gif new file mode 100644 index 0000000..dd8cd9d Binary files /dev/null and b/i/sh/4644_m_ring2.gif differ diff --git a/i/sh/4834_aknife.gif b/i/sh/4834_aknife.gif new file mode 100644 index 0000000..574366f Binary files /dev/null and b/i/sh/4834_aknife.gif differ diff --git a/i/sh/4881_aring.gif b/i/sh/4881_aring.gif new file mode 100644 index 0000000..de0e9cb Binary files /dev/null and b/i/sh/4881_aring.gif differ diff --git a/i/sh/4912_aring.gif b/i/sh/4912_aring.gif new file mode 100644 index 0000000..9133b13 Binary files /dev/null and b/i/sh/4912_aring.gif differ diff --git a/i/sh/5888_aring.gif b/i/sh/5888_aring.gif new file mode 100644 index 0000000..7909cf0 Binary files /dev/null and b/i/sh/5888_aring.gif differ diff --git a/i/sh/5888_m1_amuler.gif b/i/sh/5888_m1_amuler.gif new file mode 100644 index 0000000..3debec8 Binary files /dev/null and b/i/sh/5888_m1_amuler.gif differ diff --git a/i/sh/5888_m1_armor.gif b/i/sh/5888_m1_armor.gif new file mode 100644 index 0000000..e5e045c Binary files /dev/null and b/i/sh/5888_m1_armor.gif differ diff --git a/i/sh/5888_m1_boots.gif b/i/sh/5888_m1_boots.gif new file mode 100644 index 0000000..156af88 Binary files /dev/null and b/i/sh/5888_m1_boots.gif differ diff --git a/i/sh/5888_m1_clips.gif b/i/sh/5888_m1_clips.gif new file mode 100644 index 0000000..c40a764 Binary files /dev/null and b/i/sh/5888_m1_clips.gif differ diff --git a/i/sh/5888_m1_helmet.gif b/i/sh/5888_m1_helmet.gif new file mode 100644 index 0000000..d21985b Binary files /dev/null and b/i/sh/5888_m1_helmet.gif differ diff --git a/i/sh/5888_m1_knife.gif b/i/sh/5888_m1_knife.gif new file mode 100644 index 0000000..2ef4b00 Binary files /dev/null and b/i/sh/5888_m1_knife.gif differ diff --git a/i/sh/5888_m1_naruchi.gif b/i/sh/5888_m1_naruchi.gif new file mode 100644 index 0000000..174b196 Binary files /dev/null and b/i/sh/5888_m1_naruchi.gif differ diff --git a/i/sh/5888_m1_ring.gif b/i/sh/5888_m1_ring.gif new file mode 100644 index 0000000..681f9de Binary files /dev/null and b/i/sh/5888_m1_ring.gif differ diff --git a/i/sh/5888_m1_shield.gif b/i/sh/5888_m1_shield.gif new file mode 100644 index 0000000..320d0db Binary files /dev/null and b/i/sh/5888_m1_shield.gif differ diff --git a/i/sh/6989_aknife.gif b/i/sh/6989_aknife.gif new file mode 100644 index 0000000..8982ccb Binary files /dev/null and b/i/sh/6989_aknife.gif differ diff --git a/i/sh/6989_aring.gif b/i/sh/6989_aring.gif new file mode 100644 index 0000000..eb3f46c Binary files /dev/null and b/i/sh/6989_aring.gif differ diff --git a/i/sh/8225_amolot.gif b/i/sh/8225_amolot.gif new file mode 100644 index 0000000..e8efab3 Binary files /dev/null and b/i/sh/8225_amolot.gif differ diff --git a/i/sh/8259_atopor.gif b/i/sh/8259_atopor.gif new file mode 100644 index 0000000..cf121cf Binary files /dev/null and b/i/sh/8259_atopor.gif differ diff --git a/i/sh/8391_aring.gif b/i/sh/8391_aring.gif new file mode 100644 index 0000000..4ffe3b7 Binary files /dev/null and b/i/sh/8391_aring.gif differ diff --git a/i/sh/8m_1.gif b/i/sh/8m_1.gif new file mode 100644 index 0000000..82db38a Binary files /dev/null and b/i/sh/8m_1.gif differ diff --git a/i/sh/8m_2.gif b/i/sh/8m_2.gif new file mode 100644 index 0000000..360cd23 Binary files /dev/null and b/i/sh/8m_2.gif differ diff --git a/i/sh/8m_3.gif b/i/sh/8m_3.gif new file mode 100644 index 0000000..2d7ec15 Binary files /dev/null and b/i/sh/8m_3.gif differ diff --git a/i/sh/8m_4.gif b/i/sh/8m_4.gif new file mode 100644 index 0000000..85b5719 Binary files /dev/null and b/i/sh/8m_4.gif differ diff --git a/i/sh/8m_5.gif b/i/sh/8m_5.gif new file mode 100644 index 0000000..3d271fc Binary files /dev/null and b/i/sh/8m_5.gif differ diff --git a/i/sh/8m_6.gif b/i/sh/8m_6.gif new file mode 100644 index 0000000..7c54ab4 Binary files /dev/null and b/i/sh/8m_6.gif differ diff --git a/i/sh/8m_7.gif b/i/sh/8m_7.gif new file mode 100644 index 0000000..12113a9 Binary files /dev/null and b/i/sh/8m_7.gif differ diff --git a/i/sh/8m_8.gif b/i/sh/8m_8.gif new file mode 100644 index 0000000..326cff4 Binary files /dev/null and b/i/sh/8m_8.gif differ diff --git a/i/sh/9.gif b/i/sh/9.gif new file mode 100644 index 0000000..96e1fd6 Binary files /dev/null and b/i/sh/9.gif differ diff --git a/i/sh/99.gif b/i/sh/99.gif new file mode 100644 index 0000000..70c07da Binary files /dev/null and b/i/sh/99.gif differ diff --git a/i/sh/999.gif b/i/sh/999.gif new file mode 100644 index 0000000..e303776 Binary files /dev/null and b/i/sh/999.gif differ diff --git a/i/sh/9999.gif b/i/sh/9999.gif new file mode 100644 index 0000000..8554db4 Binary files /dev/null and b/i/sh/9999.gif differ diff --git a/i/sh/99999.gif b/i/sh/99999.gif new file mode 100644 index 0000000..77d331c Binary files /dev/null and b/i/sh/99999.gif differ diff --git a/i/sh/999999.gif b/i/sh/999999.gif new file mode 100644 index 0000000..016634e Binary files /dev/null and b/i/sh/999999.gif differ diff --git a/i/sh/BlackLight.gif b/i/sh/BlackLight.gif new file mode 100644 index 0000000..914cdd9 Binary files /dev/null and b/i/sh/BlackLight.gif differ diff --git a/i/sh/BrotherhoodOfSteel.gif b/i/sh/BrotherhoodOfSteel.gif new file mode 100644 index 0000000..aa3fa5f Binary files /dev/null and b/i/sh/BrotherhoodOfSteel.gif differ diff --git a/i/sh/DUP10.gif b/i/sh/DUP10.gif new file mode 100644 index 0000000..0b8f952 Binary files /dev/null and b/i/sh/DUP10.gif differ diff --git a/i/sh/DUP11.gif b/i/sh/DUP11.gif new file mode 100644 index 0000000..f81596f Binary files /dev/null and b/i/sh/DUP11.gif differ diff --git a/i/sh/DUP12.gif b/i/sh/DUP12.gif new file mode 100644 index 0000000..3904d99 Binary files /dev/null and b/i/sh/DUP12.gif differ diff --git a/i/sh/DUP7.gif b/i/sh/DUP7.gif new file mode 100644 index 0000000..a62952a Binary files /dev/null and b/i/sh/DUP7.gif differ diff --git a/i/sh/DUP8.gif b/i/sh/DUP8.gif new file mode 100644 index 0000000..9addfa6 Binary files /dev/null and b/i/sh/DUP8.gif differ diff --git a/i/sh/DUP9.gif b/i/sh/DUP9.gif new file mode 100644 index 0000000..caddb97 Binary files /dev/null and b/i/sh/DUP9.gif differ diff --git a/i/sh/DarkClan.gif b/i/sh/DarkClan.gif new file mode 100644 index 0000000..75e1471 Binary files /dev/null and b/i/sh/DarkClan.gif differ diff --git a/i/sh/DarkLegion.gif b/i/sh/DarkLegion.gif new file mode 100644 index 0000000..486946d Binary files /dev/null and b/i/sh/DarkLegion.gif differ diff --git a/i/sh/Emerald1.gif b/i/sh/Emerald1.gif new file mode 100644 index 0000000..1650ca6 Binary files /dev/null and b/i/sh/Emerald1.gif differ diff --git a/i/sh/Fearless1.gif b/i/sh/Fearless1.gif new file mode 100644 index 0000000..5b3141c Binary files /dev/null and b/i/sh/Fearless1.gif differ diff --git a/i/sh/Guards.gif b/i/sh/Guards.gif new file mode 100644 index 0000000..7f7059b Binary files /dev/null and b/i/sh/Guards.gif differ diff --git a/i/sh/Immortals.gif b/i/sh/Immortals.gif new file mode 100644 index 0000000..364eb1e Binary files /dev/null and b/i/sh/Immortals.gif differ diff --git a/i/sh/JoD.gif b/i/sh/JoD.gif new file mode 100644 index 0000000..f823142 Binary files /dev/null and b/i/sh/JoD.gif differ diff --git a/i/sh/Mercenaries.gif b/i/sh/Mercenaries.gif new file mode 100644 index 0000000..7fef0ac Binary files /dev/null and b/i/sh/Mercenaries.gif differ diff --git a/i/sh/MiB.gif b/i/sh/MiB.gif new file mode 100644 index 0000000..75dbb5f Binary files /dev/null and b/i/sh/MiB.gif differ diff --git a/i/sh/PhantomsofChaos.gif b/i/sh/PhantomsofChaos.gif new file mode 100644 index 0000000..70f1034 Binary files /dev/null and b/i/sh/PhantomsofChaos.gif differ diff --git a/i/sh/PitBull.gif b/i/sh/PitBull.gif new file mode 100644 index 0000000..e463dc7 Binary files /dev/null and b/i/sh/PitBull.gif differ diff --git a/i/sh/Podarki.rar b/i/sh/Podarki.rar new file mode 100644 index 0000000..fbba057 Binary files /dev/null and b/i/sh/Podarki.rar differ diff --git a/i/sh/Podarki/1 (1).gif b/i/sh/Podarki/1 (1).gif new file mode 100644 index 0000000..f6476e2 Binary files /dev/null and b/i/sh/Podarki/1 (1).gif differ diff --git a/i/sh/Podarki/1 (1).png b/i/sh/Podarki/1 (1).png new file mode 100644 index 0000000..9d10186 Binary files /dev/null and b/i/sh/Podarki/1 (1).png differ diff --git a/i/sh/Podarki/1 (10).gif b/i/sh/Podarki/1 (10).gif new file mode 100644 index 0000000..a0dfec9 Binary files /dev/null and b/i/sh/Podarki/1 (10).gif differ diff --git a/i/sh/Podarki/1 (10).png b/i/sh/Podarki/1 (10).png new file mode 100644 index 0000000..0d4fb7c Binary files /dev/null and b/i/sh/Podarki/1 (10).png differ diff --git a/i/sh/Podarki/1 (11).gif b/i/sh/Podarki/1 (11).gif new file mode 100644 index 0000000..31d1d03 Binary files /dev/null and b/i/sh/Podarki/1 (11).gif differ diff --git a/i/sh/Podarki/1 (11).png b/i/sh/Podarki/1 (11).png new file mode 100644 index 0000000..8c56493 Binary files /dev/null and b/i/sh/Podarki/1 (11).png differ diff --git a/i/sh/Podarki/1 (12).gif b/i/sh/Podarki/1 (12).gif new file mode 100644 index 0000000..4bcde5b Binary files /dev/null and b/i/sh/Podarki/1 (12).gif differ diff --git a/i/sh/Podarki/1 (12).png b/i/sh/Podarki/1 (12).png new file mode 100644 index 0000000..9a34225 Binary files /dev/null and b/i/sh/Podarki/1 (12).png differ diff --git a/i/sh/Podarki/1 (13).gif b/i/sh/Podarki/1 (13).gif new file mode 100644 index 0000000..3324236 Binary files /dev/null and b/i/sh/Podarki/1 (13).gif differ diff --git a/i/sh/Podarki/1 (13).png b/i/sh/Podarki/1 (13).png new file mode 100644 index 0000000..fd504db Binary files /dev/null and b/i/sh/Podarki/1 (13).png differ diff --git a/i/sh/Podarki/1 (14).gif b/i/sh/Podarki/1 (14).gif new file mode 100644 index 0000000..3dd61f4 Binary files /dev/null and b/i/sh/Podarki/1 (14).gif differ diff --git a/i/sh/Podarki/1 (14).png b/i/sh/Podarki/1 (14).png new file mode 100644 index 0000000..62a1b70 Binary files /dev/null and b/i/sh/Podarki/1 (14).png differ diff --git a/i/sh/Podarki/1 (15).gif b/i/sh/Podarki/1 (15).gif new file mode 100644 index 0000000..7f34011 Binary files /dev/null and b/i/sh/Podarki/1 (15).gif differ diff --git a/i/sh/Podarki/1 (15).png b/i/sh/Podarki/1 (15).png new file mode 100644 index 0000000..5b93338 Binary files /dev/null and b/i/sh/Podarki/1 (15).png differ diff --git a/i/sh/Podarki/1 (16).gif b/i/sh/Podarki/1 (16).gif new file mode 100644 index 0000000..c7750b2 Binary files /dev/null and b/i/sh/Podarki/1 (16).gif differ diff --git a/i/sh/Podarki/1 (16).png b/i/sh/Podarki/1 (16).png new file mode 100644 index 0000000..0c9cc0b Binary files /dev/null and b/i/sh/Podarki/1 (16).png differ diff --git a/i/sh/Podarki/1 (17).gif b/i/sh/Podarki/1 (17).gif new file mode 100644 index 0000000..83fc178 Binary files /dev/null and b/i/sh/Podarki/1 (17).gif differ diff --git a/i/sh/Podarki/1 (17).png b/i/sh/Podarki/1 (17).png new file mode 100644 index 0000000..8cf9355 Binary files /dev/null and b/i/sh/Podarki/1 (17).png differ diff --git a/i/sh/Podarki/1 (18).gif b/i/sh/Podarki/1 (18).gif new file mode 100644 index 0000000..0992c37 Binary files /dev/null and b/i/sh/Podarki/1 (18).gif differ diff --git a/i/sh/Podarki/1 (18).png b/i/sh/Podarki/1 (18).png new file mode 100644 index 0000000..e407485 Binary files /dev/null and b/i/sh/Podarki/1 (18).png differ diff --git a/i/sh/Podarki/1 (19).gif b/i/sh/Podarki/1 (19).gif new file mode 100644 index 0000000..07ec42c Binary files /dev/null and b/i/sh/Podarki/1 (19).gif differ diff --git a/i/sh/Podarki/1 (19).png b/i/sh/Podarki/1 (19).png new file mode 100644 index 0000000..40d53c6 Binary files /dev/null and b/i/sh/Podarki/1 (19).png differ diff --git a/i/sh/Podarki/1 (2).gif b/i/sh/Podarki/1 (2).gif new file mode 100644 index 0000000..13e28a6 Binary files /dev/null and b/i/sh/Podarki/1 (2).gif differ diff --git a/i/sh/Podarki/1 (2).png b/i/sh/Podarki/1 (2).png new file mode 100644 index 0000000..053812a Binary files /dev/null and b/i/sh/Podarki/1 (2).png differ diff --git a/i/sh/Podarki/1 (20).gif b/i/sh/Podarki/1 (20).gif new file mode 100644 index 0000000..d09b75f Binary files /dev/null and b/i/sh/Podarki/1 (20).gif differ diff --git a/i/sh/Podarki/1 (20).png b/i/sh/Podarki/1 (20).png new file mode 100644 index 0000000..2e2207c Binary files /dev/null and b/i/sh/Podarki/1 (20).png differ diff --git a/i/sh/Podarki/1 (21).gif b/i/sh/Podarki/1 (21).gif new file mode 100644 index 0000000..075a9a7 Binary files /dev/null and b/i/sh/Podarki/1 (21).gif differ diff --git a/i/sh/Podarki/1 (22).gif b/i/sh/Podarki/1 (22).gif new file mode 100644 index 0000000..0be3df0 Binary files /dev/null and b/i/sh/Podarki/1 (22).gif differ diff --git a/i/sh/Podarki/1 (23).gif b/i/sh/Podarki/1 (23).gif new file mode 100644 index 0000000..147f63f Binary files /dev/null and b/i/sh/Podarki/1 (23).gif differ diff --git a/i/sh/Podarki/1 (24).gif b/i/sh/Podarki/1 (24).gif new file mode 100644 index 0000000..8d471b3 Binary files /dev/null and b/i/sh/Podarki/1 (24).gif differ diff --git a/i/sh/Podarki/1 (25).gif b/i/sh/Podarki/1 (25).gif new file mode 100644 index 0000000..d622edc Binary files /dev/null and b/i/sh/Podarki/1 (25).gif differ diff --git a/i/sh/Podarki/1 (26).gif b/i/sh/Podarki/1 (26).gif new file mode 100644 index 0000000..a541990 Binary files /dev/null and b/i/sh/Podarki/1 (26).gif differ diff --git a/i/sh/Podarki/1 (27).gif b/i/sh/Podarki/1 (27).gif new file mode 100644 index 0000000..abb4ab3 Binary files /dev/null and b/i/sh/Podarki/1 (27).gif differ diff --git a/i/sh/Podarki/1 (28).gif b/i/sh/Podarki/1 (28).gif new file mode 100644 index 0000000..7b29978 Binary files /dev/null and b/i/sh/Podarki/1 (28).gif differ diff --git a/i/sh/Podarki/1 (29).gif b/i/sh/Podarki/1 (29).gif new file mode 100644 index 0000000..a32b584 Binary files /dev/null and b/i/sh/Podarki/1 (29).gif differ diff --git a/i/sh/Podarki/1 (3).gif b/i/sh/Podarki/1 (3).gif new file mode 100644 index 0000000..5f1d9ce Binary files /dev/null and b/i/sh/Podarki/1 (3).gif differ diff --git a/i/sh/Podarki/1 (3).png b/i/sh/Podarki/1 (3).png new file mode 100644 index 0000000..6464557 Binary files /dev/null and b/i/sh/Podarki/1 (3).png differ diff --git a/i/sh/Podarki/1 (30).gif b/i/sh/Podarki/1 (30).gif new file mode 100644 index 0000000..7df37c9 Binary files /dev/null and b/i/sh/Podarki/1 (30).gif differ diff --git a/i/sh/Podarki/1 (31).gif b/i/sh/Podarki/1 (31).gif new file mode 100644 index 0000000..ac15869 Binary files /dev/null and b/i/sh/Podarki/1 (31).gif differ diff --git a/i/sh/Podarki/1 (32).gif b/i/sh/Podarki/1 (32).gif new file mode 100644 index 0000000..51df76b Binary files /dev/null and b/i/sh/Podarki/1 (32).gif differ diff --git a/i/sh/Podarki/1 (33).gif b/i/sh/Podarki/1 (33).gif new file mode 100644 index 0000000..dbdd018 Binary files /dev/null and b/i/sh/Podarki/1 (33).gif differ diff --git a/i/sh/Podarki/1 (34).gif b/i/sh/Podarki/1 (34).gif new file mode 100644 index 0000000..be9a1d9 Binary files /dev/null and b/i/sh/Podarki/1 (34).gif differ diff --git a/i/sh/Podarki/1 (35).gif b/i/sh/Podarki/1 (35).gif new file mode 100644 index 0000000..f1f5701 Binary files /dev/null and b/i/sh/Podarki/1 (35).gif differ diff --git a/i/sh/Podarki/1 (36).gif b/i/sh/Podarki/1 (36).gif new file mode 100644 index 0000000..d23ee2b Binary files /dev/null and b/i/sh/Podarki/1 (36).gif differ diff --git a/i/sh/Podarki/1 (37).gif b/i/sh/Podarki/1 (37).gif new file mode 100644 index 0000000..0e33df6 Binary files /dev/null and b/i/sh/Podarki/1 (37).gif differ diff --git a/i/sh/Podarki/1 (38).gif b/i/sh/Podarki/1 (38).gif new file mode 100644 index 0000000..af2719b Binary files /dev/null and b/i/sh/Podarki/1 (38).gif differ diff --git a/i/sh/Podarki/1 (39).gif b/i/sh/Podarki/1 (39).gif new file mode 100644 index 0000000..13a6b2b Binary files /dev/null and b/i/sh/Podarki/1 (39).gif differ diff --git a/i/sh/Podarki/1 (4).gif b/i/sh/Podarki/1 (4).gif new file mode 100644 index 0000000..88347f4 Binary files /dev/null and b/i/sh/Podarki/1 (4).gif differ diff --git a/i/sh/Podarki/1 (4).png b/i/sh/Podarki/1 (4).png new file mode 100644 index 0000000..34f2fdd Binary files /dev/null and b/i/sh/Podarki/1 (4).png differ diff --git a/i/sh/Podarki/1 (40).gif b/i/sh/Podarki/1 (40).gif new file mode 100644 index 0000000..e18155d Binary files /dev/null and b/i/sh/Podarki/1 (40).gif differ diff --git a/i/sh/Podarki/1 (41).gif b/i/sh/Podarki/1 (41).gif new file mode 100644 index 0000000..0feefff Binary files /dev/null and b/i/sh/Podarki/1 (41).gif differ diff --git a/i/sh/Podarki/1 (42).gif b/i/sh/Podarki/1 (42).gif new file mode 100644 index 0000000..f6b7e26 Binary files /dev/null and b/i/sh/Podarki/1 (42).gif differ diff --git a/i/sh/Podarki/1 (43).gif b/i/sh/Podarki/1 (43).gif new file mode 100644 index 0000000..c615dcc Binary files /dev/null and b/i/sh/Podarki/1 (43).gif differ diff --git a/i/sh/Podarki/1 (44).gif b/i/sh/Podarki/1 (44).gif new file mode 100644 index 0000000..83c99a8 Binary files /dev/null and b/i/sh/Podarki/1 (44).gif differ diff --git a/i/sh/Podarki/1 (45).gif b/i/sh/Podarki/1 (45).gif new file mode 100644 index 0000000..2501f2d Binary files /dev/null and b/i/sh/Podarki/1 (45).gif differ diff --git a/i/sh/Podarki/1 (46).gif b/i/sh/Podarki/1 (46).gif new file mode 100644 index 0000000..0b4e9c6 Binary files /dev/null and b/i/sh/Podarki/1 (46).gif differ diff --git a/i/sh/Podarki/1 (47).gif b/i/sh/Podarki/1 (47).gif new file mode 100644 index 0000000..67676db Binary files /dev/null and b/i/sh/Podarki/1 (47).gif differ diff --git a/i/sh/Podarki/1 (48).gif b/i/sh/Podarki/1 (48).gif new file mode 100644 index 0000000..3e2cf9f Binary files /dev/null and b/i/sh/Podarki/1 (48).gif differ diff --git a/i/sh/Podarki/1 (49).gif b/i/sh/Podarki/1 (49).gif new file mode 100644 index 0000000..19d0df2 Binary files /dev/null and b/i/sh/Podarki/1 (49).gif differ diff --git a/i/sh/Podarki/1 (5).gif b/i/sh/Podarki/1 (5).gif new file mode 100644 index 0000000..0a07ffb Binary files /dev/null and b/i/sh/Podarki/1 (5).gif differ diff --git a/i/sh/Podarki/1 (5).png b/i/sh/Podarki/1 (5).png new file mode 100644 index 0000000..fde2373 Binary files /dev/null and b/i/sh/Podarki/1 (5).png differ diff --git a/i/sh/Podarki/1 (50).gif b/i/sh/Podarki/1 (50).gif new file mode 100644 index 0000000..c132d4d Binary files /dev/null and b/i/sh/Podarki/1 (50).gif differ diff --git a/i/sh/Podarki/1 (51).gif b/i/sh/Podarki/1 (51).gif new file mode 100644 index 0000000..254571e Binary files /dev/null and b/i/sh/Podarki/1 (51).gif differ diff --git a/i/sh/Podarki/1 (52).gif b/i/sh/Podarki/1 (52).gif new file mode 100644 index 0000000..cad6c11 Binary files /dev/null and b/i/sh/Podarki/1 (52).gif differ diff --git a/i/sh/Podarki/1 (53).gif b/i/sh/Podarki/1 (53).gif new file mode 100644 index 0000000..93686df Binary files /dev/null and b/i/sh/Podarki/1 (53).gif differ diff --git a/i/sh/Podarki/1 (54).gif b/i/sh/Podarki/1 (54).gif new file mode 100644 index 0000000..5e63057 Binary files /dev/null and b/i/sh/Podarki/1 (54).gif differ diff --git a/i/sh/Podarki/1 (55).gif b/i/sh/Podarki/1 (55).gif new file mode 100644 index 0000000..7e7cbea Binary files /dev/null and b/i/sh/Podarki/1 (55).gif differ diff --git a/i/sh/Podarki/1 (56).gif b/i/sh/Podarki/1 (56).gif new file mode 100644 index 0000000..cb20dbc Binary files /dev/null and b/i/sh/Podarki/1 (56).gif differ diff --git a/i/sh/Podarki/1 (57).gif b/i/sh/Podarki/1 (57).gif new file mode 100644 index 0000000..82d0ba7 Binary files /dev/null and b/i/sh/Podarki/1 (57).gif differ diff --git a/i/sh/Podarki/1 (58).gif b/i/sh/Podarki/1 (58).gif new file mode 100644 index 0000000..4c5ea03 Binary files /dev/null and b/i/sh/Podarki/1 (58).gif differ diff --git a/i/sh/Podarki/1 (59).gif b/i/sh/Podarki/1 (59).gif new file mode 100644 index 0000000..59e77ea Binary files /dev/null and b/i/sh/Podarki/1 (59).gif differ diff --git a/i/sh/Podarki/1 (6).gif b/i/sh/Podarki/1 (6).gif new file mode 100644 index 0000000..468eff6 Binary files /dev/null and b/i/sh/Podarki/1 (6).gif differ diff --git a/i/sh/Podarki/1 (6).png b/i/sh/Podarki/1 (6).png new file mode 100644 index 0000000..d09c77a Binary files /dev/null and b/i/sh/Podarki/1 (6).png differ diff --git a/i/sh/Podarki/1 (60).gif b/i/sh/Podarki/1 (60).gif new file mode 100644 index 0000000..c927f2a Binary files /dev/null and b/i/sh/Podarki/1 (60).gif differ diff --git a/i/sh/Podarki/1 (61).gif b/i/sh/Podarki/1 (61).gif new file mode 100644 index 0000000..6667462 Binary files /dev/null and b/i/sh/Podarki/1 (61).gif differ diff --git a/i/sh/Podarki/1 (62).gif b/i/sh/Podarki/1 (62).gif new file mode 100644 index 0000000..873f2dc Binary files /dev/null and b/i/sh/Podarki/1 (62).gif differ diff --git a/i/sh/Podarki/1 (63).gif b/i/sh/Podarki/1 (63).gif new file mode 100644 index 0000000..81b7eac Binary files /dev/null and b/i/sh/Podarki/1 (63).gif differ diff --git a/i/sh/Podarki/1 (64).gif b/i/sh/Podarki/1 (64).gif new file mode 100644 index 0000000..66d1be5 Binary files /dev/null and b/i/sh/Podarki/1 (64).gif differ diff --git a/i/sh/Podarki/1 (65).gif b/i/sh/Podarki/1 (65).gif new file mode 100644 index 0000000..c1e4133 Binary files /dev/null and b/i/sh/Podarki/1 (65).gif differ diff --git a/i/sh/Podarki/1 (66).gif b/i/sh/Podarki/1 (66).gif new file mode 100644 index 0000000..6340412 Binary files /dev/null and b/i/sh/Podarki/1 (66).gif differ diff --git a/i/sh/Podarki/1 (67).gif b/i/sh/Podarki/1 (67).gif new file mode 100644 index 0000000..60000e3 Binary files /dev/null and b/i/sh/Podarki/1 (67).gif differ diff --git a/i/sh/Podarki/1 (68).gif b/i/sh/Podarki/1 (68).gif new file mode 100644 index 0000000..f0020d1 Binary files /dev/null and b/i/sh/Podarki/1 (68).gif differ diff --git a/i/sh/Podarki/1 (69).gif b/i/sh/Podarki/1 (69).gif new file mode 100644 index 0000000..e10da7d Binary files /dev/null and b/i/sh/Podarki/1 (69).gif differ diff --git a/i/sh/Podarki/1 (7).gif b/i/sh/Podarki/1 (7).gif new file mode 100644 index 0000000..092b5b2 Binary files /dev/null and b/i/sh/Podarki/1 (7).gif differ diff --git a/i/sh/Podarki/1 (7).png b/i/sh/Podarki/1 (7).png new file mode 100644 index 0000000..650a1a4 Binary files /dev/null and b/i/sh/Podarki/1 (7).png differ diff --git a/i/sh/Podarki/1 (70).gif b/i/sh/Podarki/1 (70).gif new file mode 100644 index 0000000..2c5399c Binary files /dev/null and b/i/sh/Podarki/1 (70).gif differ diff --git a/i/sh/Podarki/1 (71).gif b/i/sh/Podarki/1 (71).gif new file mode 100644 index 0000000..ce08b9e Binary files /dev/null and b/i/sh/Podarki/1 (71).gif differ diff --git a/i/sh/Podarki/1 (72).gif b/i/sh/Podarki/1 (72).gif new file mode 100644 index 0000000..3c65460 Binary files /dev/null and b/i/sh/Podarki/1 (72).gif differ diff --git a/i/sh/Podarki/1 (73).gif b/i/sh/Podarki/1 (73).gif new file mode 100644 index 0000000..b0fd6bc Binary files /dev/null and b/i/sh/Podarki/1 (73).gif differ diff --git a/i/sh/Podarki/1 (74).gif b/i/sh/Podarki/1 (74).gif new file mode 100644 index 0000000..85f9379 Binary files /dev/null and b/i/sh/Podarki/1 (74).gif differ diff --git a/i/sh/Podarki/1 (75).gif b/i/sh/Podarki/1 (75).gif new file mode 100644 index 0000000..bfde37a Binary files /dev/null and b/i/sh/Podarki/1 (75).gif differ diff --git a/i/sh/Podarki/1 (76).gif b/i/sh/Podarki/1 (76).gif new file mode 100644 index 0000000..3a02d24 Binary files /dev/null and b/i/sh/Podarki/1 (76).gif differ diff --git a/i/sh/Podarki/1 (77).gif b/i/sh/Podarki/1 (77).gif new file mode 100644 index 0000000..45d65d0 Binary files /dev/null and b/i/sh/Podarki/1 (77).gif differ diff --git a/i/sh/Podarki/1 (78).gif b/i/sh/Podarki/1 (78).gif new file mode 100644 index 0000000..432aa75 Binary files /dev/null and b/i/sh/Podarki/1 (78).gif differ diff --git a/i/sh/Podarki/1 (79).gif b/i/sh/Podarki/1 (79).gif new file mode 100644 index 0000000..e0f38ee Binary files /dev/null and b/i/sh/Podarki/1 (79).gif differ diff --git a/i/sh/Podarki/1 (8).gif b/i/sh/Podarki/1 (8).gif new file mode 100644 index 0000000..06f2e9a Binary files /dev/null and b/i/sh/Podarki/1 (8).gif differ diff --git a/i/sh/Podarki/1 (8).png b/i/sh/Podarki/1 (8).png new file mode 100644 index 0000000..b599324 Binary files /dev/null and b/i/sh/Podarki/1 (8).png differ diff --git a/i/sh/Podarki/1 (80).gif b/i/sh/Podarki/1 (80).gif new file mode 100644 index 0000000..a5dabf3 Binary files /dev/null and b/i/sh/Podarki/1 (80).gif differ diff --git a/i/sh/Podarki/1 (81).gif b/i/sh/Podarki/1 (81).gif new file mode 100644 index 0000000..9d1f416 Binary files /dev/null and b/i/sh/Podarki/1 (81).gif differ diff --git a/i/sh/Podarki/1 (82).gif b/i/sh/Podarki/1 (82).gif new file mode 100644 index 0000000..5504d80 Binary files /dev/null and b/i/sh/Podarki/1 (82).gif differ diff --git a/i/sh/Podarki/1 (83).gif b/i/sh/Podarki/1 (83).gif new file mode 100644 index 0000000..b6453fb Binary files /dev/null and b/i/sh/Podarki/1 (83).gif differ diff --git a/i/sh/Podarki/1 (84).gif b/i/sh/Podarki/1 (84).gif new file mode 100644 index 0000000..d3d56c8 Binary files /dev/null and b/i/sh/Podarki/1 (84).gif differ diff --git a/i/sh/Podarki/1 (85).gif b/i/sh/Podarki/1 (85).gif new file mode 100644 index 0000000..2d7d79e Binary files /dev/null and b/i/sh/Podarki/1 (85).gif differ diff --git a/i/sh/Podarki/1 (86).gif b/i/sh/Podarki/1 (86).gif new file mode 100644 index 0000000..99e15e1 Binary files /dev/null and b/i/sh/Podarki/1 (86).gif differ diff --git a/i/sh/Podarki/1 (87).gif b/i/sh/Podarki/1 (87).gif new file mode 100644 index 0000000..79d60ef Binary files /dev/null and b/i/sh/Podarki/1 (87).gif differ diff --git a/i/sh/Podarki/1 (88).gif b/i/sh/Podarki/1 (88).gif new file mode 100644 index 0000000..993b56e Binary files /dev/null and b/i/sh/Podarki/1 (88).gif differ diff --git a/i/sh/Podarki/1 (9).gif b/i/sh/Podarki/1 (9).gif new file mode 100644 index 0000000..8a407b4 Binary files /dev/null and b/i/sh/Podarki/1 (9).gif differ diff --git a/i/sh/Podarki/1 (9).png b/i/sh/Podarki/1 (9).png new file mode 100644 index 0000000..d26c4e4 Binary files /dev/null and b/i/sh/Podarki/1 (9).png differ diff --git a/i/sh/RMercenaries.gif b/i/sh/RMercenaries.gif new file mode 100644 index 0000000..cdaf342 Binary files /dev/null and b/i/sh/RMercenaries.gif differ diff --git a/i/sh/Sword22.gif b/i/sh/Sword22.gif new file mode 100644 index 0000000..9604e1b Binary files /dev/null and b/i/sh/Sword22.gif differ diff --git a/i/sh/The-Justice.gif b/i/sh/The-Justice.gif new file mode 100644 index 0000000..491cd6d Binary files /dev/null and b/i/sh/The-Justice.gif differ diff --git a/i/sh/Torba.gif b/i/sh/Torba.gif new file mode 100644 index 0000000..6bb164d Binary files /dev/null and b/i/sh/Torba.gif differ diff --git a/i/sh/UP10.gif b/i/sh/UP10.gif new file mode 100644 index 0000000..79822e7 Binary files /dev/null and b/i/sh/UP10.gif differ diff --git a/i/sh/UP11.gif b/i/sh/UP11.gif new file mode 100644 index 0000000..56beff7 Binary files /dev/null and b/i/sh/UP11.gif differ diff --git a/i/sh/UP12.gif b/i/sh/UP12.gif new file mode 100644 index 0000000..b90c854 Binary files /dev/null and b/i/sh/UP12.gif differ diff --git a/i/sh/UP13.gif b/i/sh/UP13.gif new file mode 100644 index 0000000..14f6c92 Binary files /dev/null and b/i/sh/UP13.gif differ diff --git a/i/sh/UP8.gif b/i/sh/UP8.gif new file mode 100644 index 0000000..8e10238 Binary files /dev/null and b/i/sh/UP8.gif differ diff --git a/i/sh/UP9.gif b/i/sh/UP9.gif new file mode 100644 index 0000000..c74b8f5 Binary files /dev/null and b/i/sh/UP9.gif differ diff --git a/i/sh/WildHearts.gif b/i/sh/WildHearts.gif new file mode 100644 index 0000000..2747220 Binary files /dev/null and b/i/sh/WildHearts.gif differ diff --git a/i/sh/aamulet1.gif b/i/sh/aamulet1.gif new file mode 100644 index 0000000..e77ef91 Binary files /dev/null and b/i/sh/aamulet1.gif differ diff --git a/i/sh/aamulet11.gif b/i/sh/aamulet11.gif new file mode 100644 index 0000000..add59cd Binary files /dev/null and b/i/sh/aamulet11.gif differ diff --git a/i/sh/aamulet3_mn720s.gif b/i/sh/aamulet3_mn720s.gif new file mode 100644 index 0000000..8137ad3 Binary files /dev/null and b/i/sh/aamulet3_mn720s.gif differ diff --git a/i/sh/aamuletart.gif b/i/sh/aamuletart.gif new file mode 100644 index 0000000..22e1796 Binary files /dev/null and b/i/sh/aamuletart.gif differ diff --git a/i/sh/aarmor1.gif b/i/sh/aarmor1.gif new file mode 100644 index 0000000..e59f3ee Binary files /dev/null and b/i/sh/aarmor1.gif differ diff --git a/i/sh/aarmor2.gif b/i/sh/aarmor2.gif new file mode 100644 index 0000000..de89c6a Binary files /dev/null and b/i/sh/aarmor2.gif differ diff --git a/i/sh/aarmor21.gif b/i/sh/aarmor21.gif new file mode 100644 index 0000000..de89c6a Binary files /dev/null and b/i/sh/aarmor21.gif differ diff --git a/i/sh/aarmor3_1.gif b/i/sh/aarmor3_1.gif new file mode 100644 index 0000000..9897e91 Binary files /dev/null and b/i/sh/aarmor3_1.gif differ diff --git a/i/sh/aarmor4.gif b/i/sh/aarmor4.gif new file mode 100644 index 0000000..8ead989 Binary files /dev/null and b/i/sh/aarmor4.gif differ diff --git a/i/sh/aarmorhaos.gif b/i/sh/aarmorhaos.gif new file mode 100644 index 0000000..de89c6a Binary files /dev/null and b/i/sh/aarmorhaos.gif differ diff --git a/i/sh/aaxe20.gif b/i/sh/aaxe20.gif new file mode 100644 index 0000000..c554ace Binary files /dev/null and b/i/sh/aaxe20.gif differ diff --git a/i/sh/aaxe5.gif b/i/sh/aaxe5.gif new file mode 100644 index 0000000..210fb4f Binary files /dev/null and b/i/sh/aaxe5.gif differ diff --git a/i/sh/aaxehaos1.gif b/i/sh/aaxehaos1.gif new file mode 100644 index 0000000..30cfeed Binary files /dev/null and b/i/sh/aaxehaos1.gif differ diff --git a/i/sh/abook1.gif b/i/sh/abook1.gif new file mode 100644 index 0000000..2ab1e3e Binary files /dev/null and b/i/sh/abook1.gif differ diff --git a/i/sh/abook1_nonereg.gif b/i/sh/abook1_nonereg.gif new file mode 100644 index 0000000..1994e0f Binary files /dev/null and b/i/sh/abook1_nonereg.gif differ diff --git a/i/sh/abook1_reg.gif b/i/sh/abook1_reg.gif new file mode 100644 index 0000000..f92c6d1 Binary files /dev/null and b/i/sh/abook1_reg.gif differ diff --git a/i/sh/abook1_reg1.gif b/i/sh/abook1_reg1.gif new file mode 100644 index 0000000..37755ab Binary files /dev/null and b/i/sh/abook1_reg1.gif differ diff --git a/i/sh/abook1_reg10.gif b/i/sh/abook1_reg10.gif new file mode 100644 index 0000000..f8105f2 Binary files /dev/null and b/i/sh/abook1_reg10.gif differ diff --git a/i/sh/abook1_reg11.gif b/i/sh/abook1_reg11.gif new file mode 100644 index 0000000..5724604 Binary files /dev/null and b/i/sh/abook1_reg11.gif differ diff --git a/i/sh/abook1_reg12.gif b/i/sh/abook1_reg12.gif new file mode 100644 index 0000000..a162560 Binary files /dev/null and b/i/sh/abook1_reg12.gif differ diff --git a/i/sh/abook1_reg13.gif b/i/sh/abook1_reg13.gif new file mode 100644 index 0000000..584ba0a Binary files /dev/null and b/i/sh/abook1_reg13.gif differ diff --git a/i/sh/abook1_reg14.gif b/i/sh/abook1_reg14.gif new file mode 100644 index 0000000..5640f31 Binary files /dev/null and b/i/sh/abook1_reg14.gif differ diff --git a/i/sh/abook1_reg15.gif b/i/sh/abook1_reg15.gif new file mode 100644 index 0000000..0105cc2 Binary files /dev/null and b/i/sh/abook1_reg15.gif differ diff --git a/i/sh/abook1_reg2.gif b/i/sh/abook1_reg2.gif new file mode 100644 index 0000000..c3ae069 Binary files /dev/null and b/i/sh/abook1_reg2.gif differ diff --git a/i/sh/abook1_reg3.gif b/i/sh/abook1_reg3.gif new file mode 100644 index 0000000..24630d5 Binary files /dev/null and b/i/sh/abook1_reg3.gif differ diff --git a/i/sh/abook1_reg4.gif b/i/sh/abook1_reg4.gif new file mode 100644 index 0000000..1ab55b9 Binary files /dev/null and b/i/sh/abook1_reg4.gif differ diff --git a/i/sh/abook1_reg5.gif b/i/sh/abook1_reg5.gif new file mode 100644 index 0000000..2dcde63 Binary files /dev/null and b/i/sh/abook1_reg5.gif differ diff --git a/i/sh/abook1_reg6.gif b/i/sh/abook1_reg6.gif new file mode 100644 index 0000000..a3235e3 Binary files /dev/null and b/i/sh/abook1_reg6.gif differ diff --git a/i/sh/abook1_reg7.gif b/i/sh/abook1_reg7.gif new file mode 100644 index 0000000..e6b48a2 Binary files /dev/null and b/i/sh/abook1_reg7.gif differ diff --git a/i/sh/abook1_reg8.gif b/i/sh/abook1_reg8.gif new file mode 100644 index 0000000..fc57690 Binary files /dev/null and b/i/sh/abook1_reg8.gif differ diff --git a/i/sh/abook1_reg9.gif b/i/sh/abook1_reg9.gif new file mode 100644 index 0000000..97ea8d4 Binary files /dev/null and b/i/sh/abook1_reg9.gif differ diff --git a/i/sh/abook2.gif b/i/sh/abook2.gif new file mode 100644 index 0000000..1eb901b Binary files /dev/null and b/i/sh/abook2.gif differ diff --git a/i/sh/abook2_nonereg.gif b/i/sh/abook2_nonereg.gif new file mode 100644 index 0000000..8b08bfc Binary files /dev/null and b/i/sh/abook2_nonereg.gif differ diff --git a/i/sh/abook2_reg.gif b/i/sh/abook2_reg.gif new file mode 100644 index 0000000..31570d4 Binary files /dev/null and b/i/sh/abook2_reg.gif differ diff --git a/i/sh/abook3.gif b/i/sh/abook3.gif new file mode 100644 index 0000000..9a31ae1 Binary files /dev/null and b/i/sh/abook3.gif differ diff --git a/i/sh/abook3_nonereg.gif b/i/sh/abook3_nonereg.gif new file mode 100644 index 0000000..9eb006d Binary files /dev/null and b/i/sh/abook3_nonereg.gif differ diff --git a/i/sh/abook3_reg.gif b/i/sh/abook3_reg.gif new file mode 100644 index 0000000..75afb69 Binary files /dev/null and b/i/sh/abook3_reg.gif differ diff --git a/i/sh/abootsdarkclan.gif b/i/sh/abootsdarkclan.gif new file mode 100644 index 0000000..ed98b65 Binary files /dev/null and b/i/sh/abootsdarkclan.gif differ diff --git a/i/sh/abootshaos.gif b/i/sh/abootshaos.gif new file mode 100644 index 0000000..ec7c67d Binary files /dev/null and b/i/sh/abootshaos.gif differ diff --git a/i/sh/aclip1.gif b/i/sh/aclip1.gif new file mode 100644 index 0000000..4287499 Binary files /dev/null and b/i/sh/aclip1.gif differ diff --git a/i/sh/aflower.gif b/i/sh/aflower.gif new file mode 100644 index 0000000..24b45ca Binary files /dev/null and b/i/sh/aflower.gif differ diff --git a/i/sh/agloves1.gif b/i/sh/agloves1.gif new file mode 100644 index 0000000..77aa211 Binary files /dev/null and b/i/sh/agloves1.gif differ diff --git a/i/sh/ahammer22.gif b/i/sh/ahammer22.gif new file mode 100644 index 0000000..abfe870 Binary files /dev/null and b/i/sh/ahammer22.gif differ diff --git a/i/sh/ahammer23.gif b/i/sh/ahammer23.gif new file mode 100644 index 0000000..744dbc8 Binary files /dev/null and b/i/sh/ahammer23.gif differ diff --git a/i/sh/ahelmet1.gif b/i/sh/ahelmet1.gif new file mode 100644 index 0000000..6421dbe Binary files /dev/null and b/i/sh/ahelmet1.gif differ diff --git a/i/sh/ahelmet16.gif b/i/sh/ahelmet16.gif new file mode 100644 index 0000000..6421dbe Binary files /dev/null and b/i/sh/ahelmet16.gif differ diff --git a/i/sh/ahelmet1_l10.gif b/i/sh/ahelmet1_l10.gif new file mode 100644 index 0000000..6421dbe Binary files /dev/null and b/i/sh/ahelmet1_l10.gif differ diff --git a/i/sh/ahelmet2.gif b/i/sh/ahelmet2.gif new file mode 100644 index 0000000..efc3ee3 Binary files /dev/null and b/i/sh/ahelmet2.gif differ diff --git a/i/sh/ahelmet3_1.gif b/i/sh/ahelmet3_1.gif new file mode 100644 index 0000000..ff086b3 Binary files /dev/null and b/i/sh/ahelmet3_1.gif differ diff --git a/i/sh/ahelmet4.gif b/i/sh/ahelmet4.gif new file mode 100644 index 0000000..4f880f0 Binary files /dev/null and b/i/sh/ahelmet4.gif differ diff --git a/i/sh/akinzhal_paranormal.gif b/i/sh/akinzhal_paranormal.gif new file mode 100644 index 0000000..109cb93 Binary files /dev/null and b/i/sh/akinzhal_paranormal.gif differ diff --git a/i/sh/aknife1.gif b/i/sh/aknife1.gif new file mode 100644 index 0000000..d3b4876 Binary files /dev/null and b/i/sh/aknife1.gif differ diff --git a/i/sh/aknife2.gif b/i/sh/aknife2.gif new file mode 100644 index 0000000..ebf9b2b Binary files /dev/null and b/i/sh/aknife2.gif differ diff --git a/i/sh/aktivnayainta.gif b/i/sh/aktivnayainta.gif new file mode 100644 index 0000000..d11064e Binary files /dev/null and b/i/sh/aktivnayainta.gif differ diff --git a/i/sh/aktivnayalovkost.gif b/i/sh/aktivnayalovkost.gif new file mode 100644 index 0000000..904e915 Binary files /dev/null and b/i/sh/aktivnayalovkost.gif differ diff --git a/i/sh/almaz.gif b/i/sh/almaz.gif new file mode 100644 index 0000000..3f47cbe Binary files /dev/null and b/i/sh/almaz.gif differ diff --git a/i/sh/amoloart.gif b/i/sh/amoloart.gif new file mode 100644 index 0000000..27d1516 Binary files /dev/null and b/i/sh/amoloart.gif differ diff --git a/i/sh/amolot1.gif b/i/sh/amolot1.gif new file mode 100644 index 0000000..27d1516 Binary files /dev/null and b/i/sh/amolot1.gif differ diff --git a/i/sh/amulet1.gif b/i/sh/amulet1.gif new file mode 100644 index 0000000..eddae76 Binary files /dev/null and b/i/sh/amulet1.gif differ diff --git a/i/sh/amulet10.gif b/i/sh/amulet10.gif new file mode 100644 index 0000000..351153d Binary files /dev/null and b/i/sh/amulet10.gif differ diff --git a/i/sh/amulet107_1.gif b/i/sh/amulet107_1.gif new file mode 100644 index 0000000..d78744f Binary files /dev/null and b/i/sh/amulet107_1.gif differ diff --git a/i/sh/amulet111.gif b/i/sh/amulet111.gif new file mode 100644 index 0000000..8f3af42 Binary files /dev/null and b/i/sh/amulet111.gif differ diff --git a/i/sh/amulet1113.gif b/i/sh/amulet1113.gif new file mode 100644 index 0000000..6e826e5 Binary files /dev/null and b/i/sh/amulet1113.gif differ diff --git a/i/sh/amulet112.gif b/i/sh/amulet112.gif new file mode 100644 index 0000000..c6680d4 Binary files /dev/null and b/i/sh/amulet112.gif differ diff --git a/i/sh/amulet113.gif b/i/sh/amulet113.gif new file mode 100644 index 0000000..6e826e5 Binary files /dev/null and b/i/sh/amulet113.gif differ diff --git a/i/sh/amulet1211.gif b/i/sh/amulet1211.gif new file mode 100644 index 0000000..38d72c7 Binary files /dev/null and b/i/sh/amulet1211.gif differ diff --git a/i/sh/amulet2.gif b/i/sh/amulet2.gif new file mode 100644 index 0000000..691dccd Binary files /dev/null and b/i/sh/amulet2.gif differ diff --git a/i/sh/amulet20.gif b/i/sh/amulet20.gif new file mode 100644 index 0000000..d835724 Binary files /dev/null and b/i/sh/amulet20.gif differ diff --git a/i/sh/amulet25.gif b/i/sh/amulet25.gif new file mode 100644 index 0000000..04234b9 Binary files /dev/null and b/i/sh/amulet25.gif differ diff --git a/i/sh/amulet26.gif b/i/sh/amulet26.gif new file mode 100644 index 0000000..8f10a76 Binary files /dev/null and b/i/sh/amulet26.gif differ diff --git a/i/sh/amulet27.gif b/i/sh/amulet27.gif new file mode 100644 index 0000000..e3785e6 Binary files /dev/null and b/i/sh/amulet27.gif differ diff --git a/i/sh/amulet3.gif b/i/sh/amulet3.gif new file mode 100644 index 0000000..da7a10d Binary files /dev/null and b/i/sh/amulet3.gif differ diff --git a/i/sh/amulet35.gif b/i/sh/amulet35.gif new file mode 100644 index 0000000..d322c22 Binary files /dev/null and b/i/sh/amulet35.gif differ diff --git a/i/sh/amulet3864.gif b/i/sh/amulet3864.gif new file mode 100644 index 0000000..612d182 Binary files /dev/null and b/i/sh/amulet3864.gif differ diff --git a/i/sh/amulet4.gif b/i/sh/amulet4.gif new file mode 100644 index 0000000..8706cb3 Binary files /dev/null and b/i/sh/amulet4.gif differ diff --git a/i/sh/amulet5.gif b/i/sh/amulet5.gif new file mode 100644 index 0000000..ea587dd Binary files /dev/null and b/i/sh/amulet5.gif differ diff --git a/i/sh/amulet50.gif b/i/sh/amulet50.gif new file mode 100644 index 0000000..0e002af Binary files /dev/null and b/i/sh/amulet50.gif differ diff --git a/i/sh/amulet56.gif b/i/sh/amulet56.gif new file mode 100644 index 0000000..70d99dc Binary files /dev/null and b/i/sh/amulet56.gif differ diff --git a/i/sh/amulet6.gif b/i/sh/amulet6.gif new file mode 100644 index 0000000..c0ff794 Binary files /dev/null and b/i/sh/amulet6.gif differ diff --git a/i/sh/amulet61.gif b/i/sh/amulet61.gif new file mode 100644 index 0000000..0efc591 Binary files /dev/null and b/i/sh/amulet61.gif differ diff --git a/i/sh/amulet64.gif b/i/sh/amulet64.gif new file mode 100644 index 0000000..ab24709 Binary files /dev/null and b/i/sh/amulet64.gif differ diff --git a/i/sh/amulet66.gif b/i/sh/amulet66.gif new file mode 100644 index 0000000..461d3a1 Binary files /dev/null and b/i/sh/amulet66.gif differ diff --git a/i/sh/amulet68.gif b/i/sh/amulet68.gif new file mode 100644 index 0000000..88cb5b0 Binary files /dev/null and b/i/sh/amulet68.gif differ diff --git a/i/sh/amulet69.gif b/i/sh/amulet69.gif new file mode 100644 index 0000000..2a14ee8 Binary files /dev/null and b/i/sh/amulet69.gif differ diff --git a/i/sh/amulet7.gif b/i/sh/amulet7.gif new file mode 100644 index 0000000..dc78439 Binary files /dev/null and b/i/sh/amulet7.gif differ diff --git a/i/sh/amulet71.gif b/i/sh/amulet71.gif new file mode 100644 index 0000000..78be43b Binary files /dev/null and b/i/sh/amulet71.gif differ diff --git a/i/sh/amulet72.gif b/i/sh/amulet72.gif new file mode 100644 index 0000000..a45b204 Binary files /dev/null and b/i/sh/amulet72.gif differ diff --git a/i/sh/amulet72u.gif b/i/sh/amulet72u.gif new file mode 100644 index 0000000..9b31063 Binary files /dev/null and b/i/sh/amulet72u.gif differ diff --git a/i/sh/amulet75.gif b/i/sh/amulet75.gif new file mode 100644 index 0000000..f203588 Binary files /dev/null and b/i/sh/amulet75.gif differ diff --git a/i/sh/amulet76.gif b/i/sh/amulet76.gif new file mode 100644 index 0000000..f2c1b36 Binary files /dev/null and b/i/sh/amulet76.gif differ diff --git a/i/sh/amulet77.gif b/i/sh/amulet77.gif new file mode 100644 index 0000000..4752ef7 Binary files /dev/null and b/i/sh/amulet77.gif differ diff --git a/i/sh/amulet78.gif b/i/sh/amulet78.gif new file mode 100644 index 0000000..47bf64e Binary files /dev/null and b/i/sh/amulet78.gif differ diff --git a/i/sh/amulet8.gif b/i/sh/amulet8.gif new file mode 100644 index 0000000..b1d9f87 Binary files /dev/null and b/i/sh/amulet8.gif differ diff --git a/i/sh/amulet80.gif b/i/sh/amulet80.gif new file mode 100644 index 0000000..4719fbc Binary files /dev/null and b/i/sh/amulet80.gif differ diff --git a/i/sh/amulet81.gif b/i/sh/amulet81.gif new file mode 100644 index 0000000..485ac0a Binary files /dev/null and b/i/sh/amulet81.gif differ diff --git a/i/sh/amulet83_du2.gif b/i/sh/amulet83_du2.gif new file mode 100644 index 0000000..c33270d Binary files /dev/null and b/i/sh/amulet83_du2.gif differ diff --git a/i/sh/amulet9.gif b/i/sh/amulet9.gif new file mode 100644 index 0000000..87c04ec Binary files /dev/null and b/i/sh/amulet9.gif differ diff --git a/i/sh/amulet90.gif b/i/sh/amulet90.gif new file mode 100644 index 0000000..bceacb7 Binary files /dev/null and b/i/sh/amulet90.gif differ diff --git a/i/sh/amulet91.gif b/i/sh/amulet91.gif new file mode 100644 index 0000000..62b02a8 Binary files /dev/null and b/i/sh/amulet91.gif differ diff --git a/i/sh/amulet97.gif b/i/sh/amulet97.gif new file mode 100644 index 0000000..fa15a6c Binary files /dev/null and b/i/sh/amulet97.gif differ diff --git a/i/sh/amulet98.gif b/i/sh/amulet98.gif new file mode 100644 index 0000000..4ba4851 Binary files /dev/null and b/i/sh/amulet98.gif differ diff --git a/i/sh/amulet_illusion1.gif b/i/sh/amulet_illusion1.gif new file mode 100644 index 0000000..b017f55 Binary files /dev/null and b/i/sh/amulet_illusion1.gif differ diff --git a/i/sh/amuleta11.gif b/i/sh/amuleta11.gif new file mode 100644 index 0000000..0a44478 Binary files /dev/null and b/i/sh/amuleta11.gif differ diff --git a/i/sh/anaruchi3_get.gif b/i/sh/anaruchi3_get.gif new file mode 100644 index 0000000..139c202 Binary files /dev/null and b/i/sh/anaruchi3_get.gif differ diff --git a/i/sh/androlix.png b/i/sh/androlix.png new file mode 100644 index 0000000..732f64e Binary files /dev/null and b/i/sh/androlix.png differ diff --git a/i/sh/antimirror.gif b/i/sh/antimirror.gif new file mode 100644 index 0000000..59142c1 Binary files /dev/null and b/i/sh/antimirror.gif differ diff --git a/i/sh/aperchikipers.gif b/i/sh/aperchikipers.gif new file mode 100644 index 0000000..9352a37 Binary files /dev/null and b/i/sh/aperchikipers.gif differ diff --git a/i/sh/aperchimerk.gif b/i/sh/aperchimerk.gif new file mode 100644 index 0000000..930676e Binary files /dev/null and b/i/sh/aperchimerk.gif differ diff --git a/i/sh/aperchimib.gif b/i/sh/aperchimib.gif new file mode 100644 index 0000000..023bea5 Binary files /dev/null and b/i/sh/aperchimib.gif differ diff --git a/i/sh/aring1.99.gif b/i/sh/aring1.99.gif new file mode 100644 index 0000000..7099621 Binary files /dev/null and b/i/sh/aring1.99.gif differ diff --git a/i/sh/aring11.gif b/i/sh/aring11.gif new file mode 100644 index 0000000..7639410 Binary files /dev/null and b/i/sh/aring11.gif differ diff --git a/i/sh/aring12.gif b/i/sh/aring12.gif new file mode 100644 index 0000000..7a2dce7 Binary files /dev/null and b/i/sh/aring12.gif differ diff --git a/i/sh/aring20.gif b/i/sh/aring20.gif new file mode 100644 index 0000000..2d80298 Binary files /dev/null and b/i/sh/aring20.gif differ diff --git a/i/sh/aring2038.gif b/i/sh/aring2038.gif new file mode 100644 index 0000000..e463dc7 Binary files /dev/null and b/i/sh/aring2038.gif differ diff --git a/i/sh/aring2106.gif b/i/sh/aring2106.gif new file mode 100644 index 0000000..c27025b Binary files /dev/null and b/i/sh/aring2106.gif differ diff --git a/i/sh/aring300.gif b/i/sh/aring300.gif new file mode 100644 index 0000000..f108829 Binary files /dev/null and b/i/sh/aring300.gif differ diff --git a/i/sh/aring3299.gif b/i/sh/aring3299.gif new file mode 100644 index 0000000..cdf08d8 Binary files /dev/null and b/i/sh/aring3299.gif differ diff --git a/i/sh/aring4068.gif b/i/sh/aring4068.gif new file mode 100644 index 0000000..ed0ffeb Binary files /dev/null and b/i/sh/aring4068.gif differ diff --git a/i/sh/aring4644.gif b/i/sh/aring4644.gif new file mode 100644 index 0000000..b8658b2 Binary files /dev/null and b/i/sh/aring4644.gif differ diff --git a/i/sh/aring4834.gif b/i/sh/aring4834.gif new file mode 100644 index 0000000..1266d85 Binary files /dev/null and b/i/sh/aring4834.gif differ diff --git a/i/sh/aring5.gif b/i/sh/aring5.gif new file mode 100644 index 0000000..4aa37b4 Binary files /dev/null and b/i/sh/aring5.gif differ diff --git a/i/sh/aring600.gif b/i/sh/aring600.gif new file mode 100644 index 0000000..0d6cdb8 Binary files /dev/null and b/i/sh/aring600.gif differ diff --git a/i/sh/aring7944.gif b/i/sh/aring7944.gif new file mode 100644 index 0000000..50cce72 Binary files /dev/null and b/i/sh/aring7944.gif differ diff --git a/i/sh/aring8.gif b/i/sh/aring8.gif new file mode 100644 index 0000000..9d64b03 Binary files /dev/null and b/i/sh/aring8.gif differ diff --git a/i/sh/aring_ds.gif b/i/sh/aring_ds.gif new file mode 100644 index 0000000..827ea4b Binary files /dev/null and b/i/sh/aring_ds.gif differ diff --git a/i/sh/aringart.gif b/i/sh/aringart.gif new file mode 100644 index 0000000..618fc0a Binary files /dev/null and b/i/sh/aringart.gif differ diff --git a/i/sh/aringdarkclan.gif b/i/sh/aringdarkclan.gif new file mode 100644 index 0000000..dffecf7 Binary files /dev/null and b/i/sh/aringdarkclan.gif differ diff --git a/i/sh/aringhaiducii.gif b/i/sh/aringhaiducii.gif new file mode 100644 index 0000000..9ab3e76 Binary files /dev/null and b/i/sh/aringhaiducii.gif differ diff --git a/i/sh/aringkeepers.gif b/i/sh/aringkeepers.gif new file mode 100644 index 0000000..c954fc2 Binary files /dev/null and b/i/sh/aringkeepers.gif differ diff --git a/i/sh/aringled.gif b/i/sh/aringled.gif new file mode 100644 index 0000000..9d64b03 Binary files /dev/null and b/i/sh/aringled.gif differ diff --git a/i/sh/aringmibs.gif b/i/sh/aringmibs.gif new file mode 100644 index 0000000..75dbb5f Binary files /dev/null and b/i/sh/aringmibs.gif differ diff --git a/i/sh/aringpadomki.gif b/i/sh/aringpadomki.gif new file mode 100644 index 0000000..b60b5c2 Binary files /dev/null and b/i/sh/aringpadomki.gif differ diff --git a/i/sh/aringtabularasa.gif b/i/sh/aringtabularasa.gif new file mode 100644 index 0000000..0a28376 Binary files /dev/null and b/i/sh/aringtabularasa.gif differ diff --git a/i/sh/aringwh.gif b/i/sh/aringwh.gif new file mode 100644 index 0000000..9e8ec15 Binary files /dev/null and b/i/sh/aringwh.gif differ diff --git a/i/sh/aringzak.gif b/i/sh/aringzak.gif new file mode 100644 index 0000000..316912b Binary files /dev/null and b/i/sh/aringzak.gif differ diff --git a/i/sh/armor101.gif b/i/sh/armor101.gif new file mode 100644 index 0000000..70cbf5a Binary files /dev/null and b/i/sh/armor101.gif differ diff --git a/i/sh/armor104.gif b/i/sh/armor104.gif new file mode 100644 index 0000000..fc8bfc5 Binary files /dev/null and b/i/sh/armor104.gif differ diff --git a/i/sh/armor104u.gif b/i/sh/armor104u.gif new file mode 100644 index 0000000..4b7e224 Binary files /dev/null and b/i/sh/armor104u.gif differ diff --git a/i/sh/armor105.gif b/i/sh/armor105.gif new file mode 100644 index 0000000..9342c35 Binary files /dev/null and b/i/sh/armor105.gif differ diff --git a/i/sh/armor106.gif b/i/sh/armor106.gif new file mode 100644 index 0000000..9a89990 Binary files /dev/null and b/i/sh/armor106.gif differ diff --git a/i/sh/armor107.gif b/i/sh/armor107.gif new file mode 100644 index 0000000..54363f1 Binary files /dev/null and b/i/sh/armor107.gif differ diff --git a/i/sh/armor108.gif b/i/sh/armor108.gif new file mode 100644 index 0000000..70ee745 Binary files /dev/null and b/i/sh/armor108.gif differ diff --git a/i/sh/armor108_du1.gif b/i/sh/armor108_du1.gif new file mode 100644 index 0000000..252dccd Binary files /dev/null and b/i/sh/armor108_du1.gif differ diff --git a/i/sh/armor109.gif b/i/sh/armor109.gif new file mode 100644 index 0000000..aa4cf8d Binary files /dev/null and b/i/sh/armor109.gif differ diff --git a/i/sh/armor11.gif b/i/sh/armor11.gif new file mode 100644 index 0000000..d1c9b6d Binary files /dev/null and b/i/sh/armor11.gif differ diff --git a/i/sh/armor1113.gif b/i/sh/armor1113.gif new file mode 100644 index 0000000..e66c243 Binary files /dev/null and b/i/sh/armor1113.gif differ diff --git a/i/sh/armor112.gif b/i/sh/armor112.gif new file mode 100644 index 0000000..62d0181 Binary files /dev/null and b/i/sh/armor112.gif differ diff --git a/i/sh/armor113.gif b/i/sh/armor113.gif new file mode 100644 index 0000000..4853187 Binary files /dev/null and b/i/sh/armor113.gif differ diff --git a/i/sh/armor12.gif b/i/sh/armor12.gif new file mode 100644 index 0000000..d30a623 Binary files /dev/null and b/i/sh/armor12.gif differ diff --git a/i/sh/armor1211.gif b/i/sh/armor1211.gif new file mode 100644 index 0000000..f9d33a2 Binary files /dev/null and b/i/sh/armor1211.gif differ diff --git a/i/sh/armor2.gif b/i/sh/armor2.gif new file mode 100644 index 0000000..18a3334 Binary files /dev/null and b/i/sh/armor2.gif differ diff --git a/i/sh/armor201.gif b/i/sh/armor201.gif new file mode 100644 index 0000000..98d75c4 Binary files /dev/null and b/i/sh/armor201.gif differ diff --git a/i/sh/armor201u.gif b/i/sh/armor201u.gif new file mode 100644 index 0000000..c8bced9 Binary files /dev/null and b/i/sh/armor201u.gif differ diff --git a/i/sh/armor202.gif b/i/sh/armor202.gif new file mode 100644 index 0000000..f1d4530 Binary files /dev/null and b/i/sh/armor202.gif differ diff --git a/i/sh/armor202u.gif b/i/sh/armor202u.gif new file mode 100644 index 0000000..4d89d8b Binary files /dev/null and b/i/sh/armor202u.gif differ diff --git a/i/sh/armor205.gif b/i/sh/armor205.gif new file mode 100644 index 0000000..b744b7b Binary files /dev/null and b/i/sh/armor205.gif differ diff --git a/i/sh/armor205u.gif b/i/sh/armor205u.gif new file mode 100644 index 0000000..bf1251f Binary files /dev/null and b/i/sh/armor205u.gif differ diff --git a/i/sh/armor3.gif b/i/sh/armor3.gif new file mode 100644 index 0000000..4450222 Binary files /dev/null and b/i/sh/armor3.gif differ diff --git a/i/sh/armor35.gif b/i/sh/armor35.gif new file mode 100644 index 0000000..acb8eb1 Binary files /dev/null and b/i/sh/armor35.gif differ diff --git a/i/sh/armor36.gif b/i/sh/armor36.gif new file mode 100644 index 0000000..f6b9d21 Binary files /dev/null and b/i/sh/armor36.gif differ diff --git a/i/sh/armor37.gif b/i/sh/armor37.gif new file mode 100644 index 0000000..3a4ffbf Binary files /dev/null and b/i/sh/armor37.gif differ diff --git a/i/sh/armor38.gif b/i/sh/armor38.gif new file mode 100644 index 0000000..898bf34 Binary files /dev/null and b/i/sh/armor38.gif differ diff --git a/i/sh/armor4.gif b/i/sh/armor4.gif new file mode 100644 index 0000000..10a3513 Binary files /dev/null and b/i/sh/armor4.gif differ diff --git a/i/sh/armor5.gif b/i/sh/armor5.gif new file mode 100644 index 0000000..8550dda Binary files /dev/null and b/i/sh/armor5.gif differ diff --git a/i/sh/armor6.gif b/i/sh/armor6.gif new file mode 100644 index 0000000..bd1acd6 Binary files /dev/null and b/i/sh/armor6.gif differ diff --git a/i/sh/armor70.gif b/i/sh/armor70.gif new file mode 100644 index 0000000..94f9936 Binary files /dev/null and b/i/sh/armor70.gif differ diff --git a/i/sh/armor78.gif b/i/sh/armor78.gif new file mode 100644 index 0000000..7b638b1 Binary files /dev/null and b/i/sh/armor78.gif differ diff --git a/i/sh/armor8.gif b/i/sh/armor8.gif new file mode 100644 index 0000000..5ecad7f Binary files /dev/null and b/i/sh/armor8.gif differ diff --git a/i/sh/armor84.gif b/i/sh/armor84.gif new file mode 100644 index 0000000..c88fe45 Binary files /dev/null and b/i/sh/armor84.gif differ diff --git a/i/sh/armor88.gif b/i/sh/armor88.gif new file mode 100644 index 0000000..fd1fc90 Binary files /dev/null and b/i/sh/armor88.gif differ diff --git a/i/sh/armor901.gif b/i/sh/armor901.gif new file mode 100644 index 0000000..d33c082 Binary files /dev/null and b/i/sh/armor901.gif differ diff --git a/i/sh/armor92.gif b/i/sh/armor92.gif new file mode 100644 index 0000000..03e29b3 Binary files /dev/null and b/i/sh/armor92.gif differ diff --git a/i/sh/armor97.gif b/i/sh/armor97.gif new file mode 100644 index 0000000..fa9e27d Binary files /dev/null and b/i/sh/armor97.gif differ diff --git a/i/sh/armora11.gif b/i/sh/armora11.gif new file mode 100644 index 0000000..23a5bbb Binary files /dev/null and b/i/sh/armora11.gif differ diff --git a/i/sh/armorl1.gif b/i/sh/armorl1.gif new file mode 100644 index 0000000..547092d Binary files /dev/null and b/i/sh/armorl1.gif differ diff --git a/i/sh/arrmordarkclan.gif b/i/sh/arrmordarkclan.gif new file mode 100644 index 0000000..13fe99d Binary files /dev/null and b/i/sh/arrmordarkclan.gif differ diff --git a/i/sh/art_b_ser.gif b/i/sh/art_b_ser.gif new file mode 100644 index 0000000..04c2179 Binary files /dev/null and b/i/sh/art_b_ser.gif differ diff --git a/i/sh/asekira_paranormal.gif b/i/sh/asekira_paranormal.gif new file mode 100644 index 0000000..e16ec4c Binary files /dev/null and b/i/sh/asekira_paranormal.gif differ diff --git a/i/sh/ashield1.gif b/i/sh/ashield1.gif new file mode 100644 index 0000000..958286d Binary files /dev/null and b/i/sh/ashield1.gif differ diff --git a/i/sh/ashield3.gif b/i/sh/ashield3.gif new file mode 100644 index 0000000..128aa28 Binary files /dev/null and b/i/sh/ashield3.gif differ diff --git a/i/sh/ashield4.gif b/i/sh/ashield4.gif new file mode 100644 index 0000000..15f8be7 Binary files /dev/null and b/i/sh/ashield4.gif differ diff --git a/i/sh/ashield47.gif b/i/sh/ashield47.gif new file mode 100644 index 0000000..723a898 Binary files /dev/null and b/i/sh/ashield47.gif differ diff --git a/i/sh/ashielddarkclan.gif b/i/sh/ashielddarkclan.gif new file mode 100644 index 0000000..75e1471 Binary files /dev/null and b/i/sh/ashielddarkclan.gif differ diff --git a/i/sh/asword20.gif b/i/sh/asword20.gif new file mode 100644 index 0000000..fdbfe97 Binary files /dev/null and b/i/sh/asword20.gif differ diff --git a/i/sh/asword3.gif b/i/sh/asword3.gif new file mode 100644 index 0000000..fa8a6ee Binary files /dev/null and b/i/sh/asword3.gif differ diff --git a/i/sh/asword31.gif b/i/sh/asword31.gif new file mode 100644 index 0000000..fa8a6ee Binary files /dev/null and b/i/sh/asword31.gif differ diff --git a/i/sh/asword4.gif b/i/sh/asword4.gif new file mode 100644 index 0000000..e3f7b4a Binary files /dev/null and b/i/sh/asword4.gif differ diff --git a/i/sh/asword41.gif b/i/sh/asword41.gif new file mode 100644 index 0000000..e3f7b4a Binary files /dev/null and b/i/sh/asword41.gif differ diff --git a/i/sh/attack.gif b/i/sh/attack.gif new file mode 100644 index 0000000..1f379bd Binary files /dev/null and b/i/sh/attack.gif differ diff --git a/i/sh/attackb.gif b/i/sh/attackb.gif new file mode 100644 index 0000000..d5be0e0 Binary files /dev/null and b/i/sh/attackb.gif differ diff --git a/i/sh/attackk.gif b/i/sh/attackk.gif new file mode 100644 index 0000000..44ae550 Binary files /dev/null and b/i/sh/attackk.gif differ diff --git a/i/sh/avalon_card_01.gif b/i/sh/avalon_card_01.gif new file mode 100644 index 0000000..55da103 Binary files /dev/null and b/i/sh/avalon_card_01.gif differ diff --git a/i/sh/avalon_card_02.gif b/i/sh/avalon_card_02.gif new file mode 100644 index 0000000..dfa89b2 Binary files /dev/null and b/i/sh/avalon_card_02.gif differ diff --git a/i/sh/avalon_card_03.gif b/i/sh/avalon_card_03.gif new file mode 100644 index 0000000..d4d600a Binary files /dev/null and b/i/sh/avalon_card_03.gif differ diff --git a/i/sh/avalon_card_04.gif b/i/sh/avalon_card_04.gif new file mode 100644 index 0000000..2455e9f Binary files /dev/null and b/i/sh/avalon_card_04.gif differ diff --git a/i/sh/avalon_card_05.gif b/i/sh/avalon_card_05.gif new file mode 100644 index 0000000..44cb276 Binary files /dev/null and b/i/sh/avalon_card_05.gif differ diff --git a/i/sh/avalon_card_06.gif b/i/sh/avalon_card_06.gif new file mode 100644 index 0000000..4ac7369 Binary files /dev/null and b/i/sh/avalon_card_06.gif differ diff --git a/i/sh/avalon_card_07.gif b/i/sh/avalon_card_07.gif new file mode 100644 index 0000000..7e8ff05 Binary files /dev/null and b/i/sh/avalon_card_07.gif differ diff --git a/i/sh/avalon_card_08.gif b/i/sh/avalon_card_08.gif new file mode 100644 index 0000000..16ff98f Binary files /dev/null and b/i/sh/avalon_card_08.gif differ diff --git a/i/sh/avalon_card_10.gif b/i/sh/avalon_card_10.gif new file mode 100644 index 0000000..c2c7844 Binary files /dev/null and b/i/sh/avalon_card_10.gif differ diff --git a/i/sh/avalon_card_11.gif b/i/sh/avalon_card_11.gif new file mode 100644 index 0000000..2477aaa Binary files /dev/null and b/i/sh/avalon_card_11.gif differ diff --git a/i/sh/avalon_card_12.gif b/i/sh/avalon_card_12.gif new file mode 100644 index 0000000..7bdb10f Binary files /dev/null and b/i/sh/avalon_card_12.gif differ diff --git a/i/sh/avalon_card_13.gif b/i/sh/avalon_card_13.gif new file mode 100644 index 0000000..d60f59e Binary files /dev/null and b/i/sh/avalon_card_13.gif differ diff --git a/i/sh/avalon_card_14.gif b/i/sh/avalon_card_14.gif new file mode 100644 index 0000000..4401613 Binary files /dev/null and b/i/sh/avalon_card_14.gif differ diff --git a/i/sh/avalon_card_15.gif b/i/sh/avalon_card_15.gif new file mode 100644 index 0000000..ef309ff Binary files /dev/null and b/i/sh/avalon_card_15.gif differ diff --git a/i/sh/avalon_card_16.gif b/i/sh/avalon_card_16.gif new file mode 100644 index 0000000..dfaf72d Binary files /dev/null and b/i/sh/avalon_card_16.gif differ diff --git a/i/sh/avalon_card_17.gif b/i/sh/avalon_card_17.gif new file mode 100644 index 0000000..3542eff Binary files /dev/null and b/i/sh/avalon_card_17.gif differ diff --git a/i/sh/avalon_card_18.gif b/i/sh/avalon_card_18.gif new file mode 100644 index 0000000..f641bc4 Binary files /dev/null and b/i/sh/avalon_card_18.gif differ diff --git a/i/sh/avalon_card_19.gif b/i/sh/avalon_card_19.gif new file mode 100644 index 0000000..05f6cf4 Binary files /dev/null and b/i/sh/avalon_card_19.gif differ diff --git a/i/sh/avalon_card_20.gif b/i/sh/avalon_card_20.gif new file mode 100644 index 0000000..6060445 Binary files /dev/null and b/i/sh/avalon_card_20.gif differ diff --git a/i/sh/avalon_card_21.gif b/i/sh/avalon_card_21.gif new file mode 100644 index 0000000..7bb35f4 Binary files /dev/null and b/i/sh/avalon_card_21.gif differ diff --git a/i/sh/avalon_card_22.gif b/i/sh/avalon_card_22.gif new file mode 100644 index 0000000..c66c319 Binary files /dev/null and b/i/sh/avalon_card_22.gif differ diff --git a/i/sh/avalon_card_23.gif b/i/sh/avalon_card_23.gif new file mode 100644 index 0000000..e7670b2 Binary files /dev/null and b/i/sh/avalon_card_23.gif differ diff --git a/i/sh/avalon_card_25.gif b/i/sh/avalon_card_25.gif new file mode 100644 index 0000000..0aaec1d Binary files /dev/null and b/i/sh/avalon_card_25.gif differ diff --git a/i/sh/avalon_card_26.gif b/i/sh/avalon_card_26.gif new file mode 100644 index 0000000..9d95d34 Binary files /dev/null and b/i/sh/avalon_card_26.gif differ diff --git a/i/sh/avalon_card_28.gif b/i/sh/avalon_card_28.gif new file mode 100644 index 0000000..b2ee49c Binary files /dev/null and b/i/sh/avalon_card_28.gif differ diff --git a/i/sh/avalon_card_29.gif b/i/sh/avalon_card_29.gif new file mode 100644 index 0000000..437e952 Binary files /dev/null and b/i/sh/avalon_card_29.gif differ diff --git a/i/sh/avalon_card_30.gif b/i/sh/avalon_card_30.gif new file mode 100644 index 0000000..8fa9242 Binary files /dev/null and b/i/sh/avalon_card_30.gif differ diff --git a/i/sh/axe1.gif b/i/sh/axe1.gif new file mode 100644 index 0000000..3127ce5 Binary files /dev/null and b/i/sh/axe1.gif differ diff --git a/i/sh/axe10.gif b/i/sh/axe10.gif new file mode 100644 index 0000000..d9e49df Binary files /dev/null and b/i/sh/axe10.gif differ diff --git a/i/sh/axe12.gif b/i/sh/axe12.gif new file mode 100644 index 0000000..6dda452 Binary files /dev/null and b/i/sh/axe12.gif differ diff --git a/i/sh/axe13.gif b/i/sh/axe13.gif new file mode 100644 index 0000000..681e697 Binary files /dev/null and b/i/sh/axe13.gif differ diff --git a/i/sh/axe15.gif b/i/sh/axe15.gif new file mode 100644 index 0000000..2e7e0d6 Binary files /dev/null and b/i/sh/axe15.gif differ diff --git a/i/sh/axe18.gif b/i/sh/axe18.gif new file mode 100644 index 0000000..5d2d71b Binary files /dev/null and b/i/sh/axe18.gif differ diff --git a/i/sh/axe2.gif b/i/sh/axe2.gif new file mode 100644 index 0000000..8342b54 Binary files /dev/null and b/i/sh/axe2.gif differ diff --git a/i/sh/axe20.gif b/i/sh/axe20.gif new file mode 100644 index 0000000..e9e4b86 Binary files /dev/null and b/i/sh/axe20.gif differ diff --git a/i/sh/axe203.gif b/i/sh/axe203.gif new file mode 100644 index 0000000..6e79846 Binary files /dev/null and b/i/sh/axe203.gif differ diff --git a/i/sh/axe203u.gif b/i/sh/axe203u.gif new file mode 100644 index 0000000..ffce72d Binary files /dev/null and b/i/sh/axe203u.gif differ diff --git a/i/sh/axe204.gif b/i/sh/axe204.gif new file mode 100644 index 0000000..729a639 Binary files /dev/null and b/i/sh/axe204.gif differ diff --git a/i/sh/axe204u.gif b/i/sh/axe204u.gif new file mode 100644 index 0000000..65df8d1 Binary files /dev/null and b/i/sh/axe204u.gif differ diff --git a/i/sh/axe206.gif b/i/sh/axe206.gif new file mode 100644 index 0000000..b61e115 Binary files /dev/null and b/i/sh/axe206.gif differ diff --git a/i/sh/axe206u.gif b/i/sh/axe206u.gif new file mode 100644 index 0000000..22aa503 Binary files /dev/null and b/i/sh/axe206u.gif differ diff --git a/i/sh/axe22.gif b/i/sh/axe22.gif new file mode 100644 index 0000000..43cee82 Binary files /dev/null and b/i/sh/axe22.gif differ diff --git a/i/sh/axe3.gif b/i/sh/axe3.gif new file mode 100644 index 0000000..e0733b3 Binary files /dev/null and b/i/sh/axe3.gif differ diff --git a/i/sh/axe35.gif b/i/sh/axe35.gif new file mode 100644 index 0000000..6952eb1 Binary files /dev/null and b/i/sh/axe35.gif differ diff --git a/i/sh/axe4.gif b/i/sh/axe4.gif new file mode 100644 index 0000000..7fbba5c Binary files /dev/null and b/i/sh/axe4.gif differ diff --git a/i/sh/axe5.gif b/i/sh/axe5.gif new file mode 100644 index 0000000..237ae43 Binary files /dev/null and b/i/sh/axe5.gif differ diff --git a/i/sh/axe58.gif b/i/sh/axe58.gif new file mode 100644 index 0000000..85c0ec2 Binary files /dev/null and b/i/sh/axe58.gif differ diff --git a/i/sh/axe6.gif b/i/sh/axe6.gif new file mode 100644 index 0000000..fe91ea7 Binary files /dev/null and b/i/sh/axe6.gif differ diff --git a/i/sh/axe7.gif b/i/sh/axe7.gif new file mode 100644 index 0000000..51c7094 Binary files /dev/null and b/i/sh/axe7.gif differ diff --git a/i/sh/axe73.gif b/i/sh/axe73.gif new file mode 100644 index 0000000..d1160b5 Binary files /dev/null and b/i/sh/axe73.gif differ diff --git a/i/sh/axe75.gif b/i/sh/axe75.gif new file mode 100644 index 0000000..182b086 Binary files /dev/null and b/i/sh/axe75.gif differ diff --git a/i/sh/axe8.gif b/i/sh/axe8.gif new file mode 100644 index 0000000..f0593ef Binary files /dev/null and b/i/sh/axe8.gif differ diff --git a/i/sh/axe86.gif b/i/sh/axe86.gif new file mode 100644 index 0000000..99ca1a5 Binary files /dev/null and b/i/sh/axe86.gif differ diff --git a/i/sh/axe86u.gif b/i/sh/axe86u.gif new file mode 100644 index 0000000..6a69e78 Binary files /dev/null and b/i/sh/axe86u.gif differ diff --git a/i/sh/axe87.gif b/i/sh/axe87.gif new file mode 100644 index 0000000..9169969 Binary files /dev/null and b/i/sh/axe87.gif differ diff --git a/i/sh/axe88.gif b/i/sh/axe88.gif new file mode 100644 index 0000000..737ce95 Binary files /dev/null and b/i/sh/axe88.gif differ diff --git a/i/sh/axe89.gif b/i/sh/axe89.gif new file mode 100644 index 0000000..c2877c1 Binary files /dev/null and b/i/sh/axe89.gif differ diff --git a/i/sh/axe9.gif b/i/sh/axe9.gif new file mode 100644 index 0000000..d6557ea Binary files /dev/null and b/i/sh/axe9.gif differ diff --git a/i/sh/axe90.gif b/i/sh/axe90.gif new file mode 100644 index 0000000..decbd4d Binary files /dev/null and b/i/sh/axe90.gif differ diff --git a/i/sh/axe90_du2.gif b/i/sh/axe90_du2.gif new file mode 100644 index 0000000..d19a341 Binary files /dev/null and b/i/sh/axe90_du2.gif differ diff --git a/i/sh/axea11.gif b/i/sh/axea11.gif new file mode 100644 index 0000000..5deccbb Binary files /dev/null and b/i/sh/axea11.gif differ diff --git a/i/sh/ball.gif b/i/sh/ball.gif new file mode 100644 index 0000000..7d73096 Binary files /dev/null and b/i/sh/ball.gif differ diff --git a/i/sh/bankcheck.gif b/i/sh/bankcheck.gif new file mode 100644 index 0000000..94b9f38 Binary files /dev/null and b/i/sh/bankcheck.gif differ diff --git a/i/sh/belt201.gif b/i/sh/belt201.gif new file mode 100644 index 0000000..9bdb4b1 Binary files /dev/null and b/i/sh/belt201.gif differ diff --git a/i/sh/belt202.gif b/i/sh/belt202.gif new file mode 100644 index 0000000..a61cf05 Binary files /dev/null and b/i/sh/belt202.gif differ diff --git a/i/sh/belt202u.gif b/i/sh/belt202u.gif new file mode 100644 index 0000000..1cc8173 Binary files /dev/null and b/i/sh/belt202u.gif differ diff --git a/i/sh/belt4.gif b/i/sh/belt4.gif new file mode 100644 index 0000000..0d8039b Binary files /dev/null and b/i/sh/belt4.gif differ diff --git a/i/sh/bexit.gif b/i/sh/bexit.gif new file mode 100644 index 0000000..2b3f06e Binary files /dev/null and b/i/sh/bexit.gif differ diff --git a/i/sh/bf.gif b/i/sh/bf.gif new file mode 100644 index 0000000..1ad6492 Binary files /dev/null and b/i/sh/bf.gif differ diff --git a/i/sh/big/nofoto_big.gif b/i/sh/big/nofoto_big.gif new file mode 100644 index 0000000..c9ec8d8 Binary files /dev/null and b/i/sh/big/nofoto_big.gif differ diff --git a/i/sh/big_podarokNY.gif b/i/sh/big_podarokNY.gif new file mode 100644 index 0000000..a00b209 Binary files /dev/null and b/i/sh/big_podarokNY.gif differ diff --git a/i/sh/big_podarokNY_blue.gif b/i/sh/big_podarokNY_blue.gif new file mode 100644 index 0000000..b829412 Binary files /dev/null and b/i/sh/big_podarokNY_blue.gif differ diff --git a/i/sh/big_podarokNY_gold.gif b/i/sh/big_podarokNY_gold.gif new file mode 100644 index 0000000..34b8d85 Binary files /dev/null and b/i/sh/big_podarokNY_gold.gif differ diff --git a/i/sh/big_podarokNY_green.gif b/i/sh/big_podarokNY_green.gif new file mode 100644 index 0000000..47eca2e Binary files /dev/null and b/i/sh/big_podarokNY_green.gif differ diff --git a/i/sh/big_podarokNY_magenta.gif b/i/sh/big_podarokNY_magenta.gif new file mode 100644 index 0000000..001b462 Binary files /dev/null and b/i/sh/big_podarokNY_magenta.gif differ diff --git a/i/sh/big_podarokNY_platinum.gif b/i/sh/big_podarokNY_platinum.gif new file mode 100644 index 0000000..8899551 Binary files /dev/null and b/i/sh/big_podarokNY_platinum.gif differ diff --git a/i/sh/big_podarokNY_red.gif b/i/sh/big_podarokNY_red.gif new file mode 100644 index 0000000..c22af87 Binary files /dev/null and b/i/sh/big_podarokNY_red.gif differ diff --git a/i/sh/bolt.gif b/i/sh/bolt.gif new file mode 100644 index 0000000..1638879 Binary files /dev/null and b/i/sh/bolt.gif differ diff --git a/i/sh/bolt_d.gif b/i/sh/bolt_d.gif new file mode 100644 index 0000000..622add4 Binary files /dev/null and b/i/sh/bolt_d.gif differ diff --git a/i/sh/book.gif b/i/sh/book.gif new file mode 100644 index 0000000..37660c9 Binary files /dev/null and b/i/sh/book.gif differ diff --git a/i/sh/boots1.gif b/i/sh/boots1.gif new file mode 100644 index 0000000..51451bb Binary files /dev/null and b/i/sh/boots1.gif differ diff --git a/i/sh/boots10.gif b/i/sh/boots10.gif new file mode 100644 index 0000000..2b7bf35 Binary files /dev/null and b/i/sh/boots10.gif differ diff --git a/i/sh/boots101.gif b/i/sh/boots101.gif new file mode 100644 index 0000000..e488624 Binary files /dev/null and b/i/sh/boots101.gif differ diff --git a/i/sh/boots104.gif b/i/sh/boots104.gif new file mode 100644 index 0000000..832a618 Binary files /dev/null and b/i/sh/boots104.gif differ diff --git a/i/sh/boots1113.gif b/i/sh/boots1113.gif new file mode 100644 index 0000000..0150dce Binary files /dev/null and b/i/sh/boots1113.gif differ diff --git a/i/sh/boots112.gif b/i/sh/boots112.gif new file mode 100644 index 0000000..7f73f72 Binary files /dev/null and b/i/sh/boots112.gif differ diff --git a/i/sh/boots1211.gif b/i/sh/boots1211.gif new file mode 100644 index 0000000..c5b362a Binary files /dev/null and b/i/sh/boots1211.gif differ diff --git a/i/sh/boots1265.gif b/i/sh/boots1265.gif new file mode 100644 index 0000000..7237ce5 Binary files /dev/null and b/i/sh/boots1265.gif differ diff --git a/i/sh/boots13.gif b/i/sh/boots13.gif new file mode 100644 index 0000000..a83aa05 Binary files /dev/null and b/i/sh/boots13.gif differ diff --git a/i/sh/boots14.gif b/i/sh/boots14.gif new file mode 100644 index 0000000..a83aa05 Binary files /dev/null and b/i/sh/boots14.gif differ diff --git a/i/sh/boots17.gif b/i/sh/boots17.gif new file mode 100644 index 0000000..5bf7e69 Binary files /dev/null and b/i/sh/boots17.gif differ diff --git a/i/sh/boots2.gif b/i/sh/boots2.gif new file mode 100644 index 0000000..e03e413 Binary files /dev/null and b/i/sh/boots2.gif differ diff --git a/i/sh/boots20.gif b/i/sh/boots20.gif new file mode 100644 index 0000000..fdc57f8 Binary files /dev/null and b/i/sh/boots20.gif differ diff --git a/i/sh/boots202.gif b/i/sh/boots202.gif new file mode 100644 index 0000000..1d7532a Binary files /dev/null and b/i/sh/boots202.gif differ diff --git a/i/sh/boots202u.gif b/i/sh/boots202u.gif new file mode 100644 index 0000000..e80ea31 Binary files /dev/null and b/i/sh/boots202u.gif differ diff --git a/i/sh/boots203.gif b/i/sh/boots203.gif new file mode 100644 index 0000000..546ab25 Binary files /dev/null and b/i/sh/boots203.gif differ diff --git a/i/sh/boots203u.gif b/i/sh/boots203u.gif new file mode 100644 index 0000000..3f83a74 Binary files /dev/null and b/i/sh/boots203u.gif differ diff --git a/i/sh/boots206.gif b/i/sh/boots206.gif new file mode 100644 index 0000000..0ec99fe Binary files /dev/null and b/i/sh/boots206.gif differ diff --git a/i/sh/boots206u.gif b/i/sh/boots206u.gif new file mode 100644 index 0000000..0ff1f68 Binary files /dev/null and b/i/sh/boots206u.gif differ diff --git a/i/sh/boots21.gif b/i/sh/boots21.gif new file mode 100644 index 0000000..6ccbd4e Binary files /dev/null and b/i/sh/boots21.gif differ diff --git a/i/sh/boots214.gif b/i/sh/boots214.gif new file mode 100644 index 0000000..4fa81e2 Binary files /dev/null and b/i/sh/boots214.gif differ diff --git a/i/sh/boots215.gif b/i/sh/boots215.gif new file mode 100644 index 0000000..0cdf1c7 Binary files /dev/null and b/i/sh/boots215.gif differ diff --git a/i/sh/boots216.gif b/i/sh/boots216.gif new file mode 100644 index 0000000..11910d4 Binary files /dev/null and b/i/sh/boots216.gif differ diff --git a/i/sh/boots217.gif b/i/sh/boots217.gif new file mode 100644 index 0000000..cf56787 Binary files /dev/null and b/i/sh/boots217.gif differ diff --git a/i/sh/boots22.gif b/i/sh/boots22.gif new file mode 100644 index 0000000..cc2bcca Binary files /dev/null and b/i/sh/boots22.gif differ diff --git a/i/sh/boots22u.gif b/i/sh/boots22u.gif new file mode 100644 index 0000000..f5c31d8 Binary files /dev/null and b/i/sh/boots22u.gif differ diff --git a/i/sh/boots23.gif b/i/sh/boots23.gif new file mode 100644 index 0000000..c767e70 Binary files /dev/null and b/i/sh/boots23.gif differ diff --git a/i/sh/boots24.gif b/i/sh/boots24.gif new file mode 100644 index 0000000..047dab7 Binary files /dev/null and b/i/sh/boots24.gif differ diff --git a/i/sh/boots24_du2.gif b/i/sh/boots24_du2.gif new file mode 100644 index 0000000..10c8dd7 Binary files /dev/null and b/i/sh/boots24_du2.gif differ diff --git a/i/sh/boots25.gif b/i/sh/boots25.gif new file mode 100644 index 0000000..e35eeb2 Binary files /dev/null and b/i/sh/boots25.gif differ diff --git a/i/sh/boots26.gif b/i/sh/boots26.gif new file mode 100644 index 0000000..78ff695 Binary files /dev/null and b/i/sh/boots26.gif differ diff --git a/i/sh/boots27.gif b/i/sh/boots27.gif new file mode 100644 index 0000000..559ccd3 Binary files /dev/null and b/i/sh/boots27.gif differ diff --git a/i/sh/boots28.gif b/i/sh/boots28.gif new file mode 100644 index 0000000..a6c9cd6 Binary files /dev/null and b/i/sh/boots28.gif differ diff --git a/i/sh/boots3.gif b/i/sh/boots3.gif new file mode 100644 index 0000000..5ce6fd3 Binary files /dev/null and b/i/sh/boots3.gif differ diff --git a/i/sh/boots32.gif b/i/sh/boots32.gif new file mode 100644 index 0000000..6ba9960 Binary files /dev/null and b/i/sh/boots32.gif differ diff --git a/i/sh/boots35.gif b/i/sh/boots35.gif new file mode 100644 index 0000000..9255486 Binary files /dev/null and b/i/sh/boots35.gif differ diff --git a/i/sh/boots3864.gif b/i/sh/boots3864.gif new file mode 100644 index 0000000..49c1602 Binary files /dev/null and b/i/sh/boots3864.gif differ diff --git a/i/sh/boots5.gif b/i/sh/boots5.gif new file mode 100644 index 0000000..3901698 Binary files /dev/null and b/i/sh/boots5.gif differ diff --git a/i/sh/boots6.gif b/i/sh/boots6.gif new file mode 100644 index 0000000..62ab22f Binary files /dev/null and b/i/sh/boots6.gif differ diff --git a/i/sh/boots8.gif b/i/sh/boots8.gif new file mode 100644 index 0000000..92da852 Binary files /dev/null and b/i/sh/boots8.gif differ diff --git a/i/sh/boots901.gif b/i/sh/boots901.gif new file mode 100644 index 0000000..7fef0ac Binary files /dev/null and b/i/sh/boots901.gif differ diff --git a/i/sh/boots_illusion1.gif b/i/sh/boots_illusion1.gif new file mode 100644 index 0000000..615f437 Binary files /dev/null and b/i/sh/boots_illusion1.gif differ diff --git a/i/sh/bootsa11.gif b/i/sh/bootsa11.gif new file mode 100644 index 0000000..672f6bf Binary files /dev/null and b/i/sh/bootsa11.gif differ diff --git a/i/sh/bootsboloto.gif b/i/sh/bootsboloto.gif new file mode 100644 index 0000000..1f96f81 Binary files /dev/null and b/i/sh/bootsboloto.gif differ diff --git a/i/sh/bow1.gif b/i/sh/bow1.gif new file mode 100644 index 0000000..404dd82 Binary files /dev/null and b/i/sh/bow1.gif differ diff --git a/i/sh/braslet12.gif b/i/sh/braslet12.gif new file mode 100644 index 0000000..c94111e Binary files /dev/null and b/i/sh/braslet12.gif differ diff --git a/i/sh/brat.gif b/i/sh/brat.gif new file mode 100644 index 0000000..d5b466a Binary files /dev/null and b/i/sh/brat.gif differ diff --git a/i/sh/bron_ze.gif b/i/sh/bron_ze.gif new file mode 100644 index 0000000..7eab045 Binary files /dev/null and b/i/sh/bron_ze.gif differ diff --git a/i/sh/bug.gif b/i/sh/bug.gif new file mode 100644 index 0000000..d9f9454 Binary files /dev/null and b/i/sh/bug.gif differ diff --git a/i/sh/build_in.gif b/i/sh/build_in.gif new file mode 100644 index 0000000..45ad663 Binary files /dev/null and b/i/sh/build_in.gif differ diff --git a/i/sh/buket12.gif b/i/sh/buket12.gif new file mode 100644 index 0000000..f3d1619 Binary files /dev/null and b/i/sh/buket12.gif differ diff --git a/i/sh/buket13.gif b/i/sh/buket13.gif new file mode 100644 index 0000000..1ad1673 Binary files /dev/null and b/i/sh/buket13.gif differ diff --git a/i/sh/buket3.gif b/i/sh/buket3.gif new file mode 100644 index 0000000..0a01718 Binary files /dev/null and b/i/sh/buket3.gif differ diff --git a/i/sh/buketRoz.gif b/i/sh/buketRoz.gif new file mode 100644 index 0000000..1de0e49 Binary files /dev/null and b/i/sh/buketRoz.gif differ diff --git a/i/sh/buketfialka.gif b/i/sh/buketfialka.gif new file mode 100644 index 0000000..d745dcf Binary files /dev/null and b/i/sh/buketfialka.gif differ diff --git a/i/sh/buketgerber.gif b/i/sh/buketgerber.gif new file mode 100644 index 0000000..cd1d4fb Binary files /dev/null and b/i/sh/buketgerber.gif differ diff --git a/i/sh/buketiris.gif b/i/sh/buketiris.gif new file mode 100644 index 0000000..10b0c4f Binary files /dev/null and b/i/sh/buketiris.gif differ diff --git a/i/sh/buketlilia.gif b/i/sh/buketlilia.gif new file mode 100644 index 0000000..ce0a0b2 Binary files /dev/null and b/i/sh/buketlilia.gif differ diff --git a/i/sh/buketromashka.gif b/i/sh/buketromashka.gif new file mode 100644 index 0000000..a4ffc5a Binary files /dev/null and b/i/sh/buketromashka.gif differ diff --git a/i/sh/cally_1.gif b/i/sh/cally_1.gif new file mode 100644 index 0000000..fba24f4 Binary files /dev/null and b/i/sh/cally_1.gif differ diff --git a/i/sh/cally_21.gif b/i/sh/cally_21.gif new file mode 100644 index 0000000..44a7aaa Binary files /dev/null and b/i/sh/cally_21.gif differ diff --git a/i/sh/cally_3.gif b/i/sh/cally_3.gif new file mode 100644 index 0000000..5e3e20a Binary files /dev/null and b/i/sh/cally_3.gif differ diff --git a/i/sh/cally_5.gif b/i/sh/cally_5.gif new file mode 100644 index 0000000..03a2612 Binary files /dev/null and b/i/sh/cally_5.gif differ diff --git a/i/sh/cally_7.gif b/i/sh/cally_7.gif new file mode 100644 index 0000000..ba0d175 Binary files /dev/null and b/i/sh/cally_7.gif differ diff --git a/i/sh/cally_9.gif b/i/sh/cally_9.gif new file mode 100644 index 0000000..40312cc Binary files /dev/null and b/i/sh/cally_9.gif differ diff --git a/i/sh/car.gif b/i/sh/car.gif new file mode 100644 index 0000000..a85b0e8 Binary files /dev/null and b/i/sh/car.gif differ diff --git a/i/sh/card03.gif b/i/sh/card03.gif new file mode 100644 index 0000000..6da4952 Binary files /dev/null and b/i/sh/card03.gif differ diff --git a/i/sh/card_love.gif b/i/sh/card_love.gif new file mode 100644 index 0000000..c650834 Binary files /dev/null and b/i/sh/card_love.gif differ diff --git a/i/sh/card_love2.gif b/i/sh/card_love2.gif new file mode 100644 index 0000000..ace43d8 Binary files /dev/null and b/i/sh/card_love2.gif differ diff --git a/i/sh/card_love3.gif b/i/sh/card_love3.gif new file mode 100644 index 0000000..244e41a Binary files /dev/null and b/i/sh/card_love3.gif differ diff --git a/i/sh/card_love4.gif b/i/sh/card_love4.gif new file mode 100644 index 0000000..8948241 Binary files /dev/null and b/i/sh/card_love4.gif differ diff --git a/i/sh/card_love5.gif b/i/sh/card_love5.gif new file mode 100644 index 0000000..801e1f2 Binary files /dev/null and b/i/sh/card_love5.gif differ diff --git a/i/sh/cat.gif b/i/sh/cat.gif new file mode 100644 index 0000000..1792486 Binary files /dev/null and b/i/sh/cat.gif differ diff --git a/i/sh/chains.gif b/i/sh/chains.gif new file mode 100644 index 0000000..4dbaa1b Binary files /dev/null and b/i/sh/chains.gif differ diff --git a/i/sh/chesnok.gif b/i/sh/chesnok.gif new file mode 100644 index 0000000..0d5ef2c Binary files /dev/null and b/i/sh/chesnok.gif differ diff --git a/i/sh/chesnok2.gif b/i/sh/chesnok2.gif new file mode 100644 index 0000000..8dbb155 Binary files /dev/null and b/i/sh/chesnok2.gif differ diff --git a/i/sh/chrysanthemum1.gif b/i/sh/chrysanthemum1.gif new file mode 100644 index 0000000..e4672a4 Binary files /dev/null and b/i/sh/chrysanthemum1.gif differ diff --git a/i/sh/chrysanthemum21.gif b/i/sh/chrysanthemum21.gif new file mode 100644 index 0000000..b794f03 Binary files /dev/null and b/i/sh/chrysanthemum21.gif differ diff --git a/i/sh/chrysanthemum3.gif b/i/sh/chrysanthemum3.gif new file mode 100644 index 0000000..33559d9 Binary files /dev/null and b/i/sh/chrysanthemum3.gif differ diff --git a/i/sh/chrysanthemum5.gif b/i/sh/chrysanthemum5.gif new file mode 100644 index 0000000..4f4f625 Binary files /dev/null and b/i/sh/chrysanthemum5.gif differ diff --git a/i/sh/chrysanthemum7.gif b/i/sh/chrysanthemum7.gif new file mode 100644 index 0000000..f5dd717 Binary files /dev/null and b/i/sh/chrysanthemum7.gif differ diff --git a/i/sh/chrysanthemum9.gif b/i/sh/chrysanthemum9.gif new file mode 100644 index 0000000..086b550 Binary files /dev/null and b/i/sh/chrysanthemum9.gif differ diff --git a/i/sh/clip1.gif b/i/sh/clip1.gif new file mode 100644 index 0000000..ab8e411 Binary files /dev/null and b/i/sh/clip1.gif differ diff --git a/i/sh/clip10.gif b/i/sh/clip10.gif new file mode 100644 index 0000000..c83fa8d Binary files /dev/null and b/i/sh/clip10.gif differ diff --git a/i/sh/clip100.gif b/i/sh/clip100.gif new file mode 100644 index 0000000..15d05d8 Binary files /dev/null and b/i/sh/clip100.gif differ diff --git a/i/sh/clip101.gif b/i/sh/clip101.gif new file mode 100644 index 0000000..3327d01 Binary files /dev/null and b/i/sh/clip101.gif differ diff --git a/i/sh/clip11.gif b/i/sh/clip11.gif new file mode 100644 index 0000000..6845615 Binary files /dev/null and b/i/sh/clip11.gif differ diff --git a/i/sh/clip2.gif b/i/sh/clip2.gif new file mode 100644 index 0000000..fd9b23c Binary files /dev/null and b/i/sh/clip2.gif differ diff --git a/i/sh/clip25.gif b/i/sh/clip25.gif new file mode 100644 index 0000000..e903b2b Binary files /dev/null and b/i/sh/clip25.gif differ diff --git a/i/sh/clip26.gif b/i/sh/clip26.gif new file mode 100644 index 0000000..df77de6 Binary files /dev/null and b/i/sh/clip26.gif differ diff --git a/i/sh/clip3.gif b/i/sh/clip3.gif new file mode 100644 index 0000000..e1288da Binary files /dev/null and b/i/sh/clip3.gif differ diff --git a/i/sh/clip35.gif b/i/sh/clip35.gif new file mode 100644 index 0000000..1d45c25 Binary files /dev/null and b/i/sh/clip35.gif differ diff --git a/i/sh/clip3864.gif b/i/sh/clip3864.gif new file mode 100644 index 0000000..88b35f5 Binary files /dev/null and b/i/sh/clip3864.gif differ diff --git a/i/sh/clip4.gif b/i/sh/clip4.gif new file mode 100644 index 0000000..4b32710 Binary files /dev/null and b/i/sh/clip4.gif differ diff --git a/i/sh/clip5.gif b/i/sh/clip5.gif new file mode 100644 index 0000000..8ec09ef Binary files /dev/null and b/i/sh/clip5.gif differ diff --git a/i/sh/clip52.gif b/i/sh/clip52.gif new file mode 100644 index 0000000..cff08ce Binary files /dev/null and b/i/sh/clip52.gif differ diff --git a/i/sh/clip56.gif b/i/sh/clip56.gif new file mode 100644 index 0000000..10bb34e Binary files /dev/null and b/i/sh/clip56.gif differ diff --git a/i/sh/clip58.gif b/i/sh/clip58.gif new file mode 100644 index 0000000..faa9f82 Binary files /dev/null and b/i/sh/clip58.gif differ diff --git a/i/sh/clip6.gif b/i/sh/clip6.gif new file mode 100644 index 0000000..861ca9e Binary files /dev/null and b/i/sh/clip6.gif differ diff --git a/i/sh/clip61.gif b/i/sh/clip61.gif new file mode 100644 index 0000000..f673c18 Binary files /dev/null and b/i/sh/clip61.gif differ diff --git a/i/sh/clip68.gif b/i/sh/clip68.gif new file mode 100644 index 0000000..1d25c02 Binary files /dev/null and b/i/sh/clip68.gif differ diff --git a/i/sh/clip69.gif b/i/sh/clip69.gif new file mode 100644 index 0000000..218938e Binary files /dev/null and b/i/sh/clip69.gif differ diff --git a/i/sh/clip7.gif b/i/sh/clip7.gif new file mode 100644 index 0000000..7a1c438 Binary files /dev/null and b/i/sh/clip7.gif differ diff --git a/i/sh/clip70.gif b/i/sh/clip70.gif new file mode 100644 index 0000000..b0eb9c7 Binary files /dev/null and b/i/sh/clip70.gif differ diff --git a/i/sh/clip71.gif b/i/sh/clip71.gif new file mode 100644 index 0000000..a064c55 Binary files /dev/null and b/i/sh/clip71.gif differ diff --git a/i/sh/clip72.gif b/i/sh/clip72.gif new file mode 100644 index 0000000..c4c3351 Binary files /dev/null and b/i/sh/clip72.gif differ diff --git a/i/sh/clip72u.gif b/i/sh/clip72u.gif new file mode 100644 index 0000000..d211dfc Binary files /dev/null and b/i/sh/clip72u.gif differ diff --git a/i/sh/clip73.gif b/i/sh/clip73.gif new file mode 100644 index 0000000..93741c8 Binary files /dev/null and b/i/sh/clip73.gif differ diff --git a/i/sh/clip76.gif b/i/sh/clip76.gif new file mode 100644 index 0000000..3c23123 Binary files /dev/null and b/i/sh/clip76.gif differ diff --git a/i/sh/clip77.gif b/i/sh/clip77.gif new file mode 100644 index 0000000..8dcbc0d Binary files /dev/null and b/i/sh/clip77.gif differ diff --git a/i/sh/clip78.gif b/i/sh/clip78.gif new file mode 100644 index 0000000..4c1fa21 Binary files /dev/null and b/i/sh/clip78.gif differ diff --git a/i/sh/clip79.gif b/i/sh/clip79.gif new file mode 100644 index 0000000..f79e6f8 Binary files /dev/null and b/i/sh/clip79.gif differ diff --git a/i/sh/clip8.gif b/i/sh/clip8.gif new file mode 100644 index 0000000..c328292 Binary files /dev/null and b/i/sh/clip8.gif differ diff --git a/i/sh/clip80.gif b/i/sh/clip80.gif new file mode 100644 index 0000000..812c65f Binary files /dev/null and b/i/sh/clip80.gif differ diff --git a/i/sh/clip81.gif b/i/sh/clip81.gif new file mode 100644 index 0000000..cd98318 Binary files /dev/null and b/i/sh/clip81.gif differ diff --git a/i/sh/clip82_du2.gif b/i/sh/clip82_du2.gif new file mode 100644 index 0000000..e856cc6 Binary files /dev/null and b/i/sh/clip82_du2.gif differ diff --git a/i/sh/clip89.gif b/i/sh/clip89.gif new file mode 100644 index 0000000..c728798 Binary files /dev/null and b/i/sh/clip89.gif differ diff --git a/i/sh/clip90.gif b/i/sh/clip90.gif new file mode 100644 index 0000000..6114bf6 Binary files /dev/null and b/i/sh/clip90.gif differ diff --git a/i/sh/clip901.gif b/i/sh/clip901.gif new file mode 100644 index 0000000..01ba981 Binary files /dev/null and b/i/sh/clip901.gif differ diff --git a/i/sh/cloack1.gif b/i/sh/cloack1.gif new file mode 100644 index 0000000..02093ca Binary files /dev/null and b/i/sh/cloack1.gif differ diff --git a/i/sh/cloack2.gif b/i/sh/cloack2.gif new file mode 100644 index 0000000..08795d0 Binary files /dev/null and b/i/sh/cloack2.gif differ diff --git a/i/sh/cloack_hero.gif b/i/sh/cloack_hero.gif new file mode 100644 index 0000000..8dff050 Binary files /dev/null and b/i/sh/cloack_hero.gif differ diff --git a/i/sh/cloak1.gif b/i/sh/cloak1.gif new file mode 100644 index 0000000..d663dde Binary files /dev/null and b/i/sh/cloak1.gif differ diff --git a/i/sh/clock.gif b/i/sh/clock.gif new file mode 100644 index 0000000..013dc58 Binary files /dev/null and b/i/sh/clock.gif differ diff --git a/i/sh/closebattle.gif b/i/sh/closebattle.gif new file mode 100644 index 0000000..42a7c93 Binary files /dev/null and b/i/sh/closebattle.gif differ diff --git a/i/sh/ct_all.gif b/i/sh/ct_all.gif new file mode 100644 index 0000000..9cd90e5 Binary files /dev/null and b/i/sh/ct_all.gif differ diff --git a/i/sh/cui_off.gif b/i/sh/cui_off.gif new file mode 100644 index 0000000..44a88a8 Binary files /dev/null and b/i/sh/cui_off.gif differ diff --git a/i/sh/cure.gif b/i/sh/cure.gif new file mode 100644 index 0000000..b5c0868 Binary files /dev/null and b/i/sh/cure.gif differ diff --git a/i/sh/cure1.gif b/i/sh/cure1.gif new file mode 100644 index 0000000..11d6b89 Binary files /dev/null and b/i/sh/cure1.gif differ diff --git a/i/sh/cure120.gif b/i/sh/cure120.gif new file mode 100644 index 0000000..c0e0e65 Binary files /dev/null and b/i/sh/cure120.gif differ diff --git a/i/sh/cure150.gif b/i/sh/cure150.gif new file mode 100644 index 0000000..8b77021 Binary files /dev/null and b/i/sh/cure150.gif differ diff --git a/i/sh/cure180.gif b/i/sh/cure180.gif new file mode 100644 index 0000000..8c906a2 Binary files /dev/null and b/i/sh/cure180.gif differ diff --git a/i/sh/cure2.gif b/i/sh/cure2.gif new file mode 100644 index 0000000..0c591a5 Binary files /dev/null and b/i/sh/cure2.gif differ diff --git a/i/sh/cure270.gif b/i/sh/cure270.gif new file mode 100644 index 0000000..f550f6b Binary files /dev/null and b/i/sh/cure270.gif differ diff --git a/i/sh/cure3.gif b/i/sh/cure3.gif new file mode 100644 index 0000000..34f4b3b Binary files /dev/null and b/i/sh/cure3.gif differ diff --git a/i/sh/cure360.gif b/i/sh/cure360.gif new file mode 100644 index 0000000..5f9d23a Binary files /dev/null and b/i/sh/cure360.gif differ diff --git a/i/sh/cure90.gif b/i/sh/cure90.gif new file mode 100644 index 0000000..c4ed117 Binary files /dev/null and b/i/sh/cure90.gif differ diff --git a/i/sh/cureHP15.gif b/i/sh/cureHP15.gif new file mode 100644 index 0000000..62f440d Binary files /dev/null and b/i/sh/cureHP15.gif differ diff --git a/i/sh/cureHP1500_100.gif b/i/sh/cureHP1500_100.gif new file mode 100644 index 0000000..638ea6a Binary files /dev/null and b/i/sh/cureHP1500_100.gif differ diff --git a/i/sh/cureHP30.gif b/i/sh/cureHP30.gif new file mode 100644 index 0000000..1c0898e Binary files /dev/null and b/i/sh/cureHP30.gif differ diff --git a/i/sh/cureHP300.gif b/i/sh/cureHP300.gif new file mode 100644 index 0000000..fa77c7d Binary files /dev/null and b/i/sh/cureHP300.gif differ diff --git a/i/sh/cureHP45.gif b/i/sh/cureHP45.gif new file mode 100644 index 0000000..cfd4bb1 Binary files /dev/null and b/i/sh/cureHP45.gif differ diff --git a/i/sh/cureHP60.gif b/i/sh/cureHP60.gif new file mode 100644 index 0000000..c077b57 Binary files /dev/null and b/i/sh/cureHP60.gif differ diff --git a/i/sh/ddark.gif b/i/sh/ddark.gif new file mode 100644 index 0000000..a25d789 Binary files /dev/null and b/i/sh/ddark.gif differ diff --git a/i/sh/death.gif b/i/sh/death.gif new file mode 100644 index 0000000..f92f9eb Binary files /dev/null and b/i/sh/death.gif differ diff --git a/i/sh/death_off.gif b/i/sh/death_off.gif new file mode 100644 index 0000000..5bf1371 Binary files /dev/null and b/i/sh/death_off.gif differ diff --git a/i/sh/defence.gif b/i/sh/defence.gif new file mode 100644 index 0000000..16223e0 Binary files /dev/null and b/i/sh/defence.gif differ diff --git a/i/sh/devastate.gif b/i/sh/devastate.gif new file mode 100644 index 0000000..9ed66cd Binary files /dev/null and b/i/sh/devastate.gif differ diff --git a/i/sh/dlight.gif b/i/sh/dlight.gif new file mode 100644 index 0000000..a0df359 Binary files /dev/null and b/i/sh/dlight.gif differ diff --git a/i/sh/dneit.gif b/i/sh/dneit.gif new file mode 100644 index 0000000..d829877 Binary files /dev/null and b/i/sh/dneit.gif differ diff --git a/i/sh/dot_b_3.gif b/i/sh/dot_b_3.gif new file mode 100644 index 0000000..399d737 Binary files /dev/null and b/i/sh/dot_b_3.gif differ diff --git a/i/sh/downgrade.gif b/i/sh/downgrade.gif new file mode 100644 index 0000000..cd456eb Binary files /dev/null and b/i/sh/downgrade.gif differ diff --git a/i/sh/dpal.gif b/i/sh/dpal.gif new file mode 100644 index 0000000..3a9be8a Binary files /dev/null and b/i/sh/dpal.gif differ diff --git a/i/sh/dubina.gif b/i/sh/dubina.gif new file mode 100644 index 0000000..318c54e Binary files /dev/null and b/i/sh/dubina.gif differ diff --git a/i/sh/dubina1.gif b/i/sh/dubina1.gif new file mode 100644 index 0000000..d80558e Binary files /dev/null and b/i/sh/dubina1.gif differ diff --git a/i/sh/dubina101.gif b/i/sh/dubina101.gif new file mode 100644 index 0000000..ca001d6 Binary files /dev/null and b/i/sh/dubina101.gif differ diff --git a/i/sh/dubina2.gif b/i/sh/dubina2.gif new file mode 100644 index 0000000..b610985 Binary files /dev/null and b/i/sh/dubina2.gif differ diff --git a/i/sh/dubina20.gif b/i/sh/dubina20.gif new file mode 100644 index 0000000..bf90be0 Binary files /dev/null and b/i/sh/dubina20.gif differ diff --git a/i/sh/dubina3.gif b/i/sh/dubina3.gif new file mode 100644 index 0000000..72d425f Binary files /dev/null and b/i/sh/dubina3.gif differ diff --git a/i/sh/dubina35.gif b/i/sh/dubina35.gif new file mode 100644 index 0000000..fde3c1c Binary files /dev/null and b/i/sh/dubina35.gif differ diff --git a/i/sh/dubinaa11.gif b/i/sh/dubinaa11.gif new file mode 100644 index 0000000..ca001d6 Binary files /dev/null and b/i/sh/dubinaa11.gif differ diff --git a/i/sh/earrings1113.gif b/i/sh/earrings1113.gif new file mode 100644 index 0000000..a3ff95c Binary files /dev/null and b/i/sh/earrings1113.gif differ diff --git a/i/sh/earrings112.gif b/i/sh/earrings112.gif new file mode 100644 index 0000000..3ae6a14 Binary files /dev/null and b/i/sh/earrings112.gif differ diff --git a/i/sh/earrings1211.gif b/i/sh/earrings1211.gif new file mode 100644 index 0000000..0a9937b Binary files /dev/null and b/i/sh/earrings1211.gif differ diff --git a/i/sh/earrings1265.gif b/i/sh/earrings1265.gif new file mode 100644 index 0000000..8c387fb Binary files /dev/null and b/i/sh/earrings1265.gif differ diff --git a/i/sh/earrings201.gif b/i/sh/earrings201.gif new file mode 100644 index 0000000..097e1f5 Binary files /dev/null and b/i/sh/earrings201.gif differ diff --git a/i/sh/earrings201u.gif b/i/sh/earrings201u.gif new file mode 100644 index 0000000..0fbe241 Binary files /dev/null and b/i/sh/earrings201u.gif differ diff --git a/i/sh/earrings202.gif b/i/sh/earrings202.gif new file mode 100644 index 0000000..7432ef6 Binary files /dev/null and b/i/sh/earrings202.gif differ diff --git a/i/sh/earrings202u.gif b/i/sh/earrings202u.gif new file mode 100644 index 0000000..10c7463 Binary files /dev/null and b/i/sh/earrings202u.gif differ diff --git a/i/sh/earrings206.gif b/i/sh/earrings206.gif new file mode 100644 index 0000000..89ed42f Binary files /dev/null and b/i/sh/earrings206.gif differ diff --git a/i/sh/earrings206u.gif b/i/sh/earrings206u.gif new file mode 100644 index 0000000..fc3c51e Binary files /dev/null and b/i/sh/earrings206u.gif differ diff --git a/i/sh/earrings_illusion1.gif b/i/sh/earrings_illusion1.gif new file mode 100644 index 0000000..64de228 Binary files /dev/null and b/i/sh/earrings_illusion1.gif differ diff --git a/i/sh/earringsa11.gif b/i/sh/earringsa11.gif new file mode 100644 index 0000000..c5b0481 Binary files /dev/null and b/i/sh/earringsa11.gif differ diff --git a/i/sh/el1.gif b/i/sh/el1.gif new file mode 100644 index 0000000..608673c Binary files /dev/null and b/i/sh/el1.gif differ diff --git a/i/sh/element_air.gif b/i/sh/element_air.gif new file mode 100644 index 0000000..ce6a56c Binary files /dev/null and b/i/sh/element_air.gif differ diff --git a/i/sh/element_earth.gif b/i/sh/element_earth.gif new file mode 100644 index 0000000..e7b347b Binary files /dev/null and b/i/sh/element_earth.gif differ diff --git a/i/sh/element_fire.gif b/i/sh/element_fire.gif new file mode 100644 index 0000000..e8afbe3 Binary files /dev/null and b/i/sh/element_fire.gif differ diff --git a/i/sh/element_water.gif b/i/sh/element_water.gif new file mode 100644 index 0000000..a93f8ce Binary files /dev/null and b/i/sh/element_water.gif differ diff --git a/i/sh/elikbroni.gif b/i/sh/elikbroni.gif new file mode 100644 index 0000000..52d6440 Binary files /dev/null and b/i/sh/elikbroni.gif differ diff --git a/i/sh/elikurona.gif b/i/sh/elikurona.gif new file mode 100644 index 0000000..afebbb0 Binary files /dev/null and b/i/sh/elikurona.gif differ diff --git a/i/sh/elka_art_8.gif b/i/sh/elka_art_8.gif new file mode 100644 index 0000000..04930ed Binary files /dev/null and b/i/sh/elka_art_8.gif differ diff --git a/i/sh/elka_w2.gif b/i/sh/elka_w2.gif new file mode 100644 index 0000000..d47fa50 Binary files /dev/null and b/i/sh/elka_w2.gif differ diff --git a/i/sh/event_heal.gif b/i/sh/event_heal.gif new file mode 100644 index 0000000..c2ca3fc Binary files /dev/null and b/i/sh/event_heal.gif differ diff --git a/i/sh/event_pandbox.gif b/i/sh/event_pandbox.gif new file mode 100644 index 0000000..e53c239 Binary files /dev/null and b/i/sh/event_pandbox.gif differ diff --git a/i/sh/event_poison_trap.gif b/i/sh/event_poison_trap.gif new file mode 100644 index 0000000..6c1dc7a Binary files /dev/null and b/i/sh/event_poison_trap.gif differ diff --git a/i/sh/event_sunduk.gif b/i/sh/event_sunduk.gif new file mode 100644 index 0000000..9ff677a Binary files /dev/null and b/i/sh/event_sunduk.gif differ diff --git a/i/sh/event_timer_trap.gif b/i/sh/event_timer_trap.gif new file mode 100644 index 0000000..9c53a97 Binary files /dev/null and b/i/sh/event_timer_trap.gif differ diff --git a/i/sh/event_timer_trap_out.png b/i/sh/event_timer_trap_out.png new file mode 100644 index 0000000..16a72e5 Binary files /dev/null and b/i/sh/event_timer_trap_out.png differ diff --git a/i/sh/f_alierosi.gif b/i/sh/f_alierosi.gif new file mode 100644 index 0000000..7bfa3af Binary files /dev/null and b/i/sh/f_alierosi.gif differ diff --git a/i/sh/f_chrysanthemum.gif b/i/sh/f_chrysanthemum.gif new file mode 100644 index 0000000..4bdff89 Binary files /dev/null and b/i/sh/f_chrysanthemum.gif differ diff --git a/i/sh/f_design1.gif b/i/sh/f_design1.gif new file mode 100644 index 0000000..59f6be5 Binary files /dev/null and b/i/sh/f_design1.gif differ diff --git a/i/sh/f_design2.gif b/i/sh/f_design2.gif new file mode 100644 index 0000000..68cf224 Binary files /dev/null and b/i/sh/f_design2.gif differ diff --git a/i/sh/f_design3.gif b/i/sh/f_design3.gif new file mode 100644 index 0000000..152af29 Binary files /dev/null and b/i/sh/f_design3.gif differ diff --git a/i/sh/f_design4.gif b/i/sh/f_design4.gif new file mode 100644 index 0000000..f7a6377 Binary files /dev/null and b/i/sh/f_design4.gif differ diff --git a/i/sh/f_design5.gif b/i/sh/f_design5.gif new file mode 100644 index 0000000..6ae190c Binary files /dev/null and b/i/sh/f_design5.gif differ diff --git a/i/sh/f_forget-me-not21_kjkjklk.gif b/i/sh/f_forget-me-not21_kjkjklk.gif new file mode 100644 index 0000000..36b5d94 Binary files /dev/null and b/i/sh/f_forget-me-not21_kjkjklk.gif differ diff --git a/i/sh/f_hydrangea.gif b/i/sh/f_hydrangea.gif new file mode 100644 index 0000000..14dbf31 Binary files /dev/null and b/i/sh/f_hydrangea.gif differ diff --git a/i/sh/f_narcissus.gif b/i/sh/f_narcissus.gif new file mode 100644 index 0000000..6973983 Binary files /dev/null and b/i/sh/f_narcissus.gif differ diff --git a/i/sh/f_tulip.gif b/i/sh/f_tulip.gif new file mode 100644 index 0000000..dd12739 Binary files /dev/null and b/i/sh/f_tulip.gif differ diff --git a/i/sh/f_yrose.gif b/i/sh/f_yrose.gif new file mode 100644 index 0000000..cf09f19 Binary files /dev/null and b/i/sh/f_yrose.gif differ diff --git a/i/sh/fg1.gif b/i/sh/fg1.gif new file mode 100644 index 0000000..0586f81 Binary files /dev/null and b/i/sh/fg1.gif differ diff --git a/i/sh/fg2.gif b/i/sh/fg2.gif new file mode 100644 index 0000000..4fb63a1 Binary files /dev/null and b/i/sh/fg2.gif differ diff --git a/i/sh/fiol.gif b/i/sh/fiol.gif new file mode 100644 index 0000000..2bb6ea8 Binary files /dev/null and b/i/sh/fiol.gif differ diff --git a/i/sh/fist_def.gif b/i/sh/fist_def.gif new file mode 100644 index 0000000..edc4420 Binary files /dev/null and b/i/sh/fist_def.gif differ diff --git a/i/sh/flove21.gif b/i/sh/flove21.gif new file mode 100644 index 0000000..1e363ea Binary files /dev/null and b/i/sh/flove21.gif differ diff --git a/i/sh/flove3.gif b/i/sh/flove3.gif new file mode 100644 index 0000000..b5b99a6 Binary files /dev/null and b/i/sh/flove3.gif differ diff --git a/i/sh/flove5.gif b/i/sh/flove5.gif new file mode 100644 index 0000000..2fefa9b Binary files /dev/null and b/i/sh/flove5.gif differ diff --git a/i/sh/flove7.gif b/i/sh/flove7.gif new file mode 100644 index 0000000..7ab3a00 Binary files /dev/null and b/i/sh/flove7.gif differ diff --git a/i/sh/flove9.gif b/i/sh/flove9.gif new file mode 100644 index 0000000..ec7ca3d Binary files /dev/null and b/i/sh/flove9.gif differ diff --git a/i/sh/food_l8.gif b/i/sh/food_l8.gif new file mode 100644 index 0000000..d09c510 Binary files /dev/null and b/i/sh/food_l8.gif differ diff --git a/i/sh/food_l87.gif b/i/sh/food_l87.gif new file mode 100644 index 0000000..05baa4e Binary files /dev/null and b/i/sh/food_l87.gif differ diff --git a/i/sh/foodl8.gif b/i/sh/foodl8.gif new file mode 100644 index 0000000..fdec0fd Binary files /dev/null and b/i/sh/foodl8.gif differ diff --git a/i/sh/fp_black.gif b/i/sh/fp_black.gif new file mode 100644 index 0000000..7e51ad1 Binary files /dev/null and b/i/sh/fp_black.gif differ diff --git a/i/sh/fp_rose_25.gif b/i/sh/fp_rose_25.gif new file mode 100644 index 0000000..ddffa26 Binary files /dev/null and b/i/sh/fp_rose_25.gif differ diff --git a/i/sh/fp_wrose21mkdefj.gif b/i/sh/fp_wrose21mkdefj.gif new file mode 100644 index 0000000..9c8f669 Binary files /dev/null and b/i/sh/fp_wrose21mkdefj.gif differ diff --git a/i/sh/g.gif b/i/sh/g.gif new file mode 100644 index 0000000..b384742 Binary files /dev/null and b/i/sh/g.gif differ diff --git a/i/sh/g_mudr.gif b/i/sh/g_mudr.gif new file mode 100644 index 0000000..fa15a6c Binary files /dev/null and b/i/sh/g_mudr.gif differ diff --git a/i/sh/g_sila.gif b/i/sh/g_sila.gif new file mode 100644 index 0000000..4ba4851 Binary files /dev/null and b/i/sh/g_sila.gif differ diff --git a/i/sh/gaika.gif b/i/sh/gaika.gif new file mode 100644 index 0000000..c4bc3ad Binary files /dev/null and b/i/sh/gaika.gif differ diff --git a/i/sh/gg3_suv_insect_f.gif b/i/sh/gg3_suv_insect_f.gif new file mode 100644 index 0000000..a2b1841 Binary files /dev/null and b/i/sh/gg3_suv_insect_f.gif differ diff --git a/i/sh/gg3_suv_orchid.gif b/i/sh/gg3_suv_orchid.gif new file mode 100644 index 0000000..c07d5d0 Binary files /dev/null and b/i/sh/gg3_suv_orchid.gif differ diff --git a/i/sh/gift8marta_1.gif b/i/sh/gift8marta_1.gif new file mode 100644 index 0000000..63f59ff Binary files /dev/null and b/i/sh/gift8marta_1.gif differ diff --git a/i/sh/gift8marta_10.gif b/i/sh/gift8marta_10.gif new file mode 100644 index 0000000..ba903d9 Binary files /dev/null and b/i/sh/gift8marta_10.gif differ diff --git a/i/sh/gift8marta_11.gif b/i/sh/gift8marta_11.gif new file mode 100644 index 0000000..e411424 Binary files /dev/null and b/i/sh/gift8marta_11.gif differ diff --git a/i/sh/gift8marta_12.gif b/i/sh/gift8marta_12.gif new file mode 100644 index 0000000..a531881 Binary files /dev/null and b/i/sh/gift8marta_12.gif differ diff --git a/i/sh/gift8marta_13.gif b/i/sh/gift8marta_13.gif new file mode 100644 index 0000000..66ee53a Binary files /dev/null and b/i/sh/gift8marta_13.gif differ diff --git a/i/sh/gift8marta_14.gif b/i/sh/gift8marta_14.gif new file mode 100644 index 0000000..e2e7692 Binary files /dev/null and b/i/sh/gift8marta_14.gif differ diff --git a/i/sh/gift8marta_15.gif b/i/sh/gift8marta_15.gif new file mode 100644 index 0000000..f665e5c Binary files /dev/null and b/i/sh/gift8marta_15.gif differ diff --git a/i/sh/gift8marta_16.gif b/i/sh/gift8marta_16.gif new file mode 100644 index 0000000..ec25115 Binary files /dev/null and b/i/sh/gift8marta_16.gif differ diff --git a/i/sh/gift8marta_17.gif b/i/sh/gift8marta_17.gif new file mode 100644 index 0000000..170b6d7 Binary files /dev/null and b/i/sh/gift8marta_17.gif differ diff --git a/i/sh/gift8marta_18.gif b/i/sh/gift8marta_18.gif new file mode 100644 index 0000000..97ea60c Binary files /dev/null and b/i/sh/gift8marta_18.gif differ diff --git a/i/sh/gift8marta_19.gif b/i/sh/gift8marta_19.gif new file mode 100644 index 0000000..77c3d4c Binary files /dev/null and b/i/sh/gift8marta_19.gif differ diff --git a/i/sh/gift8marta_2.gif b/i/sh/gift8marta_2.gif new file mode 100644 index 0000000..2ce2940 Binary files /dev/null and b/i/sh/gift8marta_2.gif differ diff --git a/i/sh/gift8marta_20.gif b/i/sh/gift8marta_20.gif new file mode 100644 index 0000000..6b1079e Binary files /dev/null and b/i/sh/gift8marta_20.gif differ diff --git a/i/sh/gift8marta_21.gif b/i/sh/gift8marta_21.gif new file mode 100644 index 0000000..738ce0c Binary files /dev/null and b/i/sh/gift8marta_21.gif differ diff --git a/i/sh/gift8marta_22.gif b/i/sh/gift8marta_22.gif new file mode 100644 index 0000000..b415f58 Binary files /dev/null and b/i/sh/gift8marta_22.gif differ diff --git a/i/sh/gift8marta_23.gif b/i/sh/gift8marta_23.gif new file mode 100644 index 0000000..2043e27 Binary files /dev/null and b/i/sh/gift8marta_23.gif differ diff --git a/i/sh/gift8marta_24.gif b/i/sh/gift8marta_24.gif new file mode 100644 index 0000000..66e24e1 Binary files /dev/null and b/i/sh/gift8marta_24.gif differ diff --git a/i/sh/gift8marta_3.gif b/i/sh/gift8marta_3.gif new file mode 100644 index 0000000..090b059 Binary files /dev/null and b/i/sh/gift8marta_3.gif differ diff --git a/i/sh/gift8marta_4.gif b/i/sh/gift8marta_4.gif new file mode 100644 index 0000000..d7fcbbb Binary files /dev/null and b/i/sh/gift8marta_4.gif differ diff --git a/i/sh/gift8marta_5.gif b/i/sh/gift8marta_5.gif new file mode 100644 index 0000000..f33cecb Binary files /dev/null and b/i/sh/gift8marta_5.gif differ diff --git a/i/sh/gift8marta_6.gif b/i/sh/gift8marta_6.gif new file mode 100644 index 0000000..e35b6ba Binary files /dev/null and b/i/sh/gift8marta_6.gif differ diff --git a/i/sh/gift8marta_9.gif b/i/sh/gift8marta_9.gif new file mode 100644 index 0000000..961ff77 Binary files /dev/null and b/i/sh/gift8marta_9.gif differ diff --git a/i/sh/gift_angel.gif b/i/sh/gift_angel.gif new file mode 100644 index 0000000..9a6d78a Binary files /dev/null and b/i/sh/gift_angel.gif differ diff --git a/i/sh/gift_avalon_02.gif b/i/sh/gift_avalon_02.gif new file mode 100644 index 0000000..7349f32 Binary files /dev/null and b/i/sh/gift_avalon_02.gif differ diff --git a/i/sh/gift_avalon_03.gif b/i/sh/gift_avalon_03.gif new file mode 100644 index 0000000..8004fe1 Binary files /dev/null and b/i/sh/gift_avalon_03.gif differ diff --git a/i/sh/gift_avalon_04.gif b/i/sh/gift_avalon_04.gif new file mode 100644 index 0000000..b04b11d Binary files /dev/null and b/i/sh/gift_avalon_04.gif differ diff --git a/i/sh/gift_avalon_05.gif b/i/sh/gift_avalon_05.gif new file mode 100644 index 0000000..d06ebe9 Binary files /dev/null and b/i/sh/gift_avalon_05.gif differ diff --git a/i/sh/gift_avalon_06.gif b/i/sh/gift_avalon_06.gif new file mode 100644 index 0000000..6059fd8 Binary files /dev/null and b/i/sh/gift_avalon_06.gif differ diff --git a/i/sh/gift_avalon_07.gif b/i/sh/gift_avalon_07.gif new file mode 100644 index 0000000..dbb07cb Binary files /dev/null and b/i/sh/gift_avalon_07.gif differ diff --git a/i/sh/gift_avalon_08.gif b/i/sh/gift_avalon_08.gif new file mode 100644 index 0000000..5af3344 Binary files /dev/null and b/i/sh/gift_avalon_08.gif differ diff --git a/i/sh/gift_avalon_09.gif b/i/sh/gift_avalon_09.gif new file mode 100644 index 0000000..a7eea35 Binary files /dev/null and b/i/sh/gift_avalon_09.gif differ diff --git a/i/sh/gift_avalon_10.gif b/i/sh/gift_avalon_10.gif new file mode 100644 index 0000000..649d22d Binary files /dev/null and b/i/sh/gift_avalon_10.gif differ diff --git a/i/sh/gift_avalon_11.gif b/i/sh/gift_avalon_11.gif new file mode 100644 index 0000000..7c2ba32 Binary files /dev/null and b/i/sh/gift_avalon_11.gif differ diff --git a/i/sh/gift_avalon_12.gif b/i/sh/gift_avalon_12.gif new file mode 100644 index 0000000..0dea427 Binary files /dev/null and b/i/sh/gift_avalon_12.gif differ diff --git a/i/sh/gift_avalon_128.gif b/i/sh/gift_avalon_128.gif new file mode 100644 index 0000000..8790dc6 Binary files /dev/null and b/i/sh/gift_avalon_128.gif differ diff --git a/i/sh/gift_avalon_13.gif b/i/sh/gift_avalon_13.gif new file mode 100644 index 0000000..ee01bda Binary files /dev/null and b/i/sh/gift_avalon_13.gif differ diff --git a/i/sh/gift_avalon_14.gif b/i/sh/gift_avalon_14.gif new file mode 100644 index 0000000..735ffc0 Binary files /dev/null and b/i/sh/gift_avalon_14.gif differ diff --git a/i/sh/gift_avalon_15.gif b/i/sh/gift_avalon_15.gif new file mode 100644 index 0000000..dcddcc4 Binary files /dev/null and b/i/sh/gift_avalon_15.gif differ diff --git a/i/sh/gift_avalon_16.gif b/i/sh/gift_avalon_16.gif new file mode 100644 index 0000000..e85c87b Binary files /dev/null and b/i/sh/gift_avalon_16.gif differ diff --git a/i/sh/gift_avalon_17.gif b/i/sh/gift_avalon_17.gif new file mode 100644 index 0000000..dafc226 Binary files /dev/null and b/i/sh/gift_avalon_17.gif differ diff --git a/i/sh/gift_avalon_18.gif b/i/sh/gift_avalon_18.gif new file mode 100644 index 0000000..823a6ee Binary files /dev/null and b/i/sh/gift_avalon_18.gif differ diff --git a/i/sh/gift_avalon_20.gif b/i/sh/gift_avalon_20.gif new file mode 100644 index 0000000..db01f20 Binary files /dev/null and b/i/sh/gift_avalon_20.gif differ diff --git a/i/sh/gift_avalon_22.gif b/i/sh/gift_avalon_22.gif new file mode 100644 index 0000000..a8265b6 Binary files /dev/null and b/i/sh/gift_avalon_22.gif differ diff --git a/i/sh/gift_avalon_23.gif b/i/sh/gift_avalon_23.gif new file mode 100644 index 0000000..f5a7d17 Binary files /dev/null and b/i/sh/gift_avalon_23.gif differ diff --git a/i/sh/gift_avalon_24.gif b/i/sh/gift_avalon_24.gif new file mode 100644 index 0000000..50c8fca Binary files /dev/null and b/i/sh/gift_avalon_24.gif differ diff --git a/i/sh/gift_avalon_26.gif b/i/sh/gift_avalon_26.gif new file mode 100644 index 0000000..9958855 Binary files /dev/null and b/i/sh/gift_avalon_26.gif differ diff --git a/i/sh/gift_avalon_27.gif b/i/sh/gift_avalon_27.gif new file mode 100644 index 0000000..6bfa5eb Binary files /dev/null and b/i/sh/gift_avalon_27.gif differ diff --git a/i/sh/gift_avalon_29.gif b/i/sh/gift_avalon_29.gif new file mode 100644 index 0000000..ef888f1 Binary files /dev/null and b/i/sh/gift_avalon_29.gif differ diff --git a/i/sh/gift_avalon_30.gif b/i/sh/gift_avalon_30.gif new file mode 100644 index 0000000..e92ec0d Binary files /dev/null and b/i/sh/gift_avalon_30.gif differ diff --git a/i/sh/gift_avalon_32.gif b/i/sh/gift_avalon_32.gif new file mode 100644 index 0000000..84d0cb0 Binary files /dev/null and b/i/sh/gift_avalon_32.gif differ diff --git a/i/sh/gift_avalon_33.gif b/i/sh/gift_avalon_33.gif new file mode 100644 index 0000000..6295ac8 Binary files /dev/null and b/i/sh/gift_avalon_33.gif differ diff --git a/i/sh/gift_avalon_34.gif b/i/sh/gift_avalon_34.gif new file mode 100644 index 0000000..d71acec Binary files /dev/null and b/i/sh/gift_avalon_34.gif differ diff --git a/i/sh/gift_avalon_36.gif b/i/sh/gift_avalon_36.gif new file mode 100644 index 0000000..45ff18f Binary files /dev/null and b/i/sh/gift_avalon_36.gif differ diff --git a/i/sh/gift_avalon_37.gif b/i/sh/gift_avalon_37.gif new file mode 100644 index 0000000..5792e0d Binary files /dev/null and b/i/sh/gift_avalon_37.gif differ diff --git a/i/sh/gift_avalon_38.gif b/i/sh/gift_avalon_38.gif new file mode 100644 index 0000000..0d0b1aa Binary files /dev/null and b/i/sh/gift_avalon_38.gif differ diff --git a/i/sh/gift_avalon_39.gif b/i/sh/gift_avalon_39.gif new file mode 100644 index 0000000..54d258c Binary files /dev/null and b/i/sh/gift_avalon_39.gif differ diff --git a/i/sh/gift_avalon_40.gif b/i/sh/gift_avalon_40.gif new file mode 100644 index 0000000..5319dc5 Binary files /dev/null and b/i/sh/gift_avalon_40.gif differ diff --git a/i/sh/gift_avalon_41.gif b/i/sh/gift_avalon_41.gif new file mode 100644 index 0000000..1bc1d6f Binary files /dev/null and b/i/sh/gift_avalon_41.gif differ diff --git a/i/sh/gift_avalon_43.gif b/i/sh/gift_avalon_43.gif new file mode 100644 index 0000000..ea3e773 Binary files /dev/null and b/i/sh/gift_avalon_43.gif differ diff --git a/i/sh/gift_avalon_45.gif b/i/sh/gift_avalon_45.gif new file mode 100644 index 0000000..71808dc Binary files /dev/null and b/i/sh/gift_avalon_45.gif differ diff --git a/i/sh/gift_avalon_46.gif b/i/sh/gift_avalon_46.gif new file mode 100644 index 0000000..4c9d125 Binary files /dev/null and b/i/sh/gift_avalon_46.gif differ diff --git a/i/sh/gift_avalon_48.gif b/i/sh/gift_avalon_48.gif new file mode 100644 index 0000000..dc28234 Binary files /dev/null and b/i/sh/gift_avalon_48.gif differ diff --git a/i/sh/gift_avalon_50.gif b/i/sh/gift_avalon_50.gif new file mode 100644 index 0000000..0bfe6d1 Binary files /dev/null and b/i/sh/gift_avalon_50.gif differ diff --git a/i/sh/gift_avalon_51.gif b/i/sh/gift_avalon_51.gif new file mode 100644 index 0000000..55e7985 Binary files /dev/null and b/i/sh/gift_avalon_51.gif differ diff --git a/i/sh/gift_avalon_ekr_01.gif b/i/sh/gift_avalon_ekr_01.gif new file mode 100644 index 0000000..ddd25bd Binary files /dev/null and b/i/sh/gift_avalon_ekr_01.gif differ diff --git a/i/sh/gift_avalon_ekr_02.gif b/i/sh/gift_avalon_ekr_02.gif new file mode 100644 index 0000000..cfc092c Binary files /dev/null and b/i/sh/gift_avalon_ekr_02.gif differ diff --git a/i/sh/gift_avalon_ekr_04.gif b/i/sh/gift_avalon_ekr_04.gif new file mode 100644 index 0000000..d63f3c4 Binary files /dev/null and b/i/sh/gift_avalon_ekr_04.gif differ diff --git a/i/sh/gift_avalon_ekr_05.gif b/i/sh/gift_avalon_ekr_05.gif new file mode 100644 index 0000000..ea4d33b Binary files /dev/null and b/i/sh/gift_avalon_ekr_05.gif differ diff --git a/i/sh/gift_avalon_ekr_09.gif b/i/sh/gift_avalon_ekr_09.gif new file mode 100644 index 0000000..b7f31f8 Binary files /dev/null and b/i/sh/gift_avalon_ekr_09.gif differ diff --git a/i/sh/gift_avalon_ekr_10.gif b/i/sh/gift_avalon_ekr_10.gif new file mode 100644 index 0000000..17e938d Binary files /dev/null and b/i/sh/gift_avalon_ekr_10.gif differ diff --git a/i/sh/gift_avalon_ekr_11.gif b/i/sh/gift_avalon_ekr_11.gif new file mode 100644 index 0000000..fcfc66b Binary files /dev/null and b/i/sh/gift_avalon_ekr_11.gif differ diff --git a/i/sh/gift_avalon_ekr_12.gif b/i/sh/gift_avalon_ekr_12.gif new file mode 100644 index 0000000..2cba08f Binary files /dev/null and b/i/sh/gift_avalon_ekr_12.gif differ diff --git a/i/sh/gift_avalon_ekr_14.gif b/i/sh/gift_avalon_ekr_14.gif new file mode 100644 index 0000000..1dbbcb8 Binary files /dev/null and b/i/sh/gift_avalon_ekr_14.gif differ diff --git a/i/sh/gift_avalon_ekr_16.gif b/i/sh/gift_avalon_ekr_16.gif new file mode 100644 index 0000000..e9fec28 Binary files /dev/null and b/i/sh/gift_avalon_ekr_16.gif differ diff --git a/i/sh/gift_avalon_ekr_17.gif b/i/sh/gift_avalon_ekr_17.gif new file mode 100644 index 0000000..6d4019a Binary files /dev/null and b/i/sh/gift_avalon_ekr_17.gif differ diff --git a/i/sh/gift_avalon_ekr_18.gif b/i/sh/gift_avalon_ekr_18.gif new file mode 100644 index 0000000..97875d3 Binary files /dev/null and b/i/sh/gift_avalon_ekr_18.gif differ diff --git a/i/sh/gift_avalon_ekr_26.gif b/i/sh/gift_avalon_ekr_26.gif new file mode 100644 index 0000000..d04b481 Binary files /dev/null and b/i/sh/gift_avalon_ekr_26.gif differ diff --git a/i/sh/gift_avalon_ekr_29.gif b/i/sh/gift_avalon_ekr_29.gif new file mode 100644 index 0000000..c482851 Binary files /dev/null and b/i/sh/gift_avalon_ekr_29.gif differ diff --git a/i/sh/gift_avalon_ekr_30.gif b/i/sh/gift_avalon_ekr_30.gif new file mode 100644 index 0000000..a7c2462 Binary files /dev/null and b/i/sh/gift_avalon_ekr_30.gif differ diff --git a/i/sh/gift_avalon_ekr_31.gif b/i/sh/gift_avalon_ekr_31.gif new file mode 100644 index 0000000..5f06f01 Binary files /dev/null and b/i/sh/gift_avalon_ekr_31.gif differ diff --git a/i/sh/gift_avalon_ekr_34.gif b/i/sh/gift_avalon_ekr_34.gif new file mode 100644 index 0000000..fc0e7d4 Binary files /dev/null and b/i/sh/gift_avalon_ekr_34.gif differ diff --git a/i/sh/gift_avalon_ekr_35.gif b/i/sh/gift_avalon_ekr_35.gif new file mode 100644 index 0000000..7690d6e Binary files /dev/null and b/i/sh/gift_avalon_ekr_35.gif differ diff --git a/i/sh/gift_bag.gif b/i/sh/gift_bag.gif new file mode 100644 index 0000000..f6969c9 Binary files /dev/null and b/i/sh/gift_bag.gif differ diff --git a/i/sh/gift_baksy.gif b/i/sh/gift_baksy.gif new file mode 100644 index 0000000..668ded5 Binary files /dev/null and b/i/sh/gift_baksy.gif differ diff --git a/i/sh/gift_ber62.gif b/i/sh/gift_ber62.gif new file mode 100644 index 0000000..1ddf079 Binary files /dev/null and b/i/sh/gift_ber62.gif differ diff --git a/i/sh/gift_blond2.gif b/i/sh/gift_blond2.gif new file mode 100644 index 0000000..c65f00d Binary files /dev/null and b/i/sh/gift_blond2.gif differ diff --git a/i/sh/gift_botinok.gif b/i/sh/gift_botinok.gif new file mode 100644 index 0000000..c55a367 Binary files /dev/null and b/i/sh/gift_botinok.gif differ diff --git a/i/sh/gift_boyan.gif b/i/sh/gift_boyan.gif new file mode 100644 index 0000000..a5fcb0a Binary files /dev/null and b/i/sh/gift_boyan.gif differ diff --git a/i/sh/gift_brelok.gif b/i/sh/gift_brelok.gif new file mode 100644 index 0000000..3ff4786 Binary files /dev/null and b/i/sh/gift_brelok.gif differ diff --git a/i/sh/gift_brunet.gif b/i/sh/gift_brunet.gif new file mode 100644 index 0000000..83a2bbd Binary files /dev/null and b/i/sh/gift_brunet.gif differ diff --git a/i/sh/gift_ekr1.gif b/i/sh/gift_ekr1.gif new file mode 100644 index 0000000..75c409c Binary files /dev/null and b/i/sh/gift_ekr1.gif differ diff --git a/i/sh/gift_ekr10.gif b/i/sh/gift_ekr10.gif new file mode 100644 index 0000000..c336cd5 Binary files /dev/null and b/i/sh/gift_ekr10.gif differ diff --git a/i/sh/gift_ekr12.gif b/i/sh/gift_ekr12.gif new file mode 100644 index 0000000..77df4d4 Binary files /dev/null and b/i/sh/gift_ekr12.gif differ diff --git a/i/sh/gift_ekr19.gif b/i/sh/gift_ekr19.gif new file mode 100644 index 0000000..59a6245 Binary files /dev/null and b/i/sh/gift_ekr19.gif differ diff --git a/i/sh/gift_ekr23.gif b/i/sh/gift_ekr23.gif new file mode 100644 index 0000000..2a9d738 Binary files /dev/null and b/i/sh/gift_ekr23.gif differ diff --git a/i/sh/gift_ekr24.gif b/i/sh/gift_ekr24.gif new file mode 100644 index 0000000..8f7328d Binary files /dev/null and b/i/sh/gift_ekr24.gif differ diff --git a/i/sh/gift_ekr25.gif b/i/sh/gift_ekr25.gif new file mode 100644 index 0000000..aba0f4b Binary files /dev/null and b/i/sh/gift_ekr25.gif differ diff --git a/i/sh/gift_ekr3.gif b/i/sh/gift_ekr3.gif new file mode 100644 index 0000000..f09065e Binary files /dev/null and b/i/sh/gift_ekr3.gif differ diff --git a/i/sh/gift_ekr36.gif b/i/sh/gift_ekr36.gif new file mode 100644 index 0000000..e1ed53d Binary files /dev/null and b/i/sh/gift_ekr36.gif differ diff --git a/i/sh/gift_ekr37.gif b/i/sh/gift_ekr37.gif new file mode 100644 index 0000000..e045feb Binary files /dev/null and b/i/sh/gift_ekr37.gif differ diff --git a/i/sh/gift_ekr4.gif b/i/sh/gift_ekr4.gif new file mode 100644 index 0000000..1ba9e99 Binary files /dev/null and b/i/sh/gift_ekr4.gif differ diff --git a/i/sh/gift_ekr40.gif b/i/sh/gift_ekr40.gif new file mode 100644 index 0000000..0f2e536 Binary files /dev/null and b/i/sh/gift_ekr40.gif differ diff --git a/i/sh/gift_ekr44.gif b/i/sh/gift_ekr44.gif new file mode 100644 index 0000000..7789a04 Binary files /dev/null and b/i/sh/gift_ekr44.gif differ diff --git a/i/sh/gift_ekr45.gif b/i/sh/gift_ekr45.gif new file mode 100644 index 0000000..2fff1de Binary files /dev/null and b/i/sh/gift_ekr45.gif differ diff --git a/i/sh/gift_ekr53.gif b/i/sh/gift_ekr53.gif new file mode 100644 index 0000000..1524264 Binary files /dev/null and b/i/sh/gift_ekr53.gif differ diff --git a/i/sh/gift_ekr55.gif b/i/sh/gift_ekr55.gif new file mode 100644 index 0000000..20b2fc8 Binary files /dev/null and b/i/sh/gift_ekr55.gif differ diff --git a/i/sh/gift_ekr68.gif b/i/sh/gift_ekr68.gif new file mode 100644 index 0000000..a3419fe Binary files /dev/null and b/i/sh/gift_ekr68.gif differ diff --git a/i/sh/gift_ekr71.gif b/i/sh/gift_ekr71.gif new file mode 100644 index 0000000..5b39db5 Binary files /dev/null and b/i/sh/gift_ekr71.gif differ diff --git a/i/sh/gift_ekr76.gif b/i/sh/gift_ekr76.gif new file mode 100644 index 0000000..10e6ced Binary files /dev/null and b/i/sh/gift_ekr76.gif differ diff --git a/i/sh/gift_ekr77.gif b/i/sh/gift_ekr77.gif new file mode 100644 index 0000000..aa3df61 Binary files /dev/null and b/i/sh/gift_ekr77.gif differ diff --git a/i/sh/gift_ekr98.gif b/i/sh/gift_ekr98.gif new file mode 100644 index 0000000..19cc97c Binary files /dev/null and b/i/sh/gift_ekr98.gif differ diff --git a/i/sh/gift_hb_126.gif b/i/sh/gift_hb_126.gif new file mode 100644 index 0000000..3494da5 Binary files /dev/null and b/i/sh/gift_hb_126.gif differ diff --git a/i/sh/gift_karty.gif b/i/sh/gift_karty.gif new file mode 100644 index 0000000..cfb02de Binary files /dev/null and b/i/sh/gift_karty.gif differ diff --git a/i/sh/gift_kiss7.gif b/i/sh/gift_kiss7.gif new file mode 100644 index 0000000..abaf2e4 Binary files /dev/null and b/i/sh/gift_kiss7.gif differ diff --git a/i/sh/gift_kloun.gif b/i/sh/gift_kloun.gif new file mode 100644 index 0000000..3a1e0ea Binary files /dev/null and b/i/sh/gift_kloun.gif differ diff --git a/i/sh/gift_kluch.gif b/i/sh/gift_kluch.gif new file mode 100644 index 0000000..212e6bf Binary files /dev/null and b/i/sh/gift_kluch.gif differ diff --git a/i/sh/gift_kryl2.gif b/i/sh/gift_kryl2.gif new file mode 100644 index 0000000..887a9c7 Binary files /dev/null and b/i/sh/gift_kryl2.gif differ diff --git a/i/sh/gift_latex.gif b/i/sh/gift_latex.gif new file mode 100644 index 0000000..d3deb29 Binary files /dev/null and b/i/sh/gift_latex.gif differ diff --git a/i/sh/gift_maska.gif b/i/sh/gift_maska.gif new file mode 100644 index 0000000..e7755da Binary files /dev/null and b/i/sh/gift_maska.gif differ diff --git a/i/sh/gift_medal.gif b/i/sh/gift_medal.gif new file mode 100644 index 0000000..6646900 Binary files /dev/null and b/i/sh/gift_medal.gif differ diff --git a/i/sh/gift_neutral.gif b/i/sh/gift_neutral.gif new file mode 100644 index 0000000..f935c12 Binary files /dev/null and b/i/sh/gift_neutral.gif differ diff --git a/i/sh/gift_pisma.gif b/i/sh/gift_pisma.gif new file mode 100644 index 0000000..3d84687 Binary files /dev/null and b/i/sh/gift_pisma.gif differ diff --git a/i/sh/gift_rubashka.gif b/i/sh/gift_rubashka.gif new file mode 100644 index 0000000..3f7f650 Binary files /dev/null and b/i/sh/gift_rubashka.gif differ diff --git a/i/sh/gift_rubaxa1.gif b/i/sh/gift_rubaxa1.gif new file mode 100644 index 0000000..b4010b6 Binary files /dev/null and b/i/sh/gift_rubaxa1.gif differ diff --git a/i/sh/gift_rubaxa2.gif b/i/sh/gift_rubaxa2.gif new file mode 100644 index 0000000..27fc9bf Binary files /dev/null and b/i/sh/gift_rubaxa2.gif differ diff --git a/i/sh/gift_rubaxa3.gif b/i/sh/gift_rubaxa3.gif new file mode 100644 index 0000000..ebdd21a Binary files /dev/null and b/i/sh/gift_rubaxa3.gif differ diff --git a/i/sh/gift_rubik.gif b/i/sh/gift_rubik.gif new file mode 100644 index 0000000..a02b6a6 Binary files /dev/null and b/i/sh/gift_rubik.gif differ diff --git a/i/sh/gift_shkatulka.gif b/i/sh/gift_shkatulka.gif new file mode 100644 index 0000000..4a6763a Binary files /dev/null and b/i/sh/gift_shkatulka.gif differ diff --git a/i/sh/gift_smeh.gif b/i/sh/gift_smeh.gif new file mode 100644 index 0000000..af4ebc1 Binary files /dev/null and b/i/sh/gift_smeh.gif differ diff --git a/i/sh/gift_smile1.gif b/i/sh/gift_smile1.gif new file mode 100644 index 0000000..8637ab0 Binary files /dev/null and b/i/sh/gift_smile1.gif differ diff --git a/i/sh/gift_tapki.gif b/i/sh/gift_tapki.gif new file mode 100644 index 0000000..cb78664 Binary files /dev/null and b/i/sh/gift_tapki.gif differ diff --git a/i/sh/gift_veer.gif b/i/sh/gift_veer.gif new file mode 100644 index 0000000..a3450ed Binary files /dev/null and b/i/sh/gift_veer.gif differ diff --git a/i/sh/gift_zerkalo.gif b/i/sh/gift_zerkalo.gif new file mode 100644 index 0000000..cfbea53 Binary files /dev/null and b/i/sh/gift_zerkalo.gif differ diff --git a/i/sh/gilet1.gif b/i/sh/gilet1.gif new file mode 100644 index 0000000..8a7e956 Binary files /dev/null and b/i/sh/gilet1.gif differ diff --git a/i/sh/gl_mara_leycloak.gif b/i/sh/gl_mara_leycloak.gif new file mode 100644 index 0000000..bd82e14 Binary files /dev/null and b/i/sh/gl_mara_leycloak.gif differ diff --git a/i/sh/glina.gif b/i/sh/glina.gif new file mode 100644 index 0000000..d8fbc50 Binary files /dev/null and b/i/sh/glina.gif differ diff --git a/i/sh/gloves1265.gif b/i/sh/gloves1265.gif new file mode 100644 index 0000000..5ef2afb Binary files /dev/null and b/i/sh/gloves1265.gif differ diff --git a/i/sh/gloves200.gif b/i/sh/gloves200.gif new file mode 100644 index 0000000..20d7069 Binary files /dev/null and b/i/sh/gloves200.gif differ diff --git a/i/sh/gloves201.gif b/i/sh/gloves201.gif new file mode 100644 index 0000000..a42d398 Binary files /dev/null and b/i/sh/gloves201.gif differ diff --git a/i/sh/gloves201u.gif b/i/sh/gloves201u.gif new file mode 100644 index 0000000..f02e070 Binary files /dev/null and b/i/sh/gloves201u.gif differ diff --git a/i/sh/gloves202.gif b/i/sh/gloves202.gif new file mode 100644 index 0000000..7589a6b Binary files /dev/null and b/i/sh/gloves202.gif differ diff --git a/i/sh/gloves202u.gif b/i/sh/gloves202u.gif new file mode 100644 index 0000000..80ab766 Binary files /dev/null and b/i/sh/gloves202u.gif differ diff --git a/i/sh/gloves203.gif b/i/sh/gloves203.gif new file mode 100644 index 0000000..13f82f8 Binary files /dev/null and b/i/sh/gloves203.gif differ diff --git a/i/sh/gloves203u.gif b/i/sh/gloves203u.gif new file mode 100644 index 0000000..63583b5 Binary files /dev/null and b/i/sh/gloves203u.gif differ diff --git a/i/sh/gloves205.gif b/i/sh/gloves205.gif new file mode 100644 index 0000000..728692e Binary files /dev/null and b/i/sh/gloves205.gif differ diff --git a/i/sh/gloves209.gif b/i/sh/gloves209.gif new file mode 100644 index 0000000..c818449 Binary files /dev/null and b/i/sh/gloves209.gif differ diff --git a/i/sh/gloves210.gif b/i/sh/gloves210.gif new file mode 100644 index 0000000..529237b Binary files /dev/null and b/i/sh/gloves210.gif differ diff --git a/i/sh/gloves211.gif b/i/sh/gloves211.gif new file mode 100644 index 0000000..55b361a Binary files /dev/null and b/i/sh/gloves211.gif differ diff --git a/i/sh/gloves212.gif b/i/sh/gloves212.gif new file mode 100644 index 0000000..8c63b4d Binary files /dev/null and b/i/sh/gloves212.gif differ diff --git a/i/sh/gloves90.gif b/i/sh/gloves90.gif new file mode 100644 index 0000000..acbde50 Binary files /dev/null and b/i/sh/gloves90.gif differ diff --git a/i/sh/gold1.gif b/i/sh/gold1.gif new file mode 100644 index 0000000..cc1e77d Binary files /dev/null and b/i/sh/gold1.gif differ diff --git a/i/sh/granit.gif b/i/sh/granit.gif new file mode 100644 index 0000000..3e0dbab Binary files /dev/null and b/i/sh/granit.gif differ diff --git a/i/sh/grezi.gif b/i/sh/grezi.gif new file mode 100644 index 0000000..5050861 Binary files /dev/null and b/i/sh/grezi.gif differ diff --git a/i/sh/grshield.gif b/i/sh/grshield.gif new file mode 100644 index 0000000..de550a4 Binary files /dev/null and b/i/sh/grshield.gif differ diff --git a/i/sh/grshield2.gif b/i/sh/grshield2.gif new file mode 100644 index 0000000..3881dfc Binary files /dev/null and b/i/sh/grshield2.gif differ diff --git a/i/sh/guitar.gif b/i/sh/guitar.gif new file mode 100644 index 0000000..904e52e Binary files /dev/null and b/i/sh/guitar.gif differ diff --git a/i/sh/halfstone.gif b/i/sh/halfstone.gif new file mode 100644 index 0000000..898d9f0 Binary files /dev/null and b/i/sh/halfstone.gif differ diff --git a/i/sh/hammer064.gif b/i/sh/hammer064.gif new file mode 100644 index 0000000..790c996 Binary files /dev/null and b/i/sh/hammer064.gif differ diff --git a/i/sh/hammer1.gif b/i/sh/hammer1.gif new file mode 100644 index 0000000..bf37d4b Binary files /dev/null and b/i/sh/hammer1.gif differ diff --git a/i/sh/hammer101.gif b/i/sh/hammer101.gif new file mode 100644 index 0000000..adebb06 Binary files /dev/null and b/i/sh/hammer101.gif differ diff --git a/i/sh/hammer200.gif b/i/sh/hammer200.gif new file mode 100644 index 0000000..5848f2e Binary files /dev/null and b/i/sh/hammer200.gif differ diff --git a/i/sh/hammer200u.gif b/i/sh/hammer200u.gif new file mode 100644 index 0000000..0250055 Binary files /dev/null and b/i/sh/hammer200u.gif differ diff --git a/i/sh/hammer201.gif b/i/sh/hammer201.gif new file mode 100644 index 0000000..d46893d Binary files /dev/null and b/i/sh/hammer201.gif differ diff --git a/i/sh/hammer201u.gif b/i/sh/hammer201u.gif new file mode 100644 index 0000000..d1a2113 Binary files /dev/null and b/i/sh/hammer201u.gif differ diff --git a/i/sh/hammer202.gif b/i/sh/hammer202.gif new file mode 100644 index 0000000..ca80cfa Binary files /dev/null and b/i/sh/hammer202.gif differ diff --git a/i/sh/hammer202u.gif b/i/sh/hammer202u.gif new file mode 100644 index 0000000..778e396 Binary files /dev/null and b/i/sh/hammer202u.gif differ diff --git a/i/sh/hammer22.gif b/i/sh/hammer22.gif new file mode 100644 index 0000000..e4fa0bb Binary files /dev/null and b/i/sh/hammer22.gif differ diff --git a/i/sh/hammer3.gif b/i/sh/hammer3.gif new file mode 100644 index 0000000..9906da9 Binary files /dev/null and b/i/sh/hammer3.gif differ diff --git a/i/sh/hammer4.gif b/i/sh/hammer4.gif new file mode 100644 index 0000000..57a1229 Binary files /dev/null and b/i/sh/hammer4.gif differ diff --git a/i/sh/hammer5.gif b/i/sh/hammer5.gif new file mode 100644 index 0000000..416bc2a Binary files /dev/null and b/i/sh/hammer5.gif differ diff --git a/i/sh/hammer53.gif b/i/sh/hammer53.gif new file mode 100644 index 0000000..a8639c5 Binary files /dev/null and b/i/sh/hammer53.gif differ diff --git a/i/sh/hammer54.gif b/i/sh/hammer54.gif new file mode 100644 index 0000000..68dffad Binary files /dev/null and b/i/sh/hammer54.gif differ diff --git a/i/sh/hammer56.gif b/i/sh/hammer56.gif new file mode 100644 index 0000000..65089c3 Binary files /dev/null and b/i/sh/hammer56.gif differ diff --git a/i/sh/hammer58.gif b/i/sh/hammer58.gif new file mode 100644 index 0000000..e7c0a67 Binary files /dev/null and b/i/sh/hammer58.gif differ diff --git a/i/sh/hammer6.gif b/i/sh/hammer6.gif new file mode 100644 index 0000000..d55a7f4 Binary files /dev/null and b/i/sh/hammer6.gif differ diff --git a/i/sh/hammer61.gif b/i/sh/hammer61.gif new file mode 100644 index 0000000..7664a35 Binary files /dev/null and b/i/sh/hammer61.gif differ diff --git a/i/sh/hammer62.gif b/i/sh/hammer62.gif new file mode 100644 index 0000000..522e5a6 Binary files /dev/null and b/i/sh/hammer62.gif differ diff --git a/i/sh/hammer63.gif b/i/sh/hammer63.gif new file mode 100644 index 0000000..ed103df Binary files /dev/null and b/i/sh/hammer63.gif differ diff --git a/i/sh/hammer67.gif b/i/sh/hammer67.gif new file mode 100644 index 0000000..b0953f6 Binary files /dev/null and b/i/sh/hammer67.gif differ diff --git a/i/sh/hammer67u.gif b/i/sh/hammer67u.gif new file mode 100644 index 0000000..365f531 Binary files /dev/null and b/i/sh/hammer67u.gif differ diff --git a/i/sh/hammer70.gif b/i/sh/hammer70.gif new file mode 100644 index 0000000..e8d14eb Binary files /dev/null and b/i/sh/hammer70.gif differ diff --git a/i/sh/hammer71.gif b/i/sh/hammer71.gif new file mode 100644 index 0000000..e5f3ace Binary files /dev/null and b/i/sh/hammer71.gif differ diff --git a/i/sh/hammer72_du2.gif b/i/sh/hammer72_du2.gif new file mode 100644 index 0000000..82397a3 Binary files /dev/null and b/i/sh/hammer72_du2.gif differ diff --git a/i/sh/hammer72_du22.gif b/i/sh/hammer72_du22.gif new file mode 100644 index 0000000..82397a3 Binary files /dev/null and b/i/sh/hammer72_du22.gif differ diff --git a/i/sh/hammer73.gif b/i/sh/hammer73.gif new file mode 100644 index 0000000..e8d14eb Binary files /dev/null and b/i/sh/hammer73.gif differ diff --git a/i/sh/hammer74.gif b/i/sh/hammer74.gif new file mode 100644 index 0000000..99f5e1f Binary files /dev/null and b/i/sh/hammer74.gif differ diff --git a/i/sh/hammer75.gif b/i/sh/hammer75.gif new file mode 100644 index 0000000..be56e6f Binary files /dev/null and b/i/sh/hammer75.gif differ diff --git a/i/sh/hammer76.gif b/i/sh/hammer76.gif new file mode 100644 index 0000000..43f464a Binary files /dev/null and b/i/sh/hammer76.gif differ diff --git a/i/sh/hammer901.gif b/i/sh/hammer901.gif new file mode 100644 index 0000000..a3ccf7d Binary files /dev/null and b/i/sh/hammer901.gif differ diff --git a/i/sh/haos.gif b/i/sh/haos.gif new file mode 100644 index 0000000..70944a5 Binary files /dev/null and b/i/sh/haos.gif differ diff --git a/i/sh/haos_off.gif b/i/sh/haos_off.gif new file mode 100644 index 0000000..f39c5aa Binary files /dev/null and b/i/sh/haos_off.gif differ diff --git a/i/sh/heart.gif b/i/sh/heart.gif new file mode 100644 index 0000000..804dd52 Binary files /dev/null and b/i/sh/heart.gif differ diff --git a/i/sh/heart12.gif b/i/sh/heart12.gif new file mode 100644 index 0000000..0b6de94 Binary files /dev/null and b/i/sh/heart12.gif differ diff --git a/i/sh/heart2.gif b/i/sh/heart2.gif new file mode 100644 index 0000000..0f58c27 Binary files /dev/null and b/i/sh/heart2.gif differ diff --git a/i/sh/heart5.gif b/i/sh/heart5.gif new file mode 100644 index 0000000..7f0dba8 Binary files /dev/null and b/i/sh/heart5.gif differ diff --git a/i/sh/heart6.gif b/i/sh/heart6.gif new file mode 100644 index 0000000..39037e4 Binary files /dev/null and b/i/sh/heart6.gif differ diff --git a/i/sh/helmet1.gif b/i/sh/helmet1.gif new file mode 100644 index 0000000..69e756b Binary files /dev/null and b/i/sh/helmet1.gif differ diff --git a/i/sh/helmet10.gif b/i/sh/helmet10.gif new file mode 100644 index 0000000..4168e7f Binary files /dev/null and b/i/sh/helmet10.gif differ diff --git a/i/sh/helmet101.gif b/i/sh/helmet101.gif new file mode 100644 index 0000000..a241453 Binary files /dev/null and b/i/sh/helmet101.gif differ diff --git a/i/sh/helmet11.gif b/i/sh/helmet11.gif new file mode 100644 index 0000000..81073ef Binary files /dev/null and b/i/sh/helmet11.gif differ diff --git a/i/sh/helmet1113.gif b/i/sh/helmet1113.gif new file mode 100644 index 0000000..3540aa2 Binary files /dev/null and b/i/sh/helmet1113.gif differ diff --git a/i/sh/helmet112.gif b/i/sh/helmet112.gif new file mode 100644 index 0000000..b4430c6 Binary files /dev/null and b/i/sh/helmet112.gif differ diff --git a/i/sh/helmet1211.gif b/i/sh/helmet1211.gif new file mode 100644 index 0000000..f2fa7f1 Binary files /dev/null and b/i/sh/helmet1211.gif differ diff --git a/i/sh/helmet1265.gif b/i/sh/helmet1265.gif new file mode 100644 index 0000000..db45e10 Binary files /dev/null and b/i/sh/helmet1265.gif differ diff --git a/i/sh/helmet2.gif b/i/sh/helmet2.gif new file mode 100644 index 0000000..eca2bf1 Binary files /dev/null and b/i/sh/helmet2.gif differ diff --git a/i/sh/helmet201.gif b/i/sh/helmet201.gif new file mode 100644 index 0000000..6b802ae Binary files /dev/null and b/i/sh/helmet201.gif differ diff --git a/i/sh/helmet201u.gif b/i/sh/helmet201u.gif new file mode 100644 index 0000000..1508da5 Binary files /dev/null and b/i/sh/helmet201u.gif differ diff --git a/i/sh/helmet202.gif b/i/sh/helmet202.gif new file mode 100644 index 0000000..e2da831 Binary files /dev/null and b/i/sh/helmet202.gif differ diff --git a/i/sh/helmet202u.gif b/i/sh/helmet202u.gif new file mode 100644 index 0000000..a3bb850 Binary files /dev/null and b/i/sh/helmet202u.gif differ diff --git a/i/sh/helmet204.gif b/i/sh/helmet204.gif new file mode 100644 index 0000000..c206ac7 Binary files /dev/null and b/i/sh/helmet204.gif differ diff --git a/i/sh/helmet204u.gif b/i/sh/helmet204u.gif new file mode 100644 index 0000000..af73cba Binary files /dev/null and b/i/sh/helmet204u.gif differ diff --git a/i/sh/helmet209.gif b/i/sh/helmet209.gif new file mode 100644 index 0000000..248417a Binary files /dev/null and b/i/sh/helmet209.gif differ diff --git a/i/sh/helmet21.gif b/i/sh/helmet21.gif new file mode 100644 index 0000000..7f6b72c Binary files /dev/null and b/i/sh/helmet21.gif differ diff --git a/i/sh/helmet210.gif b/i/sh/helmet210.gif new file mode 100644 index 0000000..531ec75 Binary files /dev/null and b/i/sh/helmet210.gif differ diff --git a/i/sh/helmet211.gif b/i/sh/helmet211.gif new file mode 100644 index 0000000..1efd0f3 Binary files /dev/null and b/i/sh/helmet211.gif differ diff --git a/i/sh/helmet212.gif b/i/sh/helmet212.gif new file mode 100644 index 0000000..7722e61 Binary files /dev/null and b/i/sh/helmet212.gif differ diff --git a/i/sh/helmet25.gif b/i/sh/helmet25.gif new file mode 100644 index 0000000..9407211 Binary files /dev/null and b/i/sh/helmet25.gif differ diff --git a/i/sh/helmet26.gif b/i/sh/helmet26.gif new file mode 100644 index 0000000..bbdc4d3 Binary files /dev/null and b/i/sh/helmet26.gif differ diff --git a/i/sh/helmet27.gif b/i/sh/helmet27.gif new file mode 100644 index 0000000..6df0f80 Binary files /dev/null and b/i/sh/helmet27.gif differ diff --git a/i/sh/helmet29.gif b/i/sh/helmet29.gif new file mode 100644 index 0000000..75b130c Binary files /dev/null and b/i/sh/helmet29.gif differ diff --git a/i/sh/helmet3.gif b/i/sh/helmet3.gif new file mode 100644 index 0000000..be877dd Binary files /dev/null and b/i/sh/helmet3.gif differ diff --git a/i/sh/helmet37.gif b/i/sh/helmet37.gif new file mode 100644 index 0000000..c6c8bed Binary files /dev/null and b/i/sh/helmet37.gif differ diff --git a/i/sh/helmet3864.gif b/i/sh/helmet3864.gif new file mode 100644 index 0000000..bf4ef9f Binary files /dev/null and b/i/sh/helmet3864.gif differ diff --git a/i/sh/helmet4.gif b/i/sh/helmet4.gif new file mode 100644 index 0000000..9ff6568 Binary files /dev/null and b/i/sh/helmet4.gif differ diff --git a/i/sh/helmet44.gif b/i/sh/helmet44.gif new file mode 100644 index 0000000..ef503c1 Binary files /dev/null and b/i/sh/helmet44.gif differ diff --git a/i/sh/helmet5.gif b/i/sh/helmet5.gif new file mode 100644 index 0000000..e59ee36 Binary files /dev/null and b/i/sh/helmet5.gif differ diff --git a/i/sh/helmet58.gif b/i/sh/helmet58.gif new file mode 100644 index 0000000..498ee0f Binary files /dev/null and b/i/sh/helmet58.gif differ diff --git a/i/sh/helmet59.gif b/i/sh/helmet59.gif new file mode 100644 index 0000000..e2e7655 Binary files /dev/null and b/i/sh/helmet59.gif differ diff --git a/i/sh/helmet6.gif b/i/sh/helmet6.gif new file mode 100644 index 0000000..86a77f0 Binary files /dev/null and b/i/sh/helmet6.gif differ diff --git a/i/sh/helmet62.gif b/i/sh/helmet62.gif new file mode 100644 index 0000000..d5a93c3 Binary files /dev/null and b/i/sh/helmet62.gif differ diff --git a/i/sh/helmet65.gif b/i/sh/helmet65.gif new file mode 100644 index 0000000..f367a94 Binary files /dev/null and b/i/sh/helmet65.gif differ diff --git a/i/sh/helmet7.gif b/i/sh/helmet7.gif new file mode 100644 index 0000000..53ecfd4 Binary files /dev/null and b/i/sh/helmet7.gif differ diff --git a/i/sh/helmet73.gif b/i/sh/helmet73.gif new file mode 100644 index 0000000..7913ee7 Binary files /dev/null and b/i/sh/helmet73.gif differ diff --git a/i/sh/helmet78.gif b/i/sh/helmet78.gif new file mode 100644 index 0000000..ef5a842 Binary files /dev/null and b/i/sh/helmet78.gif differ diff --git a/i/sh/helmet78u.gif b/i/sh/helmet78u.gif new file mode 100644 index 0000000..bbf9290 Binary files /dev/null and b/i/sh/helmet78u.gif differ diff --git a/i/sh/helmet79.gif b/i/sh/helmet79.gif new file mode 100644 index 0000000..9a43162 Binary files /dev/null and b/i/sh/helmet79.gif differ diff --git a/i/sh/helmet8.gif b/i/sh/helmet8.gif new file mode 100644 index 0000000..c6664ba Binary files /dev/null and b/i/sh/helmet8.gif differ diff --git a/i/sh/helmet80.gif b/i/sh/helmet80.gif new file mode 100644 index 0000000..1433d82 Binary files /dev/null and b/i/sh/helmet80.gif differ diff --git a/i/sh/helmet81.gif b/i/sh/helmet81.gif new file mode 100644 index 0000000..3c5ce61 Binary files /dev/null and b/i/sh/helmet81.gif differ diff --git a/i/sh/helmet82_du2.gif b/i/sh/helmet82_du2.gif new file mode 100644 index 0000000..af623ed Binary files /dev/null and b/i/sh/helmet82_du2.gif differ diff --git a/i/sh/helmet83.gif b/i/sh/helmet83.gif new file mode 100644 index 0000000..2562f63 Binary files /dev/null and b/i/sh/helmet83.gif differ diff --git a/i/sh/helmet84.gif b/i/sh/helmet84.gif new file mode 100644 index 0000000..5ba9702 Binary files /dev/null and b/i/sh/helmet84.gif differ diff --git a/i/sh/helmet85.gif b/i/sh/helmet85.gif new file mode 100644 index 0000000..27b3d01 Binary files /dev/null and b/i/sh/helmet85.gif differ diff --git a/i/sh/helmet9.gif b/i/sh/helmet9.gif new file mode 100644 index 0000000..a6509e2 Binary files /dev/null and b/i/sh/helmet9.gif differ diff --git a/i/sh/helmet901.gif b/i/sh/helmet901.gif new file mode 100644 index 0000000..4b4d509 Binary files /dev/null and b/i/sh/helmet901.gif differ diff --git a/i/sh/helmet91.gif b/i/sh/helmet91.gif new file mode 100644 index 0000000..0fb8e19 Binary files /dev/null and b/i/sh/helmet91.gif differ diff --git a/i/sh/helmet92.gif b/i/sh/helmet92.gif new file mode 100644 index 0000000..e6cb9da Binary files /dev/null and b/i/sh/helmet92.gif differ diff --git a/i/sh/helmet_illusion1.gif b/i/sh/helmet_illusion1.gif new file mode 100644 index 0000000..eeb153b Binary files /dev/null and b/i/sh/helmet_illusion1.gif differ diff --git a/i/sh/helmeta11.gif b/i/sh/helmeta11.gif new file mode 100644 index 0000000..c90a81c Binary files /dev/null and b/i/sh/helmeta11.gif differ diff --git a/i/sh/hidden.gif b/i/sh/hidden.gif new file mode 100644 index 0000000..9357ea7 Binary files /dev/null and b/i/sh/hidden.gif differ diff --git a/i/sh/horse.gif b/i/sh/horse.gif new file mode 100644 index 0000000..fa9cb20 Binary files /dev/null and b/i/sh/horse.gif differ diff --git a/i/sh/horse2.gif b/i/sh/horse2.gif new file mode 100644 index 0000000..22b4a4e Binary files /dev/null and b/i/sh/horse2.gif differ diff --git a/i/sh/hummer112.gif b/i/sh/hummer112.gif new file mode 100644 index 0000000..ee23e11 Binary files /dev/null and b/i/sh/hummer112.gif differ diff --git a/i/sh/hummer121.gif b/i/sh/hummer121.gif new file mode 100644 index 0000000..9a4e90c Binary files /dev/null and b/i/sh/hummer121.gif differ diff --git a/i/sh/hydrangea1.gif b/i/sh/hydrangea1.gif new file mode 100644 index 0000000..b3df749 Binary files /dev/null and b/i/sh/hydrangea1.gif differ diff --git a/i/sh/hydrangea21.gif b/i/sh/hydrangea21.gif new file mode 100644 index 0000000..763e6f2 Binary files /dev/null and b/i/sh/hydrangea21.gif differ diff --git a/i/sh/hydrangea3.gif b/i/sh/hydrangea3.gif new file mode 100644 index 0000000..1e9521c Binary files /dev/null and b/i/sh/hydrangea3.gif differ diff --git a/i/sh/hydrangea5.gif b/i/sh/hydrangea5.gif new file mode 100644 index 0000000..1888681 Binary files /dev/null and b/i/sh/hydrangea5.gif differ diff --git a/i/sh/hydrangea7.gif b/i/sh/hydrangea7.gif new file mode 100644 index 0000000..79e6cc1 Binary files /dev/null and b/i/sh/hydrangea7.gif differ diff --git a/i/sh/hydrangea9.gif b/i/sh/hydrangea9.gif new file mode 100644 index 0000000..ba9082d Binary files /dev/null and b/i/sh/hydrangea9.gif differ diff --git a/i/sh/i6400.gif b/i/sh/i6400.gif new file mode 100644 index 0000000..c22c50f Binary files /dev/null and b/i/sh/i6400.gif differ diff --git a/i/sh/illusion.gif b/i/sh/illusion.gif new file mode 100644 index 0000000..da94105 Binary files /dev/null and b/i/sh/illusion.gif differ diff --git a/i/sh/kachok.gif b/i/sh/kachok.gif new file mode 100644 index 0000000..233cb0e Binary files /dev/null and b/i/sh/kachok.gif differ diff --git a/i/sh/kareta.gif b/i/sh/kareta.gif new file mode 100644 index 0000000..e54c783 Binary files /dev/null and b/i/sh/kareta.gif differ diff --git a/i/sh/kaska.gif b/i/sh/kaska.gif new file mode 100644 index 0000000..6b0d526 Binary files /dev/null and b/i/sh/kaska.gif differ diff --git a/i/sh/kast101.gif b/i/sh/kast101.gif new file mode 100644 index 0000000..65b398a Binary files /dev/null and b/i/sh/kast101.gif differ diff --git a/i/sh/kast200.gif b/i/sh/kast200.gif new file mode 100644 index 0000000..f8d5241 Binary files /dev/null and b/i/sh/kast200.gif differ diff --git a/i/sh/kast200u.gif b/i/sh/kast200u.gif new file mode 100644 index 0000000..79865de Binary files /dev/null and b/i/sh/kast200u.gif differ diff --git a/i/sh/kastet1.gif b/i/sh/kastet1.gif new file mode 100644 index 0000000..33f2da4 Binary files /dev/null and b/i/sh/kastet1.gif differ diff --git a/i/sh/kastet1.gif.gif b/i/sh/kastet1.gif.gif new file mode 100644 index 0000000..3336d7b Binary files /dev/null and b/i/sh/kastet1.gif.gif differ diff --git a/i/sh/kastet2.gif b/i/sh/kastet2.gif new file mode 100644 index 0000000..7b4325d Binary files /dev/null and b/i/sh/kastet2.gif differ diff --git a/i/sh/kastet3.gif b/i/sh/kastet3.gif new file mode 100644 index 0000000..67e226d Binary files /dev/null and b/i/sh/kastet3.gif differ diff --git a/i/sh/kastet4.gif b/i/sh/kastet4.gif new file mode 100644 index 0000000..1660f24 Binary files /dev/null and b/i/sh/kastet4.gif differ diff --git a/i/sh/kirka.gif b/i/sh/kirka.gif new file mode 100644 index 0000000..d97a53c Binary files /dev/null and b/i/sh/kirka.gif differ diff --git a/i/sh/klever.gif b/i/sh/klever.gif new file mode 100644 index 0000000..f97d2ed Binary files /dev/null and b/i/sh/klever.gif differ diff --git a/i/sh/kluchik.gif b/i/sh/kluchik.gif new file mode 100644 index 0000000..b85aa87 Binary files /dev/null and b/i/sh/kluchik.gif differ diff --git a/i/sh/knife1.gif b/i/sh/knife1.gif new file mode 100644 index 0000000..1e69811 Binary files /dev/null and b/i/sh/knife1.gif differ diff --git a/i/sh/knife10.gif b/i/sh/knife10.gif new file mode 100644 index 0000000..2523908 Binary files /dev/null and b/i/sh/knife10.gif differ diff --git a/i/sh/knife11.gif b/i/sh/knife11.gif new file mode 100644 index 0000000..9570ff3 Binary files /dev/null and b/i/sh/knife11.gif differ diff --git a/i/sh/knife2.gif b/i/sh/knife2.gif new file mode 100644 index 0000000..e928be4 Binary files /dev/null and b/i/sh/knife2.gif differ diff --git a/i/sh/knife202.gif b/i/sh/knife202.gif new file mode 100644 index 0000000..9ecca35 Binary files /dev/null and b/i/sh/knife202.gif differ diff --git a/i/sh/knife202u.gif b/i/sh/knife202u.gif new file mode 100644 index 0000000..4003bab Binary files /dev/null and b/i/sh/knife202u.gif differ diff --git a/i/sh/knife204.gif b/i/sh/knife204.gif new file mode 100644 index 0000000..36eb1c7 Binary files /dev/null and b/i/sh/knife204.gif differ diff --git a/i/sh/knife204u.gif b/i/sh/knife204u.gif new file mode 100644 index 0000000..bb7e9db Binary files /dev/null and b/i/sh/knife204u.gif differ diff --git a/i/sh/knife3.gif b/i/sh/knife3.gif new file mode 100644 index 0000000..3e1e351 Binary files /dev/null and b/i/sh/knife3.gif differ diff --git a/i/sh/knife4.gif b/i/sh/knife4.gif new file mode 100644 index 0000000..3d28b98 Binary files /dev/null and b/i/sh/knife4.gif differ diff --git a/i/sh/knife5.gif b/i/sh/knife5.gif new file mode 100644 index 0000000..0a1aaa1 Binary files /dev/null and b/i/sh/knife5.gif differ diff --git a/i/sh/knife55.gif b/i/sh/knife55.gif new file mode 100644 index 0000000..314bbbd Binary files /dev/null and b/i/sh/knife55.gif differ diff --git a/i/sh/knife6.gif b/i/sh/knife6.gif new file mode 100644 index 0000000..c8145cd Binary files /dev/null and b/i/sh/knife6.gif differ diff --git a/i/sh/knife60.gif b/i/sh/knife60.gif new file mode 100644 index 0000000..a4a4ef2 Binary files /dev/null and b/i/sh/knife60.gif differ diff --git a/i/sh/knife7.gif b/i/sh/knife7.gif new file mode 100644 index 0000000..12425a2 Binary files /dev/null and b/i/sh/knife7.gif differ diff --git a/i/sh/knife71.gif b/i/sh/knife71.gif new file mode 100644 index 0000000..d261960 Binary files /dev/null and b/i/sh/knife71.gif differ diff --git a/i/sh/knife72.gif b/i/sh/knife72.gif new file mode 100644 index 0000000..8b0d813 Binary files /dev/null and b/i/sh/knife72.gif differ diff --git a/i/sh/knife73.gif b/i/sh/knife73.gif new file mode 100644 index 0000000..97eb7f3 Binary files /dev/null and b/i/sh/knife73.gif differ diff --git a/i/sh/knife74_du2.gif b/i/sh/knife74_du2.gif new file mode 100644 index 0000000..4239032 Binary files /dev/null and b/i/sh/knife74_du2.gif differ diff --git a/i/sh/knife76.gif b/i/sh/knife76.gif new file mode 100644 index 0000000..0588785 Binary files /dev/null and b/i/sh/knife76.gif differ diff --git a/i/sh/knife77.gif b/i/sh/knife77.gif new file mode 100644 index 0000000..eb44ecd Binary files /dev/null and b/i/sh/knife77.gif differ diff --git a/i/sh/knifea11.gif b/i/sh/knifea11.gif new file mode 100644 index 0000000..cf2b852 Binary files /dev/null and b/i/sh/knifea11.gif differ diff --git a/i/sh/koltco.gif b/i/sh/koltco.gif new file mode 100644 index 0000000..a8f0578 Binary files /dev/null and b/i/sh/koltco.gif differ diff --git a/i/sh/korzinacveti.gif b/i/sh/korzinacveti.gif new file mode 100644 index 0000000..5902152 Binary files /dev/null and b/i/sh/korzinacveti.gif differ diff --git a/i/sh/kubok.gif b/i/sh/kubok.gif new file mode 100644 index 0000000..0ce7795 Binary files /dev/null and b/i/sh/kubok.gif differ diff --git a/i/sh/kukla.gif b/i/sh/kukla.gif new file mode 100644 index 0000000..e27f98d Binary files /dev/null and b/i/sh/kukla.gif differ diff --git a/i/sh/kulon101.gif b/i/sh/kulon101.gif new file mode 100644 index 0000000..5a53392 Binary files /dev/null and b/i/sh/kulon101.gif differ diff --git a/i/sh/kulon1265.gif b/i/sh/kulon1265.gif new file mode 100644 index 0000000..8c86085 Binary files /dev/null and b/i/sh/kulon1265.gif differ diff --git a/i/sh/kulon201.gif b/i/sh/kulon201.gif new file mode 100644 index 0000000..fcf921e Binary files /dev/null and b/i/sh/kulon201.gif differ diff --git a/i/sh/kulon201u.gif b/i/sh/kulon201u.gif new file mode 100644 index 0000000..1dea909 Binary files /dev/null and b/i/sh/kulon201u.gif differ diff --git a/i/sh/kulon202.gif b/i/sh/kulon202.gif new file mode 100644 index 0000000..ae9324c Binary files /dev/null and b/i/sh/kulon202.gif differ diff --git a/i/sh/kulon202u.gif b/i/sh/kulon202u.gif new file mode 100644 index 0000000..cc8e961 Binary files /dev/null and b/i/sh/kulon202u.gif differ diff --git a/i/sh/kulon204.gif b/i/sh/kulon204.gif new file mode 100644 index 0000000..b22118b Binary files /dev/null and b/i/sh/kulon204.gif differ diff --git a/i/sh/kulon204u.gif b/i/sh/kulon204u.gif new file mode 100644 index 0000000..f4af7f7 Binary files /dev/null and b/i/sh/kulon204u.gif differ diff --git a/i/sh/larec1.gif b/i/sh/larec1.gif new file mode 100644 index 0000000..5b96059 Binary files /dev/null and b/i/sh/larec1.gif differ diff --git a/i/sh/larec1_afeyr.gif b/i/sh/larec1_afeyr.gif new file mode 100644 index 0000000..fc3a263 Binary files /dev/null and b/i/sh/larec1_afeyr.gif differ diff --git a/i/sh/larec1_asdghkf.gif b/i/sh/larec1_asdghkf.gif new file mode 100644 index 0000000..340a8df Binary files /dev/null and b/i/sh/larec1_asdghkf.gif differ diff --git a/i/sh/larec1_gtkshb.gif b/i/sh/larec1_gtkshb.gif new file mode 100644 index 0000000..4d3a9ed Binary files /dev/null and b/i/sh/larec1_gtkshb.gif differ diff --git a/i/sh/larec2.gif b/i/sh/larec2.gif new file mode 100644 index 0000000..63b9fbd Binary files /dev/null and b/i/sh/larec2.gif differ diff --git a/i/sh/larec2_bnxdgh.gif b/i/sh/larec2_bnxdgh.gif new file mode 100644 index 0000000..3fff0d3 Binary files /dev/null and b/i/sh/larec2_bnxdgh.gif differ diff --git a/i/sh/larec2_podnfhf.gif b/i/sh/larec2_podnfhf.gif new file mode 100644 index 0000000..1ffe5a6 Binary files /dev/null and b/i/sh/larec2_podnfhf.gif differ diff --git a/i/sh/larec3.gif b/i/sh/larec3.gif new file mode 100644 index 0000000..2116e52 Binary files /dev/null and b/i/sh/larec3.gif differ diff --git a/i/sh/larec3_cbvdswf.gif b/i/sh/larec3_cbvdswf.gif new file mode 100644 index 0000000..034741d Binary files /dev/null and b/i/sh/larec3_cbvdswf.gif differ diff --git a/i/sh/larec3_gxndhjd.gif b/i/sh/larec3_gxndhjd.gif new file mode 100644 index 0000000..41d5ba6 Binary files /dev/null and b/i/sh/larec3_gxndhjd.gif differ diff --git a/i/sh/larec3_rgjdud.gif b/i/sh/larec3_rgjdud.gif new file mode 100644 index 0000000..c818fef Binary files /dev/null and b/i/sh/larec3_rgjdud.gif differ diff --git a/i/sh/larec4.gif b/i/sh/larec4.gif new file mode 100644 index 0000000..5ad1d9d Binary files /dev/null and b/i/sh/larec4.gif differ diff --git a/i/sh/larec4_dfgdhh.gif b/i/sh/larec4_dfgdhh.gif new file mode 100644 index 0000000..947a69f Binary files /dev/null and b/i/sh/larec4_dfgdhh.gif differ diff --git a/i/sh/larec4_lkjgtd.gif b/i/sh/larec4_lkjgtd.gif new file mode 100644 index 0000000..83f7858 Binary files /dev/null and b/i/sh/larec4_lkjgtd.gif differ diff --git a/i/sh/larec5_hdfgsbc.gif b/i/sh/larec5_hdfgsbc.gif new file mode 100644 index 0000000..70c1c26 Binary files /dev/null and b/i/sh/larec5_hdfgsbc.gif differ diff --git a/i/sh/larec5_hvyvh.gif b/i/sh/larec5_hvyvh.gif new file mode 100644 index 0000000..8cdbebf Binary files /dev/null and b/i/sh/larec5_hvyvh.gif differ diff --git a/i/sh/larec5_sgbgh.gif b/i/sh/larec5_sgbgh.gif new file mode 100644 index 0000000..cde0c83 Binary files /dev/null and b/i/sh/larec5_sgbgh.gif differ diff --git a/i/sh/larec5_sjhvfg.gif b/i/sh/larec5_sjhvfg.gif new file mode 100644 index 0000000..5d72b34 Binary files /dev/null and b/i/sh/larec5_sjhvfg.gif differ diff --git a/i/sh/lazurbuket.gif b/i/sh/lazurbuket.gif new file mode 100644 index 0000000..c8cbfe8 Binary files /dev/null and b/i/sh/lazurbuket.gif differ diff --git a/i/sh/lighting_bolt40.gif b/i/sh/lighting_bolt40.gif new file mode 100644 index 0000000..463892c Binary files /dev/null and b/i/sh/lighting_bolt40.gif differ diff --git a/i/sh/lighting_bolt50.gif b/i/sh/lighting_bolt50.gif new file mode 100644 index 0000000..bac5dec Binary files /dev/null and b/i/sh/lighting_bolt50.gif differ diff --git a/i/sh/lighting_bolt55.gif b/i/sh/lighting_bolt55.gif new file mode 100644 index 0000000..6762f6d Binary files /dev/null and b/i/sh/lighting_bolt55.gif differ diff --git a/i/sh/lighting_bolt70.gif b/i/sh/lighting_bolt70.gif new file mode 100644 index 0000000..2736bca Binary files /dev/null and b/i/sh/lighting_bolt70.gif differ diff --git a/i/sh/lik_token.gif b/i/sh/lik_token.gif new file mode 100644 index 0000000..a61e30f Binary files /dev/null and b/i/sh/lik_token.gif differ diff --git a/i/sh/lopata1.gif b/i/sh/lopata1.gif new file mode 100644 index 0000000..f43d756 Binary files /dev/null and b/i/sh/lopata1.gif differ diff --git a/i/sh/lopata2.gif b/i/sh/lopata2.gif new file mode 100644 index 0000000..58b37a5 Binary files /dev/null and b/i/sh/lopata2.gif differ diff --git a/i/sh/lord_ch_item2.gif b/i/sh/lord_ch_item2.gif new file mode 100644 index 0000000..ed49e76 Binary files /dev/null and b/i/sh/lord_ch_item2.gif differ diff --git a/i/sh/loto-1.gif b/i/sh/loto-1.gif new file mode 100644 index 0000000..c7cc083 Binary files /dev/null and b/i/sh/loto-1.gif differ diff --git a/i/sh/loto.gif b/i/sh/loto.gif new file mode 100644 index 0000000..02cfd02 Binary files /dev/null and b/i/sh/loto.gif differ diff --git a/i/sh/love21.gif b/i/sh/love21.gif new file mode 100644 index 0000000..5b85b3b Binary files /dev/null and b/i/sh/love21.gif differ diff --git a/i/sh/love3.gif b/i/sh/love3.gif new file mode 100644 index 0000000..05b7198 Binary files /dev/null and b/i/sh/love3.gif differ diff --git a/i/sh/love5.gif b/i/sh/love5.gif new file mode 100644 index 0000000..824d311 Binary files /dev/null and b/i/sh/love5.gif differ diff --git a/i/sh/love7.gif b/i/sh/love7.gif new file mode 100644 index 0000000..f3f3c3d Binary files /dev/null and b/i/sh/love7.gif differ diff --git a/i/sh/love9.gif b/i/sh/love9.gif new file mode 100644 index 0000000..6b622ba Binary files /dev/null and b/i/sh/love9.gif differ diff --git a/i/sh/mace201.gif b/i/sh/mace201.gif new file mode 100644 index 0000000..3d8c957 Binary files /dev/null and b/i/sh/mace201.gif differ diff --git a/i/sh/mace201u.gif b/i/sh/mace201u.gif new file mode 100644 index 0000000..a1759e7 Binary files /dev/null and b/i/sh/mace201u.gif differ diff --git a/i/sh/mace66.gif b/i/sh/mace66.gif new file mode 100644 index 0000000..1e3e934 Binary files /dev/null and b/i/sh/mace66.gif differ diff --git a/i/sh/mace67.gif b/i/sh/mace67.gif new file mode 100644 index 0000000..e795fc9 Binary files /dev/null and b/i/sh/mace67.gif differ diff --git a/i/sh/mace68.gif b/i/sh/mace68.gif new file mode 100644 index 0000000..b1f45cb Binary files /dev/null and b/i/sh/mace68.gif differ diff --git a/i/sh/magchern.gif b/i/sh/magchern.gif new file mode 100644 index 0000000..df301f9 Binary files /dev/null and b/i/sh/magchern.gif differ diff --git a/i/sh/magicclock.gif b/i/sh/magicclock.gif new file mode 100644 index 0000000..372f1ca Binary files /dev/null and b/i/sh/magicclock.gif differ diff --git a/i/sh/marry_gift.gif b/i/sh/marry_gift.gif new file mode 100644 index 0000000..6266fae Binary files /dev/null and b/i/sh/marry_gift.gif differ diff --git a/i/sh/max_sword.png b/i/sh/max_sword.png new file mode 100644 index 0000000..08287d1 Binary files /dev/null and b/i/sh/max_sword.png differ diff --git a/i/sh/med_svitok.gif b/i/sh/med_svitok.gif new file mode 100644 index 0000000..8d776dc Binary files /dev/null and b/i/sh/med_svitok.gif differ diff --git a/i/sh/mega_podarok.gif b/i/sh/mega_podarok.gif new file mode 100644 index 0000000..dafc4c3 Binary files /dev/null and b/i/sh/mega_podarok.gif differ diff --git a/i/sh/mesh.gif b/i/sh/mesh.gif new file mode 100644 index 0000000..5453100 Binary files /dev/null and b/i/sh/mesh.gif differ diff --git a/i/sh/mesh1.gif b/i/sh/mesh1.gif new file mode 100644 index 0000000..65407fa Binary files /dev/null and b/i/sh/mesh1.gif differ diff --git a/i/sh/mesh3s.gif b/i/sh/mesh3s.gif new file mode 100644 index 0000000..836bb49 Binary files /dev/null and b/i/sh/mesh3s.gif differ diff --git a/i/sh/mesh5s.gif b/i/sh/mesh5s.gif new file mode 100644 index 0000000..55b9dab Binary files /dev/null and b/i/sh/mesh5s.gif differ diff --git a/i/sh/min3013.gif b/i/sh/min3013.gif new file mode 100644 index 0000000..ca6ba04 Binary files /dev/null and b/i/sh/min3013.gif differ diff --git a/i/sh/min3014.gif b/i/sh/min3014.gif new file mode 100644 index 0000000..61e2e6f Binary files /dev/null and b/i/sh/min3014.gif differ diff --git a/i/sh/min3015.gif b/i/sh/min3015.gif new file mode 100644 index 0000000..a8dbc2f Binary files /dev/null and b/i/sh/min3015.gif differ diff --git a/i/sh/min3016.gif b/i/sh/min3016.gif new file mode 100644 index 0000000..989990a Binary files /dev/null and b/i/sh/min3016.gif differ diff --git a/i/sh/min3017.gif b/i/sh/min3017.gif new file mode 100644 index 0000000..1056d74 Binary files /dev/null and b/i/sh/min3017.gif differ diff --git a/i/sh/min3018.gif b/i/sh/min3018.gif new file mode 100644 index 0000000..e02bc28 Binary files /dev/null and b/i/sh/min3018.gif differ diff --git a/i/sh/min3019.gif b/i/sh/min3019.gif new file mode 100644 index 0000000..e73e9c1 Binary files /dev/null and b/i/sh/min3019.gif differ diff --git a/i/sh/min3020.gif b/i/sh/min3020.gif new file mode 100644 index 0000000..6e8f859 Binary files /dev/null and b/i/sh/min3020.gif differ diff --git a/i/sh/min3021.gif b/i/sh/min3021.gif new file mode 100644 index 0000000..f8080f9 Binary files /dev/null and b/i/sh/min3021.gif differ diff --git a/i/sh/minr_0022.gif b/i/sh/minr_0022.gif new file mode 100644 index 0000000..f85c662 Binary files /dev/null and b/i/sh/minr_0022.gif differ diff --git a/i/sh/minr_0023.gif b/i/sh/minr_0023.gif new file mode 100644 index 0000000..48b50c5 Binary files /dev/null and b/i/sh/minr_0023.gif differ diff --git a/i/sh/minr_0024a.gif b/i/sh/minr_0024a.gif new file mode 100644 index 0000000..a6cc033 Binary files /dev/null and b/i/sh/minr_0024a.gif differ diff --git a/i/sh/minr_0025.gif b/i/sh/minr_0025.gif new file mode 100644 index 0000000..3ef6493 Binary files /dev/null and b/i/sh/minr_0025.gif differ diff --git a/i/sh/minr_0026.gif b/i/sh/minr_0026.gif new file mode 100644 index 0000000..622add4 Binary files /dev/null and b/i/sh/minr_0026.gif differ diff --git a/i/sh/mirror.gif b/i/sh/mirror.gif new file mode 100644 index 0000000..3d668e0 Binary files /dev/null and b/i/sh/mirror.gif differ diff --git a/i/sh/moloko.gif b/i/sh/moloko.gif new file mode 100644 index 0000000..4351316 Binary files /dev/null and b/i/sh/moloko.gif differ diff --git a/i/sh/molot1.gif b/i/sh/molot1.gif new file mode 100644 index 0000000..3a8ed5e Binary files /dev/null and b/i/sh/molot1.gif differ diff --git a/i/sh/molot2.gif b/i/sh/molot2.gif new file mode 100644 index 0000000..f9f7117 Binary files /dev/null and b/i/sh/molot2.gif differ diff --git a/i/sh/muha.gif b/i/sh/muha.gif new file mode 100644 index 0000000..49e5d85 Binary files /dev/null and b/i/sh/muha.gif differ diff --git a/i/sh/narcissus1.gif b/i/sh/narcissus1.gif new file mode 100644 index 0000000..588771b Binary files /dev/null and b/i/sh/narcissus1.gif differ diff --git a/i/sh/narcissus21.gif b/i/sh/narcissus21.gif new file mode 100644 index 0000000..defc3a7 Binary files /dev/null and b/i/sh/narcissus21.gif differ diff --git a/i/sh/narcissus3.gif b/i/sh/narcissus3.gif new file mode 100644 index 0000000..f320df6 Binary files /dev/null and b/i/sh/narcissus3.gif differ diff --git a/i/sh/narcissus5.gif b/i/sh/narcissus5.gif new file mode 100644 index 0000000..63cf7dd Binary files /dev/null and b/i/sh/narcissus5.gif differ diff --git a/i/sh/narcissus7.gif b/i/sh/narcissus7.gif new file mode 100644 index 0000000..2ef46d8 Binary files /dev/null and b/i/sh/narcissus7.gif differ diff --git a/i/sh/narcissus9.gif b/i/sh/narcissus9.gif new file mode 100644 index 0000000..7c6b794 Binary files /dev/null and b/i/sh/narcissus9.gif differ diff --git a/i/sh/naruchi1.gif b/i/sh/naruchi1.gif new file mode 100644 index 0000000..7e0e0de Binary files /dev/null and b/i/sh/naruchi1.gif differ diff --git a/i/sh/naruchi10 (1).gif b/i/sh/naruchi10 (1).gif new file mode 100644 index 0000000..3e70310 Binary files /dev/null and b/i/sh/naruchi10 (1).gif differ diff --git a/i/sh/naruchi10 (3).gif b/i/sh/naruchi10 (3).gif new file mode 100644 index 0000000..d9a1b5f Binary files /dev/null and b/i/sh/naruchi10 (3).gif differ diff --git a/i/sh/naruchi10.gif b/i/sh/naruchi10.gif new file mode 100644 index 0000000..546dce5 Binary files /dev/null and b/i/sh/naruchi10.gif differ diff --git a/i/sh/naruchi101.gif b/i/sh/naruchi101.gif new file mode 100644 index 0000000..6eb1035 Binary files /dev/null and b/i/sh/naruchi101.gif differ diff --git a/i/sh/naruchi1113.gif b/i/sh/naruchi1113.gif new file mode 100644 index 0000000..52c2381 Binary files /dev/null and b/i/sh/naruchi1113.gif differ diff --git a/i/sh/naruchi112.gif b/i/sh/naruchi112.gif new file mode 100644 index 0000000..805e66a Binary files /dev/null and b/i/sh/naruchi112.gif differ diff --git a/i/sh/naruchi1211.gif b/i/sh/naruchi1211.gif new file mode 100644 index 0000000..cd41d1c Binary files /dev/null and b/i/sh/naruchi1211.gif differ diff --git a/i/sh/naruchi2.gif b/i/sh/naruchi2.gif new file mode 100644 index 0000000..d4ab5bb Binary files /dev/null and b/i/sh/naruchi2.gif differ diff --git a/i/sh/naruchi20.gif b/i/sh/naruchi20.gif new file mode 100644 index 0000000..5c465af Binary files /dev/null and b/i/sh/naruchi20.gif differ diff --git a/i/sh/naruchi202.gif b/i/sh/naruchi202.gif new file mode 100644 index 0000000..b5188df Binary files /dev/null and b/i/sh/naruchi202.gif differ diff --git a/i/sh/naruchi202u.gif b/i/sh/naruchi202u.gif new file mode 100644 index 0000000..d3b86c7 Binary files /dev/null and b/i/sh/naruchi202u.gif differ diff --git a/i/sh/naruchi21.gif b/i/sh/naruchi21.gif new file mode 100644 index 0000000..af8a78f Binary files /dev/null and b/i/sh/naruchi21.gif differ diff --git a/i/sh/naruchi22.gif b/i/sh/naruchi22.gif new file mode 100644 index 0000000..2118a57 Binary files /dev/null and b/i/sh/naruchi22.gif differ diff --git a/i/sh/naruchi3.gif b/i/sh/naruchi3.gif new file mode 100644 index 0000000..0451b1a Binary files /dev/null and b/i/sh/naruchi3.gif differ diff --git a/i/sh/naruchi3864.gif b/i/sh/naruchi3864.gif new file mode 100644 index 0000000..fe95ae6 Binary files /dev/null and b/i/sh/naruchi3864.gif differ diff --git a/i/sh/naruchi4.gif b/i/sh/naruchi4.gif new file mode 100644 index 0000000..31fb160 Binary files /dev/null and b/i/sh/naruchi4.gif differ diff --git a/i/sh/naruchi5.gif b/i/sh/naruchi5.gif new file mode 100644 index 0000000..8bb216c Binary files /dev/null and b/i/sh/naruchi5.gif differ diff --git a/i/sh/naruchi56.gif b/i/sh/naruchi56.gif new file mode 100644 index 0000000..a1b5648 Binary files /dev/null and b/i/sh/naruchi56.gif differ diff --git a/i/sh/naruchi57.gif b/i/sh/naruchi57.gif new file mode 100644 index 0000000..d7ab5ad Binary files /dev/null and b/i/sh/naruchi57.gif differ diff --git a/i/sh/naruchi6.gif b/i/sh/naruchi6.gif new file mode 100644 index 0000000..75a290b Binary files /dev/null and b/i/sh/naruchi6.gif differ diff --git a/i/sh/naruchi61.gif b/i/sh/naruchi61.gif new file mode 100644 index 0000000..d4879f4 Binary files /dev/null and b/i/sh/naruchi61.gif differ diff --git a/i/sh/naruchi67.gif b/i/sh/naruchi67.gif new file mode 100644 index 0000000..97d9be1 Binary files /dev/null and b/i/sh/naruchi67.gif differ diff --git a/i/sh/naruchi7.gif b/i/sh/naruchi7.gif new file mode 100644 index 0000000..3da8513 Binary files /dev/null and b/i/sh/naruchi7.gif differ diff --git a/i/sh/naruchi70.gif b/i/sh/naruchi70.gif new file mode 100644 index 0000000..e01befb Binary files /dev/null and b/i/sh/naruchi70.gif differ diff --git a/i/sh/naruchi75.gif b/i/sh/naruchi75.gif new file mode 100644 index 0000000..8fc1f69 Binary files /dev/null and b/i/sh/naruchi75.gif differ diff --git a/i/sh/naruchi75u.gif b/i/sh/naruchi75u.gif new file mode 100644 index 0000000..d2dcc91 Binary files /dev/null and b/i/sh/naruchi75u.gif differ diff --git a/i/sh/naruchi77.gif b/i/sh/naruchi77.gif new file mode 100644 index 0000000..7b9edaf Binary files /dev/null and b/i/sh/naruchi77.gif differ diff --git a/i/sh/naruchi78.gif b/i/sh/naruchi78.gif new file mode 100644 index 0000000..bb1b980 Binary files /dev/null and b/i/sh/naruchi78.gif differ diff --git a/i/sh/naruchi79.gif b/i/sh/naruchi79.gif new file mode 100644 index 0000000..d442367 Binary files /dev/null and b/i/sh/naruchi79.gif differ diff --git a/i/sh/naruchi79_2.gif b/i/sh/naruchi79_2.gif new file mode 100644 index 0000000..d442367 Binary files /dev/null and b/i/sh/naruchi79_2.gif differ diff --git a/i/sh/naruchi8.gif b/i/sh/naruchi8.gif new file mode 100644 index 0000000..f95ae3d Binary files /dev/null and b/i/sh/naruchi8.gif differ diff --git a/i/sh/naruchi83_du2.gif b/i/sh/naruchi83_du2.gif new file mode 100644 index 0000000..65e6e5b Binary files /dev/null and b/i/sh/naruchi83_du2.gif differ diff --git a/i/sh/naruchi85.gif b/i/sh/naruchi85.gif new file mode 100644 index 0000000..5e26028 Binary files /dev/null and b/i/sh/naruchi85.gif differ diff --git a/i/sh/naruchi86.gif b/i/sh/naruchi86.gif new file mode 100644 index 0000000..53c9d62 Binary files /dev/null and b/i/sh/naruchi86.gif differ diff --git a/i/sh/naruchi9.gif b/i/sh/naruchi9.gif new file mode 100644 index 0000000..48be086 Binary files /dev/null and b/i/sh/naruchi9.gif differ diff --git a/i/sh/naruchi901.gif b/i/sh/naruchi901.gif new file mode 100644 index 0000000..1a6c621 Binary files /dev/null and b/i/sh/naruchi901.gif differ diff --git a/i/sh/naruchi91.gif b/i/sh/naruchi91.gif new file mode 100644 index 0000000..9f79577 Binary files /dev/null and b/i/sh/naruchi91.gif differ diff --git a/i/sh/naruchi_lekar.gif b/i/sh/naruchi_lekar.gif new file mode 100644 index 0000000..a658a83 Binary files /dev/null and b/i/sh/naruchi_lekar.gif differ diff --git a/i/sh/naruchia11.gif b/i/sh/naruchia11.gif new file mode 100644 index 0000000..46d9e6e Binary files /dev/null and b/i/sh/naruchia11.gif differ diff --git a/i/sh/nbaba.gif b/i/sh/nbaba.gif new file mode 100644 index 0000000..9cbf98d Binary files /dev/null and b/i/sh/nbaba.gif differ diff --git a/i/sh/nchebu.gif b/i/sh/nchebu.gif new file mode 100644 index 0000000..ee56cd4 Binary files /dev/null and b/i/sh/nchebu.gif differ diff --git a/i/sh/new_clock.gif b/i/sh/new_clock.gif new file mode 100644 index 0000000..50b1f02 Binary files /dev/null and b/i/sh/new_clock.gif differ diff --git a/i/sh/nit_t10_18053.gif b/i/sh/nit_t10_18053.gif new file mode 100644 index 0000000..25bab34 Binary files /dev/null and b/i/sh/nit_t10_18053.gif differ diff --git a/i/sh/nit_t10_18054.gif b/i/sh/nit_t10_18054.gif new file mode 100644 index 0000000..f79b7d1 Binary files /dev/null and b/i/sh/nit_t10_18054.gif differ diff --git a/i/sh/nit_t10_18055.gif b/i/sh/nit_t10_18055.gif new file mode 100644 index 0000000..d0df71f Binary files /dev/null and b/i/sh/nit_t10_18055.gif differ diff --git a/i/sh/nit_t10_18056.gif b/i/sh/nit_t10_18056.gif new file mode 100644 index 0000000..6293ef0 Binary files /dev/null and b/i/sh/nit_t10_18056.gif differ diff --git a/i/sh/nit_t10_18057.gif b/i/sh/nit_t10_18057.gif new file mode 100644 index 0000000..66cfb6e Binary files /dev/null and b/i/sh/nit_t10_18057.gif differ diff --git a/i/sh/nit_t10_18058.gif b/i/sh/nit_t10_18058.gif new file mode 100644 index 0000000..acd560c Binary files /dev/null and b/i/sh/nit_t10_18058.gif differ diff --git a/i/sh/nit_t10_18059.gif b/i/sh/nit_t10_18059.gif new file mode 100644 index 0000000..7dfe784 Binary files /dev/null and b/i/sh/nit_t10_18059.gif differ diff --git a/i/sh/nit_t10_18060.gif b/i/sh/nit_t10_18060.gif new file mode 100644 index 0000000..88df15b Binary files /dev/null and b/i/sh/nit_t10_18060.gif differ diff --git a/i/sh/nit_t10_18061.gif b/i/sh/nit_t10_18061.gif new file mode 100644 index 0000000..51194fd Binary files /dev/null and b/i/sh/nit_t10_18061.gif differ diff --git a/i/sh/nit_t10_18062.gif b/i/sh/nit_t10_18062.gif new file mode 100644 index 0000000..1007973 Binary files /dev/null and b/i/sh/nit_t10_18062.gif differ diff --git a/i/sh/nit_t10_18063.gif b/i/sh/nit_t10_18063.gif new file mode 100644 index 0000000..2325744 Binary files /dev/null and b/i/sh/nit_t10_18063.gif differ diff --git a/i/sh/nit_t10_18064.gif b/i/sh/nit_t10_18064.gif new file mode 100644 index 0000000..ce609ca Binary files /dev/null and b/i/sh/nit_t10_18064.gif differ diff --git a/i/sh/nit_t10_18065.gif b/i/sh/nit_t10_18065.gif new file mode 100644 index 0000000..08cfcd2 Binary files /dev/null and b/i/sh/nit_t10_18065.gif differ diff --git a/i/sh/nit_t10_18066.gif b/i/sh/nit_t10_18066.gif new file mode 100644 index 0000000..82fe39d Binary files /dev/null and b/i/sh/nit_t10_18066.gif differ diff --git a/i/sh/nit_t10_18067.gif b/i/sh/nit_t10_18067.gif new file mode 100644 index 0000000..6027ce8 Binary files /dev/null and b/i/sh/nit_t10_18067.gif differ diff --git a/i/sh/nit_t10_18068.gif b/i/sh/nit_t10_18068.gif new file mode 100644 index 0000000..b08046f Binary files /dev/null and b/i/sh/nit_t10_18068.gif differ diff --git a/i/sh/nit_t10_18069.gif b/i/sh/nit_t10_18069.gif new file mode 100644 index 0000000..692596c Binary files /dev/null and b/i/sh/nit_t10_18069.gif differ diff --git a/i/sh/nit_t10_18070.gif b/i/sh/nit_t10_18070.gif new file mode 100644 index 0000000..871d128 Binary files /dev/null and b/i/sh/nit_t10_18070.gif differ diff --git a/i/sh/nit_t10_18071.gif b/i/sh/nit_t10_18071.gif new file mode 100644 index 0000000..ffbff72 Binary files /dev/null and b/i/sh/nit_t10_18071.gif differ diff --git a/i/sh/nit_t10_18072.gif b/i/sh/nit_t10_18072.gif new file mode 100644 index 0000000..713f3ec Binary files /dev/null and b/i/sh/nit_t10_18072.gif differ diff --git a/i/sh/nit_t10_18073.gif b/i/sh/nit_t10_18073.gif new file mode 100644 index 0000000..a795b20 Binary files /dev/null and b/i/sh/nit_t10_18073.gif differ diff --git a/i/sh/nit_t10_18074.gif b/i/sh/nit_t10_18074.gif new file mode 100644 index 0000000..808bea0 Binary files /dev/null and b/i/sh/nit_t10_18074.gif differ diff --git a/i/sh/nit_t10_18075.gif b/i/sh/nit_t10_18075.gif new file mode 100644 index 0000000..4d1468c Binary files /dev/null and b/i/sh/nit_t10_18075.gif differ diff --git a/i/sh/nit_t10_18076.gif b/i/sh/nit_t10_18076.gif new file mode 100644 index 0000000..c117be8 Binary files /dev/null and b/i/sh/nit_t10_18076.gif differ diff --git a/i/sh/nit_t10_18077.gif b/i/sh/nit_t10_18077.gif new file mode 100644 index 0000000..1cf40f4 Binary files /dev/null and b/i/sh/nit_t10_18077.gif differ diff --git a/i/sh/nit_t10_18078.gif b/i/sh/nit_t10_18078.gif new file mode 100644 index 0000000..488613d Binary files /dev/null and b/i/sh/nit_t10_18078.gif differ diff --git a/i/sh/nit_t10_18079.gif b/i/sh/nit_t10_18079.gif new file mode 100644 index 0000000..817c2d7 Binary files /dev/null and b/i/sh/nit_t10_18079.gif differ diff --git a/i/sh/nit_t10_18080.gif b/i/sh/nit_t10_18080.gif new file mode 100644 index 0000000..f22df25 Binary files /dev/null and b/i/sh/nit_t10_18080.gif differ diff --git a/i/sh/nit_t10_18081.gif b/i/sh/nit_t10_18081.gif new file mode 100644 index 0000000..7227219 Binary files /dev/null and b/i/sh/nit_t10_18081.gif differ diff --git a/i/sh/nit_t10_18082.gif b/i/sh/nit_t10_18082.gif new file mode 100644 index 0000000..5a60624 Binary files /dev/null and b/i/sh/nit_t10_18082.gif differ diff --git a/i/sh/nit_t10_18083.gif b/i/sh/nit_t10_18083.gif new file mode 100644 index 0000000..05e4d6d Binary files /dev/null and b/i/sh/nit_t10_18083.gif differ diff --git a/i/sh/nit_t10_18084.gif b/i/sh/nit_t10_18084.gif new file mode 100644 index 0000000..84ef59f Binary files /dev/null and b/i/sh/nit_t10_18084.gif differ diff --git a/i/sh/nit_t10_18085.gif b/i/sh/nit_t10_18085.gif new file mode 100644 index 0000000..324c605 Binary files /dev/null and b/i/sh/nit_t10_18085.gif differ diff --git a/i/sh/nit_t10_18086.gif b/i/sh/nit_t10_18086.gif new file mode 100644 index 0000000..295a1c5 Binary files /dev/null and b/i/sh/nit_t10_18086.gif differ diff --git a/i/sh/nit_t10_18087.gif b/i/sh/nit_t10_18087.gif new file mode 100644 index 0000000..00f163d Binary files /dev/null and b/i/sh/nit_t10_18087.gif differ diff --git a/i/sh/nit_t10_18088.gif b/i/sh/nit_t10_18088.gif new file mode 100644 index 0000000..7e4208b Binary files /dev/null and b/i/sh/nit_t10_18088.gif differ diff --git a/i/sh/nit_t10_18089.gif b/i/sh/nit_t10_18089.gif new file mode 100644 index 0000000..fa4bf9f Binary files /dev/null and b/i/sh/nit_t10_18089.gif differ diff --git a/i/sh/nit_t10_18090.gif b/i/sh/nit_t10_18090.gif new file mode 100644 index 0000000..dc3132d Binary files /dev/null and b/i/sh/nit_t10_18090.gif differ diff --git a/i/sh/nit_t10_18091.gif b/i/sh/nit_t10_18091.gif new file mode 100644 index 0000000..9e76590 Binary files /dev/null and b/i/sh/nit_t10_18091.gif differ diff --git a/i/sh/nit_t10_18092.gif b/i/sh/nit_t10_18092.gif new file mode 100644 index 0000000..5969dd9 Binary files /dev/null and b/i/sh/nit_t10_18092.gif differ diff --git a/i/sh/nit_t10_18093.gif b/i/sh/nit_t10_18093.gif new file mode 100644 index 0000000..f61c7b0 Binary files /dev/null and b/i/sh/nit_t10_18093.gif differ diff --git a/i/sh/nit_t10_18094.gif b/i/sh/nit_t10_18094.gif new file mode 100644 index 0000000..93b52cc Binary files /dev/null and b/i/sh/nit_t10_18094.gif differ diff --git a/i/sh/nit_t10_18095.gif b/i/sh/nit_t10_18095.gif new file mode 100644 index 0000000..4d107a0 Binary files /dev/null and b/i/sh/nit_t10_18095.gif differ diff --git a/i/sh/nit_t10_18096.gif b/i/sh/nit_t10_18096.gif new file mode 100644 index 0000000..847ba07 Binary files /dev/null and b/i/sh/nit_t10_18096.gif differ diff --git a/i/sh/nit_t10_18097.gif b/i/sh/nit_t10_18097.gif new file mode 100644 index 0000000..ef07c50 Binary files /dev/null and b/i/sh/nit_t10_18097.gif differ diff --git a/i/sh/nit_t10_18098.gif b/i/sh/nit_t10_18098.gif new file mode 100644 index 0000000..ddb8f2e Binary files /dev/null and b/i/sh/nit_t10_18098.gif differ diff --git a/i/sh/nit_t10_18099.gif b/i/sh/nit_t10_18099.gif new file mode 100644 index 0000000..cea1006 Binary files /dev/null and b/i/sh/nit_t10_18099.gif differ diff --git a/i/sh/nit_t10_18100.gif b/i/sh/nit_t10_18100.gif new file mode 100644 index 0000000..15f1b4c Binary files /dev/null and b/i/sh/nit_t10_18100.gif differ diff --git a/i/sh/nit_t10_18101.gif b/i/sh/nit_t10_18101.gif new file mode 100644 index 0000000..8e74945 Binary files /dev/null and b/i/sh/nit_t10_18101.gif differ diff --git a/i/sh/nit_t10_18102.gif b/i/sh/nit_t10_18102.gif new file mode 100644 index 0000000..035314f Binary files /dev/null and b/i/sh/nit_t10_18102.gif differ diff --git a/i/sh/nit_t10_18103.gif b/i/sh/nit_t10_18103.gif new file mode 100644 index 0000000..86e0cf7 Binary files /dev/null and b/i/sh/nit_t10_18103.gif differ diff --git a/i/sh/nit_t10_18104.gif b/i/sh/nit_t10_18104.gif new file mode 100644 index 0000000..ab194da Binary files /dev/null and b/i/sh/nit_t10_18104.gif differ diff --git a/i/sh/nit_t10_18105.gif b/i/sh/nit_t10_18105.gif new file mode 100644 index 0000000..a5d6c39 Binary files /dev/null and b/i/sh/nit_t10_18105.gif differ diff --git a/i/sh/nit_t10_18106.gif b/i/sh/nit_t10_18106.gif new file mode 100644 index 0000000..280d0bb Binary files /dev/null and b/i/sh/nit_t10_18106.gif differ diff --git a/i/sh/nit_t10_18107.gif b/i/sh/nit_t10_18107.gif new file mode 100644 index 0000000..82256c9 Binary files /dev/null and b/i/sh/nit_t10_18107.gif differ diff --git a/i/sh/nit_t10_18108.gif b/i/sh/nit_t10_18108.gif new file mode 100644 index 0000000..b290201 Binary files /dev/null and b/i/sh/nit_t10_18108.gif differ diff --git a/i/sh/nit_t10_18109.gif b/i/sh/nit_t10_18109.gif new file mode 100644 index 0000000..3426dc2 Binary files /dev/null and b/i/sh/nit_t10_18109.gif differ diff --git a/i/sh/nit_t10_18110.gif b/i/sh/nit_t10_18110.gif new file mode 100644 index 0000000..10b62fa Binary files /dev/null and b/i/sh/nit_t10_18110.gif differ diff --git a/i/sh/nit_t10_18111.gif b/i/sh/nit_t10_18111.gif new file mode 100644 index 0000000..349b876 Binary files /dev/null and b/i/sh/nit_t10_18111.gif differ diff --git a/i/sh/nit_t10_18112.gif b/i/sh/nit_t10_18112.gif new file mode 100644 index 0000000..7180a4c Binary files /dev/null and b/i/sh/nit_t10_18112.gif differ diff --git a/i/sh/nit_t10_18113.gif b/i/sh/nit_t10_18113.gif new file mode 100644 index 0000000..9e6f751 Binary files /dev/null and b/i/sh/nit_t10_18113.gif differ diff --git a/i/sh/nit_t10_18114.gif b/i/sh/nit_t10_18114.gif new file mode 100644 index 0000000..af2697f Binary files /dev/null and b/i/sh/nit_t10_18114.gif differ diff --git a/i/sh/nit_t10_18115.gif b/i/sh/nit_t10_18115.gif new file mode 100644 index 0000000..98955c2 Binary files /dev/null and b/i/sh/nit_t10_18115.gif differ diff --git a/i/sh/nit_t10_18116.gif b/i/sh/nit_t10_18116.gif new file mode 100644 index 0000000..23e3b6a Binary files /dev/null and b/i/sh/nit_t10_18116.gif differ diff --git a/i/sh/nit_t10_18117.gif b/i/sh/nit_t10_18117.gif new file mode 100644 index 0000000..cefc029 Binary files /dev/null and b/i/sh/nit_t10_18117.gif differ diff --git a/i/sh/nit_t10_18118.gif b/i/sh/nit_t10_18118.gif new file mode 100644 index 0000000..43cc7c3 Binary files /dev/null and b/i/sh/nit_t10_18118.gif differ diff --git a/i/sh/nit_t10_18119.gif b/i/sh/nit_t10_18119.gif new file mode 100644 index 0000000..4d15d28 Binary files /dev/null and b/i/sh/nit_t10_18119.gif differ diff --git a/i/sh/nit_t10_18610.gif b/i/sh/nit_t10_18610.gif new file mode 100644 index 0000000..78a9c04 Binary files /dev/null and b/i/sh/nit_t10_18610.gif differ diff --git a/i/sh/nit_t10_18611.gif b/i/sh/nit_t10_18611.gif new file mode 100644 index 0000000..947f681 Binary files /dev/null and b/i/sh/nit_t10_18611.gif differ diff --git a/i/sh/nit_t10_18612.gif b/i/sh/nit_t10_18612.gif new file mode 100644 index 0000000..4f93382 Binary files /dev/null and b/i/sh/nit_t10_18612.gif differ diff --git a/i/sh/nit_t10_18613.gif b/i/sh/nit_t10_18613.gif new file mode 100644 index 0000000..b40760c Binary files /dev/null and b/i/sh/nit_t10_18613.gif differ diff --git a/i/sh/nit_t10_18614.gif b/i/sh/nit_t10_18614.gif new file mode 100644 index 0000000..9fdf433 Binary files /dev/null and b/i/sh/nit_t10_18614.gif differ diff --git a/i/sh/nit_t10_18615.gif b/i/sh/nit_t10_18615.gif new file mode 100644 index 0000000..f80b43e Binary files /dev/null and b/i/sh/nit_t10_18615.gif differ diff --git a/i/sh/nit_t10_18616.gif b/i/sh/nit_t10_18616.gif new file mode 100644 index 0000000..84d72e7 Binary files /dev/null and b/i/sh/nit_t10_18616.gif differ diff --git a/i/sh/nit_t10_18617.gif b/i/sh/nit_t10_18617.gif new file mode 100644 index 0000000..d7968f2 Binary files /dev/null and b/i/sh/nit_t10_18617.gif differ diff --git a/i/sh/nit_t10_18618.gif b/i/sh/nit_t10_18618.gif new file mode 100644 index 0000000..d9afcb7 Binary files /dev/null and b/i/sh/nit_t10_18618.gif differ diff --git a/i/sh/nit_t10_18619.gif b/i/sh/nit_t10_18619.gif new file mode 100644 index 0000000..e4f4841 Binary files /dev/null and b/i/sh/nit_t10_18619.gif differ diff --git a/i/sh/nit_t10_18620.gif b/i/sh/nit_t10_18620.gif new file mode 100644 index 0000000..2ddfb07 Binary files /dev/null and b/i/sh/nit_t10_18620.gif differ diff --git a/i/sh/nit_t10_18621.gif b/i/sh/nit_t10_18621.gif new file mode 100644 index 0000000..1ab3130 Binary files /dev/null and b/i/sh/nit_t10_18621.gif differ diff --git a/i/sh/nit_t11_18000.gif b/i/sh/nit_t11_18000.gif new file mode 100644 index 0000000..c20c627 Binary files /dev/null and b/i/sh/nit_t11_18000.gif differ diff --git a/i/sh/nit_t11_18001.gif b/i/sh/nit_t11_18001.gif new file mode 100644 index 0000000..e7e40c4 Binary files /dev/null and b/i/sh/nit_t11_18001.gif differ diff --git a/i/sh/nit_t11_18002.gif b/i/sh/nit_t11_18002.gif new file mode 100644 index 0000000..f274575 Binary files /dev/null and b/i/sh/nit_t11_18002.gif differ diff --git a/i/sh/nit_t11_18003.gif b/i/sh/nit_t11_18003.gif new file mode 100644 index 0000000..5471c06 Binary files /dev/null and b/i/sh/nit_t11_18003.gif differ diff --git a/i/sh/nit_t11_18004.gif b/i/sh/nit_t11_18004.gif new file mode 100644 index 0000000..370c2e5 Binary files /dev/null and b/i/sh/nit_t11_18004.gif differ diff --git a/i/sh/nit_t11_18005.gif b/i/sh/nit_t11_18005.gif new file mode 100644 index 0000000..4e79c7b Binary files /dev/null and b/i/sh/nit_t11_18005.gif differ diff --git a/i/sh/nit_t11_18006.gif b/i/sh/nit_t11_18006.gif new file mode 100644 index 0000000..2d6d79e Binary files /dev/null and b/i/sh/nit_t11_18006.gif differ diff --git a/i/sh/nit_t11_18007.gif b/i/sh/nit_t11_18007.gif new file mode 100644 index 0000000..3b4fea0 Binary files /dev/null and b/i/sh/nit_t11_18007.gif differ diff --git a/i/sh/nit_t11_18008.gif b/i/sh/nit_t11_18008.gif new file mode 100644 index 0000000..bba318d Binary files /dev/null and b/i/sh/nit_t11_18008.gif differ diff --git a/i/sh/nit_t11_18009.gif b/i/sh/nit_t11_18009.gif new file mode 100644 index 0000000..e4e3373 Binary files /dev/null and b/i/sh/nit_t11_18009.gif differ diff --git a/i/sh/nit_t11_18010.gif b/i/sh/nit_t11_18010.gif new file mode 100644 index 0000000..bcfc4f0 Binary files /dev/null and b/i/sh/nit_t11_18010.gif differ diff --git a/i/sh/nit_t11_18011.gif b/i/sh/nit_t11_18011.gif new file mode 100644 index 0000000..51e8d7d Binary files /dev/null and b/i/sh/nit_t11_18011.gif differ diff --git a/i/sh/nit_t11_18012.gif b/i/sh/nit_t11_18012.gif new file mode 100644 index 0000000..b42d276 Binary files /dev/null and b/i/sh/nit_t11_18012.gif differ diff --git a/i/sh/nit_t11_18013.gif b/i/sh/nit_t11_18013.gif new file mode 100644 index 0000000..63079cd Binary files /dev/null and b/i/sh/nit_t11_18013.gif differ diff --git a/i/sh/nit_t11_18014.gif b/i/sh/nit_t11_18014.gif new file mode 100644 index 0000000..1e6e98c Binary files /dev/null and b/i/sh/nit_t11_18014.gif differ diff --git a/i/sh/nit_t11_18015.gif b/i/sh/nit_t11_18015.gif new file mode 100644 index 0000000..3f19c46 Binary files /dev/null and b/i/sh/nit_t11_18015.gif differ diff --git a/i/sh/nit_t11_18016.gif b/i/sh/nit_t11_18016.gif new file mode 100644 index 0000000..b719c01 Binary files /dev/null and b/i/sh/nit_t11_18016.gif differ diff --git a/i/sh/nit_t11_18017.gif b/i/sh/nit_t11_18017.gif new file mode 100644 index 0000000..d0462a4 Binary files /dev/null and b/i/sh/nit_t11_18017.gif differ diff --git a/i/sh/nit_t11_18018.gif b/i/sh/nit_t11_18018.gif new file mode 100644 index 0000000..6507806 Binary files /dev/null and b/i/sh/nit_t11_18018.gif differ diff --git a/i/sh/nit_t11_18019.gif b/i/sh/nit_t11_18019.gif new file mode 100644 index 0000000..4006a3b Binary files /dev/null and b/i/sh/nit_t11_18019.gif differ diff --git a/i/sh/nit_t11_18020.gif b/i/sh/nit_t11_18020.gif new file mode 100644 index 0000000..15f7148 Binary files /dev/null and b/i/sh/nit_t11_18020.gif differ diff --git a/i/sh/nit_t11_18021.gif b/i/sh/nit_t11_18021.gif new file mode 100644 index 0000000..06ef0b9 Binary files /dev/null and b/i/sh/nit_t11_18021.gif differ diff --git a/i/sh/nit_t11_18022.gif b/i/sh/nit_t11_18022.gif new file mode 100644 index 0000000..4542a15 Binary files /dev/null and b/i/sh/nit_t11_18022.gif differ diff --git a/i/sh/nit_t11_18023.gif b/i/sh/nit_t11_18023.gif new file mode 100644 index 0000000..ad8ad83 Binary files /dev/null and b/i/sh/nit_t11_18023.gif differ diff --git a/i/sh/nit_t11_18024.gif b/i/sh/nit_t11_18024.gif new file mode 100644 index 0000000..2342c4f Binary files /dev/null and b/i/sh/nit_t11_18024.gif differ diff --git a/i/sh/nit_t11_18025.gif b/i/sh/nit_t11_18025.gif new file mode 100644 index 0000000..5ed12c1 Binary files /dev/null and b/i/sh/nit_t11_18025.gif differ diff --git a/i/sh/nit_t11_18026.gif b/i/sh/nit_t11_18026.gif new file mode 100644 index 0000000..4922d60 Binary files /dev/null and b/i/sh/nit_t11_18026.gif differ diff --git a/i/sh/nit_t11_18027.gif b/i/sh/nit_t11_18027.gif new file mode 100644 index 0000000..5219cad Binary files /dev/null and b/i/sh/nit_t11_18027.gif differ diff --git a/i/sh/nit_t11_18028.gif b/i/sh/nit_t11_18028.gif new file mode 100644 index 0000000..4aba4f0 Binary files /dev/null and b/i/sh/nit_t11_18028.gif differ diff --git a/i/sh/nit_t11_18029.gif b/i/sh/nit_t11_18029.gif new file mode 100644 index 0000000..647f543 Binary files /dev/null and b/i/sh/nit_t11_18029.gif differ diff --git a/i/sh/nit_t11_18030.gif b/i/sh/nit_t11_18030.gif new file mode 100644 index 0000000..fe2bcb2 Binary files /dev/null and b/i/sh/nit_t11_18030.gif differ diff --git a/i/sh/nit_t11_18031.gif b/i/sh/nit_t11_18031.gif new file mode 100644 index 0000000..18c3223 Binary files /dev/null and b/i/sh/nit_t11_18031.gif differ diff --git a/i/sh/nit_t11_18032.gif b/i/sh/nit_t11_18032.gif new file mode 100644 index 0000000..540ae86 Binary files /dev/null and b/i/sh/nit_t11_18032.gif differ diff --git a/i/sh/nit_t11_18033.gif b/i/sh/nit_t11_18033.gif new file mode 100644 index 0000000..2ae9f5d Binary files /dev/null and b/i/sh/nit_t11_18033.gif differ diff --git a/i/sh/nit_t11_18034.gif b/i/sh/nit_t11_18034.gif new file mode 100644 index 0000000..e5fb91d Binary files /dev/null and b/i/sh/nit_t11_18034.gif differ diff --git a/i/sh/nit_t11_18035.gif b/i/sh/nit_t11_18035.gif new file mode 100644 index 0000000..5547c46 Binary files /dev/null and b/i/sh/nit_t11_18035.gif differ diff --git a/i/sh/nit_t11_18036.gif b/i/sh/nit_t11_18036.gif new file mode 100644 index 0000000..472e83b Binary files /dev/null and b/i/sh/nit_t11_18036.gif differ diff --git a/i/sh/nit_t11_18037.gif b/i/sh/nit_t11_18037.gif new file mode 100644 index 0000000..b82ff41 Binary files /dev/null and b/i/sh/nit_t11_18037.gif differ diff --git a/i/sh/nit_t11_18038.gif b/i/sh/nit_t11_18038.gif new file mode 100644 index 0000000..1477a69 Binary files /dev/null and b/i/sh/nit_t11_18038.gif differ diff --git a/i/sh/nit_t11_18039.gif b/i/sh/nit_t11_18039.gif new file mode 100644 index 0000000..f4c90ca Binary files /dev/null and b/i/sh/nit_t11_18039.gif differ diff --git a/i/sh/nit_t11_18040.gif b/i/sh/nit_t11_18040.gif new file mode 100644 index 0000000..27a62a0 Binary files /dev/null and b/i/sh/nit_t11_18040.gif differ diff --git a/i/sh/nit_t11_18041.gif b/i/sh/nit_t11_18041.gif new file mode 100644 index 0000000..816739e Binary files /dev/null and b/i/sh/nit_t11_18041.gif differ diff --git a/i/sh/nit_t11_18042.gif b/i/sh/nit_t11_18042.gif new file mode 100644 index 0000000..dc26868 Binary files /dev/null and b/i/sh/nit_t11_18042.gif differ diff --git a/i/sh/nit_t11_18043.gif b/i/sh/nit_t11_18043.gif new file mode 100644 index 0000000..ff34f68 Binary files /dev/null and b/i/sh/nit_t11_18043.gif differ diff --git a/i/sh/nit_t11_18044.gif b/i/sh/nit_t11_18044.gif new file mode 100644 index 0000000..0b67bd6 Binary files /dev/null and b/i/sh/nit_t11_18044.gif differ diff --git a/i/sh/nit_t11_18045.gif b/i/sh/nit_t11_18045.gif new file mode 100644 index 0000000..97a713a Binary files /dev/null and b/i/sh/nit_t11_18045.gif differ diff --git a/i/sh/nit_t11_18046.gif b/i/sh/nit_t11_18046.gif new file mode 100644 index 0000000..8f6b283 Binary files /dev/null and b/i/sh/nit_t11_18046.gif differ diff --git a/i/sh/nit_t11_18047.gif b/i/sh/nit_t11_18047.gif new file mode 100644 index 0000000..661fc89 Binary files /dev/null and b/i/sh/nit_t11_18047.gif differ diff --git a/i/sh/nit_t11_18048.gif b/i/sh/nit_t11_18048.gif new file mode 100644 index 0000000..b6cbb52 Binary files /dev/null and b/i/sh/nit_t11_18048.gif differ diff --git a/i/sh/nit_t11_18049.gif b/i/sh/nit_t11_18049.gif new file mode 100644 index 0000000..4a3adfd Binary files /dev/null and b/i/sh/nit_t11_18049.gif differ diff --git a/i/sh/nit_t11_18050.gif b/i/sh/nit_t11_18050.gif new file mode 100644 index 0000000..500f6d6 Binary files /dev/null and b/i/sh/nit_t11_18050.gif differ diff --git a/i/sh/nit_t11_18051.gif b/i/sh/nit_t11_18051.gif new file mode 100644 index 0000000..c162663 Binary files /dev/null and b/i/sh/nit_t11_18051.gif differ diff --git a/i/sh/nit_t11_18052.gif b/i/sh/nit_t11_18052.gif new file mode 100644 index 0000000..7f69f17 Binary files /dev/null and b/i/sh/nit_t11_18052.gif differ diff --git a/i/sh/nit_t11_18600.gif b/i/sh/nit_t11_18600.gif new file mode 100644 index 0000000..3442df0 Binary files /dev/null and b/i/sh/nit_t11_18600.gif differ diff --git a/i/sh/nit_t11_18601.gif b/i/sh/nit_t11_18601.gif new file mode 100644 index 0000000..78b91ec Binary files /dev/null and b/i/sh/nit_t11_18601.gif differ diff --git a/i/sh/nit_t11_18602.gif b/i/sh/nit_t11_18602.gif new file mode 100644 index 0000000..ebeaaee Binary files /dev/null and b/i/sh/nit_t11_18602.gif differ diff --git a/i/sh/nit_t11_18603.gif b/i/sh/nit_t11_18603.gif new file mode 100644 index 0000000..b645831 Binary files /dev/null and b/i/sh/nit_t11_18603.gif differ diff --git a/i/sh/nit_t11_18604.gif b/i/sh/nit_t11_18604.gif new file mode 100644 index 0000000..cc317ae Binary files /dev/null and b/i/sh/nit_t11_18604.gif differ diff --git a/i/sh/nit_t11_18605.gif b/i/sh/nit_t11_18605.gif new file mode 100644 index 0000000..1ce17db Binary files /dev/null and b/i/sh/nit_t11_18605.gif differ diff --git a/i/sh/nit_t11_18606.gif b/i/sh/nit_t11_18606.gif new file mode 100644 index 0000000..9bc71e3 Binary files /dev/null and b/i/sh/nit_t11_18606.gif differ diff --git a/i/sh/nit_t11_18607.gif b/i/sh/nit_t11_18607.gif new file mode 100644 index 0000000..20ec80f Binary files /dev/null and b/i/sh/nit_t11_18607.gif differ diff --git a/i/sh/nit_t11_18608.gif b/i/sh/nit_t11_18608.gif new file mode 100644 index 0000000..c12a5c6 Binary files /dev/null and b/i/sh/nit_t11_18608.gif differ diff --git a/i/sh/nit_t11_18609.gif b/i/sh/nit_t11_18609.gif new file mode 100644 index 0000000..05c3ddd Binary files /dev/null and b/i/sh/nit_t11_18609.gif differ diff --git a/i/sh/nit_t1_18120.gif b/i/sh/nit_t1_18120.gif new file mode 100644 index 0000000..9de166c Binary files /dev/null and b/i/sh/nit_t1_18120.gif differ diff --git a/i/sh/nit_t1_18121.gif b/i/sh/nit_t1_18121.gif new file mode 100644 index 0000000..7507b7c Binary files /dev/null and b/i/sh/nit_t1_18121.gif differ diff --git a/i/sh/nit_t1_18122.gif b/i/sh/nit_t1_18122.gif new file mode 100644 index 0000000..1ce5a88 Binary files /dev/null and b/i/sh/nit_t1_18122.gif differ diff --git a/i/sh/nit_t1_18123.gif b/i/sh/nit_t1_18123.gif new file mode 100644 index 0000000..9e74d38 Binary files /dev/null and b/i/sh/nit_t1_18123.gif differ diff --git a/i/sh/nit_t1_18124.gif b/i/sh/nit_t1_18124.gif new file mode 100644 index 0000000..1508a25 Binary files /dev/null and b/i/sh/nit_t1_18124.gif differ diff --git a/i/sh/nit_t1_18125.gif b/i/sh/nit_t1_18125.gif new file mode 100644 index 0000000..a3e97ef Binary files /dev/null and b/i/sh/nit_t1_18125.gif differ diff --git a/i/sh/nit_t1_18126.gif b/i/sh/nit_t1_18126.gif new file mode 100644 index 0000000..43913f7 Binary files /dev/null and b/i/sh/nit_t1_18126.gif differ diff --git a/i/sh/nit_t1_18127.gif b/i/sh/nit_t1_18127.gif new file mode 100644 index 0000000..4bb9c41 Binary files /dev/null and b/i/sh/nit_t1_18127.gif differ diff --git a/i/sh/nit_t1_18128.gif b/i/sh/nit_t1_18128.gif new file mode 100644 index 0000000..557d6a2 Binary files /dev/null and b/i/sh/nit_t1_18128.gif differ diff --git a/i/sh/nit_t1_18129.gif b/i/sh/nit_t1_18129.gif new file mode 100644 index 0000000..a444126 Binary files /dev/null and b/i/sh/nit_t1_18129.gif differ diff --git a/i/sh/nit_t1_18130.gif b/i/sh/nit_t1_18130.gif new file mode 100644 index 0000000..b64fc48 Binary files /dev/null and b/i/sh/nit_t1_18130.gif differ diff --git a/i/sh/nit_t1_18131.gif b/i/sh/nit_t1_18131.gif new file mode 100644 index 0000000..f5369d7 Binary files /dev/null and b/i/sh/nit_t1_18131.gif differ diff --git a/i/sh/nit_t1_18132.gif b/i/sh/nit_t1_18132.gif new file mode 100644 index 0000000..cc9a8d7 Binary files /dev/null and b/i/sh/nit_t1_18132.gif differ diff --git a/i/sh/nit_t1_18133.gif b/i/sh/nit_t1_18133.gif new file mode 100644 index 0000000..3b3ea82 Binary files /dev/null and b/i/sh/nit_t1_18133.gif differ diff --git a/i/sh/nit_t1_18134.gif b/i/sh/nit_t1_18134.gif new file mode 100644 index 0000000..7b27dfd Binary files /dev/null and b/i/sh/nit_t1_18134.gif differ diff --git a/i/sh/nit_t1_18135.gif b/i/sh/nit_t1_18135.gif new file mode 100644 index 0000000..2dd535e Binary files /dev/null and b/i/sh/nit_t1_18135.gif differ diff --git a/i/sh/nit_t1_18136.gif b/i/sh/nit_t1_18136.gif new file mode 100644 index 0000000..a6eef8c Binary files /dev/null and b/i/sh/nit_t1_18136.gif differ diff --git a/i/sh/nit_t1_18137.gif b/i/sh/nit_t1_18137.gif new file mode 100644 index 0000000..af08c31 Binary files /dev/null and b/i/sh/nit_t1_18137.gif differ diff --git a/i/sh/nit_t1_18138.gif b/i/sh/nit_t1_18138.gif new file mode 100644 index 0000000..7796e21 Binary files /dev/null and b/i/sh/nit_t1_18138.gif differ diff --git a/i/sh/nit_t1_18139.gif b/i/sh/nit_t1_18139.gif new file mode 100644 index 0000000..b12bb37 Binary files /dev/null and b/i/sh/nit_t1_18139.gif differ diff --git a/i/sh/nit_t1_18140.gif b/i/sh/nit_t1_18140.gif new file mode 100644 index 0000000..1a3ce8d Binary files /dev/null and b/i/sh/nit_t1_18140.gif differ diff --git a/i/sh/nit_t1_18141.gif b/i/sh/nit_t1_18141.gif new file mode 100644 index 0000000..e754ca3 Binary files /dev/null and b/i/sh/nit_t1_18141.gif differ diff --git a/i/sh/nit_t1_18142.gif b/i/sh/nit_t1_18142.gif new file mode 100644 index 0000000..6567188 Binary files /dev/null and b/i/sh/nit_t1_18142.gif differ diff --git a/i/sh/nit_t1_18143.gif b/i/sh/nit_t1_18143.gif new file mode 100644 index 0000000..a321c2b Binary files /dev/null and b/i/sh/nit_t1_18143.gif differ diff --git a/i/sh/nit_t1_18144.gif b/i/sh/nit_t1_18144.gif new file mode 100644 index 0000000..7ba13c3 Binary files /dev/null and b/i/sh/nit_t1_18144.gif differ diff --git a/i/sh/nit_t1_18145.gif b/i/sh/nit_t1_18145.gif new file mode 100644 index 0000000..288307c Binary files /dev/null and b/i/sh/nit_t1_18145.gif differ diff --git a/i/sh/nit_t1_18146.gif b/i/sh/nit_t1_18146.gif new file mode 100644 index 0000000..b0cbdff Binary files /dev/null and b/i/sh/nit_t1_18146.gif differ diff --git a/i/sh/nit_t1_18147.gif b/i/sh/nit_t1_18147.gif new file mode 100644 index 0000000..9ff947a Binary files /dev/null and b/i/sh/nit_t1_18147.gif differ diff --git a/i/sh/nit_t1_18148.gif b/i/sh/nit_t1_18148.gif new file mode 100644 index 0000000..48e38af Binary files /dev/null and b/i/sh/nit_t1_18148.gif differ diff --git a/i/sh/nit_t1_18149.gif b/i/sh/nit_t1_18149.gif new file mode 100644 index 0000000..5062beb Binary files /dev/null and b/i/sh/nit_t1_18149.gif differ diff --git a/i/sh/nit_t1_18150.gif b/i/sh/nit_t1_18150.gif new file mode 100644 index 0000000..3e00991 Binary files /dev/null and b/i/sh/nit_t1_18150.gif differ diff --git a/i/sh/nit_t1_18151.gif b/i/sh/nit_t1_18151.gif new file mode 100644 index 0000000..84d3ff5 Binary files /dev/null and b/i/sh/nit_t1_18151.gif differ diff --git a/i/sh/nit_t1_18152.gif b/i/sh/nit_t1_18152.gif new file mode 100644 index 0000000..2cd9127 Binary files /dev/null and b/i/sh/nit_t1_18152.gif differ diff --git a/i/sh/nit_t1_18153.gif b/i/sh/nit_t1_18153.gif new file mode 100644 index 0000000..ff91fd9 Binary files /dev/null and b/i/sh/nit_t1_18153.gif differ diff --git a/i/sh/nit_t1_18154.gif b/i/sh/nit_t1_18154.gif new file mode 100644 index 0000000..460578d Binary files /dev/null and b/i/sh/nit_t1_18154.gif differ diff --git a/i/sh/nit_t1_18155.gif b/i/sh/nit_t1_18155.gif new file mode 100644 index 0000000..d9b287a Binary files /dev/null and b/i/sh/nit_t1_18155.gif differ diff --git a/i/sh/nit_t1_18156.gif b/i/sh/nit_t1_18156.gif new file mode 100644 index 0000000..a81dc2d Binary files /dev/null and b/i/sh/nit_t1_18156.gif differ diff --git a/i/sh/nit_t1_18157.gif b/i/sh/nit_t1_18157.gif new file mode 100644 index 0000000..8842ef7 Binary files /dev/null and b/i/sh/nit_t1_18157.gif differ diff --git a/i/sh/nit_t1_18158.gif b/i/sh/nit_t1_18158.gif new file mode 100644 index 0000000..a5507af Binary files /dev/null and b/i/sh/nit_t1_18158.gif differ diff --git a/i/sh/nit_t1_18159.gif b/i/sh/nit_t1_18159.gif new file mode 100644 index 0000000..e2d6afc Binary files /dev/null and b/i/sh/nit_t1_18159.gif differ diff --git a/i/sh/nit_t1_18160.gif b/i/sh/nit_t1_18160.gif new file mode 100644 index 0000000..3c1c88b Binary files /dev/null and b/i/sh/nit_t1_18160.gif differ diff --git a/i/sh/nit_t1_18161.gif b/i/sh/nit_t1_18161.gif new file mode 100644 index 0000000..8c0e8db Binary files /dev/null and b/i/sh/nit_t1_18161.gif differ diff --git a/i/sh/nit_t1_18162.gif b/i/sh/nit_t1_18162.gif new file mode 100644 index 0000000..373b5eb Binary files /dev/null and b/i/sh/nit_t1_18162.gif differ diff --git a/i/sh/nit_t1_18163.gif b/i/sh/nit_t1_18163.gif new file mode 100644 index 0000000..9b7784f Binary files /dev/null and b/i/sh/nit_t1_18163.gif differ diff --git a/i/sh/nit_t1_18164.gif b/i/sh/nit_t1_18164.gif new file mode 100644 index 0000000..815ff9c Binary files /dev/null and b/i/sh/nit_t1_18164.gif differ diff --git a/i/sh/nit_t1_18165.gif b/i/sh/nit_t1_18165.gif new file mode 100644 index 0000000..1fdad29 Binary files /dev/null and b/i/sh/nit_t1_18165.gif differ diff --git a/i/sh/nit_t1_18166.gif b/i/sh/nit_t1_18166.gif new file mode 100644 index 0000000..3d8af2d Binary files /dev/null and b/i/sh/nit_t1_18166.gif differ diff --git a/i/sh/nit_t1_18167.gif b/i/sh/nit_t1_18167.gif new file mode 100644 index 0000000..b0db711 Binary files /dev/null and b/i/sh/nit_t1_18167.gif differ diff --git a/i/sh/nit_t1_18168.gif b/i/sh/nit_t1_18168.gif new file mode 100644 index 0000000..57c5070 Binary files /dev/null and b/i/sh/nit_t1_18168.gif differ diff --git a/i/sh/nit_t1_18169.gif b/i/sh/nit_t1_18169.gif new file mode 100644 index 0000000..47a5393 Binary files /dev/null and b/i/sh/nit_t1_18169.gif differ diff --git a/i/sh/nit_t1_18170.gif b/i/sh/nit_t1_18170.gif new file mode 100644 index 0000000..28413b8 Binary files /dev/null and b/i/sh/nit_t1_18170.gif differ diff --git a/i/sh/nit_t1_18171.gif b/i/sh/nit_t1_18171.gif new file mode 100644 index 0000000..e3f96ca Binary files /dev/null and b/i/sh/nit_t1_18171.gif differ diff --git a/i/sh/nit_t1_18172.gif b/i/sh/nit_t1_18172.gif new file mode 100644 index 0000000..859624e Binary files /dev/null and b/i/sh/nit_t1_18172.gif differ diff --git a/i/sh/nit_t1_18173.gif b/i/sh/nit_t1_18173.gif new file mode 100644 index 0000000..576a0f3 Binary files /dev/null and b/i/sh/nit_t1_18173.gif differ diff --git a/i/sh/nit_t1_18174.gif b/i/sh/nit_t1_18174.gif new file mode 100644 index 0000000..463e48a Binary files /dev/null and b/i/sh/nit_t1_18174.gif differ diff --git a/i/sh/nit_t1_18175.gif b/i/sh/nit_t1_18175.gif new file mode 100644 index 0000000..e82f70b Binary files /dev/null and b/i/sh/nit_t1_18175.gif differ diff --git a/i/sh/nit_t1_18176.gif b/i/sh/nit_t1_18176.gif new file mode 100644 index 0000000..0cd25bf Binary files /dev/null and b/i/sh/nit_t1_18176.gif differ diff --git a/i/sh/nit_t1_18177.gif b/i/sh/nit_t1_18177.gif new file mode 100644 index 0000000..b62cafa Binary files /dev/null and b/i/sh/nit_t1_18177.gif differ diff --git a/i/sh/nit_t1_18178.gif b/i/sh/nit_t1_18178.gif new file mode 100644 index 0000000..9d1750d Binary files /dev/null and b/i/sh/nit_t1_18178.gif differ diff --git a/i/sh/nit_t1_18179.gif b/i/sh/nit_t1_18179.gif new file mode 100644 index 0000000..a115235 Binary files /dev/null and b/i/sh/nit_t1_18179.gif differ diff --git a/i/sh/nit_t1_18180.gif b/i/sh/nit_t1_18180.gif new file mode 100644 index 0000000..a8226c4 Binary files /dev/null and b/i/sh/nit_t1_18180.gif differ diff --git a/i/sh/nit_t1_18181.gif b/i/sh/nit_t1_18181.gif new file mode 100644 index 0000000..b969fb8 Binary files /dev/null and b/i/sh/nit_t1_18181.gif differ diff --git a/i/sh/nit_t1_18182.gif b/i/sh/nit_t1_18182.gif new file mode 100644 index 0000000..13e1312 Binary files /dev/null and b/i/sh/nit_t1_18182.gif differ diff --git a/i/sh/nit_t1_18183_2.gif b/i/sh/nit_t1_18183_2.gif new file mode 100644 index 0000000..cd7d02f Binary files /dev/null and b/i/sh/nit_t1_18183_2.gif differ diff --git a/i/sh/nit_t1_18184.gif b/i/sh/nit_t1_18184.gif new file mode 100644 index 0000000..111e5a5 Binary files /dev/null and b/i/sh/nit_t1_18184.gif differ diff --git a/i/sh/nit_t1_18185.gif b/i/sh/nit_t1_18185.gif new file mode 100644 index 0000000..33682e2 Binary files /dev/null and b/i/sh/nit_t1_18185.gif differ diff --git a/i/sh/nit_t1_18186.gif b/i/sh/nit_t1_18186.gif new file mode 100644 index 0000000..9971db8 Binary files /dev/null and b/i/sh/nit_t1_18186.gif differ diff --git a/i/sh/nit_t1_18187.gif b/i/sh/nit_t1_18187.gif new file mode 100644 index 0000000..aff8e82 Binary files /dev/null and b/i/sh/nit_t1_18187.gif differ diff --git a/i/sh/nit_t1_18188_2.gif b/i/sh/nit_t1_18188_2.gif new file mode 100644 index 0000000..65443da Binary files /dev/null and b/i/sh/nit_t1_18188_2.gif differ diff --git a/i/sh/nit_t1_18189.gif b/i/sh/nit_t1_18189.gif new file mode 100644 index 0000000..1c86422 Binary files /dev/null and b/i/sh/nit_t1_18189.gif differ diff --git a/i/sh/nit_t1_18190.gif b/i/sh/nit_t1_18190.gif new file mode 100644 index 0000000..201e39b Binary files /dev/null and b/i/sh/nit_t1_18190.gif differ diff --git a/i/sh/nit_t1_18191.gif b/i/sh/nit_t1_18191.gif new file mode 100644 index 0000000..fdfca63 Binary files /dev/null and b/i/sh/nit_t1_18191.gif differ diff --git a/i/sh/nit_t1_18192.gif b/i/sh/nit_t1_18192.gif new file mode 100644 index 0000000..c4421a3 Binary files /dev/null and b/i/sh/nit_t1_18192.gif differ diff --git a/i/sh/nit_t1_18193.gif b/i/sh/nit_t1_18193.gif new file mode 100644 index 0000000..16c373d Binary files /dev/null and b/i/sh/nit_t1_18193.gif differ diff --git a/i/sh/nit_t1_18194.gif b/i/sh/nit_t1_18194.gif new file mode 100644 index 0000000..79d7eff Binary files /dev/null and b/i/sh/nit_t1_18194.gif differ diff --git a/i/sh/nit_t1_18195.gif b/i/sh/nit_t1_18195.gif new file mode 100644 index 0000000..bd1de73 Binary files /dev/null and b/i/sh/nit_t1_18195.gif differ diff --git a/i/sh/nit_t1_18196.gif b/i/sh/nit_t1_18196.gif new file mode 100644 index 0000000..ac8d6ae Binary files /dev/null and b/i/sh/nit_t1_18196.gif differ diff --git a/i/sh/nit_t1_18197.gif b/i/sh/nit_t1_18197.gif new file mode 100644 index 0000000..4f852a8 Binary files /dev/null and b/i/sh/nit_t1_18197.gif differ diff --git a/i/sh/nit_t1_18622.gif b/i/sh/nit_t1_18622.gif new file mode 100644 index 0000000..c489ec1 Binary files /dev/null and b/i/sh/nit_t1_18622.gif differ diff --git a/i/sh/nit_t1_18623.gif b/i/sh/nit_t1_18623.gif new file mode 100644 index 0000000..4012c9f Binary files /dev/null and b/i/sh/nit_t1_18623.gif differ diff --git a/i/sh/nit_t1_18624.gif b/i/sh/nit_t1_18624.gif new file mode 100644 index 0000000..7172b29 Binary files /dev/null and b/i/sh/nit_t1_18624.gif differ diff --git a/i/sh/nit_t1_18625.gif b/i/sh/nit_t1_18625.gif new file mode 100644 index 0000000..d3eda24 Binary files /dev/null and b/i/sh/nit_t1_18625.gif differ diff --git a/i/sh/nit_t1_18626.gif b/i/sh/nit_t1_18626.gif new file mode 100644 index 0000000..16d23a4 Binary files /dev/null and b/i/sh/nit_t1_18626.gif differ diff --git a/i/sh/nit_t1_18627.gif b/i/sh/nit_t1_18627.gif new file mode 100644 index 0000000..b5a0ef0 Binary files /dev/null and b/i/sh/nit_t1_18627.gif differ diff --git a/i/sh/nit_t1_18628.gif b/i/sh/nit_t1_18628.gif new file mode 100644 index 0000000..9b5c2d6 Binary files /dev/null and b/i/sh/nit_t1_18628.gif differ diff --git a/i/sh/nit_t1_18629.gif b/i/sh/nit_t1_18629.gif new file mode 100644 index 0000000..881c745 Binary files /dev/null and b/i/sh/nit_t1_18629.gif differ diff --git a/i/sh/nit_t1_18630.gif b/i/sh/nit_t1_18630.gif new file mode 100644 index 0000000..38bb1fc Binary files /dev/null and b/i/sh/nit_t1_18630.gif differ diff --git a/i/sh/nit_t1_18631.gif b/i/sh/nit_t1_18631.gif new file mode 100644 index 0000000..76d51c4 Binary files /dev/null and b/i/sh/nit_t1_18631.gif differ diff --git a/i/sh/nit_t1_18632.gif b/i/sh/nit_t1_18632.gif new file mode 100644 index 0000000..b017109 Binary files /dev/null and b/i/sh/nit_t1_18632.gif differ diff --git a/i/sh/nit_t1_18633_2.gif b/i/sh/nit_t1_18633_2.gif new file mode 100644 index 0000000..3c0d573 Binary files /dev/null and b/i/sh/nit_t1_18633_2.gif differ diff --git a/i/sh/nit_t1_18634.gif b/i/sh/nit_t1_18634.gif new file mode 100644 index 0000000..e27de22 Binary files /dev/null and b/i/sh/nit_t1_18634.gif differ diff --git a/i/sh/nit_t1_18635.gif b/i/sh/nit_t1_18635.gif new file mode 100644 index 0000000..65443da Binary files /dev/null and b/i/sh/nit_t1_18635.gif differ diff --git a/i/sh/nit_t2_18404.gif b/i/sh/nit_t2_18404.gif new file mode 100644 index 0000000..5d7f769 Binary files /dev/null and b/i/sh/nit_t2_18404.gif differ diff --git a/i/sh/nit_t2_18405.gif b/i/sh/nit_t2_18405.gif new file mode 100644 index 0000000..71a5260 Binary files /dev/null and b/i/sh/nit_t2_18405.gif differ diff --git a/i/sh/nit_t2_18406.gif b/i/sh/nit_t2_18406.gif new file mode 100644 index 0000000..bcfbf68 Binary files /dev/null and b/i/sh/nit_t2_18406.gif differ diff --git a/i/sh/nit_t2_18407.gif b/i/sh/nit_t2_18407.gif new file mode 100644 index 0000000..6503c90 Binary files /dev/null and b/i/sh/nit_t2_18407.gif differ diff --git a/i/sh/nit_t2_18408.gif b/i/sh/nit_t2_18408.gif new file mode 100644 index 0000000..bd40d5b Binary files /dev/null and b/i/sh/nit_t2_18408.gif differ diff --git a/i/sh/nit_t2_18409.gif b/i/sh/nit_t2_18409.gif new file mode 100644 index 0000000..cea3993 Binary files /dev/null and b/i/sh/nit_t2_18409.gif differ diff --git a/i/sh/nit_t2_18410.gif b/i/sh/nit_t2_18410.gif new file mode 100644 index 0000000..161f604 Binary files /dev/null and b/i/sh/nit_t2_18410.gif differ diff --git a/i/sh/nit_t2_18411.gif b/i/sh/nit_t2_18411.gif new file mode 100644 index 0000000..52ee4b7 Binary files /dev/null and b/i/sh/nit_t2_18411.gif differ diff --git a/i/sh/nit_t2_18412.gif b/i/sh/nit_t2_18412.gif new file mode 100644 index 0000000..eda2269 Binary files /dev/null and b/i/sh/nit_t2_18412.gif differ diff --git a/i/sh/nit_t2_18413.gif b/i/sh/nit_t2_18413.gif new file mode 100644 index 0000000..54edcae Binary files /dev/null and b/i/sh/nit_t2_18413.gif differ diff --git a/i/sh/nit_t2_18414.gif b/i/sh/nit_t2_18414.gif new file mode 100644 index 0000000..ab182db Binary files /dev/null and b/i/sh/nit_t2_18414.gif differ diff --git a/i/sh/nit_t2_18415.gif b/i/sh/nit_t2_18415.gif new file mode 100644 index 0000000..c3dc87e Binary files /dev/null and b/i/sh/nit_t2_18415.gif differ diff --git a/i/sh/nit_t2_18416.gif b/i/sh/nit_t2_18416.gif new file mode 100644 index 0000000..505b625 Binary files /dev/null and b/i/sh/nit_t2_18416.gif differ diff --git a/i/sh/nit_t2_18417.gif b/i/sh/nit_t2_18417.gif new file mode 100644 index 0000000..d7564bd Binary files /dev/null and b/i/sh/nit_t2_18417.gif differ diff --git a/i/sh/nit_t2_18418.gif b/i/sh/nit_t2_18418.gif new file mode 100644 index 0000000..75740eb Binary files /dev/null and b/i/sh/nit_t2_18418.gif differ diff --git a/i/sh/nit_t2_18419.gif b/i/sh/nit_t2_18419.gif new file mode 100644 index 0000000..b1d4f80 Binary files /dev/null and b/i/sh/nit_t2_18419.gif differ diff --git a/i/sh/nit_t2_18420.gif b/i/sh/nit_t2_18420.gif new file mode 100644 index 0000000..cc19e79 Binary files /dev/null and b/i/sh/nit_t2_18420.gif differ diff --git a/i/sh/nit_t2_18421.gif b/i/sh/nit_t2_18421.gif new file mode 100644 index 0000000..185ef3c Binary files /dev/null and b/i/sh/nit_t2_18421.gif differ diff --git a/i/sh/nit_t2_18422.gif b/i/sh/nit_t2_18422.gif new file mode 100644 index 0000000..b9a5a1f Binary files /dev/null and b/i/sh/nit_t2_18422.gif differ diff --git a/i/sh/nit_t2_18423.gif b/i/sh/nit_t2_18423.gif new file mode 100644 index 0000000..a9bfe41 Binary files /dev/null and b/i/sh/nit_t2_18423.gif differ diff --git a/i/sh/nit_t2_18424.gif b/i/sh/nit_t2_18424.gif new file mode 100644 index 0000000..c42007f Binary files /dev/null and b/i/sh/nit_t2_18424.gif differ diff --git a/i/sh/nit_t2_18425.gif b/i/sh/nit_t2_18425.gif new file mode 100644 index 0000000..fc632f9 Binary files /dev/null and b/i/sh/nit_t2_18425.gif differ diff --git a/i/sh/nit_t2_18426.gif b/i/sh/nit_t2_18426.gif new file mode 100644 index 0000000..84745f6 Binary files /dev/null and b/i/sh/nit_t2_18426.gif differ diff --git a/i/sh/nit_t2_18427.gif b/i/sh/nit_t2_18427.gif new file mode 100644 index 0000000..1388b3f Binary files /dev/null and b/i/sh/nit_t2_18427.gif differ diff --git a/i/sh/nit_t2_18428.gif b/i/sh/nit_t2_18428.gif new file mode 100644 index 0000000..54fabaa Binary files /dev/null and b/i/sh/nit_t2_18428.gif differ diff --git a/i/sh/nit_t2_18429.gif b/i/sh/nit_t2_18429.gif new file mode 100644 index 0000000..2e1ae37 Binary files /dev/null and b/i/sh/nit_t2_18429.gif differ diff --git a/i/sh/nit_t2_18430.gif b/i/sh/nit_t2_18430.gif new file mode 100644 index 0000000..1f6d336 Binary files /dev/null and b/i/sh/nit_t2_18430.gif differ diff --git a/i/sh/nit_t2_18431.gif b/i/sh/nit_t2_18431.gif new file mode 100644 index 0000000..bb94443 Binary files /dev/null and b/i/sh/nit_t2_18431.gif differ diff --git a/i/sh/nit_t2_18432.gif b/i/sh/nit_t2_18432.gif new file mode 100644 index 0000000..733649e Binary files /dev/null and b/i/sh/nit_t2_18432.gif differ diff --git a/i/sh/nit_t2_18433.gif b/i/sh/nit_t2_18433.gif new file mode 100644 index 0000000..f4b37ba Binary files /dev/null and b/i/sh/nit_t2_18433.gif differ diff --git a/i/sh/nit_t2_18434.gif b/i/sh/nit_t2_18434.gif new file mode 100644 index 0000000..f6e8023 Binary files /dev/null and b/i/sh/nit_t2_18434.gif differ diff --git a/i/sh/nit_t2_18435.gif b/i/sh/nit_t2_18435.gif new file mode 100644 index 0000000..e10fd90 Binary files /dev/null and b/i/sh/nit_t2_18435.gif differ diff --git a/i/sh/nit_t2_18436.gif b/i/sh/nit_t2_18436.gif new file mode 100644 index 0000000..e952df2 Binary files /dev/null and b/i/sh/nit_t2_18436.gif differ diff --git a/i/sh/nit_t2_18437.gif b/i/sh/nit_t2_18437.gif new file mode 100644 index 0000000..31ac399 Binary files /dev/null and b/i/sh/nit_t2_18437.gif differ diff --git a/i/sh/nit_t2_18438.gif b/i/sh/nit_t2_18438.gif new file mode 100644 index 0000000..8cc7e7b Binary files /dev/null and b/i/sh/nit_t2_18438.gif differ diff --git a/i/sh/nit_t2_18439.gif b/i/sh/nit_t2_18439.gif new file mode 100644 index 0000000..e53fff8 Binary files /dev/null and b/i/sh/nit_t2_18439.gif differ diff --git a/i/sh/nit_t2_18440.gif b/i/sh/nit_t2_18440.gif new file mode 100644 index 0000000..d59de49 Binary files /dev/null and b/i/sh/nit_t2_18440.gif differ diff --git a/i/sh/nit_t2_18441.gif b/i/sh/nit_t2_18441.gif new file mode 100644 index 0000000..83386f4 Binary files /dev/null and b/i/sh/nit_t2_18441.gif differ diff --git a/i/sh/nit_t2_18442.gif b/i/sh/nit_t2_18442.gif new file mode 100644 index 0000000..a92509c Binary files /dev/null and b/i/sh/nit_t2_18442.gif differ diff --git a/i/sh/nit_t2_18443.gif b/i/sh/nit_t2_18443.gif new file mode 100644 index 0000000..25c3ae1 Binary files /dev/null and b/i/sh/nit_t2_18443.gif differ diff --git a/i/sh/nit_t2_18444.gif b/i/sh/nit_t2_18444.gif new file mode 100644 index 0000000..370ae36 Binary files /dev/null and b/i/sh/nit_t2_18444.gif differ diff --git a/i/sh/nit_t2_18445.gif b/i/sh/nit_t2_18445.gif new file mode 100644 index 0000000..deb48cc Binary files /dev/null and b/i/sh/nit_t2_18445.gif differ diff --git a/i/sh/nit_t2_18446.gif b/i/sh/nit_t2_18446.gif new file mode 100644 index 0000000..6b3da82 Binary files /dev/null and b/i/sh/nit_t2_18446.gif differ diff --git a/i/sh/nit_t2_18447.gif b/i/sh/nit_t2_18447.gif new file mode 100644 index 0000000..e48775b Binary files /dev/null and b/i/sh/nit_t2_18447.gif differ diff --git a/i/sh/nit_t2_18448.gif b/i/sh/nit_t2_18448.gif new file mode 100644 index 0000000..312e3d8 Binary files /dev/null and b/i/sh/nit_t2_18448.gif differ diff --git a/i/sh/nit_t2_18449.gif b/i/sh/nit_t2_18449.gif new file mode 100644 index 0000000..227034c Binary files /dev/null and b/i/sh/nit_t2_18449.gif differ diff --git a/i/sh/nit_t2_18450.gif b/i/sh/nit_t2_18450.gif new file mode 100644 index 0000000..a8fc95b Binary files /dev/null and b/i/sh/nit_t2_18450.gif differ diff --git a/i/sh/nit_t2_18451.gif b/i/sh/nit_t2_18451.gif new file mode 100644 index 0000000..1614d3a Binary files /dev/null and b/i/sh/nit_t2_18451.gif differ diff --git a/i/sh/nit_t2_18452.gif b/i/sh/nit_t2_18452.gif new file mode 100644 index 0000000..a16e2b4 Binary files /dev/null and b/i/sh/nit_t2_18452.gif differ diff --git a/i/sh/nit_t2_18453.gif b/i/sh/nit_t2_18453.gif new file mode 100644 index 0000000..a24c1ba Binary files /dev/null and b/i/sh/nit_t2_18453.gif differ diff --git a/i/sh/nit_t2_18454.gif b/i/sh/nit_t2_18454.gif new file mode 100644 index 0000000..9398b43 Binary files /dev/null and b/i/sh/nit_t2_18454.gif differ diff --git a/i/sh/nit_t2_18455.gif b/i/sh/nit_t2_18455.gif new file mode 100644 index 0000000..60fb358 Binary files /dev/null and b/i/sh/nit_t2_18455.gif differ diff --git a/i/sh/nit_t2_18456_2.gif b/i/sh/nit_t2_18456_2.gif new file mode 100644 index 0000000..c17811c Binary files /dev/null and b/i/sh/nit_t2_18456_2.gif differ diff --git a/i/sh/nit_t2_18457.gif b/i/sh/nit_t2_18457.gif new file mode 100644 index 0000000..52f52ad Binary files /dev/null and b/i/sh/nit_t2_18457.gif differ diff --git a/i/sh/nit_t2_18458.gif b/i/sh/nit_t2_18458.gif new file mode 100644 index 0000000..4403aed Binary files /dev/null and b/i/sh/nit_t2_18458.gif differ diff --git a/i/sh/nit_t2_18459.gif b/i/sh/nit_t2_18459.gif new file mode 100644 index 0000000..f53e4de Binary files /dev/null and b/i/sh/nit_t2_18459.gif differ diff --git a/i/sh/nit_t2_18460.gif b/i/sh/nit_t2_18460.gif new file mode 100644 index 0000000..58d0851 Binary files /dev/null and b/i/sh/nit_t2_18460.gif differ diff --git a/i/sh/nit_t2_18672.gif b/i/sh/nit_t2_18672.gif new file mode 100644 index 0000000..a951181 Binary files /dev/null and b/i/sh/nit_t2_18672.gif differ diff --git a/i/sh/nit_t2_18673.gif b/i/sh/nit_t2_18673.gif new file mode 100644 index 0000000..d872518 Binary files /dev/null and b/i/sh/nit_t2_18673.gif differ diff --git a/i/sh/nit_t2_18674.gif b/i/sh/nit_t2_18674.gif new file mode 100644 index 0000000..f58b0e9 Binary files /dev/null and b/i/sh/nit_t2_18674.gif differ diff --git a/i/sh/nit_t2_18675.gif b/i/sh/nit_t2_18675.gif new file mode 100644 index 0000000..984f0ef Binary files /dev/null and b/i/sh/nit_t2_18675.gif differ diff --git a/i/sh/nit_t2_18676.gif b/i/sh/nit_t2_18676.gif new file mode 100644 index 0000000..0dc6813 Binary files /dev/null and b/i/sh/nit_t2_18676.gif differ diff --git a/i/sh/nit_t2_18677.gif b/i/sh/nit_t2_18677.gif new file mode 100644 index 0000000..419e181 Binary files /dev/null and b/i/sh/nit_t2_18677.gif differ diff --git a/i/sh/nit_t2_18678.gif b/i/sh/nit_t2_18678.gif new file mode 100644 index 0000000..ae5f0dc Binary files /dev/null and b/i/sh/nit_t2_18678.gif differ diff --git a/i/sh/nit_t2_18679.gif b/i/sh/nit_t2_18679.gif new file mode 100644 index 0000000..cdc9d2d Binary files /dev/null and b/i/sh/nit_t2_18679.gif differ diff --git a/i/sh/nit_t2_18680.gif b/i/sh/nit_t2_18680.gif new file mode 100644 index 0000000..87cb3e5 Binary files /dev/null and b/i/sh/nit_t2_18680.gif differ diff --git a/i/sh/nit_t2_18681.gif b/i/sh/nit_t2_18681.gif new file mode 100644 index 0000000..0b0c760 Binary files /dev/null and b/i/sh/nit_t2_18681.gif differ diff --git a/i/sh/nit_t3_18198.gif b/i/sh/nit_t3_18198.gif new file mode 100644 index 0000000..70a8bbc Binary files /dev/null and b/i/sh/nit_t3_18198.gif differ diff --git a/i/sh/nit_t3_18199.gif b/i/sh/nit_t3_18199.gif new file mode 100644 index 0000000..8fb1c66 Binary files /dev/null and b/i/sh/nit_t3_18199.gif differ diff --git a/i/sh/nit_t3_18200.gif b/i/sh/nit_t3_18200.gif new file mode 100644 index 0000000..f9ac74d Binary files /dev/null and b/i/sh/nit_t3_18200.gif differ diff --git a/i/sh/nit_t3_18201.gif b/i/sh/nit_t3_18201.gif new file mode 100644 index 0000000..cc613bc Binary files /dev/null and b/i/sh/nit_t3_18201.gif differ diff --git a/i/sh/nit_t3_18202.gif b/i/sh/nit_t3_18202.gif new file mode 100644 index 0000000..34a32c4 Binary files /dev/null and b/i/sh/nit_t3_18202.gif differ diff --git a/i/sh/nit_t3_18203.gif b/i/sh/nit_t3_18203.gif new file mode 100644 index 0000000..70b3d4d Binary files /dev/null and b/i/sh/nit_t3_18203.gif differ diff --git a/i/sh/nit_t3_18204.gif b/i/sh/nit_t3_18204.gif new file mode 100644 index 0000000..c02e35a Binary files /dev/null and b/i/sh/nit_t3_18204.gif differ diff --git a/i/sh/nit_t3_18205.gif b/i/sh/nit_t3_18205.gif new file mode 100644 index 0000000..ee29f78 Binary files /dev/null and b/i/sh/nit_t3_18205.gif differ diff --git a/i/sh/nit_t3_18206.gif b/i/sh/nit_t3_18206.gif new file mode 100644 index 0000000..6764287 Binary files /dev/null and b/i/sh/nit_t3_18206.gif differ diff --git a/i/sh/nit_t3_18207.gif b/i/sh/nit_t3_18207.gif new file mode 100644 index 0000000..6f27844 Binary files /dev/null and b/i/sh/nit_t3_18207.gif differ diff --git a/i/sh/nit_t3_18208.gif b/i/sh/nit_t3_18208.gif new file mode 100644 index 0000000..6d51329 Binary files /dev/null and b/i/sh/nit_t3_18208.gif differ diff --git a/i/sh/nit_t3_18209.gif b/i/sh/nit_t3_18209.gif new file mode 100644 index 0000000..0f47c43 Binary files /dev/null and b/i/sh/nit_t3_18209.gif differ diff --git a/i/sh/nit_t3_18210.gif b/i/sh/nit_t3_18210.gif new file mode 100644 index 0000000..645d40c Binary files /dev/null and b/i/sh/nit_t3_18210.gif differ diff --git a/i/sh/nit_t3_18211.gif b/i/sh/nit_t3_18211.gif new file mode 100644 index 0000000..13cf8fa Binary files /dev/null and b/i/sh/nit_t3_18211.gif differ diff --git a/i/sh/nit_t3_18212.gif b/i/sh/nit_t3_18212.gif new file mode 100644 index 0000000..48f86cf Binary files /dev/null and b/i/sh/nit_t3_18212.gif differ diff --git a/i/sh/nit_t3_18213.gif b/i/sh/nit_t3_18213.gif new file mode 100644 index 0000000..2770ea2 Binary files /dev/null and b/i/sh/nit_t3_18213.gif differ diff --git a/i/sh/nit_t3_18214.gif b/i/sh/nit_t3_18214.gif new file mode 100644 index 0000000..3b5dcfe Binary files /dev/null and b/i/sh/nit_t3_18214.gif differ diff --git a/i/sh/nit_t3_18215.gif b/i/sh/nit_t3_18215.gif new file mode 100644 index 0000000..1f1c55b Binary files /dev/null and b/i/sh/nit_t3_18215.gif differ diff --git a/i/sh/nit_t3_18216.gif b/i/sh/nit_t3_18216.gif new file mode 100644 index 0000000..7f1f100 Binary files /dev/null and b/i/sh/nit_t3_18216.gif differ diff --git a/i/sh/nit_t3_18217.gif b/i/sh/nit_t3_18217.gif new file mode 100644 index 0000000..27281c8 Binary files /dev/null and b/i/sh/nit_t3_18217.gif differ diff --git a/i/sh/nit_t3_18218.gif b/i/sh/nit_t3_18218.gif new file mode 100644 index 0000000..ee96a4d Binary files /dev/null and b/i/sh/nit_t3_18218.gif differ diff --git a/i/sh/nit_t3_18219.gif b/i/sh/nit_t3_18219.gif new file mode 100644 index 0000000..1ce770a Binary files /dev/null and b/i/sh/nit_t3_18219.gif differ diff --git a/i/sh/nit_t3_18220.gif b/i/sh/nit_t3_18220.gif new file mode 100644 index 0000000..5e721c5 Binary files /dev/null and b/i/sh/nit_t3_18220.gif differ diff --git a/i/sh/nit_t3_18221.gif b/i/sh/nit_t3_18221.gif new file mode 100644 index 0000000..ee17628 Binary files /dev/null and b/i/sh/nit_t3_18221.gif differ diff --git a/i/sh/nit_t3_18222.gif b/i/sh/nit_t3_18222.gif new file mode 100644 index 0000000..de11269 Binary files /dev/null and b/i/sh/nit_t3_18222.gif differ diff --git a/i/sh/nit_t3_18223.gif b/i/sh/nit_t3_18223.gif new file mode 100644 index 0000000..115b588 Binary files /dev/null and b/i/sh/nit_t3_18223.gif differ diff --git a/i/sh/nit_t3_18224.gif b/i/sh/nit_t3_18224.gif new file mode 100644 index 0000000..72cd17e Binary files /dev/null and b/i/sh/nit_t3_18224.gif differ diff --git a/i/sh/nit_t3_18225.gif b/i/sh/nit_t3_18225.gif new file mode 100644 index 0000000..3d0a636 Binary files /dev/null and b/i/sh/nit_t3_18225.gif differ diff --git a/i/sh/nit_t3_18226.gif b/i/sh/nit_t3_18226.gif new file mode 100644 index 0000000..16599ce Binary files /dev/null and b/i/sh/nit_t3_18226.gif differ diff --git a/i/sh/nit_t3_18227.gif b/i/sh/nit_t3_18227.gif new file mode 100644 index 0000000..cc88a16 Binary files /dev/null and b/i/sh/nit_t3_18227.gif differ diff --git a/i/sh/nit_t3_18228.gif b/i/sh/nit_t3_18228.gif new file mode 100644 index 0000000..4b550e5 Binary files /dev/null and b/i/sh/nit_t3_18228.gif differ diff --git a/i/sh/nit_t3_18229.gif b/i/sh/nit_t3_18229.gif new file mode 100644 index 0000000..e9a99d1 Binary files /dev/null and b/i/sh/nit_t3_18229.gif differ diff --git a/i/sh/nit_t3_18230.gif b/i/sh/nit_t3_18230.gif new file mode 100644 index 0000000..5283667 Binary files /dev/null and b/i/sh/nit_t3_18230.gif differ diff --git a/i/sh/nit_t3_18231.gif b/i/sh/nit_t3_18231.gif new file mode 100644 index 0000000..0751198 Binary files /dev/null and b/i/sh/nit_t3_18231.gif differ diff --git a/i/sh/nit_t3_18232.gif b/i/sh/nit_t3_18232.gif new file mode 100644 index 0000000..62863b4 Binary files /dev/null and b/i/sh/nit_t3_18232.gif differ diff --git a/i/sh/nit_t3_18233.gif b/i/sh/nit_t3_18233.gif new file mode 100644 index 0000000..f861ae7 Binary files /dev/null and b/i/sh/nit_t3_18233.gif differ diff --git a/i/sh/nit_t3_18234.gif b/i/sh/nit_t3_18234.gif new file mode 100644 index 0000000..99b020e Binary files /dev/null and b/i/sh/nit_t3_18234.gif differ diff --git a/i/sh/nit_t3_18235.gif b/i/sh/nit_t3_18235.gif new file mode 100644 index 0000000..7331741 Binary files /dev/null and b/i/sh/nit_t3_18235.gif differ diff --git a/i/sh/nit_t3_18236.gif b/i/sh/nit_t3_18236.gif new file mode 100644 index 0000000..8774111 Binary files /dev/null and b/i/sh/nit_t3_18236.gif differ diff --git a/i/sh/nit_t3_18237.gif b/i/sh/nit_t3_18237.gif new file mode 100644 index 0000000..d989997 Binary files /dev/null and b/i/sh/nit_t3_18237.gif differ diff --git a/i/sh/nit_t3_18238.gif b/i/sh/nit_t3_18238.gif new file mode 100644 index 0000000..931498f Binary files /dev/null and b/i/sh/nit_t3_18238.gif differ diff --git a/i/sh/nit_t3_18239.gif b/i/sh/nit_t3_18239.gif new file mode 100644 index 0000000..9a49dcb Binary files /dev/null and b/i/sh/nit_t3_18239.gif differ diff --git a/i/sh/nit_t3_18240.gif b/i/sh/nit_t3_18240.gif new file mode 100644 index 0000000..5c5197b Binary files /dev/null and b/i/sh/nit_t3_18240.gif differ diff --git a/i/sh/nit_t3_18241.gif b/i/sh/nit_t3_18241.gif new file mode 100644 index 0000000..511b3a3 Binary files /dev/null and b/i/sh/nit_t3_18241.gif differ diff --git a/i/sh/nit_t3_18242.gif b/i/sh/nit_t3_18242.gif new file mode 100644 index 0000000..715ce3b Binary files /dev/null and b/i/sh/nit_t3_18242.gif differ diff --git a/i/sh/nit_t3_18243.gif b/i/sh/nit_t3_18243.gif new file mode 100644 index 0000000..49d162e Binary files /dev/null and b/i/sh/nit_t3_18243.gif differ diff --git a/i/sh/nit_t3_18244.gif b/i/sh/nit_t3_18244.gif new file mode 100644 index 0000000..b6a6f92 Binary files /dev/null and b/i/sh/nit_t3_18244.gif differ diff --git a/i/sh/nit_t3_18245.gif b/i/sh/nit_t3_18245.gif new file mode 100644 index 0000000..a5afa5b Binary files /dev/null and b/i/sh/nit_t3_18245.gif differ diff --git a/i/sh/nit_t3_18246.gif b/i/sh/nit_t3_18246.gif new file mode 100644 index 0000000..274e876 Binary files /dev/null and b/i/sh/nit_t3_18246.gif differ diff --git a/i/sh/nit_t3_18247.gif b/i/sh/nit_t3_18247.gif new file mode 100644 index 0000000..74d6a48 Binary files /dev/null and b/i/sh/nit_t3_18247.gif differ diff --git a/i/sh/nit_t3_18527.gif b/i/sh/nit_t3_18527.gif new file mode 100644 index 0000000..b27f742 Binary files /dev/null and b/i/sh/nit_t3_18527.gif differ diff --git a/i/sh/nit_t3_18636.gif b/i/sh/nit_t3_18636.gif new file mode 100644 index 0000000..81b1097 Binary files /dev/null and b/i/sh/nit_t3_18636.gif differ diff --git a/i/sh/nit_t3_18637.gif b/i/sh/nit_t3_18637.gif new file mode 100644 index 0000000..d89077f Binary files /dev/null and b/i/sh/nit_t3_18637.gif differ diff --git a/i/sh/nit_t3_18638.gif b/i/sh/nit_t3_18638.gif new file mode 100644 index 0000000..f08c565 Binary files /dev/null and b/i/sh/nit_t3_18638.gif differ diff --git a/i/sh/nit_t3_18639.gif b/i/sh/nit_t3_18639.gif new file mode 100644 index 0000000..9f45aaa Binary files /dev/null and b/i/sh/nit_t3_18639.gif differ diff --git a/i/sh/nit_t3_18640.gif b/i/sh/nit_t3_18640.gif new file mode 100644 index 0000000..4ddc86a Binary files /dev/null and b/i/sh/nit_t3_18640.gif differ diff --git a/i/sh/nit_t3_18641.gif b/i/sh/nit_t3_18641.gif new file mode 100644 index 0000000..4690e43 Binary files /dev/null and b/i/sh/nit_t3_18641.gif differ diff --git a/i/sh/nit_t3_18642.gif b/i/sh/nit_t3_18642.gif new file mode 100644 index 0000000..7b07c9e Binary files /dev/null and b/i/sh/nit_t3_18642.gif differ diff --git a/i/sh/nit_t3_18643.gif b/i/sh/nit_t3_18643.gif new file mode 100644 index 0000000..585d890 Binary files /dev/null and b/i/sh/nit_t3_18643.gif differ diff --git a/i/sh/nit_t4_18313.gif b/i/sh/nit_t4_18313.gif new file mode 100644 index 0000000..27a1d50 Binary files /dev/null and b/i/sh/nit_t4_18313.gif differ diff --git a/i/sh/nit_t4_18314.gif b/i/sh/nit_t4_18314.gif new file mode 100644 index 0000000..a18a229 Binary files /dev/null and b/i/sh/nit_t4_18314.gif differ diff --git a/i/sh/nit_t4_18315.gif b/i/sh/nit_t4_18315.gif new file mode 100644 index 0000000..043d353 Binary files /dev/null and b/i/sh/nit_t4_18315.gif differ diff --git a/i/sh/nit_t4_18316.gif b/i/sh/nit_t4_18316.gif new file mode 100644 index 0000000..62fc163 Binary files /dev/null and b/i/sh/nit_t4_18316.gif differ diff --git a/i/sh/nit_t4_18317.gif b/i/sh/nit_t4_18317.gif new file mode 100644 index 0000000..e23a758 Binary files /dev/null and b/i/sh/nit_t4_18317.gif differ diff --git a/i/sh/nit_t4_18318.gif b/i/sh/nit_t4_18318.gif new file mode 100644 index 0000000..127ba15 Binary files /dev/null and b/i/sh/nit_t4_18318.gif differ diff --git a/i/sh/nit_t4_18319.gif b/i/sh/nit_t4_18319.gif new file mode 100644 index 0000000..5e86777 Binary files /dev/null and b/i/sh/nit_t4_18319.gif differ diff --git a/i/sh/nit_t4_18320.gif b/i/sh/nit_t4_18320.gif new file mode 100644 index 0000000..92da9eb Binary files /dev/null and b/i/sh/nit_t4_18320.gif differ diff --git a/i/sh/nit_t4_18321.gif b/i/sh/nit_t4_18321.gif new file mode 100644 index 0000000..c3f10d3 Binary files /dev/null and b/i/sh/nit_t4_18321.gif differ diff --git a/i/sh/nit_t4_18322.gif b/i/sh/nit_t4_18322.gif new file mode 100644 index 0000000..414f131 Binary files /dev/null and b/i/sh/nit_t4_18322.gif differ diff --git a/i/sh/nit_t4_18323.gif b/i/sh/nit_t4_18323.gif new file mode 100644 index 0000000..3e69313 Binary files /dev/null and b/i/sh/nit_t4_18323.gif differ diff --git a/i/sh/nit_t4_18324.gif b/i/sh/nit_t4_18324.gif new file mode 100644 index 0000000..ae254a1 Binary files /dev/null and b/i/sh/nit_t4_18324.gif differ diff --git a/i/sh/nit_t4_18325.gif b/i/sh/nit_t4_18325.gif new file mode 100644 index 0000000..836740b Binary files /dev/null and b/i/sh/nit_t4_18325.gif differ diff --git a/i/sh/nit_t4_18326.gif b/i/sh/nit_t4_18326.gif new file mode 100644 index 0000000..97ec03f Binary files /dev/null and b/i/sh/nit_t4_18326.gif differ diff --git a/i/sh/nit_t4_18327.gif b/i/sh/nit_t4_18327.gif new file mode 100644 index 0000000..04dbfa6 Binary files /dev/null and b/i/sh/nit_t4_18327.gif differ diff --git a/i/sh/nit_t4_18328.gif b/i/sh/nit_t4_18328.gif new file mode 100644 index 0000000..289c03e Binary files /dev/null and b/i/sh/nit_t4_18328.gif differ diff --git a/i/sh/nit_t4_18329.gif b/i/sh/nit_t4_18329.gif new file mode 100644 index 0000000..5e02b5c Binary files /dev/null and b/i/sh/nit_t4_18329.gif differ diff --git a/i/sh/nit_t4_18330.gif b/i/sh/nit_t4_18330.gif new file mode 100644 index 0000000..f13a46f Binary files /dev/null and b/i/sh/nit_t4_18330.gif differ diff --git a/i/sh/nit_t4_18331.gif b/i/sh/nit_t4_18331.gif new file mode 100644 index 0000000..4312a88 Binary files /dev/null and b/i/sh/nit_t4_18331.gif differ diff --git a/i/sh/nit_t4_18332.gif b/i/sh/nit_t4_18332.gif new file mode 100644 index 0000000..6ba54eb Binary files /dev/null and b/i/sh/nit_t4_18332.gif differ diff --git a/i/sh/nit_t4_18333.gif b/i/sh/nit_t4_18333.gif new file mode 100644 index 0000000..a72c9c2 Binary files /dev/null and b/i/sh/nit_t4_18333.gif differ diff --git a/i/sh/nit_t4_18334.gif b/i/sh/nit_t4_18334.gif new file mode 100644 index 0000000..65a91ac Binary files /dev/null and b/i/sh/nit_t4_18334.gif differ diff --git a/i/sh/nit_t4_18335.gif b/i/sh/nit_t4_18335.gif new file mode 100644 index 0000000..89e4b02 Binary files /dev/null and b/i/sh/nit_t4_18335.gif differ diff --git a/i/sh/nit_t4_18336.gif b/i/sh/nit_t4_18336.gif new file mode 100644 index 0000000..70826a4 Binary files /dev/null and b/i/sh/nit_t4_18336.gif differ diff --git a/i/sh/nit_t4_18337.gif b/i/sh/nit_t4_18337.gif new file mode 100644 index 0000000..0aef919 Binary files /dev/null and b/i/sh/nit_t4_18337.gif differ diff --git a/i/sh/nit_t4_18338.gif b/i/sh/nit_t4_18338.gif new file mode 100644 index 0000000..5b45a7a Binary files /dev/null and b/i/sh/nit_t4_18338.gif differ diff --git a/i/sh/nit_t4_18339.gif b/i/sh/nit_t4_18339.gif new file mode 100644 index 0000000..1c16cae Binary files /dev/null and b/i/sh/nit_t4_18339.gif differ diff --git a/i/sh/nit_t4_18340.gif b/i/sh/nit_t4_18340.gif new file mode 100644 index 0000000..bf426ba Binary files /dev/null and b/i/sh/nit_t4_18340.gif differ diff --git a/i/sh/nit_t4_18341.gif b/i/sh/nit_t4_18341.gif new file mode 100644 index 0000000..337b127 Binary files /dev/null and b/i/sh/nit_t4_18341.gif differ diff --git a/i/sh/nit_t4_18342.gif b/i/sh/nit_t4_18342.gif new file mode 100644 index 0000000..73010df Binary files /dev/null and b/i/sh/nit_t4_18342.gif differ diff --git a/i/sh/nit_t4_18343.gif b/i/sh/nit_t4_18343.gif new file mode 100644 index 0000000..3f648a6 Binary files /dev/null and b/i/sh/nit_t4_18343.gif differ diff --git a/i/sh/nit_t4_18344.gif b/i/sh/nit_t4_18344.gif new file mode 100644 index 0000000..2ad34aa Binary files /dev/null and b/i/sh/nit_t4_18344.gif differ diff --git a/i/sh/nit_t4_18345.gif b/i/sh/nit_t4_18345.gif new file mode 100644 index 0000000..f5ac994 Binary files /dev/null and b/i/sh/nit_t4_18345.gif differ diff --git a/i/sh/nit_t4_18346.gif b/i/sh/nit_t4_18346.gif new file mode 100644 index 0000000..29e32d2 Binary files /dev/null and b/i/sh/nit_t4_18346.gif differ diff --git a/i/sh/nit_t4_18654.gif b/i/sh/nit_t4_18654.gif new file mode 100644 index 0000000..af8fd4a Binary files /dev/null and b/i/sh/nit_t4_18654.gif differ diff --git a/i/sh/nit_t4_18655.gif b/i/sh/nit_t4_18655.gif new file mode 100644 index 0000000..dbccd49 Binary files /dev/null and b/i/sh/nit_t4_18655.gif differ diff --git a/i/sh/nit_t4_18656.gif b/i/sh/nit_t4_18656.gif new file mode 100644 index 0000000..fcc47b2 Binary files /dev/null and b/i/sh/nit_t4_18656.gif differ diff --git a/i/sh/nit_t4_18657.gif b/i/sh/nit_t4_18657.gif new file mode 100644 index 0000000..9079e77 Binary files /dev/null and b/i/sh/nit_t4_18657.gif differ diff --git a/i/sh/nit_t4_18658.gif b/i/sh/nit_t4_18658.gif new file mode 100644 index 0000000..6e3d11e Binary files /dev/null and b/i/sh/nit_t4_18658.gif differ diff --git a/i/sh/nit_t4_18659.gif b/i/sh/nit_t4_18659.gif new file mode 100644 index 0000000..fc28821 Binary files /dev/null and b/i/sh/nit_t4_18659.gif differ diff --git a/i/sh/nit_t5_18461.gif b/i/sh/nit_t5_18461.gif new file mode 100644 index 0000000..6582276 Binary files /dev/null and b/i/sh/nit_t5_18461.gif differ diff --git a/i/sh/nit_t5_18462.gif b/i/sh/nit_t5_18462.gif new file mode 100644 index 0000000..e121792 Binary files /dev/null and b/i/sh/nit_t5_18462.gif differ diff --git a/i/sh/nit_t5_18463.gif b/i/sh/nit_t5_18463.gif new file mode 100644 index 0000000..beccf9a Binary files /dev/null and b/i/sh/nit_t5_18463.gif differ diff --git a/i/sh/nit_t5_18464.gif b/i/sh/nit_t5_18464.gif new file mode 100644 index 0000000..d7dfaa3 Binary files /dev/null and b/i/sh/nit_t5_18464.gif differ diff --git a/i/sh/nit_t5_18465.gif b/i/sh/nit_t5_18465.gif new file mode 100644 index 0000000..f151ef3 Binary files /dev/null and b/i/sh/nit_t5_18465.gif differ diff --git a/i/sh/nit_t5_18466.gif b/i/sh/nit_t5_18466.gif new file mode 100644 index 0000000..bbaa388 Binary files /dev/null and b/i/sh/nit_t5_18466.gif differ diff --git a/i/sh/nit_t5_18467.gif b/i/sh/nit_t5_18467.gif new file mode 100644 index 0000000..5049e5e Binary files /dev/null and b/i/sh/nit_t5_18467.gif differ diff --git a/i/sh/nit_t5_18468.gif b/i/sh/nit_t5_18468.gif new file mode 100644 index 0000000..2ad7a8f Binary files /dev/null and b/i/sh/nit_t5_18468.gif differ diff --git a/i/sh/nit_t5_18469.gif b/i/sh/nit_t5_18469.gif new file mode 100644 index 0000000..d7d4e7f Binary files /dev/null and b/i/sh/nit_t5_18469.gif differ diff --git a/i/sh/nit_t5_18470.gif b/i/sh/nit_t5_18470.gif new file mode 100644 index 0000000..2b32e81 Binary files /dev/null and b/i/sh/nit_t5_18470.gif differ diff --git a/i/sh/nit_t5_18471.gif b/i/sh/nit_t5_18471.gif new file mode 100644 index 0000000..fd303e4 Binary files /dev/null and b/i/sh/nit_t5_18471.gif differ diff --git a/i/sh/nit_t5_18472.gif b/i/sh/nit_t5_18472.gif new file mode 100644 index 0000000..f25a1a9 Binary files /dev/null and b/i/sh/nit_t5_18472.gif differ diff --git a/i/sh/nit_t5_18473.gif b/i/sh/nit_t5_18473.gif new file mode 100644 index 0000000..abcf287 Binary files /dev/null and b/i/sh/nit_t5_18473.gif differ diff --git a/i/sh/nit_t5_18474.gif b/i/sh/nit_t5_18474.gif new file mode 100644 index 0000000..757625b Binary files /dev/null and b/i/sh/nit_t5_18474.gif differ diff --git a/i/sh/nit_t5_18475.gif b/i/sh/nit_t5_18475.gif new file mode 100644 index 0000000..18430f1 Binary files /dev/null and b/i/sh/nit_t5_18475.gif differ diff --git a/i/sh/nit_t5_18476.gif b/i/sh/nit_t5_18476.gif new file mode 100644 index 0000000..b7a9634 Binary files /dev/null and b/i/sh/nit_t5_18476.gif differ diff --git a/i/sh/nit_t5_18477.gif b/i/sh/nit_t5_18477.gif new file mode 100644 index 0000000..818e7f7 Binary files /dev/null and b/i/sh/nit_t5_18477.gif differ diff --git a/i/sh/nit_t5_18478.gif b/i/sh/nit_t5_18478.gif new file mode 100644 index 0000000..4ab7a04 Binary files /dev/null and b/i/sh/nit_t5_18478.gif differ diff --git a/i/sh/nit_t5_18479.gif b/i/sh/nit_t5_18479.gif new file mode 100644 index 0000000..d0f0dd3 Binary files /dev/null and b/i/sh/nit_t5_18479.gif differ diff --git a/i/sh/nit_t5_18480.gif b/i/sh/nit_t5_18480.gif new file mode 100644 index 0000000..b1dc07c Binary files /dev/null and b/i/sh/nit_t5_18480.gif differ diff --git a/i/sh/nit_t5_18481.gif b/i/sh/nit_t5_18481.gif new file mode 100644 index 0000000..45b5bc0 Binary files /dev/null and b/i/sh/nit_t5_18481.gif differ diff --git a/i/sh/nit_t5_18482.gif b/i/sh/nit_t5_18482.gif new file mode 100644 index 0000000..dc430ef Binary files /dev/null and b/i/sh/nit_t5_18482.gif differ diff --git a/i/sh/nit_t5_18483.gif b/i/sh/nit_t5_18483.gif new file mode 100644 index 0000000..07b38b1 Binary files /dev/null and b/i/sh/nit_t5_18483.gif differ diff --git a/i/sh/nit_t5_18484.gif b/i/sh/nit_t5_18484.gif new file mode 100644 index 0000000..ea1d781 Binary files /dev/null and b/i/sh/nit_t5_18484.gif differ diff --git a/i/sh/nit_t5_18485.gif b/i/sh/nit_t5_18485.gif new file mode 100644 index 0000000..1a6bbc7 Binary files /dev/null and b/i/sh/nit_t5_18485.gif differ diff --git a/i/sh/nit_t5_18486.gif b/i/sh/nit_t5_18486.gif new file mode 100644 index 0000000..dd47aee Binary files /dev/null and b/i/sh/nit_t5_18486.gif differ diff --git a/i/sh/nit_t5_18487.gif b/i/sh/nit_t5_18487.gif new file mode 100644 index 0000000..43a5d3c Binary files /dev/null and b/i/sh/nit_t5_18487.gif differ diff --git a/i/sh/nit_t5_18488.gif b/i/sh/nit_t5_18488.gif new file mode 100644 index 0000000..e6d8449 Binary files /dev/null and b/i/sh/nit_t5_18488.gif differ diff --git a/i/sh/nit_t5_18489.gif b/i/sh/nit_t5_18489.gif new file mode 100644 index 0000000..850efad Binary files /dev/null and b/i/sh/nit_t5_18489.gif differ diff --git a/i/sh/nit_t5_18490.gif b/i/sh/nit_t5_18490.gif new file mode 100644 index 0000000..93f0a7b Binary files /dev/null and b/i/sh/nit_t5_18490.gif differ diff --git a/i/sh/nit_t5_18491.gif b/i/sh/nit_t5_18491.gif new file mode 100644 index 0000000..8578d26 Binary files /dev/null and b/i/sh/nit_t5_18491.gif differ diff --git a/i/sh/nit_t5_18492.gif b/i/sh/nit_t5_18492.gif new file mode 100644 index 0000000..66857ce Binary files /dev/null and b/i/sh/nit_t5_18492.gif differ diff --git a/i/sh/nit_t5_18493.gif b/i/sh/nit_t5_18493.gif new file mode 100644 index 0000000..98369b8 Binary files /dev/null and b/i/sh/nit_t5_18493.gif differ diff --git a/i/sh/nit_t5_18494.gif b/i/sh/nit_t5_18494.gif new file mode 100644 index 0000000..fd0b333 Binary files /dev/null and b/i/sh/nit_t5_18494.gif differ diff --git a/i/sh/nit_t5_18495.gif b/i/sh/nit_t5_18495.gif new file mode 100644 index 0000000..a2c1b4d Binary files /dev/null and b/i/sh/nit_t5_18495.gif differ diff --git a/i/sh/nit_t5_18496.gif b/i/sh/nit_t5_18496.gif new file mode 100644 index 0000000..9dd823a Binary files /dev/null and b/i/sh/nit_t5_18496.gif differ diff --git a/i/sh/nit_t5_18497.gif b/i/sh/nit_t5_18497.gif new file mode 100644 index 0000000..7786771 Binary files /dev/null and b/i/sh/nit_t5_18497.gif differ diff --git a/i/sh/nit_t5_18498.gif b/i/sh/nit_t5_18498.gif new file mode 100644 index 0000000..0206a10 Binary files /dev/null and b/i/sh/nit_t5_18498.gif differ diff --git a/i/sh/nit_t5_18499.gif b/i/sh/nit_t5_18499.gif new file mode 100644 index 0000000..1857d31 Binary files /dev/null and b/i/sh/nit_t5_18499.gif differ diff --git a/i/sh/nit_t5_18500.gif b/i/sh/nit_t5_18500.gif new file mode 100644 index 0000000..45d6009 Binary files /dev/null and b/i/sh/nit_t5_18500.gif differ diff --git a/i/sh/nit_t5_18501.gif b/i/sh/nit_t5_18501.gif new file mode 100644 index 0000000..ed48dd1 Binary files /dev/null and b/i/sh/nit_t5_18501.gif differ diff --git a/i/sh/nit_t5_18502.gif b/i/sh/nit_t5_18502.gif new file mode 100644 index 0000000..d1c249e Binary files /dev/null and b/i/sh/nit_t5_18502.gif differ diff --git a/i/sh/nit_t5_18503.gif b/i/sh/nit_t5_18503.gif new file mode 100644 index 0000000..baaace1 Binary files /dev/null and b/i/sh/nit_t5_18503.gif differ diff --git a/i/sh/nit_t5_18504.gif b/i/sh/nit_t5_18504.gif new file mode 100644 index 0000000..5b83906 Binary files /dev/null and b/i/sh/nit_t5_18504.gif differ diff --git a/i/sh/nit_t5_18505.gif b/i/sh/nit_t5_18505.gif new file mode 100644 index 0000000..623bc82 Binary files /dev/null and b/i/sh/nit_t5_18505.gif differ diff --git a/i/sh/nit_t5_18506.gif b/i/sh/nit_t5_18506.gif new file mode 100644 index 0000000..7f23a35 Binary files /dev/null and b/i/sh/nit_t5_18506.gif differ diff --git a/i/sh/nit_t5_18507.gif b/i/sh/nit_t5_18507.gif new file mode 100644 index 0000000..54bd455 Binary files /dev/null and b/i/sh/nit_t5_18507.gif differ diff --git a/i/sh/nit_t5_18508.gif b/i/sh/nit_t5_18508.gif new file mode 100644 index 0000000..d26c427 Binary files /dev/null and b/i/sh/nit_t5_18508.gif differ diff --git a/i/sh/nit_t5_18509.gif b/i/sh/nit_t5_18509.gif new file mode 100644 index 0000000..31d4139 Binary files /dev/null and b/i/sh/nit_t5_18509.gif differ diff --git a/i/sh/nit_t5_18510_2.gif b/i/sh/nit_t5_18510_2.gif new file mode 100644 index 0000000..ebb86b7 Binary files /dev/null and b/i/sh/nit_t5_18510_2.gif differ diff --git a/i/sh/nit_t5_18511.gif b/i/sh/nit_t5_18511.gif new file mode 100644 index 0000000..00dc595 Binary files /dev/null and b/i/sh/nit_t5_18511.gif differ diff --git a/i/sh/nit_t5_18512.gif b/i/sh/nit_t5_18512.gif new file mode 100644 index 0000000..13f2936 Binary files /dev/null and b/i/sh/nit_t5_18512.gif differ diff --git a/i/sh/nit_t5_18513.gif b/i/sh/nit_t5_18513.gif new file mode 100644 index 0000000..b518042 Binary files /dev/null and b/i/sh/nit_t5_18513.gif differ diff --git a/i/sh/nit_t5_18514.gif b/i/sh/nit_t5_18514.gif new file mode 100644 index 0000000..cfd6ef3 Binary files /dev/null and b/i/sh/nit_t5_18514.gif differ diff --git a/i/sh/nit_t5_18515.gif b/i/sh/nit_t5_18515.gif new file mode 100644 index 0000000..1aa5bce Binary files /dev/null and b/i/sh/nit_t5_18515.gif differ diff --git a/i/sh/nit_t5_18516.gif b/i/sh/nit_t5_18516.gif new file mode 100644 index 0000000..eab2cc4 Binary files /dev/null and b/i/sh/nit_t5_18516.gif differ diff --git a/i/sh/nit_t5_18517.gif b/i/sh/nit_t5_18517.gif new file mode 100644 index 0000000..da63353 Binary files /dev/null and b/i/sh/nit_t5_18517.gif differ diff --git a/i/sh/nit_t5_18518.gif b/i/sh/nit_t5_18518.gif new file mode 100644 index 0000000..8232955 Binary files /dev/null and b/i/sh/nit_t5_18518.gif differ diff --git a/i/sh/nit_t5_18519.gif b/i/sh/nit_t5_18519.gif new file mode 100644 index 0000000..1d9dc0a Binary files /dev/null and b/i/sh/nit_t5_18519.gif differ diff --git a/i/sh/nit_t5_18520.gif b/i/sh/nit_t5_18520.gif new file mode 100644 index 0000000..0368d6a Binary files /dev/null and b/i/sh/nit_t5_18520.gif differ diff --git a/i/sh/nit_t5_18521.gif b/i/sh/nit_t5_18521.gif new file mode 100644 index 0000000..5c7eec7 Binary files /dev/null and b/i/sh/nit_t5_18521.gif differ diff --git a/i/sh/nit_t5_18522.gif b/i/sh/nit_t5_18522.gif new file mode 100644 index 0000000..510ece1 Binary files /dev/null and b/i/sh/nit_t5_18522.gif differ diff --git a/i/sh/nit_t5_18523.gif b/i/sh/nit_t5_18523.gif new file mode 100644 index 0000000..5d66685 Binary files /dev/null and b/i/sh/nit_t5_18523.gif differ diff --git a/i/sh/nit_t5_18524.gif b/i/sh/nit_t5_18524.gif new file mode 100644 index 0000000..fae1448 Binary files /dev/null and b/i/sh/nit_t5_18524.gif differ diff --git a/i/sh/nit_t5_18525.gif b/i/sh/nit_t5_18525.gif new file mode 100644 index 0000000..8322251 Binary files /dev/null and b/i/sh/nit_t5_18525.gif differ diff --git a/i/sh/nit_t5_18526.gif b/i/sh/nit_t5_18526.gif new file mode 100644 index 0000000..b36e587 Binary files /dev/null and b/i/sh/nit_t5_18526.gif differ diff --git a/i/sh/nit_t5_18682.gif b/i/sh/nit_t5_18682.gif new file mode 100644 index 0000000..4a9dc69 Binary files /dev/null and b/i/sh/nit_t5_18682.gif differ diff --git a/i/sh/nit_t5_18683.gif b/i/sh/nit_t5_18683.gif new file mode 100644 index 0000000..dd7a541 Binary files /dev/null and b/i/sh/nit_t5_18683.gif differ diff --git a/i/sh/nit_t5_18684.gif b/i/sh/nit_t5_18684.gif new file mode 100644 index 0000000..12fbee6 Binary files /dev/null and b/i/sh/nit_t5_18684.gif differ diff --git a/i/sh/nit_t5_18685.gif b/i/sh/nit_t5_18685.gif new file mode 100644 index 0000000..e426f2f Binary files /dev/null and b/i/sh/nit_t5_18685.gif differ diff --git a/i/sh/nit_t5_18686.gif b/i/sh/nit_t5_18686.gif new file mode 100644 index 0000000..e1f0413 Binary files /dev/null and b/i/sh/nit_t5_18686.gif differ diff --git a/i/sh/nit_t5_18687.gif b/i/sh/nit_t5_18687.gif new file mode 100644 index 0000000..e96795c Binary files /dev/null and b/i/sh/nit_t5_18687.gif differ diff --git a/i/sh/nit_t5_18688.gif b/i/sh/nit_t5_18688.gif new file mode 100644 index 0000000..8d898bb Binary files /dev/null and b/i/sh/nit_t5_18688.gif differ diff --git a/i/sh/nit_t5_18689.gif b/i/sh/nit_t5_18689.gif new file mode 100644 index 0000000..175b7a3 Binary files /dev/null and b/i/sh/nit_t5_18689.gif differ diff --git a/i/sh/nit_t5_18690.gif b/i/sh/nit_t5_18690.gif new file mode 100644 index 0000000..1e16252 Binary files /dev/null and b/i/sh/nit_t5_18690.gif differ diff --git a/i/sh/nit_t5_18691.gif b/i/sh/nit_t5_18691.gif new file mode 100644 index 0000000..34f4d4b Binary files /dev/null and b/i/sh/nit_t5_18691.gif differ diff --git a/i/sh/nit_t8_18347.gif b/i/sh/nit_t8_18347.gif new file mode 100644 index 0000000..0bd802b Binary files /dev/null and b/i/sh/nit_t8_18347.gif differ diff --git a/i/sh/nit_t8_18348.gif b/i/sh/nit_t8_18348.gif new file mode 100644 index 0000000..291b627 Binary files /dev/null and b/i/sh/nit_t8_18348.gif differ diff --git a/i/sh/nit_t8_18349.gif b/i/sh/nit_t8_18349.gif new file mode 100644 index 0000000..5b7c31c Binary files /dev/null and b/i/sh/nit_t8_18349.gif differ diff --git a/i/sh/nit_t8_18350.gif b/i/sh/nit_t8_18350.gif new file mode 100644 index 0000000..aa3a252 Binary files /dev/null and b/i/sh/nit_t8_18350.gif differ diff --git a/i/sh/nit_t8_18351.gif b/i/sh/nit_t8_18351.gif new file mode 100644 index 0000000..a96d90f Binary files /dev/null and b/i/sh/nit_t8_18351.gif differ diff --git a/i/sh/nit_t8_18352.gif b/i/sh/nit_t8_18352.gif new file mode 100644 index 0000000..6abf393 Binary files /dev/null and b/i/sh/nit_t8_18352.gif differ diff --git a/i/sh/nit_t8_18353.gif b/i/sh/nit_t8_18353.gif new file mode 100644 index 0000000..e6ed727 Binary files /dev/null and b/i/sh/nit_t8_18353.gif differ diff --git a/i/sh/nit_t8_18354.gif b/i/sh/nit_t8_18354.gif new file mode 100644 index 0000000..1940b14 Binary files /dev/null and b/i/sh/nit_t8_18354.gif differ diff --git a/i/sh/nit_t8_18355.gif b/i/sh/nit_t8_18355.gif new file mode 100644 index 0000000..23f69e7 Binary files /dev/null and b/i/sh/nit_t8_18355.gif differ diff --git a/i/sh/nit_t8_18356.gif b/i/sh/nit_t8_18356.gif new file mode 100644 index 0000000..8c5166f Binary files /dev/null and b/i/sh/nit_t8_18356.gif differ diff --git a/i/sh/nit_t8_18357.gif b/i/sh/nit_t8_18357.gif new file mode 100644 index 0000000..06b7590 Binary files /dev/null and b/i/sh/nit_t8_18357.gif differ diff --git a/i/sh/nit_t8_18358.gif b/i/sh/nit_t8_18358.gif new file mode 100644 index 0000000..0ee05c8 Binary files /dev/null and b/i/sh/nit_t8_18358.gif differ diff --git a/i/sh/nit_t8_18359.gif b/i/sh/nit_t8_18359.gif new file mode 100644 index 0000000..da5dd2d Binary files /dev/null and b/i/sh/nit_t8_18359.gif differ diff --git a/i/sh/nit_t8_18360.gif b/i/sh/nit_t8_18360.gif new file mode 100644 index 0000000..532d3ef Binary files /dev/null and b/i/sh/nit_t8_18360.gif differ diff --git a/i/sh/nit_t8_18361.gif b/i/sh/nit_t8_18361.gif new file mode 100644 index 0000000..ffc549c Binary files /dev/null and b/i/sh/nit_t8_18361.gif differ diff --git a/i/sh/nit_t8_18362.gif b/i/sh/nit_t8_18362.gif new file mode 100644 index 0000000..1a330c8 Binary files /dev/null and b/i/sh/nit_t8_18362.gif differ diff --git a/i/sh/nit_t8_18363.gif b/i/sh/nit_t8_18363.gif new file mode 100644 index 0000000..7bb3dd0 Binary files /dev/null and b/i/sh/nit_t8_18363.gif differ diff --git a/i/sh/nit_t8_18364.gif b/i/sh/nit_t8_18364.gif new file mode 100644 index 0000000..6b7bc2e Binary files /dev/null and b/i/sh/nit_t8_18364.gif differ diff --git a/i/sh/nit_t8_18365.gif b/i/sh/nit_t8_18365.gif new file mode 100644 index 0000000..1fdee65 Binary files /dev/null and b/i/sh/nit_t8_18365.gif differ diff --git a/i/sh/nit_t8_18366.gif b/i/sh/nit_t8_18366.gif new file mode 100644 index 0000000..f543fe4 Binary files /dev/null and b/i/sh/nit_t8_18366.gif differ diff --git a/i/sh/nit_t8_18367.gif b/i/sh/nit_t8_18367.gif new file mode 100644 index 0000000..c907e52 Binary files /dev/null and b/i/sh/nit_t8_18367.gif differ diff --git a/i/sh/nit_t8_18368.gif b/i/sh/nit_t8_18368.gif new file mode 100644 index 0000000..8febe8f Binary files /dev/null and b/i/sh/nit_t8_18368.gif differ diff --git a/i/sh/nit_t8_18369.gif b/i/sh/nit_t8_18369.gif new file mode 100644 index 0000000..b177a7c Binary files /dev/null and b/i/sh/nit_t8_18369.gif differ diff --git a/i/sh/nit_t8_18370.gif b/i/sh/nit_t8_18370.gif new file mode 100644 index 0000000..c1d8134 Binary files /dev/null and b/i/sh/nit_t8_18370.gif differ diff --git a/i/sh/nit_t8_18371.gif b/i/sh/nit_t8_18371.gif new file mode 100644 index 0000000..522f693 Binary files /dev/null and b/i/sh/nit_t8_18371.gif differ diff --git a/i/sh/nit_t8_18372.gif b/i/sh/nit_t8_18372.gif new file mode 100644 index 0000000..e396ba5 Binary files /dev/null and b/i/sh/nit_t8_18372.gif differ diff --git a/i/sh/nit_t8_18373.gif b/i/sh/nit_t8_18373.gif new file mode 100644 index 0000000..cc2ab94 Binary files /dev/null and b/i/sh/nit_t8_18373.gif differ diff --git a/i/sh/nit_t8_18374.gif b/i/sh/nit_t8_18374.gif new file mode 100644 index 0000000..f8fa8b1 Binary files /dev/null and b/i/sh/nit_t8_18374.gif differ diff --git a/i/sh/nit_t8_18375.gif b/i/sh/nit_t8_18375.gif new file mode 100644 index 0000000..2e2abb0 Binary files /dev/null and b/i/sh/nit_t8_18375.gif differ diff --git a/i/sh/nit_t8_18376.gif b/i/sh/nit_t8_18376.gif new file mode 100644 index 0000000..ac36ede Binary files /dev/null and b/i/sh/nit_t8_18376.gif differ diff --git a/i/sh/nit_t8_18377.gif b/i/sh/nit_t8_18377.gif new file mode 100644 index 0000000..6ca249b Binary files /dev/null and b/i/sh/nit_t8_18377.gif differ diff --git a/i/sh/nit_t8_18378.gif b/i/sh/nit_t8_18378.gif new file mode 100644 index 0000000..050c9e6 Binary files /dev/null and b/i/sh/nit_t8_18378.gif differ diff --git a/i/sh/nit_t8_18379.gif b/i/sh/nit_t8_18379.gif new file mode 100644 index 0000000..5c94354 Binary files /dev/null and b/i/sh/nit_t8_18379.gif differ diff --git a/i/sh/nit_t8_18380.gif b/i/sh/nit_t8_18380.gif new file mode 100644 index 0000000..bf1e1a2 Binary files /dev/null and b/i/sh/nit_t8_18380.gif differ diff --git a/i/sh/nit_t8_18381.gif b/i/sh/nit_t8_18381.gif new file mode 100644 index 0000000..e8e49ba Binary files /dev/null and b/i/sh/nit_t8_18381.gif differ diff --git a/i/sh/nit_t8_18382.gif b/i/sh/nit_t8_18382.gif new file mode 100644 index 0000000..8bdb8af Binary files /dev/null and b/i/sh/nit_t8_18382.gif differ diff --git a/i/sh/nit_t8_18383.gif b/i/sh/nit_t8_18383.gif new file mode 100644 index 0000000..1a2bc6a Binary files /dev/null and b/i/sh/nit_t8_18383.gif differ diff --git a/i/sh/nit_t8_18384.gif b/i/sh/nit_t8_18384.gif new file mode 100644 index 0000000..2d426fb Binary files /dev/null and b/i/sh/nit_t8_18384.gif differ diff --git a/i/sh/nit_t8_18385.gif b/i/sh/nit_t8_18385.gif new file mode 100644 index 0000000..bdc1183 Binary files /dev/null and b/i/sh/nit_t8_18385.gif differ diff --git a/i/sh/nit_t8_18386.gif b/i/sh/nit_t8_18386.gif new file mode 100644 index 0000000..d01c42e Binary files /dev/null and b/i/sh/nit_t8_18386.gif differ diff --git a/i/sh/nit_t8_18387.gif b/i/sh/nit_t8_18387.gif new file mode 100644 index 0000000..99a7272 Binary files /dev/null and b/i/sh/nit_t8_18387.gif differ diff --git a/i/sh/nit_t8_18388.gif b/i/sh/nit_t8_18388.gif new file mode 100644 index 0000000..c03df2c Binary files /dev/null and b/i/sh/nit_t8_18388.gif differ diff --git a/i/sh/nit_t8_18389.gif b/i/sh/nit_t8_18389.gif new file mode 100644 index 0000000..45f9850 Binary files /dev/null and b/i/sh/nit_t8_18389.gif differ diff --git a/i/sh/nit_t8_18390.gif b/i/sh/nit_t8_18390.gif new file mode 100644 index 0000000..aa628d9 Binary files /dev/null and b/i/sh/nit_t8_18390.gif differ diff --git a/i/sh/nit_t8_18391.gif b/i/sh/nit_t8_18391.gif new file mode 100644 index 0000000..21de21c Binary files /dev/null and b/i/sh/nit_t8_18391.gif differ diff --git a/i/sh/nit_t8_18392.gif b/i/sh/nit_t8_18392.gif new file mode 100644 index 0000000..5c5ee9f Binary files /dev/null and b/i/sh/nit_t8_18392.gif differ diff --git a/i/sh/nit_t8_18393.gif b/i/sh/nit_t8_18393.gif new file mode 100644 index 0000000..6145e2a Binary files /dev/null and b/i/sh/nit_t8_18393.gif differ diff --git a/i/sh/nit_t8_18394.gif b/i/sh/nit_t8_18394.gif new file mode 100644 index 0000000..4d4f664 Binary files /dev/null and b/i/sh/nit_t8_18394.gif differ diff --git a/i/sh/nit_t8_18395.gif b/i/sh/nit_t8_18395.gif new file mode 100644 index 0000000..5733341 Binary files /dev/null and b/i/sh/nit_t8_18395.gif differ diff --git a/i/sh/nit_t8_18396.gif b/i/sh/nit_t8_18396.gif new file mode 100644 index 0000000..b37ce5b Binary files /dev/null and b/i/sh/nit_t8_18396.gif differ diff --git a/i/sh/nit_t8_18397.gif b/i/sh/nit_t8_18397.gif new file mode 100644 index 0000000..450bd7b Binary files /dev/null and b/i/sh/nit_t8_18397.gif differ diff --git a/i/sh/nit_t8_18398.gif b/i/sh/nit_t8_18398.gif new file mode 100644 index 0000000..fcb444f Binary files /dev/null and b/i/sh/nit_t8_18398.gif differ diff --git a/i/sh/nit_t8_18399.gif b/i/sh/nit_t8_18399.gif new file mode 100644 index 0000000..41d5cb5 Binary files /dev/null and b/i/sh/nit_t8_18399.gif differ diff --git a/i/sh/nit_t8_18400.gif b/i/sh/nit_t8_18400.gif new file mode 100644 index 0000000..ab4e032 Binary files /dev/null and b/i/sh/nit_t8_18400.gif differ diff --git a/i/sh/nit_t8_18401.gif b/i/sh/nit_t8_18401.gif new file mode 100644 index 0000000..f167e2f Binary files /dev/null and b/i/sh/nit_t8_18401.gif differ diff --git a/i/sh/nit_t8_18402.gif b/i/sh/nit_t8_18402.gif new file mode 100644 index 0000000..020171f Binary files /dev/null and b/i/sh/nit_t8_18402.gif differ diff --git a/i/sh/nit_t8_18403.gif b/i/sh/nit_t8_18403.gif new file mode 100644 index 0000000..2cdd897 Binary files /dev/null and b/i/sh/nit_t8_18403.gif differ diff --git a/i/sh/nit_t8_18660.gif b/i/sh/nit_t8_18660.gif new file mode 100644 index 0000000..429adb7 Binary files /dev/null and b/i/sh/nit_t8_18660.gif differ diff --git a/i/sh/nit_t8_18661.gif b/i/sh/nit_t8_18661.gif new file mode 100644 index 0000000..c064ecc Binary files /dev/null and b/i/sh/nit_t8_18661.gif differ diff --git a/i/sh/nit_t8_18662.gif b/i/sh/nit_t8_18662.gif new file mode 100644 index 0000000..d4e3f16 Binary files /dev/null and b/i/sh/nit_t8_18662.gif differ diff --git a/i/sh/nit_t8_18663.gif b/i/sh/nit_t8_18663.gif new file mode 100644 index 0000000..d00019c Binary files /dev/null and b/i/sh/nit_t8_18663.gif differ diff --git a/i/sh/nit_t8_18664.gif b/i/sh/nit_t8_18664.gif new file mode 100644 index 0000000..fdd580f Binary files /dev/null and b/i/sh/nit_t8_18664.gif differ diff --git a/i/sh/nit_t8_18665.gif b/i/sh/nit_t8_18665.gif new file mode 100644 index 0000000..4cef667 Binary files /dev/null and b/i/sh/nit_t8_18665.gif differ diff --git a/i/sh/nit_t8_18666.gif b/i/sh/nit_t8_18666.gif new file mode 100644 index 0000000..c2badcf Binary files /dev/null and b/i/sh/nit_t8_18666.gif differ diff --git a/i/sh/nit_t8_18667.gif b/i/sh/nit_t8_18667.gif new file mode 100644 index 0000000..be40ace Binary files /dev/null and b/i/sh/nit_t8_18667.gif differ diff --git a/i/sh/nit_t8_18668.gif b/i/sh/nit_t8_18668.gif new file mode 100644 index 0000000..cf7ba95 Binary files /dev/null and b/i/sh/nit_t8_18668.gif differ diff --git a/i/sh/nit_t8_18669.gif b/i/sh/nit_t8_18669.gif new file mode 100644 index 0000000..337a00e Binary files /dev/null and b/i/sh/nit_t8_18669.gif differ diff --git a/i/sh/nit_t8_18670.gif b/i/sh/nit_t8_18670.gif new file mode 100644 index 0000000..f30c59b Binary files /dev/null and b/i/sh/nit_t8_18670.gif differ diff --git a/i/sh/nit_t8_18671.gif b/i/sh/nit_t8_18671.gif new file mode 100644 index 0000000..4c87225 Binary files /dev/null and b/i/sh/nit_t8_18671.gif differ diff --git a/i/sh/nit_t9_18248.gif b/i/sh/nit_t9_18248.gif new file mode 100644 index 0000000..06680ee Binary files /dev/null and b/i/sh/nit_t9_18248.gif differ diff --git a/i/sh/nit_t9_18249.gif b/i/sh/nit_t9_18249.gif new file mode 100644 index 0000000..dae9cdf Binary files /dev/null and b/i/sh/nit_t9_18249.gif differ diff --git a/i/sh/nit_t9_18250.gif b/i/sh/nit_t9_18250.gif new file mode 100644 index 0000000..5066725 Binary files /dev/null and b/i/sh/nit_t9_18250.gif differ diff --git a/i/sh/nit_t9_18251.gif b/i/sh/nit_t9_18251.gif new file mode 100644 index 0000000..36b1569 Binary files /dev/null and b/i/sh/nit_t9_18251.gif differ diff --git a/i/sh/nit_t9_18252.gif b/i/sh/nit_t9_18252.gif new file mode 100644 index 0000000..dd39b6e Binary files /dev/null and b/i/sh/nit_t9_18252.gif differ diff --git a/i/sh/nit_t9_18253.gif b/i/sh/nit_t9_18253.gif new file mode 100644 index 0000000..2332d9a Binary files /dev/null and b/i/sh/nit_t9_18253.gif differ diff --git a/i/sh/nit_t9_18254.gif b/i/sh/nit_t9_18254.gif new file mode 100644 index 0000000..3bac44e Binary files /dev/null and b/i/sh/nit_t9_18254.gif differ diff --git a/i/sh/nit_t9_18255.gif b/i/sh/nit_t9_18255.gif new file mode 100644 index 0000000..e1225c6 Binary files /dev/null and b/i/sh/nit_t9_18255.gif differ diff --git a/i/sh/nit_t9_18256.gif b/i/sh/nit_t9_18256.gif new file mode 100644 index 0000000..02c9274 Binary files /dev/null and b/i/sh/nit_t9_18256.gif differ diff --git a/i/sh/nit_t9_18257.gif b/i/sh/nit_t9_18257.gif new file mode 100644 index 0000000..a6ccca5 Binary files /dev/null and b/i/sh/nit_t9_18257.gif differ diff --git a/i/sh/nit_t9_18258.gif b/i/sh/nit_t9_18258.gif new file mode 100644 index 0000000..791acd0 Binary files /dev/null and b/i/sh/nit_t9_18258.gif differ diff --git a/i/sh/nit_t9_18259.gif b/i/sh/nit_t9_18259.gif new file mode 100644 index 0000000..9758b62 Binary files /dev/null and b/i/sh/nit_t9_18259.gif differ diff --git a/i/sh/nit_t9_18260.gif b/i/sh/nit_t9_18260.gif new file mode 100644 index 0000000..fb9cea2 Binary files /dev/null and b/i/sh/nit_t9_18260.gif differ diff --git a/i/sh/nit_t9_18261.gif b/i/sh/nit_t9_18261.gif new file mode 100644 index 0000000..2d0b1bf Binary files /dev/null and b/i/sh/nit_t9_18261.gif differ diff --git a/i/sh/nit_t9_18262.gif b/i/sh/nit_t9_18262.gif new file mode 100644 index 0000000..dc5db63 Binary files /dev/null and b/i/sh/nit_t9_18262.gif differ diff --git a/i/sh/nit_t9_18263.gif b/i/sh/nit_t9_18263.gif new file mode 100644 index 0000000..886dc2e Binary files /dev/null and b/i/sh/nit_t9_18263.gif differ diff --git a/i/sh/nit_t9_18264.gif b/i/sh/nit_t9_18264.gif new file mode 100644 index 0000000..18e6772 Binary files /dev/null and b/i/sh/nit_t9_18264.gif differ diff --git a/i/sh/nit_t9_18265.gif b/i/sh/nit_t9_18265.gif new file mode 100644 index 0000000..3f040bc Binary files /dev/null and b/i/sh/nit_t9_18265.gif differ diff --git a/i/sh/nit_t9_18266.gif b/i/sh/nit_t9_18266.gif new file mode 100644 index 0000000..2cf6538 Binary files /dev/null and b/i/sh/nit_t9_18266.gif differ diff --git a/i/sh/nit_t9_18267.gif b/i/sh/nit_t9_18267.gif new file mode 100644 index 0000000..814721f Binary files /dev/null and b/i/sh/nit_t9_18267.gif differ diff --git a/i/sh/nit_t9_18268.gif b/i/sh/nit_t9_18268.gif new file mode 100644 index 0000000..7fc3e90 Binary files /dev/null and b/i/sh/nit_t9_18268.gif differ diff --git a/i/sh/nit_t9_18269.gif b/i/sh/nit_t9_18269.gif new file mode 100644 index 0000000..f5b8837 Binary files /dev/null and b/i/sh/nit_t9_18269.gif differ diff --git a/i/sh/nit_t9_18270.gif b/i/sh/nit_t9_18270.gif new file mode 100644 index 0000000..db2c5f5 Binary files /dev/null and b/i/sh/nit_t9_18270.gif differ diff --git a/i/sh/nit_t9_18271.gif b/i/sh/nit_t9_18271.gif new file mode 100644 index 0000000..7e0608f Binary files /dev/null and b/i/sh/nit_t9_18271.gif differ diff --git a/i/sh/nit_t9_18272.gif b/i/sh/nit_t9_18272.gif new file mode 100644 index 0000000..06dcc19 Binary files /dev/null and b/i/sh/nit_t9_18272.gif differ diff --git a/i/sh/nit_t9_18273.gif b/i/sh/nit_t9_18273.gif new file mode 100644 index 0000000..154640d Binary files /dev/null and b/i/sh/nit_t9_18273.gif differ diff --git a/i/sh/nit_t9_18274.gif b/i/sh/nit_t9_18274.gif new file mode 100644 index 0000000..a06127e Binary files /dev/null and b/i/sh/nit_t9_18274.gif differ diff --git a/i/sh/nit_t9_18275.gif b/i/sh/nit_t9_18275.gif new file mode 100644 index 0000000..3bffb53 Binary files /dev/null and b/i/sh/nit_t9_18275.gif differ diff --git a/i/sh/nit_t9_18276.gif b/i/sh/nit_t9_18276.gif new file mode 100644 index 0000000..a602820 Binary files /dev/null and b/i/sh/nit_t9_18276.gif differ diff --git a/i/sh/nit_t9_18277.gif b/i/sh/nit_t9_18277.gif new file mode 100644 index 0000000..be6519a Binary files /dev/null and b/i/sh/nit_t9_18277.gif differ diff --git a/i/sh/nit_t9_18278.gif b/i/sh/nit_t9_18278.gif new file mode 100644 index 0000000..50ff129 Binary files /dev/null and b/i/sh/nit_t9_18278.gif differ diff --git a/i/sh/nit_t9_18279.gif b/i/sh/nit_t9_18279.gif new file mode 100644 index 0000000..2619e87 Binary files /dev/null and b/i/sh/nit_t9_18279.gif differ diff --git a/i/sh/nit_t9_18280.gif b/i/sh/nit_t9_18280.gif new file mode 100644 index 0000000..181e32c Binary files /dev/null and b/i/sh/nit_t9_18280.gif differ diff --git a/i/sh/nit_t9_18281.gif b/i/sh/nit_t9_18281.gif new file mode 100644 index 0000000..9f7f9a7 Binary files /dev/null and b/i/sh/nit_t9_18281.gif differ diff --git a/i/sh/nit_t9_18282.gif b/i/sh/nit_t9_18282.gif new file mode 100644 index 0000000..63dc132 Binary files /dev/null and b/i/sh/nit_t9_18282.gif differ diff --git a/i/sh/nit_t9_18283.gif b/i/sh/nit_t9_18283.gif new file mode 100644 index 0000000..6459b8c Binary files /dev/null and b/i/sh/nit_t9_18283.gif differ diff --git a/i/sh/nit_t9_18284.gif b/i/sh/nit_t9_18284.gif new file mode 100644 index 0000000..273458a Binary files /dev/null and b/i/sh/nit_t9_18284.gif differ diff --git a/i/sh/nit_t9_18285.gif b/i/sh/nit_t9_18285.gif new file mode 100644 index 0000000..9b2b93f Binary files /dev/null and b/i/sh/nit_t9_18285.gif differ diff --git a/i/sh/nit_t9_18286.gif b/i/sh/nit_t9_18286.gif new file mode 100644 index 0000000..b07543d Binary files /dev/null and b/i/sh/nit_t9_18286.gif differ diff --git a/i/sh/nit_t9_18287.gif b/i/sh/nit_t9_18287.gif new file mode 100644 index 0000000..f29bd40 Binary files /dev/null and b/i/sh/nit_t9_18287.gif differ diff --git a/i/sh/nit_t9_18288.gif b/i/sh/nit_t9_18288.gif new file mode 100644 index 0000000..32ba19e Binary files /dev/null and b/i/sh/nit_t9_18288.gif differ diff --git a/i/sh/nit_t9_18289.gif b/i/sh/nit_t9_18289.gif new file mode 100644 index 0000000..27e71bf Binary files /dev/null and b/i/sh/nit_t9_18289.gif differ diff --git a/i/sh/nit_t9_18290.gif b/i/sh/nit_t9_18290.gif new file mode 100644 index 0000000..4801f71 Binary files /dev/null and b/i/sh/nit_t9_18290.gif differ diff --git a/i/sh/nit_t9_18291.gif b/i/sh/nit_t9_18291.gif new file mode 100644 index 0000000..e88cb26 Binary files /dev/null and b/i/sh/nit_t9_18291.gif differ diff --git a/i/sh/nit_t9_18292.gif b/i/sh/nit_t9_18292.gif new file mode 100644 index 0000000..56c2f7b Binary files /dev/null and b/i/sh/nit_t9_18292.gif differ diff --git a/i/sh/nit_t9_18293.gif b/i/sh/nit_t9_18293.gif new file mode 100644 index 0000000..242a418 Binary files /dev/null and b/i/sh/nit_t9_18293.gif differ diff --git a/i/sh/nit_t9_18294.gif b/i/sh/nit_t9_18294.gif new file mode 100644 index 0000000..12ff8f2 Binary files /dev/null and b/i/sh/nit_t9_18294.gif differ diff --git a/i/sh/nit_t9_18295.gif b/i/sh/nit_t9_18295.gif new file mode 100644 index 0000000..e162101 Binary files /dev/null and b/i/sh/nit_t9_18295.gif differ diff --git a/i/sh/nit_t9_18296.gif b/i/sh/nit_t9_18296.gif new file mode 100644 index 0000000..b0f5390 Binary files /dev/null and b/i/sh/nit_t9_18296.gif differ diff --git a/i/sh/nit_t9_18297.gif b/i/sh/nit_t9_18297.gif new file mode 100644 index 0000000..3b97429 Binary files /dev/null and b/i/sh/nit_t9_18297.gif differ diff --git a/i/sh/nit_t9_18298.gif b/i/sh/nit_t9_18298.gif new file mode 100644 index 0000000..2e91c86 Binary files /dev/null and b/i/sh/nit_t9_18298.gif differ diff --git a/i/sh/nit_t9_18299.gif b/i/sh/nit_t9_18299.gif new file mode 100644 index 0000000..f5c49f1 Binary files /dev/null and b/i/sh/nit_t9_18299.gif differ diff --git a/i/sh/nit_t9_18300.gif b/i/sh/nit_t9_18300.gif new file mode 100644 index 0000000..513376e Binary files /dev/null and b/i/sh/nit_t9_18300.gif differ diff --git a/i/sh/nit_t9_18301.gif b/i/sh/nit_t9_18301.gif new file mode 100644 index 0000000..e0ac0b2 Binary files /dev/null and b/i/sh/nit_t9_18301.gif differ diff --git a/i/sh/nit_t9_18302.gif b/i/sh/nit_t9_18302.gif new file mode 100644 index 0000000..126b7ee Binary files /dev/null and b/i/sh/nit_t9_18302.gif differ diff --git a/i/sh/nit_t9_18303.gif b/i/sh/nit_t9_18303.gif new file mode 100644 index 0000000..4166526 Binary files /dev/null and b/i/sh/nit_t9_18303.gif differ diff --git a/i/sh/nit_t9_18304.gif b/i/sh/nit_t9_18304.gif new file mode 100644 index 0000000..317ad6d Binary files /dev/null and b/i/sh/nit_t9_18304.gif differ diff --git a/i/sh/nit_t9_18305.gif b/i/sh/nit_t9_18305.gif new file mode 100644 index 0000000..62e3c46 Binary files /dev/null and b/i/sh/nit_t9_18305.gif differ diff --git a/i/sh/nit_t9_18306.gif b/i/sh/nit_t9_18306.gif new file mode 100644 index 0000000..cc3cf03 Binary files /dev/null and b/i/sh/nit_t9_18306.gif differ diff --git a/i/sh/nit_t9_18307.gif b/i/sh/nit_t9_18307.gif new file mode 100644 index 0000000..d3ba5e4 Binary files /dev/null and b/i/sh/nit_t9_18307.gif differ diff --git a/i/sh/nit_t9_18308.gif b/i/sh/nit_t9_18308.gif new file mode 100644 index 0000000..dfdf212 Binary files /dev/null and b/i/sh/nit_t9_18308.gif differ diff --git a/i/sh/nit_t9_18309.gif b/i/sh/nit_t9_18309.gif new file mode 100644 index 0000000..d83dedf Binary files /dev/null and b/i/sh/nit_t9_18309.gif differ diff --git a/i/sh/nit_t9_18310.gif b/i/sh/nit_t9_18310.gif new file mode 100644 index 0000000..c131fc8 Binary files /dev/null and b/i/sh/nit_t9_18310.gif differ diff --git a/i/sh/nit_t9_18311.gif b/i/sh/nit_t9_18311.gif new file mode 100644 index 0000000..99dced4 Binary files /dev/null and b/i/sh/nit_t9_18311.gif differ diff --git a/i/sh/nit_t9_18312.gif b/i/sh/nit_t9_18312.gif new file mode 100644 index 0000000..ef533f9 Binary files /dev/null and b/i/sh/nit_t9_18312.gif differ diff --git a/i/sh/nit_t9_18644.gif b/i/sh/nit_t9_18644.gif new file mode 100644 index 0000000..80b6e04 Binary files /dev/null and b/i/sh/nit_t9_18644.gif differ diff --git a/i/sh/nit_t9_18645.gif b/i/sh/nit_t9_18645.gif new file mode 100644 index 0000000..93b0aca Binary files /dev/null and b/i/sh/nit_t9_18645.gif differ diff --git a/i/sh/nit_t9_18646.gif b/i/sh/nit_t9_18646.gif new file mode 100644 index 0000000..503abb5 Binary files /dev/null and b/i/sh/nit_t9_18646.gif differ diff --git a/i/sh/nit_t9_18647.gif b/i/sh/nit_t9_18647.gif new file mode 100644 index 0000000..cf15715 Binary files /dev/null and b/i/sh/nit_t9_18647.gif differ diff --git a/i/sh/nit_t9_18648.gif b/i/sh/nit_t9_18648.gif new file mode 100644 index 0000000..6e7bff3 Binary files /dev/null and b/i/sh/nit_t9_18648.gif differ diff --git a/i/sh/nit_t9_18649.gif b/i/sh/nit_t9_18649.gif new file mode 100644 index 0000000..7458b17 Binary files /dev/null and b/i/sh/nit_t9_18649.gif differ diff --git a/i/sh/nit_t9_18650.gif b/i/sh/nit_t9_18650.gif new file mode 100644 index 0000000..07f972d Binary files /dev/null and b/i/sh/nit_t9_18650.gif differ diff --git a/i/sh/nit_t9_18651.gif b/i/sh/nit_t9_18651.gif new file mode 100644 index 0000000..1daa92d Binary files /dev/null and b/i/sh/nit_t9_18651.gif differ diff --git a/i/sh/nit_t9_18652.gif b/i/sh/nit_t9_18652.gif new file mode 100644 index 0000000..d132e23 Binary files /dev/null and b/i/sh/nit_t9_18652.gif differ diff --git a/i/sh/nit_t9_18653.gif b/i/sh/nit_t9_18653.gif new file mode 100644 index 0000000..122631c Binary files /dev/null and b/i/sh/nit_t9_18653.gif differ diff --git a/i/sh/note.gif b/i/sh/note.gif new file mode 100644 index 0000000..e9af10b Binary files /dev/null and b/i/sh/note.gif differ diff --git a/i/sh/nplayboy.gif b/i/sh/nplayboy.gif new file mode 100644 index 0000000..07a23d1 Binary files /dev/null and b/i/sh/nplayboy.gif differ diff --git a/i/sh/omg.gif b/i/sh/omg.gif new file mode 100644 index 0000000..99f7e7c Binary files /dev/null and b/i/sh/omg.gif differ diff --git a/i/sh/openHeal.gif b/i/sh/openHeal.gif new file mode 100644 index 0000000..e04b820 Binary files /dev/null and b/i/sh/openHeal.gif differ diff --git a/i/sh/openport.gif b/i/sh/openport.gif new file mode 100644 index 0000000..b11f8c0 Binary files /dev/null and b/i/sh/openport.gif differ diff --git a/i/sh/orden1.gif b/i/sh/orden1.gif new file mode 100644 index 0000000..252b02b Binary files /dev/null and b/i/sh/orden1.gif differ diff --git a/i/sh/osinkol.gif b/i/sh/osinkol.gif new file mode 100644 index 0000000..9d74a5b Binary files /dev/null and b/i/sh/osinkol.gif differ diff --git a/i/sh/p_valentine2006_9.gif b/i/sh/p_valentine2006_9.gif new file mode 100644 index 0000000..5fd2767 Binary files /dev/null and b/i/sh/p_valentine2006_9.gif differ diff --git a/i/sh/paek.gif b/i/sh/paek.gif new file mode 100644 index 0000000..0182218 Binary files /dev/null and b/i/sh/paek.gif differ diff --git a/i/sh/pal_buttons.gif b/i/sh/pal_buttons.gif new file mode 100644 index 0000000..6247fbe Binary files /dev/null and b/i/sh/pal_buttons.gif differ diff --git a/i/sh/panbox_off.gif b/i/sh/panbox_off.gif new file mode 100644 index 0000000..498bb1b Binary files /dev/null and b/i/sh/panbox_off.gif differ diff --git a/i/sh/panbox_on.gif b/i/sh/panbox_on.gif new file mode 100644 index 0000000..f27c9e8 Binary files /dev/null and b/i/sh/panbox_on.gif differ diff --git a/i/sh/panczlo.gif b/i/sh/panczlo.gif new file mode 100644 index 0000000..8ead989 Binary files /dev/null and b/i/sh/panczlo.gif differ diff --git a/i/sh/paper100.gif b/i/sh/paper100.gif new file mode 100644 index 0000000..024dbbf Binary files /dev/null and b/i/sh/paper100.gif differ diff --git a/i/sh/pasivnayainta.gif b/i/sh/pasivnayainta.gif new file mode 100644 index 0000000..7be4d53 Binary files /dev/null and b/i/sh/pasivnayainta.gif differ diff --git a/i/sh/pasivnayalovkost.gif b/i/sh/pasivnayalovkost.gif new file mode 100644 index 0000000..ea3f236 Binary files /dev/null and b/i/sh/pasivnayalovkost.gif differ diff --git a/i/sh/patefon.gif b/i/sh/patefon.gif new file mode 100644 index 0000000..746ffa8 Binary files /dev/null and b/i/sh/patefon.gif differ diff --git a/i/sh/perchi_illusion1.gif b/i/sh/perchi_illusion1.gif new file mode 100644 index 0000000..5669826 Binary files /dev/null and b/i/sh/perchi_illusion1.gif differ diff --git a/i/sh/perchi_usilenia.gif b/i/sh/perchi_usilenia.gif new file mode 100644 index 0000000..b4014f2 Binary files /dev/null and b/i/sh/perchi_usilenia.gif differ diff --git a/i/sh/pero.gif b/i/sh/pero.gif new file mode 100644 index 0000000..00bd642 Binary files /dev/null and b/i/sh/pero.gif differ diff --git a/i/sh/pers_Manus.gif b/i/sh/pers_Manus.gif new file mode 100644 index 0000000..9578f3f Binary files /dev/null and b/i/sh/pers_Manus.gif differ diff --git a/i/sh/pers_WhiteFlower.gif b/i/sh/pers_WhiteFlower.gif new file mode 100644 index 0000000..547cfe7 Binary files /dev/null and b/i/sh/pers_WhiteFlower.gif differ diff --git a/i/sh/pers_apmu.gif b/i/sh/pers_apmu.gif new file mode 100644 index 0000000..548eaf2 Binary files /dev/null and b/i/sh/pers_apmu.gif differ diff --git a/i/sh/pers_arch.gif b/i/sh/pers_arch.gif new file mode 100644 index 0000000..5a26733 Binary files /dev/null and b/i/sh/pers_arch.gif differ diff --git a/i/sh/pers_dark_couls.gif b/i/sh/pers_dark_couls.gif new file mode 100644 index 0000000..d92abeb Binary files /dev/null and b/i/sh/pers_dark_couls.gif differ diff --git a/i/sh/pers_hran20.gif b/i/sh/pers_hran20.gif new file mode 100644 index 0000000..ba06c13 Binary files /dev/null and b/i/sh/pers_hran20.gif differ diff --git a/i/sh/pers_musor.gif b/i/sh/pers_musor.gif new file mode 100644 index 0000000..6b20794 Binary files /dev/null and b/i/sh/pers_musor.gif differ diff --git a/i/sh/pers_sten.gif b/i/sh/pers_sten.gif new file mode 100644 index 0000000..47c33f1 Binary files /dev/null and b/i/sh/pers_sten.gif differ diff --git a/i/sh/pers_ynekro.gif b/i/sh/pers_ynekro.gif new file mode 100644 index 0000000..268820c Binary files /dev/null and b/i/sh/pers_ynekro.gif differ diff --git a/i/sh/pobeda1.gif b/i/sh/pobeda1.gif new file mode 100644 index 0000000..e7a9b8a Binary files /dev/null and b/i/sh/pobeda1.gif differ diff --git a/i/sh/podarokNY.gif b/i/sh/podarokNY.gif new file mode 100644 index 0000000..79a0141 Binary files /dev/null and b/i/sh/podarokNY.gif differ diff --git a/i/sh/podarokNY_chb.gif b/i/sh/podarokNY_chb.gif new file mode 100644 index 0000000..9e3279d Binary files /dev/null and b/i/sh/podarokNY_chb.gif differ diff --git a/i/sh/podarokNY_magenta.gif b/i/sh/podarokNY_magenta.gif new file mode 100644 index 0000000..8a27cf9 Binary files /dev/null and b/i/sh/podarokNY_magenta.gif differ diff --git a/i/sh/podkova.gif b/i/sh/podkova.gif new file mode 100644 index 0000000..67c2f43 Binary files /dev/null and b/i/sh/podkova.gif differ diff --git a/i/sh/podsenzbuket.gif b/i/sh/podsenzbuket.gif new file mode 100644 index 0000000..ecf2490 Binary files /dev/null and b/i/sh/podsenzbuket.gif differ diff --git a/i/sh/podsnegkorz.gif b/i/sh/podsnegkorz.gif new file mode 100644 index 0000000..fbb5cc1 Binary files /dev/null and b/i/sh/podsnegkorz.gif differ diff --git a/i/sh/poison_e.gif b/i/sh/poison_e.gif new file mode 100644 index 0000000..d8bfebb Binary files /dev/null and b/i/sh/poison_e.gif differ diff --git a/i/sh/polg-pollitra.gif b/i/sh/polg-pollitra.gif new file mode 100644 index 0000000..015981e Binary files /dev/null and b/i/sh/polg-pollitra.gif differ diff --git a/i/sh/postcard.gif b/i/sh/postcard.gif new file mode 100644 index 0000000..881d86f Binary files /dev/null and b/i/sh/postcard.gif differ diff --git a/i/sh/pot_base_0_2007_1.gif b/i/sh/pot_base_0_2007_1.gif new file mode 100644 index 0000000..deb957b Binary files /dev/null and b/i/sh/pot_base_0_2007_1.gif differ diff --git a/i/sh/pot_base_0_2007_2.gif b/i/sh/pot_base_0_2007_2.gif new file mode 100644 index 0000000..bd6c2e9 Binary files /dev/null and b/i/sh/pot_base_0_2007_2.gif differ diff --git a/i/sh/pot_base_0_2007_4.gif b/i/sh/pot_base_0_2007_4.gif new file mode 100644 index 0000000..4447849 Binary files /dev/null and b/i/sh/pot_base_0_2007_4.gif differ diff --git a/i/sh/pot_base_0_2007_5.gif b/i/sh/pot_base_0_2007_5.gif new file mode 100644 index 0000000..09fbdba Binary files /dev/null and b/i/sh/pot_base_0_2007_5.gif differ diff --git a/i/sh/pot_base_0_2007_6.gif b/i/sh/pot_base_0_2007_6.gif new file mode 100644 index 0000000..8937d2d Binary files /dev/null and b/i/sh/pot_base_0_2007_6.gif differ diff --git a/i/sh/pot_base_0_2007_7.gif b/i/sh/pot_base_0_2007_7.gif new file mode 100644 index 0000000..08f3b6b Binary files /dev/null and b/i/sh/pot_base_0_2007_7.gif differ diff --git a/i/sh/pot_base_0_2007_8.gif b/i/sh/pot_base_0_2007_8.gif new file mode 100644 index 0000000..f74785b Binary files /dev/null and b/i/sh/pot_base_0_2007_8.gif differ diff --git a/i/sh/pot_base_0_8m1.gif b/i/sh/pot_base_0_8m1.gif new file mode 100644 index 0000000..7499397 Binary files /dev/null and b/i/sh/pot_base_0_8m1.gif differ diff --git a/i/sh/pot_base_0_8m2.gif b/i/sh/pot_base_0_8m2.gif new file mode 100644 index 0000000..67878a7 Binary files /dev/null and b/i/sh/pot_base_0_8m2.gif differ diff --git a/i/sh/pot_base_0_ny1.gif b/i/sh/pot_base_0_ny1.gif new file mode 100644 index 0000000..0a30176 Binary files /dev/null and b/i/sh/pot_base_0_ny1.gif differ diff --git a/i/sh/pot_base_0_ny_ele.gif b/i/sh/pot_base_0_ny_ele.gif new file mode 100644 index 0000000..6031cdd Binary files /dev/null and b/i/sh/pot_base_0_ny_ele.gif differ diff --git a/i/sh/pot_base_0_ny_ele2.gif b/i/sh/pot_base_0_ny_ele2.gif new file mode 100644 index 0000000..7df80d5 Binary files /dev/null and b/i/sh/pot_base_0_ny_ele2.gif differ diff --git a/i/sh/pot_base_0_ny_ele2[1].gif b/i/sh/pot_base_0_ny_ele2[1].gif new file mode 100644 index 0000000..7df80d5 Binary files /dev/null and b/i/sh/pot_base_0_ny_ele2[1].gif differ diff --git a/i/sh/pot_base_0_ny_ele3.gif b/i/sh/pot_base_0_ny_ele3.gif new file mode 100644 index 0000000..d96f3a2 Binary files /dev/null and b/i/sh/pot_base_0_ny_ele3.gif differ diff --git a/i/sh/pot_base_0_ny_ele3[1].gif b/i/sh/pot_base_0_ny_ele3[1].gif new file mode 100644 index 0000000..d96f3a2 Binary files /dev/null and b/i/sh/pot_base_0_ny_ele3[1].gif differ diff --git a/i/sh/pot_base_0_ny_ele4.gif b/i/sh/pot_base_0_ny_ele4.gif new file mode 100644 index 0000000..7226dea Binary files /dev/null and b/i/sh/pot_base_0_ny_ele4.gif differ diff --git a/i/sh/pozdr.gif b/i/sh/pozdr.gif new file mode 100644 index 0000000..1663485 Binary files /dev/null and b/i/sh/pozdr.gif differ diff --git a/i/sh/pozdr1.gif b/i/sh/pozdr1.gif new file mode 100644 index 0000000..0d6e202 Binary files /dev/null and b/i/sh/pozdr1.gif differ diff --git a/i/sh/pozdr3.gif b/i/sh/pozdr3.gif new file mode 100644 index 0000000..7e49562 Binary files /dev/null and b/i/sh/pozdr3.gif differ diff --git a/i/sh/pr1.gif b/i/sh/pr1.gif new file mode 100644 index 0000000..f70ac8b Binary files /dev/null and b/i/sh/pr1.gif differ diff --git a/i/sh/pr10.gif b/i/sh/pr10.gif new file mode 100644 index 0000000..1ea050a Binary files /dev/null and b/i/sh/pr10.gif differ diff --git a/i/sh/pr2.gif b/i/sh/pr2.gif new file mode 100644 index 0000000..b6e62a9 Binary files /dev/null and b/i/sh/pr2.gif differ diff --git a/i/sh/pr3.gif b/i/sh/pr3.gif new file mode 100644 index 0000000..7dc19ca Binary files /dev/null and b/i/sh/pr3.gif differ diff --git a/i/sh/pr4.gif b/i/sh/pr4.gif new file mode 100644 index 0000000..0cad545 Binary files /dev/null and b/i/sh/pr4.gif differ diff --git a/i/sh/pr5.gif b/i/sh/pr5.gif new file mode 100644 index 0000000..d60887b Binary files /dev/null and b/i/sh/pr5.gif differ diff --git a/i/sh/pr6.gif b/i/sh/pr6.gif new file mode 100644 index 0000000..ad96ef3 Binary files /dev/null and b/i/sh/pr6.gif differ diff --git a/i/sh/pr7.gif b/i/sh/pr7.gif new file mode 100644 index 0000000..5847675 Binary files /dev/null and b/i/sh/pr7.gif differ diff --git a/i/sh/pr8.gif b/i/sh/pr8.gif new file mode 100644 index 0000000..7dceb20 Binary files /dev/null and b/i/sh/pr8.gif differ diff --git a/i/sh/pr9.gif b/i/sh/pr9.gif new file mode 100644 index 0000000..7f7b8bf Binary files /dev/null and b/i/sh/pr9.gif differ diff --git a/i/sh/push.gif b/i/sh/push.gif new file mode 100644 index 0000000..3ec1e44 Binary files /dev/null and b/i/sh/push.gif differ diff --git a/i/sh/raraxe.gif b/i/sh/raraxe.gif new file mode 100644 index 0000000..a377815 Binary files /dev/null and b/i/sh/raraxe.gif differ diff --git a/i/sh/raraxe3.gif b/i/sh/raraxe3.gif new file mode 100644 index 0000000..101eeea Binary files /dev/null and b/i/sh/raraxe3.gif differ diff --git a/i/sh/rarhammer.gif b/i/sh/rarhammer.gif new file mode 100644 index 0000000..701e199 Binary files /dev/null and b/i/sh/rarhammer.gif differ diff --git a/i/sh/rarhammer3.gif b/i/sh/rarhammer3.gif new file mode 100644 index 0000000..453f3e7 Binary files /dev/null and b/i/sh/rarhammer3.gif differ diff --git a/i/sh/rarknife.gif b/i/sh/rarknife.gif new file mode 100644 index 0000000..9f63491 Binary files /dev/null and b/i/sh/rarknife.gif differ diff --git a/i/sh/rarknife2.gif b/i/sh/rarknife2.gif new file mode 100644 index 0000000..b4c31f0 Binary files /dev/null and b/i/sh/rarknife2.gif differ diff --git a/i/sh/rarknife3.gif b/i/sh/rarknife3.gif new file mode 100644 index 0000000..44e7f4e Binary files /dev/null and b/i/sh/rarknife3.gif differ diff --git a/i/sh/rarnaruchi84_1.gif b/i/sh/rarnaruchi84_1.gif new file mode 100644 index 0000000..059edb7 Binary files /dev/null and b/i/sh/rarnaruchi84_1.gif differ diff --git a/i/sh/rarsword.gif b/i/sh/rarsword.gif new file mode 100644 index 0000000..8a99745 Binary files /dev/null and b/i/sh/rarsword.gif differ diff --git a/i/sh/rarsword3.gif b/i/sh/rarsword3.gif new file mode 100644 index 0000000..a72ef62 Binary files /dev/null and b/i/sh/rarsword3.gif differ diff --git a/i/sh/rarwhelmet2.gif b/i/sh/rarwhelmet2.gif new file mode 100644 index 0000000..f878881 Binary files /dev/null and b/i/sh/rarwhelmet2.gif differ diff --git a/i/sh/realflower1.gif b/i/sh/realflower1.gif new file mode 100644 index 0000000..898834e Binary files /dev/null and b/i/sh/realflower1.gif differ diff --git a/i/sh/realflower10.gif b/i/sh/realflower10.gif new file mode 100644 index 0000000..d7591d9 Binary files /dev/null and b/i/sh/realflower10.gif differ diff --git a/i/sh/realflower11.gif b/i/sh/realflower11.gif new file mode 100644 index 0000000..1c63217 Binary files /dev/null and b/i/sh/realflower11.gif differ diff --git a/i/sh/realflower12.gif b/i/sh/realflower12.gif new file mode 100644 index 0000000..4d97db1 Binary files /dev/null and b/i/sh/realflower12.gif differ diff --git a/i/sh/realflower13.gif b/i/sh/realflower13.gif new file mode 100644 index 0000000..e2bc28b Binary files /dev/null and b/i/sh/realflower13.gif differ diff --git a/i/sh/realflower14.gif b/i/sh/realflower14.gif new file mode 100644 index 0000000..0241d48 Binary files /dev/null and b/i/sh/realflower14.gif differ diff --git a/i/sh/realflower15.gif b/i/sh/realflower15.gif new file mode 100644 index 0000000..e918e14 Binary files /dev/null and b/i/sh/realflower15.gif differ diff --git a/i/sh/realflower16.gif b/i/sh/realflower16.gif new file mode 100644 index 0000000..d552d31 Binary files /dev/null and b/i/sh/realflower16.gif differ diff --git a/i/sh/realflower17.gif b/i/sh/realflower17.gif new file mode 100644 index 0000000..4879a9f Binary files /dev/null and b/i/sh/realflower17.gif differ diff --git a/i/sh/realflower18.gif b/i/sh/realflower18.gif new file mode 100644 index 0000000..9ae1ba4 Binary files /dev/null and b/i/sh/realflower18.gif differ diff --git a/i/sh/realflower2.gif b/i/sh/realflower2.gif new file mode 100644 index 0000000..0150b19 Binary files /dev/null and b/i/sh/realflower2.gif differ diff --git a/i/sh/realflower3.gif b/i/sh/realflower3.gif new file mode 100644 index 0000000..5d01d72 Binary files /dev/null and b/i/sh/realflower3.gif differ diff --git a/i/sh/realflower4.gif b/i/sh/realflower4.gif new file mode 100644 index 0000000..2515356 Binary files /dev/null and b/i/sh/realflower4.gif differ diff --git a/i/sh/realflower5.gif b/i/sh/realflower5.gif new file mode 100644 index 0000000..5b21cad Binary files /dev/null and b/i/sh/realflower5.gif differ diff --git a/i/sh/realflower6.gif b/i/sh/realflower6.gif new file mode 100644 index 0000000..5b9cccd Binary files /dev/null and b/i/sh/realflower6.gif differ diff --git a/i/sh/realflower7.gif b/i/sh/realflower7.gif new file mode 100644 index 0000000..0586052 Binary files /dev/null and b/i/sh/realflower7.gif differ diff --git a/i/sh/realflower8.gif b/i/sh/realflower8.gif new file mode 100644 index 0000000..6786f2a Binary files /dev/null and b/i/sh/realflower8.gif differ diff --git a/i/sh/realflower9.gif b/i/sh/realflower9.gif new file mode 100644 index 0000000..f75679b Binary files /dev/null and b/i/sh/realflower9.gif differ diff --git a/i/sh/reanimationD.gif b/i/sh/reanimationD.gif new file mode 100644 index 0000000..6be3a6d Binary files /dev/null and b/i/sh/reanimationD.gif differ diff --git a/i/sh/reddragon.gif b/i/sh/reddragon.gif new file mode 100644 index 0000000..c6f9954 Binary files /dev/null and b/i/sh/reddragon.gif differ diff --git a/i/sh/rep.gif b/i/sh/rep.gif new file mode 100644 index 0000000..ba7f379 Binary files /dev/null and b/i/sh/rep.gif differ diff --git a/i/sh/ring1.gif b/i/sh/ring1.gif new file mode 100644 index 0000000..2a463ba Binary files /dev/null and b/i/sh/ring1.gif differ diff --git a/i/sh/ring101.gif b/i/sh/ring101.gif new file mode 100644 index 0000000..c31ad53 Binary files /dev/null and b/i/sh/ring101.gif differ diff --git a/i/sh/ring102.gif b/i/sh/ring102.gif new file mode 100644 index 0000000..1b71a39 Binary files /dev/null and b/i/sh/ring102.gif differ diff --git a/i/sh/ring109.gif b/i/sh/ring109.gif new file mode 100644 index 0000000..d8ce984 Binary files /dev/null and b/i/sh/ring109.gif differ diff --git a/i/sh/ring110.gif b/i/sh/ring110.gif new file mode 100644 index 0000000..a6ed1a5 Binary files /dev/null and b/i/sh/ring110.gif differ diff --git a/i/sh/ring111.gif b/i/sh/ring111.gif new file mode 100644 index 0000000..dc60bae Binary files /dev/null and b/i/sh/ring111.gif differ diff --git a/i/sh/ring1112.gif b/i/sh/ring1112.gif new file mode 100644 index 0000000..15d4928 Binary files /dev/null and b/i/sh/ring1112.gif differ diff --git a/i/sh/ring1113.gif b/i/sh/ring1113.gif new file mode 100644 index 0000000..103e8aa Binary files /dev/null and b/i/sh/ring1113.gif differ diff --git a/i/sh/ring112.gif b/i/sh/ring112.gif new file mode 100644 index 0000000..f204f93 Binary files /dev/null and b/i/sh/ring112.gif differ diff --git a/i/sh/ring113.gif b/i/sh/ring113.gif new file mode 100644 index 0000000..6233190 Binary files /dev/null and b/i/sh/ring113.gif differ diff --git a/i/sh/ring114.gif b/i/sh/ring114.gif new file mode 100644 index 0000000..527b027 Binary files /dev/null and b/i/sh/ring114.gif differ diff --git a/i/sh/ring116.gif b/i/sh/ring116.gif new file mode 100644 index 0000000..a44acaf Binary files /dev/null and b/i/sh/ring116.gif differ diff --git a/i/sh/ring117.gif b/i/sh/ring117.gif new file mode 100644 index 0000000..3e07aa2 Binary files /dev/null and b/i/sh/ring117.gif differ diff --git a/i/sh/ring119_du2.gif b/i/sh/ring119_du2.gif new file mode 100644 index 0000000..c8432c9 Binary files /dev/null and b/i/sh/ring119_du2.gif differ diff --git a/i/sh/ring121.gif b/i/sh/ring121.gif new file mode 100644 index 0000000..6d430ee Binary files /dev/null and b/i/sh/ring121.gif differ diff --git a/i/sh/ring1211.gif b/i/sh/ring1211.gif new file mode 100644 index 0000000..2ede164 Binary files /dev/null and b/i/sh/ring1211.gif differ diff --git a/i/sh/ring126.gif b/i/sh/ring126.gif new file mode 100644 index 0000000..32079dd Binary files /dev/null and b/i/sh/ring126.gif differ diff --git a/i/sh/ring1265.gif b/i/sh/ring1265.gif new file mode 100644 index 0000000..12f1962 Binary files /dev/null and b/i/sh/ring1265.gif differ diff --git a/i/sh/ring128.gif b/i/sh/ring128.gif new file mode 100644 index 0000000..a435252 Binary files /dev/null and b/i/sh/ring128.gif differ diff --git a/i/sh/ring129.gif b/i/sh/ring129.gif new file mode 100644 index 0000000..cb6715e Binary files /dev/null and b/i/sh/ring129.gif differ diff --git a/i/sh/ring2.gif b/i/sh/ring2.gif new file mode 100644 index 0000000..827ea4b Binary files /dev/null and b/i/sh/ring2.gif differ diff --git a/i/sh/ring20.gif b/i/sh/ring20.gif new file mode 100644 index 0000000..7121e20 Binary files /dev/null and b/i/sh/ring20.gif differ diff --git a/i/sh/ring2008.gif b/i/sh/ring2008.gif new file mode 100644 index 0000000..2d12ec7 Binary files /dev/null and b/i/sh/ring2008.gif differ diff --git a/i/sh/ring204.gif b/i/sh/ring204.gif new file mode 100644 index 0000000..e1d0c71 Binary files /dev/null and b/i/sh/ring204.gif differ diff --git a/i/sh/ring204u.gif b/i/sh/ring204u.gif new file mode 100644 index 0000000..2398bab Binary files /dev/null and b/i/sh/ring204u.gif differ diff --git a/i/sh/ring206.gif b/i/sh/ring206.gif new file mode 100644 index 0000000..1ab0891 Binary files /dev/null and b/i/sh/ring206.gif differ diff --git a/i/sh/ring206u.gif b/i/sh/ring206u.gif new file mode 100644 index 0000000..d70823c Binary files /dev/null and b/i/sh/ring206u.gif differ diff --git a/i/sh/ring208.gif b/i/sh/ring208.gif new file mode 100644 index 0000000..af3c713 Binary files /dev/null and b/i/sh/ring208.gif differ diff --git a/i/sh/ring208u.gif b/i/sh/ring208u.gif new file mode 100644 index 0000000..e78bee9 Binary files /dev/null and b/i/sh/ring208u.gif differ diff --git a/i/sh/ring209.gif b/i/sh/ring209.gif new file mode 100644 index 0000000..7e8ba91 Binary files /dev/null and b/i/sh/ring209.gif differ diff --git a/i/sh/ring209u.gif b/i/sh/ring209u.gif new file mode 100644 index 0000000..7d3a362 Binary files /dev/null and b/i/sh/ring209u.gif differ diff --git a/i/sh/ring21.gif b/i/sh/ring21.gif new file mode 100644 index 0000000..750650f Binary files /dev/null and b/i/sh/ring21.gif differ diff --git a/i/sh/ring23.gif b/i/sh/ring23.gif new file mode 100644 index 0000000..707ca56 Binary files /dev/null and b/i/sh/ring23.gif differ diff --git a/i/sh/ring24.gif b/i/sh/ring24.gif new file mode 100644 index 0000000..0a19d53 Binary files /dev/null and b/i/sh/ring24.gif differ diff --git a/i/sh/ring25.gif b/i/sh/ring25.gif new file mode 100644 index 0000000..760b967 Binary files /dev/null and b/i/sh/ring25.gif differ diff --git a/i/sh/ring3.gif b/i/sh/ring3.gif new file mode 100644 index 0000000..2af0ec3 Binary files /dev/null and b/i/sh/ring3.gif differ diff --git a/i/sh/ring3864.gif b/i/sh/ring3864.gif new file mode 100644 index 0000000..c453699 Binary files /dev/null and b/i/sh/ring3864.gif differ diff --git a/i/sh/ring4.gif b/i/sh/ring4.gif new file mode 100644 index 0000000..7047c9e Binary files /dev/null and b/i/sh/ring4.gif differ diff --git a/i/sh/ring5.gif b/i/sh/ring5.gif new file mode 100644 index 0000000..177a9b3 Binary files /dev/null and b/i/sh/ring5.gif differ diff --git a/i/sh/ring51.gif b/i/sh/ring51.gif new file mode 100644 index 0000000..a51b114 Binary files /dev/null and b/i/sh/ring51.gif differ diff --git a/i/sh/ring6.gif b/i/sh/ring6.gif new file mode 100644 index 0000000..f7df6b3 Binary files /dev/null and b/i/sh/ring6.gif differ diff --git a/i/sh/ring61.gif b/i/sh/ring61.gif new file mode 100644 index 0000000..58fead3 Binary files /dev/null and b/i/sh/ring61.gif differ diff --git a/i/sh/ring62.gif b/i/sh/ring62.gif new file mode 100644 index 0000000..9645a9d Binary files /dev/null and b/i/sh/ring62.gif differ diff --git a/i/sh/ring63.gif b/i/sh/ring63.gif new file mode 100644 index 0000000..a735c40 Binary files /dev/null and b/i/sh/ring63.gif differ diff --git a/i/sh/ring64.gif b/i/sh/ring64.gif new file mode 100644 index 0000000..f172f14 Binary files /dev/null and b/i/sh/ring64.gif differ diff --git a/i/sh/ring65.gif b/i/sh/ring65.gif new file mode 100644 index 0000000..5ac8a5f Binary files /dev/null and b/i/sh/ring65.gif differ diff --git a/i/sh/ring67.gif b/i/sh/ring67.gif new file mode 100644 index 0000000..0b7f71c Binary files /dev/null and b/i/sh/ring67.gif differ diff --git a/i/sh/ring7.gif b/i/sh/ring7.gif new file mode 100644 index 0000000..5906aad Binary files /dev/null and b/i/sh/ring7.gif differ diff --git a/i/sh/ring71.gif b/i/sh/ring71.gif new file mode 100644 index 0000000..66a95a3 Binary files /dev/null and b/i/sh/ring71.gif differ diff --git a/i/sh/ring72.gif b/i/sh/ring72.gif new file mode 100644 index 0000000..85c4643 Binary files /dev/null and b/i/sh/ring72.gif differ diff --git a/i/sh/ring73.gif b/i/sh/ring73.gif new file mode 100644 index 0000000..1dd0de3 Binary files /dev/null and b/i/sh/ring73.gif differ diff --git a/i/sh/ring74.gif b/i/sh/ring74.gif new file mode 100644 index 0000000..ec4eec1 Binary files /dev/null and b/i/sh/ring74.gif differ diff --git a/i/sh/ring75.gif b/i/sh/ring75.gif new file mode 100644 index 0000000..03c6040 Binary files /dev/null and b/i/sh/ring75.gif differ diff --git a/i/sh/ring76.gif b/i/sh/ring76.gif new file mode 100644 index 0000000..b4b4573 Binary files /dev/null and b/i/sh/ring76.gif differ diff --git a/i/sh/ring80.gif b/i/sh/ring80.gif new file mode 100644 index 0000000..bcbb28c Binary files /dev/null and b/i/sh/ring80.gif differ diff --git a/i/sh/ring81.gif b/i/sh/ring81.gif new file mode 100644 index 0000000..846424c Binary files /dev/null and b/i/sh/ring81.gif differ diff --git a/i/sh/ring82.gif b/i/sh/ring82.gif new file mode 100644 index 0000000..49f8cc9 Binary files /dev/null and b/i/sh/ring82.gif differ diff --git a/i/sh/ring83.gif b/i/sh/ring83.gif new file mode 100644 index 0000000..a267465 Binary files /dev/null and b/i/sh/ring83.gif differ diff --git a/i/sh/ring84.gif b/i/sh/ring84.gif new file mode 100644 index 0000000..72fee70 Binary files /dev/null and b/i/sh/ring84.gif differ diff --git a/i/sh/ring85.gif b/i/sh/ring85.gif new file mode 100644 index 0000000..49b6f62 Binary files /dev/null and b/i/sh/ring85.gif differ diff --git a/i/sh/ring86.gif b/i/sh/ring86.gif new file mode 100644 index 0000000..969a31e Binary files /dev/null and b/i/sh/ring86.gif differ diff --git a/i/sh/ring87.gif b/i/sh/ring87.gif new file mode 100644 index 0000000..03ebe0a Binary files /dev/null and b/i/sh/ring87.gif differ diff --git a/i/sh/ring88.gif b/i/sh/ring88.gif new file mode 100644 index 0000000..eff47ea Binary files /dev/null and b/i/sh/ring88.gif differ diff --git a/i/sh/ring90.gif b/i/sh/ring90.gif new file mode 100644 index 0000000..1a90002 Binary files /dev/null and b/i/sh/ring90.gif differ diff --git a/i/sh/ring901.gif b/i/sh/ring901.gif new file mode 100644 index 0000000..cf24037 Binary files /dev/null and b/i/sh/ring901.gif differ diff --git a/i/sh/ring91.gif b/i/sh/ring91.gif new file mode 100644 index 0000000..3fe6d4c Binary files /dev/null and b/i/sh/ring91.gif differ diff --git a/i/sh/ring92.gif b/i/sh/ring92.gif new file mode 100644 index 0000000..bde9d1a Binary files /dev/null and b/i/sh/ring92.gif differ diff --git a/i/sh/ring93.gif b/i/sh/ring93.gif new file mode 100644 index 0000000..5cae1c1 Binary files /dev/null and b/i/sh/ring93.gif differ diff --git a/i/sh/ring94.gif b/i/sh/ring94.gif new file mode 100644 index 0000000..948fe27 Binary files /dev/null and b/i/sh/ring94.gif differ diff --git a/i/sh/ring95.gif b/i/sh/ring95.gif new file mode 100644 index 0000000..8d474ec Binary files /dev/null and b/i/sh/ring95.gif differ diff --git a/i/sh/ring96.gif b/i/sh/ring96.gif new file mode 100644 index 0000000..0c6aa53 Binary files /dev/null and b/i/sh/ring96.gif differ diff --git a/i/sh/ring97.gif b/i/sh/ring97.gif new file mode 100644 index 0000000..8004e57 Binary files /dev/null and b/i/sh/ring97.gif differ diff --git a/i/sh/ring_illusion1.gif b/i/sh/ring_illusion1.gif new file mode 100644 index 0000000..a1de20b Binary files /dev/null and b/i/sh/ring_illusion1.gif differ diff --git a/i/sh/ringa11.gif b/i/sh/ringa11.gif new file mode 100644 index 0000000..7cade1c Binary files /dev/null and b/i/sh/ringa11.gif differ diff --git a/i/sh/roba1.gif b/i/sh/roba1.gif new file mode 100644 index 0000000..0c1eb63 Binary files /dev/null and b/i/sh/roba1.gif differ diff --git a/i/sh/roba10.gif b/i/sh/roba10.gif new file mode 100644 index 0000000..4269d0d Binary files /dev/null and b/i/sh/roba10.gif differ diff --git a/i/sh/roba11.gif b/i/sh/roba11.gif new file mode 100644 index 0000000..ce620ee Binary files /dev/null and b/i/sh/roba11.gif differ diff --git a/i/sh/roba17.gif b/i/sh/roba17.gif new file mode 100644 index 0000000..5fba0e2 Binary files /dev/null and b/i/sh/roba17.gif differ diff --git a/i/sh/roba2.gif b/i/sh/roba2.gif new file mode 100644 index 0000000..e1c390a Binary files /dev/null and b/i/sh/roba2.gif differ diff --git a/i/sh/roba20.gif b/i/sh/roba20.gif new file mode 100644 index 0000000..b247168 Binary files /dev/null and b/i/sh/roba20.gif differ diff --git a/i/sh/roba202.gif b/i/sh/roba202.gif new file mode 100644 index 0000000..1701c30 Binary files /dev/null and b/i/sh/roba202.gif differ diff --git a/i/sh/roba203.gif b/i/sh/roba203.gif new file mode 100644 index 0000000..d55f33b Binary files /dev/null and b/i/sh/roba203.gif differ diff --git a/i/sh/roba204.gif b/i/sh/roba204.gif new file mode 100644 index 0000000..b03483f Binary files /dev/null and b/i/sh/roba204.gif differ diff --git a/i/sh/roba205.gif b/i/sh/roba205.gif new file mode 100644 index 0000000..a4ec447 Binary files /dev/null and b/i/sh/roba205.gif differ diff --git a/i/sh/roba21.gif b/i/sh/roba21.gif new file mode 100644 index 0000000..727ff1b Binary files /dev/null and b/i/sh/roba21.gif differ diff --git a/i/sh/roba3.gif b/i/sh/roba3.gif new file mode 100644 index 0000000..069070e Binary files /dev/null and b/i/sh/roba3.gif differ diff --git a/i/sh/roba4.gif b/i/sh/roba4.gif new file mode 100644 index 0000000..54a8fd2 Binary files /dev/null and b/i/sh/roba4.gif differ diff --git a/i/sh/roba5.gif b/i/sh/roba5.gif new file mode 100644 index 0000000..3a426a3 Binary files /dev/null and b/i/sh/roba5.gif differ diff --git a/i/sh/roba51.gif b/i/sh/roba51.gif new file mode 100644 index 0000000..60b4a6a Binary files /dev/null and b/i/sh/roba51.gif differ diff --git a/i/sh/roba53.gif b/i/sh/roba53.gif new file mode 100644 index 0000000..a49b80c Binary files /dev/null and b/i/sh/roba53.gif differ diff --git a/i/sh/roba6.gif b/i/sh/roba6.gif new file mode 100644 index 0000000..652a150 Binary files /dev/null and b/i/sh/roba6.gif differ diff --git a/i/sh/roba7.gif b/i/sh/roba7.gif new file mode 100644 index 0000000..8cc0da0 Binary files /dev/null and b/i/sh/roba7.gif differ diff --git a/i/sh/roba8.gif b/i/sh/roba8.gif new file mode 100644 index 0000000..04cc464 Binary files /dev/null and b/i/sh/roba8.gif differ diff --git a/i/sh/roba9.gif b/i/sh/roba9.gif new file mode 100644 index 0000000..4b2dfc8 Binary files /dev/null and b/i/sh/roba9.gif differ diff --git a/i/sh/roba_s1.gif b/i/sh/roba_s1.gif new file mode 100644 index 0000000..f0f4593 Binary files /dev/null and b/i/sh/roba_s1.gif differ diff --git a/i/sh/roba_s2.gif b/i/sh/roba_s2.gif new file mode 100644 index 0000000..8633e95 Binary files /dev/null and b/i/sh/roba_s2.gif differ diff --git a/i/sh/roba_s3.gif b/i/sh/roba_s3.gif new file mode 100644 index 0000000..2ec9ad7 Binary files /dev/null and b/i/sh/roba_s3.gif differ diff --git a/i/sh/robe_illusion1.gif b/i/sh/robe_illusion1.gif new file mode 100644 index 0000000..ad14c93 Binary files /dev/null and b/i/sh/robe_illusion1.gif differ diff --git a/i/sh/rom.gif b/i/sh/rom.gif new file mode 100644 index 0000000..c0ae549 Binary files /dev/null and b/i/sh/rom.gif differ diff --git a/i/sh/rosebuketnevesta.gif b/i/sh/rosebuketnevesta.gif new file mode 100644 index 0000000..d2d8c13 Binary files /dev/null and b/i/sh/rosebuketnevesta.gif differ diff --git a/i/sh/rost.gif b/i/sh/rost.gif new file mode 100644 index 0000000..52a30df Binary files /dev/null and b/i/sh/rost.gif differ diff --git a/i/sh/rosy_21.gif b/i/sh/rosy_21.gif new file mode 100644 index 0000000..8c218ba Binary files /dev/null and b/i/sh/rosy_21.gif differ diff --git a/i/sh/ruda.gif b/i/sh/ruda.gif new file mode 100644 index 0000000..ea743df Binary files /dev/null and b/i/sh/ruda.gif differ diff --git a/i/sh/runes/runes_anim1-1.gif b/i/sh/runes/runes_anim1-1.gif new file mode 100644 index 0000000..5fff473 Binary files /dev/null and b/i/sh/runes/runes_anim1-1.gif differ diff --git a/i/sh/runes/runes_anim1-2.gif b/i/sh/runes/runes_anim1-2.gif new file mode 100644 index 0000000..9066742 Binary files /dev/null and b/i/sh/runes/runes_anim1-2.gif differ diff --git a/i/sh/runes/runes_anim1-3.gif b/i/sh/runes/runes_anim1-3.gif new file mode 100644 index 0000000..4ab4ff1 Binary files /dev/null and b/i/sh/runes/runes_anim1-3.gif differ diff --git a/i/sh/runes/runes_anim2-1.gif b/i/sh/runes/runes_anim2-1.gif new file mode 100644 index 0000000..f0114fa Binary files /dev/null and b/i/sh/runes/runes_anim2-1.gif differ diff --git a/i/sh/runes/runes_anim2-2.gif b/i/sh/runes/runes_anim2-2.gif new file mode 100644 index 0000000..cdd7668 Binary files /dev/null and b/i/sh/runes/runes_anim2-2.gif differ diff --git a/i/sh/runes/runes_anim2-3.gif b/i/sh/runes/runes_anim2-3.gif new file mode 100644 index 0000000..1810eed Binary files /dev/null and b/i/sh/runes/runes_anim2-3.gif differ diff --git a/i/sh/runes/runes_anim3-1.gif b/i/sh/runes/runes_anim3-1.gif new file mode 100644 index 0000000..d232800 Binary files /dev/null and b/i/sh/runes/runes_anim3-1.gif differ diff --git a/i/sh/runes/runes_anim3-2.gif b/i/sh/runes/runes_anim3-2.gif new file mode 100644 index 0000000..6e46262 Binary files /dev/null and b/i/sh/runes/runes_anim3-2.gif differ diff --git a/i/sh/runes/runes_anim3-3.gif b/i/sh/runes/runes_anim3-3.gif new file mode 100644 index 0000000..762a487 Binary files /dev/null and b/i/sh/runes/runes_anim3-3.gif differ diff --git a/i/sh/runes/runes_anim4-1.gif b/i/sh/runes/runes_anim4-1.gif new file mode 100644 index 0000000..08749ef Binary files /dev/null and b/i/sh/runes/runes_anim4-1.gif differ diff --git a/i/sh/runes/runes_anim4-2.gif b/i/sh/runes/runes_anim4-2.gif new file mode 100644 index 0000000..3eebee9 Binary files /dev/null and b/i/sh/runes/runes_anim4-2.gif differ diff --git a/i/sh/runes/runes_anim4-3.gif b/i/sh/runes/runes_anim4-3.gif new file mode 100644 index 0000000..82c6e1b Binary files /dev/null and b/i/sh/runes/runes_anim4-3.gif differ diff --git a/i/sh/runes/runes_anim5-1.gif b/i/sh/runes/runes_anim5-1.gif new file mode 100644 index 0000000..7f0ed90 Binary files /dev/null and b/i/sh/runes/runes_anim5-1.gif differ diff --git a/i/sh/runes/runes_anim5-2.gif b/i/sh/runes/runes_anim5-2.gif new file mode 100644 index 0000000..f0c2804 Binary files /dev/null and b/i/sh/runes/runes_anim5-2.gif differ diff --git a/i/sh/runes/runes_anim5-3.gif b/i/sh/runes/runes_anim5-3.gif new file mode 100644 index 0000000..711c726 Binary files /dev/null and b/i/sh/runes/runes_anim5-3.gif differ diff --git a/i/sh/runes/runes_anim6-1.gif b/i/sh/runes/runes_anim6-1.gif new file mode 100644 index 0000000..97df6d9 Binary files /dev/null and b/i/sh/runes/runes_anim6-1.gif differ diff --git a/i/sh/runes/runes_anim6-2.gif b/i/sh/runes/runes_anim6-2.gif new file mode 100644 index 0000000..beeddd7 Binary files /dev/null and b/i/sh/runes/runes_anim6-2.gif differ diff --git a/i/sh/runes/runes_anim6-3.gif b/i/sh/runes/runes_anim6-3.gif new file mode 100644 index 0000000..1ea0d47 Binary files /dev/null and b/i/sh/runes/runes_anim6-3.gif differ diff --git a/i/sh/sand.gif b/i/sh/sand.gif new file mode 100644 index 0000000..a6073a7 Binary files /dev/null and b/i/sh/sand.gif differ diff --git a/i/sh/saylove.gif b/i/sh/saylove.gif new file mode 100644 index 0000000..2f4a2c3 Binary files /dev/null and b/i/sh/saylove.gif differ diff --git a/i/sh/scanner.gif b/i/sh/scanner.gif new file mode 100644 index 0000000..baa1d15 Binary files /dev/null and b/i/sh/scanner.gif differ diff --git a/i/sh/scrachy.gif b/i/sh/scrachy.gif new file mode 100644 index 0000000..b6a954b Binary files /dev/null and b/i/sh/scrachy.gif differ diff --git a/i/sh/sere_bro.gif b/i/sh/sere_bro.gif new file mode 100644 index 0000000..3f83f92 Binary files /dev/null and b/i/sh/sere_bro.gif differ diff --git a/i/sh/shar6.gif b/i/sh/shar6.gif new file mode 100644 index 0000000..d433fab Binary files /dev/null and b/i/sh/shar6.gif differ diff --git a/i/sh/shar6_2005.gif b/i/sh/shar6_2005.gif new file mode 100644 index 0000000..d433fab Binary files /dev/null and b/i/sh/shar6_2005.gif differ diff --git a/i/sh/shar7.gif b/i/sh/shar7.gif new file mode 100644 index 0000000..96c449f Binary files /dev/null and b/i/sh/shar7.gif differ diff --git a/i/sh/shar7_2005.gif b/i/sh/shar7_2005.gif new file mode 100644 index 0000000..96c449f Binary files /dev/null and b/i/sh/shar7_2005.gif differ diff --git a/i/sh/shar8_2005.gif b/i/sh/shar8_2005.gif new file mode 100644 index 0000000..0af7c85 Binary files /dev/null and b/i/sh/shar8_2005.gif differ diff --git a/i/sh/sharpen_axe_1.gif b/i/sh/sharpen_axe_1.gif new file mode 100644 index 0000000..7f9a585 Binary files /dev/null and b/i/sh/sharpen_axe_1.gif differ diff --git a/i/sh/sharpen_axe_11.gif b/i/sh/sharpen_axe_11.gif new file mode 100644 index 0000000..d4c6eef Binary files /dev/null and b/i/sh/sharpen_axe_11.gif differ diff --git a/i/sh/sharpen_axe_2.gif b/i/sh/sharpen_axe_2.gif new file mode 100644 index 0000000..5417a71 Binary files /dev/null and b/i/sh/sharpen_axe_2.gif differ diff --git a/i/sh/sharpen_axe_3.gif b/i/sh/sharpen_axe_3.gif new file mode 100644 index 0000000..b4f2951 Binary files /dev/null and b/i/sh/sharpen_axe_3.gif differ diff --git a/i/sh/sharpen_axe_4.gif b/i/sh/sharpen_axe_4.gif new file mode 100644 index 0000000..e63eff4 Binary files /dev/null and b/i/sh/sharpen_axe_4.gif differ diff --git a/i/sh/sharpen_axe_5.gif b/i/sh/sharpen_axe_5.gif new file mode 100644 index 0000000..84cc961 Binary files /dev/null and b/i/sh/sharpen_axe_5.gif differ diff --git a/i/sh/sharpen_knife_1.gif b/i/sh/sharpen_knife_1.gif new file mode 100644 index 0000000..a830db4 Binary files /dev/null and b/i/sh/sharpen_knife_1.gif differ diff --git a/i/sh/sharpen_knife_2.gif b/i/sh/sharpen_knife_2.gif new file mode 100644 index 0000000..57a0e87 Binary files /dev/null and b/i/sh/sharpen_knife_2.gif differ diff --git a/i/sh/sharpen_knife_3.gif b/i/sh/sharpen_knife_3.gif new file mode 100644 index 0000000..b723c7c Binary files /dev/null and b/i/sh/sharpen_knife_3.gif differ diff --git a/i/sh/sharpen_knife_4.gif b/i/sh/sharpen_knife_4.gif new file mode 100644 index 0000000..23496b6 Binary files /dev/null and b/i/sh/sharpen_knife_4.gif differ diff --git a/i/sh/sharpen_knife_5.gif b/i/sh/sharpen_knife_5.gif new file mode 100644 index 0000000..4b080bd Binary files /dev/null and b/i/sh/sharpen_knife_5.gif differ diff --git a/i/sh/sharpen_molot_1.gif b/i/sh/sharpen_molot_1.gif new file mode 100644 index 0000000..4c475a8 Binary files /dev/null and b/i/sh/sharpen_molot_1.gif differ diff --git a/i/sh/sharpen_molot_11.gif b/i/sh/sharpen_molot_11.gif new file mode 100644 index 0000000..b72a4d8 Binary files /dev/null and b/i/sh/sharpen_molot_11.gif differ diff --git a/i/sh/sharpen_molot_2.gif b/i/sh/sharpen_molot_2.gif new file mode 100644 index 0000000..0f55a4e Binary files /dev/null and b/i/sh/sharpen_molot_2.gif differ diff --git a/i/sh/sharpen_molot_3.gif b/i/sh/sharpen_molot_3.gif new file mode 100644 index 0000000..00463d5 Binary files /dev/null and b/i/sh/sharpen_molot_3.gif differ diff --git a/i/sh/sharpen_molot_4.gif b/i/sh/sharpen_molot_4.gif new file mode 100644 index 0000000..692fcf1 Binary files /dev/null and b/i/sh/sharpen_molot_4.gif differ diff --git a/i/sh/sharpen_molot_5.gif b/i/sh/sharpen_molot_5.gif new file mode 100644 index 0000000..fa31d1b Binary files /dev/null and b/i/sh/sharpen_molot_5.gif differ diff --git a/i/sh/sharpen_sword_1.gif b/i/sh/sharpen_sword_1.gif new file mode 100644 index 0000000..3753269 Binary files /dev/null and b/i/sh/sharpen_sword_1.gif differ diff --git a/i/sh/sharpen_sword_11.gif b/i/sh/sharpen_sword_11.gif new file mode 100644 index 0000000..4c6832a Binary files /dev/null and b/i/sh/sharpen_sword_11.gif differ diff --git a/i/sh/sharpen_sword_2.gif b/i/sh/sharpen_sword_2.gif new file mode 100644 index 0000000..1474e74 Binary files /dev/null and b/i/sh/sharpen_sword_2.gif differ diff --git a/i/sh/sharpen_sword_3.gif b/i/sh/sharpen_sword_3.gif new file mode 100644 index 0000000..b63a1bf Binary files /dev/null and b/i/sh/sharpen_sword_3.gif differ diff --git a/i/sh/sharpen_sword_4.gif b/i/sh/sharpen_sword_4.gif new file mode 100644 index 0000000..6bf8606 Binary files /dev/null and b/i/sh/sharpen_sword_4.gif differ diff --git a/i/sh/sharpen_sword_5.gif b/i/sh/sharpen_sword_5.gif new file mode 100644 index 0000000..0c29854 Binary files /dev/null and b/i/sh/sharpen_sword_5.gif differ diff --git a/i/sh/shary.gif b/i/sh/shary.gif new file mode 100644 index 0000000..ccc37c3 Binary files /dev/null and b/i/sh/shary.gif differ diff --git a/i/sh/shield10.gif b/i/sh/shield10.gif new file mode 100644 index 0000000..78d9ac3 Binary files /dev/null and b/i/sh/shield10.gif differ diff --git a/i/sh/shield101.gif b/i/sh/shield101.gif new file mode 100644 index 0000000..6f46f3d Binary files /dev/null and b/i/sh/shield101.gif differ diff --git a/i/sh/shield1113.gif b/i/sh/shield1113.gif new file mode 100644 index 0000000..6adffc3 Binary files /dev/null and b/i/sh/shield1113.gif differ diff --git a/i/sh/shield112.gif b/i/sh/shield112.gif new file mode 100644 index 0000000..2c4bd53 Binary files /dev/null and b/i/sh/shield112.gif differ diff --git a/i/sh/shield12.gif b/i/sh/shield12.gif new file mode 100644 index 0000000..472e92d Binary files /dev/null and b/i/sh/shield12.gif differ diff --git a/i/sh/shield1211.gif b/i/sh/shield1211.gif new file mode 100644 index 0000000..5d00a11 Binary files /dev/null and b/i/sh/shield1211.gif differ diff --git a/i/sh/shield15.gif b/i/sh/shield15.gif new file mode 100644 index 0000000..cadaa1f Binary files /dev/null and b/i/sh/shield15.gif differ diff --git a/i/sh/shield16.gif b/i/sh/shield16.gif new file mode 100644 index 0000000..0170ac0 Binary files /dev/null and b/i/sh/shield16.gif differ diff --git a/i/sh/shield18.gif b/i/sh/shield18.gif new file mode 100644 index 0000000..279266d Binary files /dev/null and b/i/sh/shield18.gif differ diff --git a/i/sh/shield20.gif b/i/sh/shield20.gif new file mode 100644 index 0000000..a4350ce Binary files /dev/null and b/i/sh/shield20.gif differ diff --git a/i/sh/shield203.gif b/i/sh/shield203.gif new file mode 100644 index 0000000..dee04e3 Binary files /dev/null and b/i/sh/shield203.gif differ diff --git a/i/sh/shield203u.gif b/i/sh/shield203u.gif new file mode 100644 index 0000000..feaf979 Binary files /dev/null and b/i/sh/shield203u.gif differ diff --git a/i/sh/shield204.gif b/i/sh/shield204.gif new file mode 100644 index 0000000..d336c46 Binary files /dev/null and b/i/sh/shield204.gif differ diff --git a/i/sh/shield204u.gif b/i/sh/shield204u.gif new file mode 100644 index 0000000..55898f2 Binary files /dev/null and b/i/sh/shield204u.gif differ diff --git a/i/sh/shield207.gif b/i/sh/shield207.gif new file mode 100644 index 0000000..d189799 Binary files /dev/null and b/i/sh/shield207.gif differ diff --git a/i/sh/shield207u.gif b/i/sh/shield207u.gif new file mode 100644 index 0000000..ea46741 Binary files /dev/null and b/i/sh/shield207u.gif differ diff --git a/i/sh/shield21.gif b/i/sh/shield21.gif new file mode 100644 index 0000000..8b645a7 Binary files /dev/null and b/i/sh/shield21.gif differ diff --git a/i/sh/shield23.gif b/i/sh/shield23.gif new file mode 100644 index 0000000..43fdf0e Binary files /dev/null and b/i/sh/shield23.gif differ diff --git a/i/sh/shield24.gif b/i/sh/shield24.gif new file mode 100644 index 0000000..aebb2ba Binary files /dev/null and b/i/sh/shield24.gif differ diff --git a/i/sh/shield25.gif b/i/sh/shield25.gif new file mode 100644 index 0000000..ac29fe2 Binary files /dev/null and b/i/sh/shield25.gif differ diff --git a/i/sh/shield26.gif b/i/sh/shield26.gif new file mode 100644 index 0000000..20cc032 Binary files /dev/null and b/i/sh/shield26.gif differ diff --git a/i/sh/shield3.gif b/i/sh/shield3.gif new file mode 100644 index 0000000..bf72122 Binary files /dev/null and b/i/sh/shield3.gif differ diff --git a/i/sh/shield35.gif b/i/sh/shield35.gif new file mode 100644 index 0000000..9b87c00 Binary files /dev/null and b/i/sh/shield35.gif differ diff --git a/i/sh/shield77.gif b/i/sh/shield77.gif new file mode 100644 index 0000000..1733905 Binary files /dev/null and b/i/sh/shield77.gif differ diff --git a/i/sh/shield80.gif b/i/sh/shield80.gif new file mode 100644 index 0000000..36f34e3 Binary files /dev/null and b/i/sh/shield80.gif differ diff --git a/i/sh/shield81.gif b/i/sh/shield81.gif new file mode 100644 index 0000000..71ab7a1 Binary files /dev/null and b/i/sh/shield81.gif differ diff --git a/i/sh/shield81u.gif b/i/sh/shield81u.gif new file mode 100644 index 0000000..b6b5a85 Binary files /dev/null and b/i/sh/shield81u.gif differ diff --git a/i/sh/shield82.gif b/i/sh/shield82.gif new file mode 100644 index 0000000..2cd5109 Binary files /dev/null and b/i/sh/shield82.gif differ diff --git a/i/sh/shield82_1.gif b/i/sh/shield82_1.gif new file mode 100644 index 0000000..2cd5109 Binary files /dev/null and b/i/sh/shield82_1.gif differ diff --git a/i/sh/shield83.gif b/i/sh/shield83.gif new file mode 100644 index 0000000..2bb1e10 Binary files /dev/null and b/i/sh/shield83.gif differ diff --git a/i/sh/shield83_1.gif b/i/sh/shield83_1.gif new file mode 100644 index 0000000..2bb1e10 Binary files /dev/null and b/i/sh/shield83_1.gif differ diff --git a/i/sh/shield84.gif b/i/sh/shield84.gif new file mode 100644 index 0000000..a835dcd Binary files /dev/null and b/i/sh/shield84.gif differ diff --git a/i/sh/shield84_1.gif b/i/sh/shield84_1.gif new file mode 100644 index 0000000..a835dcd Binary files /dev/null and b/i/sh/shield84_1.gif differ diff --git a/i/sh/shield85.gif b/i/sh/shield85.gif new file mode 100644 index 0000000..e011a07 Binary files /dev/null and b/i/sh/shield85.gif differ diff --git a/i/sh/shield85_du2.gif b/i/sh/shield85_du2.gif new file mode 100644 index 0000000..0d6587c Binary files /dev/null and b/i/sh/shield85_du2.gif differ diff --git a/i/sh/shield86.gif b/i/sh/shield86.gif new file mode 100644 index 0000000..6d8687e Binary files /dev/null and b/i/sh/shield86.gif differ diff --git a/i/sh/shield88.gif b/i/sh/shield88.gif new file mode 100644 index 0000000..b405b47 Binary files /dev/null and b/i/sh/shield88.gif differ diff --git a/i/sh/shield901.gif b/i/sh/shield901.gif new file mode 100644 index 0000000..468b5dc Binary files /dev/null and b/i/sh/shield901.gif differ diff --git a/i/sh/shielda11.gif b/i/sh/shielda11.gif new file mode 100644 index 0000000..1caa36d Binary files /dev/null and b/i/sh/shielda11.gif differ diff --git a/i/sh/shieldangels.gif b/i/sh/shieldangels.gif new file mode 100644 index 0000000..a1ace13 Binary files /dev/null and b/i/sh/shieldangels.gif differ diff --git a/i/sh/shinehelmet.png b/i/sh/shinehelmet.png new file mode 100644 index 0000000..aecde33 Binary files /dev/null and b/i/sh/shinehelmet.png differ diff --git a/i/sh/shirt2.gif b/i/sh/shirt2.gif new file mode 100644 index 0000000..f0f4593 Binary files /dev/null and b/i/sh/shirt2.gif differ diff --git a/i/sh/shirt4.gif b/i/sh/shirt4.gif new file mode 100644 index 0000000..a884a51 Binary files /dev/null and b/i/sh/shirt4.gif differ diff --git a/i/sh/shirtyplash4.gif b/i/sh/shirtyplash4.gif new file mode 100644 index 0000000..2ec9ad7 Binary files /dev/null and b/i/sh/shirtyplash4.gif differ diff --git a/i/sh/shlem.gif b/i/sh/shlem.gif new file mode 100644 index 0000000..d21985b Binary files /dev/null and b/i/sh/shlem.gif differ diff --git a/i/sh/shlypa.gif b/i/sh/shlypa.gif new file mode 100644 index 0000000..1697cf2 Binary files /dev/null and b/i/sh/shlypa.gif differ diff --git a/i/sh/shout.gif b/i/sh/shout.gif new file mode 100644 index 0000000..4c77807 Binary files /dev/null and b/i/sh/shout.gif differ diff --git a/i/sh/shtanga.gif b/i/sh/shtanga.gif new file mode 100644 index 0000000..3669883 Binary files /dev/null and b/i/sh/shtanga.gif differ diff --git a/i/sh/silence15.gif b/i/sh/silence15.gif new file mode 100644 index 0000000..b23ae00 Binary files /dev/null and b/i/sh/silence15.gif differ diff --git a/i/sh/silence30.gif b/i/sh/silence30.gif new file mode 100644 index 0000000..6f8e3be Binary files /dev/null and b/i/sh/silence30.gif differ diff --git a/i/sh/silence60.gif b/i/sh/silence60.gif new file mode 100644 index 0000000..bd9c03d Binary files /dev/null and b/i/sh/silence60.gif differ diff --git a/i/sh/silverr.gif b/i/sh/silverr.gif new file mode 100644 index 0000000..804ac4f Binary files /dev/null and b/i/sh/silverr.gif differ diff --git a/i/sh/silverrose.gif b/i/sh/silverrose.gif new file mode 100644 index 0000000..07bf24d Binary files /dev/null and b/i/sh/silverrose.gif differ diff --git a/i/sh/siren_1.gif b/i/sh/siren_1.gif new file mode 100644 index 0000000..3fd55ec Binary files /dev/null and b/i/sh/siren_1.gif differ diff --git a/i/sh/siren_21.gif b/i/sh/siren_21.gif new file mode 100644 index 0000000..e81ab6d Binary files /dev/null and b/i/sh/siren_21.gif differ diff --git a/i/sh/siren_3.gif b/i/sh/siren_3.gif new file mode 100644 index 0000000..b6865c5 Binary files /dev/null and b/i/sh/siren_3.gif differ diff --git a/i/sh/siren_5.gif b/i/sh/siren_5.gif new file mode 100644 index 0000000..ce9a394 Binary files /dev/null and b/i/sh/siren_5.gif differ diff --git a/i/sh/siren_7.gif b/i/sh/siren_7.gif new file mode 100644 index 0000000..fc0e921 Binary files /dev/null and b/i/sh/siren_7.gif differ diff --git a/i/sh/siren_9.gif b/i/sh/siren_9.gif new file mode 100644 index 0000000..7c5f268 Binary files /dev/null and b/i/sh/siren_9.gif differ diff --git a/i/sh/sleep.gif b/i/sh/sleep.gif new file mode 100644 index 0000000..4e3eb6a Binary files /dev/null and b/i/sh/sleep.gif differ diff --git a/i/sh/sleep_off.gif b/i/sh/sleep_off.gif new file mode 100644 index 0000000..b5f1952 Binary files /dev/null and b/i/sh/sleep_off.gif differ diff --git a/i/sh/sleepf.gif b/i/sh/sleepf.gif new file mode 100644 index 0000000..d93b4d7 Binary files /dev/null and b/i/sh/sleepf.gif differ diff --git a/i/sh/smag_collect1.gif b/i/sh/smag_collect1.gif new file mode 100644 index 0000000..80a63a5 Binary files /dev/null and b/i/sh/smag_collect1.gif differ diff --git a/i/sh/smag_collect2.gif b/i/sh/smag_collect2.gif new file mode 100644 index 0000000..0be6f0b Binary files /dev/null and b/i/sh/smag_collect2.gif differ diff --git a/i/sh/smag_collect3.gif b/i/sh/smag_collect3.gif new file mode 100644 index 0000000..bcf0fa0 Binary files /dev/null and b/i/sh/smag_collect3.gif differ diff --git a/i/sh/smag_collect4.gif b/i/sh/smag_collect4.gif new file mode 100644 index 0000000..34eaae9 Binary files /dev/null and b/i/sh/smag_collect4.gif differ diff --git a/i/sh/snow_gift.gif b/i/sh/snow_gift.gif new file mode 100644 index 0000000..e7eaba4 Binary files /dev/null and b/i/sh/snow_gift.gif differ diff --git a/i/sh/soska.gif b/i/sh/soska.gif new file mode 100644 index 0000000..180ed59 Binary files /dev/null and b/i/sh/soska.gif differ diff --git a/i/sh/spell_luck.gif b/i/sh/spell_luck.gif new file mode 100644 index 0000000..90740c1 Binary files /dev/null and b/i/sh/spell_luck.gif differ diff --git a/i/sh/spell_powerHPup1.gif b/i/sh/spell_powerHPup1.gif new file mode 100644 index 0000000..44ebabf Binary files /dev/null and b/i/sh/spell_powerHPup1.gif differ diff --git a/i/sh/staff3.gif b/i/sh/staff3.gif new file mode 100644 index 0000000..b20b7ee Binary files /dev/null and b/i/sh/staff3.gif differ diff --git a/i/sh/staff50.gif b/i/sh/staff50.gif new file mode 100644 index 0000000..d7f3431 Binary files /dev/null and b/i/sh/staff50.gif differ diff --git a/i/sh/staff51.gif b/i/sh/staff51.gif new file mode 100644 index 0000000..dcceed7 Binary files /dev/null and b/i/sh/staff51.gif differ diff --git a/i/sh/staff52.gif b/i/sh/staff52.gif new file mode 100644 index 0000000..b27cbb6 Binary files /dev/null and b/i/sh/staff52.gif differ diff --git a/i/sh/staff800.gif b/i/sh/staff800.gif new file mode 100644 index 0000000..849ca3b Binary files /dev/null and b/i/sh/staff800.gif differ diff --git a/i/sh/staff801.gif b/i/sh/staff801.gif new file mode 100644 index 0000000..24a8702 Binary files /dev/null and b/i/sh/staff801.gif differ diff --git a/i/sh/staff802.gif b/i/sh/staff802.gif new file mode 100644 index 0000000..068ed77 Binary files /dev/null and b/i/sh/staff802.gif differ diff --git a/i/sh/staff803.gif b/i/sh/staff803.gif new file mode 100644 index 0000000..6aa51f5 Binary files /dev/null and b/i/sh/staff803.gif differ diff --git a/i/sh/stone_pic.gif b/i/sh/stone_pic.gif new file mode 100644 index 0000000..d90a269 Binary files /dev/null and b/i/sh/stone_pic.gif differ diff --git a/i/sh/sunduk7 (1).gif b/i/sh/sunduk7 (1).gif new file mode 100644 index 0000000..929455f Binary files /dev/null and b/i/sh/sunduk7 (1).gif differ diff --git a/i/sh/sunduk7 (2).gif b/i/sh/sunduk7 (2).gif new file mode 100644 index 0000000..929455f Binary files /dev/null and b/i/sh/sunduk7 (2).gif differ diff --git a/i/sh/sunduk7.gif b/i/sh/sunduk7.gif new file mode 100644 index 0000000..929455f Binary files /dev/null and b/i/sh/sunduk7.gif differ diff --git a/i/sh/sundukgladyatora.png b/i/sh/sundukgladyatora.png new file mode 100644 index 0000000..281638e Binary files /dev/null and b/i/sh/sundukgladyatora.png differ diff --git a/i/sh/sundukzaklinaniya (1).png b/i/sh/sundukzaklinaniya (1).png new file mode 100644 index 0000000..6b92ed1 Binary files /dev/null and b/i/sh/sundukzaklinaniya (1).png differ diff --git a/i/sh/sundukzaklinaniya.png b/i/sh/sundukzaklinaniya.png new file mode 100644 index 0000000..6b92ed1 Binary files /dev/null and b/i/sh/sundukzaklinaniya.png differ diff --git a/i/sh/suven10.gif b/i/sh/suven10.gif new file mode 100644 index 0000000..99d6420 Binary files /dev/null and b/i/sh/suven10.gif differ diff --git a/i/sh/suven11.gif b/i/sh/suven11.gif new file mode 100644 index 0000000..4418fa9 Binary files /dev/null and b/i/sh/suven11.gif differ diff --git a/i/sh/suven12.gif b/i/sh/suven12.gif new file mode 100644 index 0000000..873aac0 Binary files /dev/null and b/i/sh/suven12.gif differ diff --git a/i/sh/suven13.gif b/i/sh/suven13.gif new file mode 100644 index 0000000..ec3f582 Binary files /dev/null and b/i/sh/suven13.gif differ diff --git a/i/sh/suven13[1].gif b/i/sh/suven13[1].gif new file mode 100644 index 0000000..ec3f582 Binary files /dev/null and b/i/sh/suven13[1].gif differ diff --git a/i/sh/suven14.gif b/i/sh/suven14.gif new file mode 100644 index 0000000..391e0af Binary files /dev/null and b/i/sh/suven14.gif differ diff --git a/i/sh/suven14[1].gif b/i/sh/suven14[1].gif new file mode 100644 index 0000000..391e0af Binary files /dev/null and b/i/sh/suven14[1].gif differ diff --git a/i/sh/suven15.gif b/i/sh/suven15.gif new file mode 100644 index 0000000..766f577 Binary files /dev/null and b/i/sh/suven15.gif differ diff --git a/i/sh/suven15[1].gif b/i/sh/suven15[1].gif new file mode 100644 index 0000000..766f577 Binary files /dev/null and b/i/sh/suven15[1].gif differ diff --git a/i/sh/suven17.gif b/i/sh/suven17.gif new file mode 100644 index 0000000..50fdc07 Binary files /dev/null and b/i/sh/suven17.gif differ diff --git a/i/sh/suven17[1].gif b/i/sh/suven17[1].gif new file mode 100644 index 0000000..50fdc07 Binary files /dev/null and b/i/sh/suven17[1].gif differ diff --git a/i/sh/suven18[1].gif b/i/sh/suven18[1].gif new file mode 100644 index 0000000..cdd5dfd Binary files /dev/null and b/i/sh/suven18[1].gif differ diff --git a/i/sh/suven19.gif b/i/sh/suven19.gif new file mode 100644 index 0000000..9e5fb15 Binary files /dev/null and b/i/sh/suven19.gif differ diff --git a/i/sh/suven2.gif b/i/sh/suven2.gif new file mode 100644 index 0000000..896a6a8 Binary files /dev/null and b/i/sh/suven2.gif differ diff --git a/i/sh/suven20.gif b/i/sh/suven20.gif new file mode 100644 index 0000000..6b482b1 Binary files /dev/null and b/i/sh/suven20.gif differ diff --git a/i/sh/suven2007_10[1].gif b/i/sh/suven2007_10[1].gif new file mode 100644 index 0000000..f74785b Binary files /dev/null and b/i/sh/suven2007_10[1].gif differ diff --git a/i/sh/suven2007_11[1].gif b/i/sh/suven2007_11[1].gif new file mode 100644 index 0000000..2c57dd5 Binary files /dev/null and b/i/sh/suven2007_11[1].gif differ diff --git a/i/sh/suven2007_12[1].gif b/i/sh/suven2007_12[1].gif new file mode 100644 index 0000000..0317585 Binary files /dev/null and b/i/sh/suven2007_12[1].gif differ diff --git a/i/sh/suven2007_13[1].gif b/i/sh/suven2007_13[1].gif new file mode 100644 index 0000000..7d48e58 Binary files /dev/null and b/i/sh/suven2007_13[1].gif differ diff --git a/i/sh/suven2007_14[1].gif b/i/sh/suven2007_14[1].gif new file mode 100644 index 0000000..b56f818 Binary files /dev/null and b/i/sh/suven2007_14[1].gif differ diff --git a/i/sh/suven2007_15[1].gif b/i/sh/suven2007_15[1].gif new file mode 100644 index 0000000..4b8afa4 Binary files /dev/null and b/i/sh/suven2007_15[1].gif differ diff --git a/i/sh/suven2007_16[1].gif b/i/sh/suven2007_16[1].gif new file mode 100644 index 0000000..2b7b761 Binary files /dev/null and b/i/sh/suven2007_16[1].gif differ diff --git a/i/sh/suven2007_17[1].gif b/i/sh/suven2007_17[1].gif new file mode 100644 index 0000000..4d89279 Binary files /dev/null and b/i/sh/suven2007_17[1].gif differ diff --git a/i/sh/suven2007_18[1].gif b/i/sh/suven2007_18[1].gif new file mode 100644 index 0000000..669e7ab Binary files /dev/null and b/i/sh/suven2007_18[1].gif differ diff --git a/i/sh/suven2007_19[1].gif b/i/sh/suven2007_19[1].gif new file mode 100644 index 0000000..a156c33 Binary files /dev/null and b/i/sh/suven2007_19[1].gif differ diff --git a/i/sh/suven2007_1[1].gif b/i/sh/suven2007_1[1].gif new file mode 100644 index 0000000..c81e4e6 Binary files /dev/null and b/i/sh/suven2007_1[1].gif differ diff --git a/i/sh/suven2007_20[1].gif b/i/sh/suven2007_20[1].gif new file mode 100644 index 0000000..b32659b Binary files /dev/null and b/i/sh/suven2007_20[1].gif differ diff --git a/i/sh/suven2007_21[1].gif b/i/sh/suven2007_21[1].gif new file mode 100644 index 0000000..f67395a Binary files /dev/null and b/i/sh/suven2007_21[1].gif differ diff --git a/i/sh/suven2007_22[1].gif b/i/sh/suven2007_22[1].gif new file mode 100644 index 0000000..a578255 Binary files /dev/null and b/i/sh/suven2007_22[1].gif differ diff --git a/i/sh/suven2007_23[1].gif b/i/sh/suven2007_23[1].gif new file mode 100644 index 0000000..cdd1981 Binary files /dev/null and b/i/sh/suven2007_23[1].gif differ diff --git a/i/sh/suven2007_24[1].gif b/i/sh/suven2007_24[1].gif new file mode 100644 index 0000000..f6039ac Binary files /dev/null and b/i/sh/suven2007_24[1].gif differ diff --git a/i/sh/suven2007_25[1].gif b/i/sh/suven2007_25[1].gif new file mode 100644 index 0000000..d1b7109 Binary files /dev/null and b/i/sh/suven2007_25[1].gif differ diff --git a/i/sh/suven2007_26[1].gif b/i/sh/suven2007_26[1].gif new file mode 100644 index 0000000..5d41341 Binary files /dev/null and b/i/sh/suven2007_26[1].gif differ diff --git a/i/sh/suven2007_27[1].gif b/i/sh/suven2007_27[1].gif new file mode 100644 index 0000000..52ad5e5 Binary files /dev/null and b/i/sh/suven2007_27[1].gif differ diff --git a/i/sh/suven2007_28[1].gif b/i/sh/suven2007_28[1].gif new file mode 100644 index 0000000..c86cd5a Binary files /dev/null and b/i/sh/suven2007_28[1].gif differ diff --git a/i/sh/suven2007_2[1].gif b/i/sh/suven2007_2[1].gif new file mode 100644 index 0000000..f387acb Binary files /dev/null and b/i/sh/suven2007_2[1].gif differ diff --git a/i/sh/suven2007_3[1].gif b/i/sh/suven2007_3[1].gif new file mode 100644 index 0000000..6b01687 Binary files /dev/null and b/i/sh/suven2007_3[1].gif differ diff --git a/i/sh/suven2007_4[1].gif b/i/sh/suven2007_4[1].gif new file mode 100644 index 0000000..ab0a1dd Binary files /dev/null and b/i/sh/suven2007_4[1].gif differ diff --git a/i/sh/suven2007_5[1].gif b/i/sh/suven2007_5[1].gif new file mode 100644 index 0000000..a7e0ec9 Binary files /dev/null and b/i/sh/suven2007_5[1].gif differ diff --git a/i/sh/suven2007_7[1].gif b/i/sh/suven2007_7[1].gif new file mode 100644 index 0000000..09d8549 Binary files /dev/null and b/i/sh/suven2007_7[1].gif differ diff --git a/i/sh/suven2007_8[1].gif b/i/sh/suven2007_8[1].gif new file mode 100644 index 0000000..e9dd660 Binary files /dev/null and b/i/sh/suven2007_8[1].gif differ diff --git a/i/sh/suven2007_9[1].gif b/i/sh/suven2007_9[1].gif new file mode 100644 index 0000000..1cbb586 Binary files /dev/null and b/i/sh/suven2007_9[1].gif differ diff --git a/i/sh/suven20[1].gif b/i/sh/suven20[1].gif new file mode 100644 index 0000000..6b482b1 Binary files /dev/null and b/i/sh/suven20[1].gif differ diff --git a/i/sh/suven21.gif b/i/sh/suven21.gif new file mode 100644 index 0000000..daef95b Binary files /dev/null and b/i/sh/suven21.gif differ diff --git a/i/sh/suven22.gif b/i/sh/suven22.gif new file mode 100644 index 0000000..9ff57ce Binary files /dev/null and b/i/sh/suven22.gif differ diff --git a/i/sh/suven22[1].gif b/i/sh/suven22[1].gif new file mode 100644 index 0000000..9ff57ce Binary files /dev/null and b/i/sh/suven22[1].gif differ diff --git a/i/sh/suven25.gif b/i/sh/suven25.gif new file mode 100644 index 0000000..9cf22b9 Binary files /dev/null and b/i/sh/suven25.gif differ diff --git a/i/sh/suven26.gif b/i/sh/suven26.gif new file mode 100644 index 0000000..ca1679b Binary files /dev/null and b/i/sh/suven26.gif differ diff --git a/i/sh/suven27.gif b/i/sh/suven27.gif new file mode 100644 index 0000000..61dc52f Binary files /dev/null and b/i/sh/suven27.gif differ diff --git a/i/sh/suven3.gif b/i/sh/suven3.gif new file mode 100644 index 0000000..fd42860 Binary files /dev/null and b/i/sh/suven3.gif differ diff --git a/i/sh/suven30.gif b/i/sh/suven30.gif new file mode 100644 index 0000000..18f229a Binary files /dev/null and b/i/sh/suven30.gif differ diff --git a/i/sh/suven31.gif b/i/sh/suven31.gif new file mode 100644 index 0000000..77b772e Binary files /dev/null and b/i/sh/suven31.gif differ diff --git a/i/sh/suven32.gif b/i/sh/suven32.gif new file mode 100644 index 0000000..dd1a166 Binary files /dev/null and b/i/sh/suven32.gif differ diff --git a/i/sh/suven33.gif b/i/sh/suven33.gif new file mode 100644 index 0000000..82a7df2 Binary files /dev/null and b/i/sh/suven33.gif differ diff --git a/i/sh/suven34.gif b/i/sh/suven34.gif new file mode 100644 index 0000000..f705965 Binary files /dev/null and b/i/sh/suven34.gif differ diff --git a/i/sh/suven4.gif b/i/sh/suven4.gif new file mode 100644 index 0000000..e302587 Binary files /dev/null and b/i/sh/suven4.gif differ diff --git a/i/sh/suven5.gif b/i/sh/suven5.gif new file mode 100644 index 0000000..a4ba541 Binary files /dev/null and b/i/sh/suven5.gif differ diff --git a/i/sh/suven6.gif b/i/sh/suven6.gif new file mode 100644 index 0000000..b7076c8 Binary files /dev/null and b/i/sh/suven6.gif differ diff --git a/i/sh/suven60.gif b/i/sh/suven60.gif new file mode 100644 index 0000000..b95c00d Binary files /dev/null and b/i/sh/suven60.gif differ diff --git a/i/sh/suven61.gif b/i/sh/suven61.gif new file mode 100644 index 0000000..b2da2a6 Binary files /dev/null and b/i/sh/suven61.gif differ diff --git a/i/sh/suven62.gif b/i/sh/suven62.gif new file mode 100644 index 0000000..f77a212 Binary files /dev/null and b/i/sh/suven62.gif differ diff --git a/i/sh/suven63.gif b/i/sh/suven63.gif new file mode 100644 index 0000000..4ffd1fa Binary files /dev/null and b/i/sh/suven63.gif differ diff --git a/i/sh/suven64.gif b/i/sh/suven64.gif new file mode 100644 index 0000000..4ae9832 Binary files /dev/null and b/i/sh/suven64.gif differ diff --git a/i/sh/suven65.gif b/i/sh/suven65.gif new file mode 100644 index 0000000..768ca93 Binary files /dev/null and b/i/sh/suven65.gif differ diff --git a/i/sh/suven66.gif b/i/sh/suven66.gif new file mode 100644 index 0000000..8bbeed8 Binary files /dev/null and b/i/sh/suven66.gif differ diff --git a/i/sh/suven68.gif b/i/sh/suven68.gif new file mode 100644 index 0000000..3c47bc4 Binary files /dev/null and b/i/sh/suven68.gif differ diff --git a/i/sh/suven7.gif b/i/sh/suven7.gif new file mode 100644 index 0000000..7b5d62f Binary files /dev/null and b/i/sh/suven7.gif differ diff --git a/i/sh/suven70.gif b/i/sh/suven70.gif new file mode 100644 index 0000000..e5cff3f Binary files /dev/null and b/i/sh/suven70.gif differ diff --git a/i/sh/suven71.gif b/i/sh/suven71.gif new file mode 100644 index 0000000..ad3ebe2 Binary files /dev/null and b/i/sh/suven71.gif differ diff --git a/i/sh/suven72.gif b/i/sh/suven72.gif new file mode 100644 index 0000000..203d5a0 Binary files /dev/null and b/i/sh/suven72.gif differ diff --git a/i/sh/suven73.gif b/i/sh/suven73.gif new file mode 100644 index 0000000..5672bff Binary files /dev/null and b/i/sh/suven73.gif differ diff --git a/i/sh/suven74.gif b/i/sh/suven74.gif new file mode 100644 index 0000000..8046a07 Binary files /dev/null and b/i/sh/suven74.gif differ diff --git a/i/sh/suven75.gif b/i/sh/suven75.gif new file mode 100644 index 0000000..070ab28 Binary files /dev/null and b/i/sh/suven75.gif differ diff --git a/i/sh/suven76.gif b/i/sh/suven76.gif new file mode 100644 index 0000000..bf47b1d Binary files /dev/null and b/i/sh/suven76.gif differ diff --git a/i/sh/suven8.gif b/i/sh/suven8.gif new file mode 100644 index 0000000..17a8f04 Binary files /dev/null and b/i/sh/suven8.gif differ diff --git a/i/sh/suven82.gif b/i/sh/suven82.gif new file mode 100644 index 0000000..b16fd4a Binary files /dev/null and b/i/sh/suven82.gif differ diff --git a/i/sh/suven84.gif b/i/sh/suven84.gif new file mode 100644 index 0000000..7b03b71 Binary files /dev/null and b/i/sh/suven84.gif differ diff --git a/i/sh/suven86.gif b/i/sh/suven86.gif new file mode 100644 index 0000000..a935f9f Binary files /dev/null and b/i/sh/suven86.gif differ diff --git a/i/sh/suven9.gif b/i/sh/suven9.gif new file mode 100644 index 0000000..6c0245e Binary files /dev/null and b/i/sh/suven9.gif differ diff --git a/i/sh/svadbabuket.gif b/i/sh/svadbabuket.gif new file mode 100644 index 0000000..2df600b Binary files /dev/null and b/i/sh/svadbabuket.gif differ diff --git a/i/sh/svecha2.gif b/i/sh/svecha2.gif new file mode 100644 index 0000000..2d03615 Binary files /dev/null and b/i/sh/svecha2.gif differ diff --git a/i/sh/svecha_2.gif b/i/sh/svecha_2.gif new file mode 100644 index 0000000..18fbf2a Binary files /dev/null and b/i/sh/svecha_2.gif differ diff --git a/i/sh/svecha_3.gif b/i/sh/svecha_3.gif new file mode 100644 index 0000000..98a9b80 Binary files /dev/null and b/i/sh/svecha_3.gif differ diff --git a/i/sh/svecha_6.gif b/i/sh/svecha_6.gif new file mode 100644 index 0000000..54019b6 Binary files /dev/null and b/i/sh/svecha_6.gif differ diff --git a/i/sh/svechka2.gif b/i/sh/svechka2.gif new file mode 100644 index 0000000..7df4989 Binary files /dev/null and b/i/sh/svechka2.gif differ diff --git a/i/sh/svechka3.gif b/i/sh/svechka3.gif new file mode 100644 index 0000000..bb5af2f Binary files /dev/null and b/i/sh/svechka3.gif differ diff --git a/i/sh/sword002.gif b/i/sh/sword002.gif new file mode 100644 index 0000000..27d1516 Binary files /dev/null and b/i/sh/sword002.gif differ diff --git a/i/sh/sword10.gif b/i/sh/sword10.gif new file mode 100644 index 0000000..8eb1701 Binary files /dev/null and b/i/sh/sword10.gif differ diff --git a/i/sh/sword100.gif b/i/sh/sword100.gif new file mode 100644 index 0000000..36f0cfc Binary files /dev/null and b/i/sh/sword100.gif differ diff --git a/i/sh/sword101.gif b/i/sh/sword101.gif new file mode 100644 index 0000000..463aa42 Binary files /dev/null and b/i/sh/sword101.gif differ diff --git a/i/sh/sword101u.gif b/i/sh/sword101u.gif new file mode 100644 index 0000000..0509c38 Binary files /dev/null and b/i/sh/sword101u.gif differ diff --git a/i/sh/sword102.gif b/i/sh/sword102.gif new file mode 100644 index 0000000..92725f2 Binary files /dev/null and b/i/sh/sword102.gif differ diff --git a/i/sh/sword103.gif b/i/sh/sword103.gif new file mode 100644 index 0000000..174d19c Binary files /dev/null and b/i/sh/sword103.gif differ diff --git a/i/sh/sword104.gif b/i/sh/sword104.gif new file mode 100644 index 0000000..43978b4 Binary files /dev/null and b/i/sh/sword104.gif differ diff --git a/i/sh/sword105.gif b/i/sh/sword105.gif new file mode 100644 index 0000000..125d79c Binary files /dev/null and b/i/sh/sword105.gif differ diff --git a/i/sh/sword105_2.gif b/i/sh/sword105_2.gif new file mode 100644 index 0000000..66f32c4 Binary files /dev/null and b/i/sh/sword105_2.gif differ diff --git a/i/sh/sword105_du2.gif b/i/sh/sword105_du2.gif new file mode 100644 index 0000000..98ab20b Binary files /dev/null and b/i/sh/sword105_du2.gif differ diff --git a/i/sh/sword105_du22.gif b/i/sh/sword105_du22.gif new file mode 100644 index 0000000..98ab20b Binary files /dev/null and b/i/sh/sword105_du22.gif differ diff --git a/i/sh/sword106.gif b/i/sh/sword106.gif new file mode 100644 index 0000000..66f32c4 Binary files /dev/null and b/i/sh/sword106.gif differ diff --git a/i/sh/sword11.gif b/i/sh/sword11.gif new file mode 100644 index 0000000..5f17852 Binary files /dev/null and b/i/sh/sword11.gif differ diff --git a/i/sh/sword1113.gif b/i/sh/sword1113.gif new file mode 100644 index 0000000..3315f2b Binary files /dev/null and b/i/sh/sword1113.gif differ diff --git a/i/sh/sword13.gif b/i/sh/sword13.gif new file mode 100644 index 0000000..133a828 Binary files /dev/null and b/i/sh/sword13.gif differ diff --git a/i/sh/sword19.gif b/i/sh/sword19.gif new file mode 100644 index 0000000..a4f66bc Binary files /dev/null and b/i/sh/sword19.gif differ diff --git a/i/sh/sword2.gif b/i/sh/sword2.gif new file mode 100644 index 0000000..9a848dc Binary files /dev/null and b/i/sh/sword2.gif differ diff --git a/i/sh/sword203.gif b/i/sh/sword203.gif new file mode 100644 index 0000000..8d1d91e Binary files /dev/null and b/i/sh/sword203.gif differ diff --git a/i/sh/sword203u.gif b/i/sh/sword203u.gif new file mode 100644 index 0000000..f2c3f28 Binary files /dev/null and b/i/sh/sword203u.gif differ diff --git a/i/sh/sword207.gif b/i/sh/sword207.gif new file mode 100644 index 0000000..7caede2 Binary files /dev/null and b/i/sh/sword207.gif differ diff --git a/i/sh/sword207u.gif b/i/sh/sword207u.gif new file mode 100644 index 0000000..86fe28f Binary files /dev/null and b/i/sh/sword207u.gif differ diff --git a/i/sh/sword21.gif b/i/sh/sword21.gif new file mode 100644 index 0000000..358f174 Binary files /dev/null and b/i/sh/sword21.gif differ diff --git a/i/sh/sword23.gif b/i/sh/sword23.gif new file mode 100644 index 0000000..d3b6feb Binary files /dev/null and b/i/sh/sword23.gif differ diff --git a/i/sh/sword3.gif b/i/sh/sword3.gif new file mode 100644 index 0000000..d96f334 Binary files /dev/null and b/i/sh/sword3.gif differ diff --git a/i/sh/sword35.gif b/i/sh/sword35.gif new file mode 100644 index 0000000..99145c0 Binary files /dev/null and b/i/sh/sword35.gif differ diff --git a/i/sh/sword4.gif b/i/sh/sword4.gif new file mode 100644 index 0000000..348e953 Binary files /dev/null and b/i/sh/sword4.gif differ diff --git a/i/sh/sword57.gif b/i/sh/sword57.gif new file mode 100644 index 0000000..125d79c Binary files /dev/null and b/i/sh/sword57.gif differ diff --git a/i/sh/sword58.gif b/i/sh/sword58.gif new file mode 100644 index 0000000..74a251e Binary files /dev/null and b/i/sh/sword58.gif differ diff --git a/i/sh/sword7.gif b/i/sh/sword7.gif new file mode 100644 index 0000000..eaaa7b8 Binary files /dev/null and b/i/sh/sword7.gif differ diff --git a/i/sh/sword74.gif b/i/sh/sword74.gif new file mode 100644 index 0000000..bebd1bf Binary files /dev/null and b/i/sh/sword74.gif differ diff --git a/i/sh/sword76.gif b/i/sh/sword76.gif new file mode 100644 index 0000000..c051672 Binary files /dev/null and b/i/sh/sword76.gif differ diff --git a/i/sh/sword8.gif b/i/sh/sword8.gif new file mode 100644 index 0000000..703ec34 Binary files /dev/null and b/i/sh/sword8.gif differ diff --git a/i/sh/sword82.gif b/i/sh/sword82.gif new file mode 100644 index 0000000..7a4736e Binary files /dev/null and b/i/sh/sword82.gif differ diff --git a/i/sh/sword89.gif b/i/sh/sword89.gif new file mode 100644 index 0000000..618096a Binary files /dev/null and b/i/sh/sword89.gif differ diff --git a/i/sh/sword9.gif b/i/sh/sword9.gif new file mode 100644 index 0000000..e606d0d Binary files /dev/null and b/i/sh/sword9.gif differ diff --git a/i/sh/sword901.gif b/i/sh/sword901.gif new file mode 100644 index 0000000..40363d4 Binary files /dev/null and b/i/sh/sword901.gif differ diff --git a/i/sh/sword93.gif b/i/sh/sword93.gif new file mode 100644 index 0000000..5bfaf38 Binary files /dev/null and b/i/sh/sword93.gif differ diff --git a/i/sh/sword94.gif b/i/sh/sword94.gif new file mode 100644 index 0000000..00904c2 Binary files /dev/null and b/i/sh/sword94.gif differ diff --git a/i/sh/sworda11.gif b/i/sh/sworda11.gif new file mode 100644 index 0000000..82b42de Binary files /dev/null and b/i/sh/sworda11.gif differ diff --git a/i/sh/sys.gif b/i/sh/sys.gif new file mode 100644 index 0000000..91fbc5e Binary files /dev/null and b/i/sh/sys.gif differ diff --git a/i/sh/teleport.gif b/i/sh/teleport.gif new file mode 100644 index 0000000..2753cc6 Binary files /dev/null and b/i/sh/teleport.gif differ diff --git a/i/sh/temle/bg.jpg b/i/sh/temle/bg.jpg new file mode 100644 index 0000000..43e9e29 Binary files /dev/null and b/i/sh/temle/bg.jpg differ diff --git a/i/sh/temle/paper_shadow.gif b/i/sh/temle/paper_shadow.gif new file mode 100644 index 0000000..1925fe8 Binary files /dev/null and b/i/sh/temle/paper_shadow.gif differ diff --git a/i/sh/temple_stone1.gif b/i/sh/temple_stone1.gif new file mode 100644 index 0000000..093b8ac Binary files /dev/null and b/i/sh/temple_stone1.gif differ diff --git a/i/sh/temple_stone2.gif b/i/sh/temple_stone2.gif new file mode 100644 index 0000000..23a7797 Binary files /dev/null and b/i/sh/temple_stone2.gif differ diff --git a/i/sh/tma1.gif b/i/sh/tma1.gif new file mode 100644 index 0000000..d4a0824 Binary files /dev/null and b/i/sh/tma1.gif differ diff --git a/i/sh/toporvihra.gif b/i/sh/toporvihra.gif new file mode 100644 index 0000000..210fb4f Binary files /dev/null and b/i/sh/toporvihra.gif differ diff --git a/i/sh/travma.gif b/i/sh/travma.gif new file mode 100644 index 0000000..4c3285b Binary files /dev/null and b/i/sh/travma.gif differ diff --git a/i/sh/trshield.gif b/i/sh/trshield.gif new file mode 100644 index 0000000..e4e00cb Binary files /dev/null and b/i/sh/trshield.gif differ diff --git a/i/sh/trshield2.gif b/i/sh/trshield2.gif new file mode 100644 index 0000000..cb89f91 Binary files /dev/null and b/i/sh/trshield2.gif differ diff --git a/i/sh/trubka2.gif b/i/sh/trubka2.gif new file mode 100644 index 0000000..f32b38d Binary files /dev/null and b/i/sh/trubka2.gif differ diff --git a/i/sh/tulip1.gif b/i/sh/tulip1.gif new file mode 100644 index 0000000..735b4ab Binary files /dev/null and b/i/sh/tulip1.gif differ diff --git a/i/sh/tulip21.gif b/i/sh/tulip21.gif new file mode 100644 index 0000000..0acdbcc Binary files /dev/null and b/i/sh/tulip21.gif differ diff --git a/i/sh/tulip3.gif b/i/sh/tulip3.gif new file mode 100644 index 0000000..fc2eb71 Binary files /dev/null and b/i/sh/tulip3.gif differ diff --git a/i/sh/tulip5.gif b/i/sh/tulip5.gif new file mode 100644 index 0000000..e3266f4 Binary files /dev/null and b/i/sh/tulip5.gif differ diff --git a/i/sh/tulip7.gif b/i/sh/tulip7.gif new file mode 100644 index 0000000..a2ec6be Binary files /dev/null and b/i/sh/tulip7.gif differ diff --git a/i/sh/tulip9.gif b/i/sh/tulip9.gif new file mode 100644 index 0000000..b9cc5c5 Binary files /dev/null and b/i/sh/tulip9.gif differ diff --git a/i/sh/turnir.gif b/i/sh/turnir.gif new file mode 100644 index 0000000..27175b9 Binary files /dev/null and b/i/sh/turnir.gif differ diff --git a/i/sh/umklaydet.gif b/i/sh/umklaydet.gif new file mode 100644 index 0000000..47fedb5 Binary files /dev/null and b/i/sh/umklaydet.gif differ diff --git a/i/sh/undef.gif b/i/sh/undef.gif new file mode 100644 index 0000000..9baf4cf Binary files /dev/null and b/i/sh/undef.gif differ diff --git a/i/sh/unlockbattle.gif b/i/sh/unlockbattle.gif new file mode 100644 index 0000000..b58e53a Binary files /dev/null and b/i/sh/unlockbattle.gif differ diff --git a/i/sh/use_heal_on.gif b/i/sh/use_heal_on.gif new file mode 100644 index 0000000..5d5967b Binary files /dev/null and b/i/sh/use_heal_on.gif differ diff --git a/i/sh/use_sunduk_off.gif b/i/sh/use_sunduk_off.gif new file mode 100644 index 0000000..236c4b2 Binary files /dev/null and b/i/sh/use_sunduk_off.gif differ diff --git a/i/sh/use_sunduk_on.gif b/i/sh/use_sunduk_on.gif new file mode 100644 index 0000000..21bb0df Binary files /dev/null and b/i/sh/use_sunduk_on.gif differ diff --git a/i/sh/v.gif b/i/sh/v.gif new file mode 100644 index 0000000..cfa15ef Binary files /dev/null and b/i/sh/v.gif differ diff --git a/i/sh/val_podarok1.gif b/i/sh/val_podarok1.gif new file mode 100644 index 0000000..9dc6f31 Binary files /dev/null and b/i/sh/val_podarok1.gif differ diff --git a/i/sh/val_podarok10.gif b/i/sh/val_podarok10.gif new file mode 100644 index 0000000..3133487 Binary files /dev/null and b/i/sh/val_podarok10.gif differ diff --git a/i/sh/val_podarok11.gif b/i/sh/val_podarok11.gif new file mode 100644 index 0000000..afaf888 Binary files /dev/null and b/i/sh/val_podarok11.gif differ diff --git a/i/sh/val_podarok12.gif b/i/sh/val_podarok12.gif new file mode 100644 index 0000000..fec9b10 Binary files /dev/null and b/i/sh/val_podarok12.gif differ diff --git a/i/sh/val_podarok13.gif b/i/sh/val_podarok13.gif new file mode 100644 index 0000000..eb0f338 Binary files /dev/null and b/i/sh/val_podarok13.gif differ diff --git a/i/sh/val_podarok14.gif b/i/sh/val_podarok14.gif new file mode 100644 index 0000000..f014aae Binary files /dev/null and b/i/sh/val_podarok14.gif differ diff --git a/i/sh/val_podarok15.gif b/i/sh/val_podarok15.gif new file mode 100644 index 0000000..88519cb Binary files /dev/null and b/i/sh/val_podarok15.gif differ diff --git a/i/sh/val_podarok2.gif b/i/sh/val_podarok2.gif new file mode 100644 index 0000000..52d0c7a Binary files /dev/null and b/i/sh/val_podarok2.gif differ diff --git a/i/sh/val_podarok3.gif b/i/sh/val_podarok3.gif new file mode 100644 index 0000000..2fc982b Binary files /dev/null and b/i/sh/val_podarok3.gif differ diff --git a/i/sh/val_podarok4.gif b/i/sh/val_podarok4.gif new file mode 100644 index 0000000..af3745e Binary files /dev/null and b/i/sh/val_podarok4.gif differ diff --git a/i/sh/val_podarok5.gif b/i/sh/val_podarok5.gif new file mode 100644 index 0000000..93be8e5 Binary files /dev/null and b/i/sh/val_podarok5.gif differ diff --git a/i/sh/val_podarok6.gif b/i/sh/val_podarok6.gif new file mode 100644 index 0000000..4a002fd Binary files /dev/null and b/i/sh/val_podarok6.gif differ diff --git a/i/sh/val_podarok7.gif b/i/sh/val_podarok7.gif new file mode 100644 index 0000000..4fe265a Binary files /dev/null and b/i/sh/val_podarok7.gif differ diff --git a/i/sh/val_podarok8.gif b/i/sh/val_podarok8.gif new file mode 100644 index 0000000..2218729 Binary files /dev/null and b/i/sh/val_podarok8.gif differ diff --git a/i/sh/val_podarok9.gif b/i/sh/val_podarok9.gif new file mode 100644 index 0000000..195f0ac Binary files /dev/null and b/i/sh/val_podarok9.gif differ diff --git a/i/sh/valentine2007_6.gif b/i/sh/valentine2007_6.gif new file mode 100644 index 0000000..e226f92 Binary files /dev/null and b/i/sh/valentine2007_6.gif differ diff --git a/i/sh/valentine2007_e_3.gif b/i/sh/valentine2007_e_3.gif new file mode 100644 index 0000000..5ab0f5a Binary files /dev/null and b/i/sh/valentine2007_e_3.gif differ diff --git a/i/sh/vampir.gif b/i/sh/vampir.gif new file mode 100644 index 0000000..8092305 Binary files /dev/null and b/i/sh/vampir.gif differ diff --git a/i/sh/vase.gif b/i/sh/vase.gif new file mode 100644 index 0000000..66f4bdb Binary files /dev/null and b/i/sh/vase.gif differ diff --git a/i/sh/vdv_gift_2.gif b/i/sh/vdv_gift_2.gif new file mode 100644 index 0000000..e1cdd84 Binary files /dev/null and b/i/sh/vdv_gift_2.gif differ diff --git a/i/sh/velikoeart.gif b/i/sh/velikoeart.gif new file mode 100644 index 0000000..7639410 Binary files /dev/null and b/i/sh/velikoeart.gif differ diff --git a/i/sh/venok1.gif b/i/sh/venok1.gif new file mode 100644 index 0000000..75a8b3a Binary files /dev/null and b/i/sh/venok1.gif differ diff --git a/i/sh/venok2.gif b/i/sh/venok2.gif new file mode 100644 index 0000000..36649de Binary files /dev/null and b/i/sh/venok2.gif differ diff --git a/i/sh/venok3.gif b/i/sh/venok3.gif new file mode 100644 index 0000000..2b077f2 Binary files /dev/null and b/i/sh/venok3.gif differ diff --git a/i/sh/venok4.gif b/i/sh/venok4.gif new file mode 100644 index 0000000..ca8af49 Binary files /dev/null and b/i/sh/venok4.gif differ diff --git a/i/sh/venok5.gif b/i/sh/venok5.gif new file mode 100644 index 0000000..414080a Binary files /dev/null and b/i/sh/venok5.gif differ diff --git a/i/sh/vosk.gif b/i/sh/vosk.gif new file mode 100644 index 0000000..ba04a28 Binary files /dev/null and b/i/sh/vosk.gif differ diff --git a/i/sh/w13.gif b/i/sh/w13.gif new file mode 100644 index 0000000..57de5a4 Binary files /dev/null and b/i/sh/w13.gif differ diff --git a/i/sh/whelmet4.gif b/i/sh/whelmet4.gif new file mode 100644 index 0000000..8af25f0 Binary files /dev/null and b/i/sh/whelmet4.gif differ diff --git a/i/sh/whitebuketnevesta.gif b/i/sh/whitebuketnevesta.gif new file mode 100644 index 0000000..d7b4912 Binary files /dev/null and b/i/sh/whitebuketnevesta.gif differ diff --git a/i/sh/wis_air_def1.gif b/i/sh/wis_air_def1.gif new file mode 100644 index 0000000..a9fef7e Binary files /dev/null and b/i/sh/wis_air_def1.gif differ diff --git a/i/sh/wis_air_def2.gif b/i/sh/wis_air_def2.gif new file mode 100644 index 0000000..346cd4f Binary files /dev/null and b/i/sh/wis_air_def2.gif differ diff --git a/i/sh/wis_air_def3.gif b/i/sh/wis_air_def3.gif new file mode 100644 index 0000000..3f7a3b7 Binary files /dev/null and b/i/sh/wis_air_def3.gif differ diff --git a/i/sh/wis_air_h1.gif b/i/sh/wis_air_h1.gif new file mode 100644 index 0000000..5359fe5 Binary files /dev/null and b/i/sh/wis_air_h1.gif differ diff --git a/i/sh/wis_air_h2.gif b/i/sh/wis_air_h2.gif new file mode 100644 index 0000000..489016f Binary files /dev/null and b/i/sh/wis_air_h2.gif differ diff --git a/i/sh/wis_air_h3.gif b/i/sh/wis_air_h3.gif new file mode 100644 index 0000000..2acdfbf Binary files /dev/null and b/i/sh/wis_air_h3.gif differ diff --git a/i/sh/wis_air_m1.gif b/i/sh/wis_air_m1.gif new file mode 100644 index 0000000..e4fff34 Binary files /dev/null and b/i/sh/wis_air_m1.gif differ diff --git a/i/sh/wis_air_m2.gif b/i/sh/wis_air_m2.gif new file mode 100644 index 0000000..e94966d Binary files /dev/null and b/i/sh/wis_air_m2.gif differ diff --git a/i/sh/wis_air_m3.gif b/i/sh/wis_air_m3.gif new file mode 100644 index 0000000..0d4cd47 Binary files /dev/null and b/i/sh/wis_air_m3.gif differ diff --git a/i/sh/wis_air_o1.gif b/i/sh/wis_air_o1.gif new file mode 100644 index 0000000..acdc6f3 Binary files /dev/null and b/i/sh/wis_air_o1.gif differ diff --git a/i/sh/wis_air_o2.gif b/i/sh/wis_air_o2.gif new file mode 100644 index 0000000..7246a6a Binary files /dev/null and b/i/sh/wis_air_o2.gif differ diff --git a/i/sh/wis_air_o3.gif b/i/sh/wis_air_o3.gif new file mode 100644 index 0000000..58e1c27 Binary files /dev/null and b/i/sh/wis_air_o3.gif differ diff --git a/i/sh/wis_air_t1.gif b/i/sh/wis_air_t1.gif new file mode 100644 index 0000000..4393435 Binary files /dev/null and b/i/sh/wis_air_t1.gif differ diff --git a/i/sh/wis_air_t2.gif b/i/sh/wis_air_t2.gif new file mode 100644 index 0000000..d49025b Binary files /dev/null and b/i/sh/wis_air_t2.gif differ diff --git a/i/sh/wis_air_t3.gif b/i/sh/wis_air_t3.gif new file mode 100644 index 0000000..89bdd4a Binary files /dev/null and b/i/sh/wis_air_t3.gif differ diff --git a/i/sh/wis_earth_d1.gif b/i/sh/wis_earth_d1.gif new file mode 100644 index 0000000..55898de Binary files /dev/null and b/i/sh/wis_earth_d1.gif differ diff --git a/i/sh/wis_earth_d2.gif b/i/sh/wis_earth_d2.gif new file mode 100644 index 0000000..e8d5689 Binary files /dev/null and b/i/sh/wis_earth_d2.gif differ diff --git a/i/sh/wis_earth_d3.gif b/i/sh/wis_earth_d3.gif new file mode 100644 index 0000000..be4855a Binary files /dev/null and b/i/sh/wis_earth_d3.gif differ diff --git a/i/sh/wis_earth_def1.gif b/i/sh/wis_earth_def1.gif new file mode 100644 index 0000000..56d0ac8 Binary files /dev/null and b/i/sh/wis_earth_def1.gif differ diff --git a/i/sh/wis_earth_def2.gif b/i/sh/wis_earth_def2.gif new file mode 100644 index 0000000..dc62565 Binary files /dev/null and b/i/sh/wis_earth_def2.gif differ diff --git a/i/sh/wis_earth_def3.gif b/i/sh/wis_earth_def3.gif new file mode 100644 index 0000000..f9a826a Binary files /dev/null and b/i/sh/wis_earth_def3.gif differ diff --git a/i/sh/wis_earth_g1.gif b/i/sh/wis_earth_g1.gif new file mode 100644 index 0000000..c896aa3 Binary files /dev/null and b/i/sh/wis_earth_g1.gif differ diff --git a/i/sh/wis_earth_g2.gif b/i/sh/wis_earth_g2.gif new file mode 100644 index 0000000..70587e4 Binary files /dev/null and b/i/sh/wis_earth_g2.gif differ diff --git a/i/sh/wis_earth_g3.gif b/i/sh/wis_earth_g3.gif new file mode 100644 index 0000000..f1cd33e Binary files /dev/null and b/i/sh/wis_earth_g3.gif differ diff --git a/i/sh/wis_earth_k1.gif b/i/sh/wis_earth_k1.gif new file mode 100644 index 0000000..6d2143e Binary files /dev/null and b/i/sh/wis_earth_k1.gif differ diff --git a/i/sh/wis_earth_k2.gif b/i/sh/wis_earth_k2.gif new file mode 100644 index 0000000..23b9cec Binary files /dev/null and b/i/sh/wis_earth_k2.gif differ diff --git a/i/sh/wis_earth_k3.gif b/i/sh/wis_earth_k3.gif new file mode 100644 index 0000000..d50cf33 Binary files /dev/null and b/i/sh/wis_earth_k3.gif differ diff --git a/i/sh/wis_earth_m1.gif b/i/sh/wis_earth_m1.gif new file mode 100644 index 0000000..d04126e Binary files /dev/null and b/i/sh/wis_earth_m1.gif differ diff --git a/i/sh/wis_earth_m2.gif b/i/sh/wis_earth_m2.gif new file mode 100644 index 0000000..01a57c2 Binary files /dev/null and b/i/sh/wis_earth_m2.gif differ diff --git a/i/sh/wis_earth_m3.gif b/i/sh/wis_earth_m3.gif new file mode 100644 index 0000000..bb101b6 Binary files /dev/null and b/i/sh/wis_earth_m3.gif differ diff --git a/i/sh/wis_fire_def1.gif b/i/sh/wis_fire_def1.gif new file mode 100644 index 0000000..7f65035 Binary files /dev/null and b/i/sh/wis_fire_def1.gif differ diff --git a/i/sh/wis_fire_def2.gif b/i/sh/wis_fire_def2.gif new file mode 100644 index 0000000..0d4a56c Binary files /dev/null and b/i/sh/wis_fire_def2.gif differ diff --git a/i/sh/wis_fire_def3.gif b/i/sh/wis_fire_def3.gif new file mode 100644 index 0000000..04ca1f7 Binary files /dev/null and b/i/sh/wis_fire_def3.gif differ diff --git a/i/sh/wis_fire_i1.gif b/i/sh/wis_fire_i1.gif new file mode 100644 index 0000000..91b54d0 Binary files /dev/null and b/i/sh/wis_fire_i1.gif differ diff --git a/i/sh/wis_fire_i2.gif b/i/sh/wis_fire_i2.gif new file mode 100644 index 0000000..caec491 Binary files /dev/null and b/i/sh/wis_fire_i2.gif differ diff --git a/i/sh/wis_fire_i3.gif b/i/sh/wis_fire_i3.gif new file mode 100644 index 0000000..a2ce0f1 Binary files /dev/null and b/i/sh/wis_fire_i3.gif differ diff --git a/i/sh/wis_fire_p1.gif b/i/sh/wis_fire_p1.gif new file mode 100644 index 0000000..61a7e47 Binary files /dev/null and b/i/sh/wis_fire_p1.gif differ diff --git a/i/sh/wis_fire_p2.gif b/i/sh/wis_fire_p2.gif new file mode 100644 index 0000000..2629e7b Binary files /dev/null and b/i/sh/wis_fire_p2.gif differ diff --git a/i/sh/wis_fire_p3.gif b/i/sh/wis_fire_p3.gif new file mode 100644 index 0000000..a2f329d Binary files /dev/null and b/i/sh/wis_fire_p3.gif differ diff --git a/i/sh/wis_fire_t1.gif b/i/sh/wis_fire_t1.gif new file mode 100644 index 0000000..e68a9bc Binary files /dev/null and b/i/sh/wis_fire_t1.gif differ diff --git a/i/sh/wis_fire_t2.gif b/i/sh/wis_fire_t2.gif new file mode 100644 index 0000000..0ae42c1 Binary files /dev/null and b/i/sh/wis_fire_t2.gif differ diff --git a/i/sh/wis_fire_t3.gif b/i/sh/wis_fire_t3.gif new file mode 100644 index 0000000..ce72039 Binary files /dev/null and b/i/sh/wis_fire_t3.gif differ diff --git a/i/sh/wis_fire_v1.gif b/i/sh/wis_fire_v1.gif new file mode 100644 index 0000000..cf00b95 Binary files /dev/null and b/i/sh/wis_fire_v1.gif differ diff --git a/i/sh/wis_fire_v2.gif b/i/sh/wis_fire_v2.gif new file mode 100644 index 0000000..69348f7 Binary files /dev/null and b/i/sh/wis_fire_v2.gif differ diff --git a/i/sh/wis_fire_v3.gif b/i/sh/wis_fire_v3.gif new file mode 100644 index 0000000..4363918 Binary files /dev/null and b/i/sh/wis_fire_v3.gif differ diff --git a/i/sh/wis_water_ch1.gif b/i/sh/wis_water_ch1.gif new file mode 100644 index 0000000..c13e2c5 Binary files /dev/null and b/i/sh/wis_water_ch1.gif differ diff --git a/i/sh/wis_water_ch2.gif b/i/sh/wis_water_ch2.gif new file mode 100644 index 0000000..5f500df Binary files /dev/null and b/i/sh/wis_water_ch2.gif differ diff --git a/i/sh/wis_water_ch3.gif b/i/sh/wis_water_ch3.gif new file mode 100644 index 0000000..7a33ce0 Binary files /dev/null and b/i/sh/wis_water_ch3.gif differ diff --git a/i/sh/wis_water_def1.gif b/i/sh/wis_water_def1.gif new file mode 100644 index 0000000..779be4a Binary files /dev/null and b/i/sh/wis_water_def1.gif differ diff --git a/i/sh/wis_water_def2.gif b/i/sh/wis_water_def2.gif new file mode 100644 index 0000000..dd15c15 Binary files /dev/null and b/i/sh/wis_water_def2.gif differ diff --git a/i/sh/wis_water_def3.gif b/i/sh/wis_water_def3.gif new file mode 100644 index 0000000..21b3061 Binary files /dev/null and b/i/sh/wis_water_def3.gif differ diff --git a/i/sh/wis_water_o1.gif b/i/sh/wis_water_o1.gif new file mode 100644 index 0000000..9d3fb1e Binary files /dev/null and b/i/sh/wis_water_o1.gif differ diff --git a/i/sh/wis_water_o2.gif b/i/sh/wis_water_o2.gif new file mode 100644 index 0000000..478775b Binary files /dev/null and b/i/sh/wis_water_o2.gif differ diff --git a/i/sh/wis_water_o3.gif b/i/sh/wis_water_o3.gif new file mode 100644 index 0000000..431943a Binary files /dev/null and b/i/sh/wis_water_o3.gif differ diff --git a/i/sh/wis_water_r1.gif b/i/sh/wis_water_r1.gif new file mode 100644 index 0000000..1959635 Binary files /dev/null and b/i/sh/wis_water_r1.gif differ diff --git a/i/sh/wis_water_r2.gif b/i/sh/wis_water_r2.gif new file mode 100644 index 0000000..215ba34 Binary files /dev/null and b/i/sh/wis_water_r2.gif differ diff --git a/i/sh/wis_water_r3.gif b/i/sh/wis_water_r3.gif new file mode 100644 index 0000000..afbf4db Binary files /dev/null and b/i/sh/wis_water_r3.gif differ diff --git a/i/sh/wis_water_tr1.gif b/i/sh/wis_water_tr1.gif new file mode 100644 index 0000000..1bb3647 Binary files /dev/null and b/i/sh/wis_water_tr1.gif differ diff --git a/i/sh/wis_water_tr2.gif b/i/sh/wis_water_tr2.gif new file mode 100644 index 0000000..2d3b7cc Binary files /dev/null and b/i/sh/wis_water_tr2.gif differ diff --git a/i/sh/wis_water_tr3.gif b/i/sh/wis_water_tr3.gif new file mode 100644 index 0000000..10533db Binary files /dev/null and b/i/sh/wis_water_tr3.gif differ diff --git a/i/sh/wow.gif b/i/sh/wow.gif new file mode 100644 index 0000000..9c98fd0 Binary files /dev/null and b/i/sh/wow.gif differ diff --git a/i/sh/yrose1.gif b/i/sh/yrose1.gif new file mode 100644 index 0000000..1af1239 Binary files /dev/null and b/i/sh/yrose1.gif differ diff --git a/i/sh/yrose21.gif b/i/sh/yrose21.gif new file mode 100644 index 0000000..db12742 Binary files /dev/null and b/i/sh/yrose21.gif differ diff --git a/i/sh/yrose3.gif b/i/sh/yrose3.gif new file mode 100644 index 0000000..ff7f5ba Binary files /dev/null and b/i/sh/yrose3.gif differ diff --git a/i/sh/yrose5.gif b/i/sh/yrose5.gif new file mode 100644 index 0000000..c3c6857 Binary files /dev/null and b/i/sh/yrose5.gif differ diff --git a/i/sh/yrose7.gif b/i/sh/yrose7.gif new file mode 100644 index 0000000..89ac0d5 Binary files /dev/null and b/i/sh/yrose7.gif differ diff --git a/i/sh/yrose9.gif b/i/sh/yrose9.gif new file mode 100644 index 0000000..1b45cac Binary files /dev/null and b/i/sh/yrose9.gif differ diff --git a/i/sh/zachpergam.gif b/i/sh/zachpergam.gif new file mode 100644 index 0000000..cd5b6d1 Binary files /dev/null and b/i/sh/zachpergam.gif differ diff --git a/i/sh/zajigalka.gif b/i/sh/zajigalka.gif new file mode 100644 index 0000000..c57a409 Binary files /dev/null and b/i/sh/zajigalka.gif differ diff --git a/i/sh/zhelt.gif b/i/sh/zhelt.gif new file mode 100644 index 0000000..b2dad7e Binary files /dev/null and b/i/sh/zhelt.gif differ diff --git a/i/sh/ziton.gif b/i/sh/ziton.gif new file mode 100644 index 0000000..88d4786 Binary files /dev/null and b/i/sh/ziton.gif differ diff --git a/i/sh/zub1010016.gif b/i/sh/zub1010016.gif new file mode 100644 index 0000000..c5eb04d Binary files /dev/null and b/i/sh/zub1010016.gif differ diff --git a/i/sh/zz2.gif b/i/sh/zz2.gif new file mode 100644 index 0000000..44ebabf Binary files /dev/null and b/i/sh/zz2.gif differ diff --git a/i/sh/zz3.gif b/i/sh/zz3.gif new file mode 100644 index 0000000..44ebabf Binary files /dev/null and b/i/sh/zz3.gif differ diff --git a/i/sh/zz4 (1).gif b/i/sh/zz4 (1).gif new file mode 100644 index 0000000..44ebabf Binary files /dev/null and b/i/sh/zz4 (1).gif differ diff --git a/i/sh/zz4.gif b/i/sh/zz4.gif new file mode 100644 index 0000000..44ebabf Binary files /dev/null and b/i/sh/zz4.gif differ diff --git a/i/sh/zz5.gif b/i/sh/zz5.gif new file mode 100644 index 0000000..44ebabf Binary files /dev/null and b/i/sh/zz5.gif differ diff --git a/i/shadow/0.gif b/i/shadow/0.gif new file mode 100644 index 0000000..7c1c549 Binary files /dev/null and b/i/shadow/0.gif differ diff --git a/i/shadow/111.gif b/i/shadow/111.gif new file mode 100644 index 0000000..9265682 Binary files /dev/null and b/i/shadow/111.gif differ diff --git a/i/shadow/15-greatv.gif b/i/shadow/15-greatv.gif new file mode 100644 index 0000000..d7fd561 Binary files /dev/null and b/i/shadow/15-greatv.gif differ diff --git a/i/shadow/2.gif b/i/shadow/2.gif new file mode 100644 index 0000000..e6eda05 Binary files /dev/null and b/i/shadow/2.gif differ diff --git a/i/shadow/20-spawn.gif b/i/shadow/20-spawn.gif new file mode 100644 index 0000000..3a8e183 Binary files /dev/null and b/i/shadow/20-spawn.gif differ diff --git a/i/shadow/2FED.gif b/i/shadow/2FED.gif new file mode 100644 index 0000000..9b7dd4d Binary files /dev/null and b/i/shadow/2FED.gif differ diff --git a/i/shadow/777.gif b/i/shadow/777.gif new file mode 100644 index 0000000..330cfda Binary files /dev/null and b/i/shadow/777.gif differ diff --git a/i/shadow/BOS_warrior.gif b/i/shadow/BOS_warrior.gif new file mode 100644 index 0000000..ab41e03 Binary files /dev/null and b/i/shadow/BOS_warrior.gif differ diff --git a/i/shadow/Jim_Raynor.gif b/i/shadow/Jim_Raynor.gif new file mode 100644 index 0000000..5e0d9b5 Binary files /dev/null and b/i/shadow/Jim_Raynor.gif differ diff --git a/i/shadow/NorthLegion-man.gif b/i/shadow/NorthLegion-man.gif new file mode 100644 index 0000000..a9668c9 Binary files /dev/null and b/i/shadow/NorthLegion-man.gif differ diff --git a/i/shadow/NorthLegion-woman.gif b/i/shadow/NorthLegion-woman.gif new file mode 100644 index 0000000..4ac6839 Binary files /dev/null and b/i/shadow/NorthLegion-woman.gif differ diff --git a/i/shadow/OrionchiK.gif b/i/shadow/OrionchiK.gif new file mode 100644 index 0000000..69164d7 Binary files /dev/null and b/i/shadow/OrionchiK.gif differ diff --git a/i/shadow/Povelitel.gif b/i/shadow/Povelitel.gif new file mode 100644 index 0000000..ac156c5 Binary files /dev/null and b/i/shadow/Povelitel.gif differ diff --git a/i/shadow/Pro_hvost.gif b/i/shadow/Pro_hvost.gif new file mode 100644 index 0000000..842b5c2 Binary files /dev/null and b/i/shadow/Pro_hvost.gif differ diff --git a/i/shadow/Spydey.gif b/i/shadow/Spydey.gif new file mode 100644 index 0000000..cab6f19 Binary files /dev/null and b/i/shadow/Spydey.gif differ diff --git a/i/shadow/Talenor.gif b/i/shadow/Talenor.gif new file mode 100644 index 0000000..390f520 Binary files /dev/null and b/i/shadow/Talenor.gif differ diff --git a/i/shadow/VAMP.gif b/i/shadow/VAMP.gif new file mode 100644 index 0000000..112fd0c Binary files /dev/null and b/i/shadow/VAMP.gif differ diff --git a/i/shadow/Voland.jpg b/i/shadow/Voland.jpg new file mode 100644 index 0000000..214c9db Binary files /dev/null and b/i/shadow/Voland.jpg differ diff --git a/i/shadow/afchnzzv.bmp b/i/shadow/afchnzzv.bmp new file mode 100644 index 0000000..beaf7b9 Binary files /dev/null and b/i/shadow/afchnzzv.bmp differ diff --git a/i/shadow/air_god.gif b/i/shadow/air_god.gif new file mode 100644 index 0000000..4b786fe Binary files /dev/null and b/i/shadow/air_god.gif differ diff --git a/i/shadow/air_godness.gif b/i/shadow/air_godness.gif new file mode 100644 index 0000000..ef6aa4a Binary files /dev/null and b/i/shadow/air_godness.gif differ diff --git a/i/shadow/amfa220.gif b/i/shadow/amfa220.gif new file mode 100644 index 0000000..b99019f Binary files /dev/null and b/i/shadow/amfa220.gif differ diff --git a/i/shadow/anarhist.gif b/i/shadow/anarhist.gif new file mode 100644 index 0000000..8e99296 Binary files /dev/null and b/i/shadow/anarhist.gif differ diff --git a/i/shadow/anim_raden.gif b/i/shadow/anim_raden.gif new file mode 100644 index 0000000..2d195c5 Binary files /dev/null and b/i/shadow/anim_raden.gif differ diff --git a/i/shadow/assasin.gif b/i/shadow/assasin.gif new file mode 100644 index 0000000..8c5cffb Binary files /dev/null and b/i/shadow/assasin.gif differ diff --git a/i/shadow/ava_100.gif b/i/shadow/ava_100.gif new file mode 100644 index 0000000..0cf9fc8 Binary files /dev/null and b/i/shadow/ava_100.gif differ diff --git a/i/shadow/ava_90.gif b/i/shadow/ava_90.gif new file mode 100644 index 0000000..31b3caa Binary files /dev/null and b/i/shadow/ava_90.gif differ diff --git a/i/shadow/ava_91.gif b/i/shadow/ava_91.gif new file mode 100644 index 0000000..9b7c673 Binary files /dev/null and b/i/shadow/ava_91.gif differ diff --git a/i/shadow/ava_92.gif b/i/shadow/ava_92.gif new file mode 100644 index 0000000..7c36c52 Binary files /dev/null and b/i/shadow/ava_92.gif differ diff --git a/i/shadow/ava_94.gif b/i/shadow/ava_94.gif new file mode 100644 index 0000000..7fe766e Binary files /dev/null and b/i/shadow/ava_94.gif differ diff --git a/i/shadow/ava_95.gif b/i/shadow/ava_95.gif new file mode 100644 index 0000000..4606bfc Binary files /dev/null and b/i/shadow/ava_95.gif differ diff --git a/i/shadow/ava_96.gif b/i/shadow/ava_96.gif new file mode 100644 index 0000000..0129bd6 Binary files /dev/null and b/i/shadow/ava_96.gif differ diff --git a/i/shadow/ava_97.gif b/i/shadow/ava_97.gif new file mode 100644 index 0000000..3aa8c89 Binary files /dev/null and b/i/shadow/ava_97.gif differ diff --git a/i/shadow/ava_98.gif b/i/shadow/ava_98.gif new file mode 100644 index 0000000..a8a3eec Binary files /dev/null and b/i/shadow/ava_98.gif differ diff --git a/i/shadow/ava_99.gif b/i/shadow/ava_99.gif new file mode 100644 index 0000000..fd1c8a4 Binary files /dev/null and b/i/shadow/ava_99.gif differ diff --git a/i/shadow/ava_bot_210.gif b/i/shadow/ava_bot_210.gif new file mode 100644 index 0000000..f4ca01e Binary files /dev/null and b/i/shadow/ava_bot_210.gif differ diff --git a/i/shadow/ava_bot_211.gif b/i/shadow/ava_bot_211.gif new file mode 100644 index 0000000..9d16c51 Binary files /dev/null and b/i/shadow/ava_bot_211.gif differ diff --git a/i/shadow/ava_bot_212.gif b/i/shadow/ava_bot_212.gif new file mode 100644 index 0000000..c524d72 Binary files /dev/null and b/i/shadow/ava_bot_212.gif differ diff --git a/i/shadow/ava_bot_213.gif b/i/shadow/ava_bot_213.gif new file mode 100644 index 0000000..81204a6 Binary files /dev/null and b/i/shadow/ava_bot_213.gif differ diff --git a/i/shadow/ava_bot_214.gif b/i/shadow/ava_bot_214.gif new file mode 100644 index 0000000..8a5aba7 Binary files /dev/null and b/i/shadow/ava_bot_214.gif differ diff --git a/i/shadow/ava_bot_215.gif b/i/shadow/ava_bot_215.gif new file mode 100644 index 0000000..1b31f04 Binary files /dev/null and b/i/shadow/ava_bot_215.gif differ diff --git a/i/shadow/ava_bot_216_217_218.gif b/i/shadow/ava_bot_216_217_218.gif new file mode 100644 index 0000000..9b6b793 Binary files /dev/null and b/i/shadow/ava_bot_216_217_218.gif differ diff --git a/i/shadow/ava_bot_219.gif b/i/shadow/ava_bot_219.gif new file mode 100644 index 0000000..a9c1315 Binary files /dev/null and b/i/shadow/ava_bot_219.gif differ diff --git a/i/shadow/ava_bot_220.gif b/i/shadow/ava_bot_220.gif new file mode 100644 index 0000000..2384bf7 Binary files /dev/null and b/i/shadow/ava_bot_220.gif differ diff --git a/i/shadow/ava_bot_221.gif b/i/shadow/ava_bot_221.gif new file mode 100644 index 0000000..49e025a Binary files /dev/null and b/i/shadow/ava_bot_221.gif differ diff --git a/i/shadow/ava_bot_222.gif b/i/shadow/ava_bot_222.gif new file mode 100644 index 0000000..95cf85a Binary files /dev/null and b/i/shadow/ava_bot_222.gif differ diff --git a/i/shadow/ava_bot_223.gif b/i/shadow/ava_bot_223.gif new file mode 100644 index 0000000..545c01e Binary files /dev/null and b/i/shadow/ava_bot_223.gif differ diff --git a/i/shadow/ava_bot_224.gif b/i/shadow/ava_bot_224.gif new file mode 100644 index 0000000..4eb2673 Binary files /dev/null and b/i/shadow/ava_bot_224.gif differ diff --git a/i/shadow/ava_bot_225.gif b/i/shadow/ava_bot_225.gif new file mode 100644 index 0000000..53fa274 Binary files /dev/null and b/i/shadow/ava_bot_225.gif differ diff --git a/i/shadow/ava_bot_226.gif b/i/shadow/ava_bot_226.gif new file mode 100644 index 0000000..db71aeb Binary files /dev/null and b/i/shadow/ava_bot_226.gif differ diff --git a/i/shadow/ava_bot_227.gif b/i/shadow/ava_bot_227.gif new file mode 100644 index 0000000..c1fb5ec Binary files /dev/null and b/i/shadow/ava_bot_227.gif differ diff --git a/i/shadow/ava_bot_228.gif b/i/shadow/ava_bot_228.gif new file mode 100644 index 0000000..dc8a89f Binary files /dev/null and b/i/shadow/ava_bot_228.gif differ diff --git a/i/shadow/axeman.gif b/i/shadow/axeman.gif new file mode 100644 index 0000000..b0ceab3 Binary files /dev/null and b/i/shadow/axeman.gif differ diff --git a/i/shadow/bard.gif b/i/shadow/bard.gif new file mode 100644 index 0000000..62b77fe Binary files /dev/null and b/i/shadow/bard.gif differ diff --git a/i/shadow/battle_golem.gif b/i/shadow/battle_golem.gif new file mode 100644 index 0000000..b8fad9d Binary files /dev/null and b/i/shadow/battle_golem.gif differ diff --git a/i/shadow/chaos_adept.gif b/i/shadow/chaos_adept.gif new file mode 100644 index 0000000..637043f Binary files /dev/null and b/i/shadow/chaos_adept.gif differ diff --git a/i/shadow/cyc210.gif b/i/shadow/cyc210.gif new file mode 100644 index 0000000..aae2f90 Binary files /dev/null and b/i/shadow/cyc210.gif differ diff --git a/i/shadow/cyc211.gif b/i/shadow/cyc211.gif new file mode 100644 index 0000000..f10d349 Binary files /dev/null and b/i/shadow/cyc211.gif differ diff --git a/i/shadow/cyc212.gif b/i/shadow/cyc212.gif new file mode 100644 index 0000000..de147f0 Binary files /dev/null and b/i/shadow/cyc212.gif differ diff --git a/i/shadow/cyc221.gif b/i/shadow/cyc221.gif new file mode 100644 index 0000000..2a1f63b Binary files /dev/null and b/i/shadow/cyc221.gif differ diff --git a/i/shadow/damn_lady.gif b/i/shadow/damn_lady.gif new file mode 100644 index 0000000..3b214b2 Binary files /dev/null and b/i/shadow/damn_lady.gif differ diff --git a/i/shadow/dark_fighter.gif b/i/shadow/dark_fighter.gif new file mode 100644 index 0000000..500c589 Binary files /dev/null and b/i/shadow/dark_fighter.gif differ diff --git a/i/shadow/dead_warrior.gif b/i/shadow/dead_warrior.gif new file mode 100644 index 0000000..4ec5f18 Binary files /dev/null and b/i/shadow/dead_warrior.gif differ diff --git a/i/shadow/death_king.gif b/i/shadow/death_king.gif new file mode 100644 index 0000000..a1eead1 Binary files /dev/null and b/i/shadow/death_king.gif differ diff --git a/i/shadow/diva.gif b/i/shadow/diva.gif new file mode 100644 index 0000000..6fe37cb Binary files /dev/null and b/i/shadow/diva.gif differ diff --git a/i/shadow/dragon222.gif b/i/shadow/dragon222.gif new file mode 100644 index 0000000..bc59fc3 Binary files /dev/null and b/i/shadow/dragon222.gif differ diff --git a/i/shadow/droid.gif b/i/shadow/droid.gif new file mode 100644 index 0000000..a4b05ac Binary files /dev/null and b/i/shadow/droid.gif differ diff --git a/i/shadow/drow_woman.gif b/i/shadow/drow_woman.gif new file mode 100644 index 0000000..04f023e Binary files /dev/null and b/i/shadow/drow_woman.gif differ diff --git a/i/shadow/earth_god.gif b/i/shadow/earth_god.gif new file mode 100644 index 0000000..852319e Binary files /dev/null and b/i/shadow/earth_god.gif differ diff --git a/i/shadow/earth_godness.gif b/i/shadow/earth_godness.gif new file mode 100644 index 0000000..37d98ea Binary files /dev/null and b/i/shadow/earth_godness.gif differ diff --git a/i/shadow/edrika.gif b/i/shadow/edrika.gif new file mode 100644 index 0000000..db7de3e Binary files /dev/null and b/i/shadow/edrika.gif differ diff --git a/i/shadow/elf_fighter.gif b/i/shadow/elf_fighter.gif new file mode 100644 index 0000000..490c486 Binary files /dev/null and b/i/shadow/elf_fighter.gif differ diff --git a/i/shadow/elfish_axeman.gif b/i/shadow/elfish_axeman.gif new file mode 100644 index 0000000..e703406 Binary files /dev/null and b/i/shadow/elfish_axeman.gif differ diff --git a/i/shadow/elfish_sorceress.gif b/i/shadow/elfish_sorceress.gif new file mode 100644 index 0000000..5da009a Binary files /dev/null and b/i/shadow/elfish_sorceress.gif differ diff --git a/i/shadow/emissar.gif b/i/shadow/emissar.gif new file mode 100644 index 0000000..1ec928d Binary files /dev/null and b/i/shadow/emissar.gif differ diff --git a/i/shadow/ench.jpg b/i/shadow/ench.jpg new file mode 100644 index 0000000..dfaa4f7 Binary files /dev/null and b/i/shadow/ench.jpg differ diff --git a/i/shadow/enchantress.gif b/i/shadow/enchantress.gif new file mode 100644 index 0000000..a4811ae Binary files /dev/null and b/i/shadow/enchantress.gif differ diff --git a/i/shadow/enfant.gif b/i/shadow/enfant.gif new file mode 100644 index 0000000..248c0b0 Binary files /dev/null and b/i/shadow/enfant.gif differ diff --git a/i/shadow/enfant_terrible.gif b/i/shadow/enfant_terrible.gif new file mode 100644 index 0000000..449bb38 Binary files /dev/null and b/i/shadow/enfant_terrible.gif differ diff --git a/i/shadow/fire_god.gif b/i/shadow/fire_god.gif new file mode 100644 index 0000000..7af90b8 Binary files /dev/null and b/i/shadow/fire_god.gif differ diff --git a/i/shadow/fire_godness.gif b/i/shadow/fire_godness.gif new file mode 100644 index 0000000..02a67e8 Binary files /dev/null and b/i/shadow/fire_godness.gif differ diff --git a/i/shadow/g0.gif b/i/shadow/g0.gif new file mode 100644 index 0000000..7c1c549 Binary files /dev/null and b/i/shadow/g0.gif differ diff --git a/i/shadow/g1.91.gif b/i/shadow/g1.91.gif new file mode 100644 index 0000000..20e76d0 Binary files /dev/null and b/i/shadow/g1.91.gif differ diff --git a/i/shadow/g1.gif b/i/shadow/g1.gif new file mode 100644 index 0000000..5bb334c Binary files /dev/null and b/i/shadow/g1.gif differ diff --git a/i/shadow/g10.gif b/i/shadow/g10.gif new file mode 100644 index 0000000..216f48f Binary files /dev/null and b/i/shadow/g10.gif differ diff --git a/i/shadow/g1006.gif b/i/shadow/g1006.gif new file mode 100644 index 0000000..8c6f3ed Binary files /dev/null and b/i/shadow/g1006.gif differ diff --git a/i/shadow/g11.gif b/i/shadow/g11.gif new file mode 100644 index 0000000..51774f4 Binary files /dev/null and b/i/shadow/g11.gif differ diff --git a/i/shadow/g12.gif b/i/shadow/g12.gif new file mode 100644 index 0000000..cdd0993 Binary files /dev/null and b/i/shadow/g12.gif differ diff --git a/i/shadow/g13.gif b/i/shadow/g13.gif new file mode 100644 index 0000000..b54afed Binary files /dev/null and b/i/shadow/g13.gif differ diff --git a/i/shadow/g14.gif b/i/shadow/g14.gif new file mode 100644 index 0000000..13d9b4f Binary files /dev/null and b/i/shadow/g14.gif differ diff --git a/i/shadow/g15.gif b/i/shadow/g15.gif new file mode 100644 index 0000000..ca2f00a Binary files /dev/null and b/i/shadow/g15.gif differ diff --git a/i/shadow/g16.gif b/i/shadow/g16.gif new file mode 100644 index 0000000..a7dc7b8 Binary files /dev/null and b/i/shadow/g16.gif differ diff --git a/i/shadow/g17.gif b/i/shadow/g17.gif new file mode 100644 index 0000000..ad164b1 Binary files /dev/null and b/i/shadow/g17.gif differ diff --git a/i/shadow/g2.gif b/i/shadow/g2.gif new file mode 100644 index 0000000..c71e8b7 Binary files /dev/null and b/i/shadow/g2.gif differ diff --git a/i/shadow/g3.gif b/i/shadow/g3.gif new file mode 100644 index 0000000..2a1b5ad Binary files /dev/null and b/i/shadow/g3.gif differ diff --git a/i/shadow/g4.gif b/i/shadow/g4.gif new file mode 100644 index 0000000..7835bc2 Binary files /dev/null and b/i/shadow/g4.gif differ diff --git a/i/shadow/g5.gif b/i/shadow/g5.gif new file mode 100644 index 0000000..b17f156 Binary files /dev/null and b/i/shadow/g5.gif differ diff --git a/i/shadow/g6.gif b/i/shadow/g6.gif new file mode 100644 index 0000000..7c8eaf3 Binary files /dev/null and b/i/shadow/g6.gif differ diff --git a/i/shadow/g7.gif b/i/shadow/g7.gif new file mode 100644 index 0000000..2a02252 Binary files /dev/null and b/i/shadow/g7.gif differ diff --git a/i/shadow/g8.gif b/i/shadow/g8.gif new file mode 100644 index 0000000..4550927 Binary files /dev/null and b/i/shadow/g8.gif differ diff --git a/i/shadow/g9.gif b/i/shadow/g9.gif new file mode 100644 index 0000000..62ae2f9 Binary files /dev/null and b/i/shadow/g9.gif differ diff --git a/i/shadow/g_brotherhoodofsteel.gif b/i/shadow/g_brotherhoodofsteel.gif new file mode 100644 index 0000000..5d33089 Binary files /dev/null and b/i/shadow/g_brotherhoodofsteel.gif differ diff --git a/i/shadow/g_lerchik.gif b/i/shadow/g_lerchik.gif new file mode 100644 index 0000000..d71d8d2 Binary files /dev/null and b/i/shadow/g_lerchik.gif differ diff --git a/i/shadow/g_tanita.gif b/i/shadow/g_tanita.gif new file mode 100644 index 0000000..246f244 Binary files /dev/null and b/i/shadow/g_tanita.gif differ diff --git a/i/shadow/gblackprincess.gif b/i/shadow/gblackprincess.gif new file mode 100644 index 0000000..ae33a97 Binary files /dev/null and b/i/shadow/gblackprincess.gif differ diff --git a/i/shadow/gflei-ta.gif b/i/shadow/gflei-ta.gif new file mode 100644 index 0000000..4c36756 Binary files /dev/null and b/i/shadow/gflei-ta.gif differ diff --git a/i/shadow/ghost.gif b/i/shadow/ghost.gif new file mode 100644 index 0000000..0b48b4d Binary files /dev/null and b/i/shadow/ghost.gif differ diff --git a/i/shadow/giant225.gif b/i/shadow/giant225.gif new file mode 100644 index 0000000..dd42c07 Binary files /dev/null and b/i/shadow/giant225.gif differ diff --git a/i/shadow/giant226.gif b/i/shadow/giant226.gif new file mode 100644 index 0000000..f80ba92 Binary files /dev/null and b/i/shadow/giant226.gif differ diff --git a/i/shadow/gmib.gif b/i/shadow/gmib.gif new file mode 100644 index 0000000..f07f9cd Binary files /dev/null and b/i/shadow/gmib.gif differ diff --git a/i/shadow/gprudens.gif b/i/shadow/gprudens.gif new file mode 100644 index 0000000..a7dbceb Binary files /dev/null and b/i/shadow/gprudens.gif differ diff --git a/i/shadow/great_vitless.gif b/i/shadow/great_vitless.gif new file mode 100644 index 0000000..8c2a346 Binary files /dev/null and b/i/shadow/great_vitless.gif differ diff --git a/i/shadow/grif227.gif b/i/shadow/grif227.gif new file mode 100644 index 0000000..a271aea Binary files /dev/null and b/i/shadow/grif227.gif differ diff --git a/i/shadow/harpia219.gif b/i/shadow/harpia219.gif new file mode 100644 index 0000000..531aa17 Binary files /dev/null and b/i/shadow/harpia219.gif differ diff --git a/i/shadow/himera223.gif b/i/shadow/himera223.gif new file mode 100644 index 0000000..12cdf52 Binary files /dev/null and b/i/shadow/himera223.gif differ diff --git a/i/shadow/hydra228.gif b/i/shadow/hydra228.gif new file mode 100644 index 0000000..6c2d58e Binary files /dev/null and b/i/shadow/hydra228.gif differ diff --git a/i/shadow/img_296488_t5_d1407586366.gif b/i/shadow/img_296488_t5_d1407586366.gif new file mode 100644 index 0000000..1e237d8 Binary files /dev/null and b/i/shadow/img_296488_t5_d1407586366.gif differ diff --git a/i/shadow/jpg_1.gif b/i/shadow/jpg_1.gif new file mode 100644 index 0000000..743af49 Binary files /dev/null and b/i/shadow/jpg_1.gif differ diff --git a/i/shadow/juan-ti.gif b/i/shadow/juan-ti.gif new file mode 100644 index 0000000..8fd08e7 Binary files /dev/null and b/i/shadow/juan-ti.gif differ diff --git a/i/shadow/klubni4ka.gif b/i/shadow/klubni4ka.gif new file mode 100644 index 0000000..ae298d4 Binary files /dev/null and b/i/shadow/klubni4ka.gif differ diff --git a/i/shadow/knight.gif b/i/shadow/knight.gif new file mode 100644 index 0000000..7d1883a Binary files /dev/null and b/i/shadow/knight.gif differ diff --git a/i/shadow/knight_of_the_light.gif b/i/shadow/knight_of_the_light.gif new file mode 100644 index 0000000..505ce3d Binary files /dev/null and b/i/shadow/knight_of_the_light.gif differ diff --git a/i/shadow/komer.gif b/i/shadow/komer.gif new file mode 100644 index 0000000..f72cd27 Binary files /dev/null and b/i/shadow/komer.gif differ diff --git a/i/shadow/komment.gif b/i/shadow/komment.gif new file mode 100644 index 0000000..39bf1c6 Binary files /dev/null and b/i/shadow/komment.gif differ diff --git a/i/shadow/kupidon.gif b/i/shadow/kupidon.gif new file mode 100644 index 0000000..59e4570 Binary files /dev/null and b/i/shadow/kupidon.gif differ diff --git a/i/shadow/lady_of_the_wind.gif b/i/shadow/lady_of_the_wind.gif new file mode 100644 index 0000000..6f03614 Binary files /dev/null and b/i/shadow/lady_of_the_wind.gif differ diff --git a/i/shadow/ld1.gif b/i/shadow/ld1.gif new file mode 100644 index 0000000..7661b26 Binary files /dev/null and b/i/shadow/ld1.gif differ diff --git a/i/shadow/ledi.gif b/i/shadow/ledi.gif new file mode 100644 index 0000000..158318b Binary files /dev/null and b/i/shadow/ledi.gif differ diff --git a/i/shadow/lynnoe_solnce.gif b/i/shadow/lynnoe_solnce.gif new file mode 100644 index 0000000..156fc20 Binary files /dev/null and b/i/shadow/lynnoe_solnce.gif differ diff --git a/i/shadow/m1.49.gif b/i/shadow/m1.49.gif new file mode 100644 index 0000000..cdc364f Binary files /dev/null and b/i/shadow/m1.49.gif differ diff --git a/i/shadow/m1.91.gif b/i/shadow/m1.91.gif new file mode 100644 index 0000000..624da22 Binary files /dev/null and b/i/shadow/m1.91.gif differ diff --git a/i/shadow/m4.gif b/i/shadow/m4.gif new file mode 100644 index 0000000..3fdeb32 Binary files /dev/null and b/i/shadow/m4.gif differ diff --git a/i/shadow/mDemGirl.gif b/i/shadow/mDemGirl.gif new file mode 100644 index 0000000..cd6fd8b Binary files /dev/null and b/i/shadow/mDemGirl.gif differ diff --git a/i/shadow/mEnchanter.gif b/i/shadow/mEnchanter.gif new file mode 100644 index 0000000..f0d3f13 Binary files /dev/null and b/i/shadow/mEnchanter.gif differ diff --git a/i/shadow/mTarmans.gif b/i/shadow/mTarmans.gif new file mode 100644 index 0000000..47efda6 Binary files /dev/null and b/i/shadow/mTarmans.gif differ diff --git a/i/shadow/m_arhivarius.gif b/i/shadow/m_arhivarius.gif new file mode 100644 index 0000000..d3c187a Binary files /dev/null and b/i/shadow/m_arhivarius.gif differ diff --git a/i/shadow/m_brotherhoodofsteel.gif b/i/shadow/m_brotherhoodofsteel.gif new file mode 100644 index 0000000..c61e52e Binary files /dev/null and b/i/shadow/m_brotherhoodofsteel.gif differ diff --git a/i/shadow/m_chucho.gif b/i/shadow/m_chucho.gif new file mode 100644 index 0000000..f96af17 Binary files /dev/null and b/i/shadow/m_chucho.gif differ diff --git a/i/shadow/m_druid.gif b/i/shadow/m_druid.gif new file mode 100644 index 0000000..8f9cd53 Binary files /dev/null and b/i/shadow/m_druid.gif differ diff --git a/i/shadow/m_evgen.gif b/i/shadow/m_evgen.gif new file mode 100644 index 0000000..80c26b3 Binary files /dev/null and b/i/shadow/m_evgen.gif differ diff --git a/i/shadow/m_jasa.gif b/i/shadow/m_jasa.gif new file mode 100644 index 0000000..ae58e39 Binary files /dev/null and b/i/shadow/m_jasa.gif differ diff --git a/i/shadow/m_michgunz.gif b/i/shadow/m_michgunz.gif new file mode 100644 index 0000000..312403c Binary files /dev/null and b/i/shadow/m_michgunz.gif differ diff --git a/i/shadow/m_mobil.gif b/i/shadow/m_mobil.gif new file mode 100644 index 0000000..4a481e1 Binary files /dev/null and b/i/shadow/m_mobil.gif differ diff --git a/i/shadow/m_valenrod.gif b/i/shadow/m_valenrod.gif new file mode 100644 index 0000000..812f347 Binary files /dev/null and b/i/shadow/m_valenrod.gif differ diff --git a/i/shadow/m_vlaaam.gif b/i/shadow/m_vlaaam.gif new file mode 100644 index 0000000..1e6876d Binary files /dev/null and b/i/shadow/m_vlaaam.gif differ diff --git a/i/shadow/m_witness.gif b/i/shadow/m_witness.gif new file mode 100644 index 0000000..ad21013 Binary files /dev/null and b/i/shadow/m_witness.gif differ diff --git a/i/shadow/m_zakol.gif b/i/shadow/m_zakol.gif new file mode 100644 index 0000000..5cda2f8 Binary files /dev/null and b/i/shadow/m_zakol.gif differ diff --git a/i/shadow/makaj.gif b/i/shadow/makaj.gif new file mode 100644 index 0000000..89f982d Binary files /dev/null and b/i/shadow/makaj.gif differ diff --git a/i/shadow/man0.gif b/i/shadow/man0.gif new file mode 100644 index 0000000..7c1c549 Binary files /dev/null and b/i/shadow/man0.gif differ diff --git a/i/shadow/man1.gif b/i/shadow/man1.gif new file mode 100644 index 0000000..59fc86a Binary files /dev/null and b/i/shadow/man1.gif differ diff --git a/i/shadow/man10.gif b/i/shadow/man10.gif new file mode 100644 index 0000000..06f86af Binary files /dev/null and b/i/shadow/man10.gif differ diff --git a/i/shadow/man11.gif b/i/shadow/man11.gif new file mode 100644 index 0000000..b66def0 Binary files /dev/null and b/i/shadow/man11.gif differ diff --git a/i/shadow/man12.gif b/i/shadow/man12.gif new file mode 100644 index 0000000..bf8e9bc Binary files /dev/null and b/i/shadow/man12.gif differ diff --git a/i/shadow/man13.gif b/i/shadow/man13.gif new file mode 100644 index 0000000..f6360ea Binary files /dev/null and b/i/shadow/man13.gif differ diff --git a/i/shadow/man14.gif b/i/shadow/man14.gif new file mode 100644 index 0000000..ee1cfd2 Binary files /dev/null and b/i/shadow/man14.gif differ diff --git a/i/shadow/man2.gif b/i/shadow/man2.gif new file mode 100644 index 0000000..3fdeb32 Binary files /dev/null and b/i/shadow/man2.gif differ diff --git a/i/shadow/man3.gif b/i/shadow/man3.gif new file mode 100644 index 0000000..bfbf81f Binary files /dev/null and b/i/shadow/man3.gif differ diff --git a/i/shadow/man4.gif b/i/shadow/man4.gif new file mode 100644 index 0000000..73fa8bc Binary files /dev/null and b/i/shadow/man4.gif differ diff --git a/i/shadow/man5.gif b/i/shadow/man5.gif new file mode 100644 index 0000000..da9814f Binary files /dev/null and b/i/shadow/man5.gif differ diff --git a/i/shadow/man6.gif b/i/shadow/man6.gif new file mode 100644 index 0000000..b2f03e4 Binary files /dev/null and b/i/shadow/man6.gif differ diff --git a/i/shadow/man7.gif b/i/shadow/man7.gif new file mode 100644 index 0000000..c8c4a25 Binary files /dev/null and b/i/shadow/man7.gif differ diff --git a/i/shadow/man8.gif b/i/shadow/man8.gif new file mode 100644 index 0000000..c36f57f Binary files /dev/null and b/i/shadow/man8.gif differ diff --git a/i/shadow/man9.gif b/i/shadow/man9.gif new file mode 100644 index 0000000..08b7785 Binary files /dev/null and b/i/shadow/man9.gif differ diff --git a/i/shadow/mdb.gif b/i/shadow/mdb.gif new file mode 100644 index 0000000..6357e94 Binary files /dev/null and b/i/shadow/mdb.gif differ diff --git a/i/shadow/medus213.gif b/i/shadow/medus213.gif new file mode 100644 index 0000000..b97ea9c Binary files /dev/null and b/i/shadow/medus213.gif differ diff --git a/i/shadow/medus214.gif b/i/shadow/medus214.gif new file mode 100644 index 0000000..ed8d168 Binary files /dev/null and b/i/shadow/medus214.gif differ diff --git a/i/shadow/medusa215.gif b/i/shadow/medusa215.gif new file mode 100644 index 0000000..d9eb5e7 Binary files /dev/null and b/i/shadow/medusa215.gif differ diff --git a/i/shadow/mfallen.gif b/i/shadow/mfallen.gif new file mode 100644 index 0000000..b43b6c0 Binary files /dev/null and b/i/shadow/mfallen.gif differ diff --git a/i/shadow/mfallen2.gif b/i/shadow/mfallen2.gif new file mode 100644 index 0000000..09374a0 Binary files /dev/null and b/i/shadow/mfallen2.gif differ diff --git a/i/shadow/mgrem.gif b/i/shadow/mgrem.gif new file mode 100644 index 0000000..e6ee0e2 Binary files /dev/null and b/i/shadow/mgrem.gif differ diff --git a/i/shadow/mh.gif b/i/shadow/mh.gif new file mode 100644 index 0000000..50b4424 Binary files /dev/null and b/i/shadow/mh.gif differ diff --git a/i/shadow/mhrjunchik.gif b/i/shadow/mhrjunchik.gif new file mode 100644 index 0000000..8985020 Binary files /dev/null and b/i/shadow/mhrjunchik.gif differ diff --git a/i/shadow/migel.gif b/i/shadow/migel.gif new file mode 100644 index 0000000..bc125df Binary files /dev/null and b/i/shadow/migel.gif differ diff --git a/i/shadow/minotaur_224.gif b/i/shadow/minotaur_224.gif new file mode 100644 index 0000000..01766a9 Binary files /dev/null and b/i/shadow/minotaur_224.gif differ diff --git a/i/shadow/mirozdatel.gif b/i/shadow/mirozdatel.gif new file mode 100644 index 0000000..0b845e0 Binary files /dev/null and b/i/shadow/mirozdatel.gif differ diff --git a/i/shadow/mk.gif b/i/shadow/mk.gif new file mode 100644 index 0000000..982526d Binary files /dev/null and b/i/shadow/mk.gif differ diff --git a/i/shadow/mkom.gif b/i/shadow/mkom.gif new file mode 100644 index 0000000..af1a1ca Binary files /dev/null and b/i/shadow/mkom.gif differ diff --git a/i/shadow/mkostja.gif b/i/shadow/mkostja.gif new file mode 100644 index 0000000..d866e48 Binary files /dev/null and b/i/shadow/mkostja.gif differ diff --git a/i/shadow/mkostolom.gif b/i/shadow/mkostolom.gif new file mode 100644 index 0000000..3b0bad8 Binary files /dev/null and b/i/shadow/mkostolom.gif differ diff --git a/i/shadow/mmaestro.gif b/i/shadow/mmaestro.gif new file mode 100644 index 0000000..fc9394f Binary files /dev/null and b/i/shadow/mmaestro.gif differ diff --git a/i/shadow/mmagic.gif b/i/shadow/mmagic.gif new file mode 100644 index 0000000..9fbef0b Binary files /dev/null and b/i/shadow/mmagic.gif differ diff --git a/i/shadow/mmahmud.gif b/i/shadow/mmahmud.gif new file mode 100644 index 0000000..f8234ff Binary files /dev/null and b/i/shadow/mmahmud.gif differ diff --git a/i/shadow/mmib.gif b/i/shadow/mmib.gif new file mode 100644 index 0000000..147f2c6 Binary files /dev/null and b/i/shadow/mmib.gif differ diff --git a/i/shadow/mmoloh.gif b/i/shadow/mmoloh.gif new file mode 100644 index 0000000..78524d7 Binary files /dev/null and b/i/shadow/mmoloh.gif differ diff --git a/i/shadow/mneg.gif b/i/shadow/mneg.gif new file mode 100644 index 0000000..9606d0b Binary files /dev/null and b/i/shadow/mneg.gif differ diff --git a/i/shadow/mohotnik.gif b/i/shadow/mohotnik.gif new file mode 100644 index 0000000..7b3fc31 Binary files /dev/null and b/i/shadow/mohotnik.gif differ diff --git a/i/shadow/monster.gif b/i/shadow/monster.gif new file mode 100644 index 0000000..0b217b3 Binary files /dev/null and b/i/shadow/monster.gif differ diff --git a/i/shadow/morok.gif b/i/shadow/morok.gif new file mode 100644 index 0000000..a6658e8 Binary files /dev/null and b/i/shadow/morok.gif differ diff --git a/i/shadow/mpal.gif b/i/shadow/mpal.gif new file mode 100644 index 0000000..cdd26e9 Binary files /dev/null and b/i/shadow/mpal.gif differ diff --git a/i/shadow/mpg.gif b/i/shadow/mpg.gif new file mode 100644 index 0000000..e3c6d5a Binary files /dev/null and b/i/shadow/mpg.gif differ diff --git a/i/shadow/mr1.gif b/i/shadow/mr1.gif new file mode 100644 index 0000000..2d8886b Binary files /dev/null and b/i/shadow/mr1.gif differ diff --git a/i/shadow/mr2.gif b/i/shadow/mr2.gif new file mode 100644 index 0000000..91b6eed Binary files /dev/null and b/i/shadow/mr2.gif differ diff --git a/i/shadow/mr3.gif b/i/shadow/mr3.gif new file mode 100644 index 0000000..80d16c5 Binary files /dev/null and b/i/shadow/mr3.gif differ diff --git a/i/shadow/mr4.gif b/i/shadow/mr4.gif new file mode 100644 index 0000000..a1a2c01 Binary files /dev/null and b/i/shadow/mr4.gif differ diff --git a/i/shadow/msandrik2.gif b/i/shadow/msandrik2.gif new file mode 100644 index 0000000..487e8d2 Binary files /dev/null and b/i/shadow/msandrik2.gif differ diff --git a/i/shadow/mshoto.gif b/i/shadow/mshoto.gif new file mode 100644 index 0000000..b2b48eb Binary files /dev/null and b/i/shadow/mshoto.gif differ diff --git a/i/shadow/msmert.gif b/i/shadow/msmert.gif new file mode 100644 index 0000000..b3a01bf Binary files /dev/null and b/i/shadow/msmert.gif differ diff --git a/i/shadow/msolomon.gif b/i/shadow/msolomon.gif new file mode 100644 index 0000000..6160df5 Binary files /dev/null and b/i/shadow/msolomon.gif differ diff --git a/i/shadow/mtal.gif b/i/shadow/mtal.gif new file mode 100644 index 0000000..8f6ad63 Binary files /dev/null and b/i/shadow/mtal.gif differ diff --git a/i/shadow/mtarkus.gif b/i/shadow/mtarkus.gif new file mode 100644 index 0000000..96ba968 Binary files /dev/null and b/i/shadow/mtarkus.gif differ diff --git a/i/shadow/musorsh_.gif b/i/shadow/musorsh_.gif new file mode 100644 index 0000000..55387cc Binary files /dev/null and b/i/shadow/musorsh_.gif differ diff --git a/i/shadow/musorsik.gif b/i/shadow/musorsik.gif new file mode 100644 index 0000000..f4bf8c4 Binary files /dev/null and b/i/shadow/musorsik.gif differ diff --git a/i/shadow/naugrim.gif b/i/shadow/naugrim.gif new file mode 100644 index 0000000..cba97a0 Binary files /dev/null and b/i/shadow/naugrim.gif differ diff --git a/i/shadow/ninja.gif b/i/shadow/ninja.gif new file mode 100644 index 0000000..61b5b5e Binary files /dev/null and b/i/shadow/ninja.gif differ diff --git a/i/shadow/occultist.gif b/i/shadow/occultist.gif new file mode 100644 index 0000000..dca2a28 Binary files /dev/null and b/i/shadow/occultist.gif differ diff --git a/i/shadow/palladin.gif b/i/shadow/palladin.gif new file mode 100644 index 0000000..75446d8 Binary files /dev/null and b/i/shadow/palladin.gif differ diff --git a/i/shadow/pravitel.gif b/i/shadow/pravitel.gif new file mode 100644 index 0000000..41a9c8d Binary files /dev/null and b/i/shadow/pravitel.gif differ diff --git a/i/shadow/pregator.gif b/i/shadow/pregator.gif new file mode 100644 index 0000000..f6d620b Binary files /dev/null and b/i/shadow/pregator.gif differ diff --git a/i/shadow/premiumm_1.png b/i/shadow/premiumm_1.png new file mode 100644 index 0000000..69bd293 Binary files /dev/null and b/i/shadow/premiumm_1.png differ diff --git a/i/shadow/priestess.gif b/i/shadow/priestess.gif new file mode 100644 index 0000000..c636873 Binary files /dev/null and b/i/shadow/priestess.gif differ diff --git a/i/shadow/prydens.gif b/i/shadow/prydens.gif new file mode 100644 index 0000000..8dff1ed Binary files /dev/null and b/i/shadow/prydens.gif differ diff --git a/i/shadow/q.gif b/i/shadow/q.gif new file mode 100644 index 0000000..81119ff Binary files /dev/null and b/i/shadow/q.gif differ diff --git a/i/shadow/samurai.gif b/i/shadow/samurai.gif new file mode 100644 index 0000000..6dca061 Binary files /dev/null and b/i/shadow/samurai.gif differ diff --git a/i/shadow/shadow_mage.gif b/i/shadow/shadow_mage.gif new file mode 100644 index 0000000..4b9ef90 Binary files /dev/null and b/i/shadow/shadow_mage.gif differ diff --git a/i/shadow/shield_lady.gif b/i/shadow/shield_lady.gif new file mode 100644 index 0000000..4c1ae55 Binary files /dev/null and b/i/shadow/shield_lady.gif differ diff --git a/i/shadow/sorceress.gif b/i/shadow/sorceress.gif new file mode 100644 index 0000000..3c668cd Binary files /dev/null and b/i/shadow/sorceress.gif differ diff --git a/i/shadow/stas.gif b/i/shadow/stas.gif new file mode 100644 index 0000000..4a8ca8b Binary files /dev/null and b/i/shadow/stas.gif differ diff --git a/i/shadow/storuk216.gif b/i/shadow/storuk216.gif new file mode 100644 index 0000000..f73a3f0 Binary files /dev/null and b/i/shadow/storuk216.gif differ diff --git a/i/shadow/sultan.gif b/i/shadow/sultan.gif new file mode 100644 index 0000000..2149e9d Binary files /dev/null and b/i/shadow/sultan.gif differ diff --git a/i/shadow/swordman.gif b/i/shadow/swordman.gif new file mode 100644 index 0000000..36787e3 Binary files /dev/null and b/i/shadow/swordman.gif differ diff --git a/i/shadow/uniq503258_a.gif b/i/shadow/uniq503258_a.gif new file mode 100644 index 0000000..0905593 Binary files /dev/null and b/i/shadow/uniq503258_a.gif differ diff --git a/i/shadow/unnamed.gif b/i/shadow/unnamed.gif new file mode 100644 index 0000000..5516692 Binary files /dev/null and b/i/shadow/unnamed.gif differ diff --git a/i/shadow/vampir-lady.gif b/i/shadow/vampir-lady.gif new file mode 100644 index 0000000..419f3f0 Binary files /dev/null and b/i/shadow/vampir-lady.gif differ diff --git a/i/shadow/vampir.gif b/i/shadow/vampir.gif new file mode 100644 index 0000000..be492bb Binary files /dev/null and b/i/shadow/vampir.gif differ diff --git a/i/shadow/vampirella.gif b/i/shadow/vampirella.gif new file mode 100644 index 0000000..ebace0e Binary files /dev/null and b/i/shadow/vampirella.gif differ diff --git a/i/shadow/w_karioka.gif b/i/shadow/w_karioka.gif new file mode 100644 index 0000000..ba59217 Binary files /dev/null and b/i/shadow/w_karioka.gif differ diff --git a/i/shadow/w_lora.gif b/i/shadow/w_lora.gif new file mode 100644 index 0000000..43f58a8 Binary files /dev/null and b/i/shadow/w_lora.gif differ diff --git a/i/shadow/w_pepelka.gif b/i/shadow/w_pepelka.gif new file mode 100644 index 0000000..c26c4da Binary files /dev/null and b/i/shadow/w_pepelka.gif differ diff --git a/i/shadow/warrior_lady.gif b/i/shadow/warrior_lady.gif new file mode 100644 index 0000000..fb85897 Binary files /dev/null and b/i/shadow/warrior_lady.gif differ diff --git a/i/shadow/water_god.gif b/i/shadow/water_god.gif new file mode 100644 index 0000000..b7ca4f0 Binary files /dev/null and b/i/shadow/water_god.gif differ diff --git a/i/shadow/water_godness.gif b/i/shadow/water_godness.gif new file mode 100644 index 0000000..c481654 Binary files /dev/null and b/i/shadow/water_godness.gif differ diff --git a/i/shadow/witness1.gif b/i/shadow/witness1.gif new file mode 100644 index 0000000..2cd4372 Binary files /dev/null and b/i/shadow/witness1.gif differ diff --git a/i/shadow/witness2.gif b/i/shadow/witness2.gif new file mode 100644 index 0000000..b38a91f Binary files /dev/null and b/i/shadow/witness2.gif differ diff --git a/i/shadow/wizard.gif b/i/shadow/wizard.gif new file mode 100644 index 0000000..c921aff Binary files /dev/null and b/i/shadow/wizard.gif differ diff --git a/i/shadow/yuli.gif b/i/shadow/yuli.gif new file mode 100644 index 0000000..deb3fd8 Binary files /dev/null and b/i/shadow/yuli.gif differ diff --git a/i/shadow/zombie1.gif b/i/shadow/zombie1.gif new file mode 100644 index 0000000..b71d292 Binary files /dev/null and b/i/shadow/zombie1.gif differ diff --git a/i/shiel11.gif b/i/shiel11.gif new file mode 100644 index 0000000..199f490 Binary files /dev/null and b/i/shiel11.gif differ diff --git a/i/shinehelmet.png b/i/shinehelmet.png new file mode 100644 index 0000000..aecde33 Binary files /dev/null and b/i/shinehelmet.png differ diff --git a/i/skeleton/corner_lt.png b/i/skeleton/corner_lt.png new file mode 100644 index 0000000..4597864 Binary files /dev/null and b/i/skeleton/corner_lt.png differ diff --git a/i/skeleton/drink.png b/i/skeleton/drink.png new file mode 100644 index 0000000..1cdef00 Binary files /dev/null and b/i/skeleton/drink.png differ diff --git a/i/skeleton/separator.png b/i/skeleton/separator.png new file mode 100644 index 0000000..bdae24e Binary files /dev/null and b/i/skeleton/separator.png differ diff --git a/i/skeleton/top.png b/i/skeleton/top.png new file mode 100644 index 0000000..f1b6780 Binary files /dev/null and b/i/skeleton/top.png differ diff --git a/i/sleep2.gif b/i/sleep2.gif new file mode 100644 index 0000000..28811db Binary files /dev/null and b/i/sleep2.gif differ diff --git a/i/sleep_obj.gif b/i/sleep_obj.gif new file mode 100644 index 0000000..6581282 Binary files /dev/null and b/i/sleep_obj.gif differ diff --git a/i/slitok.gif b/i/slitok.gif new file mode 100644 index 0000000..63aea70 Binary files /dev/null and b/i/slitok.gif differ diff --git a/i/smile/Thumbs.db b/i/smile/Thumbs.db new file mode 100644 index 0000000..b72c9e9 Binary files /dev/null and b/i/smile/Thumbs.db differ diff --git a/i/smile/agree.gif b/i/smile/agree.gif new file mode 100644 index 0000000..b220cf0 Binary files /dev/null and b/i/smile/agree.gif differ diff --git a/i/smile/alch.gif b/i/smile/alch.gif new file mode 100644 index 0000000..7310aaf Binary files /dev/null and b/i/smile/alch.gif differ diff --git a/i/smile/alien.gif b/i/smile/alien.gif new file mode 100644 index 0000000..5a5b1e1 Binary files /dev/null and b/i/smile/alien.gif differ diff --git a/i/smile/angel.gif b/i/smile/angel.gif new file mode 100644 index 0000000..bc4da26 Binary files /dev/null and b/i/smile/angel.gif differ diff --git a/i/smile/angel2.gif b/i/smile/angel2.gif new file mode 100644 index 0000000..fa6833a Binary files /dev/null and b/i/smile/angel2.gif differ diff --git a/i/smile/baby.gif b/i/smile/baby.gif new file mode 100644 index 0000000..b339d48 Binary files /dev/null and b/i/smile/baby.gif differ diff --git a/i/smile/ball.gif b/i/smile/ball.gif new file mode 100644 index 0000000..34145f1 Binary files /dev/null and b/i/smile/ball.gif differ diff --git a/i/smile/beer.gif b/i/smile/beer.gif new file mode 100644 index 0000000..c7deb30 Binary files /dev/null and b/i/smile/beer.gif differ diff --git a/i/smile/beggar.gif b/i/smile/beggar.gif new file mode 100644 index 0000000..c0f09d7 Binary files /dev/null and b/i/smile/beggar.gif differ diff --git a/i/smile/boks.gif b/i/smile/boks.gif new file mode 100644 index 0000000..fbfc847 Binary files /dev/null and b/i/smile/boks.gif differ diff --git a/i/smile/boks2.gif b/i/smile/boks2.gif new file mode 100644 index 0000000..3961724 Binary files /dev/null and b/i/smile/boks2.gif differ diff --git a/i/smile/bow.gif b/i/smile/bow.gif new file mode 100644 index 0000000..cc27061 Binary files /dev/null and b/i/smile/bow.gif differ diff --git a/i/smile/bye.gif b/i/smile/bye.gif new file mode 100644 index 0000000..c706903 Binary files /dev/null and b/i/smile/bye.gif differ diff --git a/i/smile/carreat.gif b/i/smile/carreat.gif new file mode 100644 index 0000000..884e8f4 Binary files /dev/null and b/i/smile/carreat.gif differ diff --git a/i/smile/cat.gif b/i/smile/cat.gif new file mode 100644 index 0000000..b75a7bc Binary files /dev/null and b/i/smile/cat.gif differ diff --git a/i/smile/chtoza.gif b/i/smile/chtoza.gif new file mode 100644 index 0000000..a0f17e4 Binary files /dev/null and b/i/smile/chtoza.gif differ diff --git a/i/smile/confused.gif b/i/smile/confused.gif new file mode 100644 index 0000000..684b51c Binary files /dev/null and b/i/smile/confused.gif differ diff --git a/i/smile/creator.gif b/i/smile/creator.gif new file mode 100644 index 0000000..19d7c30 Binary files /dev/null and b/i/smile/creator.gif differ diff --git a/i/smile/cry.gif b/i/smile/cry.gif new file mode 100644 index 0000000..11d9a91 Binary files /dev/null and b/i/smile/cry.gif differ diff --git a/i/smile/crying.gif b/i/smile/crying.gif new file mode 100644 index 0000000..f09b14a Binary files /dev/null and b/i/smile/crying.gif differ diff --git a/i/smile/dance1.gif b/i/smile/dance1.gif new file mode 100644 index 0000000..8119ee4 Binary files /dev/null and b/i/smile/dance1.gif differ diff --git a/i/smile/dance2.gif b/i/smile/dance2.gif new file mode 100644 index 0000000..5d5b53d Binary files /dev/null and b/i/smile/dance2.gif differ diff --git a/i/smile/dedmoroz.gif b/i/smile/dedmoroz.gif new file mode 100644 index 0000000..69ec756 Binary files /dev/null and b/i/smile/dedmoroz.gif differ diff --git a/i/smile/devil.gif b/i/smile/devil.gif new file mode 100644 index 0000000..4c24609 Binary files /dev/null and b/i/smile/devil.gif differ diff --git a/i/smile/devka.gif b/i/smile/devka.gif new file mode 100644 index 0000000..8755a67 Binary files /dev/null and b/i/smile/devka.gif differ diff --git a/i/smile/doc.gif b/i/smile/doc.gif new file mode 100644 index 0000000..3f97056 Binary files /dev/null and b/i/smile/doc.gif differ diff --git a/i/smile/doc2.gif b/i/smile/doc2.gif new file mode 100644 index 0000000..e1d5eb1 Binary files /dev/null and b/i/smile/doc2.gif differ diff --git a/i/smile/dont.gif b/i/smile/dont.gif new file mode 100644 index 0000000..9b9f3be Binary files /dev/null and b/i/smile/dont.gif differ diff --git a/i/smile/drink.gif b/i/smile/drink.gif new file mode 100644 index 0000000..e9e6cc8 Binary files /dev/null and b/i/smile/drink.gif differ diff --git a/i/smile/duel.gif b/i/smile/duel.gif new file mode 100644 index 0000000..b8cbe91 Binary files /dev/null and b/i/smile/duel.gif differ diff --git a/i/smile/dustman.gif b/i/smile/dustman.gif new file mode 100644 index 0000000..f548e08 Binary files /dev/null and b/i/smile/dustman.gif differ diff --git a/i/smile/eek.gif b/i/smile/eek.gif new file mode 100644 index 0000000..98ca422 Binary files /dev/null and b/i/smile/eek.gif differ diff --git a/i/smile/elix.gif b/i/smile/elix.gif new file mode 100644 index 0000000..7440528 Binary files /dev/null and b/i/smile/elix.gif differ diff --git a/i/smile/fie.gif b/i/smile/fie.gif new file mode 100644 index 0000000..abc0089 Binary files /dev/null and b/i/smile/fie.gif differ diff --git a/i/smile/fingal.gif b/i/smile/fingal.gif new file mode 100644 index 0000000..0c23d90 Binary files /dev/null and b/i/smile/fingal.gif differ diff --git a/i/smile/fire.gif b/i/smile/fire.gif new file mode 100644 index 0000000..cc43735 Binary files /dev/null and b/i/smile/fire.gif differ diff --git a/i/smile/flowers.gif b/i/smile/flowers.gif new file mode 100644 index 0000000..8c102ed Binary files /dev/null and b/i/smile/flowers.gif differ diff --git a/i/smile/friday.gif b/i/smile/friday.gif new file mode 100644 index 0000000..94cdff7 Binary files /dev/null and b/i/smile/friday.gif differ diff --git a/i/smile/fuck.gif b/i/smile/fuck.gif new file mode 100644 index 0000000..53a8604 Binary files /dev/null and b/i/smile/fuck.gif differ diff --git a/i/smile/gent.gif b/i/smile/gent.gif new file mode 100644 index 0000000..eb401ad Binary files /dev/null and b/i/smile/gent.gif differ diff --git a/i/smile/grace.gif b/i/smile/grace.gif new file mode 100644 index 0000000..65fc29b Binary files /dev/null and b/i/smile/grace.gif differ diff --git a/i/smile/grenade.gif b/i/smile/grenade.gif new file mode 100644 index 0000000..43adc27 Binary files /dev/null and b/i/smile/grenade.gif differ diff --git a/i/smile/grust.gif b/i/smile/grust.gif new file mode 100644 index 0000000..3b55fd9 Binary files /dev/null and b/i/smile/grust.gif differ diff --git a/i/smile/gun.gif b/i/smile/gun.gif new file mode 100644 index 0000000..0988902 Binary files /dev/null and b/i/smile/gun.gif differ diff --git a/i/smile/hello.gif b/i/smile/hello.gif new file mode 100644 index 0000000..40967cf Binary files /dev/null and b/i/smile/hello.gif differ diff --git a/i/smile/help.gif b/i/smile/help.gif new file mode 100644 index 0000000..2744db1 Binary files /dev/null and b/i/smile/help.gif differ diff --git a/i/smile/hi.gif b/i/smile/hi.gif new file mode 100644 index 0000000..1ed84ea Binary files /dev/null and b/i/smile/hi.gif differ diff --git a/i/smile/hlw.gif b/i/smile/hlw.gif new file mode 100644 index 0000000..5d0b6c1 Binary files /dev/null and b/i/smile/hlw.gif differ diff --git a/i/smile/horse.gif b/i/smile/horse.gif new file mode 100644 index 0000000..1ec7b7e Binary files /dev/null and b/i/smile/horse.gif differ diff --git a/i/smile/hug.gif b/i/smile/hug.gif new file mode 100644 index 0000000..7d03a2f Binary files /dev/null and b/i/smile/hug.gif differ diff --git a/i/smile/idea.gif b/i/smile/idea.gif new file mode 100644 index 0000000..7327a12 Binary files /dev/null and b/i/smile/idea.gif differ diff --git a/i/smile/inv.gif b/i/smile/inv.gif new file mode 100644 index 0000000..ee93545 Binary files /dev/null and b/i/smile/inv.gif differ diff --git a/i/smile/invis.gif b/i/smile/invis.gif new file mode 100644 index 0000000..db39101 Binary files /dev/null and b/i/smile/invis.gif differ diff --git a/i/smile/jeer.gif b/i/smile/jeer.gif new file mode 100644 index 0000000..db4a1fb Binary files /dev/null and b/i/smile/jeer.gif differ diff --git a/i/smile/king.gif b/i/smile/king.gif new file mode 100644 index 0000000..b3e710c Binary files /dev/null and b/i/smile/king.gif differ diff --git a/i/smile/king2.gif b/i/smile/king2.gif new file mode 100644 index 0000000..0a38c4c Binary files /dev/null and b/i/smile/king2.gif differ diff --git a/i/smile/kiss.gif b/i/smile/kiss.gif new file mode 100644 index 0000000..6052ec7 Binary files /dev/null and b/i/smile/kiss.gif differ diff --git a/i/smile/kiss2.gif b/i/smile/kiss2.gif new file mode 100644 index 0000000..7df21ab Binary files /dev/null and b/i/smile/kiss2.gif differ diff --git a/i/smile/kiss3.gif b/i/smile/kiss3.gif new file mode 100644 index 0000000..21692a5 Binary files /dev/null and b/i/smile/kiss3.gif differ diff --git a/i/smile/kiss4.gif b/i/smile/kiss4.gif new file mode 100644 index 0000000..817000f Binary files /dev/null and b/i/smile/kiss4.gif differ diff --git a/i/smile/kruger.gif b/i/smile/kruger.gif new file mode 100644 index 0000000..1778862 Binary files /dev/null and b/i/smile/kruger.gif differ diff --git a/i/smile/lady.gif b/i/smile/lady.gif new file mode 100644 index 0000000..113bcb2 Binary files /dev/null and b/i/smile/lady.gif differ diff --git a/i/smile/laugh.gif b/i/smile/laugh.gif new file mode 100644 index 0000000..7f08179 Binary files /dev/null and b/i/smile/laugh.gif differ diff --git a/i/smile/lick.gif b/i/smile/lick.gif new file mode 100644 index 0000000..1599ddf Binary files /dev/null and b/i/smile/lick.gif differ diff --git a/i/smile/lightfly.gif b/i/smile/lightfly.gif new file mode 100644 index 0000000..591915b Binary files /dev/null and b/i/smile/lightfly.gif differ diff --git a/i/smile/lordhaos.gif b/i/smile/lordhaos.gif new file mode 100644 index 0000000..41b7088 Binary files /dev/null and b/i/smile/lordhaos.gif differ diff --git a/i/smile/love.gif b/i/smile/love.gif new file mode 100644 index 0000000..bc44e9f Binary files /dev/null and b/i/smile/love.gif differ diff --git a/i/smile/love2.gif b/i/smile/love2.gif new file mode 100644 index 0000000..f629b00 Binary files /dev/null and b/i/smile/love2.gif differ diff --git a/i/smile/loveya.gif b/i/smile/loveya.gif new file mode 100644 index 0000000..d357edf Binary files /dev/null and b/i/smile/loveya.gif differ diff --git a/i/smile/mad.gif b/i/smile/mad.gif new file mode 100644 index 0000000..a38492b Binary files /dev/null and b/i/smile/mad.gif differ diff --git a/i/smile/mag.gif b/i/smile/mag.gif new file mode 100644 index 0000000..a3d155b Binary files /dev/null and b/i/smile/mag.gif differ diff --git a/i/smile/maniac.gif b/i/smile/maniac.gif new file mode 100644 index 0000000..d585b58 Binary files /dev/null and b/i/smile/maniac.gif differ diff --git a/i/smile/mdr.gif b/i/smile/mdr.gif new file mode 100644 index 0000000..9a60e61 Binary files /dev/null and b/i/smile/mdr.gif differ diff --git a/i/smile/mol.gif b/i/smile/mol.gif new file mode 100644 index 0000000..41602c9 Binary files /dev/null and b/i/smile/mol.gif differ diff --git a/i/smile/naem.gif b/i/smile/naem.gif new file mode 100644 index 0000000..ca9d934 Binary files /dev/null and b/i/smile/naem.gif differ diff --git a/i/smile/naem2.gif b/i/smile/naem2.gif new file mode 100644 index 0000000..3d6884a Binary files /dev/null and b/i/smile/naem2.gif differ diff --git a/i/smile/naem3.gif b/i/smile/naem3.gif new file mode 100644 index 0000000..6926d2f Binary files /dev/null and b/i/smile/naem3.gif differ diff --git a/i/smile/nail.gif b/i/smile/nail.gif new file mode 100644 index 0000000..3aa0ead Binary files /dev/null and b/i/smile/nail.gif differ diff --git a/i/smile/ninja.gif b/i/smile/ninja.gif new file mode 100644 index 0000000..26cb098 Binary files /dev/null and b/i/smile/ninja.gif differ diff --git a/i/smile/nnn.gif b/i/smile/nnn.gif new file mode 100644 index 0000000..e1b8856 Binary files /dev/null and b/i/smile/nnn.gif differ diff --git a/i/smile/no.gif b/i/smile/no.gif new file mode 100644 index 0000000..9911a25 Binary files /dev/null and b/i/smile/no.gif differ diff --git a/i/smile/nono.gif b/i/smile/nono.gif new file mode 100644 index 0000000..8d9819c Binary files /dev/null and b/i/smile/nono.gif differ diff --git a/i/smile/nun.gif b/i/smile/nun.gif new file mode 100644 index 0000000..c060671 Binary files /dev/null and b/i/smile/nun.gif differ diff --git a/i/smile/nunu.gif b/i/smile/nunu.gif new file mode 100644 index 0000000..4f97995 Binary files /dev/null and b/i/smile/nunu.gif differ diff --git a/i/smile/obm.gif b/i/smile/obm.gif new file mode 100644 index 0000000..41ca5ea Binary files /dev/null and b/i/smile/obm.gif differ diff --git a/i/smile/ok.gif b/i/smile/ok.gif new file mode 100644 index 0000000..80bb63c Binary files /dev/null and b/i/smile/ok.gif differ diff --git a/i/smile/owl.gif b/i/smile/owl.gif new file mode 100644 index 0000000..745d1bc Binary files /dev/null and b/i/smile/owl.gif differ diff --git a/i/smile/pal.gif b/i/smile/pal.gif new file mode 100644 index 0000000..eb43814 Binary files /dev/null and b/i/smile/pal.gif differ diff --git a/i/smile/pif.gif b/i/smile/pif.gif new file mode 100644 index 0000000..0c8523f Binary files /dev/null and b/i/smile/pif.gif differ diff --git a/i/smile/pirate.gif b/i/smile/pirate.gif new file mode 100644 index 0000000..40bac5e Binary files /dev/null and b/i/smile/pirate.gif differ diff --git a/i/smile/podz.gif b/i/smile/podz.gif new file mode 100644 index 0000000..a9807ca Binary files /dev/null and b/i/smile/podz.gif differ diff --git a/i/smile/ponder.gif b/i/smile/ponder.gif new file mode 100644 index 0000000..1725694 Binary files /dev/null and b/i/smile/ponder.gif differ diff --git a/i/smile/privet.gif b/i/smile/privet.gif new file mode 100644 index 0000000..97d129e Binary files /dev/null and b/i/smile/privet.gif differ diff --git a/i/smile/radio1.gif b/i/smile/radio1.gif new file mode 100644 index 0000000..f25118d Binary files /dev/null and b/i/smile/radio1.gif differ diff --git a/i/smile/radio2.gif b/i/smile/radio2.gif new file mode 100644 index 0000000..04f682c Binary files /dev/null and b/i/smile/radio2.gif differ diff --git a/i/smile/red.gif b/i/smile/red.gif new file mode 100644 index 0000000..ad76283 Binary files /dev/null and b/i/smile/red.gif differ diff --git a/i/smile/rev.gif b/i/smile/rev.gif new file mode 100644 index 0000000..710130d Binary files /dev/null and b/i/smile/rev.gif differ diff --git a/i/smile/rocket.gif b/i/smile/rocket.gif new file mode 100644 index 0000000..62829db Binary files /dev/null and b/i/smile/rocket.gif differ diff --git a/i/smile/rose.gif b/i/smile/rose.gif new file mode 100644 index 0000000..d5f1e46 Binary files /dev/null and b/i/smile/rose.gif differ diff --git a/i/smile/rotate.gif b/i/smile/rotate.gif new file mode 100644 index 0000000..327ec23 Binary files /dev/null and b/i/smile/rotate.gif differ diff --git a/i/smile/row.gif b/i/smile/row.gif new file mode 100644 index 0000000..e15ae99 Binary files /dev/null and b/i/smile/row.gif differ diff --git a/i/smile/rupor.gif b/i/smile/rupor.gif new file mode 100644 index 0000000..f145423 Binary files /dev/null and b/i/smile/rupor.gif differ diff --git a/i/smile/sand_m.gif b/i/smile/sand_m.gif new file mode 100644 index 0000000..eae55fa Binary files /dev/null and b/i/smile/sand_m.gif differ diff --git a/i/smile/sharp.gif b/i/smile/sharp.gif new file mode 100644 index 0000000..6018583 Binary files /dev/null and b/i/smile/sharp.gif differ diff --git a/i/smile/showng.gif b/i/smile/showng.gif new file mode 100644 index 0000000..7cf05ac Binary files /dev/null and b/i/smile/showng.gif differ diff --git a/i/smile/shuffle.gif b/i/smile/shuffle.gif new file mode 100644 index 0000000..3e386f3 Binary files /dev/null and b/i/smile/shuffle.gif differ diff --git a/i/smile/smash.gif b/i/smile/smash.gif new file mode 100644 index 0000000..b8a0775 Binary files /dev/null and b/i/smile/smash.gif differ diff --git a/i/smile/smil.gif b/i/smile/smil.gif new file mode 100644 index 0000000..345ccc3 Binary files /dev/null and b/i/smile/smil.gif differ diff --git a/i/smile/smile.gif b/i/smile/smile.gif new file mode 100644 index 0000000..f5d1b5d Binary files /dev/null and b/i/smile/smile.gif differ diff --git a/i/smile/smoke.gif b/i/smile/smoke.gif new file mode 100644 index 0000000..ed6e93a Binary files /dev/null and b/i/smile/smoke.gif differ diff --git a/i/smile/sneeze.gif b/i/smile/sneeze.gif new file mode 100644 index 0000000..a2f2216 Binary files /dev/null and b/i/smile/sneeze.gif differ diff --git a/i/smile/snegur.gif b/i/smile/snegur.gif new file mode 100644 index 0000000..213ff43 Binary files /dev/null and b/i/smile/snegur.gif differ diff --git a/i/smile/sniper.gif b/i/smile/sniper.gif new file mode 100644 index 0000000..e4e671d Binary files /dev/null and b/i/smile/sniper.gif differ diff --git a/i/smile/snowfight.gif b/i/smile/snowfight.gif new file mode 100644 index 0000000..a1dd3ef Binary files /dev/null and b/i/smile/snowfight.gif differ diff --git a/i/smile/sorry.gif b/i/smile/sorry.gif new file mode 100644 index 0000000..a114197 Binary files /dev/null and b/i/smile/sorry.gif differ diff --git a/i/smile/sorry2.gif b/i/smile/sorry2.gif new file mode 100644 index 0000000..153a145 Binary files /dev/null and b/i/smile/sorry2.gif differ diff --git a/i/smile/sten.gif b/i/smile/sten.gif new file mode 100644 index 0000000..21f8812 Binary files /dev/null and b/i/smile/sten.gif differ diff --git a/i/smile/str.gif b/i/smile/str.gif new file mode 100644 index 0000000..cd6209e Binary files /dev/null and b/i/smile/str.gif differ diff --git a/i/smile/super.gif b/i/smile/super.gif new file mode 100644 index 0000000..6358777 Binary files /dev/null and b/i/smile/super.gif differ diff --git a/i/smile/superng.gif b/i/smile/superng.gif new file mode 100644 index 0000000..df287d2 Binary files /dev/null and b/i/smile/superng.gif differ diff --git a/i/smile/susel.gif b/i/smile/susel.gif new file mode 100644 index 0000000..ca12aed Binary files /dev/null and b/i/smile/susel.gif differ diff --git a/i/smile/sword.gif b/i/smile/sword.gif new file mode 100644 index 0000000..1e6088c Binary files /dev/null and b/i/smile/sword.gif differ diff --git a/i/smile/tease.gif b/i/smile/tease.gif new file mode 100644 index 0000000..a16bde1 Binary files /dev/null and b/i/smile/tease.gif differ diff --git a/i/smile/tongue.gif b/i/smile/tongue.gif new file mode 100644 index 0000000..1b36c3d Binary files /dev/null and b/i/smile/tongue.gif differ diff --git a/i/smile/tongue2.gif b/i/smile/tongue2.gif new file mode 100644 index 0000000..18844d1 Binary files /dev/null and b/i/smile/tongue2.gif differ diff --git a/i/smile/tongue3.gif b/i/smile/tongue3.gif new file mode 100644 index 0000000..1b36c3d Binary files /dev/null and b/i/smile/tongue3.gif differ diff --git a/i/smile/trup.gif b/i/smile/trup.gif new file mode 100644 index 0000000..a0ba4df Binary files /dev/null and b/i/smile/trup.gif differ diff --git a/i/smile/ura.gif b/i/smile/ura.gif new file mode 100644 index 0000000..96d5d97 Binary files /dev/null and b/i/smile/ura.gif differ diff --git a/i/smile/vamp.gif b/i/smile/vamp.gif new file mode 100644 index 0000000..1c2df9d Binary files /dev/null and b/i/smile/vamp.gif differ diff --git a/i/smile/victory.gif b/i/smile/victory.gif new file mode 100644 index 0000000..542cc5c Binary files /dev/null and b/i/smile/victory.gif differ diff --git a/i/smile/wink.gif b/i/smile/wink.gif new file mode 100644 index 0000000..28f5ffa Binary files /dev/null and b/i/smile/wink.gif differ diff --git a/i/smile/yar.gif b/i/smile/yar.gif new file mode 100644 index 0000000..215be7f Binary files /dev/null and b/i/smile/yar.gif differ diff --git a/i/smile/yes.gif b/i/smile/yes.gif new file mode 100644 index 0000000..90e175a Binary files /dev/null and b/i/smile/yes.gif differ diff --git a/i/smiles/Knight1.gif b/i/smiles/Knight1.gif new file mode 100644 index 0000000..340ff35 Binary files /dev/null and b/i/smiles/Knight1.gif differ diff --git a/i/smiles/agree.gif b/i/smiles/agree.gif new file mode 100644 index 0000000..41d1e4d Binary files /dev/null and b/i/smiles/agree.gif differ diff --git a/i/smiles/alch.gif b/i/smiles/alch.gif new file mode 100644 index 0000000..c572a39 Binary files /dev/null and b/i/smiles/alch.gif differ diff --git a/i/smiles/alien.gif b/i/smiles/alien.gif new file mode 100644 index 0000000..c1124b1 Binary files /dev/null and b/i/smiles/alien.gif differ diff --git a/i/smiles/angel.gif b/i/smiles/angel.gif new file mode 100644 index 0000000..fe63b88 Binary files /dev/null and b/i/smiles/angel.gif differ diff --git a/i/smiles/angel2.gif b/i/smiles/angel2.gif new file mode 100644 index 0000000..fa6833a Binary files /dev/null and b/i/smiles/angel2.gif differ diff --git a/i/smiles/baby.gif b/i/smiles/baby.gif new file mode 100644 index 0000000..b339d48 Binary files /dev/null and b/i/smiles/baby.gif differ diff --git a/i/smiles/beer.gif b/i/smiles/beer.gif new file mode 100644 index 0000000..c7deb30 Binary files /dev/null and b/i/smiles/beer.gif differ diff --git a/i/smiles/beggar.gif b/i/smiles/beggar.gif new file mode 100644 index 0000000..c0f09d7 Binary files /dev/null and b/i/smiles/beggar.gif differ diff --git a/i/smiles/boks.gif b/i/smiles/boks.gif new file mode 100644 index 0000000..fbfc847 Binary files /dev/null and b/i/smiles/boks.gif differ diff --git a/i/smiles/boks2.gif b/i/smiles/boks2.gif new file mode 100644 index 0000000..59befb3 Binary files /dev/null and b/i/smiles/boks2.gif differ diff --git a/i/smiles/bow.gif b/i/smiles/bow.gif new file mode 100644 index 0000000..cc27061 Binary files /dev/null and b/i/smiles/bow.gif differ diff --git a/i/smiles/bye.gif b/i/smiles/bye.gif new file mode 100644 index 0000000..c706903 Binary files /dev/null and b/i/smiles/bye.gif differ diff --git a/i/smiles/carreat.gif b/i/smiles/carreat.gif new file mode 100644 index 0000000..884e8f4 Binary files /dev/null and b/i/smiles/carreat.gif differ diff --git a/i/smiles/cat.gif b/i/smiles/cat.gif new file mode 100644 index 0000000..076182a Binary files /dev/null and b/i/smiles/cat.gif differ diff --git a/i/smiles/chtoza.gif b/i/smiles/chtoza.gif new file mode 100644 index 0000000..a0f17e4 Binary files /dev/null and b/i/smiles/chtoza.gif differ diff --git a/i/smiles/confused.gif b/i/smiles/confused.gif new file mode 100644 index 0000000..684b51c Binary files /dev/null and b/i/smiles/confused.gif differ diff --git a/i/smiles/creator.gif b/i/smiles/creator.gif new file mode 100644 index 0000000..19d7c30 Binary files /dev/null and b/i/smiles/creator.gif differ diff --git a/i/smiles/cry.gif b/i/smiles/cry.gif new file mode 100644 index 0000000..11d9a91 Binary files /dev/null and b/i/smiles/cry.gif differ diff --git a/i/smiles/dance1.gif b/i/smiles/dance1.gif new file mode 100644 index 0000000..8119ee4 Binary files /dev/null and b/i/smiles/dance1.gif differ diff --git a/i/smiles/dance2.gif b/i/smiles/dance2.gif new file mode 100644 index 0000000..5d5b53d Binary files /dev/null and b/i/smiles/dance2.gif differ diff --git a/i/smiles/dedmoroz.gif b/i/smiles/dedmoroz.gif new file mode 100644 index 0000000..69ec756 Binary files /dev/null and b/i/smiles/dedmoroz.gif differ diff --git a/i/smiles/devil.gif b/i/smiles/devil.gif new file mode 100644 index 0000000..c86c2f2 Binary files /dev/null and b/i/smiles/devil.gif differ diff --git a/i/smiles/doc.gif b/i/smiles/doc.gif new file mode 100644 index 0000000..7eb365c Binary files /dev/null and b/i/smiles/doc.gif differ diff --git a/i/smiles/doc2.gif b/i/smiles/doc2.gif new file mode 100644 index 0000000..98cdae4 Binary files /dev/null and b/i/smiles/doc2.gif differ diff --git a/i/smiles/dont.gif b/i/smiles/dont.gif new file mode 100644 index 0000000..9b9f3be Binary files /dev/null and b/i/smiles/dont.gif differ diff --git a/i/smiles/drink.gif b/i/smiles/drink.gif new file mode 100644 index 0000000..e9e6cc8 Binary files /dev/null and b/i/smiles/drink.gif differ diff --git a/i/smiles/duel.gif b/i/smiles/duel.gif new file mode 100644 index 0000000..b8cbe91 Binary files /dev/null and b/i/smiles/duel.gif differ diff --git a/i/smiles/dustman.gif b/i/smiles/dustman.gif new file mode 100644 index 0000000..f548e08 Binary files /dev/null and b/i/smiles/dustman.gif differ diff --git a/i/smiles/eek.gif b/i/smiles/eek.gif new file mode 100644 index 0000000..98ca422 Binary files /dev/null and b/i/smiles/eek.gif differ diff --git a/i/smiles/elix.gif b/i/smiles/elix.gif new file mode 100644 index 0000000..7440528 Binary files /dev/null and b/i/smiles/elix.gif differ diff --git a/i/smiles/fie.gif b/i/smiles/fie.gif new file mode 100644 index 0000000..abc0089 Binary files /dev/null and b/i/smiles/fie.gif differ diff --git a/i/smiles/fingal.gif b/i/smiles/fingal.gif new file mode 100644 index 0000000..1f67328 Binary files /dev/null and b/i/smiles/fingal.gif differ diff --git a/i/smiles/flowers.gif b/i/smiles/flowers.gif new file mode 100644 index 0000000..8c102ed Binary files /dev/null and b/i/smiles/flowers.gif differ diff --git a/i/smiles/friday.gif b/i/smiles/friday.gif new file mode 100644 index 0000000..94cdff7 Binary files /dev/null and b/i/smiles/friday.gif differ diff --git a/i/smiles/gent.gif b/i/smiles/gent.gif new file mode 100644 index 0000000..b05f859 Binary files /dev/null and b/i/smiles/gent.gif differ diff --git a/i/smiles/girl.gif b/i/smiles/girl.gif new file mode 100644 index 0000000..0c5ba4b Binary files /dev/null and b/i/smiles/girl.gif differ diff --git a/i/smiles/grace.gif b/i/smiles/grace.gif new file mode 100644 index 0000000..65fc29b Binary files /dev/null and b/i/smiles/grace.gif differ diff --git a/i/smiles/grust.gif b/i/smiles/grust.gif new file mode 100644 index 0000000..3b55fd9 Binary files /dev/null and b/i/smiles/grust.gif differ diff --git a/i/smiles/gun.gif b/i/smiles/gun.gif new file mode 100644 index 0000000..0988902 Binary files /dev/null and b/i/smiles/gun.gif differ diff --git a/i/smiles/hello.gif b/i/smiles/hello.gif new file mode 100644 index 0000000..40967cf Binary files /dev/null and b/i/smiles/hello.gif differ diff --git a/i/smiles/help.gif b/i/smiles/help.gif new file mode 100644 index 0000000..2744db1 Binary files /dev/null and b/i/smiles/help.gif differ diff --git a/i/smiles/hi.gif b/i/smiles/hi.gif new file mode 100644 index 0000000..1ed84ea Binary files /dev/null and b/i/smiles/hi.gif differ diff --git a/i/smiles/horse.gif b/i/smiles/horse.gif new file mode 100644 index 0000000..1ec7b7e Binary files /dev/null and b/i/smiles/horse.gif differ diff --git a/i/smiles/hug.gif b/i/smiles/hug.gif new file mode 100644 index 0000000..7d03a2f Binary files /dev/null and b/i/smiles/hug.gif differ diff --git a/i/smiles/idea.gif b/i/smiles/idea.gif new file mode 100644 index 0000000..35efd99 Binary files /dev/null and b/i/smiles/idea.gif differ diff --git a/i/smiles/inv.gif b/i/smiles/inv.gif new file mode 100644 index 0000000..1dbff9a Binary files /dev/null and b/i/smiles/inv.gif differ diff --git a/i/smiles/invis.gif b/i/smiles/invis.gif new file mode 100644 index 0000000..db39101 Binary files /dev/null and b/i/smiles/invis.gif differ diff --git a/i/smiles/jeer.gif b/i/smiles/jeer.gif new file mode 100644 index 0000000..29e1d71 Binary files /dev/null and b/i/smiles/jeer.gif differ diff --git a/i/smiles/king.gif b/i/smiles/king.gif new file mode 100644 index 0000000..b3e710c Binary files /dev/null and b/i/smiles/king.gif differ diff --git a/i/smiles/king2.gif b/i/smiles/king2.gif new file mode 100644 index 0000000..0a38c4c Binary files /dev/null and b/i/smiles/king2.gif differ diff --git a/i/smiles/kiss.gif b/i/smiles/kiss.gif new file mode 100644 index 0000000..b638bcd Binary files /dev/null and b/i/smiles/kiss.gif differ diff --git a/i/smiles/kiss2.gif b/i/smiles/kiss2.gif new file mode 100644 index 0000000..4a943ee Binary files /dev/null and b/i/smiles/kiss2.gif differ diff --git a/i/smiles/kiss3.gif b/i/smiles/kiss3.gif new file mode 100644 index 0000000..88eb028 Binary files /dev/null and b/i/smiles/kiss3.gif differ diff --git a/i/smiles/kiss4.gif b/i/smiles/kiss4.gif new file mode 100644 index 0000000..817000f Binary files /dev/null and b/i/smiles/kiss4.gif differ diff --git a/i/smiles/kruger.gif b/i/smiles/kruger.gif new file mode 100644 index 0000000..1778862 Binary files /dev/null and b/i/smiles/kruger.gif differ diff --git a/i/smiles/lady.gif b/i/smiles/lady.gif new file mode 100644 index 0000000..113bcb2 Binary files /dev/null and b/i/smiles/lady.gif differ diff --git a/i/smiles/laugh.gif b/i/smiles/laugh.gif new file mode 100644 index 0000000..7f08179 Binary files /dev/null and b/i/smiles/laugh.gif differ diff --git a/i/smiles/lick.gif b/i/smiles/lick.gif new file mode 100644 index 0000000..1599ddf Binary files /dev/null and b/i/smiles/lick.gif differ diff --git a/i/smiles/lightfly.gif b/i/smiles/lightfly.gif new file mode 100644 index 0000000..591915b Binary files /dev/null and b/i/smiles/lightfly.gif differ diff --git a/i/smiles/lordhaos.gif b/i/smiles/lordhaos.gif new file mode 100644 index 0000000..41b7088 Binary files /dev/null and b/i/smiles/lordhaos.gif differ diff --git a/i/smiles/love.gif b/i/smiles/love.gif new file mode 100644 index 0000000..bc44e9f Binary files /dev/null and b/i/smiles/love.gif differ diff --git a/i/smiles/love2.gif b/i/smiles/love2.gif new file mode 100644 index 0000000..f629b00 Binary files /dev/null and b/i/smiles/love2.gif differ diff --git a/i/smiles/loveya.gif b/i/smiles/loveya.gif new file mode 100644 index 0000000..d357edf Binary files /dev/null and b/i/smiles/loveya.gif differ diff --git a/i/smiles/mad.gif b/i/smiles/mad.gif new file mode 100644 index 0000000..a38492b Binary files /dev/null and b/i/smiles/mad.gif differ diff --git a/i/smiles/mag.gif b/i/smiles/mag.gif new file mode 100644 index 0000000..a3d155b Binary files /dev/null and b/i/smiles/mag.gif differ diff --git a/i/smiles/maniac.gif b/i/smiles/maniac.gif new file mode 100644 index 0000000..d585b58 Binary files /dev/null and b/i/smiles/maniac.gif differ diff --git a/i/smiles/mdr.gif b/i/smiles/mdr.gif new file mode 100644 index 0000000..9a60e61 Binary files /dev/null and b/i/smiles/mdr.gif differ diff --git a/i/smiles/mol.gif b/i/smiles/mol.gif new file mode 100644 index 0000000..5859936 Binary files /dev/null and b/i/smiles/mol.gif differ diff --git a/i/smiles/naem.gif b/i/smiles/naem.gif new file mode 100644 index 0000000..8db5c5c Binary files /dev/null and b/i/smiles/naem.gif differ diff --git a/i/smiles/naem2.gif b/i/smiles/naem2.gif new file mode 100644 index 0000000..3d6884a Binary files /dev/null and b/i/smiles/naem2.gif differ diff --git a/i/smiles/naem3.gif b/i/smiles/naem3.gif new file mode 100644 index 0000000..5f94f1f Binary files /dev/null and b/i/smiles/naem3.gif differ diff --git a/i/smiles/nail.gif b/i/smiles/nail.gif new file mode 100644 index 0000000..3aa0ead Binary files /dev/null and b/i/smiles/nail.gif differ diff --git a/i/smiles/ninja.gif b/i/smiles/ninja.gif new file mode 100644 index 0000000..26cb098 Binary files /dev/null and b/i/smiles/ninja.gif differ diff --git a/i/smiles/nnn.gif b/i/smiles/nnn.gif new file mode 100644 index 0000000..e1b8856 Binary files /dev/null and b/i/smiles/nnn.gif differ diff --git a/i/smiles/no.gif b/i/smiles/no.gif new file mode 100644 index 0000000..9911a25 Binary files /dev/null and b/i/smiles/no.gif differ diff --git a/i/smiles/nono.gif b/i/smiles/nono.gif new file mode 100644 index 0000000..3c1a0dc Binary files /dev/null and b/i/smiles/nono.gif differ diff --git a/i/smiles/nun.gif b/i/smiles/nun.gif new file mode 100644 index 0000000..b14c574 Binary files /dev/null and b/i/smiles/nun.gif differ diff --git a/i/smiles/nunu.gif b/i/smiles/nunu.gif new file mode 100644 index 0000000..4f97995 Binary files /dev/null and b/i/smiles/nunu.gif differ diff --git a/i/smiles/obm.gif b/i/smiles/obm.gif new file mode 100644 index 0000000..41ca5ea Binary files /dev/null and b/i/smiles/obm.gif differ diff --git a/i/smiles/ok.gif b/i/smiles/ok.gif new file mode 100644 index 0000000..80bb63c Binary files /dev/null and b/i/smiles/ok.gif differ diff --git a/i/smiles/owl.gif b/i/smiles/owl.gif new file mode 100644 index 0000000..b2d83d5 Binary files /dev/null and b/i/smiles/owl.gif differ diff --git a/i/smiles/pal.gif b/i/smiles/pal.gif new file mode 100644 index 0000000..eb43814 Binary files /dev/null and b/i/smiles/pal.gif differ diff --git a/i/smiles/pif.gif b/i/smiles/pif.gif new file mode 100644 index 0000000..0c8523f Binary files /dev/null and b/i/smiles/pif.gif differ diff --git a/i/smiles/pirate.gif b/i/smiles/pirate.gif new file mode 100644 index 0000000..a7f12d1 Binary files /dev/null and b/i/smiles/pirate.gif differ diff --git a/i/smiles/podz.gif b/i/smiles/podz.gif new file mode 100644 index 0000000..7a768f0 Binary files /dev/null and b/i/smiles/podz.gif differ diff --git a/i/smiles/ponder.gif b/i/smiles/ponder.gif new file mode 100644 index 0000000..1725694 Binary files /dev/null and b/i/smiles/ponder.gif differ diff --git a/i/smiles/privet.gif b/i/smiles/privet.gif new file mode 100644 index 0000000..c22910a Binary files /dev/null and b/i/smiles/privet.gif differ diff --git a/i/smiles/radio1.gif b/i/smiles/radio1.gif new file mode 100644 index 0000000..f25118d Binary files /dev/null and b/i/smiles/radio1.gif differ diff --git a/i/smiles/radio2.gif b/i/smiles/radio2.gif new file mode 100644 index 0000000..04f682c Binary files /dev/null and b/i/smiles/radio2.gif differ diff --git a/i/smiles/red.gif b/i/smiles/red.gif new file mode 100644 index 0000000..ad76283 Binary files /dev/null and b/i/smiles/red.gif differ diff --git a/i/smiles/rev.gif b/i/smiles/rev.gif new file mode 100644 index 0000000..710130d Binary files /dev/null and b/i/smiles/rev.gif differ diff --git a/i/smiles/rocket.gif b/i/smiles/rocket.gif new file mode 100644 index 0000000..a232e5b Binary files /dev/null and b/i/smiles/rocket.gif differ diff --git a/i/smiles/rom.gif b/i/smiles/rom.gif new file mode 100644 index 0000000..cc2e7b0 Binary files /dev/null and b/i/smiles/rom.gif differ diff --git a/i/smiles/rose.gif b/i/smiles/rose.gif new file mode 100644 index 0000000..d5f1e46 Binary files /dev/null and b/i/smiles/rose.gif differ diff --git a/i/smiles/rotate.gif b/i/smiles/rotate.gif new file mode 100644 index 0000000..327ec23 Binary files /dev/null and b/i/smiles/rotate.gif differ diff --git a/i/smiles/row.gif b/i/smiles/row.gif new file mode 100644 index 0000000..7782e7a Binary files /dev/null and b/i/smiles/row.gif differ diff --git a/i/smiles/rupor.gif b/i/smiles/rupor.gif new file mode 100644 index 0000000..f145423 Binary files /dev/null and b/i/smiles/rupor.gif differ diff --git a/i/smiles/sad.gif b/i/smiles/sad.gif new file mode 100644 index 0000000..ec7abf1 Binary files /dev/null and b/i/smiles/sad.gif differ diff --git a/i/smiles/sharp.gif b/i/smiles/sharp.gif new file mode 100644 index 0000000..50e4dfe Binary files /dev/null and b/i/smiles/sharp.gif differ diff --git a/i/smiles/showng.gif b/i/smiles/showng.gif new file mode 100644 index 0000000..7cf05ac Binary files /dev/null and b/i/smiles/showng.gif differ diff --git a/i/smiles/shuffle.gif b/i/smiles/shuffle.gif new file mode 100644 index 0000000..3e386f3 Binary files /dev/null and b/i/smiles/shuffle.gif differ diff --git a/i/smiles/smash.gif b/i/smiles/smash.gif new file mode 100644 index 0000000..b8a0775 Binary files /dev/null and b/i/smiles/smash.gif differ diff --git a/i/smiles/smil.gif b/i/smiles/smil.gif new file mode 100644 index 0000000..345ccc3 Binary files /dev/null and b/i/smiles/smil.gif differ diff --git a/i/smiles/smile.gif b/i/smiles/smile.gif new file mode 100644 index 0000000..f5d1b5d Binary files /dev/null and b/i/smiles/smile.gif differ diff --git a/i/smiles/smile100.gif b/i/smiles/smile100.gif new file mode 100644 index 0000000..d143b67 Binary files /dev/null and b/i/smiles/smile100.gif differ diff --git a/i/smiles/smile118.gif b/i/smiles/smile118.gif new file mode 100644 index 0000000..123102c Binary files /dev/null and b/i/smiles/smile118.gif differ diff --git a/i/smiles/smile149.gif b/i/smiles/smile149.gif new file mode 100644 index 0000000..fcb488a Binary files /dev/null and b/i/smiles/smile149.gif differ diff --git a/i/smiles/smile166.gif b/i/smiles/smile166.gif new file mode 100644 index 0000000..4ae4cf3 Binary files /dev/null and b/i/smiles/smile166.gif differ diff --git a/i/smiles/smile237.gif b/i/smiles/smile237.gif new file mode 100644 index 0000000..feaa070 Binary files /dev/null and b/i/smiles/smile237.gif differ diff --git a/i/smiles/smile245.gif b/i/smiles/smile245.gif new file mode 100644 index 0000000..b1ccc47 Binary files /dev/null and b/i/smiles/smile245.gif differ diff --git a/i/smiles/smile28.gif b/i/smiles/smile28.gif new file mode 100644 index 0000000..3346523 Binary files /dev/null and b/i/smiles/smile28.gif differ diff --git a/i/smiles/smile289.gif b/i/smiles/smile289.gif new file mode 100644 index 0000000..822d04c Binary files /dev/null and b/i/smiles/smile289.gif differ diff --git a/i/smiles/smile314.gif b/i/smiles/smile314.gif new file mode 100644 index 0000000..ce63fd2 Binary files /dev/null and b/i/smiles/smile314.gif differ diff --git a/i/smiles/smile36.gif b/i/smiles/smile36.gif new file mode 100644 index 0000000..42fe1a0 Binary files /dev/null and b/i/smiles/smile36.gif differ diff --git a/i/smiles/smile39.gif b/i/smiles/smile39.gif new file mode 100644 index 0000000..90fd5ce Binary files /dev/null and b/i/smiles/smile39.gif differ diff --git a/i/smiles/smile44.gif b/i/smiles/smile44.gif new file mode 100644 index 0000000..c9abefe Binary files /dev/null and b/i/smiles/smile44.gif differ diff --git a/i/smiles/smile70.gif b/i/smiles/smile70.gif new file mode 100644 index 0000000..0fd7ad0 Binary files /dev/null and b/i/smiles/smile70.gif differ diff --git a/i/smiles/smoke.gif b/i/smiles/smoke.gif new file mode 100644 index 0000000..ed6e93a Binary files /dev/null and b/i/smiles/smoke.gif differ diff --git a/i/smiles/sneeze.gif b/i/smiles/sneeze.gif new file mode 100644 index 0000000..a2f2216 Binary files /dev/null and b/i/smiles/sneeze.gif differ diff --git a/i/smiles/snegur.gif b/i/smiles/snegur.gif new file mode 100644 index 0000000..213ff43 Binary files /dev/null and b/i/smiles/snegur.gif differ diff --git a/i/smiles/sniper.gif b/i/smiles/sniper.gif new file mode 100644 index 0000000..80416b4 Binary files /dev/null and b/i/smiles/sniper.gif differ diff --git a/i/smiles/snowfight.gif b/i/smiles/snowfight.gif new file mode 100644 index 0000000..fb780e6 Binary files /dev/null and b/i/smiles/snowfight.gif differ diff --git a/i/smiles/sorry.gif b/i/smiles/sorry.gif new file mode 100644 index 0000000..5718f8b Binary files /dev/null and b/i/smiles/sorry.gif differ diff --git a/i/smiles/sorry2.gif b/i/smiles/sorry2.gif new file mode 100644 index 0000000..312c799 Binary files /dev/null and b/i/smiles/sorry2.gif differ diff --git a/i/smiles/sten.gif b/i/smiles/sten.gif new file mode 100644 index 0000000..21f8812 Binary files /dev/null and b/i/smiles/sten.gif differ diff --git a/i/smiles/str.gif b/i/smiles/str.gif new file mode 100644 index 0000000..92d5e12 Binary files /dev/null and b/i/smiles/str.gif differ diff --git a/i/smiles/super.gif b/i/smiles/super.gif new file mode 100644 index 0000000..6358777 Binary files /dev/null and b/i/smiles/super.gif differ diff --git a/i/smiles/superng.gif b/i/smiles/superng.gif new file mode 100644 index 0000000..df287d2 Binary files /dev/null and b/i/smiles/superng.gif differ diff --git a/i/smiles/susel.gif b/i/smiles/susel.gif new file mode 100644 index 0000000..ca12aed Binary files /dev/null and b/i/smiles/susel.gif differ diff --git a/i/smiles/sword.gif b/i/smiles/sword.gif new file mode 100644 index 0000000..1e6088c Binary files /dev/null and b/i/smiles/sword.gif differ diff --git a/i/smiles/tease.gif b/i/smiles/tease.gif new file mode 100644 index 0000000..a16bde1 Binary files /dev/null and b/i/smiles/tease.gif differ diff --git a/i/smiles/tongue.gif b/i/smiles/tongue.gif new file mode 100644 index 0000000..1b36c3d Binary files /dev/null and b/i/smiles/tongue.gif differ diff --git a/i/smiles/tongue2.gif b/i/smiles/tongue2.gif new file mode 100644 index 0000000..18844d1 Binary files /dev/null and b/i/smiles/tongue2.gif differ diff --git a/i/smiles/trup.gif b/i/smiles/trup.gif new file mode 100644 index 0000000..a0ba4df Binary files /dev/null and b/i/smiles/trup.gif differ diff --git a/i/smiles/ura.gif b/i/smiles/ura.gif new file mode 100644 index 0000000..96d5d97 Binary files /dev/null and b/i/smiles/ura.gif differ diff --git a/i/smiles/vamp.gif b/i/smiles/vamp.gif new file mode 100644 index 0000000..1c2df9d Binary files /dev/null and b/i/smiles/vamp.gif differ diff --git a/i/smiles/victory.gif b/i/smiles/victory.gif new file mode 100644 index 0000000..542cc5c Binary files /dev/null and b/i/smiles/victory.gif differ diff --git a/i/smiles/wink.gif b/i/smiles/wink.gif new file mode 100644 index 0000000..0d70085 Binary files /dev/null and b/i/smiles/wink.gif differ diff --git a/i/smiles/yar.gif b/i/smiles/yar.gif new file mode 100644 index 0000000..215be7f Binary files /dev/null and b/i/smiles/yar.gif differ diff --git a/i/smiles/yes.gif b/i/smiles/yes.gif new file mode 100644 index 0000000..a0f9a33 Binary files /dev/null and b/i/smiles/yes.gif differ diff --git a/i/smilestitle.gif b/i/smilestitle.gif new file mode 100644 index 0000000..a3506bb Binary files /dev/null and b/i/smilestitle.gif differ diff --git a/i/spacer.gif b/i/spacer.gif new file mode 100644 index 0000000..fc25609 Binary files /dev/null and b/i/spacer.gif differ diff --git a/i/splitstack.gif b/i/splitstack.gif new file mode 100644 index 0000000..b17715e Binary files /dev/null and b/i/splitstack.gif differ diff --git a/i/stack.gif b/i/stack.gif new file mode 100644 index 0000000..e8f270a Binary files /dev/null and b/i/stack.gif differ diff --git a/i/static/bukmek2.gif b/i/static/bukmek2.gif new file mode 100644 index 0000000..29004e4 Binary files /dev/null and b/i/static/bukmek2.gif differ diff --git a/i/static/img/bukmek.gif b/i/static/img/bukmek.gif new file mode 100644 index 0000000..c95bd25 Binary files /dev/null and b/i/static/img/bukmek.gif differ diff --git a/i/static/img/bukmek2.gif b/i/static/img/bukmek2.gif new file mode 100644 index 0000000..29004e4 Binary files /dev/null and b/i/static/img/bukmek2.gif differ diff --git a/i/static/img/ic_acc1.gif b/i/static/img/ic_acc1.gif new file mode 100644 index 0000000..73a3bcd Binary files /dev/null and b/i/static/img/ic_acc1.gif differ diff --git a/i/static/img/ic_acc4.gif b/i/static/img/ic_acc4.gif new file mode 100644 index 0000000..2903d6c Binary files /dev/null and b/i/static/img/ic_acc4.gif differ diff --git a/i/static/radiodj.png b/i/static/radiodj.png new file mode 100644 index 0000000..5e55212 Binary files /dev/null and b/i/static/radiodj.png differ diff --git a/i/stick.gif b/i/stick.gif new file mode 100644 index 0000000..e77d9dd Binary files /dev/null and b/i/stick.gif differ diff --git a/i/stih1.gif b/i/stih1.gif new file mode 100644 index 0000000..e6bda0f Binary files /dev/null and b/i/stih1.gif differ diff --git a/i/support.gif b/i/support.gif new file mode 100644 index 0000000..83697ea Binary files /dev/null and b/i/support.gif differ diff --git a/i/sword93.gif b/i/sword93.gif new file mode 100644 index 0000000..5bfaf38 Binary files /dev/null and b/i/sword93.gif differ diff --git a/i/tar_good1.gif b/i/tar_good1.gif new file mode 100644 index 0000000..9cc2aa6 Binary files /dev/null and b/i/tar_good1.gif differ diff --git a/i/tar_good2.gif b/i/tar_good2.gif new file mode 100644 index 0000000..04bfdaa Binary files /dev/null and b/i/tar_good2.gif differ diff --git a/i/tar_old1.gif b/i/tar_old1.gif new file mode 100644 index 0000000..aa501db Binary files /dev/null and b/i/tar_old1.gif differ diff --git a/i/tar_old2.gif b/i/tar_old2.gif new file mode 100644 index 0000000..9c07f6b Binary files /dev/null and b/i/tar_old2.gif differ diff --git a/i/tar_orden.gif b/i/tar_orden.gif new file mode 100644 index 0000000..1175017 Binary files /dev/null and b/i/tar_orden.gif differ diff --git a/i/tar_sign1.gif b/i/tar_sign1.gif new file mode 100644 index 0000000..e20c80f Binary files /dev/null and b/i/tar_sign1.gif differ diff --git a/i/tar_sign2.gif b/i/tar_sign2.gif new file mode 100644 index 0000000..5dc6abc Binary files /dev/null and b/i/tar_sign2.gif differ diff --git a/i/tar_sign4.gif b/i/tar_sign4.gif new file mode 100644 index 0000000..c9ad125 Binary files /dev/null and b/i/tar_sign4.gif differ diff --git a/i/tar_year1.gif b/i/tar_year1.gif new file mode 100644 index 0000000..8e1d6c1 Binary files /dev/null and b/i/tar_year1.gif differ diff --git a/i/tar_year2.gif b/i/tar_year2.gif new file mode 100644 index 0000000..d34c0eb Binary files /dev/null and b/i/tar_year2.gif differ diff --git a/i/tar_year3.gif b/i/tar_year3.gif new file mode 100644 index 0000000..c06ddf9 Binary files /dev/null and b/i/tar_year3.gif differ diff --git a/i/tar_year4.gif b/i/tar_year4.gif new file mode 100644 index 0000000..f822b22 Binary files /dev/null and b/i/tar_year4.gif differ diff --git a/i/title_anketa.gif b/i/title_anketa.gif new file mode 100644 index 0000000..dd46964 Binary files /dev/null and b/i/title_anketa.gif differ diff --git a/i/top.gif b/i/top.gif new file mode 100644 index 0000000..e552ce4 Binary files /dev/null and b/i/top.gif differ diff --git a/i/top_nq_01.jpg b/i/top_nq_01.jpg new file mode 100644 index 0000000..270d163 Binary files /dev/null and b/i/top_nq_01.jpg differ diff --git a/i/top_nq_03.jpg b/i/top_nq_03.jpg new file mode 100644 index 0000000..34e6ed9 Binary files /dev/null and b/i/top_nq_03.jpg differ diff --git a/i/tower/1001.jpg b/i/tower/1001.jpg new file mode 100644 index 0000000..889bacc Binary files /dev/null and b/i/tower/1001.jpg differ diff --git a/i/tower/1002.jpg b/i/tower/1002.jpg new file mode 100644 index 0000000..056d5d3 Binary files /dev/null and b/i/tower/1002.jpg differ diff --git a/i/tower/1003.jpg b/i/tower/1003.jpg new file mode 100644 index 0000000..2de959a Binary files /dev/null and b/i/tower/1003.jpg differ diff --git a/i/tower/1004.jpg b/i/tower/1004.jpg new file mode 100644 index 0000000..e4d509a Binary files /dev/null and b/i/tower/1004.jpg differ diff --git a/i/tower/1005.jpg b/i/tower/1005.jpg new file mode 100644 index 0000000..ac5f554 Binary files /dev/null and b/i/tower/1005.jpg differ diff --git a/i/tower/1006.jpg b/i/tower/1006.jpg new file mode 100644 index 0000000..7b765a0 Binary files /dev/null and b/i/tower/1006.jpg differ diff --git a/i/tower/1007.jpg b/i/tower/1007.jpg new file mode 100644 index 0000000..483b3f0 Binary files /dev/null and b/i/tower/1007.jpg differ diff --git a/i/tower/1008.jpg b/i/tower/1008.jpg new file mode 100644 index 0000000..4a726cd Binary files /dev/null and b/i/tower/1008.jpg differ diff --git a/i/tower/1009.jpg b/i/tower/1009.jpg new file mode 100644 index 0000000..fabfed4 Binary files /dev/null and b/i/tower/1009.jpg differ diff --git a/i/tower/1010.jpg b/i/tower/1010.jpg new file mode 100644 index 0000000..9a7063d Binary files /dev/null and b/i/tower/1010.jpg differ diff --git a/i/tower/1011.jpg b/i/tower/1011.jpg new file mode 100644 index 0000000..af73fb6 Binary files /dev/null and b/i/tower/1011.jpg differ diff --git a/i/tower/1012.jpg b/i/tower/1012.jpg new file mode 100644 index 0000000..56c0258 Binary files /dev/null and b/i/tower/1012.jpg differ diff --git a/i/tower/1013.jpg b/i/tower/1013.jpg new file mode 100644 index 0000000..b79f236 Binary files /dev/null and b/i/tower/1013.jpg differ diff --git a/i/tower/1014.jpg b/i/tower/1014.jpg new file mode 100644 index 0000000..e77756f Binary files /dev/null and b/i/tower/1014.jpg differ diff --git a/i/tower/1015.jpg b/i/tower/1015.jpg new file mode 100644 index 0000000..d82acb6 Binary files /dev/null and b/i/tower/1015.jpg differ diff --git a/i/tower/1016.jpg b/i/tower/1016.jpg new file mode 100644 index 0000000..ddaab02 Binary files /dev/null and b/i/tower/1016.jpg differ diff --git a/i/tower/1017.jpg b/i/tower/1017.jpg new file mode 100644 index 0000000..06fe60e Binary files /dev/null and b/i/tower/1017.jpg differ diff --git a/i/tower/1018.jpg b/i/tower/1018.jpg new file mode 100644 index 0000000..7d69545 Binary files /dev/null and b/i/tower/1018.jpg differ diff --git a/i/tower/1019.jpg b/i/tower/1019.jpg new file mode 100644 index 0000000..30bf7ec Binary files /dev/null and b/i/tower/1019.jpg differ diff --git a/i/tower/1020.jpg b/i/tower/1020.jpg new file mode 100644 index 0000000..6fd6c67 Binary files /dev/null and b/i/tower/1020.jpg differ diff --git a/i/tower/1021.jpg b/i/tower/1021.jpg new file mode 100644 index 0000000..2f9a8f9 Binary files /dev/null and b/i/tower/1021.jpg differ diff --git a/i/tower/1022.jpg b/i/tower/1022.jpg new file mode 100644 index 0000000..521ac4e Binary files /dev/null and b/i/tower/1022.jpg differ diff --git a/i/tower/1023.jpg b/i/tower/1023.jpg new file mode 100644 index 0000000..a1d636a Binary files /dev/null and b/i/tower/1023.jpg differ diff --git a/i/tower/1024.jpg b/i/tower/1024.jpg new file mode 100644 index 0000000..fc2950f Binary files /dev/null and b/i/tower/1024.jpg differ diff --git a/i/tower/1025.jpg b/i/tower/1025.jpg new file mode 100644 index 0000000..a7d3e73 Binary files /dev/null and b/i/tower/1025.jpg differ diff --git a/i/tower/1026.jpg b/i/tower/1026.jpg new file mode 100644 index 0000000..ec08091 Binary files /dev/null and b/i/tower/1026.jpg differ diff --git a/i/tower/1027.jpg b/i/tower/1027.jpg new file mode 100644 index 0000000..547e5fe Binary files /dev/null and b/i/tower/1027.jpg differ diff --git a/i/tower/1028.jpg b/i/tower/1028.jpg new file mode 100644 index 0000000..15fba90 Binary files /dev/null and b/i/tower/1028.jpg differ diff --git a/i/tower/1029.jpg b/i/tower/1029.jpg new file mode 100644 index 0000000..dabc042 Binary files /dev/null and b/i/tower/1029.jpg differ diff --git a/i/tower/1030.jpg b/i/tower/1030.jpg new file mode 100644 index 0000000..22a7e5c Binary files /dev/null and b/i/tower/1030.jpg differ diff --git a/i/tower/1031.jpg b/i/tower/1031.jpg new file mode 100644 index 0000000..193a568 Binary files /dev/null and b/i/tower/1031.jpg differ diff --git a/i/tower/1032.jpg b/i/tower/1032.jpg new file mode 100644 index 0000000..2822a4d Binary files /dev/null and b/i/tower/1032.jpg differ diff --git a/i/tower/1033.jpg b/i/tower/1033.jpg new file mode 100644 index 0000000..51e8e91 Binary files /dev/null and b/i/tower/1033.jpg differ diff --git a/i/tower/1034.jpg b/i/tower/1034.jpg new file mode 100644 index 0000000..62ecfaa Binary files /dev/null and b/i/tower/1034.jpg differ diff --git a/i/tower/1035.jpg b/i/tower/1035.jpg new file mode 100644 index 0000000..6307a9c Binary files /dev/null and b/i/tower/1035.jpg differ diff --git a/i/tower/1036.jpg b/i/tower/1036.jpg new file mode 100644 index 0000000..695e933 Binary files /dev/null and b/i/tower/1036.jpg differ diff --git a/i/tower/1037.jpg b/i/tower/1037.jpg new file mode 100644 index 0000000..6f972c5 Binary files /dev/null and b/i/tower/1037.jpg differ diff --git a/i/tower/1038.jpg b/i/tower/1038.jpg new file mode 100644 index 0000000..5ceba83 Binary files /dev/null and b/i/tower/1038.jpg differ diff --git a/i/tower/1039.jpg b/i/tower/1039.jpg new file mode 100644 index 0000000..9875c6f Binary files /dev/null and b/i/tower/1039.jpg differ diff --git a/i/tower/1040.jpg b/i/tower/1040.jpg new file mode 100644 index 0000000..5cda0e7 Binary files /dev/null and b/i/tower/1040.jpg differ diff --git a/i/tower/1041.jpg b/i/tower/1041.jpg new file mode 100644 index 0000000..11d445a Binary files /dev/null and b/i/tower/1041.jpg differ diff --git a/i/tower/1042.jpg b/i/tower/1042.jpg new file mode 100644 index 0000000..ab3e6a1 Binary files /dev/null and b/i/tower/1042.jpg differ diff --git a/i/tower/1043.jpg b/i/tower/1043.jpg new file mode 100644 index 0000000..c6fefdd Binary files /dev/null and b/i/tower/1043.jpg differ diff --git a/i/tower/1044.jpg b/i/tower/1044.jpg new file mode 100644 index 0000000..64ff403 Binary files /dev/null and b/i/tower/1044.jpg differ diff --git a/i/tower/1045.jpg b/i/tower/1045.jpg new file mode 100644 index 0000000..f53365b Binary files /dev/null and b/i/tower/1045.jpg differ diff --git a/i/tower/1046.jpg b/i/tower/1046.jpg new file mode 100644 index 0000000..b5f8e72 Binary files /dev/null and b/i/tower/1046.jpg differ diff --git a/i/tower/1047.jpg b/i/tower/1047.jpg new file mode 100644 index 0000000..f8f7496 Binary files /dev/null and b/i/tower/1047.jpg differ diff --git a/i/tower/1048.jpg b/i/tower/1048.jpg new file mode 100644 index 0000000..84fe74b Binary files /dev/null and b/i/tower/1048.jpg differ diff --git a/i/tower/1049.jpg b/i/tower/1049.jpg new file mode 100644 index 0000000..65c5229 Binary files /dev/null and b/i/tower/1049.jpg differ diff --git a/i/tower/1050.jpg b/i/tower/1050.jpg new file mode 100644 index 0000000..199bbb5 Binary files /dev/null and b/i/tower/1050.jpg differ diff --git a/i/tower/1051.jpg b/i/tower/1051.jpg new file mode 100644 index 0000000..92c3fe4 Binary files /dev/null and b/i/tower/1051.jpg differ diff --git a/i/tower/1052.jpg b/i/tower/1052.jpg new file mode 100644 index 0000000..c2ff5ee Binary files /dev/null and b/i/tower/1052.jpg differ diff --git a/i/tower/1053.jpg b/i/tower/1053.jpg new file mode 100644 index 0000000..afd51d7 Binary files /dev/null and b/i/tower/1053.jpg differ diff --git a/i/tower/1054.jpg b/i/tower/1054.jpg new file mode 100644 index 0000000..c180edd Binary files /dev/null and b/i/tower/1054.jpg differ diff --git a/i/tower/1055.jpg b/i/tower/1055.jpg new file mode 100644 index 0000000..1b8eea5 Binary files /dev/null and b/i/tower/1055.jpg differ diff --git a/i/tower/1056.jpg b/i/tower/1056.jpg new file mode 100644 index 0000000..c713153 Binary files /dev/null and b/i/tower/1056.jpg differ diff --git a/i/tower/1057.jpg b/i/tower/1057.jpg new file mode 100644 index 0000000..05abd85 Binary files /dev/null and b/i/tower/1057.jpg differ diff --git a/i/tower/1058.jpg b/i/tower/1058.jpg new file mode 100644 index 0000000..e839a0b Binary files /dev/null and b/i/tower/1058.jpg differ diff --git a/i/tower/1059.jpg b/i/tower/1059.jpg new file mode 100644 index 0000000..16d7b84 Binary files /dev/null and b/i/tower/1059.jpg differ diff --git a/i/tower/1060.jpg b/i/tower/1060.jpg new file mode 100644 index 0000000..c17b7e5 Binary files /dev/null and b/i/tower/1060.jpg differ diff --git a/i/tower/attack.gif b/i/tower/attack.gif new file mode 100644 index 0000000..4e8c13a Binary files /dev/null and b/i/tower/attack.gif differ diff --git a/i/travma.gif b/i/travma.gif new file mode 100644 index 0000000..4c3285b Binary files /dev/null and b/i/travma.gif differ diff --git a/i/travma2.gif b/i/travma2.gif new file mode 100644 index 0000000..0226e02 Binary files /dev/null and b/i/travma2.gif differ diff --git a/i/txtcrt.gif b/i/txtcrt.gif new file mode 100644 index 0000000..15c061e Binary files /dev/null and b/i/txtcrt.gif differ diff --git a/i/unmarry.gif b/i/unmarry.gif new file mode 100644 index 0000000..1232f23 Binary files /dev/null and b/i/unmarry.gif differ diff --git a/i/unstack.gif b/i/unstack.gif new file mode 100644 index 0000000..d22c0b1 Binary files /dev/null and b/i/unstack.gif differ diff --git a/i/up.gif b/i/up.gif new file mode 100644 index 0000000..d1ebd7a Binary files /dev/null and b/i/up.gif differ diff --git a/i/vhod.jpg b/i/vhod.jpg new file mode 100644 index 0000000..3e547c1 Binary files /dev/null and b/i/vhod.jpg differ diff --git a/i/victorina1.gif b/i/victorina1.gif new file mode 100644 index 0000000..47b09e2 Binary files /dev/null and b/i/victorina1.gif differ diff --git a/i/victorina2.gif b/i/victorina2.gif new file mode 100644 index 0000000..0fdb65e Binary files /dev/null and b/i/victorina2.gif differ diff --git a/i/victorina3.gif b/i/victorina3.gif new file mode 100644 index 0000000..b37e9f5 Binary files /dev/null and b/i/victorina3.gif differ diff --git a/i/vip1.png b/i/vip1.png new file mode 100644 index 0000000..58486f3 Binary files /dev/null and b/i/vip1.png differ diff --git a/i/vip2.png b/i/vip2.png new file mode 100644 index 0000000..1726c38 Binary files /dev/null and b/i/vip2.png differ diff --git a/i/vip3.png b/i/vip3.png new file mode 100644 index 0000000..d83dc4e Binary files /dev/null and b/i/vip3.png differ diff --git a/i/vip_bk.gif b/i/vip_bk.gif new file mode 100644 index 0000000..e25f56e Binary files /dev/null and b/i/vip_bk.gif differ diff --git a/i/w1.gif b/i/w1.gif new file mode 100644 index 0000000..8dfe93c Binary files /dev/null and b/i/w1.gif differ diff --git a/i/w10.gif b/i/w10.gif new file mode 100644 index 0000000..d01df9b Binary files /dev/null and b/i/w10.gif differ diff --git a/i/w11.gif b/i/w11.gif new file mode 100644 index 0000000..d38eb5d Binary files /dev/null and b/i/w11.gif differ diff --git a/i/w12.gif b/i/w12.gif new file mode 100644 index 0000000..f8dd9dd Binary files /dev/null and b/i/w12.gif differ diff --git a/i/w13.gif b/i/w13.gif new file mode 100644 index 0000000..57de5a4 Binary files /dev/null and b/i/w13.gif differ diff --git a/i/w2.gif b/i/w2.gif new file mode 100644 index 0000000..fa7cc42 Binary files /dev/null and b/i/w2.gif differ diff --git a/i/w3.gif b/i/w3.gif new file mode 100644 index 0000000..9c1358e Binary files /dev/null and b/i/w3.gif differ diff --git a/i/w4.gif b/i/w4.gif new file mode 100644 index 0000000..a407966 Binary files /dev/null and b/i/w4.gif differ diff --git a/i/w6.gif b/i/w6.gif new file mode 100644 index 0000000..92b33dd Binary files /dev/null and b/i/w6.gif differ diff --git a/i/w7.gif b/i/w7.gif new file mode 100644 index 0000000..0efe0ed Binary files /dev/null and b/i/w7.gif differ diff --git a/i/w8.gif b/i/w8.gif new file mode 100644 index 0000000..0efe0ed Binary files /dev/null and b/i/w8.gif differ diff --git a/i/w9.gif b/i/w9.gif new file mode 100644 index 0000000..c1d35d0 Binary files /dev/null and b/i/w9.gif differ diff --git a/i/wallpaper1.gif b/i/wallpaper1.gif new file mode 100644 index 0000000..fb4d876 Binary files /dev/null and b/i/wallpaper1.gif differ diff --git a/i/wm1.jpg b/i/wm1.jpg new file mode 100644 index 0000000..1f52978 Binary files /dev/null and b/i/wm1.jpg differ diff --git a/i/world_map2/10_paladinov_bgx.jpg b/i/world_map2/10_paladinov_bgx.jpg new file mode 100644 index 0000000..82f265d Binary files /dev/null and b/i/world_map2/10_paladinov_bgx.jpg differ diff --git a/i/world_map2/10_paladinov_end.jpg b/i/world_map2/10_paladinov_end.jpg new file mode 100644 index 0000000..237b0c0 Binary files /dev/null and b/i/world_map2/10_paladinov_end.jpg differ diff --git a/i/world_map2/10_paladinov_logo.jpg b/i/world_map2/10_paladinov_logo.jpg new file mode 100644 index 0000000..32275af Binary files /dev/null and b/i/world_map2/10_paladinov_logo.jpg differ diff --git a/i/world_map2/11_sovet_bgx.jpg b/i/world_map2/11_sovet_bgx.jpg new file mode 100644 index 0000000..d27ebd1 Binary files /dev/null and b/i/world_map2/11_sovet_bgx.jpg differ diff --git a/i/world_map2/11_sovet_end.jpg b/i/world_map2/11_sovet_end.jpg new file mode 100644 index 0000000..eba7c7d Binary files /dev/null and b/i/world_map2/11_sovet_end.jpg differ diff --git a/i/world_map2/11_sovet_logo.jpg b/i/world_map2/11_sovet_logo.jpg new file mode 100644 index 0000000..f4670eb Binary files /dev/null and b/i/world_map2/11_sovet_logo.jpg differ diff --git a/i/world_map2/12_tma_bgx.jpg b/i/world_map2/12_tma_bgx.jpg new file mode 100644 index 0000000..fa63cbf Binary files /dev/null and b/i/world_map2/12_tma_bgx.jpg differ diff --git a/i/world_map2/12_tma_end.jpg b/i/world_map2/12_tma_end.jpg new file mode 100644 index 0000000..e91fb01 Binary files /dev/null and b/i/world_map2/12_tma_end.jpg differ diff --git a/i/world_map2/12_tma_logo.jpg b/i/world_map2/12_tma_logo.jpg new file mode 100644 index 0000000..f05440a Binary files /dev/null and b/i/world_map2/12_tma_logo.jpg differ diff --git a/i/world_map2/12_tma_logo2.jpg b/i/world_map2/12_tma_logo2.jpg new file mode 100644 index 0000000..0b74e65 Binary files /dev/null and b/i/world_map2/12_tma_logo2.jpg differ diff --git a/i/world_map2/13_netral_bgx.jpg b/i/world_map2/13_netral_bgx.jpg new file mode 100644 index 0000000..a0f2a39 Binary files /dev/null and b/i/world_map2/13_netral_bgx.jpg differ diff --git a/i/world_map2/13_netral_end.jpg b/i/world_map2/13_netral_end.jpg new file mode 100644 index 0000000..284fb77 Binary files /dev/null and b/i/world_map2/13_netral_end.jpg differ diff --git a/i/world_map2/13_netral_logo.jpg b/i/world_map2/13_netral_logo.jpg new file mode 100644 index 0000000..bf237c7 Binary files /dev/null and b/i/world_map2/13_netral_logo.jpg differ diff --git a/i/world_map2/13_netral_logo2.jpg b/i/world_map2/13_netral_logo2.jpg new file mode 100644 index 0000000..74a3821 Binary files /dev/null and b/i/world_map2/13_netral_logo2.jpg differ diff --git a/i/world_map2/14_svet_bgx.jpg b/i/world_map2/14_svet_bgx.jpg new file mode 100644 index 0000000..e1183d2 Binary files /dev/null and b/i/world_map2/14_svet_bgx.jpg differ diff --git a/i/world_map2/14_svet_end.jpg b/i/world_map2/14_svet_end.jpg new file mode 100644 index 0000000..33e4534 Binary files /dev/null and b/i/world_map2/14_svet_end.jpg differ diff --git a/i/world_map2/14_svet_logo.jpg b/i/world_map2/14_svet_logo.jpg new file mode 100644 index 0000000..7cefa56 Binary files /dev/null and b/i/world_map2/14_svet_logo.jpg differ diff --git a/i/world_map2/14_svet_logo2.jpg b/i/world_map2/14_svet_logo2.jpg new file mode 100644 index 0000000..2714d87 Binary files /dev/null and b/i/world_map2/14_svet_logo2.jpg differ diff --git a/i/world_map2/15_buduar_bgx.jpg b/i/world_map2/15_buduar_bgx.jpg new file mode 100644 index 0000000..5114346 Binary files /dev/null and b/i/world_map2/15_buduar_bgx.jpg differ diff --git a/i/world_map2/15_buduar_end.jpg b/i/world_map2/15_buduar_end.jpg new file mode 100644 index 0000000..99d0092 Binary files /dev/null and b/i/world_map2/15_buduar_end.jpg differ diff --git a/i/world_map2/15_buduar_logo.jpg b/i/world_map2/15_buduar_logo.jpg new file mode 100644 index 0000000..7598109 Binary files /dev/null and b/i/world_map2/15_buduar_logo.jpg differ diff --git a/i/world_map2/16_clanwars_bgx.jpg b/i/world_map2/16_clanwars_bgx.jpg new file mode 100644 index 0000000..9a44d9a Binary files /dev/null and b/i/world_map2/16_clanwars_bgx.jpg differ diff --git a/i/world_map2/16_clanwars_end.jpg b/i/world_map2/16_clanwars_end.jpg new file mode 100644 index 0000000..c9d3001 Binary files /dev/null and b/i/world_map2/16_clanwars_end.jpg differ diff --git a/i/world_map2/16_clanwars_logo.jpg b/i/world_map2/16_clanwars_logo.jpg new file mode 100644 index 0000000..ff95a3e Binary files /dev/null and b/i/world_map2/16_clanwars_logo.jpg differ diff --git a/i/world_map2/1_novi4ki_bgx.jpg b/i/world_map2/1_novi4ki_bgx.jpg new file mode 100644 index 0000000..be3712a Binary files /dev/null and b/i/world_map2/1_novi4ki_bgx.jpg differ diff --git a/i/world_map2/1_novi4ki_end.jpg b/i/world_map2/1_novi4ki_end.jpg new file mode 100644 index 0000000..0824d80 Binary files /dev/null and b/i/world_map2/1_novi4ki_end.jpg differ diff --git a/i/world_map2/1_novi4ki_logo.jpg b/i/world_map2/1_novi4ki_logo.jpg new file mode 100644 index 0000000..4598148 Binary files /dev/null and b/i/world_map2/1_novi4ki_logo.jpg differ diff --git a/i/world_map2/2_zal_voinov_bgx.jpg b/i/world_map2/2_zal_voinov_bgx.jpg new file mode 100644 index 0000000..3a35cce Binary files /dev/null and b/i/world_map2/2_zal_voinov_bgx.jpg differ diff --git a/i/world_map2/2_zal_voinov_end.jpg b/i/world_map2/2_zal_voinov_end.jpg new file mode 100644 index 0000000..245c107 Binary files /dev/null and b/i/world_map2/2_zal_voinov_end.jpg differ diff --git a/i/world_map2/2_zal_voinov_logo.jpg b/i/world_map2/2_zal_voinov_logo.jpg new file mode 100644 index 0000000..35edec4 Binary files /dev/null and b/i/world_map2/2_zal_voinov_logo.jpg differ diff --git a/i/world_map2/3_torg_bgx.jpg b/i/world_map2/3_torg_bgx.jpg new file mode 100644 index 0000000..e5ae0ed Binary files /dev/null and b/i/world_map2/3_torg_bgx.jpg differ diff --git a/i/world_map2/3_torg_end.jpg b/i/world_map2/3_torg_end.jpg new file mode 100644 index 0000000..9617c3d Binary files /dev/null and b/i/world_map2/3_torg_end.jpg differ diff --git a/i/world_map2/3_torg_logo.jpg b/i/world_map2/3_torg_logo.jpg new file mode 100644 index 0000000..f80e372 Binary files /dev/null and b/i/world_map2/3_torg_logo.jpg differ diff --git a/i/world_map2/4_rycarskij_bgx.jpg b/i/world_map2/4_rycarskij_bgx.jpg new file mode 100644 index 0000000..f9626ae Binary files /dev/null and b/i/world_map2/4_rycarskij_bgx.jpg differ diff --git a/i/world_map2/4_rycarskij_end.jpg b/i/world_map2/4_rycarskij_end.jpg new file mode 100644 index 0000000..afba99c Binary files /dev/null and b/i/world_map2/4_rycarskij_end.jpg differ diff --git a/i/world_map2/4_rycarskij_logo.jpg b/i/world_map2/4_rycarskij_logo.jpg new file mode 100644 index 0000000..1dd42d0 Binary files /dev/null and b/i/world_map2/4_rycarskij_logo.jpg differ diff --git a/i/world_map2/5_bashnja_bgx.jpg b/i/world_map2/5_bashnja_bgx.jpg new file mode 100644 index 0000000..df94b82 Binary files /dev/null and b/i/world_map2/5_bashnja_bgx.jpg differ diff --git a/i/world_map2/5_bashnja_end.jpg b/i/world_map2/5_bashnja_end.jpg new file mode 100644 index 0000000..5a3279b Binary files /dev/null and b/i/world_map2/5_bashnja_end.jpg differ diff --git a/i/world_map2/5_bashnja_logo.jpg b/i/world_map2/5_bashnja_logo.jpg new file mode 100644 index 0000000..5e12e77 Binary files /dev/null and b/i/world_map2/5_bashnja_logo.jpg differ diff --git a/i/world_map2/6_koldovskoj_bgx.jpg b/i/world_map2/6_koldovskoj_bgx.jpg new file mode 100644 index 0000000..54dcac6 Binary files /dev/null and b/i/world_map2/6_koldovskoj_bgx.jpg differ diff --git a/i/world_map2/6_koldovskoj_end.jpg b/i/world_map2/6_koldovskoj_end.jpg new file mode 100644 index 0000000..6a59863 Binary files /dev/null and b/i/world_map2/6_koldovskoj_end.jpg differ diff --git a/i/world_map2/6_koldovskoj_logo.jpg b/i/world_map2/6_koldovskoj_logo.jpg new file mode 100644 index 0000000..b596eec Binary files /dev/null and b/i/world_map2/6_koldovskoj_logo.jpg differ diff --git a/i/world_map2/7_etaz_duhov_bgx.jpg b/i/world_map2/7_etaz_duhov_bgx.jpg new file mode 100644 index 0000000..1ffdd6f Binary files /dev/null and b/i/world_map2/7_etaz_duhov_bgx.jpg differ diff --git a/i/world_map2/7_etaz_duhov_end.jpg b/i/world_map2/7_etaz_duhov_end.jpg new file mode 100644 index 0000000..9d38ff8 Binary files /dev/null and b/i/world_map2/7_etaz_duhov_end.jpg differ diff --git a/i/world_map2/7_etaz_duhov_logo.jpg b/i/world_map2/7_etaz_duhov_logo.jpg new file mode 100644 index 0000000..a36128c Binary files /dev/null and b/i/world_map2/7_etaz_duhov_logo.jpg differ diff --git a/i/world_map2/8_astral_bgx.jpg b/i/world_map2/8_astral_bgx.jpg new file mode 100644 index 0000000..efc964e Binary files /dev/null and b/i/world_map2/8_astral_bgx.jpg differ diff --git a/i/world_map2/8_astral_end.jpg b/i/world_map2/8_astral_end.jpg new file mode 100644 index 0000000..f52936b Binary files /dev/null and b/i/world_map2/8_astral_end.jpg differ diff --git a/i/world_map2/8_astral_logo.jpg b/i/world_map2/8_astral_logo.jpg new file mode 100644 index 0000000..d2231a6 Binary files /dev/null and b/i/world_map2/8_astral_logo.jpg differ diff --git a/i/world_map2/9_fire_bgx.jpg b/i/world_map2/9_fire_bgx.jpg new file mode 100644 index 0000000..d0aec6a Binary files /dev/null and b/i/world_map2/9_fire_bgx.jpg differ diff --git a/i/world_map2/9_fire_end.jpg b/i/world_map2/9_fire_end.jpg new file mode 100644 index 0000000..1d9feba Binary files /dev/null and b/i/world_map2/9_fire_end.jpg differ diff --git a/i/world_map2/9_fire_logo.jpg b/i/world_map2/9_fire_logo.jpg new file mode 100644 index 0000000..652b221 Binary files /dev/null and b/i/world_map2/9_fire_logo.jpg differ diff --git a/i/world_map2/flag_position.png b/i/world_map2/flag_position.png new file mode 100644 index 0000000..65a0bbe Binary files /dev/null and b/i/world_map2/flag_position.png differ diff --git a/i/world_map2/hr_line.jpg b/i/world_map2/hr_line.jpg new file mode 100644 index 0000000..504e3bf Binary files /dev/null and b/i/world_map2/hr_line.jpg differ diff --git a/i/world_map2/main_bgy_left.jpg b/i/world_map2/main_bgy_left.jpg new file mode 100644 index 0000000..6ebe0b3 Binary files /dev/null and b/i/world_map2/main_bgy_left.jpg differ diff --git a/i/world_map2/main_bgy_right.jpg b/i/world_map2/main_bgy_right.jpg new file mode 100644 index 0000000..9e84ed8 Binary files /dev/null and b/i/world_map2/main_bgy_right.jpg differ diff --git a/i/zak.html b/i/zak.html new file mode 100644 index 0000000..656178c --- /dev/null +++ b/i/zak.html @@ -0,0 +1,203 @@ + +Законы Старого Бойцовского клуба + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    +
    + Законы в Бойцовском Квартале абсолютны, не подвергаются обсуждению и должны безусловно выполнятся. За их выполнением следят Законники, которые являются носителями закона. Законники могут принять решения о наличии того или иного состава преступления. +
    Незнание законов не освобождает от ответственности. +

    + +
    Нарушения связанные с заведением нескольких персонажей. +
    +
    Регистрация нескольких персонажей одним человеком. +
    Предоставление ложной информации о персонажах, заходивших с одного компьютера. +
    Прокачка на "ботах", т.е. специально заведенных персонажах. +

    +
    Нарушения связанные с прокачкой +
    +
    Прокачка на других игроках за кредиты или взаимная прокачка. +
    Прокачка младшего уровня старшим. +
    Предложение в чате взаимной прокачки, заведомого проигрыша\выигрыша боя за кредиты. +

    +
    Использование ненормативной лексики (в том числе завуалированного мата). +

    +
    Использование ненормативной лексики в чате. +
    Использование ненормативной лексики на форуме. +
    Использование ненормативной лексики в описании заявки для боя. +
    Использование ненормативной лексики в анкете. +
    Использование ненормативной лексики в нике. +
    Использование ненормативной лексики в комментариях в боях (в записках комментатора). +
    Использование ненормативной лексики при гравировке. +
    Использование ненормативной лексики в комментариях к подарку. +
    Сексуальные домогательства. +

    + +
    Нарушения связанные с обманом игроков. +

    +
    Обман игроков (в т.ч. мошенничество при проведении торговых, арендных и кредитных сделок, невыполнение условий сделки, хищение чужого имущества ). +
    Осуществление определенной коммерческой деятельности без лицензии. +
    Вымогательство/Шантаж - принуждение к совершения сделки посредством угроз распространения сведений, позорящих потерпевшего, либо иных сведений, которые могут причинить существенный вред правам или законным интересам потерпевшего. +

    +
    Нарушения связанные с некорректной регистрацией +
    Неверная дата рождения. +
    Неверно указанный пол персонажа (пол персонажа должен соответствовать реальному полу игрока). +
    Указывание несуществующего или принадлежащего другому человеку адреса почтового ящика. +

    +
    Нарушения, мешающие судопроизводству. +

    +
    Обман Законника/ дача ложных показаний/предоставление сфабрикованных свидетельств/доказательств. +
    Умышленный ввод в заблуждение представителей власти, отказ в предоставлении необходимой информации представителям власти. +
    Попытка подкупа Законника. +
    Флуд в рабочем топике Законников. +
    Оскорбление Законника и/или Ордена Света, обсуждение действий Законника вне специально созданных топиков на Форуме в разделе Жалобы. +
    Клевета, в том числе обвинение в оскорблении и предоставление Законнику заведомо ложной информации об оскорблении (модификация цитаты) или иная подделка информации. +
    Попытка принуждения Законника к разглашению информации/превышению служебных полномочий в том числе посредством угроз. +

    + +
    Диверсионная деятельность, в том числе использование ошибок программного обеспечения сервера + +
    Диверсия - ДОС-атаки, использование ошибок программного обеспечения. +
    Взлом/похищение персонажей. +
    Распространение ссылок на веб-сайты, содержание которых вызывает сбои в работе компьютера, а равно на веб-сайты, содержание которых направлено на незаконное получение паролей доступа к персонажам ОлдБК. +
    Накрутка рейтингов клановых сайтов, использование игровых багов и утаивание наличие данных от Администрации ОлдБК. +

    +
    Прочие нарушения. +

    +
    Оскорбительные высказывания в адрес Администрации, игрока/игроков, Законников, Ордена Света, унижение их чести и достоинства, выраженное в неприличной форме. +
    Публичные призывы к изменению законодательной и исполнительной власти. +
    Покупки/продажи (равно как и попытки это сделать) персонажа/кредитов/екр./вещей за реал в обход официальных дилеров ОлдБК. +
    Покупки/продажи (равно как и попытки это сделать) кредитов/вещей за екр. В обход официальных дилеров ОлдБК. +
    Покупка/продажа предметов/услуг, не имеющих отношения к ОлдБК, за кредиты/предметы мира ОлдБК. +
    Пропаганда наркотиков и реклама ресурсов, содержащих данную рекламу. +
    Флуд/спам в чате/форуме, в том числе публичное предложение торговых сделок вне торгового зала, помехи при проведении свадебной церемонии. +
    Прямая и косвенная реклама клановых сайтов (за исключением форума "кланы"). +
    Реклама порно-сайтов, распространение ссылок на веб-сайты, содержание которых не относится к ОлдБК. +
    Пропаганда расизма, националистические высказывания. +
    Дискриминация любого рода (по расовой, религиозной, половой принадлежности etc) +
    Попрошайничество. +
    Угрозы насилием и/или физической расправой в реале. +

    + +
    Нарушения связанные с превышением Законником своих полномочий. +

    +
    Вымогательство взятки. +
    Получение взятки (получение Законником лично или через посредника взятки в виде денег (как игровых: кредитов или еврокредитов, так и реальных денег), вещей, иного имущества или выгод имущественного характера за действия (бездействие) в пользу взяткодателя или представляемых им лиц). +
    Разглашение служебной информации. +
    Шпионаж (передача, собирание, похищение, хранение, в целях передачи другим представителям склонностей (темной, нейтральной или серой) сведений, составляющих секретную информацию, для использования ее в ущерб белому братству, для собственной выгоды, а так же во вред всему игровому миру ОлдБК). +
    Злоупотребление должностными полномочиями (использование должностным лицом (Законником) своих служебных полномочий вопреки интересам ордена, если это деяние совершено из корыстной или личной заинтересованности). +
    Превышение должностных полномочий (совершение Законником действий, явно выходящих за пределы его полномочий). +
    Халатность (неисполнение или ненадлежащее исполнение Законником своих обязанностей вследствие недобросовестного или небрежного отношения к службе). +

    +
    Наказания могут применятся в комплексе и не сразу, а в последствии на более старших уровнях. +

    +
    Возможные наказания за деяния, описанные выше: +

    +
    1.Заклятие молчания. +
    2. Обезличивание. +
    3.Присваивание склонности Хаос. +
    4.Блокировка персонажа. +

    +
    Свод законов может быть дополнен и изменен. +
    Следите за новостями на официальном сайте Ордена Законников +paladins.oldbk.ru +

    +


    +
    + + + + + + +
    +
    + +
    + + + + + + +
    + + + + + + +
    + + \ No newline at end of file diff --git a/i/zamok/1.gif b/i/zamok/1.gif new file mode 100644 index 0000000..f1a7693 Binary files /dev/null and b/i/zamok/1.gif differ diff --git a/i/zamok/2.gif b/i/zamok/2.gif new file mode 100644 index 0000000..52882db Binary files /dev/null and b/i/zamok/2.gif differ diff --git a/i/zamok/3.gif b/i/zamok/3.gif new file mode 100644 index 0000000..dca6040 Binary files /dev/null and b/i/zamok/3.gif differ diff --git a/i/zamok/4.jpg b/i/zamok/4.jpg new file mode 100644 index 0000000..10740cf Binary files /dev/null and b/i/zamok/4.jpg differ diff --git a/i/zitadel/1.jpg b/i/zitadel/1.jpg new file mode 100644 index 0000000..38e60e9 Binary files /dev/null and b/i/zitadel/1.jpg differ diff --git a/i/zitadel/10.jpg b/i/zitadel/10.jpg new file mode 100644 index 0000000..38d1d01 Binary files /dev/null and b/i/zitadel/10.jpg differ diff --git a/i/zitadel/11.jpg b/i/zitadel/11.jpg new file mode 100644 index 0000000..4620b01 Binary files /dev/null and b/i/zitadel/11.jpg differ diff --git a/i/zitadel/12.jpg b/i/zitadel/12.jpg new file mode 100644 index 0000000..77dc663 Binary files /dev/null and b/i/zitadel/12.jpg differ diff --git a/i/zitadel/13.jpg b/i/zitadel/13.jpg new file mode 100644 index 0000000..4feb569 Binary files /dev/null and b/i/zitadel/13.jpg differ diff --git a/i/zitadel/14.jpg b/i/zitadel/14.jpg new file mode 100644 index 0000000..4b1bbd4 Binary files /dev/null and b/i/zitadel/14.jpg differ diff --git a/i/zitadel/15.jpg b/i/zitadel/15.jpg new file mode 100644 index 0000000..d5905d5 Binary files /dev/null and b/i/zitadel/15.jpg differ diff --git a/i/zitadel/16.jpg b/i/zitadel/16.jpg new file mode 100644 index 0000000..a150329 Binary files /dev/null and b/i/zitadel/16.jpg differ diff --git a/i/zitadel/17.jpg b/i/zitadel/17.jpg new file mode 100644 index 0000000..dab55b5 Binary files /dev/null and b/i/zitadel/17.jpg differ diff --git a/i/zitadel/18.jpg b/i/zitadel/18.jpg new file mode 100644 index 0000000..e5204ba Binary files /dev/null and b/i/zitadel/18.jpg differ diff --git a/i/zitadel/19.jpg b/i/zitadel/19.jpg new file mode 100644 index 0000000..95d6215 Binary files /dev/null and b/i/zitadel/19.jpg differ diff --git a/i/zitadel/2.jpg b/i/zitadel/2.jpg new file mode 100644 index 0000000..ba61dba Binary files /dev/null and b/i/zitadel/2.jpg differ diff --git a/i/zitadel/20.jpg b/i/zitadel/20.jpg new file mode 100644 index 0000000..e256c6a Binary files /dev/null and b/i/zitadel/20.jpg differ diff --git a/i/zitadel/21.jpg b/i/zitadel/21.jpg new file mode 100644 index 0000000..aab8917 Binary files /dev/null and b/i/zitadel/21.jpg differ diff --git a/i/zitadel/22.jpg b/i/zitadel/22.jpg new file mode 100644 index 0000000..72df17f Binary files /dev/null and b/i/zitadel/22.jpg differ diff --git a/i/zitadel/23.jpg b/i/zitadel/23.jpg new file mode 100644 index 0000000..cb98a7a Binary files /dev/null and b/i/zitadel/23.jpg differ diff --git a/i/zitadel/24.jpg b/i/zitadel/24.jpg new file mode 100644 index 0000000..c59d531 Binary files /dev/null and b/i/zitadel/24.jpg differ diff --git a/i/zitadel/25.jpg b/i/zitadel/25.jpg new file mode 100644 index 0000000..9cdeaff Binary files /dev/null and b/i/zitadel/25.jpg differ diff --git a/i/zitadel/26.jpg b/i/zitadel/26.jpg new file mode 100644 index 0000000..2ba007b Binary files /dev/null and b/i/zitadel/26.jpg differ diff --git a/i/zitadel/27.jpg b/i/zitadel/27.jpg new file mode 100644 index 0000000..fb406ce Binary files /dev/null and b/i/zitadel/27.jpg differ diff --git a/i/zitadel/28.jpg b/i/zitadel/28.jpg new file mode 100644 index 0000000..c66f174 Binary files /dev/null and b/i/zitadel/28.jpg differ diff --git a/i/zitadel/29.jpg b/i/zitadel/29.jpg new file mode 100644 index 0000000..3c70588 Binary files /dev/null and b/i/zitadel/29.jpg differ diff --git a/i/zitadel/3.jpg b/i/zitadel/3.jpg new file mode 100644 index 0000000..b176720 Binary files /dev/null and b/i/zitadel/3.jpg differ diff --git a/i/zitadel/30.jpg b/i/zitadel/30.jpg new file mode 100644 index 0000000..1c6145f Binary files /dev/null and b/i/zitadel/30.jpg differ diff --git a/i/zitadel/31.jpg b/i/zitadel/31.jpg new file mode 100644 index 0000000..ba61dba Binary files /dev/null and b/i/zitadel/31.jpg differ diff --git a/i/zitadel/4.jpg b/i/zitadel/4.jpg new file mode 100644 index 0000000..d468aa8 Binary files /dev/null and b/i/zitadel/4.jpg differ diff --git a/i/zitadel/5.jpg b/i/zitadel/5.jpg new file mode 100644 index 0000000..6a21106 Binary files /dev/null and b/i/zitadel/5.jpg differ diff --git a/i/zitadel/6.jpg b/i/zitadel/6.jpg new file mode 100644 index 0000000..04bd921 Binary files /dev/null and b/i/zitadel/6.jpg differ diff --git a/i/zitadel/7.jpg b/i/zitadel/7.jpg new file mode 100644 index 0000000..f0cc0a8 Binary files /dev/null and b/i/zitadel/7.jpg differ diff --git a/i/zitadel/8.jpg b/i/zitadel/8.jpg new file mode 100644 index 0000000..f48e018 Binary files /dev/null and b/i/zitadel/8.jpg differ diff --git a/i/zitadel/9.jpg b/i/zitadel/9.jpg new file mode 100644 index 0000000..9da8d43 Binary files /dev/null and b/i/zitadel/9.jpg differ diff --git a/i/znaki/0.png b/i/znaki/0.png new file mode 100644 index 0000000..ecd5bea Binary files /dev/null and b/i/znaki/0.png differ diff --git a/i/znaki/1024.png b/i/znaki/1024.png new file mode 100644 index 0000000..29411ec Binary files /dev/null and b/i/znaki/1024.png differ diff --git a/i/znaki/11.png b/i/znaki/11.png new file mode 100644 index 0000000..d11e4ec Binary files /dev/null and b/i/znaki/11.png differ diff --git a/i/znaki/12.png b/i/znaki/12.png new file mode 100644 index 0000000..1292665 Binary files /dev/null and b/i/znaki/12.png differ diff --git a/i/znaki/128.png b/i/znaki/128.png new file mode 100644 index 0000000..b147a6b Binary files /dev/null and b/i/znaki/128.png differ diff --git a/i/znaki/13.png b/i/znaki/13.png new file mode 100644 index 0000000..c6e140e Binary files /dev/null and b/i/znaki/13.png differ diff --git a/i/znaki/15.png b/i/znaki/15.png new file mode 100644 index 0000000..4853d92 Binary files /dev/null and b/i/znaki/15.png differ diff --git a/i/znaki/16.png b/i/znaki/16.png new file mode 100644 index 0000000..54dee3a Binary files /dev/null and b/i/znaki/16.png differ diff --git a/i/znaki/17.png b/i/znaki/17.png new file mode 100644 index 0000000..a051d92 Binary files /dev/null and b/i/znaki/17.png differ diff --git a/i/znaki/18.png b/i/znaki/18.png new file mode 100644 index 0000000..e352008 Binary files /dev/null and b/i/znaki/18.png differ diff --git a/i/znaki/2.png b/i/znaki/2.png new file mode 100644 index 0000000..ba59d92 Binary files /dev/null and b/i/znaki/2.png differ diff --git a/i/znaki/21.png b/i/znaki/21.png new file mode 100644 index 0000000..e4055d4 Binary files /dev/null and b/i/znaki/21.png differ diff --git a/i/znaki/24.png b/i/znaki/24.png new file mode 100644 index 0000000..ebcabc6 Binary files /dev/null and b/i/znaki/24.png differ diff --git a/i/znaki/25.png b/i/znaki/25.png new file mode 100644 index 0000000..a1b8d2d Binary files /dev/null and b/i/znaki/25.png differ diff --git a/i/znaki/256.png b/i/znaki/256.png new file mode 100644 index 0000000..ce4e683 Binary files /dev/null and b/i/znaki/256.png differ diff --git a/i/znaki/30.png b/i/znaki/30.png new file mode 100644 index 0000000..589f6bf Binary files /dev/null and b/i/znaki/30.png differ diff --git a/i/znaki/32.png b/i/znaki/32.png new file mode 100644 index 0000000..bbd0fe2 Binary files /dev/null and b/i/znaki/32.png differ diff --git a/i/znaki/33.png b/i/znaki/33.png new file mode 100644 index 0000000..4853d92 Binary files /dev/null and b/i/znaki/33.png differ diff --git a/i/znaki/34.png b/i/znaki/34.png new file mode 100644 index 0000000..1292665 Binary files /dev/null and b/i/znaki/34.png differ diff --git a/i/znaki/35.png b/i/znaki/35.png new file mode 100644 index 0000000..c6e140e Binary files /dev/null and b/i/znaki/35.png differ diff --git a/i/znaki/36.png b/i/znaki/36.png new file mode 100644 index 0000000..d11e4ec Binary files /dev/null and b/i/znaki/36.png differ diff --git a/i/znaki/37.png b/i/znaki/37.png new file mode 100644 index 0000000..b499c9b Binary files /dev/null and b/i/znaki/37.png differ diff --git a/i/znaki/38.png b/i/znaki/38.png new file mode 100644 index 0000000..58831a1 Binary files /dev/null and b/i/znaki/38.png differ diff --git a/i/znaki/39.png b/i/znaki/39.png new file mode 100644 index 0000000..ebcabc6 Binary files /dev/null and b/i/znaki/39.png differ diff --git a/i/znaki/4.png b/i/znaki/4.png new file mode 100644 index 0000000..219a4ad Binary files /dev/null and b/i/znaki/4.png differ diff --git a/i/znaki/40.png b/i/znaki/40.png new file mode 100644 index 0000000..a1b8d2d Binary files /dev/null and b/i/znaki/40.png differ diff --git a/i/znaki/41.png b/i/znaki/41.png new file mode 100644 index 0000000..97313cb Binary files /dev/null and b/i/znaki/41.png differ diff --git a/i/znaki/42.png b/i/znaki/42.png new file mode 100644 index 0000000..c30db62 Binary files /dev/null and b/i/znaki/42.png differ diff --git a/i/znaki/43.png b/i/znaki/43.png new file mode 100644 index 0000000..e4055d4 Binary files /dev/null and b/i/znaki/43.png differ diff --git a/i/znaki/44.png b/i/znaki/44.png new file mode 100644 index 0000000..e0be4a3 Binary files /dev/null and b/i/znaki/44.png differ diff --git a/i/znaki/45.png b/i/znaki/45.png new file mode 100644 index 0000000..a512f87 Binary files /dev/null and b/i/znaki/45.png differ diff --git a/i/znaki/512.png b/i/znaki/512.png new file mode 100644 index 0000000..2123284 Binary files /dev/null and b/i/znaki/512.png differ diff --git a/i/znaki/8.png b/i/znaki/8.png new file mode 100644 index 0000000..32bd398 Binary files /dev/null and b/i/znaki/8.png differ diff --git a/i/znaki/achieve.png b/i/znaki/achieve.png new file mode 100644 index 0000000..9223d1e Binary files /dev/null and b/i/znaki/achieve.png differ diff --git a/i/znaki/inf_pal.png b/i/znaki/inf_pal.png new file mode 100644 index 0000000..cd30c40 Binary files /dev/null and b/i/znaki/inf_pal.png differ diff --git a/i/znaki/inf_photoscroll.png b/i/znaki/inf_photoscroll.png new file mode 100644 index 0000000..f75ffdf Binary files /dev/null and b/i/znaki/inf_photoscroll.png differ diff --git a/i/znaki/inf_scroll.png b/i/znaki/inf_scroll.png new file mode 100644 index 0000000..c628e25 Binary files /dev/null and b/i/znaki/inf_scroll.png differ diff --git a/i/znaki/ud.png b/i/znaki/ud.png new file mode 100644 index 0000000..038b427 Binary files /dev/null and b/i/znaki/ud.png differ diff --git a/i/zvuk.gif b/i/zvuk.gif new file mode 100644 index 0000000..300ef0c Binary files /dev/null and b/i/zvuk.gif differ diff --git a/i/zvuk_off.gif b/i/zvuk_off.gif new file mode 100644 index 0000000..dd990d8 Binary files /dev/null and b/i/zvuk_off.gif differ diff --git a/i/zzz.png b/i/zzz.png new file mode 100644 index 0000000..362039d Binary files /dev/null and b/i/zzz.png differ diff --git a/ico_change.gif b/ico_change.gif new file mode 100644 index 0000000..5cab184 Binary files /dev/null and b/ico_change.gif differ diff --git a/img/Thumbs.db b/img/Thumbs.db new file mode 100644 index 0000000..ed05a52 Binary files /dev/null and b/img/Thumbs.db differ diff --git a/img/bg_scroll_01.gif b/img/bg_scroll_01.gif new file mode 100644 index 0000000..7597419 Binary files /dev/null and b/img/bg_scroll_01.gif differ diff --git a/img/bg_scroll_05.gif b/img/bg_scroll_05.gif new file mode 100644 index 0000000..cebdde7 Binary files /dev/null and b/img/bg_scroll_05.gif differ diff --git a/img/index.html b/img/index.html new file mode 100644 index 0000000..681796e --- /dev/null +++ b/img/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/index.php b/img/index.php new file mode 100644 index 0000000..e69de29 diff --git a/img/lib_reg2.gif b/img/lib_reg2.gif new file mode 100644 index 0000000..8cd468a Binary files /dev/null and b/img/lib_reg2.gif differ diff --git a/img/podzem/0.gif b/img/podzem/0.gif new file mode 100644 index 0000000..ab64a38 Binary files /dev/null and b/img/podzem/0.gif differ diff --git a/img/podzem/0_0.gif b/img/podzem/0_0.gif new file mode 100644 index 0000000..452f6dc --- /dev/null +++ b/img/podzem/0_0.gif @@ -0,0 +1,241 @@ +GIF89a`р +Т а l0 „ч]RГьБB (pИ + +ШЂци#R;ЎKЅ ’›/РAЦ0(АCЬ"Ѓt° +М‚‹ @ь +SPя@ +4°CБ† Д1K,‘А# +ЬД#0° +ЊL“AєHаB9чЬАE5zи`E%Eѓ +ґ#"ИЂ$шa€ м  (& l xЃя +ЉРсЩњƘАРЂ,шв +ЮЂ @ +" ј0ыа Д +1` +0иqL +р +;PO@ +mа р < гаЌЂ “SА6хїpkрк°„нvѓPЏр +…P—P M +˜Ђ!А‡м6 +г +<а V г№@hЬрј°‡®ёkЙА J` +И`u0'АH +.ђа_рк +6 +џяp ® E +- +„ GаX°ЎА ‚РО +@@™he04 30ьPЈ%LњБ +o` +Ача +– LР°М`“PWрЇ@1¦Ріfђuђc с +° + Л@ +uяЂЩ”`К0@@јj@-0Q +Ђ +ЛР0pЉ ћ@/ Ђ¦ +jР Q€Б00P К@wг‡@p +S  саP@Lj&рCа `%P +5P +*0ђ +bP“яp’рҐтЕ«ѓ +і° +ц +kЖ. +Ћ +« «pћ``а@0дц @7Ђf° + +сp6 +пєX +Yа +F0 p_@Pcђі' ЫPAА +с +F +Q°©Я +·"р4р‹U%  +зЂHЂ p  +Lp3p гP ґбЖ +¬ +Э[°рц +р + +л +ё@ЯKR ` 304@HР +Sт +,O™°Qаи.Ђ +A П ї +7 ¶0 Ў@° +° + +@ +°А р-`JР +"ЊА™АP›ЬKў` Hђ %H +"рё ; `ъјHSАСцfЂ (рp¶А8я‚ +“Аc`yђ + Z0rа‚°° 0Аp,L + +@ХWTЄ +mќ&p РV?„=B@Ђ “p ј T`б \0«* ‚nЂ Mа +4я@"4ЫуS X +\ЂЄ0C +t: +fP +S@ + +џа +CЂЮ@ У`4р4@b`™° +ЭЂ<а У0ґЂ' +€А<°mяа €Р”р Ѓ~ґp + ѓmА @ Ч`иmо;uP…Љ/р UА +УР +Ю0°йЌНэЕiPvJЂЂ +r@‹аn +‘Р ј@dА" ёЂ ч° т q` +ЌаҐ@аr ЕP _ђё`T п\“°Ђ  iђ яђЂ +ШђШР Ч7иЂ +ЃЂЫ РЩ +»Ђ +5Ђ%Р‰Р2  +>PMЉ` /` +MЂ Х0БA0" »аЬ0 + ђ +С‰ы +7  +Ћ< "eЃ +’% +FuВуПгGђ!EЋ$YТдI”)U®dЩТеK˜1eО¤щ±]p-ui"W‚+!љ!ЙV€I4Оpѓ熑4°«ѓжЃ0 fЩ‹agК— + +Ш (–Е%]ЪфiФ©KѓЈ;Б2„ 8ит*я8‚ЊE€Б€‡ЖI$ +ђаI6адЉ.# +rў b t`x@8bИД‚ё +,'‚щ ‘ 2Ћ8ЋшДЊ?к8 њx$s¦[б!•uVZ»‚„3ШD +f¬`c’>6Ў  *P&ў CУ,Б + +xs€npЎЗ.0dЎИ|А>GLа‡:sиІЖтВМJД“ +0\ЃО€ D?5ґђЕлzь1И&бЖ*Ф,‘ +7\Т‰лtRяВ2f(І^4rЉVxбG§!$Г…ЌЂрBЉФ +_‡м  +‘zмСJИQKІ-A€ІBЬC,•ь@ЖЫ@В‹ ЎЊФЊ +Мd^мhЈЌiTcИш4sF$~Ф’ +DЎ;СЂє«їѕwY\@ЊQK%EьO-2м’яB:( >ћР€g¤аBH@'X +%А  +Р ++\в +@(B(Е)¦eA€Б5F1Ѓrђ n@E"ш +ж@aд""РГ'2P…„ +‹ђ4ђИ]тІ$H З$0aD@ +‹PЂ …hA)<0[И + + # +ALHб P&.0ѓФ` Уђ +ўД @JщѓwАЂ@П‘тТ +p†!ЂK4®(@ +"РHH"…ёE~  +pў / YјЂ°ђБ%.Ѓ‡ёў$Ѕк!kA‚А‚hА:XC3 +1cH"±яXД¦q‚мѓ®Р>†РЂ -ёЃ:ђ +%шF +J<б W +ЬвQ`ЂђаЂRвѓkа‡.\0 +иaнр‡АЃPАЅћљ&Ж1 +Њ1XnsxѓЊ* DгьрЂоPЏїzа 'ЅБ((°Џ—№ahжPЫ3dp%®±Ѓ;дѓCЁ„: б…B`b§ё‚1ј +‚"Ша/Ђ?Ш0Mюіє’1‚X +ИЗ +"`qш/вр‡‚р +vЊ"(±ю6 фя +Gґ +ш ;и„$@ oL#5АP np€%xаЇ B¶Щ°‡'иБi(A ж я +ДЈµhA2>A‡є“ћ;Z(Б ё +ЊАMX†!ЖЃTa˜`¶Qq(  z8"Ѓ  +5Фc Н Г pѓuА"KЂЖ2(Рю< WђDЄ +lГNxВ¬ +†a[ШЂтЃxВ HЃP@ +В иЂ#ж"ZшU pЂ"ЬЃ, +јCLѓ B7@D<@Ш +0>d@;иў8–…muВ,°3PB4ёЂаБ$шГЊ8¬Ѓ@ЂґяАмђд@ +„ +ђA!d +ИL +В,Ѓм +¬?¬Ѓ6ИA!H‚ђ@ +Ф‚,Ь‚d@=$ЁЉ–А(ФB xЂ*ш@;Б%ЬЂl@Ф +ъ; +јАрЃ°ѓ,р ,BHВИ +dЂ< +ь©ЉюБ p4$Г 8ЂГ8@@ЬЃT‚ЬВ + \ No newline at end of file diff --git a/img/podzem/1.gif b/img/podzem/1.gif new file mode 100644 index 0000000..671ae2b Binary files /dev/null and b/img/podzem/1.gif differ diff --git a/img/podzem/1_0.gif b/img/podzem/1_0.gif new file mode 100644 index 0000000..cde7c05 Binary files /dev/null and b/img/podzem/1_0.gif differ diff --git a/img/podzem/2.gif b/img/podzem/2.gif new file mode 100644 index 0000000..21bb0df Binary files /dev/null and b/img/podzem/2.gif differ diff --git a/img/podzem/3.gif b/img/podzem/3.gif new file mode 100644 index 0000000..ed840cf Binary files /dev/null and b/img/podzem/3.gif differ diff --git a/img/podzem/Monster.gif b/img/podzem/Monster.gif new file mode 100644 index 0000000..7d2be7a Binary files /dev/null and b/img/podzem/Monster.gif differ diff --git a/img/podzem/Thumbs.db b/img/podzem/Thumbs.db new file mode 100644 index 0000000..9bb0860 Binary files /dev/null and b/img/podzem/Thumbs.db differ diff --git a/img/podzem/altar_3.JPG b/img/podzem/altar_3.JPG new file mode 100644 index 0000000..da5d20c Binary files /dev/null and b/img/podzem/altar_3.JPG differ diff --git a/img/podzem/b.gif b/img/podzem/b.gif new file mode 100644 index 0000000..fc57355 Binary files /dev/null and b/img/podzem/b.gif differ diff --git a/img/podzem/bg.gif b/img/podzem/bg.gif new file mode 100644 index 0000000..08b467d Binary files /dev/null and b/img/podzem/bg.gif differ diff --git a/img/podzem/bolt.gif b/img/podzem/bolt.gif new file mode 100644 index 0000000..f8a9067 Binary files /dev/null and b/img/podzem/bolt.gif differ diff --git a/img/podzem/bolt_d.gif b/img/podzem/bolt_d.gif new file mode 100644 index 0000000..622add4 Binary files /dev/null and b/img/podzem/bolt_d.gif differ diff --git a/img/podzem/buttom.gif b/img/podzem/buttom.gif new file mode 100644 index 0000000..cdfd6dc Binary files /dev/null and b/img/podzem/buttom.gif differ diff --git a/img/podzem/buttomi.gif b/img/podzem/buttomi.gif new file mode 100644 index 0000000..aa43bcc Binary files /dev/null and b/img/podzem/buttomi.gif differ diff --git a/img/podzem/buttomii.gif b/img/podzem/buttomii.gif new file mode 100644 index 0000000..aa43bcc Binary files /dev/null and b/img/podzem/buttomii.gif differ diff --git a/img/podzem/cn1.gif b/img/podzem/cn1.gif new file mode 100644 index 0000000..541a976 --- /dev/null +++ b/img/podzem/cn1.gif @@ -0,0 +1,1039 @@ +GIF89a`р +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛ·ЇЯїЂї-Ca‘<>ЙA6г + +$'¤ +ЬpА2@С!Y0Ѓ-шаО9ЊPА{Њs„,оВH­а‘Is&ФЂЗ&BИ°Dm3°ѓ +­°я#†O”уD 0ріЬ ў °Aq|p‚S р„5=r¤SД‘ Ђ3BL џLAЮt F!bЁ‰ +0@GXq +EИ\@Оl L +‘„‘ 76мBGDмВДк°АПЋ 3“xЂЃPЁяі‡‹D1ЃQаВKOМ! +)1Г +ђФ@ ePЗш%€?ґ >иЃ„0:ґў…°Я&#€Ьк +˜ЂA6р3`аgP@ +t± АЈ 8ЂC±М@@$ѕ + РX` +¶ђЗ'nШAOё%G5‡`hПЌH#ў …9|`(˜А6`ѓ4Њ`b Ђa†CРG +°АfЋCt (A)Хp4 ЎxBДB(ђ +±LиВ 5Ђ#Tµ‚PЉcЁ`GVАя +ЪЖT +` +2`5ра +U` +X +ЬЂ 3 А:°ь& +Р +=0 +PЂ`Ђ"@ЋLy +ЁА8qZ,рa° ’Рt°Л%Ђх§+@LaА”gР +ґР +З + +:ђy G`ђїРЌя +`р•PPJф +Р °¤OУ ЏЂ&@ЯА%J +рќДp№Ђ`\Р фђ0 +Њ +L° +®ђ +Х#а +п0 +S`Є© +ј' Pр +%p`љР:0ч°?А +¤@QАР=Аyђ)k0 'Аіђ<°¶0 +Ђ<`»Qа +IЂ +­Ґ +Р +ZPЖ¶:°¤& +PрЃP1Ђ  Зђ; +k° +Рc +?° ‰](°кђ5 :ђ˜ЃБ` + +)0аЏw„7АS`Kђ\=р +’ › `€Ђ: » pµa° а$я +Уа +`˜B0Р/9<ђ JЂЄ0 +І`ИVр o0 +†`R˜а +…`ЇГ@.д<0'hpK0k +1sЂ5@YPXРВ ц@Ѓ +ЏPV0 kаУ{pyр ¤°° k`Тр +q`А0гс +PyЛP8ЯЊ ]&¶1ѓYА„ћ‘№Аh¬[ + +7КЄ р°6VРwЂVЂY@Z +DXp +ЊPO°E0 + „$‰ 0W “Ѕ.а +u0"h0К` ‡ + Д@ р А +0 ‹_ђР +ђ©pPЦa@@лА°Д°›2яа +˜Р  +f“–@ђqeВ\kђb2i4x)vЅcF  ёи +Ш$Ѓвf†0пDЩPе +9€‰#Ћ(ЎЃ@§Џ$Ж(Ў„J0А–,ИAtшB?т0а€6ІXў4ё€њґ + °ШЂ„@hг0ё†IpаЪ;PnpДЉ+H†58•3ґшbЃ +^xA +Ș`… xёВ +2af#Ё@€ZHxўѓ!ъЂhxѓ7Цh А °°б€fH"fLQяЕѓ0X`ЃP‘N +C"„рА Ћ"Ж‘ChHВ ЕD +DаИѓц©а ЖЁaЂVXг& +јёа5ш +U8@! +96aБ +lxЂ *†А†7ђ…`Ѓ0Жd!—l‘з‹Йb +:x1 A Р :-¬Аў +ћ@Ђ[„‡*˜„МXў 8aЃ&Р +†я$H +H<:d-(X80« +0Ѓ/0ѓ0 АЃђ!P€Ђ5wЁЂ˜Ђ?иЃ@ёTШCHЃ%а0… И… +Ё0 +p_07©Ђ рЃHё)рЂаЂ{Ђ0ђ„Ep +8Љ3ъ +„‚ +аиВ#P1`( +…ш‚аpЁЃ/ђ +ёY0‚KЃL(2°< „˜Ѓ7ђ +XЃШ@ѓ$p…р‹ЃHP +„Uh„"Р‡ +Е6 [ёёљЊ РЃP !x@@8( Ё‚˜ўњЃ"X („,`‚1X#РR¤–; +(‚OpИ‡p‡ „;ш6Р„u(ѓ(Ш…ИZМ)-H‚.РnP)А†kаЂ +ш +Ђѓ +hЁ…2  +ђ@ђ†°LchЃ3P +А†*А†ђ +HѓDA1АЁKҐЂ20 +Ш¬ +ёДM˜F0 +иakF…v`‡\€ѓ"ШCИ +hiH +шk +А„8g8ЂI>77ИІћl‚5ЂЯЂЂjИ†XB +€r„h *x7рqMШ€†DИ…аЂҐ5D„p[Kиh‚np…=#KИИЂиФ‚˜Ђ + +H[ЁЂ]ђ4(„_  8„°SHIxЃ6\ +`†аѓB9Ђh.+(ЂGЃ¶їЃ И ‚1PЂ ѓ4РЁ + яМЁ‚hГ#—˜p2†ЋЃ;#`T@„„€!#N¤ `BЉ=B†@шзъ5мШІgУ®mы6оЬІm8™Ў!Л3OЉЂw(GЉ( +аHGЂ0\Њ eЈЂ…Ђ(дDщфЗЂ9¬ІВЭ,wtФG H˜мйU†C)о,•Йє0І +&°`)1|‘ +X ‰ Ч@  +.и"Ђ +#tА K!`±ЖГ8Ђ3ЊђЃ\dAG0рRП#ынбѓ"HЬ я†! AJD&$±†§ђЎЗ@р pА +С‰В+`p Ђa˜@Ж0 "Ђш†6ИQ‰А¬а +п°Бо@†4µ–ѕфlрѓЬА +а +˜Ђ"ЫБ'кZВLЂArР` (` юe§ +bЂБсe|`%ё‚ +:Дh@Њш0nPЃ +@Ў;(Ѓ np +rд`|АДШ±SmШB ђЉр` +ѕрЂ +XС +4ЎЊ@РЂ1‚Џp°@ЉD +&`a9dШ(’П-Ф‚ ьђЂІрyPа=Н +а +Џ(В +<ГGЁ^&|Ђ 0)АЂ&’аћд@8Б¬А + Ђl_ч‰Kш +0AШC'ДЃ|А<А +Шя‚-Ђ иZ XБ"иB@@dЃ +T@¤Б @ЂTЏјѓ`ЃTБєB—м@4A0А¤ЂpЂ%°Ѓ+Ш +t + Ѓ9А' =Гt@HB ёЂљ˜Ђ8Ђ3¬АDБpА@ + +<ѓdA + +Ьѓ#,щвЖ%<Б8xC < +4ЦЎ +@ +д#xБ*€dAx )@h +T +ДА24x +[АА +дAШ@p'А"ђЂ"¬ЂlЂш + +¤Ђ˜ѓ:ьЃ +ђ@?$ +TБВЙBpЂ Р.©В4АчЃ°L.иБ „Ђ X t +ЁВ $Ё­ж РЂX™>@БРШВ<ЂА +ИАИ°БрА°А!И‚*4@-0Ѓ ”ЂЂ•PҐDЃШ8 +јЂ;|Ђ H BсqЂ/h +€¶ЎЬ@P“@А8‚Ёл$ C$|ѓ%рј +pАh +4#ЃBБЂ\`tЂ>@4A_H† +9@ЃР‡{8"‡ЂHF)А +€б +BЋШЋQ RtА DиЂ%\0DHвlHР`Ѓ,Аh*ЎSА2рC° +Ёa4pѓ +2ИA +°A.њЃ‰!а`Rё +њ@Ђб>˜БJ/и"@ ” +:аЋЂ”ЂN +G щ +Dа +Уа В° +wЃ! +I†d + +\AЖ@ж R`vAXА$єЎцvЎ\Аzб4A а`A4!фq5L@єЎфQ t! АіlАЋ! РAќP`!>б иЂЋ2ЂL щ@zђ +l`PРR`љб ДЂlбF`Аг°аlа @цЎєо/4Бє2 Бl ЁЂЗтM +‚A>б! +¦R–KиЎ ацЂ +ЂkzрсІ Ааs0@&!бH† +И@°йАDб† а BЃЂъаhAЎrа PЪЂBБЂ&`°Ђ бђЂnЂ8``.@ЁАФ +<@<  +` +|бLg +Ђ  +ѕ +XA +BЃ +шДю`.Ў +4 d!кЂТа8Ђ.Ajаъ +*A`б°Аd +Ў а,  +2AЬ@я*@‚АZ!$б’ ZЂ¦А(Ў +x@HаZ@Dбж"BЃUpt  + +–Ѓ&Ѓ–Б<@ ж +ТАn! + +б>@ ° \Ѓ|б@xaм DЎЊ м Ш! DЎ|`Њ2Д`њ! +jaЬФЖа +6аM— + DЃИаЄЂ8Ђ юа(ЎNa–A2а8aR`A6! +я¬`ZБ,А @8` +ЂЊЂ2бк` +ЮL&`-XБv  PABв v *`jЃ –БRБAк@ъЂ ъ ‘к ~а`AH +<а;ѓ  Є Љ!цА +б +Аvб§`ЎѕАВq +*аN] Ђ ИЂ ~В8А +† +°у—-А ЖX P` +  –А8@,@`ЃяTА T Љh ¦ +ZЙ2Б +А +D VЂ@ 4@~2BA Љ@љA4А +Hа Ба +ЊА h@Ц +& :Ђ ts ` $Ў<АЬб$ —А 0ађа N`Д ` +p + +F@йЂA,`VаЂPа +R d@®а`Ђ r@Ђv І/ЃX +”Ў< + +vб^a> @@† у8Ђ–iҐ.A +@ЩvA д!ћ@ё` +ШБє P +RAжЧњб°А +Ьz +Bа*Ѓf +Ѓ`Д”6 (Ѓ !аЬґp@@ аZБ 2™ +Д@0аЉЄ@LАКvБм +@xаЖ@ +  +aЂbЂ@‰|X¬яўА ¦` +pЎѕНц@V ЉАТ +!А:а X@Е +! + р™ЂN !`ваz +z`2A6Ў +j6ТСј:аT@D@р  +Ьа:§ћф. LА\@TAжЎ b@: +n@ц + +^Њљdб‹ў: –ьвh;=„°PBЗ,w0hРpЙ[9.Ѓс%‘Ќ +С4‘rбEV7Ѓ +јИ Б +­ё"@§Дбѓ0„А8АЋ`#ЏрыРђCLQ‹ +ЂётЖ +ёф D=) В+lЎB 5 6EЛ"‡†ф…ЕB ђ‰ ЗЊa…™¬q%`БОjЬаК#4Р mda$ 9јаOш +—¬d‘9lxГFя-ЋјГ°Ђ ИСЂМS„GЬр@$>рРА&фP E q„0¤Ђ И™ШЂИ›Hђ„,5x`†ъ0ІИ5Ь`И&< рЮ ++dьPВ``БѓfРЊ +PИ…<ІH++ёI +TP +?ш>„ +љ\аB +( @ +,„ +hCвp 8" +VиЂя ЎLг ‚^!ѓђЎ<аЂ'` +DpFРб7XБ# ЎЏа [Р +5˜Aв° oД2ёFъЂ +ЁДnp5D 8B°–Д @ѓWTЕ .А„{ ALр1$рEHз“иDЄ`ђЃrШ МHВ<  +bиДPЂM,`¬ЁEQ¤Ѓ>( _ш@ёр€oа8†nяа=\дбЇР@DЃ^`ЎXИ@сЊ`)°ВИ0€ ѓА*@7dл C808Ѓ +Ђ +`шЂ4ЈcрАЬА+иаh8А3z ѓяX`bуCJЂґ _`1Ђ ” +O° ¶  +E ¬, ,ЎёЛEЊ`‘T«=Lp…+ёA‚0ёгШC>. ‹*ФЂ!0Aоqѓ B$ё +ЭЂГ‘: +№ЃђЎo+шBЊс‚OlВЃЁкШ «‡@NTАЦ`¦p +ьиC.¬АЉ +rб†W\я" 0ђД%vЂЋ5д! дx±ґ¦Ґ†@Ђ 6 …ЋЏшМґ7@ёС†X06°Еа†9ШЂiЕ +li‡& )Ш +jS@`ђ…GXAРаБt‘ © +А;ТIЊKЬ +aА$ap`ЇШA +Ћpzм +HЖ` јѓ "Фh‚¦жUиС +єЃ. +ця +&а l GЂѕрd `z€@ +А0а%рt@50 Q` +L  ¶ р +«f ђP +j`а  ! +АРPo +h6`Кр +}рCа=;p +р8 +®  @ +: +# +MP@Ъ  @En W3&.а +ѓ`6@&0АЮа=€ %`ОЋ +Є7@@‚  kp… +P +Џp +0ЕУ p мP +4O@r`HИT@ЉЂ@чш А +!pЂWЂфPя АРцаа4TўЏ.АE"@ + +ѓ`$7 +XPKpS%аbЂ! Sp·0 +р 9 wРА(рWр{pН›%ѓХpлЂt0 +Ў`)Ђ•°v№Ђ +p +Z +р E Q°†+MЂ +# А`z +Љ (РL@ ZЕђЦЙ~@ +Р& +pl +Y +% +Xр|Жђ +f Р +7ая»а:A +ц=њFmр ђФ[рXрWЩв +\аp@P4 +А ^р-а9°@ +7pљJ·'бС +3+ѓ0СіcАLРА +SC\А љЂ +ПLЂ° З`!А +Є ,@PАЃS6рР9 +pKѕр л` : _а.ъPl°®'Ґ! +д +ѓАлђ +°X0/Є +р +\@XЂ6@др +РjЇ@№ +Р +l +ра0рЪа + s p0р*ё Xр„0p±аip +Нpѓ@wњѕ +Рп`‡PLrxвBђ  +6РЈ0Е3э&рV‡0Ђ  +ђ + +Оp +Ѕа70„ +А +Gя6  +0Щ"—&ђ-%¦hy~У,@ +џЅђ +} +Џ° +uР@ҐP љЂҐ0З°wX j jаЃTв +РЃ¬Р“~¬DўL`@ЂmpBА9 +Ђa+6 „K^ + +Шhµј +јСв +$&`в€иc>>AЖ0ѓЌg!"LЁг@ л +яJ®W_цЧ]HdDH1Д†hњАBg™шdBшў[Ђ@ћ,Ћ9C„<ђД $ щDЉЙЃ YИ &ЪB‰Ж +5Dpб66И_@Ђ 0Тё$„^aГ†8@ +-оёА‚ +ѕђ‡ всЖ +8‚a‡ Іpѓћ]ИP DnШЕ„#Кat’Xъ ,%ћ<>ђ@K4 +e¬ЁА‹LАШGЉ +r‚ _8dш‘"^pГ…KрЅ@*аА± +x¬ ЕHЃ†PфAuи“Об +R” + C +ЬСD C< а€K\аVђrс‹*„A ¤ШE +,яЂX р(8Б8PБkђD +n°З|~А_ј%-ѓ@ДНЬ ЙЂв¦РВЂЃ\HвсБ|‘ѓ*Lѓ$ВТ@†_pг‡pБґБ'РCVpC о‚ Юk‚ !lаHC +~X@ °@<аFѕђ ?ШАЏ6дBшE.@ѓ +Z +`Г.Ѓ°aC(B%ъР28 + ЉЋ,@°Ѓшса ЂАЏjЂ(„@Гlqѓ€б бh‚ +Ц +RtcaX†qzфБ`‚5} + м +EАЂ6¦!„а!ЂБ. +ћ ЖЦ‡pbі€Ѓ8Ђ+`в8„6^` +OX@т +ћЃ…ЃO вр[tз шА +§Р +Q4H!SА2Hа +ђA.\°p`¬и&jЎ2Ђ‚Ѓ{БАp„/ в +€Ѓк ѓ"d!ЏАШPqи +ѓЬ`РD p+Ш#VЁE Ha=H6¦pГ†.р\‚—ђB +jЙµ H±)фC/ЃМ‡D\`h—4Р‡!ма—(ЃЗ$!1ЂАђПH)”в? +< :дГґ°А$С,LаI +К )єР ј%РБ#l`Џм"%ђ„L0=РГ т2П ФАдKиЪѕя‚7аoШ +HР@^p‰ZРА€ +CП +АAњР ј"iшD а‚;8B –И‡ њP њA и ‚а*Њ@щРвЧ?˜Г{ €Ђ€D`@–ИEv±‹Л«ѓc˜Аћч€5XB€ с LЊаw`G яp:бpЂ*(p‚[0ўH` +>Hѓ +°‚; й…К‡4p‚4 + +и…|@4P +ђ +ЃрmhNxѓРZu„B°‚Чh‚  !X±ё(ЂGШЂ'и‚7˜XP„)`;OP„ +ЂЃWр…ш…CаЂЧ(p…+ёrР!x>  Ѓ:Ё +AЁЃPђX©«.IpЂ$ ђЃ* +ЁЃRXЃ$Ё + и±8Ђ*ШK`Ѓ Ђ + …PђЃ?x‚"А ЂѓfxЃ>H +‚Lёё‡а‚:ђЃS˜а§0X h†рЃh +8 +HЂ)/Шл +Ш +ш…"Ё‚RёЃQшѓe +Ђkё3pЂ`„xЂ †)Р +иЃ/ +`† +@ +Њ9G–°вр`И$x$#&гPі + fQўEiЕ“KUщAЖ +Б0C4ш`@БД'єЬ’: F) +xђЕЄ|С +'Lр9a +¬B#H2 +`ИЄЎљЄЄ«Є:F +I ў YxА%Ш"@KФ@ хњ!…_БЌ=˜ +Ђ‡І@C7иpИ;Ѓ<‚БU,Д†5°°FStСЕДbАд`€!cДpИ $ V\ђ„ф0Е«L‚Љ +<шpЉ%яeАбНVЂІF +<В>СѓирH2ЬАДUL! ф`K %LA +l™x`Ђ8 +ѕ=ф@В!¬ўћєкЁК Г*4±М2IDс€" +м2A(G" +јPGkИ‚„.xCBДфЎ@ +_ВЛ +П€a8Ђ¶ hб‡ђЃ˜"»+¤ў +HѓNЎЃ=t!х09,0ЂGpа;HЂ Ш°‚я\<‚ ёџ–`O\ +Z€ lЃ6‚ +€ +.xЎ#x[$^#xбўРЂVр€H`ђ˜Ђ7Tq‰,aёЃ +" Б%@‰`hX)KYК+aиВ +ѓH\яЎНИ@=¬ЂґЂ(а@ ¶A(˜б°…¤¦ЊJXБА„ tQ + и ¬ш>Ђґ@ї@@†xЂA•ўsГ† ЂFМа‰98;(QЉЁВ€ +Fa†BрЂ c +ВЂFД@Xа ,ё‚jђЂ њЈ ШАd°‰`ЈЈh!®0‹"¬"eY +d°ВкР‰4ј + +,A%ЂБ5Ъ +y@A6 +X`…H@1–P¦C:Ђ@|@ЃnH40Б4Ђ Ё@zЁBфЂ1А -аД&pЂК­`28TВ(0А†8  +lяЂ-dр, +ј`@ + ЊY +а,Ј=љb +AЕ:@‚PA _xB  LЈ + +`SXЖt †xD@VH +l Б +¬Ѓµр*pЃq Ђ$Ё‚fэ… HА<ѓ',aH(a€a Ў€Ѓ6bАRHў˜®2n +0Ђb€в +[АЂР `Ї ГкАATБ +HЃ& …,L ЋјЈ‹Р„bШЕPЂMДН ЁЃИ2р +°Ѓ +ё‡^Б2€А +HА4єр(€В}˜BЬЈ‚FLб E€ +эяЃ>ЂЂVЂdБѓ +d`FаБhFHА)Ж¦P€9ЮeЪА‚Pѓ[° 0`EJђ‰T  ™АB$°Nj–x…'`…'ВИЃ LЂ(РB Ш‚Ж,ЬxBМBX +h +^яn–”Аd,„@шЃМ0|Ђ`Ђ +ф@0”Ђ +\‚аАшA”Or(‚4ђ)\Ѓ;дЃ4TА(МЂ \Б$А!L +°Гx +Фў„ЃЂВ,ЂАЗTА!`А0|БАА +pАlA8@d€hA.ЁБ +А +X‚„ВшАxЂђB9,ЂFшџ|HЂ<АФuAh&LАЧ=јA-фЬ@°@°ьЂя|<rјЂ# "HБСtЂ,„A фБ шВ.|‚/\Б +nk±А5ь@XЂL<В + A(№Ѓ"и +ђ +њ*¬Ђґ +јЂрЃ7ёC$4Ђ,0Б!<ЬАYB)к ‚@ґА5˜Б„ +h +D@шФЂ6°4 +”А<ѓ\Г +РЃђ +d@+°AЬА A=$!а5\AЂ4Ђњ7  ‚8Б4hА#ША°ѓ$Ђ$мЂ +`АЂ˜@¬АшЃx +¬A0ЂШЂxА +lА lѓђВ!АЁАиВ xBXЂи@ +|@,@($Ђ +рАцЂ| +РКЊВ„mp$&h7Д +Ё4 +ьАШC,D +•РЂЭв­,‚HВ#иB%@ +ш С`B @°A°"Ф@/lB€Л<ЂZ0 +¤Ђ +8БЙ0Ѓ%8В|Г˜ +ДA0A ”@ДЂ^˜Ѓ*Ьѓ tЂh(А0Ѓ +„AtЃЊЂN¦t +h +$Ђ2°ЏpАHЋ-\ +„@ѓ-ѓщt+(ЊЂЖAЊ h +”" +pА@”Г$ +ђ‚ Ь + +Ш@ +ИE +ЬЂ њAHr±1$ +ФАBГ7hґА)p1 дґAЊ +¤Б,™М'њВ,шАр + Aяа 3РГ$ Б,В$ИB&€Ђ ИЃ!xAФ˜ЃњВ0В˜ЂX +0А +МА¶ @P1 щ°‚ +X +ЂA/ЂЂlБды,@0@ЧCё$ +<`pz +Pk˜A ˜A(ѓмЃtЂAЊAx +l‚и@Мe +Њµ:qг¶bЄI"fx cЃ`A‘@ЃLqћx0TЗЛ)A‡ґА9¤¦€AJ +x &( Ћ%&ё#Ѓ*xXбф!`D0ё +e A8b!Ј‡°@!˜ +йaЌбЂ +VШa…ќc‰B eЌДђA†?dЩЃ,В ўА#1РP…” +Ьё 4‘ЬвЋ#†Щ¦„(88 +,pе&¶HВЋ8’(В–"йA4Zх &ZAѓ ЦР"!0) ‰GxАЂ(®XБ€АD ЁЎЋІ@†L:8ЎѓWяBxГ&fXжG2Lр +Lf±c‰ЉpҐFVаБѓРВЏ1ZЙc,Ш +4ШЩжђs1dЂd8y1>xг‰5ёШЃ‰ tђЂ +4Р‚ћ ’p&˜h +\`(?ю0Ѓ&lа LГыnp %DбО°‚ ѓЃ`јвР@)l!†(ав  X +B +`PY¬`!ёАґаЉMЊЂ E p`бsђЩl +@ +иPфСЃ< ©(А‚КaЂ9Рў 5ш§rЃh# :8 +ЏиЗ\ЂЉL‹Д +а Ђ&Пnа\’ ю ЊА"Бкь.ЎЋA +юа6Ѓ +А` а2к ` єa8@WФaтЎX +la¬/ А8Ђёяјъ +ћ +ЬИтq¶p *ЌVЂъc +@Ђ’ >ЂІ@WАG  +±`dAЖ >АЂЊA +@О@¬`ъаB І Ь`ёH@ R! ћБяб6А®А +aљЎИ`¬`>бЂp @FАTab`*@ +Rah +a +ъ@6` +°Ђ@‹ +*аFб +м `=ЂЂA8@ЉА мЃ¦@n Д +Ђ +> ю Л ® ІЎprаXЂ|АjL@ +њаІЂ@б˜@~Ђ „`|аЂlAѕаn ља T vµѕаЖ`v` +8 + ` ШН  µ`` +¶­А ѕ`m€a А +ИаrА +АЂа PAsи` +h!®уtАla фяЎЎZАpа4­ + 8AЃ +Зњ t +® 6`0`Р  \бТ +0 ,а„ЪЂ в`яµ.а +\Б @m$!NdкШЎ°б¦АТБXаѕ! +nЃxЎЎrАz`Я*`;аЖфhѓ…lб $а + аH +4KRа  +~У~ + +  фЊЋбHЃ–Б ° iu 2EAЖ ТGb`HАq/Ђ}ґЪ ^А DЂ +а а0  +|А БDЂ ф@bБ : +l b@4`Ў&At&*БtА +`Ь +†я! + д  +@ЂЎш@ЪЂ«з)l@ЂІ@BАLа aR +zЁао ґьаИп`dA0Ўа<аЙ– +@` +`F Ђ` \Aьаґаь;Ьќ +` +БF!„{ +. Рa †`ЧP@`*а + јЂ +j +– +BЂ @бА b +TAАzAАЛи pA x ˜`М +”Йi5ѓ—ё +з|hафEH Of$˜±ЌЗ— њDP°#P(5l†€ё@jMЋCцa˜рeИ–MjґЪ4д‹+2Є¤18AЇR†2&ђвq/" +4pLњA< ЌіўйS˜5ИяђШЃЭ^|V‚~%ЖЊy ¤Gѓn@°8°J^n +µXжЃЊ/;њЙА©>¬ЦА +фiЃѓБ‚xF5xpбBЄ#UPРа Ж‡4Z,јG@љ0†О`™ +Z¬р*x Ђ ИpcАsП4€”Ќ ёxPC(LЕ(F|`ЂS РB‹!Ђ<БA x\±@.h†9иђDZ.Ёў +:LqH.“я p@ +ЁPЂМ  u”АF°`=8`AЏЊ±Ва}±Аq‘ЖДB˜ 7„±П +мt`)P #*и…X!DиђВ#+в!–°СЂ EаЎЂ¬ЬгДШђ +˜ў!И 1і °(ЏY! +I О +~ЁRБм`Eф2‡#“ K еLR<Б ‹ш‘C3Ђ’W ( яm‘Ѓ?\`‚ д" +$!p1–=cDЃГ$к<сA;Пш  ‘# +w<іHapЉ "ј"@ Т\сA T°Ђ-%LЂ +x°pA<” 8"ьСА +DKЁ!ЂК¤6‚ +”ФЛxЗФЃ d„ЈЌ`@)аяѓ,ґЎXЕ!tPЊ~C-†(4р…@ЈРВ%$РЂђ!5~ђ–P4ШвЕEА,Z`^ cr .рѓ¬#X(‚ћС + +bШа‡ +М`и„!ё!†\б 4рАка„¬ f`)’°$mШBQhАж+‡ФАЃ(Е2ц[…¬@:аБ;¤< +<Ў3`@:|P„! Б ђЂ +?q‚(<Ў7†ИAю Ђ0А +ђC!к@>¤`0рЂ0x0…'4Вщ©A& (и‚u@@#Nс | —В,ЃB\БAhA!Д!€d$СxGZp‰PРв + ёFE–P„+sа08Б1ёЎѓ"ШАѕАB.Ў†\аА2М $T«HАЉЃUlЃ™x +  K€Д :PЂЈ„С +n$`rрБ®АЂpаЋШC б ` +q˜aкО›є ^-F¦ Ќ)Ф +>ЂB 0z¬ аёЕ ¶ЂЉ9ўЊ @#Z`м8р`60ГN ‚'   0Ђ6Ђhа RРЂђ°ѓxa +ёђ/аaP°аШРГ`1аОђ)А„  “Ђ +O@`rAР +zP}‹А +м·Rа° + +'Pp |°ф .О° +р  вђ!s м  +GpiР»° +я«… +БА +@яeђ˜Щ–|yђв + +pђgаi А•' +rЂ‰ + +“ Аќ` +р e ™Ч0 +љ +†cљЂЇPcR%Ђ +б°*Ђ]sрўK` +µ` +e`xРР +Р +R + +Ђ +А-‚м0ђ'ђMbPњРЧ7ОPp + )аP/ ‹@ЉЎЂђ° + ~р~Шђ ђ@Ђ +@ђ ™°Iђ *" h +]а+p +ЁP +pYd°@@њђ€H@ р + ° } +UЂU` : +`%_аW0Y`uрч0єpПА$+Ђ ]p +Џ  pQz5 +†а +0 +›p4ЈP) +КP®0K@ + Ђ^а<АO2PР_АрТР™ћ  µSРP +P  +I`+ Е} +x` &Тl Р`>P +§PВO°, 3~•`+Ђ$р +ЖPIђъ`@0 +…Ђ +s@Й3Рq`РOЂ LР +2Ђ†Њђ +Ђ‡ К +=p¬Л hАK0 +У + А +Oђ±(`*ђ‡_` Ђ  +-Ь +ВpћLPNаА@P s0:P +V‡ ]0p рЂ +ЋЫeђҐ +АxOА˜І +…p‘‘@ћЈ аUп@ + ˜PtА ђsР ¬<ђ + +p3а +ЂаcЛАkр +КPҐЈа] Р +P5` °б, В°WЗpXрvр@#Р +ћP( +<ђ +ИАP  +kАЌЂ +O +лpAЩ= +Р 0 +\рРЄњЎr‚A™3§@«=6Eі‰Q + +Q: ҐЏ7˜1фбK xђЂ1aЌЄ@B°xZтFД„јФйуБГ”&uд +E4ёdi +TXXЂ!ВPg“&^  + Ш@’ +n CU„0ѓ Jl ЈЏ@TI`‚–y rя( Ђ%"i +2°e10в1’X <0A%†Џ?ЈћHЄрЈЊXа1АЉfрб I„hД–"ж@Љ )дѓ юXaЌ 2 +”± fzx"‹,љYA +“*„ c‰5Ъ№C‚и!`ЊI¶HЎ€?9@€яpжЏzPбXЇ€D + ‰,"ЃЉwра7‘pЂjт +TaД8$a-Ђ‰ zё +РЕ +SP„*р†mшА:p +q@Е""Б‚'(а +АЕ U ` Ђ x` в]ђ…¦ +]yа +®8 +кp +АЈОё‹Tб+b<ЂЧ( рЊ"Db)˜Ђ¬ђL/|!БЂГ1*ђ48 §ђq XБB +Шb&°Q™ +рB +’ђ#,Ђ,°g$Vp 0pЎЙ A +°ЂЃ4yа лt@J°‚ЯЬ`=xЂ,Vа +ѕА T`Ю” +f(БМАЃ а_ђБР +ША +€Ђ +!va’Е®р‡ +pYLCЙ4 +ё ™#цр + X@Є +O4AрђCЋpѓXТ@]ИЃ z0Ђ;€!Cљќћf<!¶x‚bлЊ!°ЂnяB,¬A‡Бе`Є`†ьЃЁZ‹ЂЦP(aс\As>  F\‰•ГњЧаЃЊ« +Ђ7€р‰ЗЃ‚ЁЗ +XP< ` Тк„ґаЂЁB=@–PЙ + `ѓ6ц°‰"њ Шoс + +.иѓ +`— сY@ + 8„`@ѓ\°А…BИ2XѓЂ‚gЂ#`LЃ>рѕ*аЊg0 +А‚HЃIГH +@„+иЃ +Ёя‡ѓ5 +А†PђЃАО$АYЂ +pх‚4˜K,pRА„`аЂ4 ѓа` @Ђwx +˜ + +Шѓ#ђ`‚˜Ђ' ‚ChGш ˜P0OhЂ0Ђ ?р + +xM0ѓ8•€\жcЃ5`Ѓ :(‚эЊА +ЂЂh1аЃ3€ +0ИaP†х +Ш„=h‚Аќ[Љ˜0 +eБ]X‡gX†"и@ +(я‡9ѓЪ4РQР% +ёЂ +x‚'PАJРNјb +ё„<А:Ж#и +ђЃ@Ђ%`t` pћ+Ё‚ p0b†¶ +Ѓ»Ўш,°Ѓ`˜Ђ …X‡€L˜ћцЩ¦[˜ +Pя„:а +8„B ФXQ.lїР…gр+4˜ЂJ„3рЃ8H]їg€Wр‚ +°Ђh +†gш‚kE/8 +(±.[ +x¶ ѓ_8„H +°ѓ°Я(Y‚5(Ђ Ђ‚(ѓ\йЃC‡‚E(‡т|c +ёы…˜ +иa0 +P…0 +27м +§‡$ г°ж{ѓ$8˜$и‰ :У  А +PzRё‚/Ё +…'€„pѓhd^†eЃрЂш0р5Аv(0\s»†оj“HРЃ-@Џa˜P9ђѓИ’зЃе,ьЈЯЃ#0_ј +P†@ ^P† P3 + АЃЌ€Ўѓ=ё2€!Љ8ў€=¤БE B0РЂ-EЂК 3Ш1E +3ХpM2VDК»hСГFќА +fрCҐш G +¶0°@3XЂБ + +(xR8„Г.¶Дя° (ђаЃ@џёЃЕ2KМ‡35p·‚*sЬБM!ШЃ0тРЖ-r йA +¤¤`EW4`Б:qУЂ1И…4\ђЕЏАр’;рВ2 ѓ^„RВ!ШВ(°ЎѓЪИЃG$›0B"З{ ў-‹њ H>Рx…B0BЃ(QњР‘x0J +,б@.‘L0F'<1‡,'њ0К#·дrF0!рЗ +,`AЛ$°BPP +0РБ38ёb +›њР…:­XcG9Њ2 +KTаAЊ0Й +…@сА:*ДaK–гЃ5lМ04рG<¬р€ WGb +.5[EУАa@nЊ0G YaЖ_БО”’@_Ђ + +аяѓ(jб5XГ +a€uфЖLX +ВТ xЃ^P0ТЂ…8`TPГ¦а;<€Ј +˜Ђ2&q°Ђ(ГЮђ‚"Ёа[ёѓfЂЂ"lГ…h +(Ђ‚И@ + а6ёБњ0ѓQАA <и *@$‰ H +8А„;0Бш!6ряh°Ў +‘) <ш + ”Г(ўА +ИA Oљ+”Бh!0HВ + Ћ"l@hЊИЂ „ ђR@ ђC;Д@ЃVв18Ђ +аВ=иAђ`З(@ +РD¤ +1ha +ћ`ЃwЎzЁ C;|ђЂ ш ‹ЁЗ +„ИЂS€ P‡" фu:аД; +КбЎюэ/G„°‰2рў +- ?fжі†'! +X‘ћ јвJРЃ RрYAр"ђ@F+М‹,@E!:АЋ0#»X.ЦP!њ  ”я=Ѓ +ђЬocr +` +oАA=ўИБS№Ѓ:б@XA ^АmV°:”!8Д,њQ€tе@A + ђЃD"ђPAюа•щАZрАЁ,‡  K8@ >р‰;Z >и$ +р34Ак@Е +~ +7`ДрLј‚P +рb†;nРЃ"hЈ ПЂВb +cHЃ +Qi +‘,C Б°Aя°Ђ2АњА;@–й[)d[=ЁГ-lВ|KA00„Б‡T.~М ¬C@=Ќ(Б +|Ѓ`‚ +0ВmВT= +нБ€Б"tА-˜€єДB,DВ7¤Ђ BВ7@Ѓ:њА† +К;ВяГ@X@t ЃуњђBФАЈмTgfАgЄ@€&k +L,А БИЂ,ШЂ-°Й +,Є\AД@ +,@@6@x@ ”*Ђѓ(р@рА2ШВ#АC ˜A¤ЂЇвВ@ xА|фЂРБфАЊЃL@РCЯ(Г(Б\Ц"DA9”)љ¶ +аА<Б)Ь=(Ѓ фАњБ€ВмЈцАt@ $At +”_ ‚lА,!LA ( \ No newline at end of file diff --git a/img/podzem/cn2.gif b/img/podzem/cn2.gif new file mode 100644 index 0000000..d344c64 Binary files /dev/null and b/img/podzem/cn2.gif differ diff --git a/img/podzem/cn3.gif b/img/podzem/cn3.gif new file mode 100644 index 0000000..95e3dc6 Binary files /dev/null and b/img/podzem/cn3.gif differ diff --git a/img/podzem/cy3.gif b/img/podzem/cy3.gif new file mode 100644 index 0000000..621dc6d Binary files /dev/null and b/img/podzem/cy3.gif differ diff --git a/img/podzem/cy3.jpg b/img/podzem/cy3.jpg new file mode 100644 index 0000000..2a2f87b Binary files /dev/null and b/img/podzem/cy3.jpg differ diff --git a/img/podzem/dob5.gif b/img/podzem/dob5.gif new file mode 100644 index 0000000..ad48754 Binary files /dev/null and b/img/podzem/dob5.gif differ diff --git a/img/podzem/g.gif b/img/podzem/g.gif new file mode 100644 index 0000000..3e0dbab Binary files /dev/null and b/img/podzem/g.gif differ diff --git a/img/podzem/g_c.gif b/img/podzem/g_c.gif new file mode 100644 index 0000000..3c05915 Binary files /dev/null and b/img/podzem/g_c.gif differ diff --git a/img/podzem/g_r.gif b/img/podzem/g_r.gif new file mode 100644 index 0000000..167c316 Binary files /dev/null and b/img/podzem/g_r.gif differ diff --git a/img/podzem/hall.jpg b/img/podzem/hall.jpg new file mode 100644 index 0000000..a476cf1 Binary files /dev/null and b/img/podzem/hall.jpg differ diff --git a/img/podzem/hall2.JPG b/img/podzem/hall2.JPG new file mode 100644 index 0000000..b124db5 Binary files /dev/null and b/img/podzem/hall2.JPG differ diff --git a/img/podzem/ico_change_leader1.gif b/img/podzem/ico_change_leader1.gif new file mode 100644 index 0000000..7cc9a8b Binary files /dev/null and b/img/podzem/ico_change_leader1.gif differ diff --git a/img/podzem/ico_kill_member1.gif b/img/podzem/ico_kill_member1.gif new file mode 100644 index 0000000..19869ff Binary files /dev/null and b/img/podzem/ico_kill_member1.gif differ diff --git a/img/podzem/index.html b/img/podzem/index.html new file mode 100644 index 0000000..681796e --- /dev/null +++ b/img/podzem/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/podzem/kluchik.gif b/img/podzem/kluchik.gif new file mode 100644 index 0000000..b85aa87 Binary files /dev/null and b/img/podzem/kluchik.gif differ diff --git a/img/podzem/koll.gif b/img/podzem/koll.gif new file mode 100644 index 0000000..c716a40 Binary files /dev/null and b/img/podzem/koll.gif differ diff --git a/img/podzem/left.gif b/img/podzem/left.gif new file mode 100644 index 0000000..f8c5265 Binary files /dev/null and b/img/podzem/left.gif differ diff --git a/img/podzem/lefti.gif b/img/podzem/lefti.gif new file mode 100644 index 0000000..477d0ba Binary files /dev/null and b/img/podzem/lefti.gif differ diff --git a/img/podzem/leftii.gif b/img/podzem/leftii.gif new file mode 100644 index 0000000..477d0ba Binary files /dev/null and b/img/podzem/leftii.gif differ diff --git a/img/podzem/lestnica.gif b/img/podzem/lestnica.gif new file mode 100644 index 0000000..0ed58ed Binary files /dev/null and b/img/podzem/lestnica.gif differ diff --git a/img/podzem/ln1.gif b/img/podzem/ln1.gif new file mode 100644 index 0000000..452f6dc --- /dev/null +++ b/img/podzem/ln1.gif @@ -0,0 +1,241 @@ +GIF89a`р +Т а l0 „ч]RГьБB (pИ + +ШЂци#R;ЎKЅ ’›/РAЦ0(АCЬ"Ѓt° +М‚‹ @ь +SPя@ +4°CБ† Д1K,‘А# +ЬД#0° +ЊL“AєHаB9чЬАE5zи`E%Eѓ +ґ#"ИЂ$шa€ м  (& l xЃя +ЉРсЩњƘАРЂ,шв +ЮЂ @ +" ј0ыа Д +1` +0иqL +р +;PO@ +mа р < гаЌЂ “SА6хїpkрк°„нvѓPЏр +…P—P M +˜Ђ!А‡м6 +г +<а V г№@hЬрј°‡®ёkЙА J` +И`u0'АH +.ђа_рк +6 +џяp ® E +- +„ GаX°ЎА ‚РО +@@™he04 30ьPЈ%LњБ +o` +Ача +– LР°М`“PWрЇ@1¦Ріfђuђc с +° + Л@ +uяЂЩ”`К0@@јj@-0Q +Ђ +ЛР0pЉ ћ@/ Ђ¦ +jР Q€Б00P К@wг‡@p +S  саP@Lj&рCа `%P +5P +*0ђ +bP“яp’рҐтЕ«ѓ +і° +ц +kЖ. +Ћ +« «pћ``а@0дц @7Ђf° + +сp6 +пєX +Yа +F0 p_@Pcђі' ЫPAА +с +F +Q°©Я +·"р4р‹U%  +зЂHЂ p  +Lp3p гP ґбЖ +¬ +Э[°рц +р + +л +ё@ЯKR ` 304@HР +Sт +,O™°Qаи.Ђ +A П ї +7 ¶0 Ў@° +° + +@ +°А р-`JР +"ЊА™АP›ЬKў` Hђ %H +"рё ; `ъјHSАСцfЂ (рp¶А8я‚ +“Аc`yђ + Z0rа‚°° 0Аp,L + +@ХWTЄ +mќ&p РV?„=B@Ђ “p ј T`б \0«* ‚nЂ Mа +4я@"4ЫуS X +\ЂЄ0C +t: +fP +S@ + +џа +CЂЮ@ У`4р4@b`™° +ЭЂ<а У0ґЂ' +€А<°mяа €Р”р Ѓ~ґp + ѓmА @ Ч`иmо;uP…Љ/р UА +УР +Ю0°йЌНэЕiPvJЂЂ +r@‹аn +‘Р ј@dА" ёЂ ч° т q` +ЌаҐ@аr ЕP _ђё`T п\“°Ђ  iђ яђЂ +ШђШР Ч7иЂ +ЃЂЫ РЩ +»Ђ +5Ђ%Р‰Р2  +>PMЉ` /` +MЂ Х0БA0" »аЬ0 + ђ +С‰ы +7  +Ћ< "eЃ +’% +FuВуПгGђ!EЋ$YТдI”)U®dЩТеK˜1eО¤щ±]p-ui"W‚+!љ!ЙV€I4Оpѓ熑4°«ѓжЃ0 fЩ‹agК— + +Ш (–Е%]ЪфiФ©KѓЈ;Б2„ 8ит*я8‚ЊE€Б€‡ЖI$ +ђаI6адЉ.# +rў b t`x@8bИД‚ё +,'‚щ ‘ 2Ћ8ЋшДЊ?к8 њx$s¦[б!•uVZ»‚„3ШD +f¬`c’>6Ў  *P&ў CУ,Б + +xs€npЎЗ.0dЎИ|А>GLа‡:sиІЖтВМJД“ +0\ЃО€ D?5ґђЕлzь1И&бЖ*Ф,‘ +7\Т‰лtRяВ2f(І^4rЉVxбG§!$Г…ЌЂрBЉФ +_‡м  +‘zмСJИQKІ-A€ІBЬC,•ь@ЖЫ@В‹ ЎЊФЊ +Мd^мhЈЌiTcИш4sF$~Ф’ +DЎ;СЂє«їѕwY\@ЊQK%EьO-2м’яB:( >ћР€g¤аBH@'X +%А  +Р ++\в +@(B(Е)¦eA€Б5F1Ѓrђ n@E"ш +ж@aд""РГ'2P…„ +‹ђ4ђИ]тІ$H З$0aD@ +‹PЂ …hA)<0[И + + # +ALHб P&.0ѓФ` Уђ +ўД @JщѓwАЂ@П‘тТ +p†!ЂK4®(@ +"РHH"…ёE~  +pў / YјЂ°ђБ%.Ѓ‡ёў$Ѕк!kA‚А‚hА:XC3 +1cH"±яXД¦q‚мѓ®Р>†РЂ -ёЃ:ђ +%шF +J<б W +ЬвQ`ЂђаЂRвѓkа‡.\0 +иaнр‡АЃPАЅћљ&Ж1 +Њ1XnsxѓЊ* DгьрЂоPЏїzа 'ЅБ((°Џ—№ahжPЫ3dp%®±Ѓ;дѓCЁ„: б…B`b§ё‚1ј +‚"Ша/Ђ?Ш0Mюіє’1‚X +ИЗ +"`qш/вр‡‚р +vЊ"(±ю6 фя +Gґ +ш ;и„$@ oL#5АP np€%xаЇ B¶Щ°‡'иБi(A ж я +ДЈµhA2>A‡є“ћ;Z(Б ё +ЊАMX†!ЖЃTa˜`¶Qq(  z8"Ѓ  +5Фc Н Г pѓuА"KЂЖ2(Рю< WђDЄ +lГNxВ¬ +†a[ШЂтЃxВ HЃP@ +В иЂ#ж"ZшU pЂ"ЬЃ, +јCLѓ B7@D<@Ш +0>d@;иў8–…muВ,°3PB4ёЂаБ$шГЊ8¬Ѓ@ЂґяАмђд@ +„ +ђA!d +ИL +В,Ѓм +¬?¬Ѓ6ИA!H‚ђ@ +Ф‚,Ь‚d@=$ЁЉ–А(ФB xЂ*ш@;Б%ЬЂl@Ф +ъ; +јАрЃ°ѓ,р ,BHВИ +dЂ< +ь©ЉюБ p4$Г 8ЂГ8@@ЬЃT‚ЬВ + \ No newline at end of file diff --git a/img/podzem/ln2.gif b/img/podzem/ln2.gif new file mode 100644 index 0000000..cde7c05 Binary files /dev/null and b/img/podzem/ln2.gif differ diff --git a/img/podzem/ln3.gif b/img/podzem/ln3.gif new file mode 100644 index 0000000..6750326 Binary files /dev/null and b/img/podzem/ln3.gif differ diff --git a/img/podzem/ly1.gif b/img/podzem/ly1.gif new file mode 100644 index 0000000..d75c8c8 Binary files /dev/null and b/img/podzem/ly1.gif differ diff --git a/img/podzem/ly2.gif b/img/podzem/ly2.gif new file mode 100644 index 0000000..e81081d Binary files /dev/null and b/img/podzem/ly2.gif differ diff --git a/img/podzem/ly3.gif b/img/podzem/ly3.gif new file mode 100644 index 0000000..b5a4fd6 Binary files /dev/null and b/img/podzem/ly3.gif differ diff --git a/img/podzem/mapdr.jpg b/img/podzem/mapdr.jpg new file mode 100644 index 0000000..942611b Binary files /dev/null and b/img/podzem/mapdr.jpg differ diff --git a/img/podzem/maprr.jpg b/img/podzem/maprr.jpg new file mode 100644 index 0000000..066bde0 Binary files /dev/null and b/img/podzem/maprr.jpg differ diff --git a/img/podzem/move.gif b/img/podzem/move.gif new file mode 100644 index 0000000..9857164 Binary files /dev/null and b/img/podzem/move.gif differ diff --git a/img/podzem/nav.gif b/img/podzem/nav.gif new file mode 100644 index 0000000..d1c740d Binary files /dev/null and b/img/podzem/nav.gif differ diff --git a/img/podzem/nb.gif b/img/podzem/nb.gif new file mode 100644 index 0000000..e543f13 Binary files /dev/null and b/img/podzem/nb.gif differ diff --git a/img/podzem/panbox_on.gif b/img/podzem/panbox_on.gif new file mode 100644 index 0000000..f27c9e8 Binary files /dev/null and b/img/podzem/panbox_on.gif differ diff --git a/img/podzem/ref.gif b/img/podzem/ref.gif new file mode 100644 index 0000000..12eedff Binary files /dev/null and b/img/podzem/ref.gif differ diff --git a/img/podzem/right.gif b/img/podzem/right.gif new file mode 100644 index 0000000..1592132 Binary files /dev/null and b/img/podzem/right.gif differ diff --git a/img/podzem/righti.gif b/img/podzem/righti.gif new file mode 100644 index 0000000..fcd51ad Binary files /dev/null and b/img/podzem/righti.gif differ diff --git a/img/podzem/rightii.gif b/img/podzem/rightii.gif new file mode 100644 index 0000000..fcd51ad Binary files /dev/null and b/img/podzem/rightii.gif differ diff --git a/img/podzem/rn1.gif b/img/podzem/rn1.gif new file mode 100644 index 0000000..e52df5b --- /dev/null +++ b/img/podzem/rn1.gif @@ -0,0 +1,280 @@ +GIF89a`р +zdі€uf@y°ўЂ_u,&x(ЗЉт +%Д0€бHБГ(^X2Гн1ѓ + +ЂигЏ. +Г +ODРL <( Аv ЈЂ + +њ@Ќ +"€Њp‰&^Р!NGpаџzQN$¬‹V ‹<ДўЂ ·`p…0yа`иЄ¬T "ёtя@Й"‘‡8a8ЂК01 +@ + +т +ФУK€xЌёBЛX+ЗB4ёp`Й"„а +Y'›Л +`CH> —ЊcЗ jАг ±р‚Z`0C2†ДГE+Шв +чШЕDpЂm ЛG + В.’!VHў„$ра‚ д!P $TЂ) +u +¤Iђ°dJ$@ ‰m8 +@ +xѓ +DЂCа%P эЁCДр +Ђђ2h@ Шр +мёД', )ДЃl‡°аЂdxAррђѓ”mРБnс€0X яыhBђз‘/ґc 5ф%ђЂ.ШF€С‰N  + +a09ьЎ-ЁФшa  + +ёЂ$°‚*ё џЂ +H! + +®яиBд! p! «Ђ *` EђCПщ?шР + +mЬб +ТУБС‹X"А…%,БEфЈ +dаuиЃ5„`Ћlб +bЈ. ЂQt +˜z°€l,ВЏАEґQ ¤B +ЁHыБѓР ЬѓЮю +Tcј@ј+`xґгCИ‡®p‰," р*Аѓ1A¶°%6б‰m|aљПv ‚jЂAZР +ЃР —°{°€ +A0iЂIpLђЈ` cpв Gр !Ђ ˜  +Ё~PYHgY0 +hр +ѓя@ ]° +B +лpc`IБ +а­ђ& l°у@v' ’``#@ +@ ® + + +рћџАлPН>Ца  +Аphђ‡° Ђ [РL`„µ +”{pGNђР/а +"R  ѕhР` +u№Ф№cRpКбд3г0g +p`'ѕ0 +”p +R Чєг з`ђЂ « iа›^`V` +џђД  + +рчR° +рљ0ВPЏp {PЭЉ“¬ђtа ‰ iPїр- +j +Ѓ@ +і°Лp!—рЃp дЗѓЂBhFр#`.Nа‰ЏP I° {Ђ +дрѓжЂz4,Р іР=p ј0·Ђ j` +Р°Е +Џ•–;`ҐP +ђћАФЂ-`/Вp! _аѕ +¤Ђ ЊЂСЋ@РЗ–ЂoђцZjђѕ2А LрЅА +„  +ѓ +@„рPл.pк° C`о +ѕЧP +’ыЂ +@Н0 +@ +˜Ђ + ОN0 _0 Q° +ГPѕ`0р™`?фХтfїщђtP0Ґ°x +Й +п@! +GР +?ђn_-?Yp +Й° +0†°0 +‘а}oАQр°Љ`z`h  …Ђ + +­Ђ{S +ЏV”xІ)2JB„)ЧоЯK˜1eО¤YУжMњ9uодЩУзO A…%Z4ж­3Ъґё‘/ќ8mаLХ%@ѓJ‚”hhЖjК…шк‚А‡`ћ°›у@Ђў1Dt9`щМи]јyхоеЫЧп_›ѕD„KоЖ?LwДЈ’C /prL«ҐбБWtl«бкБ˜+ћШ0РЉБ™c ј9qвЌ:А±eП¦]Ыцям ‘‚¤щг'B) \QЎу‡LЂЄєРЙсЎБ›бDдpЃ@°'@І`‡oIP ЊL +D`яЧаЃ8B +n,ЃyCXA‚|Ђg  °… +ЗАЄ1ѓД"hЖ9ЋUDtШЗ¶ђѓ@$Ў 0D2 Tм&ШkЬ°гЋa4(вџ8Ѓ8L#Ђ  +#F2rЂ= ФhЃ(0ђc4ЯЛ“hБD‘„H¤`ш@Pс!,ў—P)8Р/ А шЉ–° G”Ј‡@Е0ѓ j`Ј !@ГPЂ +m0P\ђБ‚Ў·°АgИя. +˜ѓDР„бЦЃTt@Б`Ѓ ъ`( @h˜Ж*О±Ђt@'XЕЁћx&м"ZXB0 Ђ5Д@sЛ°„@€D|a ќђ#И2”ГH  +Б˜ЃlQ +`Ѓ +d˜А.HЃr”@ +РЗ(‘я‹1Њ! ТA ЂpL™Гњ€ѓ"q‚7 КШ9О ‡¬a_(ADqXб·рApЂ.  dР +є"„@ hB ‚а +U +сѓlјAp5~PЉND# ˜Е%lЎ„!я<Ўe +Д@Bжђ‡u ЈЛђ…-т`?њў +HЂ +.8‡owЈN@ѓ¶0Њ ЋРЈ/8B р +6°BЯ AHp +@`а( +@q8 +tВя€Dј гГ@mЂЖ6¤!CМА€@ +`в x0C *`†XЃtЁѓ ЊA:ў-ёEјЃXр…АЂfђЂ +@ЎЦЂ@ p°ЃoT@5Ё@кlk`ZЪѓ \В!0ЗЁАЂвЌБ +аpxаwА +Јp‡¬рvЂ1ђЬА +C +wђр±ЬАS +Њ  )` +а Ы №Р _° Ґаrа˜4  +° µюZ` +щ +!@ +Џ@S ¶рw +EP ·ђ +ц0 +I  0 +ї@Р +D +4 ¬@ /р +‚0'`@мђ +>ЂФ" +’oР ЩЂ з  gПЉP Ц +­ђ +Є +p +:АгyАB №±P~ +ЊА=С +,іћш“€Ь=BNhёAC (ШYксAМ FўвИ™vKЪяґ6|uпжЭЫчoЅ LЄҐиОЈGЃBu° +} +ґX'‰?RЂFЋ@@ ‰7$Шж$0¦WLYD™(щ $ККg@ ѓrHqАP@№ѓ›@Ih†a‰ЄшXX&cЂ‡Ђ6Ж +@›sЁЂЃЌ`бЊ­LYaњ"о!!‚ё@‰d(с!“r° "tPBeІжTдQяe€J` Ѓ3–P¤КЎ +‚(Gx ЃN В Rх„5 Ра +"U( !ф№ђ :С‚<0Г +0 PЂи…"^Ў ~€ +Ђ$8РЃаЃWГмА ]<ѓLБ ˜` Њ +f”АhГ¶Иа +еяиДнбЃFРб `Ђ|@ѓЁn +д(@=BС‡`БуPХ6xСc<R06В4ё€'Њ!G„ „`cJ Ѓ Ь$@,ЎеАѕ‘‰2аЂ;x…!†ђ ha ¶€F BаЏrр +$ђЂza‡JфтЇy¦µСHЂ‚m0Ђ$^а +@ +˜ЎќШГь°‚<ўTЁжАѓw|Ђ& + +R +h„рiШЂvё ˜,Lр‚Vh(CN’4€KИЃё +' ‚?0˜† `ѓ/`„@Ѓ\$({@Ѓ9€Ђ& ‚u`ЃР…. „w0.ёЂ9 /h„@Ѓ +h( Ѓal…U( Jh…hЃ~ …RёЃlё)`„ +|\ +P +рEАЂ#@9 +Чђх|„(ёЃ8"0 +Аt `d01€ +ИђpЃ Ђ‡€†| +@:(h…wЂ( Z Ђ>xЃ2шytр.PЂFЂШртХЧGр0…i 'Ђ +Р +ё‡ 1°ѓ'PЂ*Ё‚0 + +@‚` + „fЂђ†‚с‰_`‚2@†ТѓX…  Ѓ#X6љЂW сиL`˜зFЂ +яE0upѓР$АЃD @ЂЂ„ „"ЂBР* Sp + „#ptЂѓ;PoшЂ‚2Ѓ<˜*H +8 +6р‡`Р‚Lg†ЂЁ +@ +u +8 +Pm`p7Ѓ0#[‚ш2 ПXRRш\а—вж‚+ЂјПH"PЂ9FЃ†? +H°В…JЂ АЋH°  +ЁшЛ7G“¦B.в™dЌКааВ‡/n<рЄ+ЉdаТЎ]ђ ‚ +gшC3EМPf°уѓУ„Г `# TТA +$P„ґ\`„5Ё‘† ®@ЃЌ0pБЪ ’ ’I*№$‚—Ђ0Л(pR +E€РB еlpАЮМаЋ<'ґбя"'Р0M$ю„БWґAТ@аВ '€a#] €4ЁpN2Р Б &  +N0№(ЈЌ:ЉУ"Є\I$dаВ.ZXbИ¶ґЈD2±˜"ð€E  ‰&0Б:RXЃИишИaиАA1@(sИ.GЎlшC. уЩЈН:ымЈ&„С@ ІфЃdЂJpМќЇ€`EЫ0 O;|G„ С”ЎН93МО:-P ‚r4ЂЕ $Т@0Ь0Г 'Мa +P,ґ +;ьрqQМс9а|1J.$XвЌiD°A»ґPHEФ A@Ѓ€ ш@яЃ §@,мв†(*Ё` “HЃ Т,°@ +JђЋ=dBГ +oXcОИ06&атI&I +nФА +ї|аЊ+ёИАC`"DxQЂ |ђ‰”ф°Ж˜ +» ‚Ё'Б >+«8ґpЂ +b) +EёГ$о’„"ЈА1ёa‡QЬAxPЕ2Fq‰}}Ба€.ЎЗ¤ + Ж%BЎ‡P  +ърЂЭѓ)2І‘ + +F +hCLЁAЂ„fp!l C PРЊHьЃ0°3ЄРќ€! +(ђCp +n(Ж:20/ђ +'яA*$p +њў|HА;є€JА +Mа «hPRя+ь@ БЖаѓ<Ђ`Њ@Б< ЌА,FэJЂ т.ы‡µГџh‚ВJDЎ љ`Зd° +&і5Ђ +А +¬‚`°ь­ ЈђБ +М +А +x>ША° 2 A Ь‚PH@Д +x@"8А$`@FЊCB8ђГ.0Bь +Њ Th +ЊЃ1Г-ШБ0м +‚?ЊA +d l0А A +њАѓ> ]P4В*Вs.Ё^БXА0@PAаЁГ Ёѓ Ф@ +иВ4t@ H +@$(@B @ + А6DБА§SqAЊH +tЂ + ША5№БЁ‚5ЁВАџЮкL€B +АCјp5ЃHA˜ +pЃ?„?, +pT TЃ@П.мL‚ ‚ +tА"#(B +8 +Ђ@,ё@3јAH +Ђ(Ю€#Ф +†C”Б +ђ88@3€ББѕzљ  я‚ +рC- ВDA0В4C + Tпт®ЬБ5@ 4Ачto4Ђ \ No newline at end of file diff --git a/img/podzem/ry2.gif b/img/podzem/ry2.gif new file mode 100644 index 0000000..5e303e3 Binary files /dev/null and b/img/podzem/ry2.gif differ diff --git a/img/podzem/ry3.gif b/img/podzem/ry3.gif new file mode 100644 index 0000000..e81e69a Binary files /dev/null and b/img/podzem/ry3.gif differ diff --git a/img/podzem/sun.gif b/img/podzem/sun.gif new file mode 100644 index 0000000..236c4b2 Binary files /dev/null and b/img/podzem/sun.gif differ diff --git a/img/podzem/top.gif b/img/podzem/top.gif new file mode 100644 index 0000000..d53ed04 Binary files /dev/null and b/img/podzem/top.gif differ diff --git a/img/podzem/top.psd b/img/podzem/top.psd new file mode 100644 index 0000000..5917aa0 Binary files /dev/null and b/img/podzem/top.psd differ diff --git a/img/podzem/topi.gif b/img/podzem/topi.gif new file mode 100644 index 0000000..9b86ff2 Binary files /dev/null and b/img/podzem/topi.gif differ diff --git a/img/podzem/topii.gif b/img/podzem/topii.gif new file mode 100644 index 0000000..9b86ff2 Binary files /dev/null and b/img/podzem/topii.gif differ diff --git a/img/podzem/use_heal_on.gif b/img/podzem/use_heal_on.gif new file mode 100644 index 0000000..5d5967b Binary files /dev/null and b/img/podzem/use_heal_on.gif differ diff --git a/img/podzem/user.gif b/img/podzem/user.gif new file mode 100644 index 0000000..3c42c64 Binary files /dev/null and b/img/podzem/user.gif differ diff --git a/img/podzem/v.gif b/img/podzem/v.gif new file mode 100644 index 0000000..cc1e77d Binary files /dev/null and b/img/podzem/v.gif differ diff --git a/img/podzem/vlevo.gif b/img/podzem/vlevo.gif new file mode 100644 index 0000000..e5f1a99 Binary files /dev/null and b/img/podzem/vlevo.gif differ diff --git a/img/podzem/vpravo.gif b/img/podzem/vpravo.gif new file mode 100644 index 0000000..8d73ca5 Binary files /dev/null and b/img/podzem/vpravo.gif differ diff --git a/img/podzem/yeralti.gif b/img/podzem/yeralti.gif new file mode 100644 index 0000000..b216ad8 Binary files /dev/null and b/img/podzem/yeralti.gif differ diff --git a/img/podzem/yerustu.gif b/img/podzem/yerustu.gif new file mode 100644 index 0000000..26167fb --- /dev/null +++ b/img/podzem/yerustu.gif @@ -0,0 +1,1045 @@ +GIF89a`р +њxFtOUжбвX@ЯЧµ‚_aЋi`тбУ + +nK?5A,-/ №±ЇА­џ­ЇћЛ¶ЄЧШѕКПНФПН +Hц ’фI©R;¶ ЁґE‘ѓ): иШбБL…e| +х(ІH‡a}u,‚І%C;uє°9h3 +*ZЊЂЙ,·ФBЕ/AЌ'уФўЖЫlу‹;н(у‹.P1К(„@ЈЊ'8xB€ ?АђS'ђ’B'T¬±МЛ€ІЕ+Qѓ$€AЊ G<а(0И€‰’ФФ†GМа +ё‚ +І8ГEеФp +¦Эѓѓ+µаа _tsЖ<,ая&9ДШ@5Ј–К‚Фs*.А›\ТHxм°€дбГ +Њя!" а„KЊpDk€ІЖ + В3|фђеµ)аљ›Tbе•TРИ +)¬A@1CЬў +ї BЕ«ћaГ7аEоЃЊ2dДpМ9А PK;TrГЮмщ dlP‹ еёАБђмЙ'qЋeИ6CP°Rd @qЦР +6У„ўL"Р Ѓ ЁуАG RTІшA1ДМЂ +07й„DбѓhЂ–ЁD +Р‡"б hА*‘ +mФ +t +` …Р!и@ +f;иЕp˜@Љ+ш "рШh6Ёњ• +ЈиЖй hяўэЬ@ +B„R1Ђ‚ сC…0Ѓ+М„ЈЁнТ‡ +PcЁА ЁѓYМB ¤ёA  Ћ:( °„ -q8Ј +7мЂ„С° ґБлA„8<' 3¦!АЂ˜ ‡-ШЎ +{ Ѓъ ‚) +‡ А•Цё5Љ`€XА ц` +qpEB ‚eDў ‰л…–Q‰3/ВPаѓтб„1 §s˜°±Ё |ШR L@lрЎ±(Ч.±‰M” [X„ +0…<$ѓ +€ +15¦фac•и/$°Tа|ЁЂ*0KЇв9_Ш‚:њ1@ oШ0А1кс‹QhішЕ9@Б БO¦2Д:@Њ +$e˜Ѓ7ѕrUX +‚Жј‘§`WІ8*ґ±UPаљEDа(М ” +Ћal(cуР‚9ЃuPб +wvёа +@bУР"Ю° +…8ДЖР q рD@ѓ|Ѓ +˜ЦўµY_З:жС…D°Ђ‰P†&@С +*ёВз8Э(~P" Ѓ +˜@ЕО‘ж?ьбИЂ ъђ†E Ш G±…=мЃ9bиДЖ ‹Cф˜ы‚ђdЁCЁ„ +NAШАЖ +О  +Ц… G@d0 +ђp +Фppfћ  ‰papbP°w0Qp +АЭ0рќђ@ %Рy°8#юђ«0jIа +А&@,нІ:PI°1[’p +жАeнp ˜рн *0N¤€°f0€0 +яА>°p—рz AРЖb i`ЄР +р +Шу6®` Ђ yb +І +Fг\P Ы ѓ0 +ЫА50 х@д`SЧp +1@Dђ"Pерg0эsd,аґУ +џ 50 +А +dФМVzЂ +“Ђ +cЋб“Ў~ЌАN°FпЧМAPџиU° +GBзp РEя1S5я  zt$Bw\ђ# [ђpш° +хА!дz˜а=ѓ@ + +* +fђРЙ6і·8ъA +вА—Њ3 +° +у0 +T +3p4000.` +`r’! +ih_3dЉР`кРY”DLуt =p yfP;РLаДa 7ћХјАЕђ`Ѓ +2Ґ +Gа +ћ0 +.PД3yв  vrBѓ^†#їPнР +4· wQ|0˜Н1 Рќгщ +А*0DлЧЌ сЎ§А­ЂgpОаў oаЙ†eрў–y@љ0XХ +А рbXаX`¬„T– Ј1 +—p  +лЂ +„Р Gа­і +pђЂ ‚а +6@Ч@6H, + аU № A +c° +їЖ,ЏЕ +|iiД2в0 +CЂ .°IDАk ўPPЏ ёЛ F@ +%` А¬Б«ят +\@лр‚рЂ#сPa‚`[C`ї@ Ба +р +ЮP.Ђ †ђ# +° `щ°t*E«qщpx`T%0^™ 4KU +љЇ@’Љ +?  ¬еµ,…‹‡` +~ + +г +2 ЛP¬iА Ф‹А +jdzР [ђQSрzp‡vаѕ€@0 +#p?р ›Р·50+ kр 2jЬ°2РЅР€pm0Е р30 ° +H +p,5@ 50 +КЂ WxЇ·U ЧPдp0Р +ЮаД°ТЧЂ”я§eђ` +К` kPўziЋ!‡%@8 @°%…Р_0 +і0З5°]р +Ќ Np +—0ј¶`KТ&‡  + +Љ°f@=`&` @Е}а!° eяµ`y + ++ +;д`°.P C`џћ° +ЋЧdPхЄ" @~а е”0 +—Єдш| YфFЌ ZісE }Р3T_IАђ@ +Ы@mя›Ыа +‚ +` +Ђ‰&ыvнЌ° эД +а`ПyА  +НЛ +oG~АQA±ЂZаo®0 @phађ +ОLЈYљ’±9dsР. ,l IP“pU¬ґA`Р›—°– +Ф ®А P®tGТ™TфЂ 3АҐ +]0EG +UҐlЫ…˜ +ЂА +Pјј°° +Ј +¶T0©rnDaЪУ‘Д–†EPъ4:І*ДІ +«ЊЙ·Ї‘ѓ +¤ћ yўЖЃљіZjНљЙB"W‡t№д"9gЪPБ˜ah•7bДмu#ч`П +}N)Ekѓ ZEМ(ТЎcQђ +кМ¬“Д “ј–AЃв Gяѕ^«НитлЃ7mД¤|BАA\†`Ф Х +™В…I\ш`‹-Щў©` +„Бм”F˜€DfpA ++!я`ЂW˜b‡¶@†5p +`ў‘SІ™ЎшШH¤"L[Д‡)QБѓLК@к E)Ш¦єЃ'ЉVґсЖ› f\!а +3 Б КXbЃ) +3tP¤&м3ж +zщ‘–©D‘ +\D<ђЗкXb™e̘B‘Et˜3 т ѓ;˜РбЛбЖ і @BЁиn†1(>б!:ШБѓ2КИ)”E АbЦШAЃ5Ђ `Љ)cP†ёв)т9"€BМ(Ў’Д9ђ*ћiДhйЈ€zYcK +1Љ +4В +аЂ +°>ямб[hm °Њ|Ђ!°Б !„  +h +dФB8Ђ !bгuРЖІь0ѕTМ‚аАњЁ«#Ђ?0Д@A.d….аАr „$lБcиР3@Ec˜Amе""a‚<јб‰В4бЊЊ )pЖ +TБ…sМвT а„чU` иЃ D±!>ЊЃbИ%*°‚?J*PXѓЁ„e +PІ"°„ аOЂ9B +ЕmаЂ Ѓ ё–Y‡YЂx„‹q8z ‡Cа +HѓА)38ЂOИ +@ +а<0'·Олb +аСU5'ZP3>Ш ђ‚ +шЕ=ЃxY(3…Wаѓ/Ё +HАЃZp…ЁЪy0 +(„0q@„Y†MЁE'€Xѓh‡˜ЊБћJp‚Bиq0I4 ˜±kгЛ=и„Ёлs™б¶QH„v@Ђ1°‡яDђш? + +ШhР„ ЂZlЩЂф°Ѓ +А„ОШ +g8C8BШ?ћДb8иЁЃёЃшЃцРcH€р™<ЎиЂH8„BЂQF,ј…-А'H +@QjШЋ˜‡n ›b!щ…10dЂ‡ ќCp#˜ѓwё +и_‘ (Ѓ ш‚яCИ8ё­GH‚6H; MШЬ*3ѓ^!ё!HB˜…uШѓu +Љ +°Ѓ¦Т"h4Р„vpЃд+‡[p+Ѕ¶¦ђGЄEG&Ѓ Жfq…щHoЂOа +@ЏРWб?mH„D0ЂypвЮ &(XЃ@бЎ +Iм±KВ˜HЂял™'`'№«„Jё И3^р +h…шO ‚NX&ЂDg + +И‡s€Ѓu l№QЂLY Y€ +Ё„ШЈя/©ЂeP&°‚Oc°‚Hш + + ‚Дl‡ўх†єpЃ "—©…uXeшѓv8‡™oґnhыYU жљоn +=pmЂj 3а†sWA=€2р'иЎE ¦уЃш:…8nX„RЂ‚XИM +bzЛт†ѕРіW@^Ao NЩё X\%ф$и + ћH°7ГЁ +®и„ѓЙ +,SJ,+"C‚€•Ља’!Б +ПDxa‚I(SТЁ0q!’ќ ўш\КS`L +"  ІЧEµj ЂDЊ˜”!ЗјMИ&Џ‰ ўЖXZ@hЂ-:ЉxИS„ ”*F†МГ‡Of*иQ” ‚·0Ч`rA%aђ†яшqеУ,Lд€БЃЂ +k¬Ў‚(PlБЖ,P3 +1bP°Ѓ‰ 5ьІБ\lPC +ЪP3&Ь`…"Iњўѓ"ґСЖ'љ˜‘„тгAv”бА(PД"AљqJ†P *є¤@О +3њ3В„Њ‚ 5$tѓА!?мq +@Сr}H"‰ +К( +( А +$Ца.9uЊв‚' q +†Ps€&¬ЎБ)|§Ѓ clб +јр…јГ„пмp‰"–lІ$–”QD#}њТИ%– RI—HЕва`P90Д +iр‘L\’„"mЉP‰,0Ев¬с +кPCД,3p П'ZАРҐ6‚њQП +ҐёЫpЂЌO”ў¶€мP3ёБщ †+ѕ@ +~ +и 8˜‚:ђ‡Gр¦xZD%1@;¤Ў |X„Ю!Ѓ1 ` +B„p „ fа CМѓ +R0ѓOPЂP@Ка'рaЬБМ ЋUH` +:$! zРБ&’p‰Oњc ЅXevP„MXВ@шу ‡)рЎS(D!\a…6јГ’а†Ђ0є#ёЂнАF]ИЎЌ8C +ЗяаВ18s„z„J3˜БрКЃ’?рD +@б +Ьbш ЋрQґlҐ(…|°s@X@4P1LbSЁ +иnTUЄ0мрЋSpCl•€Ђ2цp C@хQ_ A‚ђ ЁЈЖ©t›C sкB—Ј‰xё‚љ† ўdг’ТANбЃ5@БшD°…E А Ь†$JА2$ n +‚АЃr$@PhD­њ0 +Dx +ЫЭВ%tP1]N![”*Q +И-Ађ +@‘иЃoЮЂ=<А;qzБ0ЋZ  ‰LАC<0 +5*=MЌКђ° +” +IаCuњPЂ ‚'ј±oГcXё`†C`oЫВh+`  }hD ј?…ЗвVB)< Eh`›0(Ъ±ЉИeѕзА(\lАе$€§ёF`А@d + Ђ ЃPµi@ЛdВ +ЊA'ЊБ +ЉњЯDВХ­ н +дЃ€Ќ NGV@B)JфА#ЁЂЕЂФТ)ё… @ +Ђ’‰!<а!Hа0  „Л"4 +МяА( Ѓ’М l +| µ-‚" SаA$ +<‚LGhBиЃ€‹h@xАР + АgЌhѓ ђБ,А‡а№ +T‹ $XО/  +*xC}@dАёВм@Д`Ђ\@' @¬A/ЁЎ0яAА*”BRхг €VђA€|А"lрN'¬L¬БpЂб'h|<@ГА5ЩМн№‚^! йИѓФА3tA#<–ѕк5B=Ь +xјP*t!й¬ +ьA=8ѓ3 ЃVKЖЌВnAЙ-BСt"<†`ЙЂ¤ЊjB +PC> B А˜@Ш7°'"€В2В24иcх‹$иА@lИ*dЂ8])јB<ѓЕuC% ЩҐ) +@`JMвґѓ2_-ьнвА/ФГ/ш№¬C $Вl +$_"lc'|ВмЃHЃ +p*° +Ор)ЁUUВ7АЁ + BЊцq#SУ| + Ь‚(Д~h…TC | ь-BрЃшAр‚8ђ$“%`АwҐЧ*Ѓ˜ЃЊЂ:Т ЕАM:/Г:€ЃрЃt +@ +ьЌГ@ЊБ2 А+Ў +t‚'Ђ€Г\ЋA‚€ГlБ +€БСНацљЗ6XУXЩ·|PБ"Ѓ&|Bо± +Ф@9”ѓ ¤ +t@j™‘"Г&ґГAµAЃ,ВШ-|Ѓ@XB@9 Ђ +‚3њѓб’ЊВ6`‚ПКЄщь@сю + gьА@PГеtБІ{dЂ¤З9ђJ©ХА-РГZ#Лl +ША0LБ»^ЭЉГМЭhµС™ +МЂHBµ‡ґБ +@ЃШШ‚h@rB +tГ>|Ц”п,‚8LВhбЊо|БUYАVАЌЧ2мАх^ўлµpy{Ът|–X +i‰язЇЃрD‚ "€е¤БбrоgU‡8l"‚0`®т°· T^о”ГlГ,PБ/ЂП6ьБ/ьдж(А<Г”љ™m™6TF#]ќ8ј +DЛЂиРQh@љkш РeЉ #2|ЁґfYФЁp"с#Г<*•*µѓя›02tа#¬ЏyJ€s&AЬ”¶¬љ2Ј–.O„MWЄВБSzд±А§И¦ЉtСagЊ… ,§Tl‹Ў2=vиЁ°H(V]аЈH„Х|U0ЃЏ‡ ›B=봬M^.ШСДЗ„ЊMVD™Q]БГІЦ€"-3ѓИВD_L™ІҐВ§N{LTу‡v,±рфk› Y8Xьв +Cg h2TkЇ&fЂтdа‡(cњГ qЖЁА§eЦP  а` +"*иЎq +©А‰-¬ИА3*YfЉ +ё!ањ А®DбЈЁa†QД™3¬«TќмцL‘e6Щb¦8ў‡АzXж‚"1„ћCfйДЂ"*иґ№шЁБD*Ќk“MЋЭЈ“2¶0cE¦Xѓ°!°«дЩ +тQА‚’mmADgЏ4–‘aЌ/ё њXЖ‰)цXрnѕ« +@ идА1‡я +Ћ "2 dћc~1 Ћ!\ дђадL0дїc~ „jF@`?4Ў`† ЋА ЦЎ+¬Hd;qZE$џ ‡:Q˜BDH<АDѕ;вr\$АTҐ‹©0ЩЂQL~$Ё ѓЉ>Тd†O4)“ќ$А„( +>ѕC p¤F8¦›QjД…QѕОjEђ1 ‚L 8f +в‚„\CЃЂшbЂJ&ҐRYz +ѓХ1‚B@9жn*– iiљЖшђSDњ +!БaЉЁ6‰Кє +ѕhi‡Jё©фlдj­p–и©А QГ2Ђ‚I `f…L°Џ (@јБА#6…Th +cђЋ0”Џ^,бф А +4…ЫnRЁА)t° +Tв4(Гj +C8цЂ°‚B‰XшщЎ¦эвj‰ЂЖЌ ‘e”’¤B±8К№ х@В'R·M@‡:q€Oь€иЖцSА ЂС4ᓉн 1ињPV Њ№@]ыйяє1‹Q`в.Р“ цЂЊC¬ўU@°О +jlАNФ8У@я:AЫХ Lp Ј‰HД!p@‚5Эў·Р!аѓ +ђ(a ‘&З•ѓaS[ +ЋБШQІ1‚Щ\dЂ ¦Ђ–_cУ—>FШцtCmgJDњq Р#oв`°ў Эe`?{`h'цй +}З`ќpв”єВЃkЖђ0¦!цxD@7Z\\д–tp¤Ьnб1“Ц°gn¬c©`ЂAІиke‹њcµцЗКЋ"]ѓ nБlhвG$ +V'nС HёвИЂ4H + бS0УЙLdq9 +c6 +!ri~ +Hр‹Lk5Р‚°3w Њ˜Ы$±&„I°.›џї#«‚ИЄ +pбЕю…!Књ\2>DЧC€ГиОґpЛСєo6А!NЗн‡hй^ЃЉг¤®ШЫўѓґ ЬЌG®РДаЈ \%FјeБ™кD&2 цkdNЃЙj˜Б©Лµ˜ЗИьe‹"NoЉУ›ЃM…/›,1˜Gc©5Д ‘Њ]у5ѓ.Д lH\Р%zу¤E¶¤ R +Т +pя:#©ы¤`JЃDhв*siЬc|ЙdА,ЩЊzlЬQҐа!#(G +Ыс.Њ`VЏSеRpPІnЫ"$АXko ¬X(1ѓ!фъ‚`Ѓ +›pA¤НdtВх˜ЙlІКЕHFdр5aЙXВбЋ. Б&g±O„њфиhљ]бD B?®Р?I5Ў‰LЋъF6o€АbѕпEД&<†Ъѓё¶+гd„M`(г і°M>zНbИЊ·ЛЖ +‹·ИпkО ЋJsО эЊо§оЁя¶О +Л†Од +1зD®f < O6Н…ѕа*ВФвЇr,ЗОЖ¦T-M,†цFa AlЏ!Ё`ђжЃ°ZДВ&nБ +ю@Ш Ў^,FоTЌцHђ~!rО яЊNFўкМЃМаDиdДкИІ®±А†±р,FЖжзЛБO€ОмE мєОЋши±Z¤лЪдПX +мИ eдqЋа$ЄЉРP—(GжЊє‰цЖ®4¦Ж +« ОDlВ†L‹Пё~`fб§ЬсђЁ >™PКфЈУP +»aЋА^К$-`ИЊ•~PlиЌ$злNЗT¦ЕF!°<ВЖ±іHЂ¤8 t1¦<Ќ`˜  Gp$ЕFlFС±¶aђ~A{mН+гОдЋґтЋ,зkTС°XqН+ЏИ„О<Жpабs$Њ>Є +Аrlѕж©@ХК,заЁdКfL X лRSERі=р5M¦^“ +dрЧряQiЙ +тѕ§эёr0-ЛЕ  HзLЊЋ·рДr2.FрЁПXаP0€ОЎыnONЁHЛeв@УъOLУЊрО‚nрБ§j юЃУPКкшІ Е“°о€°$«ПтLk0Ти¶Ћ©-_±`$6щмжБЋ4РЂmИ "ђО Бc&рtbЭт r•я†`л6¦ ЏкЁ±Ь¤eр4Ud6СОKР ++I+Г”±є/ •ZQіЋЂґло€]ЙС`© UUЙcЁ +лtHаEё2ЏёПЊЗдб1=p>№ІN…ґлжBiґEЭDHПаJЇґП~Ќл3фEХQIЕП°оC ­WЇtђ¦ФF1aнЁlМФl|4K J1ФMйµNЦ`Х±„ґJЧµђя®uўф\ЎTлДµ` +5™tIk± k3ѓЁoЙHщh†!JY +лv +Uн&ђ +кaйм,МдФlsХМђtMхTOЏuDХNйqзDМRЂ<ьd¤о@4EУ4Sг‚цзѕL°њіmџґdІлІn5СVKѓtУ¶=2ФитХ@‘@3ЫЦGЛ¬‘а0ќs/ґнH:ќvmµОoї—л‹|›u6е”Р0ґђМ†Џш€|лцV­фoQ3p…фJOуJяCя `M“Пєб“Рк–ЖтЧ`X^ёЃяц`ш\Йґ_УСГ¦zя-з“ЧPЌuLOLGA.i·йJ0Р.y +ФL3іm›uщVЃйсѓY ЁЁTm·—mЭЦGЏФGБІ±XIБroќVЃіо¶ёЃ˜o­45лvpЭtJ№5»xJ­ц]ёђРЦJ—jП J­ф ЮЏKq•ЂY‰ ©µЏ 4K§6л&№5‰44XП·1ЗfФ + XJ©–‹ +№ЃЯХwїnsЩЂWџ +№ђдЩќС +ОR}чv°Ф—l”ф’БnҐ%Ъgщ– +.3aнСЋс–ўЈщ№rЋшJ/·џз6’ёЋ™F +amґлўъѓбY Х9Ѓ{µo?ш«–ѓҐT¬ЧU„Щ9~ЩџY­ +Xpэ6ЎЙљ5яШѓіђзўWzJб—F'ъ›я»N1/^Щy¦4ќZў;93qф“ЭґiYEєёќ„gsЃc@sYS6їщ фч ¶FµTЋлZ­ХЩѓ№˜џЪіе:Їъ’зX­9«zжȘO›µ3ґЄСЂђ7ІП ќ©6Ѓg;џ‰Щґqs‹ђЃ;џ«фЎсzҐ9‘‘ЃыЌ +ё/Ч·„1Ф]§–єхyёљ­Ї9Ўэxµ»Јы™нZёzs—ЇҐzўб—ПиЧќ…ы4#›ЃУY’Ч{›7xг•`yѕ‘:Ћ­;­_»ђЋ:»ЩБA„ѓt«Ј›jзёщV№Ы8ВCX¬гъЂ}{¶ЧYєш·g;ГяГz\ч,№Ґ{Ея єщ‘ББ:џС +<З]ьЌяАІ%ыѓ? +юа·яЂЗСљђСЪЖЃ»°·^!|®Я˜‹i|№5wЃ±UrЙ®#ъњЧYHЏђЕ{Б/‹…{‹Џ:®яёЋ»µµґђщЌЩщН­4ОsМsz®з\ћ©ЬђKкнщЭХвМ™ygюь™gрЏА…  +њq Д€&ґhРЎЖЌ $ибБЊW8љ,(q`Б‹ ћlXІ#К‡я'*l(ЌОќhXшь ”…Зѓ0Ж4zеиK‡J[Є\ +•ЈЛЁQ§RЅє°dS¬QNµЉuк°3ќ^ЅyУбН­\Ї"™pўЬ‘^!Ц}{&©V­Fу&m[°аБ/яОљч°в“e.Мц±ЙЎ”еЪэ8сџжНњ;{ю :ґиС¤K›>Ќ:µкХ¬[»~ +;¶мЩґkЫѕЌ;·оЭј{ыю +<ёрбД‹?Ћ<№теМ›;=єфйФ«[їЋ=»цнЬ»{я>јшсдЛ›?Џ>ЅъхмЫ»?ѕьщфлЫїЏ?їюэьыыя`ЂH`Ѓ€`‚ +.И`ѓ>a„NHaя…^€a†nИa‡~b€"ЋHb‰&ћ€bЉ*®Иb‹.ѕcЊ2ОHcЌ6Ю€cЋ:оИcЏ>юdђBId‘F‰d’J.Йd“N> e”RNIe•V^‰%†zmЙe—^~ f˜bЋIf™fћ‰fљj®Йf›nѕ gњfюсe:zҐc'љйЬ“ћwъщg˜yv9Ё˜…z9(ћ‡ўЙ'Ўa6К%¤{BzЕЎ”–yПҐv.*'™њnщ)—y& +Є^|jџdЮCjџ›6є©A‚^Ъ'«›¦КЄ™’ж kЄgє©Є•^a«©€vєиЁЈВjж­ў +KlќЋzК, №6 ­Ї‚&uкќГЛ-я­ЪN ­«чьбОџђf*mҐґFKh°ў~Љ*·x®йЈтЉљ.ўЂnлеµ®r[Є§ЄЋjћоhљoБд‚ЙмБ††Kр™K Єў•ѕz­¤mо Ї»hРY®ЅДы‡ўЕ*Ып·До«ІЙЈfЬЄЄ»LiІошiз»c;0»Пn™і«…ІznИяжк¬їDч ,Р%»њнР з<3— OэlЦ/7*nП+н5џ w™й©Љ¦¬,Ы¦:›NКГо‰зОF‡­r°~^Kчќ|G*пї‚їLuХ+єуѕWИ­xЙЉjј±Л¤nнm«Ѕ>^за™Wю8П +«ЫЗє;ґЈ<“К«­G{лря·К¦ЙйХ•ў‹†Э~І­ІкЂћЃgК¬оњРЏуNrЬ®“­·Вёп}ъАzУ‰щШГюNё°ЃчщGД4?НъФ»hЬ™F_*ТЖ[ІГКFМ+йKЇьзл° + щцйф;sэµ>µвК†п№ёР#Ѕ«T^О5ІИ ®sIгцv–)ьmjdЊ[с†;%NЂё«Г‡;ћn+!Ятж®ЮСImu{\вЉеѕИН­„„ZюоХ7P$"¬ЧЖМv»Й°niKфb•CЉ.|.Ы ©ч?ОмZ$sЯЎg4ЅOЃлуTЁ“ЖН##c:2Дv.ЃЏЈЭяP8І вIЋГИ Uё’ёЌ ]=sGциG?.wєsщш8[-п~kKЫ(˜їГe1ЂфўS¶’=Ъ ‘Њмдч*zqmR\њЭ№HєЭOЃЄЊЩ +Ы(1/nМmgф#)爆ъоw·кУ—Л{НІ—GжР0Њ„qЋЗфc0ќ™ЅcДђ)Ж0Ћ·:Ю/!ч@fЏ№“fJ3ЪдЈAtвIЌЌУђW°ЈлF» BSЏаDГ=v–ђЪeog;9ЧтШ†»”й ;iбwhЗІКЌЊ ў '˜2~К›ѓ”c8-˜M>.Ф‚|ЬШЦњШIZг–~4gҐ4я‰§‚(Кћ іҐOкDNТpqkLa'7€ВZrђн¬ќ{bMk©’•=Э‰5ГxН3ФњuЊA‘)PoЦуЁЧњЦ¤^FNЄк¤Ћед#№Љ®iFtЄН¬ЭAХ­Ґй„ЊЯФcнрiTџzіЄ[u‡6ПиNўe ^<‰Ј1ѓHН0оpњґ ,2хё:aЃЌwfkTС8U +JS!lXі№WoќЄІ†јЈOZБЙт~?5И0њ‰N›®rЬ_ЕѕWЈZS +#Ґн¬‰[e&sj°нnigMЭЪ-gЭТЛVG–LћXУ®јН'Є1 иЋ·hpЄVџљЛaQ.ZЌB¦V·Z +я§ІХ›ЗЭ tнzМ¦КV™«m{НЫzw«КLп5Й ЅpnхЊOҐџРцwЏk.х©·=jЂ‘ыУУ˜«чќп|µе'»ф©ulзi‘»TУµ–ьЭкRЙXЌ¶3S¬Ќ.nµZ +d"!™1hq ФрвЮz7ХЁFocЬbгц +јеmoyыв­ЄЇт]ЄђgывЩЄ!јЅнm5ОаTЪ"№Ћ5о1‹“lвы +ФљТЕ.mi|†/яXЖ»uЄN¬ c.;єW°.nГ«\Ц†СГ -tС еУшДБэCЊ,আwБб5іOq›Іjdу~РmqPѓ›LиВ™Е#хntС|Ф3я8¬Кmжrџ›gпBщДsEf}н‹б‡±ЙNюq58Ѓ2ђ +°F‚­‘ $ЬБЦГа`¬NдЧ¶цsa=м` »ШВжћsЅldГzЩХђ5j}k\C7ЩИо­­Э\_Ыљјv°ХаЋ_;ЧЅ]6®џ}m\› т¶ЉmMNШШЬГvЗ‹…ќosSЃ¶ЅЅB­Щmоl#б +є¦чє—ЭдtшљЯ­цi»mcyЫЪR¦ёј“mм„_»ЕБЖuЇ}J°3р @Їљ0{@0pР~`йЪ° Ёџђ@aРыЁќ +*jµ;{§Ы°нЄaЛ +цЪµЂ p$р `iўw`ЇV›®4;ЇQаґ?р + +‹¬:›Uй”V›60µО«Їџ ґљ №јЇhkвы¶ы{ +p]р +¬А +¦L + ъЦ ¦6z<†МДbWицКлЬН3`c0ж0aАП@А}Л°јcppаТЇL + П%Ѕъ  +о Н dґ3оЂй’Ujр @ђ@Рв{АЇLА;‹­cp + +  +(­Р@ +ІРђЦЗrф–дv)¦oѕ`7 bр +Ы№њМZpг + + +? + +ѓw{„k†Д[Нk­а +­РЬьЭXЅб€ЂаТ џMШ№LА7`Ш¬АyьЪcђѕјЌТбМ] +Н`MЮµs5¦ей +=С?]ЄаА±ќЛћЛў° Y  +b Щ±<Н +°  +Ы€нкъ@У}uTЗ +Mжв°`c¤MuђЫ +`)nЯ +‰#‰gХpе)Ћ$0 +P +ёЊШb`иJюЩЕ@ +c ?­Ы7pи|Л@ЂЃ~ТJ~ + +P  +˜ОЭпR0Ю”ЏY-щ©ь°ќю‘ +( Ря…Ђ˜ +nЈ +"ЙА°NDЦ,Aг2 +1(P<8сАР1cє +  +Ѓ% +`ґ\ІЖ‰QK¤ZAЧ Aњ9 +ІИH#гЩ> ="]•†Ќ:沘{гEk"9тбQЄ%ЂFРђХ"Н;›њ€№PМJљgFшЖhў‚4V¤8‰д‘ІРжgГ+K–@™ … СЮ,И憑Пм|Xc&’ G(Ьф:с‚°0- +Q蘀‘нNH#‚gdИG + УёЂ'¤HГ€.‚ЎЃjеDo )Ь! +`h0"‚}ТђB +џњШЗP8!њ``ИВd€АG¬ИG”гЈcђ(ўђ#‚HТHCИ§˜Н"yc‰н1В€1—РЇўйЂШВIЎR<+њp +J6a# +\ўЂб»сd ++(‘Гџ,ёА#ь1ўT@ЃQ.ЊА +ЬЂ„"r8ќ%P0ЃЋj…JЊpѓ9l˜а@¤ $2љ +8ЌИb‰dXА +3Ьpњ%€аs”xЃ†Љ‰`¤“ЉthB#и`di2ґBЙЭPЦ +pБ% @– +( +Љ ¤2@PЃ&Эёа +А@б¤!Z,dв…pЬ +шI$‹r®О‰5jЊ`‚pRбб†,\ёаi–иЂe"‰Д +КДњ•5™(‹7МђГЊ#@ЎGR™@Gц(цw# >:AдѓТZHэ‚–pђ,P C +>,Е‰b^hА§f€Ђ0ЬРЎRBK°‚#Ња¬Ђ +hЃbp‚мP"ш©B0¶‚P`f(ќ– ҐDШ! ё +ё@*d‰D,АZ0#>яХ‚ +˜Ђv0 +Zа€!Hаmг–Ка€ ` +”8Aа‚gЎ +"°Jа +­’АB`-&µ 1VpЭ0°„4@`# +f ИБџ:ђGњ +Vђ4А +ёXТґdЂЃ9pБ PБд—4ёБ +°ѓo(!ѓ `L ђ@"оe7xаPИВJ +Pљe‚Ђ'Ћ ++ђЃ¬рѓ 2ќѓpЁ Fи +> +ЦИ Q…ш` +рА„P›*=#А +H +PцЊА°A XARАЂ¬ЂOШ‡ +ж°†8!=рVЂЃ0шc (`)Dс0B9В§'˜ѓB@Ѓ@бЂ‚ $+7| +јИДЊ„ ˜L$Б +-Шdб1cС> ;|ГЇЋP0v‘Њ9 АmЂВ"і‰$ф!9)бG°cOВ#   DА¦mnp‡]„#n(TpЃLCЃ }Ае.љР +f„Ђ/hБ#„ажH +oA•б? +( +$а +ёЂ˜ +:P(\,ЊаB(•Ђ"8ўРЉЂ"иP + в9ёБ +ю†0аaЉx"`†ибt€FFР +ЇўYt˜” 7Ў'ђЃ tђ3|`o0…яЂА # ў ы€ЂфА† Р иѓ4рЋ^C7€xD0ѓђ +s ЂV Ђ`XЖ1€}ёЕ +9 +8 +€‚Йy +X‚t,€q +я°o +И +яЎp2иђ 5й&(†XфЉ +:XЁ€^ NKБ…P2А餧щt„дY1 +ЈfђNш„)АNЦ +\аР +Hаж<@NGfа‰_Ђ;Аiђ‰р ++ђ€Ряp +°9ђXIТ P)И‚1И‚` +` +H… +Шѓ Ш +(С :@sиЉђи¦л„†а‚4Пё‹ИJ,ЧҐV +€@e}†ёE + +0v©`N}hЖиС‚ + ЉVаЃ7аsђ†Љ`p +0ЙЮ±N?Ђћ1w4‡ +8 +Ђѓ;я€ѓ!„.ѓ;PY ѓ.HЃ;Ђ*@8ђ†В/Xѓg°‚ѕ˜ +wduA3Ё‹-pв P‡U„ +RЎ€pВљ‘њ8‘щ1$+XwоhAТlб†.HИђ Ђ?d8№лўf¶]Мєѓ…¦«f]И<Ш“а !. yФБCZ*^4iА»VTR “GE>4JАДVђ +4R… +Ѓ˜ П +бАB °QE&тx`кu` Љ©PЗ7<JЃфШHя*XЎB!8PЂ˜у@5°tБКnН ‹;ХшGBГё3Њ +QДqЕ]hQM3Нђ1ВdTҐ…°,HЧ +m0!A”LљGB€!ґ2 ђ"П#mЂЃЕ% € ex0Н7‘Э†qqЬ‘]jK3pёГJ6Ђ!SЖ +—\’#l\‚E(B(И +ѕ0‚2!„<ЖШ!‚Пд1G(Ё Ѓ~4Ѓ)/”a˜1*|°В3пNГFBша‹,ppr‡oХрє Г¤’Њ/АёМтјСA0aВ%яЉ~"`с)Нф“'t +0dфѓyАѓ­`‰ '$р7А‚ TНФu[˜ЯБЙDГD}WaҐ%џfG +’M< + +.Д0†5ра +Ж +<Ё +ЖБѓ\2 +Љ¬џсqЂ1ЊБ7ђЖ @њАН@Вођ$ДБ!p@VX1€aPEK¬ёБеPїQ@ёЃҐ@ +P +МдЂ9R  +MАЋ2ЭЂ +zZ‡ +a7°AВ@? ‚ ђЕZС +?шбUQаЂ>ЋЄ + +P`7HAё ?„БІ В'Ђ*С <аъёAL[1‚ м! ІP…Ј ЉћљгЁ€B+ КXм!0ЂЄ*!ТVЬЂD8В +ZqRќК"5GўС0DБя3 +-h‚~Шѓ9(@„[А +"0ґїЅpЁI +ш$p‚ ґа&Аhр†<¬`К PВАpЃ!¬  +/ИЃ#r Їќ`&р +eЂјPjLѓ ћ>Ѓ"р€D °Д\А†D/ ЊFtН»8 ! \ђрЋ$0 +/ЂА>@од@&шАdђh6,@.ЁЂ%ІР7¤вЖ(ВрЃ@9‚Y8AКpњ@Ф- я$ ґа +B˜ +уBБ–@ЉaИћђѓ,„ + +°ЊсЫ–`BъдИў€ЕhзЃP8бЂЂЧЪP6H@,Ѓ +јЃлЅЃјB„BxБ<т1В м +`@@ґA#`Аt +р@,м‚HАР$Ѓ јAHЂўЃAґ +м‚XAЂЌьvЂцЅA@$Ђ/мI<Ѓ Ѓ\_ЦH@˜АиZ мВґА +ѓ +ґdГ.А”ALА#ШAИА&dA¬ЂњА.0‚ +Њм$@р‡ , +Ь +`Ђ1@A +ґЂॠфADА 8Б° | +dAРA,,„бЁЈ 4‚Ґ±LА3ј +#L@`Ђ#x +РX +4Ђј§dБҐ| + А8‚,@ёАHБ¬ +(@ЛНЃЃ“Ё +|‹C¦bЋ.$аEЈ,Ћ¦B| +A1,A"dЂяwN +LАHЂ H%| + ЂЛ"Bx   +8AЬ‚, +Hѓ "€ДdЁbЌѕЃHјБh‚ €A\ёЃA lз9b +\ +Ь‚4ѓњ +”Ѓ ґАmJѓ €В|ј- +€Ђ:AEЃТс¦xАp@щfБdЃ®ОДЗєЃD#Р@,БxЂ ”\ҐЯ^Ђ#(ВєN +,Ѓ" д +‚5ИА ЬoКўp¤A,A +h­ћЂ(\А#,Ѓ/ЂьИЂЯ:ВЂCа‚QjВ\А +/m$Ѓ–z +poР^Ђ \АЏБ +0АТBј;њ@*4@(”ЫудА +”БLѓO3`Ђ +ъѓдБЙ®Ђ0 +дБSіБЪ4@@.ЊВ2ѓџ]C МYAњ“йZ8„CћQ%иC2H:дшКЂ +|€Ђ$сQы/МБL@#$Ѓ дЃм‚tЗфБЪЃЫч +р[БЁ@_о #$AnКА3@ҐьҐВ"8‚јѕЯwА4"§L¤1`_р ‚ўу\¬e\Аръ_Љ +$A 0Ї¤@ИєAЄЂћ X˜ф0!ВЉ€2dииаЕR№‚щЎ1 +C„FeхxфЃЌЊЏт8КдD€и|"% H#ЏЙA§€ (Џ˜cё$ BаШшБꮬЎ6І  + l  +ZЂе АюPCr +Ћ <Ш +. ђ¬ЫLаX‚аDЂlтOЪєр<А ’@№^  rЂаJа§!яў +Ф"˜"а‹8@˜aІ +(Ѓ°ШК}hЩж +аМ>L`р±к§ ^ЂLРа0 +Њ@f#xH8ЄТ@"(І!И БJ1ЯЛdСhЂV ы +Ё +@¬аn ђг,дЮ@>Ьяа +т«"Б.‡ЂBC¤`&  + PQ^Б>тиа +PВBS–АІA\@ж +І@»D `C"  +8ад а у.АBЎѓ : ШЎЦгЙфI + +Hl#љ Є`bаЌ \@ + [е!є5,ЃJ˜ оКSћ Да +” ~КТrAЩDАdаКАА^AdmJOb@ ІЃ +B@Іб”Ђ +ЎPА' а« "Б7` +4! ° + М4„, +Є +Ђ +V  8Р%њМD( 1}а   +фЃ +»Є +ЄМ†йАШљ €ЂЂг m Мб7Љ$ф`   +L ЅxаPЂ +€x2@ХШL@› +ѓЩђґ ¶)8џЂВ^тz ˜"ТвZа~м6яаљ +в`Р b ЬБ +†ЎR +о`Ф  Ђ ТБЬБHЃE"  °Ђљ : +kг`;Б +¦Ќ `к&@@nZ›.ВрщЂ +ґv$А +І …ЕдC~м єJ@ ФАђЂ є`† ЄбФа®@ +:ђЂЄ †Ѓ 8 +И ¶3Т ѕa№r@N@гв.Њ r "aкЪ +8aо +Єъ о`bЂФАaЄЃєЂВА4шља А>¤kгNК *…@Иrб(Ђ +L И # Ђц·E¤ +О  Цљ)Z`шATWЂy% J% Y”яDXЂVаћ¬Ђ + /QяЂ9m•оњмі=`ѕш!ћ ћ¤A +`Ў Z«Х`аЂF Иа +Єбш№R ¬OыЎы8Т@ љЂx› +ЈК {Ш%ТА&!ж!°-ф Ђщ +(б +,ц +ЂК›L +ваRЂR «‰ЂXБМ† b@µ +` А +ћ|N‹< +Sю}є¤кск +&аёШ`Cµ ‚!т˜†_аO†њАч. +@–@ +>@ ’@kі8хђѓЭѕ!& +˜ЂZАТ#9D ‚4hsйC„B|ЃFЊ +ѓ“у+-ZШ5‘Ў— G–„фpТB†Ad`(ВZ…1#dђC)I&”(~aВљ”„ЃЎ$ХH€gMviЃ! +„u°уЎ(Nl +Т¤Q•6VШ%8 ¦ 0Ф#`Бv§Yі;х‘б“њpВ+ээД +бшРБ СPІ@&!x +ЋґВ-`ђ…”iКBD€ +X„АЖ WА2\ЬQ НtЎ…¬°‹ГhСТNz’GTс +)"t°¤`@&” t „ЋЂ'ЄА†O˜ М¦x±В 8‘ГBЂА‹ +РАЂ м‚DЂltJ‹x±@O``‚`ЁР%˜ +v„РшРА0:Z±K eTс’яxo¬ањREU@ +9`l‡ $ +ґ +!„а…Дpd‘ѓ*,° +њ0 + FУЊЫ­K D +^`\љ@‰ё@9™”А>°ГќІЖVа64 +C +ьСПIарЭҐ +m(SЊАї9`бE0БЄp !H + +ШаЏ6рЎ]3СBF шќГCC3|сБq‘a4dаД7АG°n‰/и”яяT° РЂ +-ИEт °Ђ +SМA$љш` (ђЃdЂў€а бАВ ТP…%¬аHGB -ћ +€X= рю¶ +є°яЃ.шІwр¬}„c,AiВЄpЃ1ё!2 Д Шђ‡( Я€ДPPЂР0@Ё‚ +`Ж-Rх‚\ЛUЏ€ +&ш@Н` +рАг¬,Ѓ +}ГЂb€ВЋ Ђ<@ж@G+А Ѓ#|dШЂАѓ…~·‚ъ€BђШАърG0}Ь@@HA3Мqѓqр +и0щЅ> (< +b`D+nЊрЂ@РSфЊ:ЬЂc № +р=†1 +Nаy + +кАу4шaнb AмюхЌrБqЎvцЫА +sp Cђ| 'ђ +V`_E°Ђ°K`й!© +nа   яђN Ђ° +ЋЂ а(АЕЂ"P °Ѓ TtN@@ђЋp°^`&`Іt@sРR0T–Kђ +t U  +i@ +Yаа +@0иё°' N°(`iy62Ђ(°8<Р>Ђ.°8ћЖЏР + ђYђ +t0а-@(B +IР +V°Џ°$:PUЌђ=А +  ђА’а2 2 dLЁ-PAЂn l`h№ o +ЂЏрђ- &`-АlЂ@ +pњ + +`8E 'PP=0Њ јр8тђ +ЄoРЏ XPwaђ Mhi +UХyBp†Е’ Gиd9~АЭЃ Рја0sАP +! 9PГёb +0+ђo +ІJ 6M +ьђА +~ +W& +M°± ”Р +Єр +р +mрп08B +ЃP +­“ +ь`f” +kЈOХ–LаZ +Ѓ sр пђ mp“@іa0+А +@ +Ќх +M’ +ђ пА яр +'а +>А КrL`¤]РЧRpЅs ЕO9 +q #Oу-РЇр’S +Y`**^ІЯ°Е·qРИ’ +›»P№а +п` "аЌ°єYb»ртРчЫIp>РЯа Ї1гіy џт@є°Р +» РАAPАїЈК+ И1“OЏР–P +С0™` «{;2ьАlРПЫ‡д•1Ђђь +з“Ж` +,ґ9ђ эЇE аL` +’ +pф…/№ @№Ая•Д 9а +Mђ +Ї + а0HА¤ JpV&Ђ%р@"`+01р9PxР4° +U Ep-р&РZ'РxРT&А"Pі0¤ +k +4Ф0бр^O¤ХlҐ + +Ћ ,Ђ±d0Д…Ј‰—А"Ц$г) ^Рxр&@ГUЂ*« +eЂ'А e`& /p +ьавB` ёР>ZБйP >DОЂ`%` +/fFа,Xы +OЂдмЅ +°ё&щЖрЏрX ·x юрм` дv + р`x +Єоэ/ряаmИ+ Е*0†E5L +Г.C р фpaб@ $Х +oWЕў` +Р&p +РКб°8Fр +јЂ +ЖСLАU + Рсс +o Њ ГбР`†јР +s°“' + ’‰шW– +­*А + l ЁR%ЃCn °“ Ђђ Р‘ ўЉ +Њ˜8ЭЃ]ё'Ш`(ђѓЉV +ё Р¤d;`8СA^ЁF њ…аД‡‚ (`"‡Ђ'L¦µњГdВЖBЁтd—Dша`А‹<(†RfЊаф‚K+HђHPXБЋ + n”ќ—@A3 ђВ ++ +©T!`ГЂЊђБ +)– ГЂ :Юtc Ђ0‚Ћ^/АА +Q$HfNpW7> X¤˜ЂZ7 +:ІJг™ ¤ ьNйЭPВDЬЂ‚ЋVU$bѓ"HC”пЬ@Д +F*EA +кBви +”а›<р† +˜Ј + +pДј"±»‚ +€„(‘zЎ`H$ Ђ%јАYXCZ0Ѓ4Xб +›8ЂЦћ€,@А‹ +њА†7x>`R,им pDћс‚G€ + PGБ +щ)Г¤YЊMєЃ +9˜@0°Ђ&lАЃЁВўёязaПђL`ЌѓEcnр‡ ъy‚Є(џА d@`0MxFсЃ8бП`З ’Ка HЃаѓHЃ0ЭШЃЎ<@AP8§Ж…ХЯ-`7HЗpЃ ёфйQЃљ +ўаLx +B№ +И0Ѓ +YиЕ3”`< ўі‚ ША@Pћ +nС‚@4!Ћђ@Ъа…hUбxБL"ґаљ +)A$ям!JБUЩаЃЪ,`E*˜@™,!ЃKTБ&ђА^ЂТ'8V `@ЎШ ! ѓOъ>b&LІ +xБ6Lа У(@f® ЂМS ЂЂ жРЃђ‡o`'ЮSЂв¶@¦F)®0б^•Д ђd^Ђ• `а02ЂА +с ј 'ёО®p +®,ЃA5&…1т\Ђ7А˜4OђЂ +@‰;¤ ЁB^заSєђ§х +…&k\”ж +@ цЂ +¬@ +р#\`°ДЯа‘И@ §0A Тч„ња)hЕ+@p +щNЂДюЖ€iм4ЎђСC#rрўy[gЇИъ л<б!h‚9ђ… +Mо'‚`!0.ѓ@а…$Ч„ +”а +rап7TAП¤p„ +”VA  8Я -€Щ•@‹F”¦MhBр +ђ«шђ„1‚\°ИЪ…(р…q +]Ѓlа‡;-Ѓ>А‚`ЂPЃ`2 ˜ + +”х8OMДoђ¬‘„ + + +љ!Щ +аKШѕ\Ё>/и‚f`„¬лё‘Ѓ6pЂюЄ30є*hѓFшЂTxП&% +Gш+~рЂi€Г* …oр2 +»# …G¶р  шЂGи +¤Dда]cP/ААщѓ- +#ђЭр}РЮ€l±ZЃKђЁЇ0ИЃШќї%Ыц7ёЂщЁwЂѓ„Ј№`‚ р@0Ѓxj +x + Ђ%8Ђ8s PяsJOхG_Ё5°тGЧfЁѓ- +ђ`Ђ_ШHПМ{»·Ѓ……ѓ0h…(Ђ.xьТ„‚"x{Зь3o…™'`Р‚а‚аPY°Ѓф„Т"рs ЂЧчѓZ' +ђ{ЎЇы + Щ ЂС·Y +6ZщQ¦`Є‚Й"2”9")яЂЙRҐjР U0lШё!k-†‰ТКЖ†ЊэМру`CYan((«U”(ёh‰г'ЉМ07В +P±6h +Њ1†7K€Ў@»™Ј +¤a{Q,qГf +cФЃ 6`ЖѓЗ‰±©9Гl +тЁ BгZВ†U¬аГ7 ¬ ВЙ>ьaЂ +Р–±@„"ПЖСT!O6Ѓуq +`aIUМ€$С„ И‚М+“"Ђ>g Ђ%˜я0A „ВЖ тH@K„ ‚<ш +~а'ИCZА!а +^pd „А +TV@^‚ЂЋ%as`DШа€д +WИЂ +РD*”-ђ_ЎAH  Lђ8Т(0 р‚9 +JёpМ \ y°ГdЋg¤-]0ЗбLЂ…Hб +Аѓј +=˜b*°^° +2hАt`‚”Ђ "Ёе.‘¤‚€Щ(· ґ +Й°BpNxA +LРѓРaLђ@р0м#яЙИBЪЂС…] Б– ‚аAЌ;@Ѓ?  ‚T\аєУХГ +N ‚ЭM@ +ґА›ўHi JаиА + +`NШ TБ=hѓ?¬АЂhдB +`‡SГ"°Г `6o„Ѓ кN^aVатЎ5іа rсlАЪ”АШТPЪЂ^ЎМЂLа.   +ИЂ;ХИ‘ +ИKONсґ’L`Ъ, TЂ№¶EЦ жа  0 /Ш ь!  +єT +0NЃ +В +?Ѓ$Ф +  dіOхАиА$аPddЎYaв'ЦјТ;‹1M‹СЌв  Љ*Ѕ§ЛXЎ°¬r¬MдAциJ; +Ё +,!FUа:@ +њ Ґz`µћB&  +: +к•V/Б’а¬ Љ +R ›!ЦЄќўI † ўФ`hХању:ы*ўD +љp¬N r@ J ЄЂдАФ@8бїТЁ +ЇЂџ +^ ґвЉА“Ьѓ $ADЂ +‚@ ј 4 +|@ + +ЊжLА +$А&аLј я> 77‰ lЃВ„` 6Ц<˜Ѓ - +ёО +а +ћ!ЯNЂЩа `Іо +ђ йрK +Ф  У” єіи†т™tП;щ +Ењsо @Nа4л`m§pbа +дЁдD‡lµ |CЋ<ЉП{8.† +–bО¤Ѓяає«SOАr +rЂB`“ + +Ъ1†p\љ!\Yа +ЬЎ{† юаФАшґ@ ¶З{r|Lpє`Р ~¶йУЪHе&  +’ ± љ@љ` њйљ‡б +¶ХZУ!IЌ;Х€  6Б . ЪАZК†ж«B4сHф^@”аћР0 яtа¬Ђ ЦА +<@z +‰ ћa$@!{кdЧѕУЌbАђа:ЃШљљ€ё&ЕХя{LcЖX!Ж'M›˜оЦД шl‘BХВнD` +ћ!< ЬЪЋ© +HA^  +„ЙЂTќаz +кQЎА¤_оRЂ>а4aа™`!{Тб~°I~Ф +RАmЌi‰ ЦњдИv֘Р*d}ЂшiЊXБ + ћ™27ќ ЬV")6ґ№ьБаdжЂЬЂs^аа® +–Е0А +Юн§ЊС3T`ЭЃ;С ё Её“ b ЂO s{**г” d=ј§|†‘ј 4йc ~вЮ`hА‘т <А +Ь`ма<@+Ш +БЉ ‚3H‰N FIњВ`›`нd;cнРа,S,ячЁ2ў’іmХ€ +rLЦXб:  |аPћ,‹hни®t°~§мб{€ЫЌ®ј}ЂЎ|о§ +УHѕЎ +>  +hЂШа +BхЬ D   +ЮkF§Б +ыи#µШ +њ +ўчДЊO +ђсЙ›о +Їє§RЌ`БДµЅ +фБ¦Е Ь јdЂ^а0EШ«¤БСћюШҐАБ”и@ Е6r™# яЏ.ађ~ъFћџP Ш |Л :@h >љGLАcЂ +ѓdVh ЩУ№ЁL  +Z6Џ„˜XСВД‚§Ћ:˜ў"П“z,и`†–Ђ#WМ HPЖѓ R%ґяPСט 6U:с†Ќ#±L°|“B‚±"Ю €`ЋЛ.АX]Њ«Yі]аАRѓњЊr2ИЊФТЊњV°xrЉGЌе2fTЁЂЅ &Ў>Dx®Ђ#&""DА $љЉ+$H•сБNЬQа +жPАљ В +±\"C*МсAЋ„ВiM<Ѓ‚`$ЙЭp¬Р¤Е,ЕС$њ §†!СМH)4З w(рJY40°АRњ“pА1Hј5““‘ЎяЖA°ёЙI3ШЭС+ѓ Т…&¤ Ђ4€°В ёР`З +oD`%2  +rёAЗ„i,!ЌF`аDo€r ZМ Ѓ +€| ЌґPЄ п-%Yф †4,AЦW|qB\`?KШС +]haQ +qp‘B“ЙЛ NjЊДКCњPTR3Аґr‡&' +¬<\Н ¤!‡‘  +©ґ +VD“mёи±Ж<рA(, ѓ?ТxЃБ*њђFДqCДс‘tZ +шAД7ФСJ~|тЂ9ІЁ†*ЦЫ +ЄЊAЂ9~Ь…*6шБТГ…9ЄЬРJ+~|?DП7ш”= +аЂжиЬ-ґPє. /Хию‡џД!IjёC€p'йБНёГ€ ;_„Бwж€ + +РfґЃПЗsмRФвєg +P +x0.AІЁC@БЃ \ афв'ЖґТљ~f°DM ‚|QЁГ 6`FE^у +Бж"ыЊ‰¶4 VD_ЪJhЖт diff --git a/img/podzem/ziton.gif b/img/podzem/ziton.gif new file mode 100644 index 0000000..88d4786 Binary files /dev/null and b/img/podzem/ziton.gif differ diff --git a/img/rejting.GIF b/img/rejting.GIF new file mode 100644 index 0000000..0c693b0 Binary files /dev/null and b/img/rejting.GIF differ diff --git a/img/slot_bottom0.gif b/img/slot_bottom0.gif new file mode 100644 index 0000000..5e946bb Binary files /dev/null and b/img/slot_bottom0.gif differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..132501a --- /dev/null +++ b/index.html @@ -0,0 +1,26 @@ + + + combats.loc — Coming Soon + + + + + + +

    combats.loc

    +
    + + + + diff --git a/index.php b/index.php new file mode 100644 index 0000000..342e393 --- /dev/null +++ b/index.php @@ -0,0 +1,25 @@ + + + + + + Вход + + +

    Демонстрационная версия

    +

    Ребята, давайте сперва сделаем чтобы работало, а потом будем делать красиво. Идёт?

    +

    Пол персонажа выбирать нельзя. Это не ошибка. Все ограничения только для мальчиков или только для девочек постепенно будут удалены.
    + Любой человек может играть любым персонажем. Только его образ сможет показать кто перед вами. Мы живём в эпоху толерантности, знаете ли! 😉

    +
    + Авторизация
    + + + +
    + + + + \ No newline at end of file diff --git a/index/css/keyboard.css b/index/css/keyboard.css new file mode 100644 index 0000000..263de70 --- /dev/null +++ b/index/css/keyboard.css @@ -0,0 +1,268 @@ +#keyboardInputMaster { + position:absolute; + font:normal 11px Arial,sans-serif; + border-top:1px solid #eeeeee; + border-right:1px solid #888888; + border-bottom:1px solid #444444; + border-left:1px solid #cccccc; + -webkit-border-radius:0.6em; + -moz-border-radius:0.6em; + border-radius:0.6em; + -webkit-box-shadow:0px 2px 10px #444444; + -moz-box-shadow:0px 2px 10px #444444; + box-shadow:0px 2px 10px #444444; + opacity:0.95; + filter:alpha(opacity=95); + background-color:#dddddd; + text-align:left; + z-index:1000000; + width:auto; + height:auto; + min-width:0; + min-height:0; + margin:0px; + padding:0px; + line-height:normal; + -moz-user-select:none; + cursor:default; +} +#keyboardInputMaster * { + position:static; + color:#000000; + background:transparent; + font:normal 11px Arial,sans-serif; + width:auto; + height:auto; + min-width:0; + min-height:0; + margin:0px; + padding:0px; + border:0px none; + outline:0px; + vertical-align:baseline; + line-height:1.3em; +} +#keyboardInputMaster.keyboardInputSize1, +#keyboardInputMaster.keyboardInputSize1 * { + font-size:9px; +} +#keyboardInputMaster.keyboardInputSize3, +#keyboardInputMaster.keyboardInputSize3 * { + font-size:13px; +} +#keyboardInputMaster.keyboardInputSize4, +#keyboardInputMaster.keyboardInputSize4 * { + font-size:16px; +} +#keyboardInputMaster.keyboardInputSize5, +#keyboardInputMaster.keyboardInputSize5 * { + font-size:20px; +} + +#keyboardInputMaster thead tr th { + padding:0.3em 0.3em 0.1em 0.3em; + background-color:#999999; + white-space:nowrap; + text-align:right; + -webkit-border-radius:0.6em 0.6em 0px 0px; + -moz-border-radius:0.6em 0.6em 0px 0px; + border-radius:0.6em 0.6em 0px 0px; +} +#keyboardInputMaster thead tr th div { + float:left; + font-size:130% !important; + height:1.3em; + font-weight:bold; + position:relative; + z-index:1; + margin-right:0.5em; + cursor:pointer; + background-color:transparent; +} +#keyboardInputMaster thead tr th div ol { + position:absolute; + left:0px; + top:90%; + list-style-type:none; + height:9.4em; + overflow-y:auto; + overflow-x:hidden; + background-color:#f6f6f6; + border:1px solid #999999; + display:none; + text-align:left; + width:12em; +} +#keyboardInputMaster thead tr th div ol li { + padding:0.2em 0.4em; + cursor:pointer; + white-space:nowrap; + width:12em; +} +#keyboardInputMaster thead tr th div ol li.selected { + background-color:#ffffcc; +} +#keyboardInputMaster thead tr th div ol li:hover, +#keyboardInputMaster thead tr th div ol li.hover { + background-color:#dddddd; +} +#keyboardInputMaster thead tr th span, +#keyboardInputMaster thead tr th strong, +#keyboardInputMaster thead tr th small, +#keyboardInputMaster thead tr th big { + display:inline-block; + padding:0px 0.4em; + height:1.4em; + line-height:1.4em; + border-top:1px solid #e5e5e5; + border-right:1px solid #5d5d5d; + border-bottom:1px solid #5d5d5d; + border-left:1px solid #e5e5e5; + background-color:#cccccc; + cursor:pointer; + margin:0px 0px 0px 0.3em; + -webkit-border-radius:0.3em; + -moz-border-radius:0.3em; + border-radius:0.3em; + vertical-align:middle; + -webkit-transition:background-color .15s ease-in-out; + -o-transition:background-color .15s ease-in-out; + transition:background-color .15s ease-in-out; +} +#keyboardInputMaster thead tr th strong { + font-weight:bold; +} +#keyboardInputMaster thead tr th small { + -webkit-border-radius:0.3em 0px 0px 0.3em; + -moz-border-radius:0.3em 0px 0px 0.3em; + border-radius:0.3em 0px 0px 0.3em; + border-right:1px solid #aaaaaa; + padding:0px 0.2em 0px 0.3em; +} +#keyboardInputMaster thead tr th big { + -webkit-border-radius:0px 0.3em 0.3em 0px; + -moz-border-radius:0px 0.3em 0.3em 0px; + border-radius:0px 0.3em 0.3em 0px; + border-left:0px none; + margin:0px; + padding:0px 0.3em 0px 0.2em; +} +#keyboardInputMaster thead tr th span:hover, +#keyboardInputMaster thead tr th span.hover, +#keyboardInputMaster thead tr th strong:hover, +#keyboardInputMaster thead tr th strong.hover, +#keyboardInputMaster thead tr th small:hover, +#keyboardInputMaster thead tr th small.hover, +#keyboardInputMaster thead tr th big:hover, +#keyboardInputMaster thead tr th big.hover { + background-color:#dddddd; +} + +#keyboardInputMaster tbody tr td { + text-align:left; + padding:0.2em 0.3em 0.3em 0.3em; + vertical-align:top; +} +#keyboardInputMaster tbody tr td div { + text-align:center; + position:relative; + zoom:1; +} +#keyboardInputMaster tbody tr td table { + white-space:nowrap; + width:100%; + border-collapse:separate; + border-spacing:0px; +} +#keyboardInputMaster tbody tr td#keyboardInputNumpad table { + margin-left:0.2em; + width:auto; +} +#keyboardInputMaster tbody tr td table.keyboardInputCenter { + width:auto; + margin:0px auto; +} +#keyboardInputMaster tbody tr td table tbody tr td { + vertical-align:middle; + padding:0px 0.45em; + white-space:pre; + height:1.8em; + font-family:'Lucida Console','Arial Unicode MS',monospace; + border-top:1px solid #e5e5e5; + border-right:1px solid #5d5d5d; + border-bottom:1px solid #5d5d5d; + border-left:1px solid #e5e5e5; + background-color:#eeeeee; + cursor:default; + min-width:0.75em; + -webkit-border-radius:0.2em; + -moz-border-radius:0.2em; + border-radius:0.2em; + -webkit-transition:background-color .15s ease-in-out; + -o-transition:background-color .15s ease-in-out; + transition:background-color .15s ease-in-out; +} +#keyboardInputMaster tbody tr td table tbody tr td.last { + width:99%; +} +#keyboardInputMaster tbody tr td table tbody tr td.space { + padding:0px 4em; +} +#keyboardInputMaster tbody tr td table tbody tr td.deadkey { + background-color:#ccccdd; +} +#keyboardInputMaster tbody tr td table tbody tr td.target { + background-color:#ddddcc; +} +#keyboardInputMaster tbody tr td table tbody tr td:hover, +#keyboardInputMaster tbody tr td table tbody tr td.hover { + border-top:1px solid #d5d5d5; + border-right:1px solid #555555; + border-bottom:1px solid #555555; + border-left:1px solid #d5d5d5; + background-color:#cccccc; +} +#keyboardInputMaster thead tr th span:active, +#keyboardInputMaster thead tr th span.pressed, +#keyboardInputMaster tbody tr td table tbody tr td:active, +#keyboardInputMaster tbody tr td table tbody tr td.pressed { + border-top:1px solid #555555 !important; + border-right:1px solid #d5d5d5; + border-bottom:1px solid #d5d5d5; + border-left:1px solid #555555; + background-color:#cccccc; +} + +#keyboardInputMaster tbody tr td table tbody tr td small { + display:block; + text-align:center; + font-size:0.6em !important; + line-height:1.1em; +} + +#keyboardInputMaster tbody tr td div label { + position:absolute; + bottom:0.2em; + left:0.3em; +} +#keyboardInputMaster tbody tr td div label input { + background-color:#f6f6f6; + vertical-align:middle; + font-size:inherit; + width:1.1em; + height:1.1em; +} +#keyboardInputMaster tbody tr td div var { + position:absolute; + bottom:0px; + right:3px; + font-weight:bold; + font-style:italic; + color:#444444; +} + +.keyboardInputInitiator { + margin:0px 3px; + vertical-align:middle; + cursor:pointer; +} \ No newline at end of file diff --git a/index/css/main.css b/index/css/main.css new file mode 100644 index 0000000..12977c3 --- /dev/null +++ b/index/css/main.css @@ -0,0 +1,172 @@ +BODY { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +TD { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +OL { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +UL { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +LI { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +P { + FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +.text { + FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif +} +H3 { + FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #8f0000; FONT-FAMILY: Arial; TEXT-ALIGN: center +} +H4 { + FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN-BOTTOM: 5px; COLOR: #8f0000; FONT-FAMILY: Arial +} +H5 { + MARGIN-TOP: 0px; FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN-BOTTOM: 0px; COLOR: #4f0000; FONT-FAMILY: Arial +} +H6 { + FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0px; COLOR: black; FONT-FAMILY: Verdana +} +H2 { + FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0px; COLOR: #8f0000; FONT-FAMILY: Verdana +} +A { + FONT-WEIGHT: bold; COLOR: #003388; TEXT-DECORATION: none +} +A:visited { + FONT-WEIGHT: bold; COLOR: #003388; TEXT-DECORATION: none +} +A:active { + COLOR: #6f0000 +} +A:hover { + COLOR: #0066ff +} +.btn { + border: 1px double #9a9996; + font-size: 12px; + color: #dfdfdf; + background-color:#504F4C; +} +.date { + FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #007000; FONT-FAMILY: Courier; TEXT-DECORATION: none +} +.date2 { + FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #007000; FONT-FAMILY: Courier; BACKGROUND-COLOR: #00ffaa; TEXT-DECORATION: none +} +.sysdate { + FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #b00000; FONT-FAMILY: Courier; TEXT-DECORATION: none +} +.private { + FONT-WEIGHT: bold; COLOR: red; BACKGROUND-COLOR: #fae0e0 +} +A.private { + FONT-WEIGHT: bold; COLOR: red; BACKGROUND-COLOR: #fae0e0 +} +A.private:hover { + FONT-WEIGHT: bold; COLOR: red; BACKGROUND-COLOR: #fae0e0 +} +A.private:visited { + FONT-WEIGHT: bold; COLOR: red; BACKGROUND-COLOR: #fae0e0 +} +A.private:active { + FONT-WEIGHT: bold; COLOR: red; BACKGROUND-COLOR: #fae0e0 +} +.number { + FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: #6f0000 +} +.dsc { + FONT-WEIGHT: normal; COLOR: #606060 +} +SELECT { + BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif +} +TEXTAREA { + BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif +} +INPUT { + BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif +} +.ahint { + FONT-SIZE: 8px; COLOR: #000080; FONT-FAMILY: MS Sans Serif; TEXT-DECORATION: none +} +#hint2 { + VISIBILITY: hidden; WIDTH: 140px; POSITION: absolute; BACKGROUND-COLOR: #fff6dd; layer-background-color: #FFF6DD +} +#hint3 { + VISIBILITY: hidden; WIDTH: 240px; POSITION: absolute; BACKGROUND-COLOR: #fff6dd; layer-background-color: #FFF6DD +} +.B1 { + FONT-WEIGHT: bold; COLOR: #6666cc +} +.B1U { + FONT-WEIGHT: bold; COLOR: #6666cc; + text-decoration: underline; +} +.B1UR { + FONT-WEIGHT: bold; COLOR: RED; + text-decoration: underline; +} +.B2 { + FONT-WEIGHT: bold; COLOR: #b06a00 +} +.B2U { + FONT-WEIGHT: bold; COLOR: #b06a00; + text-decoration: underline; +} +.B2R { + FONT-WEIGHT: bold; COLOR: red; + text-decoration: underline; +} +.RED { + FONT-WEIGHT: bold; COLOR: red; + text-decoration: underline; +} +.B { + FONT-WEIGHT: bold; +} +IMG { + BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px +} +TABLE { + BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px +} + +/* new styles */ +div.error_msg { + color: red; + font-weight: bolder; +} +div#enter_links a { + color: white; + padding-left: 40px; +} + +div#enter_links a:hover { + text-decoration: underline; + color: #504F4C; +} +table#enter_table { + border: 0px; + width: 100%; +} + +table#enter_table td#enter_table_left { + text-align: left; + width: 40%; + float: left; +} +table#enter_table td#enter_table_center { + text-align: center; + } +table#enter_table td#enter_table_right { + text-align: right; + width: 40%; + float: right; +} + +.wr_cursor_pointer { cursor: pointer; } diff --git a/index/css/welcome.css b/index/css/welcome.css new file mode 100644 index 0000000..11e4c48 --- /dev/null +++ b/index/css/welcome.css @@ -0,0 +1,46 @@ +body {background-color: #000;} +.page {width: 95%; margin: 0px auto; overflow: hidden; zoom: 1;} +.rightcol { width: 20%; height: 100%; float: right} +#forms {margin-top: 30px;} +#forms input { + margin-left: 10px; + margin-bottom: 2px; + margin-right: 0; + margin-top: 2px; + text-align: left; + color: #bababa; + border-width: thin; + border-style: solid; + border-color: #474747; + background-color: black; + font-size:14px; + padding:4px 2px; + width:144px; +} +#forms input.enter{ + background-color: #151616; + border: 1px double #817A63; + color: #DFDDD3; + font-family: Verdana,Arial,Helvetica,sans-serif; + font-size: 8pt; + line-height: 6px; +} +.btn { FONT-SIZE: 7.5pt; + COLOR: #bababa; + FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; + BACKGROUND-COLOR: #282828; + border: 1px double #474747; +} +.btkey { + display: block; + text-align: center; + PADDING-RIGHT: 1px; PADDING-LEFT: 1px; + FONT-SIZE: 7.5pt; FONT-FAMILY: verdana,sans-serif,arial; + width: 20; + CURSOR: hand; + border: 1px solid #D6D3CE; + COLOR: #DFDDD3; BACKGROUND-COLOR: #2B2B18; +} +#shapka { + height:25%; +} diff --git a/index/images/18adult.gif b/index/images/18adult.gif new file mode 100644 index 0000000..90ae9a8 Binary files /dev/null and b/index/images/18adult.gif differ diff --git a/index/images/bg.png b/index/images/bg.png new file mode 100644 index 0000000..66a8433 Binary files /dev/null and b/index/images/bg.png differ diff --git a/index/images/change_warn.gif b/index/images/change_warn.gif new file mode 100644 index 0000000..e5759c7 Binary files /dev/null and b/index/images/change_warn.gif differ diff --git a/index/images/klav_transparent.gif b/index/images/klav_transparent.gif new file mode 100644 index 0000000..bde9b6a Binary files /dev/null and b/index/images/klav_transparent.gif differ diff --git a/index/images/logo1.png b/index/images/logo1.png new file mode 100644 index 0000000..d3a2028 Binary files /dev/null and b/index/images/logo1.png differ diff --git a/inf.php b/inf.php new file mode 100644 index 0000000..3610c00 --- /dev/null +++ b/inf.php @@ -0,0 +1,392 @@ +query('SELECT * FROM `users` WHERE `login` = "?s" LIMIT 1', $user_login)->fetch_assoc(); +$own = db::c()->query('SELECT `id`, `align`, `admin` FROM `users` WHERE `id` = "?s" LIMIT 1', $_SESSION['uid'])->fetch_assoc(); + +$_SERVER['QUERY_STRING'] = $user['id']; +if ($user['id'] == null) { + ?> + + + + Ошибка + + Ошибка: персонаж не найден... +

    Назад

    + + + Short($user['id'], $own['align'])); +//} +// +//?> + + + + Информация о <?= $user['login'] ?> + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + '; + } + + if ($user['deal'] == 1) echo ''; + + if ($user['reputation'] >= 20000 && $user['repcost'] <= 22229) echo ''; + for ($i = 0; $i < count($medals); $i++) { + switch ($medals[$i]) { + case "009": + echo ' '; + break; + case "beta_test": + echo ' '; + break; + } + } + if ($user['win'] >= 20000) echo ''; + if ($user['win'] >= 50000) echo ''; + if ($user['win'] >= 100000) echo ''; + + $medals = explode(";", $user['medals']); + ?> + + +
    + + 0) { + if ($user['vip'] == 1) { $vip_type = "Серебряный vip аккаунт"; } + elseif ($user['vip'] == 2) { $vip_type = "Золотой vip аккаунт"; } + elseif ($user['vip'] == 3) { $vip_type = "Платиновый vip аккаунт"; } + echo ''; + } + + if ((int)$user['align'] == 1) { ?> + + Орден паладинов
    + +
    +
    +
    + +Персонаж обезличен!'); + +if (!empty($user['realname'])) echo "Имя: " . $user['realname'] . "
    "; +if (!empty($user['city'])) echo "Город: " . $user['city'] . "
    "; +if (!empty($user['lozung'])) echo "Лозунг: " . $user['lozung'] . "
    "; +?> +


    +
    +
    Подарки + '; + $i++; + } + if (isset($_GET['chest'])) { + $chest = $_GET['chest'] + 15; + } else { + $chest = 15; + } + $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сундук%') AND `present` != '' AND `cost` > 24 ORDER BY `id` DESC LIMIT $chest"); + $cnt = mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сундук%') AND `present` != '' AND `cost` > 24"); + if (mysql_num_rows($data)) { + echo '
    Сундуки :
    '; + $i = 0; + } elseif ($chest > 15 && $i >= mysql_num_rows($cnt)) { + echo '
    Сундуков больше нет ...
    '; + } + if ($i < mysql_num_rows($cnt)) echo '
    Показать еще Сундуки
    '; + + ###Start Особые подарки### + if (isset($_GET['uniqs'])) { + $uniqs = $_GET['uniqs'] + 15; + } else { + $uniqs = 15; + } + $datas = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сувенир%' OR `name` LIKE '%Подарок%' OR `name` LIKE '%Валентинка%' OR `name` LIKE '%Открытка%' OR `name` LIKE 'Ель%' OR `name` LIKE '%Медаль%' OR `name` LIKE '%Статуэтка%'OR `name` LIKE '%Уник%') AND `present` != '' AND `cost` > 24 ORDER BY `id` DESC LIMIT $uniqs"); + $cnt = mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сувенир%' OR `name` LIKE '%Подарок%' OR `name` LIKE '%Валентинка%' OR `name` LIKE '%Открытка%' OR `name` LIKE 'Ель%' OR `name` LIKE '%Медаль%' OR `name` LIKE '%Статуэтка%'OR `name` LIKE '%Уник%') AND `present` != '' AND `cost` > 24"); + if (mysql_num_rows($datas)) echo '

    Уникальные подарки :
    '; + $i = 0; + while ($row = mysql_fetch_array($datas)) { + $why_gift = mysql_fetch_assoc(mysql_query("SELECT `id` FROM `users` WHERE `login` = '" . mysql_real_escape_string($row['present']) . "' LIMIT 1")); + echo ' '; + $i++; + } + if ($i < mysql_num_rows($cnt)) { + echo '
    Показать еще Уникальные подарки
    '; + } elseif ($uniqs > 15 && $i >= mysql_num_rows($cnt)) { + echo '
    Уникальных подарков больше нет ...
    '; + } + ###End Особые подарки### + + if (isset($_GET['gifts'])) { + $gifts = $_GET['gifts'] + 15; + } else { + $gifts = 15; + } + $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сувенир%' OR `name` LIKE '%Подарок%' OR `name` LIKE '%Валентинка%' OR `name` LIKE '%Открытка%' OR `name` LIKE 'Ель%' OR `name` LIKE '%Медаль%' OR `name` LIKE '%Статуэтка%'OR `name` LIKE '%Статуэтка%') AND `present` != '' AND `cost` < 24 ORDER BY `id` DESC LIMIT $gifts"); + $cnt = mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '" . $user['id'] . "' AND (`name` LIKE '%Сувенир%' OR `name` LIKE '%Подарок%' OR `name` LIKE '%Валентинка%' OR `name` LIKE '%Открытка%' OR `name` LIKE 'Ель%' OR `name` LIKE '%Медаль%' OR `name` LIKE '%Статуэтка%'OR `name` LIKE '%Статуэтка%') AND `present` != '' AND `cost` < 24"); + if (mysql_num_rows($data)) echo '

    Сувениры :
    '; + $i = 0; + while ($row = mysql_fetch_array($data)) { + $why_gift = mysql_fetch_assoc(mysql_query("SELECT `id` FROM `users` WHERE `login` = '" . mysql_real_escape_string($row['present']) . "' LIMIT 1")); + echo ''; + $i++; + } + if ($i < mysql_num_rows($cnt)) { + echo '
    Показать еще Сувениры
    '; + } elseif ($gifts > 15 && $i >= mysql_num_rows($cnt)) { + echo '
    Сувениров больше нет ...
    '; + } + + ?> +
    +
    Лицензии + Лицензия наемника" /> '; + if ($user['prof2'] == 22) echo ' '; + if ($user['prof1'] == 1) echo ' '; + if ($user['prof1'] == 2) echo ' '; + ?> +
    +
    + + 1.2)) OR (!empty($own['admin']))) $okdop = 1; + +if ($okld == 1) { + echo "

    Личное дело

    "; + $ldd = mysql_query("SELECT * FROM `lichka` WHERE `pers` = '" . $user['id'] . "' ORDER BY `id` ASC"); + while ($ld = mysql_fetch_array($ldd)) { + $dat = date("d.m.Y H:i", $ld['date']); + $text = $ld['text']; + echo "$dat $text
    "; + } +} + +if ($okdop == 1) { + echo "

    Возможные мульты

    "; + $lplist = mysql_query("SELECT idperslater FROM delo_multi WHERE idpersnow = {$user['id']} GROUP BY idperslater ASC;"); + while ($iplog = mysql_fetch_array($lplist)) { + echo nick3($iplog['idperslater']) . " "; + } + + echo "

    Дополнительные сведения

    "; + + if (!empty($user['id'])) echo "ID: " . $user['id'] . "
    "; + if (!empty($user['borndate'])) echo "День рождения: " . $user['borndate'] . "
    "; + if (!empty($user['ip'])) echo "IP при регистрации: " . $user['ip'] . "
    "; + +# + $data = mysql_query("SELECT `id`, `ip`, `login`, `status`, `level`, `room`, `align`, (select `id` from `online` WHERE `date` >= " . (time() - 60) . " AND `id` = users.`id`) as `online` FROM users WHERE refer='$user[id]' ORDER BY level DESC"); + $i = 0; + while ($row = mysql_fetch_array($data)) { + $i++; + if ($i == 1) echo "

    Список рефералов:

    "; + if ($row['online'] > 0) { + echo ''; + nick2($row['id']); + if ($row['id'] == $user['deal']) echo ' - ' . $row['status'] . ''; + $rrm = $rooms[$row['room']]; + echo ' - ', $rrm, '
    '; + } + + if ($row['online'] < 1) { + echo 'Нет в клубе'; + nick2($row['id']); + if ($row['id'] == $user['deal']) echo ' - ', $row['status'], ''; + echo ' - нет в игре'; + } + echo ' - IP:' . $row['ip'] . '
    '; + } + echo ""; +} + +if ($own['admin'] == 1) { + + if (!empty($user['email'])) echo "E-mail: " . $user['email'] . "
    "; + if (!empty($user['exp'])) echo "Oпыт: " . $user['exp'] . "
    "; + if (!empty($user['stats'])) echo "Число неиспользованных UP-ов: " . $user['stats'] . "
    "; + if (!empty($user['money'])) echo "Кредитов: " . $user['money'] . "
    "; + if (!empty($user['room'])) echo "Комната: " . $user['room'] . "
    "; + if (!empty($user['reputation'])) echo "Всего Репутации: " . $user['reputation'] . "
    "; + if (!empty($user['doblest'])) echo "Репутации: " . $user['doblest'] . "
    "; + + if ($user_bank_s = mysql_query("SELECT * FROM `bank` WHERE `owner` = '{$user['id']}';")) { + echo "

    Банк

    "; + echo " + + + + + + + + "; + while ($user_bank = mysql_fetch_assoc($user_bank_s)) { + echo " + + + + + + +
    Кредитов.ЕвроКредитов.Репутации.
    " . $user_bank['id'] . "" . $user_bank['cr'] . "" . $user_bank['ekr'] . "" . $user_bank['reputation'] . "

    "; + } + } + + $own = mysql_fetch_array(mysql_query("SELECT `id`,`align`,`login` FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + if ($_POST['del']) { + $invs = mysql_query("SELECT * FROM `inventory` WHERE `id`='" . $_POST['del'] . "'"); + $bbc = mysql_fetch_array($invs); + if ($bbc['dressed'] == 1) { + dropitem($bbc['type']); + if ($bbc['type'] == 5) { + dropitem(6); + dropitem(7); + } + } + mysql_query("DELETE FROM `inventory` WHERE `id` = '{$_POST['del']}' LIMIT 1;"); + } + + $invv = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' ORDER by `id` DESC;"); + echo "

    Вещи в инвентаре:

    "; + echo " + + + + + + + + + "; + + while ($inv = mysql_fetch_array($invv)) { + $ip = $iplog['ip']; + echo " + + + + + + + + + + + "; + } + echo "
    IDНазваниеДолговечностьКолл.Картинка×
    {$inv['id']}{$inv['name']}{$inv['duration']}/{$inv['maxdur']}{$inv['koll']} +
    "; + if ($_POST['undress_char']) undressall($user['id']); +} + + +?> + + + \ No newline at end of file diff --git a/itemschoice.php b/itemschoice.php new file mode 100644 index 0000000..05e6cf5 --- /dev/null +++ b/itemschoice.php @@ -0,0 +1,77 @@ + 13) { + $r = 'Error code #1'; + } elseif($type >=8 && $type <= 13) { + $sp = mysql_query('SELECT `id`, `name`, `nlevel` FROM `inventory` WHERE `owner` = "'.$us.'" AND (`prototype` >= 143 AND `prototype` <= 153) AND `point` > 0 AND `nlevel` = "'.$level.'" AND `dressed` = 0 ORDER BY `id` DESC'); + if(mysql_num_rows($sp) > 0) { + $r .= ''; + while($pl = mysql_fetch_array($sp)) { + $r .= '
    '.$pl['name'].' ['.$pl['nlevel'].'] (id:'.$pl['id'].')
    '; + } + $r .= ''; + $r .= ''; + } else { + $r = 'У вас нет артефактов для улучшения.'; + } + } + return $r; +} + +function show_items_down($us, $type) { + $r .= ''; + $level = $type+1; + $items = array(); + if($type > 12 && $type < 7) { + $r = 'Error code #1'; + } elseif($type >= 7 && $type <= 12) { + $sp = mysql_query('SELECT `id`, `name`, `nlevel` FROM `inventory` WHERE `owner` = "'.$us.'" AND (`prototype` >= 143 AND `prototype` <= 153) AND `point` > 0 AND `nlevel` = "'.$level.'" AND `dressed` = 0 ORDER BY `id` DESC'); + if(mysql_num_rows($sp) > 0) { + $r .= ''; + while($pl = mysql_fetch_array($sp)) { + $r .= '
    '.$pl['name'].' ['.$pl['nlevel'].'] (id:'.$pl['id'].')
    '; + } + $r .= ''; + $r .= ''; + } else { + $r = 'У вас нет артефактов для понижения уровня.'; + } + } + return $r; +} + +if($_GET['user_id']) { + if($_GET['up'] == 1) { + $usid = abs($_GET['user_id']); + $level = abs($_GET['level']); + $us = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `id` = "'.$usid.'" LIMIT 1')); + if(isset($us['id'])) { + $f = show_items_up($us['id'], $level); + } else { + $f = 'Авториируйтесь в игре'; + } + } elseif($_GET['down'] == 1) { + $usid = abs($_GET['user_id']); + $level = abs($_GET['level']); + $us = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `id` = "'.$usid.'" LIMIT 1')); + if(isset($us['id'])) { + $f = show_items_down($us['id'], $level); + } else { + $f = 'Авториируйтесь в игре'; + } + } +} + +?> + + + + +
    \ No newline at end of file diff --git a/js/CombatsUI.js b/js/CombatsUI.js new file mode 100644 index 0000000..7416908 --- /dev/null +++ b/js/CombatsUI.js @@ -0,0 +1 @@ +(function(){function m(){var b={id:341269,t:50,j:true,js:13,rand:Math.random(),r:escape(f.referrer)},a;if(a=screen){b.s=[a.width,a.height].join("*");b.d=a.colorDepth||a.pixelDepth}a=[];for(var c in b)a.push(c+"="+b[c]);c=f.createElement("div");var e=f.createElement("a");e.setAttribute("target","_blank");e.setAttribute("href","http://top.mail.ru/jump?from="+b.id);b=f.createElement("img");b.setAttribute("src","http://top.list.ru/counter?"+a.join(";"));b.setAttribute("title","Рейтинг@Mail.ru");b.setAttribute("border",0);b.setAttribute("height",31);b.setAttribute("width",88);e.appendChild(b);c.appendChild(e);return c}function n(b){b=b+108E5;var a=new Date(b),c=a.getUTCMonth();if(c>2&&c<9)return b+36E5;if(c<2||c>9)return b;var e=a.getUTCDate();c=c===2;if(e<=24)return c?b:b+36E5;var d=a.getUTCDay();if(d===0)return a.getUTCHours()>=2?c?b+36E5:b:c?b:b+36E5;return e-d<=24?c?b:b+36E5:c?b+36E5:b}function o(b){b=new Date(b);var a=b.getUTCMonth()+1;if(a<10)a="0"+a;var c=b.getUTCDate();if(c<10)c="0"+c;var e=b.getUTCHours();if(e<10)e="0"+e;var d=b.getUTCMinutes();if(d<10)d="0"+d;return b.getUTCFullYear()+"."+a+"."+c+"В "+e+":"+d}function p(b){var a=q.ru,c=f.createElement("div"),e,d;(e=c.style).display="inline-block";e.whiteSpace="pre";if(e=b.align){var h;d=f.createElement("a");d.target="_blank";d.href="http://capitalcity.combats.com/encicl/"+((h=parseInt(e))===50?"alchemist":"alignment")+".html";if(a=parseFloat(e)===7?a["7="]:a[h])d.title=a;a=f.createElement("img");a.src="http://img.combats.ru/i/align"+e+".gif";a.width=12;a.height=15;a.border=0;d.appendChild(a);c.appendChild(d)}if(b.hasOwnProperty("clan")){e=b.clan;d=f.createElement("a");d.target="_blank";d.href="/clans_inf.pl?"+e;d.title="Информация Рѕ клане "+e;a=f.createElement("img");a.src="http://img.combats.ru/i/klan/"+e+".gif";a.width=24;a.height=15;a.border=0;d.appendChild(a);c.appendChild(d)}d=f.createElement("b");d.appendChild(f.createTextNode(e=b.login));c.appendChild(d);c.appendChild(f.createTextNode("В ["+b.level+"]"));d=f.createElement("a");d.target="_blank";d.href="/inf.pl?"+b.id;d.title="Информация Рѕ "+e;a=f.createElement("img");a.src="http://img.combats.ru/i/inf.gif";a.width=12;a.height=11;a.border=0;d.appendChild(a);c.appendChild(d);return c}function r(b,a,c){a=a;i||(i=j());g||(g=new i);switch(b){case "get":case "GET":if(c!=undefined)a+=c;g.open("GET",a,false);g.send();break;case "post":case "POST":g.open("POST",a,false);g.send(c);break}if((b=g.status)!==200)return parseInt(b,10);else{var e;try{var d=g.responseText;e=d.substring(0,2)==="//"?k(d.substring(2)):d=="undefined"?void 0:k(d)}catch(h){e=500}return e}}var f=document,l=window,q={ru:{"1":"Белое братство","2":"Хаос","3":"Темное братство","7=":"Нейтральное братство","7":"Орден Очищения Стихий","50":"Алхимики"}},k=typeof JSON==="object"&&JSON.parse?JSON.parse:function(b){return eval("("+b+")")},i,g,j=function(){j=undefined;var b;if(b=l.XMLHttpRequest)return b;if(b=l.ActiveXObject){var a;try{a=new b("MSxml2.XMLHTTP.6.0")}catch(c){}if(a){a=null;return function(){return new b("MSxml2.XMLHTTP.6.0")}}try{a=new b("MSxml2.XMLHTTP.3.0")}catch(e){}if(a){a=null;return function(){return new b("MSxml2.XMLHTTP.3.0")}}try{a=new b("MSxml2.XMLHTTP")}catch(d){}if(a){a=null;return function(){return new b("MSxml2.XMLHTTP")}}try{a=new b("Microsoft.XMLHTTP")}catch(h){}if(a){a=null;return function(){return new b("Microsoft.XMLHTTP")}}}};(function(b){var a=b.CombatsUI;a||(b.CombatsUI=a={});a.CounterMailRu=m;a.UTCMsec2Moscow=n;a.UTCMsec2PlainText=o;a.UserLink=p;a.SyncJSON=r;this.DLoad&&(new this.DLoad.pkg("CombatsUI")).use("LocalText").complete()})(this)})() \ No newline at end of file diff --git a/js/LocalText.js b/js/LocalText.js new file mode 100644 index 0000000..ade7bb0 --- /dev/null +++ b/js/LocalText.js @@ -0,0 +1 @@ +(function(){function n(b,a,e){e||(e=r);var d={};b=[b];for(var f,j={},h;h=b.length;){f=s;for(var c=0;c=2&&a%10<=4&&(a%100<10||a%100>=20)?2:0}else return b=="en"?a==1||a==-1?1:0:0}function u(b,a,e){var d=a[e+"G"];if(d)return d;a=a[e];if(b=="ru")if(v.test(a))return"F";else if(w.test(a))return"P";return"M"}function x(b,a,e,d){var f,j=e&&e;f=p[b]||(p[b]=n(b,y));if(a<=0)return"0В "+(d&&f["second0"+d]||f.second0);var h,c;l.length=0;for(var g=z;g-=2;){c=m[g];if(a>=c){if(c===1)h=a;else a-=(h=A(a/c))*c;c=m[g+1]+o(b,h);l.push(h+"В "+(d&&f[c+d]||f[c]));if(e&&!--j)break}}return l.join(" ")}function q(b){var a=b.LocalText;a||(b.LocalText=a={});a.Inherit=n;a.PluralForm=o;a.Gender=u;a.PeriodToText=x;a.ExportTo=q}var r={ja:["en","zh"],en:["ru"]},s=[],l=[],t=Math.abs,A=Math.floor,v=/[ая]$/i,w=/[РёС‹]$/i,y={ru:{year0:"лет",year1:"РіРѕРґ",year2:"РіРѕРґР°",month0:"месяцев",month1:"месяц",month2:"месяца",week0:"недель",week1:"неделя",week1ACC:"неделю",week2:"недели",day0:"дней",day1:"день",day2:"РґРЅСЏ",hour0:"часов",hour1:"час",hour2:"часа",minute0:"РјРёРЅСѓС‚",minute1:"минута",minute1ACC:"минуту",minute2:"минуты",second0:"секунд",second1:"секунда",second1ACC:"секунду",second2:"секунды"},en:{year0:"years",year1:"year",month0:"months",month1:"month",week0:"weeks",week1:"week",day0:"days",day1:"day",hour0:"hours",hour1:"hour",minute0:"minutes",minute1:"minute",second0:"seconds",second1:"second"}},m=[0,0,1,"second",60,"minute",3600,"hour",86400,"day",604800,"week",2592E3,"month",31536E3,"year"],z=m.length,p={};q(this);typeof DLoad==="object"&&(new DLoad.pkg("LocalText")).complete()})() \ No newline at end of file diff --git a/js/ZeroClipboard.js b/js/ZeroClipboard.js new file mode 100644 index 0000000..0b2bbfe --- /dev/null +++ b/js/ZeroClipboard.js @@ -0,0 +1,312 @@ +// Simple Set Clipboard System +// Author: Joseph Huckaby + +var ZeroClipboard = { + + version: "1.0.6", + clients: {}, // registered upload clients on page, indexed by id + moviePath: 'i/popup/ZeroClipboard.swf', // URL to movie + nextId: 1, // ID of next movie + + $: function(thingy) { + // simple DOM lookup utility function + if (typeof(thingy) == 'string') thingy = document.getElementById(thingy); + if (!thingy.addClass) { + // extend element with a few useful methods + thingy.hide = function() { this.style.display = 'none'; }; + thingy.show = function() { this.style.display = ''; }; + thingy.addClass = function(name) { this.removeClass(name); this.className += ' ' + name; }; + thingy.removeClass = function(name) { + var classes = this.className.split(/\s+/); + var idx = -1; + for (var k = 0; k < classes.length; k++) { + if (classes[k] == name) { idx = k; k = classes.length; } + } + if (idx > -1) { + classes.splice( idx, 1 ); + this.className = classes.join(' '); + } + return this; + }; + thingy.hasClass = function(name) { + return !!this.className.match( new RegExp("\\s*" + name + "\\s*") ); + }; + } + return thingy; + }, + + setMoviePath: function(path) { + // set path to ZeroClipboard.swf + this.moviePath = path; + }, + + dispatch: function(id, eventName, args) { + // receive event from flash movie, send to client + var client = this.clients[id]; + if (client) { + client.receiveEvent(eventName, args); + } + }, + + register: function(id, client) { + // register new client to receive events + this.clients[id] = client; + }, + + getDOMObjectPosition: function(obj, stopObj) { + // get absolute coordinates for dom element + var info = { + left: 0, + top: 0, + width: obj.width ? obj.width : obj.offsetWidth, + height: obj.height ? obj.height : obj.offsetHeight + }; + + while (obj && (obj != stopObj)) { + info.left += obj.offsetLeft; + info.top += obj.offsetTop; + obj = obj.offsetParent; + } + + return info; + }, + + Client: function(elem) { + // constructor for new simple upload client + this.handlers = {}; + + // unique ID + this.id = ZeroClipboard.nextId++; + this.movieId = 'ZeroClipboardMovie_' + this.id; + + // register client with singleton to receive flash events + ZeroClipboard.register(this.id, this); + + // create movie + if (elem) this.glue(elem); + } +}; + +ZeroClipboard.Client.prototype = { + + id: 0, // unique ID for us + ready: false, // whether movie is ready to receive events or not + movie: null, // reference to movie object + clipText: '', // text to copy to clipboard + handCursorEnabled: true, // whether to show hand cursor, or default pointer cursor + cssEffects: true, // enable CSS mouse effects on dom container + handlers: null, // user event handlers + + glue: function(elem, appendElem, stylesToAdd) { + // glue to DOM element + // elem can be ID or actual DOM element object + this.domElement = ZeroClipboard.$(elem); + + // float just above object, or zIndex 99 if dom element isn't set + var zIndex = 99; + if (this.domElement.style.zIndex) { + zIndex = parseInt(this.domElement.style.zIndex, 10) + 1; + } + + if (typeof(appendElem) == 'string') { + appendElem = ZeroClipboard.$(appendElem); + } + else if (typeof(appendElem) == 'undefined') { + appendElem = document.getElementsByTagName('body')[0]; + } + + // find X/Y position of domElement + var box = ZeroClipboard.getDOMObjectPosition(this.domElement, appendElem); + + // create floating DIV above element + this.div = document.createElement('div'); + var style = this.div.style; + style.position = 'absolute'; + style.left = '' + box.left + 'px'; + style.top = '' + box.top + 'px'; + style.width = '' + box.width + 'px'; + style.height = '' + box.height + 'px'; + style.zIndex = zIndex; + + if (typeof(stylesToAdd) == 'object') { + for (addedStyle in stylesToAdd) { + style[addedStyle] = stylesToAdd[addedStyle]; + } + } + + // style.backgroundColor = '#f00'; // debug + + appendElem.appendChild(this.div); + + this.div.innerHTML = this.getHTML( box.width, box.height ); + }, + + getHTML: function(width, height) { + // return HTML for movie + var html = ''; + var flashvars = 'id=' + this.id + + '&width=' + width + + '&height=' + height; + + if (navigator.userAgent.match(/MSIE/)) { + // IE gets an OBJECT tag + var protocol = location.href.match(/^https/i) ? 'https://' : 'http://'; + html += ''; + } + else { + // all other browsers get an EMBED tag + html += ''; + } + return html; + }, + + hide: function() { + // temporarily hide floater offscreen + if (this.div) { + this.div.style.left = '-100px'; + this.div.style.top = '-20px'; + } + }, + + show: function() { + // show ourselves after a call to hide() + this.reposition(); + }, + + destroy: function() { + // destroy control and floater + if (this.domElement && this.div) { + this.hide(); + this.div.innerHTML = ''; + + var body = document.getElementsByTagName('body')[0]; + try { body.removeChild( this.div ); } catch(e) {;} + + this.domElement = null; + this.div = null; + } + }, + + reposition: function(elem) { + // reposition our floating div, optionally to new container + // warning: container CANNOT change size, only position + if (elem) { + this.domElement = ZeroClipboard.$(elem); + if (!this.domElement) this.hide(); + } + + if (this.domElement && this.div) { + var box = ZeroClipboard.getDOMObjectPosition(this.domElement); + var style = this.div.style; + style.left = '' + box.left + 'px'; + style.top = '' + box.top + 'px'; + } + }, + + setText: function(newText) { + // set text to be copied to clipboard + this.clipText = newText; + if (this.ready) this.movie.setText(newText); + }, + + addEventListener: function(eventName, func) { + // add user event listener for event + // event types: load, queueStart, fileStart, fileComplete, queueComplete, progress, error, cancel + eventName = eventName.toString().toLowerCase().replace(/^on/, ''); + if (!this.handlers[eventName]) this.handlers[eventName] = []; + this.handlers[eventName].push(func); + }, + + setHandCursor: function(enabled) { + // enable hand cursor (true), or default arrow cursor (false) + this.handCursorEnabled = enabled; + if (this.ready) this.movie.setHandCursor(enabled); + }, + + setCSSEffects: function(enabled) { + // enable or disable CSS effects on DOM container + this.cssEffects = !!enabled; + }, + + receiveEvent: function(eventName, args) { + // receive event from flash + eventName = eventName.toString().toLowerCase().replace(/^on/, ''); + + // special behavior for certain events + switch (eventName) { + case 'load': + // movie claims it is ready, but in IE this isn't always the case... + // bug fix: Cannot extend EMBED DOM elements in Firefox, must use traditional function + this.movie = document.getElementById(this.movieId); + if (!this.movie) { + var self = this; + setTimeout( function() { self.receiveEvent('load', null); }, 1 ); + return; + } + + // firefox on pc needs a "kick" in order to set these in certain cases + if (!this.ready && navigator.userAgent.match(/Firefox/) && navigator.userAgent.match(/Windows/)) { + var self = this; + setTimeout( function() { self.receiveEvent('load', null); }, 100 ); + this.ready = true; + return; + } + + this.ready = true; + this.movie.setText( this.clipText ); + this.movie.setHandCursor( this.handCursorEnabled ); + break; + + case 'mouseover': + if (this.domElement && this.cssEffects) { + this.domElement.addClass('hover'); + if (this.recoverActive) this.domElement.addClass('active'); + } + break; + + case 'mouseout': + if (this.domElement && this.cssEffects) { + this.recoverActive = false; + if (this.domElement.hasClass('active')) { + this.domElement.removeClass('active'); + this.recoverActive = true; + } + this.domElement.removeClass('hover'); + } + break; + + case 'mousedown': + if (this.domElement && this.cssEffects) { + this.domElement.addClass('active'); + } + break; + + case 'mouseup': + if (this.domElement && this.cssEffects) { + this.domElement.removeClass('active'); + this.recoverActive = false; + } + break; + } // switch eventName + + if (this.handlers[eventName]) { + for (var idx = 0, len = this.handlers[eventName].length; idx < len; idx++) { + var func = this.handlers[eventName][idx]; + + if (typeof(func) == 'function') { + // actual function reference + func(this, args); + } + else if ((typeof(func) == 'object') && (func.length == 2)) { + // PHP style object + method, i.e. [myObject, 'myMethod'] + func[0][ func[1] ](this, args); + } + else if (typeof(func) == 'string') { + // name of function + window[func](this, args); + } + } // foreach event handler defined + } // user defined handler for event + } + +}; diff --git a/js/ZeroClipboard.swf b/js/ZeroClipboard.swf new file mode 100644 index 0000000..ffe006a --- /dev/null +++ b/js/ZeroClipboard.swf @@ -0,0 +1,10 @@ +CWS € +е1Є—„PЌ\__Нq€QЈЕ<6»ЋР‡‘-9&шDk€јялw”­щ¶KC{Ќ]0/ +ҐЭxCрМч]F=сВw¬В/,рk®Уiъ4° +iёе„—^ЙЌNаDLnvЈИч +!‹^PПЄuѓРт-ЧiЅЌ}—Д±дF8Ю™ВйО{ЏЋчЃмп"xФ-нf`Яг{›¶X№пЙС4jЩк№Я +™qБ±E]WIЭn”тuяТѓw¤0ўgl ЫЏe‡ѕЕФЭЧ;µЈ7{ыGjxГeZ„WaДО•kuyuWx9Зуы—uяњ:ћvаS‹ы^ЫЯЏ4ч“Їuh@Пїv(Н_Y+љіЈЁіU­RЛoІµ–^ЭilV7tэIµЩuЬИсrй‘ЭИqГ‘>m·RmъЙzє§йkѕс+±`¦?(‘Ћ¶"з‚ҐЃ“я“dкцШJ@=“˜ZЪЩXњЧтџо*gнШN+T›мМсцЧidK—ЋЕmЫхэ@¶™sfGЉРЛ—ь$‰є›*ФІj¶гZЪaЬћд@©v°_ыaђIЬ‡7Ђ—ҐЗЌЭ7ЖП»/Х edЭxхЈ’ВгџrqNЮ¤&mЅг†ЁIQ”wў‘t3П_Ы§7¤рNt\ЮЁвїК-ф)SъLЗтЛ?\ЖeЎ гІ„Кѓе) Ќ Кby©"WоUоWT–++ ¤(¬ЁZNМЉѓҐЎЗЂ €DAIўЃ”)¤ +d„Y s@о™І ж1ђ «@ЦЂTЃик:g6ФMny д а/Ђ| д+ [@ѕт +ђoЃ|к6АђgЂл м‚°Вs +%Sfш"8эИ‡p6H°(©"’d>k$Ѓ‚‘ў"¤ 8—X>¦в9¤bQДHC˜k!ффзњ’€¦МВКђ©® П"'Йmr4#…Ыd9#ЕЫдXFJ2СтаћюjщOЅ·ЏМў9Ш.С!sxеЋ1‚>нµЛн±ЅQЬ?qЋOU†]Ь®Шк©|"}/![6е%:›)SnOЇbгЋБZ6g’аЩЅ9њБ»уў)W1]8Y4ec‘›Kн{¦bЬ' |°Ќoат6№Ѓ·…ёІ-Ж°°ў™`¬Ж hжSЧц4­ +Ї!<ЃdBTMй駹ЏvЋ ™oКйч‰ыcЬЇљ9CЗYЉw}TВхџпй ™є№®›є№©›ЏtSвїЧh:YvъtxҐя}smsжoO·љ$ \ No newline at end of file diff --git a/js/_e2.js b/js/_e2.js new file mode 100644 index 0000000..7402b97 --- /dev/null +++ b/js/_e2.js @@ -0,0 +1 @@ +(function(){function v(a){if(!a._e_version)for(func in j)a[func]=j[func];return a}function w(a){this.o=this.original=a}function q(a,b){w.prototype[b]=function(c,d,i){if(typeof i==="undefined"){if(this[a+"|"+c]===d)return this;this[a+"|"+c]=d;this.original[a](c,d)}else{var f=[];for(g=len=arguments.length;g-- >1;){var l=arguments[g],h=arguments[--g];if(this[a+"|"+h]!==d){this[a+"|"+h]=d;f.push(h,l)}}f.length&&this.original[a].apply(this.original,f)}return this}}function u(a,b){w.prototype[b]=function(c){if(this[a]===c)return this;this[a]=c;this.original[a](c);return this}}function y(a){this.o=this.original=a}function s(a,b,c,d,i,f){var l;try{var h="";if(c||c==0)h=' name="'+c+'"';var z="";if(b)z=' type="'+b+'"';l=n.createElement("")}catch(A){l=n.createElement("input")}l.name=c;l.type=b;b=v(l);if(i&&(d||d==0))b.sp(i,d);a&&a.AppendChild(b);if(f)if(typeof f==="object")b.sp(f);else return b;return a}function p(a,b,c){var d=b.length,i;for(i=0;i') + } + catch(err){ ielem=document.createElement('input') } // Correct way + ielem.name=name; ielem.type=type // Correct way + double it just in case IE way works for some weird reason + return _e(ielem) +} + +function input_return(where, type, name, value, prop, return_new){ + var ielem=input(type, name) + if(prop && (value || value==0)){ ielem.sp(prop, value) } + if(where){ where.AppendChild(ielem) } // IE doesn't allows to change input type after append. + if(return_new){ + if(typeof(return_new)=='object'){ ielem.sp(return_new) } else { return ielem } + } + return where +} + +// Copies properties from arguments to target object. Arguments can be any of +// complete objects - every property will be copied from it or pair +// of key+value strings. You can also mix them. +function set_properties(target, args, method){ + var len=args.length + for(var idx=0; idx'); + if(a >= 0) { + var b = xmlHttpp[iid].responseText.substr(14, a-14); + if(document.getElementById(b) != undefined) { + container = document.getElementById(b); + } else{ + throw "Указаный в редиректе контейнер не найден"; + } + } + } else { + container = document.getElementById(iid); + } + + $('#'+container.id).html(xmlHttpp[iid].responseText); + + scripts = container.getElementsByTagName('script'); + var loadJS = null; + for(var i = 0; i < scripts.length; i++) { + if(scripts[i].id == '') { + eval(scripts[i].text); + } else { + scriptId = scripts[i].id; + scripts[i].id = ''; + if(!document.getElementById(scriptId)) { + loadJS = document.createElement("script"); + loadJS.setAttribute("type","text/javascript"); + loadJS.setAttribute("id",scriptId); + loadJS.text = scripts[i].text; + document.getElementsByTagName('head')[0].appendChild(loadJS); + } + scripts[i].parentNode.removeChild(scripts[i]); + i--; + } + } + $(window).trigger('ajaxLoadComplete'); + } + } + + xmlHttpp[iid].setRequestHeader("Accept-Charset", "windows-1251"); + xmlHttpp[iid].setRequestHeader("Accept-Language", "ru, en"); + xmlHttpp[iid].setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); + xmlHttpp[iid].setRequestHeader("Connection", "close"); + + var tmp = ''; + for(var i in params) { + tmp += '&'+i+'='+encodeURIComponent(params[i]); + } + tmp = 'ajax_mode=load&ajax_target='+iid+tmp; + xmlHttpp[iid].send(tmp); +} + +function GetXmlHttpObject1() { + var xmlHttp1 = null; + try { + xmlHttp1 = new XMLHttpRequest(); + } catch(e) { + try { + xmlHttp1 = new ActiveXObject("Msxml2.XMLHTTP"); + } catch(e) { + xmlHttp1 = new ActiveXObject("Microsoft.XMLHTTP"); + } + } + return xmlHttp1; +} \ No newline at end of file diff --git a/js/battle2.js b/js/battle2.js new file mode 100644 index 0000000..bdb02ba --- /dev/null +++ b/js/battle2.js @@ -0,0 +1,31 @@ +function FindFrameDocument(a,b){if(a=a.document)if(a=a.getElementById(b))if(a=a.contentWindow||a.contentDocument)return a.document||a}var fw=[]; +var rnd=Math.random(), +redHP=0.33, + yellowHP=0.66, +TimerOn=-1, +tkHP,maxHP, +speed=100, +mspeed=100, +chat_version=-1; +function setHP(a,b,c){ +tkHP=a;maxHP=b;vrem=c; +if(TimerOn>=0){clearTimeout(TimerOn);TimerOn=-1} +setHPlocal()} +function setHPlocal(){ +if(tkHP>maxHP){tkHP=maxHP;TimerOn=-1 +}else TimerOn=0; +var a=Math.round(120/maxHP*tkHP), +b=120-a, +c=FindFrameDocument(top,main_uid); +if(c){var d=c.getElementById("HP"); +if(d){var e=c.getElementById("HP1"); +c=c.getElementById("HP2"); +e.width=a; +c.width=b; +c.style.display=b?"":"none"; +e.src=tkHP/maxHP0){tkHP+=maxHP/(vrem*60);} +if(TimerOn!=-1)TimerOn=setTimeout(setHPlocal,delay*100) +} + diff --git a/js/ch.js b/js/ch.js new file mode 100644 index 0000000..ac6a8bd --- /dev/null +++ b/js/ch.js @@ -0,0 +1,93 @@ +//------------------------------------------------------------- +// Функция для определения координат указателя мыши +function defPosition(event) { + var x = y = 0; + if (document.attachEvent != null) { // Internet Explorer & Opera + x = window.event.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft); + y = window.event.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop); + if (window.event.clientY + 72 > document.body.clientHeight) { y-=68 } else { y-=2 } + } else if (!document.attachEvent && document.addEventListener) { // Gecko + x = event.clientX + window.scrollX; + y = event.clientY + window.scrollY; + if (event.clientY + 72 > document.body.clientHeight) { y-=68 } else { y-=2 } + } else { + // Do nothing + } + return {x:x, y:y}; +} + +var flagpop=0; + var clip = new ZeroClipboard.Client(); + clip.setHandCursor( true ); + clip.setCSSEffects(true); + + clip.addEventListener( 'onComplete', function(client){ + clip.hide(); + cMenu(); + } ); + +function OpenMenu(evt,level){ + evt = evt || window.event; + evt.cancelBubble = true; + // Показываем собственное контекстное меню + var menu = document.getElementById("oMenu"); + var html = ""; + login=(evt.target || evt.srcElement).innerHTML; + + clip.setText(login); + + var i1, i2; + if ((i1 = login.indexOf('['))>=0 && (i2 = login.indexOf(']'))>0) login=login.substring(i1+1, i2); + + var login2 = login; + login2 = login2.replace('%', '%25'); + while (login2.indexOf('+')>=0) login2 = login2.replace('+', '%2B'); + while (login2.indexOf('#')>=0) login2 = login2.replace('#', '%23'); + while (login2.indexOf('?')>=0) login2 = login2.replace('?', '%3F'); + + html = 'TO'+ + 'PRIVATE'+ + 'INFO'+ + '
    COPY
    '; + + // Если есть что показать - показываем + if (html){ + menu.innerHTML = html; + menu.style.top = defPosition(evt).y + "px"; + menu.style.left = defPosition(evt).x + "px"; + menu.style.display = ""; + } + if (flagpop==0){ + flagpop=1; + clip.glue( 'd_clip_button' ) + } + else + clip.reposition('d_clip_button'); + // Блокируем всплывание стандартного браузерного меню + return false; +} + +function addHandler(object, event, handler, useCapture){ + if (object.addEventListener){ + object.addEventListener(event, handler, useCapture ? useCapture : false); + } else if (object.attachEvent){ + object.attachEvent('on' + event, handler); + } else alert("Add handler is not supported"); +} + +addHandler(document, "contextmenu", function(){ + document.getElementById("oMenu").style.display = "none"; +}); + +addHandler(document, "click", function(){ + clip.hide(); + document.getElementById("oMenu").style.display = "none"; +}); + +function cMenu() { + /*document.all("oMenu").style.visibility = "hidden"; + document.all("oMenu").style.top="0px";*/ + document.getElementById("oMenu").style.display = "none"; + top.frames['bottom'].window.document.F1.text.focus(); +} +//------------------------------------------------------------------------- \ No newline at end of file diff --git a/js/ch2.91.js b/js/ch2.91.js new file mode 100644 index 0000000..43741bb --- /dev/null +++ b/js/ch2.91.js @@ -0,0 +1,97 @@ +document.onmousedown = Down; +function Down() {top.CtrlPress = window.event.ctrlKey} + +// Разрешенные смайлики +var sm = new Array("horse",60,40, "hug",48,20, "laugh",15,15, "susel",70,34 , "fingal",22,15, "eek",15,15, "flowers",28,29, "smoke",20,20, "hi",31,28, "bye",15,15, +"king",21,22, "king2",28,24, "boks2",28,21, "boks",62,28, "gent",15,21, "lady",15,19, "tongue",15,15, "smil",16,16, "rotate",15,15, +"ponder",21,15, "bow",15,21, "smile",18,18, "angel",42,43, "angel2",26,25, "hello",25,27, "dont",26,26, "idea",26,27, "mol",27,22, "super",26,28, +"beer",15,15, "drink",19,17, "baby",15,18, "tongue2",15,15, "sword",49,18, "agree",37,15, +"loveya",27,15, "kiss",15,15, "kiss2",15,15, "kiss3",15,15, "kiss4",37,15, "rose",15,15, "love",27,28, +"love2", 55,24, "inv",80,20, +"confused",15,22, "yes",15,15, "no",15,15, "shuffle",15,20, "nono",22,19, "maniac",70,25, "privet",27,29, "ok",22,16, "ninja",15,15, +"pif",46,26, "smash",30,26, "alien",13,15, "pirate",23,19, "gun",40,18, "trup",20,20, +"mdr",56,15, "sneeze",15,20, "mad",15,15, "friday",57,28, "cry",16,16, "grust",15,15, "rupor",38,18, +"fie",15,15, "nnn",82,16, "row",36,15, "red",15,15, "lick",15,15, +"help",23,15, "wink",15,15, "jeer",26,16, "tease",33,19, "str", 35, 25, "kruger",34,27, "girl",37,26, "Knight1",69,37, "rev",40,25, "smile100",44,39, "smile118",25,25, +"smile149", 54,37, "smile166",46,29, "smile237",35,35, "smile245",50,30, "smile28",33,34, "smile289",46,31, "smile314",36,29, "smile36",50,46, "smile39",46,48, +"smile44",27,26, "smile70",50,32 +); + +function AddLogin() +{ var o = window.event.srcElement; + if (o.tagName == "SPAN") { + var login=o.innerText; + if (o.alt != null && o.alt.length>0) login=o.alt; + var i1,i2; + if ((i1 = login.indexOf('['))>=0 && (i2 = login.indexOf(']'))>0) login=login.substring(i1+1, i2); + if (o.className.substr(0,1) == "p") { top.AddToPrivate(login, false) } + else if (o.className == "s") {top.AddToSms(login, false) } + else { top.AddTo(login) } + } +} + +function ClipBoard(text) +{ + //var holdtext.innerText = text; + var Copied = text;//holdtext.createTextRange(); + Copied.execCommand("RemoveFormat"); + Copied.execCommand("Copy"); +} + +function OpenMenu(th) { + var el, x, y, login, login2; + el = document.all("oMenu"); + var o = window.event.srcElement; + if (o.tagName != "SPAN") return true; + x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft - 3; + y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop; + + if (window.event.clientY + 72 > document.body.clientHeight) { y-=68 } else { y-=2 } + login = o.innerText; + if (o.alt != null && o.alt.length>0) login = o.alt; + window.event.returnValue=false; + var i1, i2; + if ((i1 = login.indexOf('['))>=0 && (i2 = login.indexOf(']'))>0) login=login.substring(i1+1, i2); + var login2 = login; + login2 = login2.replace('%', '%25'); + while (login2.indexOf('+')>=0) login2 = login2.replace('+', '%2B'); + while (login2.indexOf('#')>=0) login2 = login2.replace('#', '%23'); + while (login2.indexOf('?')>=0) login2 = login2.replace('?', '%3F'); + + el.innerHTML = 'TO'+ + 'PRIVATE'+ + 'INFO'+ + 'COPY'; + + el.style.left = x + "px"; + el.style.top = y + "px"; + el.style.visibility = "visible"; +} + +function OpenInfo(login) { + var lar = login.split(/,/g); + for (i=0;i    '+login+'   Clear  
    '); + } + //msg + + } + }, + + getRandom:function(a, b){ + + return a + ( (b-a) * Math.random() ); + + }, + ignorUn:function(x) + { + $('#ignr_u_'+x).remove(); + this.ignore(this.ignoreList.nms[x]); + }, + ignorListOpen:function() + { + var date = '',i = 0; + var j = 1; + while(j<=this.ignoreList.x) + { + if(this.ignoreList[this.ignoreList.nms[j]]!=undefined) + { + date += '
        '+this.ignoreList.nms[j]+'   Clear  
    '; + } + j++; + } + win.add('ignorListWin','Список игнорируемых','
    '+date+'
    ',{},0,1,'min-width:200px;'); + delete date; + }, + addSmile:function(id) + { + $('#textmsg').val($('#textmsg').val()+' :'+id+': '); + $('#textmsg').focus(); + }, + lookSmiles:function() + { + if($('#chbtn8').attr('class')=='db cp chatBtn8_1') + { + $('#ttSmiles').css('display',''); + $('#chbtn8').attr('class','db cp chatBtn8_2'); + }else{ + $('#ttSmiles').css('display','none'); + $('#chbtn8').attr('class','db cp chatBtn8_1'); + } + }, + filterMsg:function() + { + if($('#chbtn1').attr('class')=='db cp chatBtn1_1') + { + $('#chbtn1').attr('class','db cp chatBtn1_2'); this.filter = 1; + }else{ + $('#chbtn1').attr('class','db cp chatBtn1_1'); this.filter = 0; + } + }, + systemMsg:function() + { + if($('#chbtn4').attr('class')=='db cp chatBtn4_1') + { + $('#chbtn4').attr('class','db cp chatBtn4_2'); this.citySys = 1; $.cookie('citySys',1); + }else{ + $('#chbtn4').attr('class','db cp chatBtn4_1'); this.citySys = 0; $.cookie('citySys',0); + } + }, + soundChat:function() + { + if($('#chbtn7').attr('class')=='db cp chatBtn7_1') + { + $('#chbtn7').attr('class','db cp chatBtn7_2'); this.sound = 1; + }else if($('#chbtn7').attr('class')=='db cp chatBtn7_2'){ + $('#chbtn7').attr('class','db cp chatBtn7_3'); this.sound = 2; + }else{ + $('#chbtn7').attr('class','db cp chatBtn7_1'); this.sound = 0; + } + }, + translitChat:function() + { + if($('#chbtn6').attr('class')=='db cp chatBtn6_1') + { + $('#chbtn6').attr('class','db cp chatBtn6_2'); this.translit = 1; + }else{ + $('#chbtn6').attr('class','db cp chatBtn6_1'); this.translit = 0; + } + },subValSend:'', + subSend:function() + { + if($('#textmsg').val()!='') + { + if($('#textmsg').val()!=this.subValSend) + { + if(this.nozpros == 0) { + this.trmb(); + $.post('online.php?r'+c.rnd+'&cas'+((new Date().getTime()) + Math.random()),{ + msg:$('#textmsg').val(),key:this.key,mid:this.msg_id,rndo:c.rnd}, + function(data){ chat.clearText(); + chat.fc(); chat.genchatData(data,1); + }); + this.subValSend = $('#textmsg').val(); + this.nozpros=1; + setTimeout('chat.subValSend="";chat.nozpros=0;',1000); + } else { + console.log('nozpros != 0'); + } + } else { + console.log('No text input = ""'); + } + } else { + console.log('No text input'); + } + }, + addto:function(login, type2) { + var loginaddT = login; + var s = ''; + if($('#'+$(this.inObj).attr('id')).attr('id') == undefined) { + $('#textmsg').focus(); + s = $('#textmsg').val(); + } else { + $(this.inObj).focus(); + } + var reg555 = new RegExp("private\\s*\\[(.*?)\\]",""); + var reg551 = new RegExp("to\\s*\\[(.*?)\\]",""); + var test1 = s.match(reg555); + if(s.match(reg555) == null) { + type = "to"; + } else if(s.match(reg551) == null) { + type = "private"; + } + var type3 = 'to'; + var reg2 = new RegExp(""+type+"(\\s*)\\[(.*?)\\]",""); + var cs = s.replace(reg2,""+type+"$1[,$2,]"); + var slogin = login.replace(/([\^.*{}$%?\[\]+|\/\(\)])/g,"\\$1"); + var reg = new RegExp(""+type+"\\s*\\[.*,\\s*"+slogin+"\\s*,.*\\]",""); + var result = ''; + var reg3 = new RegExp(""+type+"\\s*\\[(.*?)\\]",""); + while(res = s.match(reg3)) { + result += res[1]+','; + s = s.replace(reg3,''); + } + result = result.replace(/,$/,''); + var prar = result.split(','); + for(i = 0; i < prar.length; i++) { + prar[i] = prar[i].replace(/^\s+/,''); + prar[i] = prar[i].replace(/\s+$/,''); + } + var str = prar.join(', '); + if(str) login += ', '; + space = ''; + if (!s.match(/^\s+/)) space = ' '; + var prob = ''; + if($('#'+$(this.inObj).attr('id')).attr('id') == undefined && (this.inObj == null || $('#main').contents().find('#'+this.inObj.id).attr('id') == undefined)) + { + if (!cs.match(reg)) + { + if(type2=='to') + { + if(test1!=null) + { + type2 = 'private'; + } + } + s = type2+' ['+prob+''+login+str+''+prob+']'+space+s; + } else { + if(type3 == 'to') { + type3 = "private"; + } + s = type3+' ['+prob+''+str+''+prob+']'+space+s; + } + } else { + s = login+str; + } + + if(this.inObj != null && $('#main').contents().find('#'+this.inObj.id).attr('id') != undefined) { + $('#main').contents().find('#'+this.inObj.id).val(s); + } else if($('#'+$(this.inObj).attr('id')).attr('id') == undefined) { + $('#textmsg').val(s); + } else { + $(this.inObj).val(s); + } + }, + clearText:function() + { + $('#textmsg').val(''); + }, + reflesh:function() + { + this.time = 0; + this.testTimer(true); + }, + reMoney:function() + { + $('#moneyGM').html(top.c.money+' кр.'); + }, + btl:0 + , + testTimer:function(n) + { + clearTimeout(this.t); + /*if(top.c.money < 100) + { + $('#moneyGM').height('50px'); + }else if(top.c.money < 1000) + { + $('#moneyGM').height('70px'); + }else{ + $('#moneyGM').height('100px'); + }*/ + if($.cookie('btl') != this.btl) { + if($.cookie('btl') > 0) { + this.sendSound(2); + if(top.frames['main'].smnpty != undefined) { + + }else{ + top.frames['main'].location.href="main.php"; + } + } + this.btl = $.cookie('btl'); + } + if(this.rtime!=this.ct[$.cookie('chatCfg0')] && this.ct[$.cookie('chatCfg0')]!=undefined) + { + this.rtime = this.ct[$.cookie('chatCfg0')]; + if(this.time>this.rtime) + { + this.time = this.rtime; + } + } + if(this.rtime>=10 || this.r==0) + { + if(this.time < 1) + { + var aot = { + 0:0, + 1:1, + 2:0 + }; + if($('#chcf10').attr('checked')==true) + { + aot[2] = 1; + } + if($('#autoRefOnline').attr('checked')==true || this.r==0 || n!=false) + { + aot[0] = 1; + } + //alert('chat.reflesh.undefined()'); + if(this.nozpros == 0) { + $.getJSON('online.php?r'+c.rnd+'&cas'+((new Date().getTime()) + Math.random()), + { + key:this.key, + mid:this.msg_id, + r1:aot[0], + r2:aot[1], + r3:aot[2], + rndo:c.rnd + }, + function(data){ + if(data.rnd!=null){ + if(data.telegram > 0){ + $('#mini_sms').show(); + }else{ + $('#mini_sms').hide(); + } + chat.genchatData(data); + if(data.key!=undefined){ + chat.saveData=data; + } + this.g++; + c.rnd = data.rnd; + } + }); + this.nozpros=1; + setTimeout('chat.nozpros=0;',1000); + } + this.time = this.rtime; this.r++; + }else{ + this.time--; + } + this.t = setTimeout('chat.testTimer(false);clearTimeout(this.t);',1000); + } + },mlch:{}, + fc:function() + { + $('#textmsg').focus(); + }, + timeOut:function(v) + { + + msPerDay = ''; + + dt = new Date(); + dt.setTime((v-c.time)*1000); + + m1 = dt.getUTCMonth(); + d1 = dt.getUTCDay(); + h1 = dt.getUTCHours(); + min1 = dt.getUTCMinutes(); + sec = dt.getUTCSeconds(); + + if(m1>0) + { + msPerDay = m1+' мес. '; + } + if(d1>0 && Math.floor((v-c.time)/(60*60*24)) == d1) + { + msPerDay = d1+' д. '; + } + if(h1>0) + { + msPerDay += h1+' ч. '; + } + if(min1>0) + { + msPerDay += min1+' мин. '; + } + if(sec>0 && msPerDay != '') + { + msPerDay += sec+' сек. '; + } + if(msPerDay == '') + { + msPerDay = 'меньше минуты.'; + } + + delete m1; + delete d1; + delete h1; + delete min1; + delete sec; + + return msPerDay; + }, + deleteMessage:function(id,fc) + { + //$('#msg_'+id).hide('slow'); setTimeout("$('#msg_'+id).remove();",1000); + if(fc == 1) { + top.msgdeleted(id); + }else{ + $('#msg_'+id).remove(); + $('#msg_'+id+'_sys').remove(); + if(top.c.admin>0) + { + $.post('online.php?jack='+c.rnd+'&cas'+((new Date().getTime()) + Math.random()),{delMsg:id}); + } + } + }, + clear:function() + { + if($('#textmsg').val()=='') + { + if(confirm('Очистить окно чата?')) + { + if(top.cb_date[top.cb_select] == 4 || top.cb_date[top.cb_select] == 5) { + $('#canal'+top.cb_date[top.cb_select]).html(''); + $('#textmsg').focus(); + }; + } + }else{ + $('#textmsg').val(''); + } + }, + scrollNow:function(id) + { + + }, + msgcount:0, + sendMsg:function(data) + { + var msg_see = 1; + if(!data) { console.log('No data [0]'); } else { console.log(data); } + if(data[0]=='new') + { + data[0] = 'new_msg_'+this.newmsg; this.newmsg++; + } + if(data[2] == 'delete') + { + this.deleteMessage(data[0]); + }else if(data['d']>0) + { + this.deleteMessage(data['d']); + }else if(data['s']>0) + { + this.deleteMessage(data['s']); + }else if(data[0]!=undefined && document.getElementById('msg_'+data[0]) == undefined) + { + var msg = ''; + if(data[0]!=0) + { + if(data[3]!='') + { + msg += '['+data[3]+']'; + + } + if(data[4]!='') + { + var forYou = 0; + //тот кто писал + + //кому написали, разбор массива + if(data[4]!='') + { + var to = '',to2 = '',arr = data[4].split(','),i = 0,vl = ''; + //тем кому писали + while(i!=-1) + { + if(arr[i]!=undefined) + { + vl = this.trim(arr[i]); + if(vl.toLowerCase() == c.login.toLowerCase()) + { + forYou++; + } + if(vl.toLowerCase() == c.login.toLowerCase()) + { + vl = this.trim(data[3]); + } + if(i>0) + { + to += ', '; + to2 += ', '; + } + if(data[3]!='') + { + to += ''+this.trim(arr[i])+''; + if(this.trim(arr[i].toLowerCase()) != c.login.toLowerCase()) + { + to2 += this.trim(arr[i]); + }else{ + if(data[2]==2) + { + to2 += this.trim(arr[i]); + }else{ + to2 += this.trim(vl); + } + } + } + }else{ + i = -2; + } + i++; + } + } + + if(data[2]==6) + { + //личная системка, внимание + msg += ' Внимание! '; + }else if(data[2]==2) + { + if(forYou>0) + { + msg += ' to ['+to2+']'; + }else{ + msg += ' to ['+to2+']'; + } + }else if(data[2]==3) + { + if(this.trim(data[3].toLowerCase()) == c.login.toLowerCase()) + { + forYou++; + } + if(data[3]!='') + { + if(data[4]=='klan' && data[2]==3) + { + msg += ' private [klan]'; + }else if(data[4]=='paladins' && data[2]==3) + { + msg += ' private [paladins]'; + }else if(data[4]=='tarmans' && data[2]==3) + { + msg += ' private [tarmans]'; + }else{ + + msg += ' private [ '+to+' ]'; + } + } + } + } + msg += ' '; + } else { + console.log('No data'); + } + + data[5] = this.replaceAll(data[5],"[s1;]",'"'); + data[5] = this.replaceAll(data[5],"[s2;]",'\''); + data[5] = this.replaceAll(data[5],"[s3;]",'<'); + data[5] = this.replaceAll(data[5],"[s4;]",'>'); + + + + if(data[6]!='Black' && data[6]!='') + { + msg += ''+data[5]+''; + }else{ + msg += data[5]; + } + + + if(data[1]>0) + { + var td = new Date((parseInt(data[1]))*1000); + td = [td,null,null,null]; + td[1] = td[0].getHours(); + td[2] = td[0].getMinutes(); + td[3] = td[0].getSeconds(); + td[4] = td[0].getDay(); + td[5] = td[0].getMonth(); + td[6] = td[0].getYear(); + var j = 1;while(j<6){if(td[j]<10){td[j]='0'+td[j];}j++;} + var cls = ''; + if(forYou>0) + { + cls = 'date2'; + }else{ + cls = 'date'; + } + var msg22 = ' 0) { + msg22 += 'oncontextmenu="chat.deleteMessage('+data[0]+');return false;" '; + }else{ + msg22 += 'oncontextmenu="chat.deleteMessage('+data[0]+',1);return false;" '; + } + if( data[8] == 2 ) { + //msg22 += 'class="'+cls+'">'+td[4]+'.'+td[5]+'.'+(td[6]+1900)+' '+td[1]+':'+td[2]+' '; + msg22 += 'class="'+cls+'">'+data[14]+'
    '; + }else{ + //msg22 += 'class="'+cls+'">'+td[1]+':'+td[2]+'
    '; + msg22 += 'class="'+cls+'">'+data[13]+' '; + } + msg = msg22+msg; + } + + this.msgcount++; + + msg = ''+msg+'
    '; + + if(forYou > 0 && this.sound > 0 && this.trim(data[3].toLowerCase()) != c.login.toLowerCase()) + { + this.sendSound(1); + } + + if(msg_see == 1) + { + if(this.trim(data[3].toLowerCase()) == c.login.toLowerCase() || forYou == 1 || this.filter == 0) + { + if( data[9] > 0 ) { + this.sendSound(data[9]); + } + + $('#chat').find('#mes').html(msg + ); + //обычное сообщение + + console.log(msg); + + + } else { + console.log('N errors'); + } + } else { + console.log('Msg see = '+msg_see+''); + } + this.scrollNow(this.msgcount); + delete forYou; + delete cls; + delete msg_see; + delete msg; + delete arr; + } else { + console.log('UNNAMED ERROR'); + } + }, + testKey:function(m,v) + { + var i = 0, r = v; + v = false; + while(i!=-1) + { + if(m[i]!=undefined) + { + if(m[i]==r) + { + v = i; + i = -2; + } + }else{ + i = -2; + } + i++; + } + delete r,m; + return v; + }, + isNumber:function(s) + { + if(!isNaN(s)) + { + s = true; + }else{ + s = false; + } + return s; + }, + testSmile:function(txt) + { + + txr = txt.split(':'); + var i = 1, j = 0, smid = 0; + while(i <= txr.length) { + if( txr[i] != undefined) { + smid = this.testKey(top.sml,txr[i]); + imsml = txr[i].split('-'); + if(((smid != false || smid == 0) && this.isNumber(txr[i]) != true) || (imsml != undefined && imsml[0] == '%usersmile%')) { + if(j < 3 && this.isNumber(top.sml[smid]) != true && (top.sml[smid] != undefined || imsml[0] == '%usersmile%')) { + if(imsml[0] == '%usersmile%') { + //txt = txt.replace("\:%usersmile%-"+imsml[1]+"\:",''); + txt = txt.replace("\:%usersmile%-"+imsml[1]+"\:",''); + }else{ + txt = txt.replace("\:"+txr[i]+"\:",''); + } + j++; + } + } + } + i++; + } + //} + return txt; + }, + trmb:function() + { + if(this.translit==1) + { + $('#textmsg').val(this.convert2($('#textmsg').val())); + } + }, + replaceAll:function(t,v,s) + { + return t.split(v).join(s); + }, + convert2:function(txt) + { + var trn = new Array(); + trn = txt.split(' '); + for(var i=0;i=0) str = str.replace(this.map_en[i],this.map_ru[i]); + newstr += str; + return newstr; + }, + sendSound:function(s) + { + var svolm = 100; + if(this.sound == 0) { + svolm = 0; + }else if(this.sound == 1) { + svolm = 25; + }else if(this.sound == 2) { + svolm = 100; + } + var M$ = navigator.appName.indexOf("Microsoft")!=-1 + if(!M$ && this.getSwf('Sound').SetVariable == undefined) { + document.getElementById('Sound2').SetVariable("Volume",svolm); + document.getElementById('Sound2').SetVariable("Sndplay",s); + }else{ + window.document["Sound"].SetVariable("Volume", svolm); + window.document["Sound"].SetVariable("Sndplay", s); + } + }, + getSwf:function(val) { + var M$ = navigator.appName.indexOf("Microsoft")!=-1 + return (M$ ? window : document)[val] + }, + trim:function(s) + { + return this.rtrim(this.ltrim(s)); + }, + ltrim:function(s) + { + return s.replace(/^\s+/, ''); + }, + rtrim:function(s) + { + return s.replace(/\s+$/, ''); + }, + multiaddto:function(users,tp) + { + var arr = users.split(','); + var i = arr.length; + while(i>=0) + { + if(arr[i]!=undefined) + { + this.addto(arr[i],tp); + } + i--; + } + }, + osize:function(obj) { + var size = 0, key; + for (key in obj) { + if (obj.hasOwnProperty(key)) size++; + } + return size; + }, + + genchatData:function(data,prs) + { + if(prs == 1) { + data = $.parseJSON(data); + } + if(data == null && this.saveData!=null) + { + data = this.saveData; + data.js = ''; + data.rn = undefined; + data.key = undefined; + } + //Получаем сообщение + if(data.msg!=undefined) + { + var ms = $.parseJSON(data.msg); + if(ms['ld']>this.msg_id) + { + this.msg_id = ms['ld']; + } + var i = 0; + //while(i <= this.osize(ms.length)+10) + while(i <= ms['id']) + { + if(ms['m'+i]!=undefined) + { + this.sendMsg(ms['m'+i]); + } + i++; + } + } + //Если есть JS + if(data.js!='') + { + eval(data.js); + } + if(data.rnd!=undefined){ c.rnd = data.rnd; } + if(data.key!=undefined){ this.key = data.key; } + + } +} \ No newline at end of file diff --git a/js/commoninf.js b/js/commoninf.js new file mode 100644 index 0000000..10e92a3 --- /dev/null +++ b/js/commoninf.js @@ -0,0 +1,22 @@ +function getalign(al) +{ + al+=""; + if (al.substring(0,1)=="3") return("Темное братство"); + if (al.substring(0,1)=="2") return("Хаос"); + if (al.substring(0,1)=="1") return("Белое братство"); + if (al=="0.5" || al.substring(0,1)=="7") return("Нейтрал"); + return(""); +} + +function drwfl(name, id, level, align, klan) +{ + var s=""; + + if (align!="0") s+="\""+getalign(align)+"\""; + if (klan) s+=""; + s+=""+name+" "; + if (level!=-1) s+="["+level+"]"; + if (id!=-1) s+="Инф. о "+name+""; + + document.write(s); +} diff --git a/js/contact.js b/js/contact.js new file mode 100644 index 0000000..a597a5b --- /dev/null +++ b/js/contact.js @@ -0,0 +1,145 @@ +jQuery(function ($) { + var contact = { + message: null, + init: function () { + $('a.contact').click(function (e) { + e.preventDefault(); + + // load the contact form using ajax + var act = $(this).attr('id'); + var page = $('div.page').attr('id'); + $.get("data/contact.php?act=edit&fid="+act+"", function(data){ + // create a modal dialog with the data + $(data).modal({ + closeHTML: "x", + position: ["15%",], + overlayId: 'contact-overlay', + containerId: 'contact-container', + onOpen: contact.open, + onShow: contact.show, + onClose: contact.close + }); + }); + }); + }, + open: function (dialog) { + // dynamically determine height + var h = 480; + if ($('#contact-subject').length) { + h += 26; + } + if ($('#contact-cc').length) { + h += 22; + } + + var title = $('#contact-container .contact-title').html(); + $('#contact-container .contact-title').html('Открытие...'); + dialog.overlay.fadeIn(200, function () { + dialog.container.fadeIn(200, function () { + dialog.data.fadeIn(200, function () { + $('#contact-container .contact-content').animate({ + height: h + }, function () { + $('#contact-container .contact-title').html(title); + $('#contact-container form').fadeIn(200, function () { + $('#contact-container #contact-name').focus(); + + $('#contact-container .contact-cc').click(function () { + var cc = $('#contact-container #contact-cc'); + cc.is(':checked') ? cc.attr('checked', '') : cc.attr('checked', 'checked'); + }); + }); + }); + }); + }); + }); + }, + show: function (dialog) { + $('#contact-container .contact-send').click(function (e) { + e.preventDefault(); + // validate form + if (contact.validate()) { + var msg = $('#contact-container .contact-message'); + msg.fadeOut(function () { + msg.removeClass('contact-error').empty(); + }); + $('#contact-container .contact-title').html('Обработка...'); + $('#contact-container form').fadeOut(200); + $('#contact-container .contact-content').animate({ + height: '80px' + }, function () { + $('#contact-container .contact-loading').fadeIn(200, function () { + $.ajax({ + url: 'data/contact.php', + data: $('#contact-container form').serialize() + '&act=send', + type: 'GET', + cache: false, + dataType: 'html', + success: function (data) { + $('#contact-container .contact-loading').fadeOut(200, function () { + $('#contact-container .contact-title').html('Успешно ...'); + msg.html(data).fadeIn(200); + }); + }, + error: contact.error + }); + }); + }); + } + else { + if ($('#contact-container .contact-message:visible').length > 0) { + var msg = $('#contact-container .contact-message div'); + msg.fadeOut(200, function () { + msg.empty(); + contact.showError(); + msg.fadeIn(200); + }); + } + else { + $('#contact-container .contact-message').animate({ + height: '30px' + }, contact.showError); + } + + } + }); + }, + close: function (dialog) { + $('#contact-container .contact-message').fadeOut(); + $('#contact-container .contact-title').html('Закрываю...'); + $('#contact-container form').fadeOut(200); + $('#contact-container .contact-content').animate({ + height: 40 + }, function () { + dialog.data.fadeOut(200, function () { + dialog.container.fadeOut(200, function () { + dialog.overlay.fadeOut(200, function () { + $.modal.close(); + }); + }); + }); + }); + }, + error: function (xhr) { + alert(xhr.statusText); + }, + validate: function () { + contact.message = ''; + if (!$('#contact-container #contact-message').val()) { + contact.message += 'Введите сообщение.'; + } + + if (contact.message.length > 0) { + return false; + } else { + return true; + } + }, + showError: function () { + $('#contact-container .contact-message').html($('
    ').append(contact.message)).fadeIn(200); + } + }; + + contact.init(); + +}); \ No newline at end of file diff --git a/js/core.js b/js/core.js new file mode 100644 index 0000000..009f18d --- /dev/null +++ b/js/core.js @@ -0,0 +1,263 @@ +var xmlHttpp = []; + +function screenSize() { + var w, h; + w = (window.innerWidth ? window.innerWidth : (document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.offsetWidth)); + h = (window.innerHeight ? window.innerHeight : (document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.offsetHeight)); + return {w:w, h:h}; +} + +function endingsForm(n, form1, form2, form5) { + var last_digit = n % 10; + var last_two_digits = n % 100; + + if(last_digit == 1 && last_two_digits != 11) { + return form1; + } + if((last_digit == 2 && last_two_digits != 12) || (last_digit == 3 && last_two_digits != 13) || (last_digit == 4 && last_two_digits != 14)) { + return form2; + } + return form5 +} + +/** + * Function : dump() + * Arguments: The data - array,hash(associative array),object + * The level - OPTIONAL + * Returns : The textual representation of the array. + * This function was inspired by the print_r function of PHP. + * This will accept some data as the argument and return a + * text that will be a more readable version of the + * array/hash/object that is given. + * Docs: http://www.openjs.com/scripts/others/dump_function_php_print_r.php + */ +function dump(arr,level) { + var dumped_text = ""; + if(!level) level = 0; + + //The padding given at the beginning of the line. + var level_padding = ""; + for(var j=0;j \"" + value + "\"\n"; + } + } + } else { //Stings/Chars/Numbers etc. + dumped_text = "===>"+arr+"<===("+typeof(arr)+")"; + } + return dumped_text; +} + + /* + Загрузить HTML в контейнер +*/ +function ajaxLoad(url,iid,params){ + xmlHttpp[iid]=GetXmlHttpObject1() + if (xmlHttpp[iid]==null){ + alert ("Browser does not support HTTP Request") + return + } + //document.getElementById(iid).innerHTML=""; + //var url="./ajax/"+func+".php" + + xmlHttpp[iid].open("POST",url,true); + xmlHttpp[iid].onreadystatechange=function() { + var container = null; + if (xmlHttpp[iid].readyState==4 || xmlHttpp[iid].readyState=="complete") { + if(xmlHttpp[iid].responseText.indexOf(''); + if(a >= 0){ + var b = xmlHttpp[iid].responseText.substr(14,a-14) + if(document.getElementById(b) != undefined){ + container = document.getElementById(b); + } else{ + throw "Указаный в редиректе контейнер не найден"; + } + } + }else{ + container = document.getElementById(iid); + } + //container.innerHTML = xmlHttpp[iid].responseText; + + $('#'+container.id).html(xmlHttpp[iid].responseText); + scripts = container.getElementsByTagName('script'); + var loadJS = null; + for(var i = 0; i < scripts.length; i++){ + if(scripts[i].id == ''){ // нет ID просто EVAL + eval(scripts[i].text); + }else{ // пробуем встраивать + scriptId = scripts[i].id; + scripts[i].id = ''; + if(!document.getElementById(scriptId)){ // не загружен - встраиваем! + loadJS = document.createElement("script"); + loadJS.setAttribute("type","text/javascript"); + loadJS.setAttribute("id",scriptId); + loadJS.text = scripts[i].text; + document.getElementsByTagName('head')[0].appendChild(loadJS); + } + scripts[i].parentNode.removeChild(scripts[i]); + i--; + } // попытка встраивания + } // for по коллекции скриптов + // Вызываем своё событие + $(window).trigger('ajaxLoadComplete'); + } + } + xmlHttpp[iid].setRequestHeader("Accept-Charset", "windows-1251"); + xmlHttpp[iid].setRequestHeader("Accept-Language","ru, en"); + xmlHttpp[iid].setRequestHeader("Content-Type","application/x-www-form-urlencoded"); + xmlHttpp[iid].setRequestHeader("Connection", "close"); + var tmp = ''; + for(var i in params){ + tmp+='&'+i+'='+encodeURIComponent(params[i]); + } + tmp = 'ajax_mode=load&ajax_target='+iid+tmp; + xmlHttpp[iid].send(tmp); +} + +function GetXmlHttpObject1(){ + var xmlHttp1=null; + try { + // Firefox, Opera 8.0+, Safari + xmlHttp1=new XMLHttpRequest(); + }catch(e){ + //Internet Explorer + try { + xmlHttp1=new ActiveXObject("Msxml2.XMLHTTP"); + }catch(e){ + xmlHttp1=new ActiveXObject("Microsoft.XMLHTTP"); + } + } + return xmlHttp1; +} + +appearance = { + info: function(){ + $('div#appearance_out').text('info'); + }, + + drop: function(){ + $('div#appearance_out').text('drop'); + }, + + use: function(){ + $('div#appearance_out').text('use'); + }, + + error: function(){ + $('div#appearance_out').text('error'); + } +} + +core = { + + grabLogin: null, + + _findGrabLogin: function(input) { + var tmp = null; + if('string' == typeof input) { + tmp = $('#'+input); + } else if(input instanceof $) { + tmp = input; + } else if(input.tagName == 'INPUT' && input.type == 'text') { + tmp = $(input); + } + if(!(tmp instanceof $) || tmp.length < 1) { + alert('ОШИБКА! Неизвестный параметр core._findGrabLogin ['+input+']'); + return null; + } + return tmp.get(0); + }, + + setGrabLogin: function(input){ + var tmp = this._findGrabLogin(input); + this.clearGrabLogin(); + this.grabLogin = tmp; + return $(tmp).addClass('grabLogin').select(); + }, + + clearGrabLogin: function(){ + $('input.grabLogin').removeClass('grabLogin'); + this.grabLogin = null; + }, + + toggleGrabLogin: function(input){ + var tmp = this._findGrabLogin(input); + if($(tmp).hasClass('grabLogin')){ + this.clearGrabLogin(); + }else{ + this.setGrabLogin(tmp); + } + }, + + refresh: function(){ + document.location = document.location; + } + +} + +function str_replace ( search, replace, subject ) { + if(!(replace instanceof Array)){ + replace=new Array(replace); + if(search instanceof Array){ + while(search.length>replace.length){ + replace[replace.length]=replace[0]; + } + } + } + + if(!(search instanceof Array))search=new Array(search); + while(search.length>replace.length){ + replace[replace.length]=''; + } + + if(subject instanceof Array){ + for(k in subject){ + subject[k]=str_replace(search,replace,subject[k]); + } + return subject; + } + + for(var k=0; k-1){ + subject = subject.replace(search[k], replace[k]); + i = subject.indexOf(search[k],i); + } + } + return subject; +} + + +(function ($) { +$.fn.vAlign = function() { + return this.each(function(i){ + var ah = $(this).height(); + var ph = $(this).parent().height(); + var mh = (ph - ah) / 2; + $(this).css('margin-top', mh); + }); +}; +})(jQuery); +// GENERATE UNIQUE ID DOM-ELEMENTS +(function($) { + $.fn.genId = function(prefix,params){ + return this.each(function(){ + var counter = 0; + var id; + do{ + id = (prefix ? prefix + '-' : '_') + (counter++); + }while(document.getElementById(id)); + $(this).attr('id', id); + return this; + }); + }; +})(jQuery); \ No newline at end of file diff --git a/js/dialog_029_ru.js b/js/dialog_029_ru.js new file mode 100644 index 0000000..3a87123 --- /dev/null +++ b/js/dialog_029_ru.js @@ -0,0 +1,369 @@ +var Hint3Name = ''; + +step=0; +top.is_qlaunch = 0; +function errmess(s) +{ + messid.innerHTML=''+s+''; + highlight(); +} +function highlight() +{ + if (step) return(0); + step=10; + setTimeout(dohi,50); +} + +function dohi() +{ + var hx=new Array(0,1,2,3,4,5,6,7,8,9,"A","B","C","D","E","F"); + step--; + messid.style.color="#"+hx[Math.floor(15-step/2)]+((step&1)?"F":"8")+"0000"; + if (step>0) setTimeout(dohi,50); +} + +function fixspaces(s) +{ + while (s.substr(s.length-1,s.length)==" ") s=s.substr(0,s.length-1); + while (s.substr(0,1)==" ") s=s.substr(1,s.length); + return(s); +} + +// Заголовок, название скрипта, имя поля с логином +function findlogin(title, script, name, defaultlogin, mtype, addon, need_defend) { + var s; + + if (need_defend && defend==false) { + defend = -1; +// errmess("Блок не выбран."); return false; + } + if (need_defend) { + addon+=""; + addon+=""; + addon+=""; + } + + s='
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '+(addon?addon:'')+'
    '; + s = crtmagic(mtype, title, s); + + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all(name).focus(); + Hint3Name = name; +} + +// Заголовок, название скрипта, имя поля с логином +function bank_open(ac_list, ac_def, skipz, name) { + var ac = ac_list.split(','); + var s; + var addon = ''; + var hint = 'Выберите счёт и введите пароль'; + var title = 'Счёт в банке'; + var opt = ''; + //alert (opt); + s=''+ + ''+ + ''+ + '' + + '' + + '
    '+ hint + '
    ' + opt+ ' '+(addon?addon:'')+'
    '; + s = crtmagic('', title, s,"",skipz); + if (!name) {name = "hint4"}; + + document.all(name).innerHTML = s; + document.all(name).style.visibility = "visible"; + if (!skipz) { + document.all(name).style.left = 100; + document.all(name).style.zIndex = 200; + document.all(name).style.top = document.body.scrollTop+50; + } + document.all('num').focus(); + Hint3Name = 'num'; + + + + for (var i=0; i'+ ac[i] + ''; + } + opt += ''; + +} + +function bank_info() { + alert('У Вас нет активных счетов. \n\n На правах рекламы: Вы можете открыть счёт в Банке БК,'+ + ' на Страшилкиной улице*\n\n* Мелким шрифтом: услуга платная.'); +} + +function bank_blocked(tm) { + var s = 'Ваши счета заблокированы (ещё '+ tm + ').'; + alert(s); +} + +function get_bank_pwd(){ + +} + +function b_confirm(script, txt, mtype, addon, need_defend) { + + if (need_defend && defend==false) { + defend=-1 +// errmess("Блок не выбран."); return false; + } + + if (need_defend) { + addon+=""; + addon+=""; + addon+=""; + } + + dialogconfirm('Подтверждение', '/battle.pl', '
    '+txt+'
    Использовать сейчас?
    '+addon, mtype); +} + + +function dialogconfirm(title, script, text, mtype) { + var s; + + s='
    '+ + text+'
    '; + + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("tmpname423").focus(); + Hint3Name = name; +} + +function dialogOK(title, text, mtype) { + var s; + + s='
    '+ + text+'
    '; + + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + Hint3Name = name; +} + + +function foundmagictype (mtypes) { + if (mtypes) { + mtypes=mtypes+""; + if (mtypes.indexOf(',') == -1) return parseInt(mtypes); + var s=mtypes.split(','); + var found=0; + var doubl=0; + var maxfound=0; + + for (i=0; i < s.length; i++) { + var k=parseInt(s[i]); + if (k > maxfound) { + found=i + 1; + maxfound=k; + doubl=0; + } else { + if (k == maxfound) {doubl=1;} + } + } + if (doubl) {return 0}; + + return found; + } + return 0; +} +// Для магии. Заголовок, название скрипта, название магии, номер вещицы в рюкзаке, логин по умолчанию, описание доп. поля +function magicklogin(title, script, magickname, n, defaultlogin, extparam, mtype) { + var s = ''; + if (extparam != null && extparam != '') { + s = s + ''; + } + s = s + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '+extparam+'
    '; + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Магия +function UseMagick(title, script, name, extparam, n, extparam2, mtype) { + if ((extparam != null)&&(extparam != '')) { + + var t1='text',t2='text'; + + if (extparam.substr(0,1) == "!") + { + t1='password'; + extparam=extparam.substr(1,extparam.length); + } + + var s = ''; + if (extparam2 != null && extparam2 != '') { + if (extparam2.substr(0,1) == "!") + { + t2='password'; + extparam2=extparam2.substr(1,extparam2.length); + } + s = s + ''; + } + s += '
    '+ + extparam + ':
    '+extparam2+':
    '; + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("param").focus(); + Hint3Name = 'param'; + } else { + dialogconfirm('Подтверждение', script, '
    Использовать сейчас?
    '+ + '', mtype); + } +} + +// Закрывает окно ввода логина +function closehint3() +{ + top.is_qlaunch = 0; + document.all("hint4").style.visibility="hidden"; + Hint3Name=''; +} + +// Для боевой магии. Заголовок, название магии, номер вещицы в рюкзаке +function Bmagicklogin (title, magickname, n, defaultlogin, extparam, mtype) { + if (defend==false) { + defend=-1; +// errmess("Блок не выбран."); return false; + } + + var s = ''; + if (extparam != null && extparam != '') { + s = s + ''; + } + s = s + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '+extparam+'
    '; + s = crtmagic(mtype, title, s); + + document.all("hint4").innerHTML= s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = 60; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Магия +function BUseMagick(name, extparam, n, mtype) { + if (defend==false) { + defend=-1; +// errmess("Блок не выбран."); return false; + } + + if ((extparam != null)&&(extparam != '')) { + var s = prompt(extparam+':', ''); + if ((s != null)&&(s != '')) { + re = /\%/g; s=s.replace(re, "%25"); + re = /\+/g; s=s.replace(re, "%2B"); + re = /\#/g; s=s.replace(re, "%23"); + re = /\?/g; s=s.replace(re, "%3F"); + re = /\&/g; s=s.replace(re, "%26"); + window.location.href='/battle.pl?use='+name+'¶m='+s+'&n='+n+'&mdefend='+defend+'&enemy='+enemy+'&myid='+myid; + } + } else { + dialogconfirm('Подтверждение', '/battle.pl', '
    Использовать сейчас?
    '+ + '', mtype); + } +} + + + +function crtmagic(mtype, title, body, subm, noclose) { + return crtmagic_full(mtype, title, body, subm, noclose, 270, 0); +} +function crtmagic_full(mtype, title, body, subm, noclose, dx, dy) { +//name, XYX, X1-X2-Y2, pad.LRU + mtype=foundmagictype(mtype); + +var names=new Array( +'neitral',17, 6, 14, 17, 14, 7,0,0, 3, +'fire', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'water', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'air', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'earth', 57,30, 33, 20, 21, 14, 11, 12, 0, +'white', 51, 25, 46, 44, 44, 10, 5, 5, 0, +'gray', 51, 25, 46, 44, 44, 10, 5, 5, 0, +'black', 51, 25, 46, 44, 44, 10, 5, 5, 0); +var colors=new Array('B1A993','DDD5BF', 'ACA396','D3CEC8', '96B0C6', 'BDCDDB', 'AEC0C9', 'CFE1EA', 'AAA291', 'D5CDBC', 'BCBBB6', 'EFEEE9', '969592', 'DADADA', '72726B', 'A6A6A0'); + +while (body.indexOf('#IMGSRC#')>=0) body = body.replace('#IMGSRC#', 'http://img.combats.com/i/misc/dmagic/'+names[mtype*10]+'_30.gif'); +var s=''+ + ''+ + ''+ +''+ +'
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + ''+ + ''+ + (names[mtype*10+7]?'':'')+ + ''+ + ''+ + ''+ + (names[mtype*10+8]?'':'')+ + ''+ + '
      '+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + '
    '+title+ + ' 
    '+ + '
    '+body+ + '
      
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '; + + return s; +} + + diff --git a/js/dialog_030_ru.js b/js/dialog_030_ru.js new file mode 100644 index 0000000..c20531e --- /dev/null +++ b/js/dialog_030_ru.js @@ -0,0 +1,346 @@ +var Hint3Name = ''; + +step=0; +top.is_qlaunch = 0; +function errmess(s) +{ + messid.innerHTML=''+s+''; + highlight(); +} +function highlight() +{ + if (step) return(0); + step=10; + setTimeout(dohi,50); +} + +function dohi() +{ + var hx=new Array(0,1,2,3,4,5,6,7,8,9,"A","B","C","D","E","F"); + step--; + messid.style.color="#"+hx[Math.floor(15-step/2)]+((step&1)?"F":"8")+"0000"; + if (step>0) setTimeout(dohi,50); +} + +function fixspaces(s) +{ + while (s.substr(s.length-1,s.length)==" ") s=s.substr(0,s.length-1); + while (s.substr(0,1)==" ") s=s.substr(1,s.length); + return(s); +} + + +// Заголовок, название скрипта, имя поля с логином +function bank_open(ac_list, ac_def, skipz, name) { + var ac = ac_list.split(','); + var s; + var addon = ''; + var hint = 'Выберите счёт и введите пароль'; + var title = 'Счёт в банке'; + var opt = ''; + //alert (opt); + s=''+ + ''+ + ''+ + '' + + '' + + '
    '+ hint + '
    ' + opt+ ' '+(addon?addon:'')+'
    '; + s = crtmagic('', title, s,"",skipz); + if (!name) {name = "hint4"}; + + document.all(name).innerHTML = s; + document.all(name).style.visibility = "visible"; + if (!skipz) { + document.all(name).style.left = 100; + document.all(name).style.zIndex = 200; + document.all(name).style.top = document.body.scrollTop+50; + } + document.all('num').focus(); + Hint3Name = 'num'; + + + + for (var i=0; i'+ ac[i] + ''; + } + opt += ''; + +} + +function bank_info() { + alert('У Вас нет активных счетов. \n\n На правах рекламы: Вы можете открыть счёт в Банке БК,'+ + ' на Страшилкиной улице*\n\n* Мелким шрифтом: услуга платная.'); +} + +function bank_blocked(tm) { + var s = 'Ваши счета заблокированы (ещё '+ tm + ').'; + alert(s); +} + +function get_bank_pwd(){ + +} + +function b_confirm(script, txt, mtype, addon, need_defend) { + + if (need_defend && defend==false) { + defend=-1 +// errmess("Блок не выбран."); return false; + } + + if (need_defend) { + addon+=""; + addon+=""; + addon+=""; + } + + dialogconfirm('Подтверждение', '/battle.pl', '
    '+txt+'
    Использовать сейчас?
    '+addon, mtype); +} + + +function dialogconfirm(title, script, text, mtype) { + var s; + + s='
    '+ + text+'
    '; + + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("tmpname423").focus(); + Hint3Name = name; +} + +function dialogOK(title, text, mtype) { + var s; + + s='
    '+ + text+'
    '; + + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + Hint3Name = name; +} + + +function foundmagictype (mtypes) { + if (mtypes) { + mtypes=mtypes+""; + if (mtypes.indexOf(',') == -1) return parseInt(mtypes); + var s=mtypes.split(','); + var found=0; + var doubl=0; + var maxfound=0; + + for (i=0; i < s.length; i++) { + var k=parseInt(s[i]); + if (k > maxfound) { + found=i + 1; + maxfound=k; + doubl=0; + } else { + if (k == maxfound) {doubl=1;} + } + } + if (doubl) {return 0}; + + return found; + } + return 0; +} +// Для магии. Заголовок, название скрипта, название магии, номер вещицы в рюкзаке, логин по умолчанию, описание доп. поля +function magicklogin(title, script, magickname, n, defaultlogin, extparam, mtype) { + var s = ''; + if (extparam != null && extparam != '') { + s = s + ''; + } + s = s + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '+extparam+'
    '; + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Магия +function UseMagick(title, script, name, extparam, n, extparam2, mtype) { + var image = name; + var path = ('' + name).split('/'); + name = path[ path.length - 1 ]; + if ((extparam != null)&&(extparam != '')) { + + var t1='text',t2='text'; + + if (extparam.substr(0,1) == "!") + { + t1='password'; + extparam=extparam.substr(1,extparam.length); + } + + var s = ''; + if (extparam2 != null && extparam2 != '') { + if (extparam2.substr(0,1) == "!") + { + t2='password'; + extparam2=extparam2.substr(1,extparam2.length); + } + s = s + ''; + } + s += '
    '+ + extparam + ':
    '+extparam2+':
    '; + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("param").focus(); + Hint3Name = 'param'; + } else { + dialogconfirm('Подтверждение', script, '
    Использовать сейчас?
    '+ + '', mtype); + } +} + +// Закрывает окно ввода логина +function closehint3() +{ + top.is_qlaunch = 0; + document.all("hint4").style.visibility="hidden"; + Hint3Name=''; +} + +// Для боевой магии. Заголовок, название магии, номер вещицы в рюкзаке +function Bmagicklogin (title, magickname, n, defaultlogin, extparam, mtype) { + if (defend==false) { + defend=-1; +// errmess("Блок не выбран."); return false; + } + + var s = ''; + if (extparam != null && extparam != '') { + s = s + ''; + } + s = s + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '+extparam+'
    '; + s = crtmagic(mtype, title, s); + + document.all("hint4").innerHTML= s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.zIndex = 200; + document.all("hint4").style.top = 60; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Магия +function BUseMagick(name, extparam, n, mtype) { + if (defend==false) { + defend=-1; +// errmess("Блок не выбран."); return false; + } + + if ((extparam != null)&&(extparam != '')) { + var s = prompt(extparam+':', ''); + if ((s != null)&&(s != '')) { + re = /\%/g; s=s.replace(re, "%25"); + re = /\+/g; s=s.replace(re, "%2B"); + re = /\#/g; s=s.replace(re, "%23"); + re = /\?/g; s=s.replace(re, "%3F"); + re = /\&/g; s=s.replace(re, "%26"); + window.location.href='/battle.pl?use='+name+'¶m='+s+'&n='+n+'&mdefend='+defend+'&enemy='+enemy+'&myid='+myid; + } + } else { + dialogconfirm('Подтверждение', '/battle.pl', '
    Использовать сейчас?
    '+ + '', mtype); + } +} + + + +function crtmagic(mtype, title, body, subm, noclose) { + return crtmagic_full(mtype, title, body, subm, noclose, 270, 0); +} +function crtmagic_full(mtype, title, body, subm, noclose, dx, dy) { +//name, XYX, X1-X2-Y2, pad.LRU + mtype=foundmagictype(mtype); + +var names=new Array( +'neitral',17, 6, 14, 17, 14, 7,0,0, 3, +'fire', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'water', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'air', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'earth', 57,30, 33, 20, 21, 14, 11, 12, 0, +'white', 51, 25, 46, 44, 44, 10, 5, 5, 0, +'gray', 51, 25, 46, 44, 44, 10, 5, 5, 0, +'black', 51, 25, 46, 44, 44, 10, 5, 5, 0); +var colors=new Array('B1A993','DDD5BF', 'ACA396','D3CEC8', '96B0C6', 'BDCDDB', 'AEC0C9', 'CFE1EA', 'AAA291', 'D5CDBC', 'BCBBB6', 'EFEEE9', '969592', 'DADADA', '72726B', 'A6A6A0'); + +while (body.indexOf('#IMGSRC#')>=0) body = body.replace('#IMGSRC#', 'http://img.combats.com/i/misc/dmagic/'+names[mtype*10]+'_30.gif'); +var s=''+ + ''+ + ''+ +''+ +'
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + ''+ + ''+ + (names[mtype*10+7]?'':'')+ + ''+ + ''+ + ''+ + (names[mtype*10+8]?'':'')+ + ''+ + '
      '+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + '
    '+title+ + ' 
    '+ + '
    '+body+ + '
      
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '; + + return s; +} + + diff --git a/js/forum.js b/js/forum.js new file mode 100644 index 0000000..6234aa2 --- /dev/null +++ b/js/forum.js @@ -0,0 +1,368 @@ +var SmileParser; + +$(document).ready( + function () { + SmileParser.init(initBBEditors); + }); + +function initBBEditors() { + var options = { + buttons:"testlink,bold,italic,underline,removeFormat,|,justifyleft,justifycenter,justifyright,|,img,link,smilebox,|,quote", + smileList:SmileParser.smileList, + allButtons:{ + img:{ + title:"Вставка картинки с параметрами", + buttonText:"myimg", + modal:{ + title:"Заголовок окна", + width:"600px", + tabs:[ + { + input:[ { + param:"SRC", + title:"Введите адрес изображения", + validation:'^http(s)?://.*?\.(jpg|png|gif|jpeg)$' + }, { + param:"WIDTH", + title:"Ширина" + }, { + param:"HEIGHT", + title:"Высота" + } + ] + } + ], + onLoad:function () { + + }, + onSubmit:function (param1, param2, param3) { + var src = $("div.wbbm-inp-row input[name=SRC]").val(); + var width = $("div.wbbm-inp-row input[name=WIDTH]").val(); + var height = $("div.wbbm-inp-row input[name=HEIGHT]").val(); + if (width.length == 0 || height.length == 0) { + if (width.length == 0) { + $("div.wbbm-inp-row input[name=WIDTH]").val(ImageSizeDetector.width); + } + if (height.length == 0) { + $("div.wbbm-inp-row input[name=HEIGHT]").val(ImageSizeDetector.height); + } + } + } + }, + transform:{ + '':'[img width={WIDTH} height={HEIGHT}]{SRC}[/img]' + } + }, + + link:{ + title:"Вставка ссылки", + buttonText:"testlink", + modal:{ //Описание модального окна + title:"Заголовок окна", + width:"600px", + tabs:[ + { + input:[ + //Список полей формы + { + param:"SELTEXT", + title:"Текст" + } , + { + param:"SRC", + title:"Введите адрес", + validation:'^http(s)?://.*?$' + }, + { + param:"TARGET" + } + ] + } + ], + onLoad:function () { + //Callback функция, которая будет вызываться после отображения модального окна + $("div.tab-cont").append("Открывать в новом окне"); + $("div.wbbm-inp-row input[name=TARGET]").hide(); + }, + onSubmit:function (param1, param2, param3) { + var target = $("div.wbbm-cont input[name=TARGETFLAG]").prop("checked"); + if (target) { + $("div.wbbm-inp-row input[name=TARGET]").val("_blank"); + } else { + $("div.wbbm-inp-row input[name=TARGET]").val("_self"); + } + } + }, + transform:{ + '{SELTEXT}':'[url src={SRC} target={TARGET}]{SELTEXT}[/url]' + } + } + } + }; + jQuery("#message").wysibb(options); + jQuery("#answer").wysibb(options); + $("div.wbbm-inp-row input[name=WIDTH]").live("change", function () { + var h = $("div.wbbm-inp-row input[name=HEIGHT]").val(); + if (h != "" && h > 0) { + return; + } + var width = $("div.wbbm-inp-row input[name=WIDTH]").val(); + if (!ImageSizeDetector.isEmpty()) { + var height = width * ImageSizeDetector.height / ImageSizeDetector.width; + height = height.toFixed(0); + $("div.wbbm-inp-row input[name=HEIGHT]").val(height); + } + }); + $("div.wbbm-inp-row input[name=HEIGHT]").live("change", function () { + var w = $("div.wbbm-inp-row input[name=WIDTH]").val(); + if (w != "" && w > 0) { + return; + } + var height = $("div.wbbm-inp-row input[name=HEIGHT]").val(); + if (!ImageSizeDetector.isEmpty()) { + var width = height * ImageSizeDetector.width / ImageSizeDetector.height; + width = width.toFixed(0); + $("div.wbbm-inp-row input[name=WIDTH]").val(width); + } + }); + $("div.wbbm-inp-row input[name=SRC]").live("change", function () { + var src = $("div.wbbm-inp-row input[name=SRC]").val(); + ImageSizeDetector.init(src); + }); +} + +ImageSizeDetector = new Object(); +ImageSizeDetector.src = null; +ImageSizeDetector.img = null; +ImageSizeDetector.height = null; +ImageSizeDetector.width = null; +ImageSizeDetector.init = function (src, callback) { + var img = $(""); + ImageSizeDetector.img = img; + ImageSizeDetector.src = src; + ImageSizeDetector.width = img.get(0).width; + ImageSizeDetector.height = img.get(0).height; + if (callback) { + callback(); + } +} +ImageSizeDetector.isNotEmpty = function () { + return ImageSizeDetector.width != null && ImageSizeDetector.width > 0 && + ImageSizeDetector.height != null && ImageSizeDetector.height > 0; +} +ImageSizeDetector.isEmpty = function () { + return !ImageSizeDetector.isNotEmpty(); +} + +SmileParser = new Object(); +SmileParser.map = null; +SmileParser.init = function (callback) { + var url = "/js/forum_smiles.json"; + jQuery.ajax({ + url:url, + dataType:'json', + success:function (json) { + // $("#list_routines").html(""); + SmileParser.map = json; + SmileParser.prepareSmileList(); + SmileParser.proceed(); + if (callback) { + callback(); + } + }, + error:function (jqXHR, textStatus, errorThrown) { + + } + }); +} +SmileParser.replace = function (str) { + var result = str; + for (smileCode in SmileParser.map) { + smileURL = SmileParser.map[smileCode]; + result = result.replace(smileCode, ""); + } + for (smileCode in SmileParser.oldMap) { + smileURL = SmileParser.oldMap[smileCode]; + result = result.replace(smileCode, ""); + } + return result; +} + +SmileParser.proceed = function () { + jQuery("p.pleft").each(function (index, value) { + var html = jQuery(value).html(); + jQuery(value).html(SmileParser.replace(html)); + }); +} +SmileParser.smileList = []; +SmileParser.prepareSmileList = function () { + SmileParser.smileList = []; + for (smileCode in SmileParser.map) { + smileURL = SmileParser.map[smileCode]; + var smileListItem = { + title:smileCode, + img:'', + bbcode:smileCode + }; + SmileParser.smileList.push(smileListItem); + } + return SmileParser.smileList; +} +SmileParser.oldMap = { + ":)":"/i/forum/icon7.gif", + ":(":"/i/smile/grust.gif", + ":D":"/i/smile/laugh.gif", + ";)":"/i/smile/wink.gif" +} + +function storeCaret(text) { + if (text.createTextRange) { + text.caretPos = document.selection.createRange().duplicate(); + } +} + +function cs(s1, s2, formname) { + if (!formname) { + formname = 'F1'; + } + if (document.getSelection) { + alert("Под NN не работает!"); + } + if (document.selection) { + var str = document.selection.createRange(); + var s = document[formname].text.value; + if (s1 == '//') { + if ((str.text != "") && (s.indexOf(str.text) < 0)) { + var str2 = '> '; + var j = 0; + for (var i = 0; i < str.text.length; i++) { + str2 += str.text.charAt(i); + j++; + if (str.text.charAt(i) == "\n") { + str2 += "> "; + j = 0; + } + if ((j > 55) && (str.text.charAt(i) == ' ')) { + str2 += "\n> "; + j = 0; + } + } + document[formname].text.value = s + "\n" + str2 + "\n\n"; + } else { + alert("Не выделен текст!\nДля вставки цитаты, сначала выделите на странице нужный текст, а затем нажмите эту кнопку."); + } + } else { + if ((str.text != "") && (s.indexOf(str.text) >= 0)) { + if (str.text.indexOf(s1) == 0) + return '' + str.text = s1 + str.text + s2; + } else { + if (document[formname].text.createTextRange + && document[formname].text.caretPos) { + var caretPos = document[formname].text.caretPos; + caretPos.text = s1 + s2; + } else { + document[formname].text.value = s + s1 + s2; + } + } + } + } + document[formname].text.focus(); + return false; +} + +var map_en = new Array('s`h', 'S`h', 'S`H', 's`Х', 'sh`', 'Sh`', 'SH`', "'o", + 'yo', "'O", 'Yo', 'YO', 'zh', 'w', 'Zh', 'ZH', 'W', 'ch', 'Ch', 'CH', + 'sh', 'Sh', 'SH', 'e`', 'E`', "'u", 'yu', "'U", 'Yu', "YU", "'a", 'ya', + "'A", 'Ya', 'YA', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D', + 'e', 'E', 'z', 'Z', 'i', 'I', 'j', 'J', 'k', 'K', 'l', 'L', 'm', 'M', + 'n', 'N', 'o', 'O', 'p', 'P', 'r', 'R', 's', 'S', 't', 'T', 'u', 'U', + 'f', 'F', 'h', 'H', 'c', 'C', '`', 'y', 'Y', "'"); +var map_ru = new Array('сх', 'Сх', 'СХ', 'сХ', 'щ', 'Щ', 'Щ', 'ё', 'ё', 'Ё', + 'Ё', 'Ё', 'ж', 'ж', 'Ж', 'Ж', 'Ж', 'ч', 'Ч', 'Ч', 'ш', 'Ш', 'Ш', 'э', + 'Э', 'ю', 'ю', 'Ю', 'Ю', 'Ю', 'я', 'я', 'Я', 'Я', 'Я', 'а', 'А', 'б', + 'Б', 'в', 'В', 'г', 'Г', 'д', 'Д', 'е', 'Е', 'з', 'З', 'и', 'И', 'й', + 'Й', 'к', 'К', 'л', 'Л', 'м', 'М', 'н', 'Н', 'о', 'О', 'п', 'П', 'р', + 'Р', 'с', 'С', 'т', 'Т', 'у', 'У', 'ф', 'Ф', 'х', 'Х', 'ц', 'Ц', 'ъ', + 'ы', 'Ы', 'ь'); + +function convert(st) { + for (var i = 0; i < map_en.length; ++i) + while (st.indexOf(map_en[i]) >= 0) + st = st.replace(map_en[i], map_ru[i]); + return st; +} + +function translate2(str) { + var strarr = new Array(); + strarr = str.split(' '); + for (var k = 0; k < strarr.length; k++) { + if (strarr[k].indexOf("http://") < 0 && strarr[k].indexOf('@') < 0 + && strarr[k].indexOf("www.") < 0) + strarr[k] = convert(strarr[k]); + } + return strarr.join(' '); +} + +function translate(str2) { + var s = new Array(); + s = str2.split('\n'); + for (var i = 0; i < s.length; i++) + s[i] = translate2(s[i]) + return s.join('\n'); +} + +function subm() { + document.F1.text.value = translate(document.F1.text.value); + document.F1.title.value = translate(document.F1.title.value); +} + +function subm2() { + document.F1.text.value = translate(document.F1.text.value); +} + +var oneclick = false; + +function getalign(al) { + al += ""; + if (al == "3") + return ("Темное братство"); + if (al == "2") + return ("Хаос"); + if (al.substring(0, 1) == "1") + return ("Белое братство"); + if (al == "0.5") + return ("Нейтрал"); + return (""); +} + +function drwfl(name, level) { + var s = ""; + s += ' ' + name + ''; + if(level > 0 && level != '') s += " [" + level + "]"; + document.write(s); +} + +var $addFavoriteSet = function () { + $('a.addFavorite').each(function (count, elm) { + var $elem = $(elm); + var id = $elem.attr('id'); + $(elm).click(function () { + // ajax + $.ajax({ + url:'/forum.pl?act=add_favorite', + // type: 'GET', + data:{ + id:id + }, + dataType:'json', + error:function (XTR, message) { + alert(XXX[3]); + }, + success:function (data) { + alert(XXX[data.code]); + } + }); + }); + }); +} \ No newline at end of file diff --git a/js/forum_smiles.json b/js/forum_smiles.json new file mode 100644 index 0000000..ee994aa --- /dev/null +++ b/js/forum_smiles.json @@ -0,0 +1,133 @@ +{ + ":smile0:":"/i/forum/icon7.gif", + ":baby:":"/i/smile/baby.gif", + ":sniper:":"/i/smile/sniper.gif", + ":trup:":"/i/smile/trup.gif", + ":beggar:":"/i/smile/beggar.gif", + ":rotate:":"/i/smile/rotate.gif", + ":hello:":"/i/smile/hello.gif", + ":sten:":"/i/smile/sten.gif", + ":shuffle:":"/i/smile/shuffle.gif", + ":elix:":"/i/smile/elix.gif", + ":smil:":"/i/smile/smil.gif", + ":mdr:":"/i/smile/mdr.gif", + ":podz:":"/i/smile/podz.gif", + ":dont:":"/i/smile/dont.gif", + ":grust:":"/i/smile/grust.gif", + ":boks:":"/i/smile/boks.gif", + ":susel:":"/i/smile/susel.gif", + ":dedmoroz:":"/i/smile/dedmoroz.gif", + ":creator:":"/i/smile/creator.gif", + ":no:":"/i/smile/no.gif", + ":horse:":"/i/smile/horse.gif", + ":vamp:":"/i/smile/vamp.gif", + ":eek:":"/i/smile/eek.gif", + ":sorry:":"/i/smile/sorry.gif", + ":friday:":"/i/smile/friday.gif", + ":obm:":"/i/smile/obm.gif", + ":smile:":"/i/smile/smile.gif", + ":nail:":"/i/smile/nail.gif", + ":gent:":"/i/smile/gent.gif", + ":beer:":"/i/smile/beer.gif", + ":inv:":"/i/smile/inv.gif", + ":fire:":"/i/smile/fire.gif", + ":dance1:":"/i/smile/dance1.gif", + ":maniac:":"/i/smile/maniac.gif", + ":kiss4:":"/i/smile/kiss4.gif", + ":confused:":"/i/smile/confused.gif", + ":kiss2:":"/i/smile/kiss2.gif", + ":snowfight:":"/i/smile/snowfight.gif", + ":row:":"/i/smile/row.gif", + ":naem:":"/i/smile/naem.gif", + ":radio1:":"/i/smile/radio1.gif", + ":fie:":"/i/smile/fie.gif", + ":love:":"/i/smile/love.gif", + ":sneeze:":"/i/smile/sneeze.gif", + ":mol:":"/i/smile/mol.gif", + ":showng:":"/i/smile/showng.gif", + ":rocket:":"/i/smile/rocket.gif", + ":dustman:":"/i/smile/dustman.gif", + ":rupor:":"/i/smile/rupor.gif", + ":nnn:":"/i/smile/nnn.gif", + ":snegur:":"/i/smile/snegur.gif", + ":dance2:":"/i/smile/dance2.gif", + ":jeer:":"/i/smile/jeer.gif", + ":kiss:":"/i/smile/kiss.gif", + ":ponder:":"/i/smile/ponder.gif", + ":drink:":"/i/smile/drink.gif", + ":angel:":"/i/smile/angel.gif", + ":idea:":"/i/smile/idea.gif", + ":lady:":"/i/smile/lady.gif", + ":gun:":"/i/smile/gun.gif", + ":pif:":"/i/smile/pif.gif", + ":help:":"/i/smile/help.gif", + ":alch:":"/i/smile/alch.gif", + ":kiss3:":"/i/smile/kiss3.gif", + ":hug:":"/i/smile/hug.gif", + ":lordhaos:":"/i/smile/lordhaos.gif", + ":rose:":"/i/smile/rose.gif", + ":radio2:":"/i/smile/radio2.gif", + ":boks2:":"/i/smile/boks2.gif", + ":str:":"/i/smile/str.gif", + ":invis:":"/i/smile/invis.gif", + ":rev:":"/i/smile/rev.gif", + ":ok:":"/i/smile/ok.gif", + ":alien:":"/i/smile/alien.gif", + ":smash:":"/i/smile/smash.gif", + ":super:":"/i/smile/super.gif", + ":love2:":"/i/smile/love2.gif", + ":victory:":"/i/smile/victory.gif", + ":kruger:":"/i/smile/kruger.gif", + ":agree:":"/i/smile/agree.gif", + ":hi:":"/i/smile/hi.gif", + ":privet:":"/i/smile/privet.gif", + ":devil:":"/i/smile/devil.gif", + ":naem2:":"/i/smile/naem2.gif", + ":tongue:":"/i/smile/tongue.gif", + ":red:":"/i/smile/red.gif", + ":doc:":"/i/smile/doc.gif", + ":icon7:":"/i/forum/icon7.gif", + ":lightfly:":"/i/smile/lightfly.gif", + ":owl:":"/i/smile/owl.gif", + ":pirate:":"/i/smile/pirate.gif", + ":sword:":"/i/smile/sword.gif", + ":bye:":"/i/smile/bye.gif", + ":mad:":"/i/smile/mad.gif", + ":fingal:":"/i/smile/fingal.gif", + ":nono:":"/i/smile/nono.gif", + ":loveya:":"/i/smile/loveya.gif", + ":cry:":"/i/smile/cry.gif", + ":superng:":"/i/smile/superng.gif", + ":yes:":"/i/smile/yes.gif", + ":crying:":"/i/smile/crying.gif", + ":'(":"/i/smile/crying.gif", + ":flowers:":"/i/smile/flowers.gif", + ":tease:":"/i/smile/tease.gif", + ":wink:":"/i/smile/wink.gif", + ":sharp:":"/i/smile/sharp.gif", + ":nunu:":"/i/smile/nunu.gif", + ":angel2:":"/i/smile/angel2.gif", + ":naem3:":"/i/smile/naem3.gif", + ":lick:":"/i/smile/lick.gif", + ":ninja:":"/i/smile/ninja.gif", + ":cat:":"/i/smile/cat.gif", + ":smoke:":"/i/smile/smoke.gif", + ":chtoza:":"/i/smile/chtoza.gif", + ":grace:":"/i/smile/grace.gif", + ":tongue2:":"/i/smile/tongue2.gif", + ":sorry2:":"/i/smile/sorry2.gif", + ":yar:":"/i/smile/yar.gif", + ":king2:":"/i/smile/king2.gif", + ":carreat:":"/i/smile/carreat.gif", + ":hlw:":"/i/smile/hlw.gif", + ":grenade:":"/i/smile/grenade.gif", + ":bow:":"/i/smile/bow.gif", + ":doc2:":"/i/smile/doc2.gif", + ":duel:":"/i/smile/duel.gif", + ":mag:":"/i/smile/mag.gif", + ":king:":"/i/smile/king.gif", + ":laugh:":"/i/smile/laugh.gif", + ":pal:":"/i/smile/pal.gif", + ":nun:":"/i/smile/nun.gif", + ":ura:":"/i/smile/ura.gif" +} \ No newline at end of file diff --git a/js/funcs.js b/js/funcs.js new file mode 100644 index 0000000..a6a7f20 --- /dev/null +++ b/js/funcs.js @@ -0,0 +1,107 @@ +function delItmsNo(title, name, mtype, addon, itmImg, itmName, urls) { + var s = ''; + s = '
    Предмет \''+itmName+'\' будет утерян, вы уверены ?
    Все предметы этого вида
    '; + + s = crtmagic(0, title, s); + document.getElementById('hint4').innerHTML = s; + document.getElementById('hint4').style.visibility = 'visible'; + document.getElementById('hint4').style.left = '150px'; + document.getElementById('hint4').style.top = '50px'; + Hint3Name = name; +} + +function closehint() { + document.all("hint4").style.visibility = "hidden"; + Hint3Name = ''; +} + +function closehint3() { + document.all("hint4").style.visibility = "hidden"; + Hint3Name = ''; +} + +function foundmagictype (mtypes) { + if(mtypes) { + mtypes = mtypes+""; + if(mtypes.indexOf(',') == -1) return parseInt(mtypes); + var s = mtypes.split(','); + var found = 0; + var doubl = 0; + var maxfound = 0; + + for(i = 0; i < s.length; i++) { + var k = parseInt(s[i]); + if(k > maxfound) { + found = i + 1; + maxfound = k; + doubl = 0; + } else { + if(k == maxfound) { + doubl = 1; + } + } + } + + if(doubl) { + return 0 + }; + return found; + } + return 0; +} + +function crtmagic(mtype, title, body, subm) { + mtype = foundmagictype(mtype); + + var names = new Array('neitral',17, 6, 14, 17, 14, 7,0,0, 3, 'fire', 57, 30, 33, 20, 21, 14, 11, 12, 0, 'water', 57, 30, 33, 20, 21, 14, 11, 12, 0, 'air', 57, 30, 33, 20, 21, 14, 11, 12, 0, 'earth', 57,30, 33, 20, 21, 14, 11, 12, 0, 'white', 51, 25, 46, 44, 44, 10, 5, 5, 0, 'gray', 51, 25, 46, 44, 44, 10, 5, 5, 0, 'black', 51, 25, 46, 44, 44, 10, 5, 5, 0); + var colors = new Array('B1A993', 'DDD5BF', 'ACA396', 'D3CEC8', '96B0C6', 'BDCDDB', 'AEC0C9', 'CFE1EA', 'AAA291', 'D5CDBC', 'BCBBB6', 'EFEEE9', '969592', 'DADADA', '72726B', 'A6A6A0'); + + while(body.indexOf('#IMGSRC#') >= 0) body = body.replace('#IMGSRC#', 'i/misc/dmagic/'+names[mtype*10]+'_30.gif'); + var s = ''+ + ''+ + ''+ +''+ +'
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + ''+ + ''+ + (names[mtype*10+7]?'':'')+ + ''+ + ''+ + ''+ + (names[mtype*10+8]?'':'')+ + ''+ + '
      '+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + '
    '+title+ + ' 
    '+ + '
    '+body+ + '
      
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '; + + return s; +} \ No newline at end of file diff --git a/js/gameEngine.js b/js/gameEngine.js new file mode 100644 index 0000000..40cb13b --- /dev/null +++ b/js/gameEngine.js @@ -0,0 +1,35 @@ + +function qn_win(t,obr) { + $('#qsst').html( + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + '
     '+ + ''+ + '
    '+t+'
    '+ + ''+ + '
     
    ' + ); + if(top.qst_sml == '') { + $('#qsst').css('display','block'); + }else{ + if(top.qst_sml != obr) { + $('#mini_qsst').html(''); + } + } + $('#qsst').center(); +} diff --git a/js/h.js b/js/h.js new file mode 100644 index 0000000..46bf1f3 --- /dev/null +++ b/js/h.js @@ -0,0 +1,280 @@ +function H(isOutBox){ + this.document = document; + this.isOutBox = isOutBox; + this.iframe = this.isOutBox ? $('#mainbox') : $('body'); + + // DOM-элемент, который перехватывает клик по логину + //this.grabLogin = null; + // DOM-элемент, который перехватывает клик по названию шмотки + //this.grabItem = null; + this.grabLogin = new Grabber({inputClass: 'grabLogin'}); + this.grabItem = new Grabber({inputClass: 'grabLogin'}); + // storage + this.data = {}; +} + +H.prototype.toString = function(){ + return 'This is H-object'; +} + +H.prototype.getMainBox = function(){ + return this.isOutBox ? this.iframe.contents().find('body') : $('body'); +} + +H.prototype.loadMainBox = function(location){ + location = location || '/main.php'; + this.iframe.attr('src',location); +} + +H.prototype.loadDocument = function(location){ + this.document.location = location; +} + +// ======== storage + +H.prototype.set = function(key, value){ + this.data[key] = value; +} + +H.prototype.get = function(key, defaultValue){ + return undefined == this.data[key] ? defaultValue : this.data[key]; +} + +H.prototype.setHP = function(id, curHP, maxHP){ + curHP = curHP || 0; + maxHP = maxHP || 0; + var hp = this.getMainBox().find('#hpKey_'+id); + if(hp.length < 1){ + return false; + } + var hpA = $('img:eq(1)', hp); + var hpB = $('img:eq(2)', hp); + var redHP = 0.33; // меньше 30% красный цвет + var yellowHP = 0.66; // меньше 60% желтый цвет, иначе зеленый + if(curHP > maxHP){ + curHP = maxHP; + } + var text = curHP + '/' + maxHP; + var lengthHP = 170 - (text.length - 1) * 8; + var sizeFirst = Math.round((lengthHP / maxHP) * curHP); + var sizeSecond = lengthHP - sizeFirst; + hpA.attr('width', sizeFirst); + hpB.attr('width', sizeSecond); + if(curHP / maxHP < redHP){ + hpA.attr('src', '/i/1red.gif'); + }else{ + if(curHP / maxHP < yellowHP){ + hpA.attr('src', '/i/1yellow.gif'); + }else{ + hpA.attr('src', '/i/1green.gif'); + } + } + hp.html(hp.html().substring(0, hp.html().lastIndexOf(':') + 1) + Math.round(curHP) + "/" + maxHP); +} + +/* ------------------ перехват клика по логину юзера -------------------------------------------- * / +H.prototype.setGrabLogin = function(input){ + var obj = this; + this.clearGrabLogin(); + var tmp = $(input); + if(tmp.length > 0){ + this.grabLogin = tmp.get(0); + $(this.grabLogin) + .addClass('grabLogin') + .dblclick(function(){obj.toggleGrabLogin(this)}) + .select(); + return true; + } + return false; +} + +H.prototype.clearGrabLogin = function(){ + $(this.grabLogin).removeClass('grabLogin'); + this.grabLogin = null; +}, + +H.prototype.toggleGrabLogin = function(input){ + if($(input).hasClass('grabLogin')){ + this.clearGrabLogin(); + }else{ + this.setGrabLogin($(input)); + } +} +/* -------------------------------- простые диалоги --------------------------------------------- */ + +H.prototype.sdOptionsDefault = { + formMethod: 'POST', + formAction: '', + formClass: '', + title: 'заголовок не указан', + width: 250, + data: {}, + content: 'контент не указан', + onSubmit: function(){return true;}, + onClose: function(){this.remove()} +} + +H.prototype._sd = function(options){ + options = $.extend({}, this.sdOptionsDefault, options); + var m = $('
    ').css('width',options.width); + var t = $('
    ').text(options.title); + var c = $('X') + .click(function(){return options.onClose.call($(this).closest('div.sd-container'))}); + var f = $('
    ') + .attr('method', options.formMethod) + .attr('action', options.formAction) + .submit(function(){return options.onSubmit.call($(this).closest('div.sd-container'))}); + for(var i in options.data){ + $('').attr('name',i).val(options.data[i]).appendTo(f); + } + if(options.formClass){ + f.addClass(options.formClass); + } + $('div.sd-container', this.getMainBox()).remove(); + return m.append(t.prepend(c)).append(f.append(options.content)); +} + +H.prototype.sd = function(options){ + var tmp = this._sd(options); + return this.getMainBox().append(tmp); +} + +H.prototype.sdOneInput = function(options){ + var onSubmit2 = options.onSubmit; + options = $.extend({},this.sdOptionsDefault, {inputName: 'target', inputValue: '', grabber: null}, options); + var i = $('') + .css({'width': options.width - 45}) + .attr('name',options.inputName) + .val(options.inputValue); + if(options.grabber && this[options.grabber] instanceof Grabber){ + this[options.grabber].set(i); + }else{ + i.select(); + } + options.content.append($('
    ') + .append(i) + .append('')); + options.onSubmit = function(){ + var v = i.val($.trim(i.val())).val(); + if(v.length <= 0){ + alert('Не заполнено обязательное поле'); + return false + } + if(typeof onSubmit2 == 'function'){ + return onSubmit2.call(this); + } + return true; + } + return this.sd(options); +} + +H.prototype.sdLogin = function(options){ + options.content = $('
    Укажите логин персонажа:
    (можно кликнуть по логину в чате)
    '); + options.grabber = 'grabLogin'; + return this.sdOneInput(options); +} + +H.prototype.sdItem = function(options){ + options.content = $('
    Укажите название или s/n предмета:
    (можно кликнуть по названию в рюкзаке)
    '); + options.grabber = 'grabItem'; + options.width = 270; + return this.sdOneInput(options); +} +/** +* Функция для обратной совместимости +* Не надо её использовать в новом коде! +*/ +H.prototype.sdFindLogin = function(title, formAction, inputName, inputValue){ + return this.sdLogin({ + title: title, + formAction: formAction, + inputName: inputName, + inputValue: inputValue}); +} + +/** +* Функция для обратной совместимости +* Не надо её использовать в новом коде! +*/ +H.prototype.sdFindItem = function(title, formAction, inputName, inputValue){ + return this.sdItem({ + title: title, + formAction: formAction, + inputName: inputName, + inputValue: inputValue}); +} +/* ----------------------- вывод системных сообщений -------------------------------------------- */ + +H.prototype._popupConfig = { + 'd':[10000, 'Отладочное сообщение'], + 'i':[3000 , 'Сообщение'], + 'w':[5000 , 'Предупреждение'], + 'e':[0 , 'Ошибка'] + } + +H.prototype.msgPopup = function(type, text){ + if(this._popupConfig[type] == undefined){ + type = 'w'; + } + var conf = this._popupConfig[type]; + $.jGrowl(text,{ + header: '<> ' + conf[1], + glue: 'before', + life: conf[0], + sticky: conf[0] <= 0, + theme: 'msg_' + type + }); +} + + +/* ================== перехват клика на логине/шмотке и т.п. ==================================== */ + +function Grabber(options){ + this.options = $.extend({}, this.optionsDef, options); + this.input = null; + +} +Grabber.prototype.toString = function(){ + return 'This is Grabber-object'; +} + +Grabber.prototype.optionsDef = { + inputClass: 'grab' +} + +Grabber.prototype.get = function(){ + return this.input; +} + +Grabber.prototype.isActive = function(){ + return $(this.input).is(':visible'); +} + +Grabber.prototype.set = function(input){ + var obj = this; + this.clear(); + var tmp = $(input); + if(tmp.length > 0){ + this.input = tmp.get(0); + $(this.input) + .addClass(this.options.inputClass) + .dblclick(function(){obj.toggle(this)}) + .select(); + return true; + } + return false; +} + +Grabber.prototype.clear = function(){ + $(this.input).removeClass(this.options.inputClass); + this.input = null; +}, + +Grabber.prototype.toggle = function(input){ + if($(input).hasClass(this.options.inputClass)){ + this.clear(); + }else{ + this.set($(input)); + } +} + diff --git a/js/inf.0.104.js b/js/inf.0.104.js new file mode 100644 index 0000000..f79fb6c --- /dev/null +++ b/js/inf.0.104.js @@ -0,0 +1,20 @@ + +var CtrlPress=false,doc=document; +var rnd=Math.random(), +redHP=0.33, +yellowHP=0.66, +TimerOn=-1, +tkHP, +maxHP, +speed=100, +mspeed=100; +function setHP(a,b,c){ +tkHP=a; +maxHP=b; +vrem=c; +if(TimerOn>=0){ +clearTimeout(TimerOn);TimerOn=-1}setHPlocal()} + +function setHPlocal(){ +if(tkHP>maxHP){tkHP=maxHP;TimerOn=-1 +}else TimerOn=0;var a=Math.round(tkHP)+"/"+maxHP;a=120;var b=Math.round(a/maxHP*tkHP);a=a-b;if(doc.all("HP")){doc.HP1.width=b;doc.HP2.width=a;doc.HP2.display=a?"":"none";doc.HP1.src=tkHP/maxHP0){tkHP+=maxHP/(vrem*60);}if(TimerOn!=-1)TimerOn=setTimeout("setHPlocal()",delay*100)} diff --git a/js/inf.0.96.js b/js/inf.0.96.js new file mode 100644 index 0000000..d2a322f --- /dev/null +++ b/js/inf.0.96.js @@ -0,0 +1,119 @@ +function NewErrorTrap() { return true; } +function errtrap(nick) +{ + var OldErrorTrap = window.onerror; + window.onerror = NewErrorTrap; + if (window.opener) { // && window.opener.top.delay) { + document.write('Приватное сообщение'); + } + if (document.log != null) { window.top.location="/index.htm"; } + window.onerror = OldErrorTrap; +} + +function fastshow (content) { + var el = document.getElementById("mmoves"); + var o = window.event.srcElement; + if (content!='' && el.style.visibility != "visible") {el.innerHTML = ''+content+'';} + var x = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft + 3; + var y = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop+5; + el.style.left = x + "px"; + el.style.top = y + "px"; + if (el.style.visibility != "visible") { + el.style.visibility = "visible"; + } +} + +var gift = new Array('','',''); // gift_from_before, gift_from_after, gift_from_anonym; + +function quoteString(str){ + str = str.replace(/\\/g,'\\\\'); + str = str.replace(/\'/g,'\\\''); + str = str.replace(/\"/g,'\\"'); + str = str.replace(/\n/g,'\\n'); + return "'" + str + "'"; +} + +function DrawGift(name, flag, title, text, from, uid, width, height){ + var s = ('');
+  if (text)s+=text+'; + document.writeln(s); +} + + +function DG1(name, flag, title, text, from, uid){ + DrawGift(name, flag, title, text, from, uid, 61, 60); +} + +function DG2(name, flag, title, text, from, uid){ + DrawGift(name, flag, title, text, from, uid, 80, 74); +} + +function DF(name, flag, title, text, from, uid){ + DrawGift(name, flag, title, text, from, uid, 60, 60); +} + +function quote_url(s){ + var from = Array('+', ' ', '#'); + var to = Array('%2B', '+', '%23'); + for(var i=0;i=0) s= s.replace(from[i],to[i]); + return s; +} + +function ShowGift(title, name, img, text, from, y, uid) { + + var el = document.getElementById("mgift"); + var o = window.event.srcElement; + var stitle = (img & 8)? + '' + title + '': + ((img & 2)?'' + title + '': + title); + if (el.style.visibility !='visible'){ + if (uid){ + if (parseInt(uid))from = gift[0] + '' + from + '' + gift[1]; + else from = gift[0] + '' + from + '' + gift[1]; + }else if (from) from = gift[0] + ((from == 'АНТИБК Online')?from:'' + from + '') + gift[1]; + if (!from) from = gift[2]; + document.getElementById("mgift_sign").innerHTML = '' + (text?text+'
    ':'') + from + '
    '; + document.getElementById("mgift_title").innerHTML = '' + stitle + ''; + var eimg = document.getElementById("mgift_pict"); + if (!(img & 6)){ + eimg.innerHTML = '
    '+title+'

    '; + } else { + var s = ((img & 4)?'middle/':'big/3d'); + eimg.innerHTML = ''; + } + } + var x = 15; + // var y = y; # window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop; + el.style.left = x + "px"; + el.style.top = y + "px"; + if (el.style.visibility != "visible") { + el.style.visibility = "visible"; + } +} + +function hideshow () { + document.getElementById("mmoves").style.visibility = 'hidden'; +} + +function HideGift () { + document.getElementById("mgift").style.visibility = 'hidden'; +} + +function drawDivs(){ + document.writeln(''); + document.writeln(''); + +} + diff --git a/js/jax_dialog.js b/js/jax_dialog.js new file mode 100644 index 0000000..2dc6e9f --- /dev/null +++ b/js/jax_dialog.js @@ -0,0 +1,138 @@ +//------------------------------------ +function MagicInput(options, data, callback){ + this.data = data; + this.options = options; + this._callback = callback; +} + +MagicInput.prototype.toString = function(){ + return 'This is MagicInput object'; +} + +MagicInput.prototype.callback = function(){ + this._callback.apply(this, arguments); +} + +MagicInput.instance = function(el, data, callback){ +// var options = $(el).mapAttributes('mi-', true); + el = $(el); + var options = {}; + options['action'] = el.attr('mi-action'); + options['title'] = el.attr('mi-title'); + options['iface'] = el.attr('mi-iface'); + options['data'] = el.attr('mi-data'); + try{ + $.extend(data, options.data ? $.parseJSON(options.data) : {}); + delete options.data; + options.iface = 'mi' + options.iface.substring(0,1).toUpperCase() + options.iface.substring(1); + return input = new window[options.iface](options, data, callback); + }catch(e){ + console.log('MagicInput::instance ' + e); + throw e; + } +} +//------------------------------------ +function miNone(options, callback){ + miNote.superclass.constructor.apply(this, arguments); + this.callback(); +} +extend(miNone, MagicInput); + +miNone.prototype.toString = function(){ + return 'This is miNone object'; +} +//------------------------------------ +function miNote(options, callback){ + miNote.superclass.constructor.apply(this, arguments); + if(confirm('Eniieuciaaou "'+this.options.title+'" nae?an?')){ + this.callback() + } +} +extend(miNote, MagicInput); + +miNote.prototype.toString = function(){ + return 'This is miNote object'; +} +//------------------------------------ +function miDialog(options, data, callback, content, dialogOptions){ + miDialog.superclass.constructor.apply(this, arguments); + var mi = this; + this.dialog = content.dialog($.extend({},{ + title: this.options.title, + resizable: false, + minHeight: 20, + dialogClass: 'sand-style mi-container', + beforeClose: function(e, ui){ + var tmp = true; + if(1 * $(this).attr('submit')){ + mi._collect.call(mi); + if(tmp = mi._validation.call(mi)){ + return true; + } + } + $(this).attr('submit', 0); + return tmp; + }, + close: function(e, ui){ + if(1 * $(this).attr('submit')){ + mi.callback(); + } + mi.destroy(); + } + }, dialogOptions)) + .on('click','.dialog-submit',function(){ + $(this).closest('.ui-dialog-content').attr('submit', 1).dialog('close') + }) +} +extend(miDialog, MagicInput); + +miDialog.prototype.toString = function(){ + return 'This is ABSTRACT miDialog object'; +} + +miDialog.prototype.destroy = function(){ + this.dialog.dialog('destroy').remove(); +} + +miDialog._oneInput = function(p){ + var i = $('').attr('name',p.name); + if(p.grabber){ + h[p.grabber].set(i); + }else{ + i.select(); + } + return $('
    ') + .append('') + .append($('
    ').append(i)); +} + +miDialog.prototype._collect = function(){ + var mi = this; + this.dialog.find('[name]').each(function(){ + var el = $(this); + if(el.is('input[type="checkbox"]')){ + mi.data[el.attr('name')] = ~~el.is(':checked'); + return; + } + mi.data[el.attr('name')] = el.val(); + }) +} + +miDialog.prototype._validation = function(){ + return true; +} + +function miUser(options, data, callback){ + var mi = this; + miUser.superclass.constructor.call(this, options, data, callback, + $('
    Укажите логин персонажа :
    (можно кликнуть по логину в чате)
    ') + .append(miDialog._oneInput({name:'victim',grabber:'grabLogin'})), + {width: 250}); +} +extend(miUser, miDialog); + +miUser.prototype._validation = function(){ + this.data.victim = $.trim(this.data.victim); + return miUser.superclass._validation.apply(this) + && this.data.victim.length > 0; +} \ No newline at end of file diff --git a/js/jquery-1.7.2.min.js b/js/jquery-1.7.2.min.js new file mode 100644 index 0000000..2949828 --- /dev/null +++ b/js/jquery-1.7.2.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.7.2 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"":"")+""),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;e=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
    a",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="
    "+""+"
    ",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="
    t
    ",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="
    ",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function( +a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

    ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
    ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
    ","
    "]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f +.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(;d1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]===""&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
    ").append(c.replace(bM,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bN.test(this.nodeName)||bH.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b);return a},ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?ca(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bG.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bW+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bZ(bT,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)b_(g,a[g],c,e);return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n);try{m.text=h.responseText}catch(a){}try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/js/jquery.cookie.js b/js/jquery.cookie.js new file mode 100644 index 0000000..db442e6 --- /dev/null +++ b/js/jquery.cookie.js @@ -0,0 +1,51 @@ +/** + * Cookie plugin + * + * Copyright (c) 2006 Klaus Hartl (stilbuero.de) + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + */ + +jQuery.cookie = function(name, value, options) { + if (typeof value != 'undefined') { // name and value given, set cookie + options = options || {}; + if (value === null) { + value = ''; + options.expires = -1; + } + var expires = ''; + if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { + var date; + if (typeof options.expires == 'number') { + date = new Date(); + date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); + } else { + date = options.expires; + } + expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE + } + // CAUTION: Needed to parenthesize options.path and options.domain + // in the following expressions, otherwise they evaluate to undefined + // in the packed version for some reason... + var path = options.path ? '; path=' + (options.path) : ''; + var domain = options.domain ? '; domain=' + (options.domain) : ''; + var secure = options.secure ? '; secure' : ''; + document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); + } else { // only name given, get cookie + var cookieValue = null; + if (document.cookie && document.cookie != '') { + var cookies = document.cookie.split(';'); + for (var i = 0; i < cookies.length; i++) { + var cookie = jQuery.trim(cookies[i]); + // Does this cookie string begin with the name we want? + if (cookie.substring(0, name.length + 1) == (name + '=')) { + cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); + break; + } + } + } + return cookieValue; + } +}; \ No newline at end of file diff --git a/js/jquery.js b/js/jquery.js new file mode 100644 index 0000000..4fe7dfb --- /dev/null +++ b/js/jquery.js @@ -0,0 +1,7179 @@ +/*! + * jQuery JavaScript Library v1.4.4 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Nov 11 19:04:53 2010 -0500 + */ +(function( window, undefined ) { + +// Use the correct document accordingly with window argument (sandbox) +var document = window.document; +var jQuery = (function() { + +// Define a local copy of jQuery +var jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context ); + }, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // A central reference to the root jQuery(document) + rootjQuery, + + // A simple way to check for HTML strings or ID strings + // (both of which we optimize for) + quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/, + + // Is it a simple selector + isSimple = /^.[^:#\[\.,]*$/, + + // Check if a string has a non-whitespace character in it + rnotwhite = /\S/, + rwhite = /\s/, + + // Used for trimming whitespace + trimLeft = /^\s+/, + trimRight = /\s+$/, + + // Check for non-word characters + rnonword = /\W/, + + // Check for digits + rdigit = /\d/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, + rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + + // Useragent RegExp + rwebkit = /(webkit)[ \/]([\w.]+)/, + ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/, + rmsie = /(msie) ([\w.]+)/, + rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/, + + // Keep a UserAgent string for use with jQuery.browser + userAgent = navigator.userAgent, + + // For matching the engine and version of the browser + browserMatch, + + // Has the ready events already been bound? + readyBound = false, + + // The functions to execute on DOM ready + readyList = [], + + // The ready event handler + DOMContentLoaded, + + // Save a reference to some core methods + toString = Object.prototype.toString, + hasOwn = Object.prototype.hasOwnProperty, + push = Array.prototype.push, + slice = Array.prototype.slice, + trim = String.prototype.trim, + indexOf = Array.prototype.indexOf, + + // [[Class]] -> type pairs + class2type = {}; + +jQuery.fn = jQuery.prototype = { + init: function( selector, context ) { + var match, elem, ret, doc; + + // Handle $(""), $(null), or $(undefined) + if ( !selector ) { + return this; + } + + // Handle $(DOMElement) + if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + } + + // The body element only exists once, optimize finding it + if ( selector === "body" && !context && document.body ) { + this.context = document; + this[0] = document.body; + this.selector = "body"; + this.length = 1; + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + // Are we dealing with HTML string or an ID? + match = quickExpr.exec( selector ); + + // Verify a match, and that no context was specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + doc = (context ? context.ownerDocument || context : document); + + // If a single string is passed in and it's a single tag + // just do a createElement and skip the rest + ret = rsingleTag.exec( selector ); + + if ( ret ) { + if ( jQuery.isPlainObject( context ) ) { + selector = [ document.createElement( ret[1] ) ]; + jQuery.fn.attr.call( selector, context, true ); + + } else { + selector = [ doc.createElement( ret[1] ) ]; + } + + } else { + ret = jQuery.buildFragment( [ match[1] ], [ doc ] ); + selector = (ret.cacheable ? ret.fragment.cloneNode(true) : ret.fragment).childNodes; + } + + return jQuery.merge( this, selector ); + + // HANDLE: $("#id") + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $("TAG") + } else if ( !context && !rnonword.test( selector ) ) { + this.selector = selector; + this.context = document; + selector = document.getElementsByTagName( selector ); + return jQuery.merge( this, selector ); + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return (context || rootjQuery).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return jQuery( context ).find( selector ); + } + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if (selector.selector !== undefined) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The current version of jQuery being used + jquery: "1.4.4", + + // The default length of a jQuery object is 0 + length: 0, + + // The number of elements contained in the matched element set + size: function() { + return this.length; + }, + + toArray: function() { + return slice.call( this, 0 ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems, name, selector ) { + // Build a new jQuery matched element set + var ret = jQuery(); + + if ( jQuery.isArray( elems ) ) { + push.apply( ret, elems ); + + } else { + jQuery.merge( ret, elems ); + } + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + ret.context = this.context; + + if ( name === "find" ) { + ret.selector = this.selector + (this.selector ? " " : "") + selector; + } else if ( name ) { + ret.selector = this.selector + "." + name + "(" + selector + ")"; + } + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Attach the listeners + jQuery.bindReady(); + + // If the DOM is already ready + if ( jQuery.isReady ) { + // Execute the function immediately + fn.call( document, jQuery ); + + // Otherwise, remember the function for later + } else if ( readyList ) { + // Add the function to the wait list + readyList.push( fn ); + } + + return this; + }, + + eq: function( i ) { + return i === -1 ? + this.slice( i ) : + this.slice( i, +i + 1 ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ), + "slice", slice.call(arguments).join(",") ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || jQuery(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + noConflict: function( deep ) { + window.$ = _$; + + if ( deep ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + // A third-party is pushing the ready event forwards + if ( wait === true ) { + jQuery.readyWait--; + } + + // Make sure that the DOM is not already loaded + if ( !jQuery.readyWait || (wait !== true && !jQuery.isReady) ) { + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready, 1 ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + if ( readyList ) { + // Execute all of them + var fn, + i = 0, + ready = readyList; + + // Reset the list of functions + readyList = null; + + while ( (fn = ready[ i++ ]) ) { + fn.call( document, jQuery ); + } + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger( "ready" ).unbind( "ready" ); + } + } + } + }, + + bindReady: function() { + if ( readyBound ) { + return; + } + + readyBound = true; + + // Catch cases where $(document).ready() is called after the + // browser event has already occurred. + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + return setTimeout( jQuery.ready, 1 ); + } + + // Mozilla, Opera and webkit nightlies currently support this event + if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", jQuery.ready, false ); + + // If IE event model is used + } else if ( document.attachEvent ) { + // ensure firing before onload, + // maybe late but safe also for iframes + document.attachEvent("onreadystatechange", DOMContentLoaded); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", jQuery.ready ); + + // If IE and not a frame + // continually check to see if the document is ready + var toplevel = false; + + try { + toplevel = window.frameElement == null; + } catch(e) {} + + if ( document.documentElement.doScroll && toplevel ) { + doScrollCheck(); + } + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + // A crude way of determining if an object is a window + isWindow: function( obj ) { + return obj && typeof obj === "object" && "setInterval" in obj; + }, + + isNaN: function( obj ) { + return obj == null || !rdigit.test( obj ) || isNaN( obj ); + }, + + type: function( obj ) { + return obj == null ? + String( obj ) : + class2type[ toString.call(obj) ] || "object"; + }, + + isPlainObject: function( obj ) { + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + + var key; + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + for ( var name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw msg; + }, + + parseJSON: function( data ) { + if ( typeof data !== "string" || !data ) { + return null; + } + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test(data.replace(rvalidescape, "@") + .replace(rvalidtokens, "]") + .replace(rvalidbraces, "")) ) { + + // Try to use the native JSON parser first + return window.JSON && window.JSON.parse ? + window.JSON.parse( data ) : + (new Function("return " + data))(); + + } else { + jQuery.error( "Invalid JSON: " + data ); + } + }, + + noop: function() {}, + + // Evalulates a script in a global context + globalEval: function( data ) { + if ( data && rnotwhite.test(data) ) { + // Inspired by code by Andrea Giammarchi + // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html + var head = document.getElementsByTagName("head")[0] || document.documentElement, + script = document.createElement("script"); + + script.type = "text/javascript"; + + if ( jQuery.support.scriptEval ) { + script.appendChild( document.createTextNode( data ) ); + } else { + script.text = data; + } + + // Use insertBefore instead of appendChild to circumvent an IE6 bug. + // This arises when a base node is used (#2709). + head.insertBefore( script, head.firstChild ); + head.removeChild( script ); + } + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase(); + }, + + // args is for internal usage only + each: function( object, callback, args ) { + var name, i = 0, + length = object.length, + isObj = length === undefined || jQuery.isFunction(object); + + if ( args ) { + if ( isObj ) { + for ( name in object ) { + if ( callback.apply( object[ name ], args ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.apply( object[ i++ ], args ) === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isObj ) { + for ( name in object ) { + if ( callback.call( object[ name ], name, object[ name ] ) === false ) { + break; + } + } + } else { + for ( var value = object[0]; + i < length && callback.call( value, i, value ) !== false; value = object[++i] ) {} + } + } + + return object; + }, + + // Use native String.trim function wherever possible + trim: trim ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + text.toString().replace( trimLeft, "" ).replace( trimRight, "" ); + }, + + // results is for internal usage only + makeArray: function( array, results ) { + var ret = results || []; + + if ( array != null ) { + // The window, strings (and functions) also have 'length' + // The extra typeof function check is to prevent crashes + // in Safari 2 (See: #3039) + // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 + var type = jQuery.type(array); + + if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) { + push.call( ret, array ); + } else { + jQuery.merge( ret, array ); + } + } + + return ret; + }, + + inArray: function( elem, array ) { + if ( array.indexOf ) { + return array.indexOf( elem ); + } + + for ( var i = 0, length = array.length; i < length; i++ ) { + if ( array[ i ] === elem ) { + return i; + } + } + + return -1; + }, + + merge: function( first, second ) { + var i = first.length, + j = 0; + + if ( typeof second.length === "number" ) { + for ( var l = second.length; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var ret = [], retVal; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( var i = 0, length = elems.length; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var ret = [], value; + + // Go through the array, translating each of the items to their + // new value (or values). + for ( var i = 0, length = elems.length; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + return ret.concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + proxy: function( fn, proxy, thisObject ) { + if ( arguments.length === 2 ) { + if ( typeof proxy === "string" ) { + thisObject = fn; + fn = thisObject[ proxy ]; + proxy = undefined; + + } else if ( proxy && !jQuery.isFunction( proxy ) ) { + thisObject = proxy; + proxy = undefined; + } + } + + if ( !proxy && fn ) { + proxy = function() { + return fn.apply( thisObject || this, arguments ); + }; + } + + // Set the guid of unique handler to the same of original handler, so it can be removed + if ( fn ) { + proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++; + } + + // So proxy can be declared as an argument + return proxy; + }, + + // Mutifunctional method to get and set values to a collection + // The value/s can be optionally by executed if its a function + access: function( elems, key, value, exec, fn, pass ) { + var length = elems.length; + + // Setting many attributes + if ( typeof key === "object" ) { + for ( var k in key ) { + jQuery.access( elems, k, key[k], exec, fn, value ); + } + return elems; + } + + // Setting one attribute + if ( value !== undefined ) { + // Optionally, function values get executed if exec is true + exec = !pass && exec && jQuery.isFunction(value); + + for ( var i = 0; i < length; i++ ) { + fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); + } + + return elems; + } + + // Getting an attribute + return length ? fn( elems[0], key ) : undefined; + }, + + now: function() { + return (new Date()).getTime(); + }, + + // Use of jQuery.browser is frowned upon. + // More details: http://docs.jquery.com/Utilities/jQuery.browser + uaMatch: function( ua ) { + ua = ua.toLowerCase(); + + var match = rwebkit.exec( ua ) || + ropera.exec( ua ) || + rmsie.exec( ua ) || + ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) || + []; + + return { browser: match[1] || "", version: match[2] || "0" }; + }, + + browser: {} +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +browserMatch = jQuery.uaMatch( userAgent ); +if ( browserMatch.browser ) { + jQuery.browser[ browserMatch.browser ] = true; + jQuery.browser.version = browserMatch.version; +} + +// Deprecated, use jQuery.browser.webkit instead +if ( jQuery.browser.webkit ) { + jQuery.browser.safari = true; +} + +if ( indexOf ) { + jQuery.inArray = function( elem, array ) { + return indexOf.call( array, elem ); + }; +} + +// Verify that \s matches non-breaking spaces +// (IE fails on this test) +if ( !rwhite.test( "\xA0" ) ) { + trimLeft = /^[\s\xA0]+/; + trimRight = /[\s\xA0]+$/; +} + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); + +// Cleanup functions for the document ready method +if ( document.addEventListener ) { + DOMContentLoaded = function() { + document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + jQuery.ready(); + }; + +} else if ( document.attachEvent ) { + DOMContentLoaded = function() { + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( document.readyState === "complete" ) { + document.detachEvent( "onreadystatechange", DOMContentLoaded ); + jQuery.ready(); + } + }; +} + +// The DOM ready check for Internet Explorer +function doScrollCheck() { + if ( jQuery.isReady ) { + return; + } + + try { + // If IE is used, use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + document.documentElement.doScroll("left"); + } catch(e) { + setTimeout( doScrollCheck, 1 ); + return; + } + + // and execute any waiting functions + jQuery.ready(); +} + +// Expose jQuery to the global object +return (window.jQuery = window.$ = jQuery); + +})(); + + +(function() { + + jQuery.support = {}; + + var root = document.documentElement, + script = document.createElement("script"), + div = document.createElement("div"), + id = "script" + jQuery.now(); + + div.style.display = "none"; + div.innerHTML = "
    a"; + + var all = div.getElementsByTagName("*"), + a = div.getElementsByTagName("a")[0], + select = document.createElement("select"), + opt = select.appendChild( document.createElement("option") ); + + // Can't get basic test support + if ( !all || !all.length || !a ) { + return; + } + + jQuery.support = { + // IE strips leading whitespace when .innerHTML is used + leadingWhitespace: div.firstChild.nodeType === 3, + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + tbody: !div.getElementsByTagName("tbody").length, + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + htmlSerialize: !!div.getElementsByTagName("link").length, + + // Get the style information from getAttribute + // (IE uses .cssText insted) + style: /red/.test( a.getAttribute("style") ), + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + hrefNormalized: a.getAttribute("href") === "/a", + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + opacity: /^0.55$/.test( a.style.opacity ), + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + cssFloat: !!a.style.cssFloat, + + // Make sure that if no value is specified for a checkbox + // that it defaults to "on". + // (WebKit defaults to "" instead) + checkOn: div.getElementsByTagName("input")[0].value === "on", + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + optSelected: opt.selected, + + // Will be defined later + deleteExpando: true, + optDisabled: false, + checkClone: false, + scriptEval: false, + noCloneEvent: true, + boxModel: null, + inlineBlockNeedsLayout: false, + shrinkWrapBlocks: false, + reliableHiddenOffsets: true + }; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as diabled) + select.disabled = true; + jQuery.support.optDisabled = !opt.disabled; + + script.type = "text/javascript"; + try { + script.appendChild( document.createTextNode( "window." + id + "=1;" ) ); + } catch(e) {} + + root.insertBefore( script, root.firstChild ); + + // Make sure that the execution of code works by injecting a script + // tag with appendChild/createTextNode + // (IE doesn't support this, fails, and uses .text instead) + if ( window[ id ] ) { + jQuery.support.scriptEval = true; + delete window[ id ]; + } + + // Test to see if it's possible to delete an expando from an element + // Fails in Internet Explorer + try { + delete script.test; + + } catch(e) { + jQuery.support.deleteExpando = false; + } + + root.removeChild( script ); + + if ( div.attachEvent && div.fireEvent ) { + div.attachEvent("onclick", function click() { + // Cloning a node shouldn't copy over any + // bound event handlers (IE does this) + jQuery.support.noCloneEvent = false; + div.detachEvent("onclick", click); + }); + div.cloneNode(true).fireEvent("onclick"); + } + + div = document.createElement("div"); + div.innerHTML = ""; + + var fragment = document.createDocumentFragment(); + fragment.appendChild( div.firstChild ); + + // WebKit doesn't clone checked state correctly in fragments + jQuery.support.checkClone = fragment.cloneNode(true).cloneNode(true).lastChild.checked; + + // Figure out if the W3C box model works as expected + // document.body must exist before we can do this + jQuery(function() { + var div = document.createElement("div"); + div.style.width = div.style.paddingLeft = "1px"; + + document.body.appendChild( div ); + jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2; + + if ( "zoom" in div.style ) { + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + // (IE < 8 does this) + div.style.display = "inline"; + div.style.zoom = 1; + jQuery.support.inlineBlockNeedsLayout = div.offsetWidth === 2; + + // Check if elements with layout shrink-wrap their children + // (IE 6 does this) + div.style.display = ""; + div.innerHTML = "
    "; + jQuery.support.shrinkWrapBlocks = div.offsetWidth !== 2; + } + + div.innerHTML = "
    t
    "; + var tds = div.getElementsByTagName("td"); + + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + // (only IE 8 fails this test) + jQuery.support.reliableHiddenOffsets = tds[0].offsetHeight === 0; + + tds[0].style.display = ""; + tds[1].style.display = "none"; + + // Check if empty table cells still have offsetWidth/Height + // (IE < 8 fail this test) + jQuery.support.reliableHiddenOffsets = jQuery.support.reliableHiddenOffsets && tds[0].offsetHeight === 0; + div.innerHTML = ""; + + document.body.removeChild( div ).style.display = "none"; + div = tds = null; + }); + + // Technique from Juriy Zaytsev + // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/ + var eventSupported = function( eventName ) { + var el = document.createElement("div"); + eventName = "on" + eventName; + + var isSupported = (eventName in el); + if ( !isSupported ) { + el.setAttribute(eventName, "return;"); + isSupported = typeof el[eventName] === "function"; + } + el = null; + + return isSupported; + }; + + jQuery.support.submitBubbles = eventSupported("submit"); + jQuery.support.changeBubbles = eventSupported("change"); + + // release memory in IE + root = script = div = all = a = null; +})(); + + + +var windowData = {}, + rbrace = /^(?:\{.*\}|\[.*\])$/; + +jQuery.extend({ + cache: {}, + + // Please use with caution + uuid: 0, + + // Unique for each copy of jQuery on the page + expando: "jQuery" + jQuery.now(), + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", + "applet": true + }, + + data: function( elem, name, data ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + elem = elem == window ? + windowData : + elem; + + var isNode = elem.nodeType, + id = isNode ? elem[ jQuery.expando ] : null, + cache = jQuery.cache, thisCache; + + if ( isNode && !id && typeof name === "string" && data === undefined ) { + return; + } + + // Get the data from the object directly + if ( !isNode ) { + cache = elem; + + // Compute a unique ID for the element + } else if ( !id ) { + elem[ jQuery.expando ] = id = ++jQuery.uuid; + } + + // Avoid generating a new cache unless none exists and we + // want to manipulate it. + if ( typeof name === "object" ) { + if ( isNode ) { + cache[ id ] = jQuery.extend(cache[ id ], name); + + } else { + jQuery.extend( cache, name ); + } + + } else if ( isNode && !cache[ id ] ) { + cache[ id ] = {}; + } + + thisCache = isNode ? cache[ id ] : cache; + + // Prevent overriding the named cache with undefined values + if ( data !== undefined ) { + thisCache[ name ] = data; + } + + return typeof name === "string" ? thisCache[ name ] : thisCache; + }, + + removeData: function( elem, name ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + elem = elem == window ? + windowData : + elem; + + var isNode = elem.nodeType, + id = isNode ? elem[ jQuery.expando ] : elem, + cache = jQuery.cache, + thisCache = isNode ? cache[ id ] : id; + + // If we want to remove a specific section of the element's data + if ( name ) { + if ( thisCache ) { + // Remove the section of cache data + delete thisCache[ name ]; + + // If we've removed all the data, remove the element's cache + if ( isNode && jQuery.isEmptyObject(thisCache) ) { + jQuery.removeData( elem ); + } + } + + // Otherwise, we want to remove all of the element's data + } else { + if ( isNode && jQuery.support.deleteExpando ) { + delete elem[ jQuery.expando ]; + + } else if ( elem.removeAttribute ) { + elem.removeAttribute( jQuery.expando ); + + // Completely remove the data cache + } else if ( isNode ) { + delete cache[ id ]; + + // Remove all fields from the object + } else { + for ( var n in elem ) { + delete elem[ n ]; + } + } + } + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + if ( elem.nodeName ) { + var match = jQuery.noData[ elem.nodeName.toLowerCase() ]; + + if ( match ) { + return !(match === true || elem.getAttribute("classid") !== match); + } + } + + return true; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var data = null; + + if ( typeof key === "undefined" ) { + if ( this.length ) { + var attr = this[0].attributes, name; + data = jQuery.data( this[0] ); + + for ( var i = 0, l = attr.length; i < l; i++ ) { + name = attr[i].name; + + if ( name.indexOf( "data-" ) === 0 ) { + name = name.substr( 5 ); + dataAttr( this[0], name, data[ name ] ); + } + } + } + + return data; + + } else if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + var parts = key.split("."); + parts[1] = parts[1] ? "." + parts[1] : ""; + + if ( value === undefined ) { + data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); + + // Try to fetch any internally stored data first + if ( data === undefined && this.length ) { + data = jQuery.data( this[0], key ); + data = dataAttr( this[0], key, data ); + } + + return data === undefined && parts[1] ? + this.data( parts[0] ) : + data; + + } else { + return this.each(function() { + var $this = jQuery( this ), + args = [ parts[0], value ]; + + $this.triggerHandler( "setData" + parts[1] + "!", args ); + jQuery.data( this, key, value ); + $this.triggerHandler( "changeData" + parts[1] + "!", args ); + }); + } + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + data = elem.getAttribute( "data-" + key ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + !jQuery.isNaN( data ) ? parseFloat( data ) : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + + + + +jQuery.extend({ + queue: function( elem, type, data ) { + if ( !elem ) { + return; + } + + type = (type || "fx") + "queue"; + var q = jQuery.data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( !data ) { + return q || []; + } + + if ( !q || jQuery.isArray(data) ) { + q = jQuery.data( elem, type, jQuery.makeArray(data) ); + + } else { + q.push( data ); + } + + return q; + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + fn = queue.shift(); + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + } + + if ( fn ) { + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift("inprogress"); + } + + fn.call(elem, function() { + jQuery.dequeue(elem, type); + }); + } + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + } + + if ( data === undefined ) { + return jQuery.queue( this[0], type ); + } + return this.each(function( i ) { + var queue = jQuery.queue( this, type, data ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[time] || time : time; + type = type || "fx"; + + return this.queue( type, function() { + var elem = this; + setTimeout(function() { + jQuery.dequeue( elem, type ); + }, time ); + }); + }, + + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + } +}); + + + + +var rclass = /[\n\t]/g, + rspaces = /\s+/, + rreturn = /\r/g, + rspecialurl = /^(?:href|src|style)$/, + rtype = /^(?:button|input)$/i, + rfocusable = /^(?:button|input|object|select|textarea)$/i, + rclickable = /^a(?:rea)?$/i, + rradiocheck = /^(?:radio|checkbox)$/i; + +jQuery.props = { + "for": "htmlFor", + "class": "className", + readonly: "readOnly", + maxlength: "maxLength", + cellspacing: "cellSpacing", + rowspan: "rowSpan", + colspan: "colSpan", + tabindex: "tabIndex", + usemap: "useMap", + frameborder: "frameBorder" +}; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, name, value, true, jQuery.attr ); + }, + + removeAttr: function( name, fn ) { + return this.each(function(){ + jQuery.attr( this, name, "" ); + if ( this.nodeType === 1 ) { + this.removeAttribute( name ); + } + }); + }, + + addClass: function( value ) { + if ( jQuery.isFunction(value) ) { + return this.each(function(i) { + var self = jQuery(this); + self.addClass( value.call(this, i, self.attr("class")) ); + }); + } + + if ( value && typeof value === "string" ) { + var classNames = (value || "").split( rspaces ); + + for ( var i = 0, l = this.length; i < l; i++ ) { + var elem = this[i]; + + if ( elem.nodeType === 1 ) { + if ( !elem.className ) { + elem.className = value; + + } else { + var className = " " + elem.className + " ", + setClass = elem.className; + + for ( var c = 0, cl = classNames.length; c < cl; c++ ) { + if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) { + setClass += " " + classNames[c]; + } + } + elem.className = jQuery.trim( setClass ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + if ( jQuery.isFunction(value) ) { + return this.each(function(i) { + var self = jQuery(this); + self.removeClass( value.call(this, i, self.attr("class")) ); + }); + } + + if ( (value && typeof value === "string") || value === undefined ) { + var classNames = (value || "").split( rspaces ); + + for ( var i = 0, l = this.length; i < l; i++ ) { + var elem = this[i]; + + if ( elem.nodeType === 1 && elem.className ) { + if ( value ) { + var className = (" " + elem.className + " ").replace(rclass, " "); + for ( var c = 0, cl = classNames.length; c < cl; c++ ) { + className = className.replace(" " + classNames[c] + " ", " "); + } + elem.className = jQuery.trim( className ); + + } else { + elem.className = ""; + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isBool = typeof stateVal === "boolean"; + + if ( jQuery.isFunction( value ) ) { + return this.each(function(i) { + var self = jQuery(this); + self.toggleClass( value.call(this, i, self.attr("class"), stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + state = stateVal, + classNames = value.split( rspaces ); + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space seperated list + state = isBool ? state : !self.hasClass( className ); + self[ state ? "addClass" : "removeClass" ]( className ); + } + + } else if ( type === "undefined" || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery.data( this, "__className__", this.className ); + } + + // toggle whole className + this.className = this.className || value === false ? "" : jQuery.data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " "; + for ( var i = 0, l = this.length; i < l; i++ ) { + if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + if ( !arguments.length ) { + var elem = this[0]; + + if ( elem ) { + if ( jQuery.nodeName( elem, "option" ) ) { + // attributes.value is undefined in Blackberry 4.7 but + // uses .value. See #6932 + var val = elem.attributes.value; + return !val || val.specified ? elem.value : elem.text; + } + + // We need to handle select boxes special + if ( jQuery.nodeName( elem, "select" ) ) { + var index = elem.selectedIndex, + values = [], + options = elem.options, + one = elem.type === "select-one"; + + // Nothing was selected + if ( index < 0 ) { + return null; + } + + // Loop through all the selected options + for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { + var option = options[ i ]; + + // Don't return options that are disabled or in a disabled optgroup + if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) && + (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) { + + // Get the specific value for the option + value = jQuery(option).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + } + + // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified + if ( rradiocheck.test( elem.type ) && !jQuery.support.checkOn ) { + return elem.getAttribute("value") === null ? "on" : elem.value; + } + + + // Everything else, we just grab the value + return (elem.value || "").replace(rreturn, ""); + + } + + return undefined; + } + + var isFunction = jQuery.isFunction(value); + + return this.each(function(i) { + var self = jQuery(this), val = value; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call(this, i, self.val()); + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray(val) ) { + val = jQuery.map(val, function (value) { + return value == null ? "" : value + ""; + }); + } + + if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) { + this.checked = jQuery.inArray( self.val(), val ) >= 0; + + } else if ( jQuery.nodeName( this, "select" ) ) { + var values = jQuery.makeArray(val); + + jQuery( "option", this ).each(function() { + this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; + }); + + if ( !values.length ) { + this.selectedIndex = -1; + } + + } else { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + attrFn: { + val: true, + css: true, + html: true, + text: true, + data: true, + width: true, + height: true, + offset: true + }, + + attr: function( elem, name, value, pass ) { + // don't set attributes on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { + return undefined; + } + + if ( pass && name in jQuery.attrFn ) { + return jQuery(elem)[name](value); + } + + var notxml = elem.nodeType !== 1 || !jQuery.isXMLDoc( elem ), + // Whether we are setting (or getting) + set = value !== undefined; + + // Try to normalize/fix the name + name = notxml && jQuery.props[ name ] || name; + + // These attributes require special treatment + var special = rspecialurl.test( name ); + + // Safari mis-reports the default selected property of an option + // Accessing the parent's selectedIndex property fixes it + if ( name === "selected" && !jQuery.support.optSelected ) { + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + + // If applicable, access the attribute via the DOM 0 way + // 'in' checks fail in Blackberry 4.7 #6931 + if ( (name in elem || elem[ name ] !== undefined) && notxml && !special ) { + if ( set ) { + // We can't allow the type property to be changed (since it causes problems in IE) + if ( name === "type" && rtype.test( elem.nodeName ) && elem.parentNode ) { + jQuery.error( "type property can't be changed" ); + } + + if ( value === null ) { + if ( elem.nodeType === 1 ) { + elem.removeAttribute( name ); + } + + } else { + elem[ name ] = value; + } + } + + // browsers index elements by id/name on forms, give priority to attributes. + if ( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) ) { + return elem.getAttributeNode( name ).nodeValue; + } + + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + if ( name === "tabIndex" ) { + var attributeNode = elem.getAttributeNode( "tabIndex" ); + + return attributeNode && attributeNode.specified ? + attributeNode.value : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + undefined; + } + + return elem[ name ]; + } + + if ( !jQuery.support.style && notxml && name === "style" ) { + if ( set ) { + elem.style.cssText = "" + value; + } + + return elem.style.cssText; + } + + if ( set ) { + // convert the value to a string (all browsers do this but IE) see #1070 + elem.setAttribute( name, "" + value ); + } + + // Ensure that missing attributes return undefined + // Blackberry 4.7 returns "" from getAttribute #6938 + if ( !elem.attributes[ name ] && (elem.hasAttribute && !elem.hasAttribute( name )) ) { + return undefined; + } + + var attr = !jQuery.support.hrefNormalized && notxml && special ? + // Some attributes require a special call on IE + elem.getAttribute( name, 2 ) : + elem.getAttribute( name ); + + // Non-existent attributes return null, we normalize to undefined + return attr === null ? undefined : attr; + } +}); + + + + +var rnamespaces = /\.(.*)$/, + rformElems = /^(?:textarea|input|select)$/i, + rperiod = /\./g, + rspace = / /g, + rescape = /[^\w\s.|`]/g, + fcleanup = function( nm ) { + return nm.replace(rescape, "\\$&"); + }, + focusCounts = { focusin: 0, focusout: 0 }; + +/* + * A number of helper functions used for managing events. + * Many of the ideas behind this code originated from + * Dean Edwards' addEvent library. + */ +jQuery.event = { + + // Bind an event to an element + // Original by Dean Edwards + add: function( elem, types, handler, data ) { + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // For whatever reason, IE has trouble passing the window object + // around, causing it to be cloned in the process + if ( jQuery.isWindow( elem ) && ( elem !== window && !elem.frameElement ) ) { + elem = window; + } + + if ( handler === false ) { + handler = returnFalse; + } else if ( !handler ) { + // Fixes bug #7229. Fix recommended by jdalton + return; + } + + var handleObjIn, handleObj; + + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + } + + // Make sure that the function being executed has a unique ID + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure + var elemData = jQuery.data( elem ); + + // If no elemData is found then we must be trying to bind to one of the + // banned noData elements + if ( !elemData ) { + return; + } + + // Use a key less likely to result in collisions for plain JS objects. + // Fixes bug #7150. + var eventKey = elem.nodeType ? "events" : "__events__", + events = elemData[ eventKey ], + eventHandle = elemData.handle; + + if ( typeof events === "function" ) { + // On plain objects events is a fn that holds the the data + // which prevents this data from being JSON serialized + // the function does not need to be called, it just contains the data + eventHandle = events.handle; + events = events.events; + + } else if ( !events ) { + if ( !elem.nodeType ) { + // On plain objects, create a fn that acts as the holder + // of the values to avoid JSON serialization of event data + elemData[ eventKey ] = elemData = function(){}; + } + + elemData.events = events = {}; + } + + if ( !eventHandle ) { + elemData.handle = eventHandle = function() { + // Handle the second event of a trigger and when + // an event is called after a page has unloaded + return typeof jQuery !== "undefined" && !jQuery.event.triggered ? + jQuery.event.handle.apply( eventHandle.elem, arguments ) : + undefined; + }; + } + + // Add elem as a property of the handle function + // This is to prevent a memory leak with non-native events in IE. + eventHandle.elem = elem; + + // Handle multiple events separated by a space + // jQuery(...).bind("mouseover mouseout", fn); + types = types.split(" "); + + var type, i = 0, namespaces; + + while ( (type = types[ i++ ]) ) { + handleObj = handleObjIn ? + jQuery.extend({}, handleObjIn) : + { handler: handler, data: data }; + + // Namespaced event handlers + if ( type.indexOf(".") > -1 ) { + namespaces = type.split("."); + type = namespaces.shift(); + handleObj.namespace = namespaces.slice(0).sort().join("."); + + } else { + namespaces = []; + handleObj.namespace = ""; + } + + handleObj.type = type; + if ( !handleObj.guid ) { + handleObj.guid = handler.guid; + } + + // Get the current list of functions bound to this event + var handlers = events[ type ], + special = jQuery.event.special[ type ] || {}; + + // Init the event handler queue + if ( !handlers ) { + handlers = events[ type ] = []; + + // Check for a special event handler + // Only use addEventListener/attachEvent if the special + // events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add the function to the element's handler list + handlers.push( handleObj ); + + // Keep track of which events have been used, for global triggering + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + global: {}, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, pos ) { + // don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + if ( handler === false ) { + handler = returnFalse; + } + + var ret, type, fn, j, i = 0, all, namespaces, namespace, special, eventType, handleObj, origType, + eventKey = elem.nodeType ? "events" : "__events__", + elemData = jQuery.data( elem ), + events = elemData && elemData[ eventKey ]; + + if ( !elemData || !events ) { + return; + } + + if ( typeof events === "function" ) { + elemData = events; + events = events.events; + } + + // types is actually an event object here + if ( types && types.type ) { + handler = types.handler; + types = types.type; + } + + // Unbind all events for the element + if ( !types || typeof types === "string" && types.charAt(0) === "." ) { + types = types || ""; + + for ( type in events ) { + jQuery.event.remove( elem, type + types ); + } + + return; + } + + // Handle multiple events separated by a space + // jQuery(...).unbind("mouseover mouseout", fn); + types = types.split(" "); + + while ( (type = types[ i++ ]) ) { + origType = type; + handleObj = null; + all = type.indexOf(".") < 0; + namespaces = []; + + if ( !all ) { + // Namespaced event handlers + namespaces = type.split("."); + type = namespaces.shift(); + + namespace = new RegExp("(^|\\.)" + + jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)"); + } + + eventType = events[ type ]; + + if ( !eventType ) { + continue; + } + + if ( !handler ) { + for ( j = 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( all || namespace.test( handleObj.namespace ) ) { + jQuery.event.remove( elem, origType, handleObj.handler, j ); + eventType.splice( j--, 1 ); + } + } + + continue; + } + + special = jQuery.event.special[ type ] || {}; + + for ( j = pos || 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( handler.guid === handleObj.guid ) { + // remove the given handler for the given type + if ( all || namespace.test( handleObj.namespace ) ) { + if ( pos == null ) { + eventType.splice( j--, 1 ); + } + + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + + if ( pos != null ) { + break; + } + } + } + + // remove generic event handler if no more handlers exist + if ( eventType.length === 0 || pos != null && eventType.length === 1 ) { + if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + ret = null; + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + var handle = elemData.handle; + if ( handle ) { + handle.elem = null; + } + + delete elemData.events; + delete elemData.handle; + + if ( typeof elemData === "function" ) { + jQuery.removeData( elem, eventKey ); + + } else if ( jQuery.isEmptyObject( elemData ) ) { + jQuery.removeData( elem ); + } + } + }, + + // bubbling is internal + trigger: function( event, data, elem /*, bubbling */ ) { + // Event object or event type + var type = event.type || event, + bubbling = arguments[3]; + + if ( !bubbling ) { + event = typeof event === "object" ? + // jQuery.Event object + event[ jQuery.expando ] ? event : + // Object literal + jQuery.extend( jQuery.Event(type), event ) : + // Just the event type (string) + jQuery.Event(type); + + if ( type.indexOf("!") >= 0 ) { + event.type = type = type.slice(0, -1); + event.exclusive = true; + } + + // Handle a global trigger + if ( !elem ) { + // Don't bubble custom events when global (to avoid too much overhead) + event.stopPropagation(); + + // Only trigger if we've ever bound an event for it + if ( jQuery.event.global[ type ] ) { + jQuery.each( jQuery.cache, function() { + if ( this.events && this.events[type] ) { + jQuery.event.trigger( event, data, this.handle.elem ); + } + }); + } + } + + // Handle triggering a single element + + // don't do events on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { + return undefined; + } + + // Clean up in case it is reused + event.result = undefined; + event.target = elem; + + // Clone the incoming data, if any + data = jQuery.makeArray( data ); + data.unshift( event ); + } + + event.currentTarget = elem; + + // Trigger the event, it is assumed that "handle" is a function + var handle = elem.nodeType ? + jQuery.data( elem, "handle" ) : + (jQuery.data( elem, "__events__" ) || {}).handle; + + if ( handle ) { + handle.apply( elem, data ); + } + + var parent = elem.parentNode || elem.ownerDocument; + + // Trigger an inline bound script + try { + if ( !(elem && elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()]) ) { + if ( elem[ "on" + type ] && elem[ "on" + type ].apply( elem, data ) === false ) { + event.result = false; + event.preventDefault(); + } + } + + // prevent IE from throwing an error for some elements with some event types, see #3533 + } catch (inlineError) {} + + if ( !event.isPropagationStopped() && parent ) { + jQuery.event.trigger( event, data, parent, true ); + + } else if ( !event.isDefaultPrevented() ) { + var old, + target = event.target, + targetType = type.replace( rnamespaces, "" ), + isClick = jQuery.nodeName( target, "a" ) && targetType === "click", + special = jQuery.event.special[ targetType ] || {}; + + if ( (!special._default || special._default.call( elem, event ) === false) && + !isClick && !(target && target.nodeName && jQuery.noData[target.nodeName.toLowerCase()]) ) { + + try { + if ( target[ targetType ] ) { + // Make sure that we don't accidentally re-trigger the onFOO events + old = target[ "on" + targetType ]; + + if ( old ) { + target[ "on" + targetType ] = null; + } + + jQuery.event.triggered = true; + target[ targetType ](); + } + + // prevent IE from throwing an error for some elements with some event types, see #3533 + } catch (triggerError) {} + + if ( old ) { + target[ "on" + targetType ] = old; + } + + jQuery.event.triggered = false; + } + } + }, + + handle: function( event ) { + var all, handlers, namespaces, namespace_re, events, + namespace_sort = [], + args = jQuery.makeArray( arguments ); + + event = args[0] = jQuery.event.fix( event || window.event ); + event.currentTarget = this; + + // Namespaced event handlers + all = event.type.indexOf(".") < 0 && !event.exclusive; + + if ( !all ) { + namespaces = event.type.split("."); + event.type = namespaces.shift(); + namespace_sort = namespaces.slice(0).sort(); + namespace_re = new RegExp("(^|\\.)" + namespace_sort.join("\\.(?:.*\\.)?") + "(\\.|$)"); + } + + event.namespace = event.namespace || namespace_sort.join("."); + + events = jQuery.data(this, this.nodeType ? "events" : "__events__"); + + if ( typeof events === "function" ) { + events = events.events; + } + + handlers = (events || {})[ event.type ]; + + if ( events && handlers ) { + // Clone the handlers to prevent manipulation + handlers = handlers.slice(0); + + for ( var j = 0, l = handlers.length; j < l; j++ ) { + var handleObj = handlers[ j ]; + + // Filter the functions by class + if ( all || namespace_re.test( handleObj.namespace ) ) { + // Pass in a reference to the handler function itself + // So that we can later remove it + event.handler = handleObj.handler; + event.data = handleObj.data; + event.handleObj = handleObj; + + var ret = handleObj.handler.apply( this, args ); + + if ( ret !== undefined ) { + event.result = ret; + if ( ret === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + + if ( event.isImmediatePropagationStopped() ) { + break; + } + } + } + } + + return event.result; + }, + + props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // store a copy of the original event object + // and "clone" to set read-only properties + var originalEvent = event; + event = jQuery.Event( originalEvent ); + + for ( var i = this.props.length, prop; i; ) { + prop = this.props[ --i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Fix target property, if necessary + if ( !event.target ) { + // Fixes #1925 where srcElement might not be defined either + event.target = event.srcElement || document; + } + + // check if target is a textnode (safari) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && event.fromElement ) { + event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement; + } + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && event.clientX != null ) { + var doc = document.documentElement, + body = document.body; + + event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0); + event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0); + } + + // Add which for key events + if ( event.which == null && (event.charCode != null || event.keyCode != null) ) { + event.which = event.charCode != null ? event.charCode : event.keyCode; + } + + // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs) + if ( !event.metaKey && event.ctrlKey ) { + event.metaKey = event.ctrlKey; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && event.button !== undefined ) { + event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) )); + } + + return event; + }, + + // Deprecated, use jQuery.guid instead + guid: 1E8, + + // Deprecated, use jQuery.proxy instead + proxy: jQuery.proxy, + + special: { + ready: { + // Make sure the ready event is setup + setup: jQuery.bindReady, + teardown: jQuery.noop + }, + + live: { + add: function( handleObj ) { + jQuery.event.add( this, + liveConvert( handleObj.origType, handleObj.selector ), + jQuery.extend({}, handleObj, {handler: liveHandler, guid: handleObj.handler.guid}) ); + }, + + remove: function( handleObj ) { + jQuery.event.remove( this, liveConvert( handleObj.origType, handleObj.selector ), handleObj ); + } + }, + + beforeunload: { + setup: function( data, namespaces, eventHandle ) { + // We only want to do this special case on windows + if ( jQuery.isWindow( this ) ) { + this.onbeforeunload = eventHandle; + } + }, + + teardown: function( namespaces, eventHandle ) { + if ( this.onbeforeunload === eventHandle ) { + this.onbeforeunload = null; + } + } + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + if ( elem.detachEvent ) { + elem.detachEvent( "on" + type, handle ); + } + }; + +jQuery.Event = function( src ) { + // Allow instantiation without the 'new' keyword + if ( !this.preventDefault ) { + return new jQuery.Event( src ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + // Event type + } else { + this.type = src; + } + + // timeStamp is buggy for some events on Firefox(#3843) + // So we won't rely on the native value + this.timeStamp = jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +function returnFalse() { + return false; +} +function returnTrue() { + return true; +} + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + preventDefault: function() { + this.isDefaultPrevented = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + + // if preventDefault exists run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // otherwise set the returnValue property of the original event to false (IE) + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + this.isPropagationStopped = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + // if stopPropagation exists run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + // otherwise set the cancelBubble property of the original event to true (IE) + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + }, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse +}; + +// Checks if an event happened on an element within another element +// Used in jQuery.event.special.mouseenter and mouseleave handlers +var withinElement = function( event ) { + // Check if mouse(over|out) are still within the same parent element + var parent = event.relatedTarget; + + // Firefox sometimes assigns relatedTarget a XUL element + // which we cannot access the parentNode property of + try { + // Traverse up the tree + while ( parent && parent !== this ) { + parent = parent.parentNode; + } + + if ( parent !== this ) { + // set the correct event type + event.type = event.data; + + // handle event if we actually just moused on to a non sub-element + jQuery.event.handle.apply( this, arguments ); + } + + // assuming we've left the element since we most likely mousedover a xul element + } catch(e) { } +}, + +// In case of event delegation, we only need to rename the event.type, +// liveHandler will take care of the rest. +delegate = function( event ) { + event.type = event.data; + jQuery.event.handle.apply( this, arguments ); +}; + +// Create mouseenter and mouseleave events +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + setup: function( data ) { + jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig ); + }, + teardown: function( data ) { + jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement ); + } + }; +}); + +// submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function( data, namespaces ) { + if ( this.nodeName.toLowerCase() !== "form" ) { + jQuery.event.add(this, "click.specialSubmit", function( e ) { + var elem = e.target, + type = elem.type; + + if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) { + e.liveFired = undefined; + return trigger( "submit", this, arguments ); + } + }); + + jQuery.event.add(this, "keypress.specialSubmit", function( e ) { + var elem = e.target, + type = elem.type; + + if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) { + e.liveFired = undefined; + return trigger( "submit", this, arguments ); + } + }); + + } else { + return false; + } + }, + + teardown: function( namespaces ) { + jQuery.event.remove( this, ".specialSubmit" ); + } + }; + +} + +// change delegation, happens here so we have bind. +if ( !jQuery.support.changeBubbles ) { + + var changeFilters, + + getVal = function( elem ) { + var type = elem.type, val = elem.value; + + if ( type === "radio" || type === "checkbox" ) { + val = elem.checked; + + } else if ( type === "select-multiple" ) { + val = elem.selectedIndex > -1 ? + jQuery.map( elem.options, function( elem ) { + return elem.selected; + }).join("-") : + ""; + + } else if ( elem.nodeName.toLowerCase() === "select" ) { + val = elem.selectedIndex; + } + + return val; + }, + + testChange = function testChange( e ) { + var elem = e.target, data, val; + + if ( !rformElems.test( elem.nodeName ) || elem.readOnly ) { + return; + } + + data = jQuery.data( elem, "_change_data" ); + val = getVal(elem); + + // the current data will be also retrieved by beforeactivate + if ( e.type !== "focusout" || elem.type !== "radio" ) { + jQuery.data( elem, "_change_data", val ); + } + + if ( data === undefined || val === data ) { + return; + } + + if ( data != null || val ) { + e.type = "change"; + e.liveFired = undefined; + return jQuery.event.trigger( e, arguments[1], elem ); + } + }; + + jQuery.event.special.change = { + filters: { + focusout: testChange, + + beforedeactivate: testChange, + + click: function( e ) { + var elem = e.target, type = elem.type; + + if ( type === "radio" || type === "checkbox" || elem.nodeName.toLowerCase() === "select" ) { + return testChange.call( this, e ); + } + }, + + // Change has to be called before submit + // Keydown will be called before keypress, which is used in submit-event delegation + keydown: function( e ) { + var elem = e.target, type = elem.type; + + if ( (e.keyCode === 13 && elem.nodeName.toLowerCase() !== "textarea") || + (e.keyCode === 32 && (type === "checkbox" || type === "radio")) || + type === "select-multiple" ) { + return testChange.call( this, e ); + } + }, + + // Beforeactivate happens also before the previous element is blurred + // with this event you can't trigger a change event, but you can store + // information + beforeactivate: function( e ) { + var elem = e.target; + jQuery.data( elem, "_change_data", getVal(elem) ); + } + }, + + setup: function( data, namespaces ) { + if ( this.type === "file" ) { + return false; + } + + for ( var type in changeFilters ) { + jQuery.event.add( this, type + ".specialChange", changeFilters[type] ); + } + + return rformElems.test( this.nodeName ); + }, + + teardown: function( namespaces ) { + jQuery.event.remove( this, ".specialChange" ); + + return rformElems.test( this.nodeName ); + } + }; + + changeFilters = jQuery.event.special.change.filters; + + // Handle when the input is .focus()'d + changeFilters.focus = changeFilters.beforeactivate; +} + +function trigger( type, elem, args ) { + args[0].type = type; + return jQuery.event.handle.apply( elem, args ); +} + +// Create "bubbling" focus and blur events +if ( document.addEventListener ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + jQuery.event.special[ fix ] = { + setup: function() { + if ( focusCounts[fix]++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --focusCounts[fix] === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + + function handler( e ) { + e = jQuery.event.fix( e ); + e.type = fix; + return jQuery.event.trigger( e, null, e.target ); + } + }); +} + +jQuery.each(["bind", "one"], function( i, name ) { + jQuery.fn[ name ] = function( type, data, fn ) { + // Handle object literals + if ( typeof type === "object" ) { + for ( var key in type ) { + this[ name ](key, data, type[key], fn); + } + return this; + } + + if ( jQuery.isFunction( data ) || data === false ) { + fn = data; + data = undefined; + } + + var handler = name === "one" ? jQuery.proxy( fn, function( event ) { + jQuery( this ).unbind( event, handler ); + return fn.apply( this, arguments ); + }) : fn; + + if ( type === "unload" && name !== "one" ) { + this.one( type, data, fn ); + + } else { + for ( var i = 0, l = this.length; i < l; i++ ) { + jQuery.event.add( this[i], type, handler, data ); + } + } + + return this; + }; +}); + +jQuery.fn.extend({ + unbind: function( type, fn ) { + // Handle object literals + if ( typeof type === "object" && !type.preventDefault ) { + for ( var key in type ) { + this.unbind(key, type[key]); + } + + } else { + for ( var i = 0, l = this.length; i < l; i++ ) { + jQuery.event.remove( this[i], type, fn ); + } + } + + return this; + }, + + delegate: function( selector, types, data, fn ) { + return this.live( types, data, fn, selector ); + }, + + undelegate: function( selector, types, fn ) { + if ( arguments.length === 0 ) { + return this.unbind( "live" ); + + } else { + return this.die( types, null, fn, selector ); + } + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + + triggerHandler: function( type, data ) { + if ( this[0] ) { + var event = jQuery.Event( type ); + event.preventDefault(); + event.stopPropagation(); + jQuery.event.trigger( event, data, this[0] ); + return event.result; + } + }, + + toggle: function( fn ) { + // Save reference to arguments for access in closure + var args = arguments, + i = 1; + + // link all the functions, so any of them can unbind this click handler + while ( i < args.length ) { + jQuery.proxy( fn, args[ i++ ] ); + } + + return this.click( jQuery.proxy( fn, function( event ) { + // Figure out which function to execute + var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i; + jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 ); + + // Make sure that clicks stop + event.preventDefault(); + + // and execute the function + return args[ lastToggle ].apply( this, arguments ) || false; + })); + }, + + hover: function( fnOver, fnOut ) { + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + } +}); + +var liveMap = { + focus: "focusin", + blur: "focusout", + mouseenter: "mouseover", + mouseleave: "mouseout" +}; + +jQuery.each(["live", "die"], function( i, name ) { + jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) { + var type, i = 0, match, namespaces, preType, + selector = origSelector || this.selector, + context = origSelector ? this : jQuery( this.context ); + + if ( typeof types === "object" && !types.preventDefault ) { + for ( var key in types ) { + context[ name ]( key, data, types[key], selector ); + } + + return this; + } + + if ( jQuery.isFunction( data ) ) { + fn = data; + data = undefined; + } + + types = (types || "").split(" "); + + while ( (type = types[ i++ ]) != null ) { + match = rnamespaces.exec( type ); + namespaces = ""; + + if ( match ) { + namespaces = match[0]; + type = type.replace( rnamespaces, "" ); + } + + if ( type === "hover" ) { + types.push( "mouseenter" + namespaces, "mouseleave" + namespaces ); + continue; + } + + preType = type; + + if ( type === "focus" || type === "blur" ) { + types.push( liveMap[ type ] + namespaces ); + type = type + namespaces; + + } else { + type = (liveMap[ type ] || type) + namespaces; + } + + if ( name === "live" ) { + // bind live handler + for ( var j = 0, l = context.length; j < l; j++ ) { + jQuery.event.add( context[j], "live." + liveConvert( type, selector ), + { data: data, selector: selector, handler: fn, origType: type, origHandler: fn, preType: preType } ); + } + + } else { + // unbind live handler + context.unbind( "live." + liveConvert( type, selector ), fn ); + } + } + + return this; + }; +}); + +function liveHandler( event ) { + var stop, maxLevel, related, match, handleObj, elem, j, i, l, data, close, namespace, ret, + elems = [], + selectors = [], + events = jQuery.data( this, this.nodeType ? "events" : "__events__" ); + + if ( typeof events === "function" ) { + events = events.events; + } + + // Make sure we avoid non-left-click bubbling in Firefox (#3861) + if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) { + return; + } + + if ( event.namespace ) { + namespace = new RegExp("(^|\\.)" + event.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)"); + } + + event.liveFired = this; + + var live = events.live.slice(0); + + for ( j = 0; j < live.length; j++ ) { + handleObj = live[j]; + + if ( handleObj.origType.replace( rnamespaces, "" ) === event.type ) { + selectors.push( handleObj.selector ); + + } else { + live.splice( j--, 1 ); + } + } + + match = jQuery( event.target ).closest( selectors, event.currentTarget ); + + for ( i = 0, l = match.length; i < l; i++ ) { + close = match[i]; + + for ( j = 0; j < live.length; j++ ) { + handleObj = live[j]; + + if ( close.selector === handleObj.selector && (!namespace || namespace.test( handleObj.namespace )) ) { + elem = close.elem; + related = null; + + // Those two events require additional checking + if ( handleObj.preType === "mouseenter" || handleObj.preType === "mouseleave" ) { + event.type = handleObj.preType; + related = jQuery( event.relatedTarget ).closest( handleObj.selector )[0]; + } + + if ( !related || related !== elem ) { + elems.push({ elem: elem, handleObj: handleObj, level: close.level }); + } + } + } + } + + for ( i = 0, l = elems.length; i < l; i++ ) { + match = elems[i]; + + if ( maxLevel && match.level > maxLevel ) { + break; + } + + event.currentTarget = match.elem; + event.data = match.handleObj.data; + event.handleObj = match.handleObj; + + ret = match.handleObj.origHandler.apply( match.elem, arguments ); + + if ( ret === false || event.isPropagationStopped() ) { + maxLevel = match.level; + + if ( ret === false ) { + stop = false; + } + if ( event.isImmediatePropagationStopped() ) { + break; + } + } + } + + return stop; +} + +function liveConvert( type, selector ) { + return (type && type !== "*" ? type + "." : "") + selector.replace(rperiod, "`").replace(rspace, "&"); +} + +jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + + "change select submit keydown keypress keyup error").split(" "), function( i, name ) { + + // Handle event binding + jQuery.fn[ name ] = function( data, fn ) { + if ( fn == null ) { + fn = data; + data = null; + } + + return arguments.length > 0 ? + this.bind( name, data, fn ) : + this.trigger( name ); + }; + + if ( jQuery.attrFn ) { + jQuery.attrFn[ name ] = true; + } +}); + +// Prevent memory leaks in IE +// Window isn't included so as not to unbind existing unload events +// More info: +// - http://isaacschlueter.com/2006/10/msie-memory-leaks/ +if ( window.attachEvent && !window.addEventListener ) { + jQuery(window).bind("unload", function() { + for ( var id in jQuery.cache ) { + if ( jQuery.cache[ id ].handle ) { + // Try/Catch is to handle iframes being unloaded, see #4280 + try { + jQuery.event.remove( jQuery.cache[ id ].handle.elem ); + } catch(e) {} + } + } + }); +} + + +/*! + * Sizzle CSS Selector Engine - v1.0 + * Copyright 2009, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){ + +var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, + done = 0, + toString = Object.prototype.toString, + hasDuplicate = false, + baseHasDuplicate = true; + +// Here we check if the JavaScript engine is using some sort of +// optimization where it does not always call our comparision +// function. If that is the case, discard the hasDuplicate value. +// Thus far that includes Google Chrome. +[0, 0].sort(function() { + baseHasDuplicate = false; + return 0; +}); + +var Sizzle = function( selector, context, results, seed ) { + results = results || []; + context = context || document; + + var origContext = context; + + if ( context.nodeType !== 1 && context.nodeType !== 9 ) { + return []; + } + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + var m, set, checkSet, extra, ret, cur, pop, i, + prune = true, + contextXML = Sizzle.isXML( context ), + parts = [], + soFar = selector; + + // Reset the position of the chunker regexp (start from head) + do { + chunker.exec( "" ); + m = chunker.exec( soFar ); + + if ( m ) { + soFar = m[3]; + + parts.push( m[1] ); + + if ( m[2] ) { + extra = m[3]; + break; + } + } + } while ( m ); + + if ( parts.length > 1 && origPOS.exec( selector ) ) { + + if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { + set = posProcess( parts[0] + parts[1], context ); + + } else { + set = Expr.relative[ parts[0] ] ? + [ context ] : + Sizzle( parts.shift(), context ); + + while ( parts.length ) { + selector = parts.shift(); + + if ( Expr.relative[ selector ] ) { + selector += parts.shift(); + } + + set = posProcess( selector, set ); + } + } + + } else { + // Take a shortcut and set the context if the root selector is an ID + // (but not if it'll be faster if the inner selector is an ID) + if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && + Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { + + ret = Sizzle.find( parts.shift(), context, contextXML ); + context = ret.expr ? + Sizzle.filter( ret.expr, ret.set )[0] : + ret.set[0]; + } + + if ( context ) { + ret = seed ? + { expr: parts.pop(), set: makeArray(seed) } : + Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); + + set = ret.expr ? + Sizzle.filter( ret.expr, ret.set ) : + ret.set; + + if ( parts.length > 0 ) { + checkSet = makeArray( set ); + + } else { + prune = false; + } + + while ( parts.length ) { + cur = parts.pop(); + pop = cur; + + if ( !Expr.relative[ cur ] ) { + cur = ""; + } else { + pop = parts.pop(); + } + + if ( pop == null ) { + pop = context; + } + + Expr.relative[ cur ]( checkSet, pop, contextXML ); + } + + } else { + checkSet = parts = []; + } + } + + if ( !checkSet ) { + checkSet = set; + } + + if ( !checkSet ) { + Sizzle.error( cur || selector ); + } + + if ( toString.call(checkSet) === "[object Array]" ) { + if ( !prune ) { + results.push.apply( results, checkSet ); + + } else if ( context && context.nodeType === 1 ) { + for ( i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) { + results.push( set[i] ); + } + } + + } else { + for ( i = 0; checkSet[i] != null; i++ ) { + if ( checkSet[i] && checkSet[i].nodeType === 1 ) { + results.push( set[i] ); + } + } + } + + } else { + makeArray( checkSet, results ); + } + + if ( extra ) { + Sizzle( extra, origContext, results, seed ); + Sizzle.uniqueSort( results ); + } + + return results; +}; + +Sizzle.uniqueSort = function( results ) { + if ( sortOrder ) { + hasDuplicate = baseHasDuplicate; + results.sort( sortOrder ); + + if ( hasDuplicate ) { + for ( var i = 1; i < results.length; i++ ) { + if ( results[i] === results[ i - 1 ] ) { + results.splice( i--, 1 ); + } + } + } + } + + return results; +}; + +Sizzle.matches = function( expr, set ) { + return Sizzle( expr, null, null, set ); +}; + +Sizzle.matchesSelector = function( node, expr ) { + return Sizzle( expr, null, null, [node] ).length > 0; +}; + +Sizzle.find = function( expr, context, isXML ) { + var set; + + if ( !expr ) { + return []; + } + + for ( var i = 0, l = Expr.order.length; i < l; i++ ) { + var match, + type = Expr.order[i]; + + if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { + var left = match[1]; + match.splice( 1, 1 ); + + if ( left.substr( left.length - 1 ) !== "\\" ) { + match[1] = (match[1] || "").replace(/\\/g, ""); + set = Expr.find[ type ]( match, context, isXML ); + + if ( set != null ) { + expr = expr.replace( Expr.match[ type ], "" ); + break; + } + } + } + } + + if ( !set ) { + set = context.getElementsByTagName( "*" ); + } + + return { set: set, expr: expr }; +}; + +Sizzle.filter = function( expr, set, inplace, not ) { + var match, anyFound, + old = expr, + result = [], + curLoop = set, + isXMLFilter = set && set[0] && Sizzle.isXML( set[0] ); + + while ( expr && set.length ) { + for ( var type in Expr.filter ) { + if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { + var found, item, + filter = Expr.filter[ type ], + left = match[1]; + + anyFound = false; + + match.splice(1,1); + + if ( left.substr( left.length - 1 ) === "\\" ) { + continue; + } + + if ( curLoop === result ) { + result = []; + } + + if ( Expr.preFilter[ type ] ) { + match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); + + if ( !match ) { + anyFound = found = true; + + } else if ( match === true ) { + continue; + } + } + + if ( match ) { + for ( var i = 0; (item = curLoop[i]) != null; i++ ) { + if ( item ) { + found = filter( item, match, i, curLoop ); + var pass = not ^ !!found; + + if ( inplace && found != null ) { + if ( pass ) { + anyFound = true; + + } else { + curLoop[i] = false; + } + + } else if ( pass ) { + result.push( item ); + anyFound = true; + } + } + } + } + + if ( found !== undefined ) { + if ( !inplace ) { + curLoop = result; + } + + expr = expr.replace( Expr.match[ type ], "" ); + + if ( !anyFound ) { + return []; + } + + break; + } + } + } + + // Improper expression + if ( expr === old ) { + if ( anyFound == null ) { + Sizzle.error( expr ); + + } else { + break; + } + } + + old = expr; + } + + return curLoop; +}; + +Sizzle.error = function( msg ) { + throw "Syntax error, unrecognized expression: " + msg; +}; + +var Expr = Sizzle.selectors = { + order: [ "ID", "NAME", "TAG" ], + + match: { + ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, + CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, + NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/, + ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, + TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, + CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/, + POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, + PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ + }, + + leftMatch: {}, + + attrMap: { + "class": "className", + "for": "htmlFor" + }, + + attrHandle: { + href: function( elem ) { + return elem.getAttribute( "href" ); + } + }, + + relative: { + "+": function(checkSet, part){ + var isPartStr = typeof part === "string", + isTag = isPartStr && !/\W/.test( part ), + isPartStrNotTag = isPartStr && !isTag; + + if ( isTag ) { + part = part.toLowerCase(); + } + + for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { + if ( (elem = checkSet[i]) ) { + while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} + + checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ? + elem || false : + elem === part; + } + } + + if ( isPartStrNotTag ) { + Sizzle.filter( part, checkSet, true ); + } + }, + + ">": function( checkSet, part ) { + var elem, + isPartStr = typeof part === "string", + i = 0, + l = checkSet.length; + + if ( isPartStr && !/\W/.test( part ) ) { + part = part.toLowerCase(); + + for ( ; i < l; i++ ) { + elem = checkSet[i]; + + if ( elem ) { + var parent = elem.parentNode; + checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false; + } + } + + } else { + for ( ; i < l; i++ ) { + elem = checkSet[i]; + + if ( elem ) { + checkSet[i] = isPartStr ? + elem.parentNode : + elem.parentNode === part; + } + } + + if ( isPartStr ) { + Sizzle.filter( part, checkSet, true ); + } + } + }, + + "": function(checkSet, part, isXML){ + var nodeCheck, + doneName = done++, + checkFn = dirCheck; + + if ( typeof part === "string" && !/\W/.test(part) ) { + part = part.toLowerCase(); + nodeCheck = part; + checkFn = dirNodeCheck; + } + + checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML ); + }, + + "~": function( checkSet, part, isXML ) { + var nodeCheck, + doneName = done++, + checkFn = dirCheck; + + if ( typeof part === "string" && !/\W/.test( part ) ) { + part = part.toLowerCase(); + nodeCheck = part; + checkFn = dirNodeCheck; + } + + checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML ); + } + }, + + find: { + ID: function( match, context, isXML ) { + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }, + + NAME: function( match, context ) { + if ( typeof context.getElementsByName !== "undefined" ) { + var ret = [], + results = context.getElementsByName( match[1] ); + + for ( var i = 0, l = results.length; i < l; i++ ) { + if ( results[i].getAttribute("name") === match[1] ) { + ret.push( results[i] ); + } + } + + return ret.length === 0 ? null : ret; + } + }, + + TAG: function( match, context ) { + return context.getElementsByTagName( match[1] ); + } + }, + preFilter: { + CLASS: function( match, curLoop, inplace, result, not, isXML ) { + match = " " + match[1].replace(/\\/g, "") + " "; + + if ( isXML ) { + return match; + } + + for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { + if ( elem ) { + if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n]/g, " ").indexOf(match) >= 0) ) { + if ( !inplace ) { + result.push( elem ); + } + + } else if ( inplace ) { + curLoop[i] = false; + } + } + } + + return false; + }, + + ID: function( match ) { + return match[1].replace(/\\/g, ""); + }, + + TAG: function( match, curLoop ) { + return match[1].toLowerCase(); + }, + + CHILD: function( match ) { + if ( match[1] === "nth" ) { + // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6' + var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec( + match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" || + !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); + + // calculate the numbers (first)n+(last) including if they are negative + match[2] = (test[1] + (test[2] || 1)) - 0; + match[3] = test[3] - 0; + } + + // TODO: Move to normal caching system + match[0] = done++; + + return match; + }, + + ATTR: function( match, curLoop, inplace, result, not, isXML ) { + var name = match[1].replace(/\\/g, ""); + + if ( !isXML && Expr.attrMap[name] ) { + match[1] = Expr.attrMap[name]; + } + + if ( match[2] === "~=" ) { + match[4] = " " + match[4] + " "; + } + + return match; + }, + + PSEUDO: function( match, curLoop, inplace, result, not ) { + if ( match[1] === "not" ) { + // If we're dealing with a complex expression, or a simple one + if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { + match[3] = Sizzle(match[3], null, null, curLoop); + + } else { + var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); + + if ( !inplace ) { + result.push.apply( result, ret ); + } + + return false; + } + + } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { + return true; + } + + return match; + }, + + POS: function( match ) { + match.unshift( true ); + + return match; + } + }, + + filters: { + enabled: function( elem ) { + return elem.disabled === false && elem.type !== "hidden"; + }, + + disabled: function( elem ) { + return elem.disabled === true; + }, + + checked: function( elem ) { + return elem.checked === true; + }, + + selected: function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + elem.parentNode.selectedIndex; + + return elem.selected === true; + }, + + parent: function( elem ) { + return !!elem.firstChild; + }, + + empty: function( elem ) { + return !elem.firstChild; + }, + + has: function( elem, i, match ) { + return !!Sizzle( match[3], elem ).length; + }, + + header: function( elem ) { + return (/h\d/i).test( elem.nodeName ); + }, + + text: function( elem ) { + return "text" === elem.type; + }, + radio: function( elem ) { + return "radio" === elem.type; + }, + + checkbox: function( elem ) { + return "checkbox" === elem.type; + }, + + file: function( elem ) { + return "file" === elem.type; + }, + password: function( elem ) { + return "password" === elem.type; + }, + + submit: function( elem ) { + return "submit" === elem.type; + }, + + image: function( elem ) { + return "image" === elem.type; + }, + + reset: function( elem ) { + return "reset" === elem.type; + }, + + button: function( elem ) { + return "button" === elem.type || elem.nodeName.toLowerCase() === "button"; + }, + + input: function( elem ) { + return (/input|select|textarea|button/i).test( elem.nodeName ); + } + }, + setFilters: { + first: function( elem, i ) { + return i === 0; + }, + + last: function( elem, i, match, array ) { + return i === array.length - 1; + }, + + even: function( elem, i ) { + return i % 2 === 0; + }, + + odd: function( elem, i ) { + return i % 2 === 1; + }, + + lt: function( elem, i, match ) { + return i < match[3] - 0; + }, + + gt: function( elem, i, match ) { + return i > match[3] - 0; + }, + + nth: function( elem, i, match ) { + return match[3] - 0 === i; + }, + + eq: function( elem, i, match ) { + return match[3] - 0 === i; + } + }, + filter: { + PSEUDO: function( elem, match, i, array ) { + var name = match[1], + filter = Expr.filters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + + } else if ( name === "contains" ) { + return (elem.textContent || elem.innerText || Sizzle.getText([ elem ]) || "").indexOf(match[3]) >= 0; + + } else if ( name === "not" ) { + var not = match[3]; + + for ( var j = 0, l = not.length; j < l; j++ ) { + if ( not[j] === elem ) { + return false; + } + } + + return true; + + } else { + Sizzle.error( "Syntax error, unrecognized expression: " + name ); + } + }, + + CHILD: function( elem, match ) { + var type = match[1], + node = elem; + + switch ( type ) { + case "only": + case "first": + while ( (node = node.previousSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + if ( type === "first" ) { + return true; + } + + node = elem; + + case "last": + while ( (node = node.nextSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + return true; + + case "nth": + var first = match[2], + last = match[3]; + + if ( first === 1 && last === 0 ) { + return true; + } + + var doneName = match[0], + parent = elem.parentNode; + + if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) { + var count = 0; + + for ( node = parent.firstChild; node; node = node.nextSibling ) { + if ( node.nodeType === 1 ) { + node.nodeIndex = ++count; + } + } + + parent.sizcache = doneName; + } + + var diff = elem.nodeIndex - last; + + if ( first === 0 ) { + return diff === 0; + + } else { + return ( diff % first === 0 && diff / first >= 0 ); + } + } + }, + + ID: function( elem, match ) { + return elem.nodeType === 1 && elem.getAttribute("id") === match; + }, + + TAG: function( elem, match ) { + return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match; + }, + + CLASS: function( elem, match ) { + return (" " + (elem.className || elem.getAttribute("class")) + " ") + .indexOf( match ) > -1; + }, + + ATTR: function( elem, match ) { + var name = match[1], + result = Expr.attrHandle[ name ] ? + Expr.attrHandle[ name ]( elem ) : + elem[ name ] != null ? + elem[ name ] : + elem.getAttribute( name ), + value = result + "", + type = match[2], + check = match[4]; + + return result == null ? + type === "!=" : + type === "=" ? + value === check : + type === "*=" ? + value.indexOf(check) >= 0 : + type === "~=" ? + (" " + value + " ").indexOf(check) >= 0 : + !check ? + value && result !== false : + type === "!=" ? + value !== check : + type === "^=" ? + value.indexOf(check) === 0 : + type === "$=" ? + value.substr(value.length - check.length) === check : + type === "|=" ? + value === check || value.substr(0, check.length + 1) === check + "-" : + false; + }, + + POS: function( elem, match, i, array ) { + var name = match[2], + filter = Expr.setFilters[ name ]; + + if ( filter ) { + return filter( elem, i, match, array ); + } + } + } +}; + +var origPOS = Expr.match.POS, + fescape = function(all, num){ + return "\\" + (num - 0 + 1); + }; + +for ( var type in Expr.match ) { + Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) ); + Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) ); +} + +var makeArray = function( array, results ) { + array = Array.prototype.slice.call( array, 0 ); + + if ( results ) { + results.push.apply( results, array ); + return results; + } + + return array; +}; + +// Perform a simple check to determine if the browser is capable of +// converting a NodeList to an array using builtin methods. +// Also verifies that the returned array holds DOM nodes +// (which is not the case in the Blackberry browser) +try { + Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType; + +// Provide a fallback method if it does not work +} catch( e ) { + makeArray = function( array, results ) { + var i = 0, + ret = results || []; + + if ( toString.call(array) === "[object Array]" ) { + Array.prototype.push.apply( ret, array ); + + } else { + if ( typeof array.length === "number" ) { + for ( var l = array.length; i < l; i++ ) { + ret.push( array[i] ); + } + + } else { + for ( ; array[i]; i++ ) { + ret.push( array[i] ); + } + } + } + + return ret; + }; +} + +var sortOrder, siblingCheck; + +if ( document.documentElement.compareDocumentPosition ) { + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { + return a.compareDocumentPosition ? -1 : 1; + } + + return a.compareDocumentPosition(b) & 4 ? -1 : 1; + }; + +} else { + sortOrder = function( a, b ) { + var al, bl, + ap = [], + bp = [], + aup = a.parentNode, + bup = b.parentNode, + cur = aup; + + // The nodes are identical, we can exit early + if ( a === b ) { + hasDuplicate = true; + return 0; + + // If the nodes are siblings (or identical) we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + + // If no parents were found then the nodes are disconnected + } else if ( !aup ) { + return -1; + + } else if ( !bup ) { + return 1; + } + + // Otherwise they're somewhere else in the tree so we need + // to build up a full list of the parentNodes for comparison + while ( cur ) { + ap.unshift( cur ); + cur = cur.parentNode; + } + + cur = bup; + + while ( cur ) { + bp.unshift( cur ); + cur = cur.parentNode; + } + + al = ap.length; + bl = bp.length; + + // Start walking down the tree looking for a discrepancy + for ( var i = 0; i < al && i < bl; i++ ) { + if ( ap[i] !== bp[i] ) { + return siblingCheck( ap[i], bp[i] ); + } + } + + // We ended someplace up the tree so do a sibling check + return i === al ? + siblingCheck( a, bp[i], -1 ) : + siblingCheck( ap[i], b, 1 ); + }; + + siblingCheck = function( a, b, ret ) { + if ( a === b ) { + return ret; + } + + var cur = a.nextSibling; + + while ( cur ) { + if ( cur === b ) { + return -1; + } + + cur = cur.nextSibling; + } + + return 1; + }; +} + +// Utility function for retreiving the text value of an array of DOM nodes +Sizzle.getText = function( elems ) { + var ret = "", elem; + + for ( var i = 0; elems[i]; i++ ) { + elem = elems[i]; + + // Get the text from text nodes and CDATA nodes + if ( elem.nodeType === 3 || elem.nodeType === 4 ) { + ret += elem.nodeValue; + + // Traverse everything else, except comment nodes + } else if ( elem.nodeType !== 8 ) { + ret += Sizzle.getText( elem.childNodes ); + } + } + + return ret; +}; + +// Check to see if the browser returns elements by name when +// querying by getElementById (and provide a workaround) +(function(){ + // We're going to inject a fake input element with a specified name + var form = document.createElement("div"), + id = "script" + (new Date()).getTime(), + root = document.documentElement; + + form.innerHTML = ""; + + // Inject it into the root element, check its status, and remove it quickly + root.insertBefore( form, root.firstChild ); + + // The workaround has to do additional checks after a getElementById + // Which slows things down for other browsers (hence the branching) + if ( document.getElementById( id ) ) { + Expr.find.ID = function( match, context, isXML ) { + if ( typeof context.getElementById !== "undefined" && !isXML ) { + var m = context.getElementById(match[1]); + + return m ? + m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? + [m] : + undefined : + []; + } + }; + + Expr.filter.ID = function( elem, match ) { + var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); + + return elem.nodeType === 1 && node && node.nodeValue === match; + }; + } + + root.removeChild( form ); + + // release memory in IE + root = form = null; +})(); + +(function(){ + // Check to see if the browser returns only elements + // when doing getElementsByTagName("*") + + // Create a fake element + var div = document.createElement("div"); + div.appendChild( document.createComment("") ); + + // Make sure no comments are found + if ( div.getElementsByTagName("*").length > 0 ) { + Expr.find.TAG = function( match, context ) { + var results = context.getElementsByTagName( match[1] ); + + // Filter out possible comments + if ( match[1] === "*" ) { + var tmp = []; + + for ( var i = 0; results[i]; i++ ) { + if ( results[i].nodeType === 1 ) { + tmp.push( results[i] ); + } + } + + results = tmp; + } + + return results; + }; + } + + // Check to see if an attribute returns normalized href attributes + div.innerHTML = ""; + + if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && + div.firstChild.getAttribute("href") !== "#" ) { + + Expr.attrHandle.href = function( elem ) { + return elem.getAttribute( "href", 2 ); + }; + } + + // release memory in IE + div = null; +})(); + +if ( document.querySelectorAll ) { + (function(){ + var oldSizzle = Sizzle, + div = document.createElement("div"), + id = "__sizzle__"; + + div.innerHTML = "

    "; + + // Safari can't handle uppercase or unicode characters when + // in quirks mode. + if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { + return; + } + + Sizzle = function( query, context, extra, seed ) { + context = context || document; + + // Make sure that attribute selectors are quoted + query = query.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); + + // Only use querySelectorAll on non-XML documents + // (ID selectors don't work in non-HTML documents) + if ( !seed && !Sizzle.isXML(context) ) { + if ( context.nodeType === 9 ) { + try { + return makeArray( context.querySelectorAll(query), extra ); + } catch(qsaError) {} + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + var old = context.getAttribute( "id" ), + nid = old || id; + + if ( !old ) { + context.setAttribute( "id", nid ); + } + + try { + return makeArray( context.querySelectorAll( "#" + nid + " " + query ), extra ); + + } catch(pseudoError) { + } finally { + if ( !old ) { + context.removeAttribute( "id" ); + } + } + } + } + + return oldSizzle(query, context, extra, seed); + }; + + for ( var prop in oldSizzle ) { + Sizzle[ prop ] = oldSizzle[ prop ]; + } + + // release memory in IE + div = null; + })(); +} + +(function(){ + var html = document.documentElement, + matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector, + pseudoWorks = false; + + try { + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( document.documentElement, "[test!='']:sizzle" ); + + } catch( pseudoError ) { + pseudoWorks = true; + } + + if ( matches ) { + Sizzle.matchesSelector = function( node, expr ) { + // Make sure that attribute selectors are quoted + expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); + + if ( !Sizzle.isXML( node ) ) { + try { + if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) { + return matches.call( node, expr ); + } + } catch(e) {} + } + + return Sizzle(expr, null, null, [node]).length > 0; + }; + } +})(); + +(function(){ + var div = document.createElement("div"); + + div.innerHTML = "
    "; + + // Opera can't find a second classname (in 9.6) + // Also, make sure that getElementsByClassName actually exists + if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) { + return; + } + + // Safari caches class attributes, doesn't catch changes (in 3.2) + div.lastChild.className = "e"; + + if ( div.getElementsByClassName("e").length === 1 ) { + return; + } + + Expr.order.splice(1, 0, "CLASS"); + Expr.find.CLASS = function( match, context, isXML ) { + if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { + return context.getElementsByClassName(match[1]); + } + }; + + // release memory in IE + div = null; +})(); + +function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + + if ( elem ) { + var match = false; + + elem = elem[dir]; + + while ( elem ) { + if ( elem.sizcache === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 && !isXML ){ + elem.sizcache = doneName; + elem.sizset = i; + } + + if ( elem.nodeName.toLowerCase() === cur ) { + match = elem; + break; + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { + for ( var i = 0, l = checkSet.length; i < l; i++ ) { + var elem = checkSet[i]; + + if ( elem ) { + var match = false; + + elem = elem[dir]; + + while ( elem ) { + if ( elem.sizcache === doneName ) { + match = checkSet[elem.sizset]; + break; + } + + if ( elem.nodeType === 1 ) { + if ( !isXML ) { + elem.sizcache = doneName; + elem.sizset = i; + } + + if ( typeof cur !== "string" ) { + if ( elem === cur ) { + match = true; + break; + } + + } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { + match = elem; + break; + } + } + + elem = elem[dir]; + } + + checkSet[i] = match; + } + } +} + +if ( document.documentElement.contains ) { + Sizzle.contains = function( a, b ) { + return a !== b && (a.contains ? a.contains(b) : true); + }; + +} else if ( document.documentElement.compareDocumentPosition ) { + Sizzle.contains = function( a, b ) { + return !!(a.compareDocumentPosition(b) & 16); + }; + +} else { + Sizzle.contains = function() { + return false; + }; +} + +Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; + + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +var posProcess = function( selector, context ) { + var match, + tmpSet = [], + later = "", + root = context.nodeType ? [context] : context; + + // Position selectors must be done after the filter + // And so must :not(positional) so we move all PSEUDOs to the end + while ( (match = Expr.match.PSEUDO.exec( selector )) ) { + later += match[0]; + selector = selector.replace( Expr.match.PSEUDO, "" ); + } + + selector = Expr.relative[selector] ? selector + "*" : selector; + + for ( var i = 0, l = root.length; i < l; i++ ) { + Sizzle( selector, root[i], tmpSet ); + } + + return Sizzle.filter( later, tmpSet ); +}; + +// EXPOSE +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.filters; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})(); + + +var runtil = /Until$/, + rparentsprev = /^(?:parents|prevUntil|prevAll)/, + // Note: This RegExp should be improved, or likely pulled from Sizzle + rmultiselector = /,/, + isSimple = /^.[^:#\[\.,]*$/, + slice = Array.prototype.slice, + POS = jQuery.expr.match.POS; + +jQuery.fn.extend({ + find: function( selector ) { + var ret = this.pushStack( "", "find", selector ), + length = 0; + + for ( var i = 0, l = this.length; i < l; i++ ) { + length = ret.length; + jQuery.find( selector, this[i], ret ); + + if ( i > 0 ) { + // Make sure that the results are unique + for ( var n = length; n < ret.length; n++ ) { + for ( var r = 0; r < length; r++ ) { + if ( ret[r] === ret[n] ) { + ret.splice(n--, 1); + break; + } + } + } + } + } + + return ret; + }, + + has: function( target ) { + var targets = jQuery( target ); + return this.filter(function() { + for ( var i = 0, l = targets.length; i < l; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector, false), "not", selector); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector, true), "filter", selector ); + }, + + is: function( selector ) { + return !!selector && jQuery.filter( selector, this ).length > 0; + }, + + closest: function( selectors, context ) { + var ret = [], i, l, cur = this[0]; + + if ( jQuery.isArray( selectors ) ) { + var match, selector, + matches = {}, + level = 1; + + if ( cur && selectors.length ) { + for ( i = 0, l = selectors.length; i < l; i++ ) { + selector = selectors[i]; + + if ( !matches[selector] ) { + matches[selector] = jQuery.expr.match.POS.test( selector ) ? + jQuery( selector, context || this.context ) : + selector; + } + } + + while ( cur && cur.ownerDocument && cur !== context ) { + for ( selector in matches ) { + match = matches[selector]; + + if ( match.jquery ? match.index(cur) > -1 : jQuery(cur).is(match) ) { + ret.push({ selector: selector, elem: cur, level: level }); + } + } + + cur = cur.parentNode; + level++; + } + } + + return ret; + } + + var pos = POS.test( selectors ) ? + jQuery( selectors, context || this.context ) : null; + + for ( i = 0, l = this.length; i < l; i++ ) { + cur = this[i]; + + while ( cur ) { + if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { + ret.push( cur ); + break; + + } else { + cur = cur.parentNode; + if ( !cur || !cur.ownerDocument || cur === context ) { + break; + } + } + } + } + + ret = ret.length > 1 ? jQuery.unique(ret) : ret; + + return this.pushStack( ret, "closest", selectors ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + if ( !elem || typeof elem === "string" ) { + return jQuery.inArray( this[0], + // If it receives a string, the selector is used + // If it receives nothing, the siblings are used + elem ? jQuery( elem ) : this.parent().children() ); + } + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context || this.context ) : + jQuery.makeArray( selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? + all : + jQuery.unique( all ) ); + }, + + andSelf: function() { + return this.add( this.prevObject ); + } +}); + +// A painfully simple check to see if an element is disconnected +// from a document (should be improved, where feasible). +function isDisconnected( node ) { + return !node || !node.parentNode || node.parentNode.nodeType === 11; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return jQuery.nth( elem, 2, "nextSibling" ); + }, + prev: function( elem ) { + return jQuery.nth( elem, 2, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( elem.parentNode.firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.makeArray( elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( !runtil.test( name ) ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + ret = this.length > 1 ? jQuery.unique( ret ) : ret; + + if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + + return this.pushStack( ret, name, slice.call(arguments).join(",") ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 ? + jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : + jQuery.find.matches(expr, elems); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + nth: function( cur, result, dir, elem ) { + result = result || 1; + var num = 0; + + for ( ; cur; cur = cur[dir] ) { + if ( cur.nodeType === 1 && ++num === result ) { + break; + } + } + + return cur; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, keep ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep(elements, function( elem, i ) { + var retVal = !!qualifier.call( elem, i, elem ); + return retVal === keep; + }); + + } else if ( qualifier.nodeType ) { + return jQuery.grep(elements, function( elem, i ) { + return (elem === qualifier) === keep; + }); + + } else if ( typeof qualifier === "string" ) { + var filtered = jQuery.grep(elements, function( elem ) { + return elem.nodeType === 1; + }); + + if ( isSimple.test( qualifier ) ) { + return jQuery.filter(qualifier, filtered, !keep); + } else { + qualifier = jQuery.filter( qualifier, filtered ); + } + } + + return jQuery.grep(elements, function( elem, i ) { + return (jQuery.inArray( elem, qualifier ) >= 0) === keep; + }); +} + + + + +var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, + rtagName = /<([\w:]+)/, + rtbody = /\s]+\/)>/g, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + col: [ 2, "", "
    " ], + area: [ 1, "", "" ], + _default: [ 0, "", "" ] + }; + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// IE can't serialize and \ No newline at end of file diff --git a/js/selectlogin.js b/js/selectlogin.js new file mode 100644 index 0000000..fa89989 --- /dev/null +++ b/js/selectlogin.js @@ -0,0 +1,60 @@ +// selectlogin.js + +var Hint3Name = ''; + +function fixspaces(s) +{ + while (s.substr(s.length-1,s.length)==" ") s=s.substr(0,s.length-1); + while (s.substr(0,1)==" ") s=s.substr(1,s.length); + return(s); +} + +// Заголовок, название скрипта, имя поля с логином +function findlogin(title, script, name) +{ + document.all("hint3").innerHTML = '
    '+title+'x
    '+ + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '; + document.all("hint3").style.visibility = "visible"; + document.all("hint3").style.left = 100; + document.all("hint3").style.top = 60; + document.all(name).focus(); + Hint3Name = name; +} + +// Для магии. Заголовок, название скрипта, название магии, номер вещицы в рюкзаке +function magicklogin(title, script, magickname, n) +{ + document.all("hint3").innerHTML = '
    '+title+'x
    '+ + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '; + document.all("hint3").style.visibility = "visible"; + document.all("hint3").style.left = 100; + document.all("hint3").style.top = 60; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Закрывает окно ввода логина +function closehint3() +{ + document.all("hint3").style.visibility="hidden"; + Hint3Name=''; +} + +// Магия +function UseMagick(script, name, extparam, n) { + if ((extparam != null)&&(extparam != '')) { + var s = prompt(extparam+':', ''); + if ((s != null)&&(s != '')) { + re = /\%/g; s=s.replace(re, "%25"); + re = /\+/g; s=s.replace(re, "%2B"); + re = /\#/g; s=s.replace(re, "%23"); + re = /\?/g; s=s.replace(re, "%3F"); + re = /\&/g; s=s.replace(re, "%26"); + window.location.href=script+'?use='+name+'¶m='+s+'&n='+n; + } + } else { + if (confirm('Использовать сейчас?')) { location=script+'?use='+name+'&n='+n; } + } +} diff --git a/js/showthing.js b/js/showthing.js new file mode 100644 index 0000000..dec7257 --- /dev/null +++ b/js/showthing.js @@ -0,0 +1,76 @@ +function absPosition(obj) { + var x = y = 0; + while(obj) { + x += obj.offsetLeft; + y += obj.offsetTop; + obj = obj.offsetParent; + } + return {x : x, y : y}; +} + +function ShowThing(obj, xshift, yshift, txt, left) { + if(left == 1) { + var xxx = 1; + } else { + var xxx = 0; + } + DDD = setTimeout(function() { + ShowThingMain(obj, txt, xshift, yshift, xxx); + }, 300); +} + +function ShowThingMain(obj, txt, xshift, yshift, xxx) { + var img_x = absPosition(obj).x; + var img_y = absPosition(obj).y; + if(xxx == 1) { + img_y = img_y+yshift; + img_x = img_x-60-xshift; + } else { + img_y = img_y+yshift; + img_x = img_x+xshift; + } + if(document.getElementById("thing_")) { + document.getElementById("thing_").style.display = 'block'; + } else { + var divTag = document.createElement("div"); + divTag.id = "thing_"; + divTag.style.position = "absolute"; + divTag.style.zIndex = 9; + divTag.style.border = "1px solid black"; + divTag.style.top = img_y + "px"; + divTag.style.left = img_x + "px"; + divTag.style.backgroundColor = "#ffffe1"; + divTag.style.minWidth = "100px" + divTag.style.maxWidth = "400px"; + divTag.style.paddingLeft = "5px"; + divTag.style.paddingRight = "5px"; + divTag.style.paddingTop = "2px"; + divTag.style.paddingBottom = "2px"; + divTag.style.boxShadow = "5px 5px 5px black"; + divTag.style.boxShadow = "5px 5px 10px rgba(0,0,0,0.5)"; + divTag.style.MozBoxShadow = "5px 5px 10px rgba(0,0,0,0.5)"; + divTag.style.WebkitBoxShadow = "5px 5px 10px rgba(0,0,0,0.5)"; + if(xxx == 1) { + divTag.style.borderRadius = "5px 0px 5px 5px"; + divTag.style.MozBorderRadius = "5px 0px 5px 5px"; + divTag.style.WebkitBorderRadius = "5px 0px 5px 5px"; + } else { + divTag.style.borderRadius = "0px 5px 5px 5px"; + divTag.style.MozBorderRadius = "0px 5ipx 5px 5px"; + divTag.style.WebkitBorderRadius = "0px 5px 5px 5px"; + } + divTag.style.lineHeight = "10px"; + divTag.style.fontSize = "9px"; + divTag.className ="dynamicDiv"; + divTag.innerHTML = txt; + document.body.appendChild(divTag); + } +} + +function HideThing(obj) { + try { + document.body.removeChild(document.getElementById("thing_")); + } catch(err) { + clearTimeout(DDD); + } +} \ No newline at end of file diff --git a/js/sl2.21.js b/js/sl2.21.js new file mode 100644 index 0000000..0a7fd06 --- /dev/null +++ b/js/sl2.21.js @@ -0,0 +1,263 @@ +var Hint3Name = ''; + +step=0; +function errmess(s) +{ + messid.innerHTML=''+s+''; + highlight(); +} +function highlight() +{ + if (step) return(0); + step=10; + setTimeout(dohi,50); +} + +function dohi() +{ + var hx=new Array(0,1,2,3,4,5,6,7,8,9,"A","B","C","D","E","F"); + + step--; + messid.style.color="#"+hx[Math.floor(15-step/2)]+((step&1)?"F":"8")+"0000"; + if (step>0) setTimeout(dohi,50); +} + +function fixspaces(s) +{ + while (s.substr(s.length-1,s.length)==" ") s=s.substr(0,s.length-1); + while (s.substr(0,1)==" ") s=s.substr(1,s.length); + return(s); +} + +// Заголовок, название скрипта, имя поля с логином +function findlogin(title, script, name, defaultlogin, mtype) { + var s; + s='
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '; + s = crtmagic(mtype, title, s); + + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all(name).focus(); + Hint3Name = name; +} + +function dialogconfirm(title, script, text, mtype) +{ + var s; + + s='
    '+ + text+'
    '; + + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("tmpname423").focus(); + Hint3Name = name; +} + + + +function foundmagictype (mtypes) { + if (mtypes) { + mtypes=mtypes+""; + if (mtypes.indexOf(',') == -1) return parseInt(mtypes); + var s=mtypes.split(','); + var found=0; + var doubl=0; + var maxfound=0; + + for (i=0; i < s.length; i++) { + var k=parseInt(s[i]); + if (k > maxfound) { + found=i + 1; + maxfound=k; + doubl=0; + } else { + if (k == maxfound) {doubl=1;} + } + } + if (doubl) {return 0}; + + return found; + } + return 0; +} +// Для магии. Заголовок, название скрипта, название магии, номер вещицы в рюкзаке, логин по умолчанию, описание доп. поля +function magicklogin(title, script, magickname, n, defaultlogin, extparam, mtype) { + + var s = ''; + if (extparam != null && extparam != '') { + s = s + ''; + } + s = s + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '+extparam+'
    '; + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Магия +function UseMagick(title, script, name, extparam, n, extparam2, mtype) { + if ((extparam != null)&&(extparam != '')) { + + var t1='text',t2='text'; + + if (extparam.substr(0,1) == "!") + { + t1='password'; + extparam=extparam.substr(1,extparam.length); + } + + var s = ''; + if (extparam2 != null && extparam2 != '') { + if (extparam2.substr(0,1) == "!") + { + t2='password'; + extparam2=extparam2.substr(1,extparam2.length); + } + s = s + ''; + } + s += '
    '+ + extparam + ':
    '+extparam2+':
    '; + s = crtmagic(mtype, title, s); + document.all("hint4").innerHTML = s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.top = document.body.scrollTop+50; + document.all("param").focus(); + Hint3Name = 'param'; + } else { + dialogconfirm('Подтверждение', script, '
    Использовать сейчас?
    '+ + '', mtype); + } +} + +// Закрывает окно ввода логина +function closehint3() +{ + document.all("hint4").style.visibility="hidden"; + Hint3Name=''; +} + +// Для боевой магии. Заголовок, название магии, номер вещицы в рюкзаке +function Bmagicklogin (title, magickname, n, defaultlogin, extparam, mtype) { + if (defend==false) { + errmess("Блок не выбран."); + return false; + } + + var s = ''; + if (extparam != null && extparam != '') { + s = s + ''; + } + s = s + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '+extparam+'
    '; + s = crtmagic(mtype, title, s); + + document.all("hint4").innerHTML= s; + document.all("hint4").style.visibility = "visible"; + document.all("hint4").style.left = 100; + document.all("hint4").style.top = 60; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Магия +function BUseMagick(name, extparam, n, mtype) { + if (defend==false) { + errmess("Блок не выбран."); + return false; + } + + if ((extparam != null)&&(extparam != '')) { + var s = prompt(extparam+':', ''); + if ((s != null)&&(s != '')) { + re = /\%/g; s=s.replace(re, "%25"); + re = /\+/g; s=s.replace(re, "%2B"); + re = /\#/g; s=s.replace(re, "%23"); + re = /\?/g; s=s.replace(re, "%3F"); + re = /\&/g; s=s.replace(re, "%26"); + window.location.href='/battle.pl?use='+name+'¶m='+s+'&n='+n+'&mdefend='+defend+'&enemy='+enemy+'&myid='+myid; + } + } else { + dialogconfirm('Подтверждение', '/battle.pl', '
    Использовать сейчас?
    '+ + '', mtype); + } +} + + + +function crtmagic(mtype, title, body, subm) { +//name, XYX, X1-X2-Y2, pad.LRU + mtype=foundmagictype(mtype); + +var names=new Array( +'neitral',17, 6, 14, 17, 14, 7,0,0, 3, +'fire', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'water', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'air', 57, 30, 33, 20, 21, 14, 11, 12, 0, +'earth', 57,30, 33, 20, 21, 14, 11, 12, 0, +'white', 51, 25, 46, 44, 44, 10, 5, 5, 0, +'gray', 51, 25, 46, 44, 44, 10, 5, 5, 0, +'black', 51, 25, 46, 44, 44, 10, 5, 5, 0); +var colors=new Array('B1A993','DDD5BF', 'ACA396','D3CEC8', '96B0C6', 'BDCDDB', 'AEC0C9', 'CFE1EA', 'AAA291', 'D5CDBC', 'BCBBB6', 'EFEEE9', '969592', 'DADADA', '72726B', 'A6A6A0'); + +while (body.indexOf('#IMGSRC#')>=0) body = body.replace('#IMGSRC#', 'http://img.combats.com/i/misc/dmagic/'+names[mtype*10]+'_30.gif'); +var s=''+ + ''+ + ''+ +''+ +'
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + ''+ + ''+ + (names[mtype*10+7]?'':'')+ + ''+ + ''+ + ''+ + (names[mtype*10+8]?'':'')+ + ''+ + '
      '+ + ''+ + ''+ + ''+ + ''+ + '
    '+ + '
    '+title+ + ' 
    '+ + '
    '+body+ + '
      
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '; + + return s; +} diff --git a/js/sl2.js b/js/sl2.js new file mode 100644 index 0000000..5d637b5 --- /dev/null +++ b/js/sl2.js @@ -0,0 +1,147 @@ +var Hint3Name = ''; + +step=0; +function errmess(s) +{ + messid.innerHTML=''+s+''; + highlight(); +} +function highlight() +{ + if (step) return(0); + step=10; + setTimeout(dohi,50); +} + +function dohi() +{ + var hx=new Array(0,1,2,3,4,5,6,7,8,9,"A","B","C","D","E","F"); + + step--; + messid.style.color="#"+hx[Math.floor(15-step/2)]+((step&1)?"F":"8")+"0000"; + if (step>0) setTimeout(dohi,50); +} + +function fixspaces(s) +{ + while (s.substr(s.length-1,s.length)==" ") s=s.substr(0,s.length-1); + while (s.substr(0,1)==" ") s=s.substr(1,s.length); + return(s); +} + +// Заголовок, название скрипта, имя поля с логином +function findlogin(title, script, name, defaultlogin) +{ + document.all("hint3").innerHTML = '
    '+title+'x
    '+ + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '; + document.all("hint3").style.visibility = "visible"; + document.all("hint3").style.left = 100; + document.all("hint3").style.top = 60; + document.all(name).focus(); + Hint3Name = name; +} + +// Для магии. Заголовок, название скрипта, название магии, номер вещицы в рюкзаке, логин по умолчанию, описание доп. поля +function magicklogin(title, script, magickname, n, defaultlogin, extparam) +{ + var s = '
    '+title+'x
    '+ + ''; + if (extparam != null && extparam != '') { + s = s + ''; + } + s = s + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '+extparam+'
    '; + document.all("hint3").innerHTML = s; + document.all("hint3").style.visibility = "visible"; + document.all("hint3").style.left = 100; + document.all("hint3").style.top = document.body.scrollTop+50; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Магия +function UseMagick(title, script, name, extparam, n, extparam2) { + if ((extparam != null)&&(extparam != '')) { + + var t1='text',t2='text'; + + if (extparam.substr(0,1) == "!") + { + t1='password'; + extparam=extparam.substr(1,extparam.length); + } + var s = '
    '+title+'x
    '+ + ''; + if (extparam2 != null && extparam2 != '') { + if (extparam2.substr(0,1) == "!") + { + t2='password'; + extparam2=extparam2.substr(1,extparam2.length); + } + s = s + ''; + } + s = s + '
    '+ + extparam + ':
      
    '+extparam2+':
      
    '; + document.all("hint3").innerHTML = s; + document.all("hint3").style.visibility = "visible"; + document.all("hint3").style.left = 100; + document.all("hint3").style.top = document.body.scrollTop+50; + document.all("param").focus(); + Hint3Name = 'param'; + } else { + if (confirm('Использовать сейчас?')) { location=script+'?use='+name+'&n='+n; } + } +} + +// Закрывает окно ввода логина +function closehint3() +{ + document.all("hint3").style.visibility="hidden"; + Hint3Name=''; +} + +// Для боевой магии. Заголовок, название магии, номер вещицы в рюкзаке +function Bmagicklogin(title, magickname, n) +{ + if (defend==false) + { + errmess("Блок не выбран."); + return false; + } + + document.all("hint3").innerHTML = '
    '+title+'x
    '+ + '
    '+ + 'Укажите логин персонажа:
    (можно щелкнуть по логину в чате)
    '; + document.all("hint3").style.visibility = "visible"; + document.all("hint3").style.left = 100; + document.all("hint3").style.top = 60; + document.all("param").focus(); + Hint3Name = 'param'; +} + +// Магия +function BUseMagick(name, extparam, n) { + + if (defend==false) + { + errmess("Блок не выбран."); + return false; + } + + if ((extparam != null)&&(extparam != '')) { + var s = prompt(extparam+':', ''); + if ((s != null)&&(s != '')) { + re = /\%/g; s=s.replace(re, "%25"); + re = /\+/g; s=s.replace(re, "%2B"); + re = /\#/g; s=s.replace(re, "%23"); + re = /\?/g; s=s.replace(re, "%3F"); + re = /\&/g; s=s.replace(re, "%26"); + window.location.href='/battle.pl?use='+name+'¶m='+s+'&n='+n+'&mdefend='+defend+'&enemy='+enemy+'&myid='+myid; + + } + } else { + if (confirm('Использовать сейчас?')) { location='/battle.pl?use='+name+'&n='+n+'&mdefend='+defend+'&enemy='+enemy+'&myid='+myid;} + } +} + diff --git a/js/time.js b/js/time.js new file mode 100644 index 0000000..c611b31 --- /dev/null +++ b/js/time.js @@ -0,0 +1,26 @@ +function ShowTime(fname,lefttime,type) +{ + lefttime--; + if (lefttime<=0) { document.all(''+fname).innerText=''; window.location.reload(); } + sec=lefttime%60; + + min=Math.floor(lefttime/60); + day=Math.floor(lefttime/86400); + + hour=Math.floor((lefttime/3600)-(day*86400/3600)); + + if (sec<10) sec="0"+sec; + if (min>60) min-=(Math.floor(min/60)*60); + if (min==60) min=0; + + if (type!=1) { if (min<10) min="0"+min; } + + if (type==1) { document.all(''+fname).innerText=min+" мин. "+sec+" сек."; } + else { + if (day>0) document.all(''+fname).innerText=day+" д. "+hour+" ч. "+min+" мин."; + else document.all(''+fname).innerText=hour+" ч. "+min+" мин."; + } + + setTimeout("ShowTime('"+fname+"',"+lefttime+","+type+")",1000); + +} \ No newline at end of file diff --git a/js/tooltip.js b/js/tooltip.js new file mode 100644 index 0000000..81336b2 --- /dev/null +++ b/js/tooltip.js @@ -0,0 +1,198 @@ + /* + * TipTip + * Copyright 2010 Drew Wilson + * www.drewwilson.com + * code.drewwilson.com/entry/tiptip-jquery-plugin + * + * Version 1.3 - Updated: Mar. 23, 2010 + * + * This Plug-In will create a custom tooltip to replace the default + * browser tooltip. It is extremely lightweight and very smart in + * that it detects the edges of the browser window and will make sure + * the tooltip stays within the current window size. As a result the + * tooltip will adjust itself to be displayed above, below, to the left + * or to the right depending on what is necessary to stay within the + * browser window. It is completely customizable as well via CSS. + * + * This TipTip jQuery plug-in is dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ + +(function($){ + $.fn.tipTip = function(options) { + var defaults = { + activation: "hover", + keepAlive: false, + maxWidth: "150px", + edgeOffset: 0, + defaultPosition: "right", + delay: 0, + fadeIn: 200, + fadeOut: 200, + attribute: "title", + content: false, // HTML or String to fill TipTIp with + enter: function(){}, + exit: function(){} + }; + var opts = $.extend(defaults, options); + + // Setup tip tip elements and render them to the DOM + if($("#tiptip_holder").length <= 0){ + var tiptip_holder = $('
    '); + var tiptip_content = $('
    '); + var tiptip_arrow = $('
    '); + $("body").append(tiptip_holder.html(tiptip_content).prepend(tiptip_arrow.html('
    '))); + } else { + var tiptip_holder = $("#tiptip_holder"); + var tiptip_content = $("#tiptip_content"); + var tiptip_arrow = $("#tiptip_arrow"); + } + + return this.each(function(){ + var org_elem = $(this); + if(opts.content){ + var org_title = opts.content; + } else { + var org_title = org_elem.attr(opts.attribute); + } + if(org_title != ""){ + if(!opts.content){ + org_elem.removeAttr(opts.attribute); //remove original Attribute + } + var timeout = false; + + if(opts.activation == "hover"){ + org_elem.hover(function(){ + active_tiptip(); + }, function(){ + if(!opts.keepAlive){ + deactive_tiptip(); + } + }); + if(opts.keepAlive){ + tiptip_holder.hover(function(){}, function(){ + deactive_tiptip(); + }); + } + } else if(opts.activation == "focus"){ + org_elem.focus(function(){ + active_tiptip(); + }).blur(function(){ + deactive_tiptip(); + }); + } else if(opts.activation == "click"){ + org_elem.click(function(){ + active_tiptip(); + return false; + }).hover(function(){},function(){ + if(!opts.keepAlive){ + deactive_tiptip(); + } + }); + if(opts.keepAlive){ + tiptip_holder.hover(function(){}, function(){ + deactive_tiptip(); + }); + } + } + + function active_tiptip(){ + opts.enter.call(this); + tiptip_content.html(org_title); + tiptip_holder.hide().removeAttr("class").css("margin","0"); + tiptip_arrow.removeAttr("style"); + + var top = parseInt(org_elem.offset()['top']); + var left = parseInt(org_elem.offset()['left']); + var org_width = parseInt(org_elem.outerWidth()); + var org_height = parseInt(org_elem.outerHeight()); + var tip_w = tiptip_holder.outerWidth(); + var tip_h = tiptip_holder.outerHeight(); + var w_compare = Math.round((org_width - tip_w) / 2); + var h_compare = Math.round((org_height - tip_h) / 2); + var marg_left = Math.round(left + w_compare); + var marg_top = Math.round(top + org_height + opts.edgeOffset); + var t_class = ""; + var arrow_top = ""; + var arrow_left = Math.round(tip_w - 12) / 2; + + if(opts.defaultPosition == "bottom"){ + t_class = "_bottom"; + } else if(opts.defaultPosition == "top"){ + t_class = "_top"; + } else if(opts.defaultPosition == "left"){ + t_class = "_left"; + } else if(opts.defaultPosition == "right"){ + t_class = "_right"; + } + + var right_compare = (w_compare + left) < parseInt($(window).scrollLeft()); + var left_compare = (tip_w + left) > parseInt($(window).width()); + + if((right_compare && w_compare < 0) || (t_class == "_right" && !left_compare) || (t_class == "_left" && left < (tip_w + opts.edgeOffset + 5))){ + t_class = "_right"; + arrow_top = Math.round(tip_h - 13) / 2; + arrow_left = -12; + marg_left = Math.round(left + org_width + opts.edgeOffset); + if (org_width == 120){ + marg_left = marg_left - 100; + } + marg_top = Math.round(top + h_compare); + } else if((left_compare && w_compare < 0) || (t_class == "_left" && !right_compare)){ + t_class = "_left"; + arrow_top = Math.round(tip_h - 13) / 2; + arrow_left = Math.round(tip_w); + marg_left = Math.round(left - (tip_w + opts.edgeOffset + 5)); + marg_top = Math.round(top + h_compare); + } + + var top_compare = (top + org_height + opts.edgeOffset + tip_h + 8) > parseInt($(window).height() + $(window).scrollTop()); + var bottom_compare = ((top + org_height) - (opts.edgeOffset + tip_h + 8)) < 0; + + if(top_compare || (t_class == "_bottom" && top_compare) || (t_class == "_top" && !bottom_compare)){ + if(t_class == "_top" || t_class == "_bottom"){ + t_class = "_top"; + } else { + t_class = t_class+"_top"; + } + arrow_top = tip_h; + marg_top = Math.round(top - (tip_h + 5 + opts.edgeOffset)); + } else if(bottom_compare | (t_class == "_top" && bottom_compare) || (t_class == "_bottom" && !top_compare)){ + if(t_class == "_top" || t_class == "_bottom"){ + t_class = "_bottom"; + } else { + t_class = t_class+"_bottom"; + } + arrow_top = -12; + marg_top = Math.round(top + org_height + opts.edgeOffset); + } + + if(t_class == "_right_top" || t_class == "_left_top"){ + marg_top = marg_top + 5; + } else if(t_class == "_right_bottom" || t_class == "_left_bottom"){ + marg_top = marg_top - 5; + } + if(t_class == "_left_top" || t_class == "_left_bottom"){ + marg_left = marg_left + 5; + } + tiptip_arrow.css({"margin-left": arrow_left+"px", "margin-top": 200+arrow_top+"px"}); + + var art_top = top + org_height - tip_h/2; + if(art_top < 0){art_top=10;} + // old one - marg_top + tiptip_holder.css({"margin-left": marg_left+10+"px", "margin-top": art_top+"px"}).attr("class","tip"); + + if (timeout){ clearTimeout(timeout); } + timeout = setTimeout(function(){ tiptip_holder.stop(true,true).fadeIn(opts.fadeIn); }, opts.delay); + } + + function deactive_tiptip(){ + opts.exit.call(this); + if (timeout){ clearTimeout(timeout); } + tiptip_holder.fadeOut(opts.fadeOut); + } + } + }); + } +})(jQuery); \ No newline at end of file diff --git a/js/win_add.js b/js/win_add.js new file mode 100644 index 0000000..2573537 --- /dev/null +++ b/js/win_add.js @@ -0,0 +1,201 @@ +isIE = document.all; +isNN = !document.all&&document.getElementById; +isN4 = document.layers; +isHot = false; +document.onmousedown = ddInit; +document.onmouseup = Function("ddEnabled=false"); + +function ddInit(e) { + topDog = isIE ? "BODY" : "HTML"; + whichDog = isIE ? document.all.theLayer : document.getElementById("theLayer"); + hotDog = isIE ? event.srcElement : e.target; + while(hotDog.id != "titleBar"&&hotDog.tagName != topDog) { + hotDog = isIE ? hotDog.parentElement : hotDog.parentNode; + } + if(hotDog.id == "titleBar") { + offsetx = isIE ? event.clientX : e.clientX; + offsety = isIE ? event.clientY : e.clientY; + nowX = parseInt(whichDog.style.left); + nowY = parseInt(whichDog.style.top); + ddEnabled = true; + document.onmousemove = dd; + } +} + +function dd(e) { + if(!ddEnabled) return; + whichDog.style.left = isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx; + whichDog.style.top = isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety; + return false; +} + +function mousePageXY(e) { + var x = 0, y = 0; + if(e.pageX || e.pageY) { + x = e.pageX; + y = e.pageY; + } else if (e.clientX || e.clientY) { + x = e.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft) - document.documentElement.clientLeft; + y = e.clientY + (document.documentElement.scrollTop || document.body.scrollTop) - document.documentElement.clientTop; + } + return {"x":x, "y":y}; +} + +var win = { + winc:{}, + wsdr:null, + scor:{}, + openw:function(id, title, text, date, type, style) { + if($('#win_'+id).attr('id') == undefined) { + this.add(id, title, text, date, type, 1, ''); + } + }, + WstartDrag:function(id) { + $('#wupbox').css({'display':'block', 'cursor':'move'}); + this.wsdr = id; + $('.w1').css({'z-index':1102}); + $('#win_'+id).css({'z-index':1103}); + delete cm; + }, + WmoveDrag:function(e) { + var x = mousePageXY(e)['x'], y = mousePageXY(e)['y']; + if(this.scor.x == undefined) { + this.scor.x = x; + this.scor.y = y; + this.scor.x2 = unpx($('#win_'+this.wsdr).css('left')); + this.scor.y2 = unpx($('#win_'+this.wsdr).css('top')); + } + x = x-this.scor.x; + y = y-this.scor.y; + x += this.scor.x2; + y += this.scor.y2; + if(x < 9) { x = 9; } + if(x + $('#win_'+this.wsdr).width() > $(window).width() - 9) { + x = $(window).width() - 9 - $('#win_'+this.wsdr).width(); + } + if(y < 35) { y = 35; } + if(y + $('#win_'+this.wsdr).height() > $(window).height() - 35) { + y = $(window).height() - 35 - $('#win_'+this.wsdr).height(); + } + $('#win_'+this.wsdr).css({'top':y+'px','left':x+'px'}); + }, + WstopDrag:function() { + $('#wupbox').css({'display':'none', 'cursor':'move'}); + this.wsdr = null; + this.scor = {}; + }, + add:function(id, title, text, date, type, style, css) { + var nw = ''; + if($('#win_'+id).attr('id') == undefined) { + var acts = {}; + + if(date.usewin != undefined){ + acts[0] = 'onmouseup="'+date.usewin+'"'; + } + + if(date.n != undefined){ + text += '
    '+date.n+'
    '; + } + + var kyps = ['', '']; + + if(type == 0) { + nw = text; + } else if(type == 1) { + nw = text; + } else if(type == 2) { + nw = '
    '+text+'

    '; + kyps[0] = ''+date.a1+';win.closew(\\\''+id+'\\\');win.addaction(0,\\\'\\\');'; + } else if(type == 3) { + nw = '
    '+text+'
    '; + kyps[0] = ''+date.a1+';win.closew(\\\''+id+'\\\');win.addaction(0,\\\'\\\');'; + } else if(type == 4) { + nw = text[0]; + } + + if(date.d != undefined) { + nw = nw+date.d; + } + + nw = '
    '+nw+'
    '; + + if(title != '') { + nw = '
    '+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+title+'
    '+ + '
    '+nw; + } + + nw = ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '+nw+'
    '; + + nw = '
    '+nw+'
    '; + + $('#windows').html($('#windows').html()+nw); + $('#win_'+id).center(); + if(type == 2 || type == 3) { + if(type == 2) { + $('#winyesbtnfox'+id).focus(); + } + } + } + delete nw; + }, + addaction:function(nm, vl) { + key_actions[nm] = vl; + if(nm != 2) { + key_actions[2] = 1; + } + }, + closew:function(id) { + $('#win_'+id).html(''); + $('#win_'+id).remove(); + } +} + +function hideMe() { + if (isIE||isNN) { + whichDog.style.visibility = "hidden"; + } else if (isN4) { + document.theLayer.visibility = "hide"; + } +} + +function showForm(title, text, input_name, input_value, hidden_name, hidden_value, action) { + document.getElementById('ftitle').innerHTML = title; + document.getElementById('ftext').innerHTML = text; + document.getElementById('finput').name = input_name; + document.getElementById('finput').value = input_value; + document.getElementById('fhinput').name = hidden_name; + document.getElementById('fhinput').value = hidden_value; + if(action != ""){ + document.getElementById('fuse').action = action; + } + + whichDog.style.left = (document.body.clientWidth - 240)/2; + if(isIE||isNN) { + whichDog.style.visibility = "visible"; + } else if (isN4) { + document.theLayer.visibility = "show"; + } + document.getElementById('finput').focus(); +} \ No newline at end of file diff --git a/kartabc.html b/kartabc.html new file mode 100644 index 0000000..14c7aec --- /dev/null +++ b/kartabc.html @@ -0,0 +1,1003 @@ + +Карта Башни Смерти + + + + + + + +
    + (цифры в скобках - + время задержки в комнате) +
    +
    Карта + Башни Смерти
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                     
           Восточная крыша (20) + + + + + + + +
     
     
     
    Бойница (15)  Келья 3 (15) Келья 2 (15)   
            + + + + + +
       
        + + + + + +
       
      + + + + + +
       
       
           Западная крыша 2 (20) Келья 4 (15) + + + + + + + +
     
     
     
    Келья 1 (15) + + + + + + + +
     
     
     
    Служебная комната (25)   
            + + + + + +
      .
      + + + + + +
       
        + + + + + +
       
       
       Зал Отдыха 2 (20)   Западная крыша 1 (20) + + + + + + + +
     
     
     
    Выход на крышу (20)  Зал Статуй 2 (30) + + + + + + + +
     
     
     
    Храм (25) + + + + + + + +
     
     
     
    Восточная комната (20) 
        + + + + + +
       
            + + + + + +
       
         
       Зал Отдыха 1 (20) Старый Зал 2 (25) + + + + + + + +
     
     
     
    Старый Зал 1 (25) + + + + + + + +
     
     
     
    Красный Зал 3 (35) + + + + + + + +
     
     
     
    Зал Статуй 1 (35) + + + + + + + +
     
     
     
    Зал Статуй 3 (35) + + + + + + + +
     
    >
     
    Трапезная 3 (15) 
        + + + + + +
       
      + + + + + +
       
        + + + + + +
       
      + + + + + +
       
        + + + + + +
       
     
     Трапезная 3 (15) Зал Ожиданий (20) Оружейная (25) Красный Зал - Окна (20) + + + + + + + +
     
     
     
    Красный Зал (35) + + + + + + + +
     
     
     
    Гостинная (40) + + + + + + + +
     
     
     
    Трапезная 1 (15) Внутренний
    Двор (20)
     
      + + + + + +
       
      + + + + + +
       
      + + + + + +
       
      + + + + + +
       
      + + + + + +
       
      + + + + + +
       
         
     Внутренний
    Двор (20)
    + + + + + + + +
     
     
     
    Внутренний
    Двор - Вход + (20)
     Желтый Коридор (20) + + + + + + + +
     
     
     
    Мраморный
    Зал 1 (35)
     Красный Зал 2 (40) + + + + + + + +
     
     
     
    Библиотека 1 (35) + + + + + + + +
     
     
     
    Трапезная 2 (15)   
      + + + + + +
       
        + + + + + +
       
      + + + + + +
       
      + + + + + +
       
      + + + + + +
       
         
     Проход Внутреннего Двора +(20) + + + + + + + +
     
    <
     
    Комната с Камином (20) + + + + + + + +
     
     
     
    Библиотека 3 (35) Выход из Мраморного Зала +(20) Красный Зал - Корридор (20)  Лестница в Подвал 1 (15)     
      + + + + + +
       
        + + + + + +
       
      + + + + + +
       
      + + + + + +
       
      + + + + + +
       
         
     Южный Внутренний
    Двор +(20)
    + + + + + + + +
     
     
     
    Трапезная 4 (15) + + + + + + + +
     
     
     
    Мраморный
    Зал 3 (40)
    + + + + + + + +
     
     
     
    Мраморный
    Зал 2 (40)
    + + + + + + + +
     
     
     
    Картинная Галерея 1 (40) Лестница в Подвал 2 (15)     
      + + + + + +
       
        + + + + + +
       
      + + + + + +
       
      + + + + + +
       
      + + + + + +
       
         
     Проход Внутреннего Двора 2 + (20) + + + + + + + +
     
     
     
    Внутренний Двор - Выход (20) + + + + + + + +
     
     
     
    Библиотека 2 (35) + + + + + + + +
     
     
     
    Картинная Галерея 3 (40) + + + + + + + +
     
     
     
    Картинная Галерея 2 (40) Лестница в Подвал 3 (15)     
      + + + + + +
       
          + + + + + +
       
      + + + + + +
       
      + + + + + +
       
         
     Терраса (20)     Оранжерея (20) + + + + + + + +
     
     
     
    Зал Ораторов (35) Лестница в Подвал 4 (15)     
      + + + + + +
       
               + + + + + +
       
         
     Темная
    Комната (15)
           Винный погреб (20) + + + + + + + +
     
     
     
    Комната в Подвале (20) + + + + + + + +
     
     
     
    Подвал 1 (20)   
                     


    + + +
    + + diff --git a/klan.php b/klan.php new file mode 100644 index 0000000..4787355 --- /dev/null +++ b/klan.php @@ -0,0 +1,259 @@ + + + + + + + + + + +
    + + + + + + + + + + +
    +
    +0) { + if ($user['money']>=$a){ + $cc=mysql_query("update `clans` set `zbor`=`zbor`+$a WHERE `id`='$b'"); + + + mysql_query("update `users` set `money`=`money`-$a WHERE `id`={$user['id']}"); + header("Location: klan.php"); + + + + } else echo"У Вас не достаточно денег"; + }else echo"Вы ошиблись с вводом суммы"; + } + if ($_POST['start_zamok']) { + $b=$user['klan']; + header("Location: klan.php"); + mysql_query("update `clans` set `zamok`='2' WHERE `id`='$b'"); + mysql_query("INSERT INTO `z_clan`(`name_clan` , `hEAD`) VALUES ('''{$USER['KLAN']}','{$user['login']}');"); + + + } + echo '

    ',$klan['name'],'

    Количество рейтинговых очков клана: ',$klan['rating'],'
    '; + if ($klan['zamok']==2) {echo '
    У Вашего клана есть Замок


    ';} else {echo '
    У клана пока нет Замка


    ';} + if ($klan['glava']==$user['id'] OR $polno[$user['id']][0]==1 OR $polno[$user['id']][1]==1) { + echo "
    "; + if ($polno[$user['id']][0]==1) echo ' (это вам обойдется в 100 кр.)
    + (это вам обойдется в 30 кр.)
    '; + if ($klan['glava']==$user['id']) echo ' (Вы вправе сложить с себя полномочия, назначив Главой Клана другого персонажа)
    '; + if ($polno[$user['id']][1]==1 OR $klan['glava']==$user['id']) echo '
    '; + if (($klan['glava']==$user['id']) AND ($klan['zamok']=='0')) { + + if ($klan['rating']<'1000000') {echo' (У Вашего клана рейтинг меньше 1000000 очков.)
    ';} + else {echo ' + + + (Ваш клан получил право на свой Клановый Замок)
    + +
    '; } + } + +if (($klan['zbor']>='25000') AND ($klan['zamok']=='1') AND ($klan['glava']==$user['id'])) { + echo' +
    + (Построить замок на Клановой улице)
    + +
    '; + + } + if ($klan['rating']>='1000000' AND $klan['zamok']=='1') { + $ex=$klan['zbor']; + echo "Состояние построения кланового замка: $ex кр./25000 кр.
    "; + echo'
    + + + + +
    + ';} + + if ($_POST['login']) { + $sok = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `klan` = \''.$klan['id'].'\' AND `login` = \''.$_POST['login'].'\' LIMIT 1;')); + $st = strip_tags(str_replace("<","<",str_replace(">",">",$_POST['status'])),""); + if($klan['glava']==$sok['id']) { + $st = "Глава клана"; + } + if($sok) { + if($_POST['save']) { + if ($_POST['vin']=='on') { $polno[$sok['id']][0]=1; } else { $polno[$sok['id']][0]=0;} + if ($_POST['tus']=='on') { $polno[$sok['id']][1]=1; } else { $polno[$sok['id']][1]=0;} + $id_checked=mysql_real_escape_string($sok['id']); + + if(!mysql_query("UPDATE `users` SET `status` = '{$st}' WHERE `id` = '{$id_checked}';")) echo(mysql_error()); + if ($klan['glava']==$user['id']) { + mysql_query('UPDATE `clans` SET `vozm` = \''.serialize($polno).'\' WHERE `id` = \''.$klan['id'].'\';'); + } + $sok['status'] = $st; + } + echo '
    Редактирование статуса "',$sok['login'],'" + Звание в клане
    '; + if ($klan['glava']==$user['id']) { + echo 'Может принимать/выгонять членов клана
    + Может менять статус членов клана
    '; + } + echo '
    '; + } + + + } + if ($_POST['login3'] && $klan['glava']==$user['id']) { + $sok = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `klan` = \''.$klan['id'].'\' AND `login` = \''.$_POST['login3'].'\' LIMIT 1;')); + //mysql_query('update `users` set `money` = `money` - 30 WHERE `id` = '.$_SESSION['uid'].';'); + //mysql_query('update `users` set `klan` = \'\', `align` = 0 WHERE `id` = '.$sok['id'].';'); + mysql_query('update `clans` set `glava` = \''.$sok['id'].'\' WHERE `id` = '.$klan['id'].';'); + mysql_query('update `users` set `status` = \'Глава клана\' WHERE `id` = '.$sok['id'].';'); + mysql_query('update `users` set `status` = \'боец\' WHERE `id` = '.$user['id'].';'); + $klan['glava'] = $sok['id']; + } + if($_POST['login2'] && $polno[$user['id']][0]==1) { + $sok = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `klan` = \'\' AND `align` = \'0\' AND `login` = \''.$_POST['login2'].'\' LIMIT 1;')); + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$sok['id']."' AND `type` = 20 LIMIT 1;")); + if (!$eff) { + echo "Нет проверки!"; + } + elseif($sok['level']>0 && $user['money'] >= 100) { + echo 'Персонаж "',$sok['login'],'" успешно принят в клан.'; + mysql_query('update `users` set `money` = `money` - 100 WHERE `id` = '.$_SESSION['uid'].';'); + mysql_query('update `users` set `status`= \'боец\', `klan` = \''.$klan['id'].'\', `align` = \''.$klan['align'].'\' WHERE `id` = '.$sok['id'].';'); + } else { + echo "Не хватает денег, или его попросту не существует."; + } + } + if($_POST['login1'] && $polno[$user['id']][0]==1) { + $sok = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `klan` = \''.$klan['id'].'\' AND `login` = \''.$_POST['login1'].'\' LIMIT 1;')); + if ($sok && $user['money'] >= 30 && $klan['glava']!=$sok['id']) { + echo 'Персонаж "',$sok['login'],'" покинул клан.'; + mysql_query('update `users` set `money` = `money` - 30 WHERE `id` = '.$_SESSION['uid'].';'); + mysql_query('update `users` set `klan` = \'\', `align` = 0 WHERE `id` = '.$sok['id'].';'); + } + } + } else { + echo 'У вашего клана нет реликтов, или глава клана вам их не предоставил. ;)'; + } +?> + +
    + +
    +
    +

    Соклановцы

    + + + + +
    + = ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `klan` = '".$klan['id']."' order by online DESC, login asc ;"); + while ($row = mysql_fetch_array($data)) { + if ($row['online']>0) { + echo ''; + nick2($row['id']); + if ($row['id'] == $klan['glava']) { + echo ' - Глава клана'; + } else { + echo ' - ',$row['status'],''; + } + if($row['room'] > 500 && $row['room'] < 561) { + $rrm = 'Башня смерти, участвует в турнире'; + } + else { + $rrm = $rooms[$row['room']]; + } + echo ' - ',$rrm,'
    '; + } + else if ($row['online']<1) { + echo ''; + nick2($row['id']); + if ($row['id'] == $klan['glava']) { + echo ' - Глава клана'; + } else { + echo ' - ',$row['status'],''; + } + echo ' - персонаж не в клубе
    '; + } + } + ?> +
    +
    +
    + + \ No newline at end of file diff --git a/klanedit.php b/klanedit.php new file mode 100644 index 0000000..0b779be --- /dev/null +++ b/klanedit.php @@ -0,0 +1,182 @@ + "10000", "3" => "10000", "6" => "10000", "7" => "10000", "0" => "5000"); + + if (empty($_POST['klandescr'])) $error .= 'Введите описание клана!.
    '; + if (empty($_POST['http'])) $error .= 'Введите адрес сайта клана!.
    '; + if (!empty($user['align'])) $error .= 'Вы уже имеете направленность!.
    '; + if (!empty($user['klan'])) $error .= 'Вы уже состоите в клане!.
    '; + if ($mon[$_POST['klanalign']] >= $user['money']) $error .= 'Не хватает денег на регистрацию клана.
    '; + if (!$eff) $error .= 'Нет проверки.
    '; + +/* + if(!preg_match("/.*gif\$/i", $_FILES['small']['name'])) $error .= 'Это не gif файл.
    '; + if(!preg_match("/.*gif\$/i", $_FILES['big']['name'])) $error .= 'Это не gif файл.
    '; + + if (exif_imagetype($_FILES['small']['name']) != IMAGETYPE_PNG) $error .= 'Маленькая картинка не png файл'; + if (exif_imagetype($_FILES['big']['name']) != IMAGETYPE_PNG) $error .= 'Большая картинка не png файл'; + + $imageinfo1 = getimagesize($_FILES['small']['tmp_name']); + $imageinfo2 = getimagesize($_FILES['big']['tmp_name']); + + if($imageinfo1['mime'] != "image/gif") $error .= 'Это не gif файл.
    '; + if($imageinfo2['mime'] != "image/gif") $error .= 'Это не gif файл.
    '; + + if ($_FILES['small']['size'] > 1024 * 4) $error .= 'Файл слишком большой.
    '; + if ($_FILES['big']['size'] > 1024 * 10) $error .= 'Файл слишком большой.
    '; +*/ + + while ($cl_unique = mysql_fetch_array($all_clans)) { + $clans_list_name[] = $cl_unique['name']; + $clans_list_abbr[] = $cl_unique['short']; + } + + foreach ($clans_list_name as $c_name) if ($_POST['klanname'] == $c_name) $error .= 'Клан с таким именем уже существует!
    '; + foreach ($clans_list_abbr as $c_abbr) if ($_POST['klanabbr'] == $c_abbr) $error .= 'Клан с такой аббревиатурой уже существует!
    '; + + if (!$error) { + #Обработка входящих изображений + if (!empty($_FILES['small']['name'])) { + $handle = new upload($_FILES['small']['name']); + if ($handle->uploaded) { + $handle->file_new_name_body = $_POST['klanabbr']; + $handle->image_convert = 'png'; + $handle->file_max_size = '4096'; + $handle->png_compression = 9; + $handle->process('./i/klan/'); + if ($handle->processed) { + echo 'Малый герб сохранён.'; + $handle->clean(); + } else { + echo 'error : ' . $handle->error; + } + } + } + if (!empty($_FILES['big']['name'])) { + $handle = new upload($_FILES['small']['name']); + if ($handle->uploaded) { + $handle->file_new_name_body = $_POST['klanabbr']; + $handle->file_name_body_add = '_big'; + $handle->image_resize = true; + $handle->image_x = 100; + $handle->image_ratio_y = true; + $handle->image_convert = 'png'; + $handle->file_max_size = '10240'; + $handle->png_compression = 9; + $handle->process('./i/klan/'); + if ($handle->processed) { + echo 'Большой герб сохранён.'; + $handle->clean(); + } else { + echo 'error : ' . $handle->error; + } + } + } + + mysql_query("INSERT `reg_klan` (`name`,`owner`,`abr`,`http`,`sznak`,`bznak`,`align`,`descr`) + values (' + " . mysql_real_escape_string($_POST['klanname']) . "',' + " . mysql_real_escape_string($user['id']) . "',' + " . mysql_real_escape_string($_POST['klanabbr']) . "',' + " . mysql_real_escape_string($_POST['http']) . "',' + " . mysql_real_escape_string($_FILES['small']['name']) . "',' + " . mysql_real_escape_string($_FILES['big']['name']) . "',' + " . mysql_real_escape_string($_POST['klanalign']) . "',' + " . mysql_real_escape_string($_POST['klandescr']) . "');"); + move_uploaded_file($_FILES['small']['tmp_name'], './i/klan/' . mysql_real_escape_string($_POST['klanabbr']) . ".png"); + move_uploaded_file($_FILES['big']['tmp_name'], './i/klan/' . mysql_real_escape_string($_POST['klanabbr']) . "_big.png"); + mysql_query("UPDATE `users` set money=money-" . $mon[$_POST['klanalign']] . " where id='" . $user['id'] . "'"); + echo "Вам прийдет извещение о результате регистрации клана."; + } else echo "", $error, ""; + } + ?> + + + + + + + + + + + + +
    +
    +
    + +Заявки на регистрацию кланов"; + while ($clan = mysql_fetch_array($data)) { + echo " + ", $clan['date'], " + ", $clan['name'], " + ", $clan['abr'], " + ", nick2($clan['owner']), " + + + + ", $clan['http'], " + ", $clan['descr'], " + "; + } + echo ""; +} +?> + +

    Заявка на регистрацию клана (в разработке)

    +Для регистрации клана необходимо иметь: +
      +
    1. значки: +
      +
      - значок клана для чата (показывается рядом с ником персонажа), png картинка с прозрачным фоном + 24х15 не более чем 4kb. +
      - большой значок клана, для энциклопедии, в круге png картинка с прозрачным фоном 100х99 не более + чем 10kb. +
      +
    2. перед подачей заявки вы должны пройти проверку у Паладинов +
    +Стоимость регистрации кланов:
    +Светлое Братство - 10000 кр.
    +Темное Братство - 10000 кр.
    +Нейтральное Братство - 10000 кр.
    +Вольное Братство - 5000 кр.
    +
    +Заявку на регистрацию подает глава клана, у вас должна быть при себе необходимая сумма. +
    +
    + Заявка на регистрацию + +
    +
    + Маленький значок
    + Большой значок
    + +
    +
    + +
    +
    + + \ No newline at end of file diff --git a/krshop.php b/krshop.php new file mode 100644 index 0000000..9c45c9e --- /dev/null +++ b/krshop.php @@ -0,0 +1,280 @@ + (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + } + elseif(($user['money']>= ($dress['cost']*$_POST['count'])) && ($dress['count'] >= $_POST['count'])) { + + for($k=1;$k<=$_POST['count'];$k++) { + if(mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden` + ) + VALUES + ('{$dress['id']}','{$_SESSION['uid']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}' + ) ;")) + { + $good = 1; + } + else { + $good = 0; + } + } + if ($good) { + mysql_query("UPDATE `eshop` SET `count`=`count`-{$_POST['count']} WHERE `id` = '{$set}' LIMIT 1;"); + $limit=$_POST['count']; + $invdb = mysql_query("SELECT `id` FROM `inventory` WHERE `name` = '".$dress['name']."' ORDER by `id` DESC LIMIT ".$limit." ;" ); + if ($limit == 1) { + $dressinv = mysql_fetch_array($invdb); + $dressid = "cap".$dressinv['id']; + $dresscount=" "; + } + else { + $dressid=""; + while ($dressinv = mysql_fetch_array($invdb)) { + $dressid .= "cap".$dressinv['id'].","; + } + $dresscount="(x".$_POST['count'].") "; + } + $allcost=$_POST['count']*$dress['cost']; + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."] за ".$allcost." кр. ',1,'".time()."');"); + echo "Вы купили {$_POST['count']} шт. \"{$dress['name']}\"."; + mysql_query("UPDATE `users` set `money` = `money`- '".($allcost)."' WHERE id = {$user['id']}"); + $user['money'] -=$allcost; + } + } + else { + echo "Недостаточно денег или нет вещей в наличии."; + } + } + +?> + + + + + + + + + + + + + +

    Сувенирный магазин

    + +
    + + + + + + + + + + +
    + +> + + + + +
    + +Очень щедро дарить что-то самому себе ;)"; + } + elseif ($to['room'] > 500 && $to['room'] < 561) { + echo "Персонаж в данный момент участвует в турнире в Башне Смерти. Попробуйте позже."; + } + else { + + if($_POST['from']==1) { $from = 'Аноним'; } + elseif($_POST['from']==2 && $user['klan']) { $from = ' клан '.$klans['name']; } + else {$from = $user['login'];} + if ($to) if(mysql_query("UPDATE `inventory` SET `owner` = '".$to['id']."', `present` = '".$from."', `letter` = '".$_POST['podarok2']."' WHERE `present` = '' AND `id` = '".$_POST['flower']."' AND `owner` = '{$_SESSION['uid']}' AND `dressed` = 0 AND `setsale`=0")) { + $res = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `id` = '{$_POST['flower']}' LIMIT 1; ")); + $buket_name=$res['name']; + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','Подарен предмет \"".$res['name']."\" id:(cap".$res['id'].") [".$res['duration']."/".$res['maxdur']."] от \"".$from."\" к \"".$to['login']."\"','1','".time()."');"); + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$to['id']}','Подарен предмет \"".$res['name']."\" id:(cap".$res['id'].") [".$res['duration']."/".$res['maxdur']."] от \"".$from."\" к \"".$to['login']."\"','1','".time()."');"); + if(($_POST['from']==1) || ($_POST['from']==2)) { + $action="подарил"; + mysql_query("INSERT INTO `delo`(`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$to['id']}','Подарен предмет \"".$res['name']."\" id:(cap".$res['id'].") [".$res['duration']."/".$res['maxdur']."] от \"".$user['login']."\" к \"".$to['login']."\"','5','".time()."');"); + } + else { + if ($user['sex'] == 0) {$action="подарила";} + else {$action="подарил";} + } + $us = mysql_fetch_array(mysql_query("select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = '{$to['id']}' LIMIT 1;")); + if($us[0]){ + addchp ('Внимание!'.$from.' '.$action.' вам '.$buket_name.'. ','{[]}'.$_POST['to_login'].'{[]}'); + } else { + // если в офе + mysql_query("INSERT INTO `telegraph` (`owner`,`date`,`text`) values ('".$to['id']."','','".'Внимание!'.$from.' '.$action.' вам '.$buket_name.'. '."');"); + } + + if($user['first'] == 12 && ($to['id'] == 10023 || $to['id'] == 10024)) { + mysql_query("update `users` set `kwest_see_syvenir`=`kwest_see_syvenir`+'1' where `id`='".$user['id']."'"); + } + + echo "Подарок удачно доставлен к \"",$_POST['to_login'],"\""; + } + echo mysql_error(); + } + } + + ?> + + + +
    + "; + showitem ($row); + echo ""; + } +} +?> +
    + +Вы можете сделать подарок дорогому человеку. Ваш подарок будет отображаться в информации о персонаже. +
      +
    1. Укажите логин персонажа, которому хотите сделать подарок
      +Login +
    2. Цель подарка. Будет отображаться в информации о персонаже (не более 60 символов)
      + +
    3. Напишите текст сопроводительной записки (в информации о персонаже не отображается)
      + +
    4. Выберите, от чьего имени подарок:
      +
      + анонимно
      + от имени клана
      +
    5. Нажмите кнопку Подарить под предметом, который хотите преподнести в подарок:
      +
    + + + + "; + showitem ($row); + echo ""; + } + } +?> +
    "; + ?> +
    +
    + + 0 AND `razdel` = '{$_GET['otdel']}' and `ecost` = 0 ORDER by `cost` ASC"); + while($row = mysql_fetch_array($data)) { + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo "
    "; + ?> +
    купить + Купить несколько штук
    +
    + +
    + +
    Масса всех ваших вещей: /
    + У вас в наличии: кр.
    +
    +
    +
    +
    +
    Отделы магазина
    + Сувениры: открытки
    + Подарки
    + Уникальные подарки
    + Сделать подарки
    +
    +
    + + diff --git a/kwest.php b/kwest.php new file mode 100644 index 0000000..94408ec --- /dev/null +++ b/kwest.php @@ -0,0 +1,285 @@ + 0)) { header("Location: index.php"); } +include "config.php"; +$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1")); +$tp = time(); +include "functions.php"; + +if($user['kwest'] == 99) { + header('Location: main.php'); +} + +if($_GET['get_out'] == 1) { + header('Location: main.php'); +} + +?> + + + + + + + + + + + + + + + + + +

    Астрэйа

    + 0) { + mysql_query("UPDATE `users` SET `first` = 3, `exp` = (`exp`+45),`money` = (`money`+25) WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 4) { + if($user['first'] == 3 && $user['kwest_items_odet'] >= 2) { + mysql_query("UPDATE `users` SET `first` = 4, `exp` = (`exp`+65), `money` = (`money`+10) WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 5) { + if($user['first'] == 4 && $user['kwest_main_pl'] >= 1) { + mysql_query("UPDATE `users` SET `first` = 5 WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 6) { + if($user['first'] == 5 && $user['kwest_bank_see'] >= 1) { + mysql_query("UPDATE `users` SET `first` = 6, `exp` = (`exp`+100), `money` = (`money`+5) WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 7) { + if($user['first'] == 6 && $user['kwest_shop_see'] >= 1) { + mysql_query("UPDATE `users` SET `first` = 7 WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 8) { + if($user['first'] == 7 && $user['kwest_shop_buy'] >= 1) { + mysql_query("UPDATE `users` SET `first` = 8, `exp` = (`exp`+50), `money` = (`money`+5) WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 9) { + if($user['first'] == 8 && $user['kwest_train_umen'] >= 1) { + mysql_query("UPDATE `users` SET `first` = 9, `exp` = (`exp`+100), `money` = (`money`+5) WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 10) { + if($user['first'] == 9 && $user['kwest_battle_train'] >= 1) { + mysql_query("UPDATE `users` SET `first` = 10, `exp` = (`exp`+50) WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 11) { + if($user['first'] == 10 && $user['level'] >= 3) { + mysql_query("UPDATE `users` SET `first` = 11, `exp` = (`exp`+200) WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 12) { + if($user['first'] == 11 && $user['kwest_see_znahar'] >= 1) { + mysql_query("UPDATE `users` SET `first` = 12, `exp` = (`exp`+100) WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 13) { + if($user['first'] == 12 && $user['kwest_see_syvenir'] >= 1) { + mysql_query("UPDATE `users` SET `first` = 13 WHERE `id` = '".$user['id']."' LIMIT 1"); + #$times = (time() + 259200); + #mysql_query("UPDATE `users` SET `vip` = 1, `vip_time` = '".$times."' WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: kwest.php'); + } +} + +if($_GET['kwest'] == 14) { + if($user['first'] == 13) { + mysql_query("UPDATE `users` SET `first` = 99 WHERE `id` = '".$user['id']."' LIMIT 1"); + header('location: main.php'); + } +} + +if($user['first'] == 1) { + + $text = "Приветствую тебя, «$user[login]»!
    Меня зовут Астрэйа и я наставница новичков этого прелестного мира!

    Capital City полон загадок и опасных испытаний, преодолев которые, ты навсегда сможешь вписать свое имя в летопись Бойцовского Клуба Возрождение.

    Позволь мне рассказать тебе о первостепенных правилах нашего мира, а также познакомить тебя с техникой владения оружием. По окончании обучения ты будешь удостоен награды!
    "; + + $status = " Да, я готов! Вперед за наградой!"; + + $status .= "

    Нет, я и так все знаю, справлюсь без тебя! До свидания!"; + +} elseif($user['first'] == 2) { + + $text = "Я рада что ты согласился принять мою помощь.
    Для начала давай расставим статы.


    Для этого зайди в Инвентарь там ты увидишь вкладку Параметры, открой ее нажав на + и тебе откроется меню, в котором ты увидишь 4 стата
    (Сила, Ловкость, Интуиция, Выносливость) и возле каждого из них.

    Сила - позволяет наносить более мощные удары, а также увеличивает место в твоем инвентаре.
    Ловкость - позволяет отражать удары противника.
    Интуиция - позволяет наносить критические удары, которые в несколько раз сильнее обычных и пробивают защиту противника.
    Выносливость - это зеленая полоска над персонажем, указывающая уровень жизни; увеличивая выносливость ты увеличиваешь уровень жизни.

    Нажимая на ты увеличиваешь выбранный параметр на 1.
    P.S. Если ты забыл, какое выполняешь задание, то нажми на иконку , расположенную над списком игроков онлайн."; + $text .= '


    Задание: Расставить все нераспределенные статы в инвентаре
    '; + if($user['kwest_train_param'] >= 1) { + $status = " Задание выполнено! Награда: 45 опыта и 25 кредитов
    Забрать награду и двигаться дальше!"; + } else { + $status .= " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 3) { + + $text = "Молодец! Ты схватываешь все на лету!
    А теперь, когда ты успешно завершил первое задание, пора бы тебе и одеться в вещи, подаренные Ангелами!
    Зайди в Инвентарь , в раздел Аммуниция и надень Шлем Новобранца и Рубаха Новобранца.
    Также в разделе Заклинания расположен свиток Шаг Назад , это заклинание позволяет тебе сбросить все статы на 1 единицу, но пока не используй его, оно пригодится тебе позже.

    В разделе Разное ты найдешь Зелье Жизни , оно позволяет тебе полностью восполнить уровень жизни."; + $text .= '

    Задание: Надеть Шлем Новобранца и Рубаха Новобранца
    '; + if($user['kwest_items_odet'] >= 2){ + $status = " Задание выполнено! Награда: 65 опыта и 10 кредитов
    Забрать награду и двигаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 4) { + + $text = "А тебе идет! Теперь ты смело можешь выходить в свет!

    Выходи на Центральную Площадь, я буду тебя там ждать!
    Для того, чтобы выйти на ЦП (Центральная Площадь), необходимо нажать на кнопку Выйти на Центральную площадь"; + $text .= '

    Задание: Выйти на Центральную площадь.
    '; + if($user['kwest_main_pl'] >= 1) { + $status = " Задание выполнено!
    • Двагаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 5) { + + $text = "Как тебе наш город? Красивый, не правда ли?
    Ого! Ты уже достиг 1ого уровня! Я поздравляю тебя с этим событием и советую расставить нераспределенные статы.

    Если ты забыл как это делать, то можешь смело спросить у представителей Ордена Света. Это специально сформированный Орден, в который отбирают самых достойных и законопослушных граждан нашего города. Они всегда готовы помочь и ответить на любой интересующий тебя вопрос по игре.

    Распознать их ты можешь по особой склонности , расположенной возле их ника.
    А теперь отправляйся на Страшилкина Улица и заходи в Банк, там я буду тебя ждать."; + $text .= '

    Задание: Зайти в здание Банка на Страшилкиной Улице.
    '; + if($user['kwest_bank_see'] >= 1) { + $status = " Задание выполнено! Награда: 100 опыта и 5 кредитов
    Забрать и двагаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 6) { + + $text = "Добро пожаловать в Банк Capital City!

    Тут ты можешь хранить свои себережения, как в валюте, так и в кредитах, а также передавать их другим персонажам.

    Чтобы начать пользоваться всеми привилегиями клиента Банка, придумай пароль и продублируй его в специальном окне Новый Счет.
    Как только освоишься, направляйся в здание Магазина на Центральной Площади, я уже буду там!"; + $text .= '

    Задание: Зайти в магазин на ЦП
    '; + + if($user['kwest_shop_see'] >= 1) { + $status = " Задание выполнено!
    • Двагаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 7) { + + $text = "Вот мы и в магазине! Смотри сколько тут всего!
    Давай выберем тебе твое первое оружие:

    Короткий готический меч

    Церемониальный топор

    Дубина

    Меч обычно выбирают критовики, Топор - уворотчики, Дубину - силовики.

    Купи оружие и надень его на себя, но не забывай, что оружие должно быть одно из трех, перечисленных выше!"; + $text .= '

    Задание: Купить и надеть одно из 3 оружий (Короткий готический меч, Церемониальный топор, Дубина).
    '; + + if($user['kwest_shop_buy'] >= 1) { + $status = " Задание выполнено! Награда: 50 опыта и 5 кредитов
    Забрать и двагаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 8) { + + $text = "Пришло время рассказать тебе о том как усовершенствовать свое мастерство владения оружием.

    Зайди в Инвентарь и там ниже вкладки Параметры ты обнаружишь вкладку Мастерство, открой ее нажав на + и тебе откроется меню, в котором ты увидишь 2 нераспределенных увеличения.

    Раскинь нераспределенные увеличения, нажав на напротив того оружия, которое ты приобрел."; + $text .= '

    Задание: Расставить нераспределенные умения.
    '; + + if($user['kwest_train_umen'] >= 1) { + $status = " Задание выполнено! Награда: 100 опыта и 5 кредитов
    Забрать и двагаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 9) { + + $text = "«$user[login]», теперь ты готов к своему первому поединку!
    Направляйся в Комнату Новичков, чтобы попасть туда, тебе необходимо выйти на Центральную Площадь, а далее зайти в Комнату Новичков.

    Нажми на кнопку Поединки и нажми на Физические. Подавая заявку, не забудь выставить желаемое время Таймаута (3, 4, 5, 7, 10 минут) и тип боя (с оружием, кулачный, кровавый).

    Бой с оружием - это бой в обмундировании.
    Кулачный бой означает, что ты не сможешь ничего надеть в бой.
    Кровавый бой означает, что проигравшая сторона получит травму.

    Проверь, чтобы Таймаут был 3 минуты и тип боя с оружием. После этого нажми на кнопку Подать Заявку. Вскоре появится кнопка Начать тренировочный Бой, жми на нее и твой первый бой начнется!

    Удачи!
    "; + $text .= '

    Задание: Провести свой первый поединок с оружием.
    '; + + if($user['kwest_battle_train'] >= 1) { + $status = " Задание выполнено! Награда: 50 опыта
    Забрать и двагаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 10) { + + $text = "Теперь тебе предстоит отточить свои навыки владения оружием и подготовиться к великим сражениям.
    Дойди до 3 уровня, сражаясь в физических поединках с тренировочным манекеном или же с настоящими соперниками, в том числе и в групповых боях."; + $text .= '

    Задание: Дойти до 3го уровня.
    '; + + if($user['level'] >= 3) { + $status = " Задание выполнено! Награда: 200 опыта
    Забрать и двагаться дальше!"; + } else { + $status = "Задание еще не выполнено!"; + } + +} elseif($user['first'] == 11) { + + $text = "Поздравляю с получением 3 уровня!

    В нашем мире не все бои заканчиваются благополучно, зачастую проигравшая сторона получает инвалидность .
    Хвала Ангелам у нас живет Лекарь, который лечит самые сложные переломы.

    Тебе пора познакомиться с ним, обитает он в Хижина Знахаря. Она располагается на Замковая Улица, слева от Центральная Площадь.

    Зайди к нему, порадуй старика, также ты там можешь скинуть статы, умения, и многое другое.

    Передавай от меня привет!"; + $text .= '

    Задание: Посетить Лекаря в Хижине Знахаря.
    '; + + if($user['kwest_see_znahar'] >= 1) { + $status = " Задание выполнено! Награда: 100 опыта
    Забрать и двагаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 12) { + + $text = "На этом твои испытания не заканчиваются!

    Направляйся в Сувенирный Магазин, который находится на Центральной Площади.

    Поговаривают, что если вознести дары верным предводителям армий Мусорщика или Мироздателя, то сами Ангелы будут к тебе благосклонны.

    Сделай подарок одному из них:

    Архангел [21] , предводитель светлой стороны,
    или
    Приспешник тьмы [21] , предводитель темной стороны!"; + $text .= '

    Задание: Сделать подарок в Сувенирном Магазине одному из Ангелов.
    '; + + if($user['kwest_see_syvenir'] >= 1) { + $status = " Задание выполнено! Награда: Silver Аккаунт на 3 дня
    Забрать и двагаться дальше!"; + } else { + $status = " Задание еще не выполнено!"; + } + +} elseif($user['first'] == 13) { + + $text = "Ну вот и настало время прощаться!
    Удачи тебе воин!
    До скорых встреч:)"; + + $status = "• Спасибо, до скорой встречи!"; + + + +} else { + $text = 'Вы завершили все квесты. Приходите позже...'; $status = ' Все задания выполнены.
    '; +} + + +if($text) { + echo "
    "; + echo "
    ".$text."
    ".$status."
    "; +} + + +?> + + \ No newline at end of file diff --git a/lab.php b/lab.php new file mode 100644 index 0000000..d687f04 --- /dev/null +++ b/lab.php @@ -0,0 +1,480 @@ + + + + += $cost){ + mysql_query("UPDATE `users` SET `hp`=`maxhp` WHERE `lab`='1' AND `bot`!='1';"); + mysql_query("insert into `lab_heal_log` (`kto`,`cost`) VALUES ('".$kto."','".$cost."')"); + mysql_query("update `users` set `money`=`money`-'".$cost."' where `login`='".$user['login']."'"); + echo"Вы всех излечили за ".$cost." Кр!
    "; +}else{echo"Не достаточно денег.
    ";} +} + + +If($_GET['buykill'] == 1){ + if($user['money'] >= 0.15){ + mysql_query("update `users` set `money`=`money`-'0.15' where `id`='".$user['id']."'"); + mysql_query("update `lab_user` set `svitok_kill`=`svitok_kill`+'1' where `id_user`='".$user['id']."'"); + echo""; +}echo"Не достаточно денег!
    "; +} + +if($_GET['svitheal'] == 1){ + If($u_res['svitok_heal'] >= 1){ + if($user['hp'] < $user['maxhp']){ +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); +Mysql_query("update `lab_user` set `svitok_heal`=`svitok_heal`-'1' where `id_user`='".$user['id']."'"); + echo""; +}else{echo"Ваши жизни итак полны!
    ";} +}else{echo"У Вас нет свитков оздоровления!
    ";} +} + +if($_GET['eexit'] == 1){ + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_user` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); + $msg .= 'Вышли...
    '; + mysql_query("UPDATE `users` SET `lab` = 0 , `room` = '99' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + echo""; +} + +if($_GET['kwestend'] == 1){ + ///////////*****3ADAHU9I******////////// +if($u_res['zadanie'] == 1){$mkol = 3;} +elseif($u_res['zadanie'] == 2){$mkol = 10;} +elseif($u_res['zadanie'] == 3){$mkol = 50;} +elseif($u_res['zadanie'] == 4){$mkol = 10;} +elseif($u_res['zadanie'] == 5){$mkol = 15;} +elseif($u_res['zadanie'] == 6){$mkol = 25;} +elseif($u_res['zadanie'] == 7){$mkol = 5;} +elseif($u_res['zadanie'] == 8){$mkol = 10;} +if($u_res['zad'.$u_res['zadanie'].'_kol'] >= $mkol){ + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp`,`city_mountain`=`city_mountain`+'".$u_res['nagrada']."',`doblest`=`doblest`+'".$u_res['nagrada']."' where `login`='".$user['login']."'"); +mysql_query("DELETE FROM `lab_user` WHERE `id_user` = '".$user['id']."'"); +mysql_query("UPDATE `users` SET `lab`='0',`room` ='99' WHERE `id` = '".$user['id']."';"); + echo""; +}else{echo"Вы еще не собрали все ресурсы
    ";} +} + +if($_GET['mobkill'] == 1){ + If($u_res['svitok_kill'] > 0){ + $coma = array ( +"Бот яростно замахнулся, но вы уклонились от удара!", +"Вы заблокировали подлый удар в спину.", +"Ваша реакция позволила вам отпрыгнуть от врага.", +"Вы громко закричали, в следствии чего бот промахнулся.", +"Бот явно не расчитал свою силы и ударил мимо вас!", +"Вы технично парировали удар."); +$com = $coma[rand(0,count($coma)-1)]; +$id = $_GET['idbot']; +$rand_bot_atack = rand(1,3); +$rand_bot_hpkol2 = rand(1,7); +$rand_bot_hpkol1 = rand(3,20); +$rand_bot_hpkol = ($rand_bot_hpkol1 + $rand_bot_hpkol2) * $user['level']; +if($rand_bot_atack == 1){$user['hp'] = $user['hp'] - $rand_bot_hpkol;echo"*** Бот атаковал вас на -".$rand_bot_hpkol." HP!
    ";mysql_query("update `users` set `hp`=`hp`-'".$rand_bot_hpkol."' where `id`='".$user['id']."'");} +else{echo"*** Бот промахнулся!
    ";} + $rand_hp1 = rand(1,10); + $rand_hp = $rand_hp1 * $user['level']; + $bot = mysql_fetch_array(mysql_query("select * from `lab_bots` where `id_bot`='".$id."' AND `id_user`='".$user['id']."' AND `id_room`='".$user['room']."' LIMIT 1")); +$hels = $bot['bot_hp'] - $rand_hp; +if($hels < 0){ + echo"Вы убили моба!
    "; +///Если нужно выбить записки +if($u_res['zadanie'] == 7){ +$zapis = rand(1,4); +if($zapis == 1){ +echo"Вы получили 1 записку!
    "; +Mysql_query("update `lab_user` set `zad".$u_res['zadanie']."_kol`=`zad".$u_res['zadanie']."_kol`+'1' where `id_user`='".$user['id']."'"); +} +mysql_query("delete from `lab_bots` where `id_bot`='".$id."' AND `id_user`='".$user['id']."' AND `id_room`='".$user['room']."' LIMIT 1"); +//если просто убивалка +}else{ +Mysql_query("update `lab_user` set `zad".$u_res['zadanie']."_kol`=`zad".$u_res['zadanie']."_kol`+'1' where `id_user`='".$user['id']."'"); + mysql_query("delete from `lab_bots` where `id_bot`='".$id."' AND `id_user`='".$user['id']."' AND `id_room`='".$user['room']."' LIMIT 1"); +}} +else{echo"Вы отняли у моба -".$rand_hp." HP!
    ";mysql_query("update `lab_bots` set `bot_hp`=`bot_hp`-'".$rand_hp."' where `id`='".$bot['id']."'");} +Mysql_query("update `lab_user` set `svitok_kill`=`svitok_kill`-'1' where `id_user`='".$user['id']."'"); +}else{echo"У вас нет свитков атаки!
    ";} +} + +if($_GET['svitexit'] == 1){ + If($u_res['exit_teleport'] >= 1){ + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); +Mysql_query("update `lab_user` set `exit_teleport`=`exit_teleport`-'1' where `id_user`='".$user['id']."'"); +mysql_query("UPDATE `users` SET `lab`='0',`room` ='99' WHERE `id` = '".$user['id']."';"); + echo""; +}else{echo"У вас нет свитков возрата!
    ";} +} + + if($_GET['exit'] && $room['exit']==1) { + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); +mysql_query("UPDATE `users` SET `lab`='0',`room` ='99' WHERE `id` = '".$user['id']."';"); + echo""; + } + + if($_GET['get']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($_GET['get'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + + switch($data['type']){ + case 1: + $d = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."';")); + if($user['sila']*4 > $d[0]) { + mysql_query("INSERT INTO `lab_tmp` (`id_user`,`type`,`value`) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."');"); + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + } + break; + case 2: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + mysql_query("UPDATE `users` SET `hp` = `maxhp`, `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['hp'] = $user['maxhp']; + break; + case 6: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + Mysql_query("update `lab_user` set `zad3_kol`=`zad3_kol`+'1' where `id_user`='".$user['id']."'"); + echo""; + break; + case 5: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + Mysql_query("update `lab_user` set `zad2_kol`=`zad2_kol`+'1' where `id_user`='".$user['id']."'"); + echo""; + break; + case 7: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + Mysql_query("update `lab_user` set `zad8_kol`=`zad8_kol`+'1' where `id_user`='".$user['id']."'"); + echo""; + break; + case 4: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + Mysql_query("update `lab_user` set `zad1_kol`=`zad1_kol`+'1' where `id_user`='".$user['id']."'"); + echo""; + break; + case 3: + $d = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `id_user`='".$user['id']."';")); + if($user['sila']*4 > $d[0]) { + mysql_query("INSERT INTO `lab_tmp` (`id_user`,`type`,`value`) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."');"); + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + } + break; + case 9: + $d = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `id_user`='".$user['id']."';")); + if($user['sila']*4 > $d[0]) { + mysql_query("INSERT INTO `lab_tmp` (`id_user`,`type`,`value`) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."');"); + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + } + break; + case 8: + $d = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `id_user`='".$user['id']."';")); + if($user['sila']*4 > $d[0]) { + mysql_query("INSERT INTO `lab_tmp` (`id_user`,`type`,`value`) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."');"); + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + } + break; + } + } + unset($data); + } + + if($_GET['drop']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_tmp` WHERE `id` = '".mysql_real_escape_string($_GET['drop'])."' AND `id_user`='".$user['id']."';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + mysql_query("INSERT INTO `lab_inv` (`id_room`,`type`,`value`,`id_user`) values ('".mysql_real_escape_string($user['room'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."','".mysql_real_escape_string($user['id'])."');"); + unset($data); + } + + if($_GET['nal1']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_bots` WHERE `id` = '".mysql_real_escape_string($_GET['nal1'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + $sum = mysql_fetch_array(mysql_query("SELECT SUM(`value`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='1';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='1';"); + mysql_query("UPDATE `users` SET `money` = `money`+'".mysql_real_escape_string($sum[0])."' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + err('Вы обналичили у Архивариуса чек на '.round($sum[0],2).' кр!
    '); + } + unset($data); + } + + + if($_GET['nal2']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_bots` WHERE `id` = '".mysql_real_escape_string($_GET['nal2'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + $sum = mysql_fetch_array(mysql_query("SELECT SUM(`value`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='3';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='3';"); + mysql_query("UPDATE `users` SET `doblest` = `doblest`+'".mysql_real_escape_string($sum[0])."' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + err('Вы обналичили у Архивариуса чек на '.round($sum[0],2).' доблести!
    '); + } + unset($data); + } + + + if($_GET['nal3']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_bots` WHERE `id` = '".mysql_real_escape_string($_GET['nal3'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + $sum = mysql_fetch_array(mysql_query("SELECT SUM(`value`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='8';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='8';"); + mysql_query("UPDATE `users` SET `ekr` = `ekr`+'".mysql_real_escape_string($sum[0])."' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + err('Вы обналичили у Архивариуса чек на '.round($sum[0],2).' екр!
    '); + } + unset($data); + } + + + if($_GET['nal4']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_bots` WHERE `id` = '".mysql_real_escape_string($_GET['nal4'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + $sum = mysql_fetch_array(mysql_query("SELECT SUM(`value`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='9';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='9';"); + mysql_query("UPDATE `users` SET `exp` = `exp`+'".mysql_real_escape_string($sum[0])."' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + err('Вы обналичили у Архивариуса чек на '.round($sum[0],2).' опыта!
    '); + } + unset($data); + } + + if ($_GET['go']) { + if(time()-$_SESSION['time'] <= 3) { + echo "Не так быстро"; + } + else + switch($_GET['go']) { + case "p1": + mysql_query("UPDATE `users` SET `room` = '".mysql_real_escape_string($room['p1'])."', `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['room'] = $room['p1']; + $_SESSION['time'] = time(); + break; + case "p2": + mysql_query("UPDATE `users` SET `room` = '".mysql_real_escape_string($room['p2'])."', `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['room'] = $room['p2']; + $_SESSION['time'] = time(); + break; + case "p3": + mysql_query("UPDATE `users` SET `room` = '".mysql_real_escape_string($room['p3'])."', `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['room'] = $room['p3']; + $_SESSION['time'] = time(); + break; + case "p4": + mysql_query("UPDATE `users` SET `room` = '".mysql_real_escape_string($room['p4'])."', `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['room'] = $room['p4']; + $_SESSION['time'] = time(); + break; + } + } + + $room = mysql_fetch_array(mysql_query("SELECT * FROM `lab_rooms` WHERE `id` = '".mysql_real_escape_string($user['room'])."';")); + + if($user['hp'] <= 0) { + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_user` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); + $msg .= 'К сожалению, Вы умерли!
    '; + mysql_query("UPDATE `users` SET `lab` = 0 , `room` = '99' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + echo""; + } + + + + $data = mysql_query("SELECT * FROM `lab_inv` WHERE `id_room` = '".mysql_real_escape_string($user['room'])."' AND `id_user`='".$user['id']."';"); + $data2 = mysql_query("SELECT * FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."';"); + $data3 = mysql_query("SELECT * FROM `users` WHERE `lab` = 1 AND `room` = '".mysql_real_escape_string($room['id'])."';"); + $data4 = mysql_query("SELECT * FROM `lab_bots` WHERE `id_room` = '".mysql_real_escape_string($room['id'])."' AND `id_user`='".$user['id']."';"); + + $roow = mysql_fetch_array(mysql_query("SELECT * FROM `lab_trap` WHERE `id_room` = '".mysql_real_escape_string($user['room'])."' AND `id_user`='".$user['id']."';")); + + if($roow[0]) { + $msg .= 'В комнате была установлена ловушка...
    '; + switch($roow[3]) { + case 1: + mysql_query("UPDATE `users` SET `hp` = '1' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + break; + case 2: + mysql_query("UPDATE `users` SET `hp` = `hp`/2+1 WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + break; + case 3: + mysql_query("UPDATE `users` SET `hp` = `hp`/3+1 WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + break; + case 4: + mysql_query("UPDATE `users` SET `hp` = `hp`/4+1 WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + break; + } + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '".mysql_real_escape_string($_SESSION['uid'])."' LIMIT 1;")); + mysql_query("DELETE FROM `lab_trap` WHERE `id` = '".mysql_real_escape_string($roow['id'])."' AND `id_user`='".$user['id']."';"); + } + + if((time()-$_SESSION['time']) > 3) { + $tt = 3; + } + else { + $tt =(time()-$_SESSION['time']); + } +?> + + + + + + +Выйти?"; + echo ""; + echo ""; + echo "
    ".$msg; echo ""; + if($room['exit']==1) { + echo "В комнате есть выход.ВЫЙТИ!
    "; + } + + echo" Свиток возрата: ".$u_res['exit_teleport']." | Свиток оздоровления: ".$u_res['svitok_heal']."
    "; + + echo" + Бот-атаки: ".$u_res['svitok_kill']." [купить]"; + echo"

    "; + +$log = mysql_query("select * from `lab_heal_log` order by `id` desc LIMIT 1"); + for($i=0; $i".$u_info['login']." [".$u_info['level']."]Информация о ".$u_info[ излечил всех за ".$log_inf['cost']." кр.
    "; + +} + + echo"".$room['name']." (".$user['room'].")

     "; + $u_lab = mysql_query("select `login` from `users` where `lab`='1' and `bot`!='1'"); +$u_lab_kol = mysql_num_rows($u_lab); +$heal_all = (($u_lab_kol/2)+1); +echo"Всего в Квестовом Лабиринте: ".$u_lab_kol." чел. [излечить]
    "; + echo"В этой комнате:"; + echo"
  • Игроки:"; + while($items = mysql_fetch_array($data3)){ + echo "
    "; nick2($items['id']); + } + echo"
  • Мобы:"; + while($items = mysql_fetch_array($data4)){ + echo "
    "; echo"".$items['bot_name']." "; echo" [".$items['bot_hp']."/".$items['bot_hpmax']."]"; + if(($u_res['zadanie_mob_id'] == $items['id_bot'] && $u_res['svitok_kill'] > 0) || ($u_res['zadanie'] == 7 && $u_res['svitok_kill'] > 0)){echo" [атака]";} + + if($items['id_bot'] == 4) { + echo "
    [Обналичить чеки на кр]
    "; + } + elseif($items['id_bot'] == 5) { + echo "
    [Обналичить чеки на добл.]
    "; + } + elseif($items['id_bot'] == 6) { + echo "
    [Обналичить чеки на екры]
    "; + } + elseif($items['id_bot'] == 7) { + echo "
    [Обналичить чеки на опыт]
    "; + } + } + echo"
  • Ресурсы:"; + while($items = mysql_fetch_array($data)){ + switch($items['type']){ + case 1: + echo "
    Чек на ".$items['value']." кр."; + break; + case 2: + echo "
    Колодец жизни"; + break; + case 6: + echo "
    Подарок"; + break; + case 5: + echo "
    Нож"; + break; + case 7: + echo "
    Установить древний символ"; + break; + case 3: + echo "
    Чек на ".$items['value']." добл."; + break; + case 8: + echo "
    Чек на ".$items['value']." екр"; + break; + case 9: + echo "
    Чек на ".$items['value']." опыта"; + break; + case 4: + echo "
    Синий жемчуг"; + break; + } + } + echo "
  • "; +///////////*****3ADAHU9I******////////// +if($u_res['zadanie'] == 1){$mkol = 3;} +elseif($u_res['zadanie'] == 2){$mkol = 10;} +elseif($u_res['zadanie'] == 3){$mkol = 50;} +elseif($u_res['zadanie'] == 4){$mkol = 10;} +elseif($u_res['zadanie'] == 5){$mkol = 15;} +elseif($u_res['zadanie'] == 6){$mkol = 25;} +elseif($u_res['zadanie'] == 7){$mkol = 5;} +elseif($u_res['zadanie'] == 8){$mkol = 10;} +echo"Задание: ".$u_res['zadanie_opisanie']." [".$u_res['zad'.$u_res['zadanie'].'_kol']."/".$mkol."]"; +if($u_res['zad'.$u_res['zadanie'].'_kol'] >= $mkol){echo" + ЗАВЕРШИТЬ! + ";} + +?> + +Найденные ресурсы:"; + while($items = mysql_fetch_array($data2)){ + if($items['type']==1){echo "
    Чек на ".$items['value']." кр.";} + if($items['type']==3){echo "
    Чек на ".$items['value']." добл.";} + if($items['type']==9){echo "
    Чек на ".$items['value']." опыта";} + if($items['type']==8){echo "
    Чек на ".$items['value']." екр";} + + } + echo "
    Всего: ".mysql_num_rows($data2)."/".($user['sila']*4)." "; + echo "
    "; + +?> + + diff --git a/lab2.php b/lab2.php new file mode 100644 index 0000000..505344a --- /dev/null +++ b/lab2.php @@ -0,0 +1,481 @@ + + + + += $cost){ + mysql_query("UPDATE `users` SET `hp`=`maxhp` WHERE `lab`='1' AND `bot`!='1';"); + mysql_query("insert into `lab_heal_log` (`kto`,`cost`) VALUES ('".$kto."','".$cost."')"); + mysql_query("update `users` set `money`=`money`-'".$cost."' where `login`='".$user['login']."'"); + echo"Вы всех излечили за ".$cost." Кр!
    "; +}else{echo"Недостаточно денег.
    ";} +} + + +If($_GET['buykill'] == 1){ + if($user['money'] >= 0.15){ + mysql_query("update `users` set `money`=`money`-'0.15' where `id`='".$user['id']."'"); + mysql_query("update `lab_user` set `svitok_kill`=`svitok_kill`+'1' where `id_user`='".$user['id']."'"); + echo""; +}echo"Недостаточно денег!
    "; +} + +if($_GET['svitheal'] == 1){ + If($u_res['svitok_heal'] >= 1){ + if($user['hp'] < $user['maxhp']){ +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); +Mysql_query("update `lab_user` set `svitok_heal`=`svitok_heal`-'1' where `id_user`='".$user['id']."'"); + echo""; +}else{echo"Ваши жизни итак полны!
    ";} +}else{echo"У вас нет свитков оздоровления!
    ";} +} + +if($_GET['eexit'] == 1){ + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_user` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); + $msg .= 'Вышли...
    '; + mysql_query("UPDATE `users` SET `lab` = 0 , `room` = '99' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + echo""; +} + +if($_GET['kwestend'] == 1){ + ///////////*****3ADAHU9I******////////// +if($u_res['zadanie'] == 1){$mkol = 3;} +elseif($u_res['zadanie'] == 2){$mkol = 10;} +elseif($u_res['zadanie'] == 3){$mkol = 50;} +elseif($u_res['zadanie'] == 4){$mkol = 10;} +elseif($u_res['zadanie'] == 5){$mkol = 15;} +elseif($u_res['zadanie'] == 6){$mkol = 25;} +elseif($u_res['zadanie'] == 7){$mkol = 5;} +elseif($u_res['zadanie'] == 8){$mkol = 10;} +if($u_res['zad'.$u_res['zadanie'].'_kol'] >= $mkol){ + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp`,`city_mountain`=`city_mountain`+'".$u_res['nagrada']."',`nagrada_mountain`=`nagrada_mountain`+'".$u_res['nagrada']."' where `login`='".$user['login']."'"); +mysql_query("DELETE FROM `lab_user` WHERE `id_user` = '".$user['id']."'"); +mysql_query("UPDATE `users` SET `lab`='0',`room` ='99' WHERE `id` = '".$user['id']."';"); + echo""; +}else{echo"Вы еще не собрали все ресурсы
    ";} +} + +if($_GET['mobkill'] == 1){ + If($u_res['svitok_kill'] > 0){ + $coma = array ( +"Бот яростно замахнулся, но вы уклонились от удара!", +"Вы заблокировали подлый удар в спину.", +"Ваша реакция позволила вам отпрыгнуть от врага.", +"Вы громко закричали, в следствии чего бот промахнулся.", +"Бот явно не расчитал свою силы и ударил мимо вас!", +"Вы технично парировали удар."); +$com = $coma[rand(0,count($coma)-1)]; +$id = $_GET['idbot']; +$rand_bot_atack = rand(1,3); +$rand_bot_hpkol2 = rand(1,7); +$rand_bot_hpkol1 = rand(3,20); +$rand_bot_hpkol = ($rand_bot_hpkol1 + $rand_bot_hpkol2) * $user['level']; +if($rand_bot_atack == 1){$user['hp'] = $user['hp'] - $rand_bot_hpkol;echo"*** Бот атаковал вас на -".$rand_bot_hpkol." HP!
    ";mysql_query("update `users` set `hp`=`hp`-'".$rand_bot_hpkol."' where `id`='".$user['id']."'");} +else{echo"*** Бот промахнулся!
    ";} + $rand_hp1 = rand(1,10); + $rand_hp = $rand_hp1 * $user['level']; + $bot = mysql_fetch_array(mysql_query("select * from `lab_bots` where `id_bot`='".$id."' AND `id_user`='".$user['id']."' AND `id_room`='".$user['room']."' LIMIT 1")); +$hels = $bot['bot_hp'] - $rand_hp; +if($hels < 0){ + echo"Вы убили моба!
    "; +///Если нужно выбить записки +if($u_res['zadanie'] == 7){ +$zapis = rand(1,4); +if($zapis == 1){ +echo"Вы получили 1 записку!
    "; +Mysql_query("update `lab_user` set `zad".$u_res['zadanie']."_kol`=`zad".$u_res['zadanie']."_kol`+'1' where `id_user`='".$user['id']."'"); +} +mysql_query("delete from `lab_bots` where `id_bot`='".$id."' AND `id_user`='".$user['id']."' AND `id_room`='".$user['room']."' LIMIT 1"); +//если просто убивалка +}else{ +Mysql_query("update `lab_user` set `zad".$u_res['zadanie']."_kol`=`zad".$u_res['zadanie']."_kol`+'1' where `id_user`='".$user['id']."'"); + mysql_query("delete from `lab_bots` where `id_bot`='".$id."' AND `id_user`='".$user['id']."' AND `id_room`='".$user['room']."' LIMIT 1"); +}} +else{echo"Вы отняли у моба -".$rand_hp." HP!
    ";mysql_query("update `lab_bots` set `bot_hp`=`bot_hp`-'".$rand_hp."' where `id`='".$bot['id']."'");} +Mysql_query("update `lab_user` set `svitok_kill`=`svitok_kill`-'1' where `id_user`='".$user['id']."'"); +}else{echo"У вас нет свитков атаки!
    ";} +} + +if($_GET['svitexit'] == 1){ + If($u_res['exit_teleport'] >= 1){ + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); +Mysql_query("update `lab_user` set `exit_teleport`=`exit_teleport`-'1' where `id_user`='".$user['id']."'"); +mysql_query("UPDATE `users` SET `lab`='0',`room` ='99' WHERE `id` = '".$user['id']."';"); + echo""; +}else{echo"У вас нет свитков возрата!
    ";} +} + + if($_GET['exit'] && $room['exit']==1) { + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); +mysql_query("UPDATE `users` SET `lab`='0',`room` ='99' WHERE `id` = '".$user['id']."';"); + echo""; + } + + if($_GET['get']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($_GET['get'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + + switch($data['type']){ + case 1: + $d = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."';")); + if($user['sila']*4 > $d[0]) { + mysql_query("INSERT INTO `lab_tmp` (`id_user`,`type`,`value`) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."');"); + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + } + break; + case 2: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + mysql_query("UPDATE `users` SET `hp` = `maxhp`, `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['hp'] = $user['maxhp']; + break; + case 6: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + Mysql_query("update `lab_user` set `zad3_kol`=`zad3_kol`+'1' where `id_user`='".$user['id']."'"); + echo""; + break; + case 5: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + Mysql_query("update `lab_user` set `zad2_kol`=`zad2_kol`+'1' where `id_user`='".$user['id']."'"); + echo""; + break; + case 7: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + Mysql_query("update `lab_user` set `zad8_kol`=`zad8_kol`+'1' where `id_user`='".$user['id']."'"); + echo""; + break; + case 4: + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + Mysql_query("update `lab_user` set `zad1_kol`=`zad1_kol`+'1' where `id_user`='".$user['id']."'"); + echo""; + break; + case 3: + $d = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `id_user`='".$user['id']."';")); + if($user['sila']*4 > $d[0]) { + mysql_query("INSERT INTO `lab_tmp` (`id_user`,`type`,`value`) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."');"); + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + } + break; + case 9: + $d = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `id_user`='".$user['id']."';")); + if($user['sila']*4 > $d[0]) { + mysql_query("INSERT INTO `lab_tmp` (`id_user`,`type`,`value`) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."');"); + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + } + break; + case 8: + $d = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `id_user`='".$user['id']."';")); + if($user['sila']*4 > $d[0]) { + mysql_query("INSERT INTO `lab_tmp` (`id_user`,`type`,`value`) values ('".mysql_real_escape_string($user['id'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."');"); + mysql_query("DELETE FROM `lab_inv` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + } + break; + } + } + unset($data); + } + + if($_GET['drop']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_tmp` WHERE `id` = '".mysql_real_escape_string($_GET['drop'])."' AND `id_user`='".$user['id']."';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id` = '".mysql_real_escape_string($data['id'])."' AND `id_user`='".$user['id']."' LIMIT 1;"); + mysql_query("INSERT INTO `lab_inv` (`id_room`,`type`,`value`,`id_user`) values ('".mysql_real_escape_string($user['room'])."','".mysql_real_escape_string($data['type'])."','".mysql_real_escape_string($data['value'])."','".mysql_real_escape_string($user['id'])."');"); + unset($data); + } + + if($_GET['nal1']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_bots` WHERE `id` = '".mysql_real_escape_string($_GET['nal1'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + $sum = mysql_fetch_array(mysql_query("SELECT SUM(`value`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='1';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='1';"); + mysql_query("UPDATE `users` SET `money` = `money`+'".mysql_real_escape_string($sum[0])."' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + err('Вы обналичили у Архивариуса '.round($sum[0],2).' КР!
    '); + } + unset($data); + } + + + if($_GET['nal2']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_bots` WHERE `id` = '".mysql_real_escape_string($_GET['nal2'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + $sum = mysql_fetch_array(mysql_query("SELECT SUM(`value`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='3';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='3';"); + mysql_query("UPDATE `users` SET `patriotizm` = `patriotizm`+'".mysql_real_escape_string($sum[0])."' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + err('Вы обналичили у Архивариуса '.round($sum[0],2).' ПАТРИОТИЗМА!
    '); + } + unset($data); + } + + + if($_GET['nal3']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_bots` WHERE `id` = '".mysql_real_escape_string($_GET['nal3'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + $sum = mysql_fetch_array(mysql_query("SELECT SUM(`value`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='8';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='8';"); + mysql_query("UPDATE `users` SET `ekr` = `ekr`+'".mysql_real_escape_string($sum[0])."' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + err('Вы обналичили у Архивариуса '.round($sum[0],2).' ЕКР!
    '); + } + unset($data); + } + + + if($_GET['nal4']) { + $data = mysql_fetch_array(mysql_query("SELECT * FROM `lab_bots` WHERE `id` = '".mysql_real_escape_string($_GET['nal4'])."' AND `id_user`='".$user['id']."';")); + if($data['id_room'] == $user['room']) { + $sum = mysql_fetch_array(mysql_query("SELECT SUM(`value`) FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='9';")); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."' AND `type`='9';"); + mysql_query("UPDATE `users` SET `exp` = `exp`+'".mysql_real_escape_string($sum[0])."' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + err('Вы обналичили у Архивариуса '.round($sum[0],2).' ОПЫТА!
    '); + } + unset($data); + } + + if ($_GET['go']) { + if(time()-$_SESSION['time'] <= 3) { + echo "Не так быстро"; + } + else + switch($_GET['go']) { + case "p1": + mysql_query("UPDATE `users` SET `room` = '".mysql_real_escape_string($room['p1'])."', `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['room'] = $room['p1']; + $_SESSION['time'] = time(); + break; + case "p2": + mysql_query("UPDATE `users` SET `room` = '".mysql_real_escape_string($room['p2'])."', `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['room'] = $room['p2']; + $_SESSION['time'] = time(); + break; + case "p3": + mysql_query("UPDATE `users` SET `room` = '".mysql_real_escape_string($room['p3'])."', `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['room'] = $room['p3']; + $_SESSION['time'] = time(); + break; + case "p4": + mysql_query("UPDATE `users` SET `room` = '".mysql_real_escape_string($room['p4'])."', `fullhptime` = ".time()." WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + $user['room'] = $room['p4']; + $_SESSION['time'] = time(); + break; + } + } + + $room = mysql_fetch_array(mysql_query("SELECT * FROM `lab_rooms` WHERE `id` = '".mysql_real_escape_string($user['room'])."';")); + + if($user['hp'] <= 0) { + mysql_query("DELETE FROM `lab_trap` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_bots` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_inv` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_tmp` WHERE `id_user` = '".$user['id']."'"); + mysql_query("DELETE FROM `lab_user` WHERE `id_user` = '".$user['id']."'"); +Mysql_query("update `users` set `hp`=`maxhp` where `login`='".$user['login']."'"); + $msg .= 'Поздравляем, вы умерли!
    '; + mysql_query("UPDATE `users` SET `lab` = 0 , `room` = '99' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + echo""; + } + + + + $data = mysql_query("SELECT * FROM `lab_inv` WHERE `id_room` = '".mysql_real_escape_string($user['room'])."' AND `id_user`='".$user['id']."';"); + $data2 = mysql_query("SELECT * FROM `lab_tmp` WHERE `id_user` = '".mysql_real_escape_string($user['id'])."';"); + $data3 = mysql_query("SELECT * FROM `users` WHERE `lab` = 1 AND `room` = '".mysql_real_escape_string($room['id'])."';"); + $data4 = mysql_query("SELECT * FROM `lab_bots` WHERE `id_room` = '".mysql_real_escape_string($room['id'])."' AND `id_user`='".$user['id']."';"); + + $roow = mysql_fetch_array(mysql_query("SELECT * FROM `lab_trap` WHERE `id_room` = '".mysql_real_escape_string($user['room'])."' AND `id_user`='".$user['id']."';")); + + if($roow[0]) { + $msg .= 'В комнате была установлена ловушка...
    '; + switch($roow[3]) { + case 1: + mysql_query("UPDATE `users` SET `hp` = '1' WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + break; + case 2: + mysql_query("UPDATE `users` SET `hp` = `hp`/2+1 WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + break; + case 3: + mysql_query("UPDATE `users` SET `hp` = `hp`/3+1 WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + break; + case 4: + mysql_query("UPDATE `users` SET `hp` = `hp`/4+1 WHERE `id` = '".mysql_real_escape_string($user['id'])."';"); + break; + } + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '".mysql_real_escape_string($_SESSION['uid'])."' LIMIT 1;")); + mysql_query("DELETE FROM `lab_trap` WHERE `id` = '".mysql_real_escape_string($roow['id'])."' AND `id_user`='".$user['id']."';"); + } + + if((time()-$_SESSION['time']) > 3) { + $tt = 3; + } + else { + $tt =(time()-$_SESSION['time']); + } +?> + + + + + + +Выйти?"; + echo ""; + echo ""; + echo "
    ".$msg; echo ""; + if($room['exit']==1) { + echo "В комнате есть выход.ВЫЙТИ!
    "; + } + + echo" Св. возрата: ".$u_res['exit_teleport']." | Св. оздоровления: ".$u_res['svitok_heal']."
    "; + echo"Игровые атаки: ".$u_res['svitok_kill_user'].""; + echo" + Бот-атаки: ".$u_res['svitok_kill']." [купить]"; + echo"

    "; + +$log = mysql_query("select * from `lab_heal_log` order by `id` desc LIMIT 1"); + for($i=0; $i".$u_info['login']." [".$u_info['level']."]Информация о ".$u_info[ излечил всех за ".$log_inf['cost']." кр.
    "; + +} + + echo"".$room['name']." (".$user['room'].")

     "; + $u_lab = mysql_query("select `login` from `users` where `lab`='1' and `bot`!='1'"); +$u_lab_kol = mysql_num_rows($u_lab); +$heal_all = (($u_lab_kol/2)+1); +echo"Всего в Лабиринте: ".$u_lab_kol." чел. [излечить]
    "; + echo"В этой комнате:"; + echo"
  • Игроки:"; + while($items = mysql_fetch_array($data3)){ + echo "
    "; nick2($items['id']); + } + echo"
  • Мобы:"; + while($items = mysql_fetch_array($data4)){ + echo "
    "; echo"".$items['bot_name']." "; echo" [".$items['bot_hp']."/".$items['bot_hpmax']."]"; + if(($u_res['zadanie_mob_id'] == $items['id_bot'] && $u_res['svitok_kill'] > 0) || ($u_res['zadanie'] == 7 && $u_res['svitok_kill'] > 0)){echo" [атака]";} + + if($items['id_bot'] == 4) { + echo "
    [Обналичить чеки КР]
    "; + } + elseif($items['id_bot'] == 5) { + echo "
    [Обналичить чеки ПАТР.]
    "; + } + elseif($items['id_bot'] == 6) { + echo "
    [Обналичить чеки ЕКР]
    "; + } + elseif($items['id_bot'] == 7) { + echo "
    [Обналичить чеки ОПЫТА]
    "; + } + } + echo"
  • Ресурсы:"; + while($items = mysql_fetch_array($data)){ + switch($items['type']){ + case 1: + echo "
    Чек на ".$items['value']." кр."; + break; + case 2: + echo "
    Колодец жизни"; + break; + case 6: + echo "
    Подарок"; + break; + case 5: + echo "
    Нож"; + break; + case 7: + echo "
    Установить древний символ"; + break; + case 3: + echo "
    Чек на ".$items['value']." патр."; + break; + case 8: + echo "
    Чек на ".$items['value']." екр"; + break; + case 9: + echo "
    Чек на ".$items['value']." опыта"; + break; + case 4: + echo "
    Синий жемчуг"; + break; + } + } + echo "
  • "; +///////////*****3ADAHU9I******////////// +if($u_res['zadanie'] == 1){$mkol = 3;} +elseif($u_res['zadanie'] == 2){$mkol = 10;} +elseif($u_res['zadanie'] == 3){$mkol = 50;} +elseif($u_res['zadanie'] == 4){$mkol = 10;} +elseif($u_res['zadanie'] == 5){$mkol = 15;} +elseif($u_res['zadanie'] == 6){$mkol = 25;} +elseif($u_res['zadanie'] == 7){$mkol = 5;} +elseif($u_res['zadanie'] == 8){$mkol = 10;} +echo"Задание: ".$u_res['zadanie_opisanie']." [".$u_res['zad'.$u_res['zadanie'].'_kol']."/".$mkol."]"; +if($u_res['zad'.$u_res['zadanie'].'_kol'] >= $mkol){echo" + ЗАВЕРШИТЬ! + ";} + +?> + +Найденные ресурсы:"; + while($items = mysql_fetch_array($data2)){ + if($items['type']==1){echo "
    Чек на ".$items['value']." кр.";} + if($items['type']==3){echo "
    Чек на ".$items['value']." патр.";} + if($items['type']==9){echo "
    Чек на ".$items['value']." опыта";} + if($items['type']==8){echo "
    Чек на ".$items['value']." екр";} + + } + echo "
    Всего: ".mysql_num_rows($data2)."/".($user['sila']*4)." "; + echo "
    "; + +?> + + diff --git a/lab_enter.php b/lab_enter.php new file mode 100644 index 0000000..d1cc31e --- /dev/null +++ b/lab_enter.php @@ -0,0 +1,457 @@ + "'.time().'" AND `uid` = "'.$user['id'].'" AND `vars` = "go_labirint" LIMIT 1')); + $zv = mysql_fetch_array(mysql_query('SELECT * FROM `laba_zv` WHERE `uid1` = "'.$user['id'].'" OR `uid2` = "'.$user['id'].'" OR `uid3` = "'.$user['id'].'" OR `uid4` = "'.$user['id'].'" LIMIT 1')); + $re = ''; + if(isset($_GET['exitlaba'])) { + if(isset($zv['id'])) { + $re = 'Подали заявку и убегаем? Не хорошо!'; + } else { + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '2601', `online`.`room` = '2601' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$user['id']}'"); + header('Location: city.php'); + } + } elseif(isset($_GET['pz1'])) { + if(isset($zv['id'])) { + $re = 'Вы уже подали заявку...'; + } else { + if($user['level'] < 4) { + $re = 'Персонажам до 4-го уровня запрещается посещать лабиринт!'; + } elseif(isset($var['id'])) { + $tm = timeOut($var['vals']-time()); + $re = 'Следующий поход через: '.$tm; + } else { + $_POST['type_gors'] = (int)$_POST['type_gors']; + if($_POST['type_gors'] == 0 && $user['level'] > 6) { + $re = 'Лабиринт для новичков доступен для 4-6 уровней!'; + } elseif($_POST['type_gors'] == 1 && $user['level'] < 7) { + $re = 'Лабиринт для опытных доступен с 7 уровня!'; + } elseif($_POST['type_gors'] == 2 && ($user['level'] < 9 || $user['rep_laba'] < 20000)) { + $re = 'Легендарный Лабиринт доступен с 9 уровня!
    Так-же требуется 20000 репутации Лабиринтов! У Вас : '.$user['rep_laba'].' репутации Лабиринтов.'; + } else { + mysql_query('INSERT INTO `laba_zv` (`uid1`, `time`, `com`, `pass`, `type`, `level`) VALUES ("'.$user['id'].'", "'.time().'", "'.mysql_real_escape_string(htmlspecialchars($_POST['text'])).'", "'.mysql_real_escape_string($_POST['text']).'", "'.mysql_real_escape_string($_POST['type_gors']).'", "'.$user['level'].'")'); + header('Location: lab_enter.php'); + } + } + } + } elseif(isset($_GET['cancelzv'])) { + if(!isset($zv['id'])) { + $re = 'Вы не участвуете ни в одной из заявок!
    '; + } else { + $i = 1; $j = 4; $k = 0; $h = 0; + while($i <= 4) { + if($k == 0 && $zv['uid'.$i] != $user['id']) { + $k = $zv['uid'.$i]; + $h = $i; + } + $i++; + } + $i = 1; + while($i <= 4) { + if($zv['uid'.$i] == $user['id']) { + if($i > 1) { + $zv['uid'.$i] = 0; + } else { + $zv['uid'.$i] = $k; + $zv['uid'.$h] = 0; + } + } + if($zv['uid'.$i] == 0) { + $j--; + } + $i++; + } + if($j < 1) { + mysql_query('DELETE FROM `laba_zv` WHERE `id` = "'.$zv['id'].'" LIMIT 1'); + } else { + mysql_query('UPDATE `laba_zv` SET `uid1` = "'.$zv['uid1'].'", `uid2` = "'.$zv['uid2'].'", `uid3` = "'.$zv['uid3'].'", `uid4` = "'.$zv['uid4'].'" WHERE `id` = "'.$zv['id'].'" lIMIT 1'); + } + $re = 'Заявка успешно отменена!
    '; + unset($zv); + } + } elseif(isset($_GET['priemzv'])) { + if(isset($zv['id'])) { + $re = 'Вы уже состоите в одной из заявок!'; + } else { + $tozv = mysql_fetch_array(mysql_query('SELECT * FROM `laba_zv` WHERE `id` = "'.mysql_real_escape_string($_GET['priemzv']).'" LIMIT 1')); + if(!isset($tozv['id'])) { + $re = 'Заявка не найдена!'; + } elseif(isset($var['id'])) { + $tm = timeOut($var['vals']-time()); + $re = 'Следующий поход через: '.$tm; + } else { + if($tozv['uid1'] > 0 && $tozv['uid2'] > 0 && $tozv['uid3'] > 0 && $tozv['uid4'] > 0) { + $re = 'В заявке нет свободных мест!'; + } else { + $i = 1; $j = 0; + while($i <= 4) { + if($tozv['uid'.$i] == 0 && $j == 0) { + $j = $i; + } + $i++; + } + mysql_query('UPDATE `laba_zv` SET `uid'.$j.'` = "'.$user['id'].'" WHERE `id` = "'.$tozv['id'].'" LIMIT 1'); + header('Location: lab_enter.php'); + } + } + } + } elseif(isset($_GET['startzv'])) { + if(!isset($zv['id'])) { + $re = 'Вы должны сначала подать заявку!'; + } elseif($zv['uid1'] != $user['id']) { + $re = 'Вы должны являться лидером группы!'; + } else { + if($zv['type'] == 0) { + $level = 5; + } elseif($zv['type'] == 1) { + $level = 8; + } elseif($zv['type'] == 2) { + $level = 10; + } + + $k = floor(2.5*$level); $s = $k*2+3; $r = 10; $count = 1; + $a = array(); + for($y = 0; $y < $s; $y++) { + for($x = 0; $x < $s; $x++) { + $a[$y][$x] = 1; + } + } + for($x = 0; $x < $s; $x++) { + $a[0][$x] = 0; $a[$s-1][$x] = 0; + $a[$x][0] = 0; $a[$x][$s-1] = 0; + } + $x = $y = ($k-1)>>1; $a[$y*2+2][$x*2+2] = 0; + while(1) { + do { + $d = rand(0, 3); + for($i = 0; $i < 4; $i++) { + if($d == 0 && $a[$y*2+2][$x*2+4]) { + $a[$y*2+2][$x++*2+3] = 0; $a[$y*2+2][$x*2+2] = 0; + $i = 5; $count++; break; + } elseif($d == 1 && $a[$y*2][$x*2+2]) { + $a[$y--*2+1][$x*2+2] = 0; $a[$y*2+2][$x*2+2] = 0; + $i = 5; $count++; break; + } elseif($d == 2 && $a[$y*2+2][$x*2]) { + $a[$y*2+2][$x--*2+1] = 0; $a[$y*2+2][$x*2+2] = 0; + $i = 5; $count++; break; + } elseif($d == 3 && $a[$y*2+4][$x*2+2]) { + $a[$y++*2+3][$x*2+2] = 0; $a[$y*2+2][$x*2+2] = 0; + $i = 5; $count++; break; + } + $d = ($d+1)%4; + } + } while($i != 4); + if($count >= $k*$k) { + break; + } + $x = rand(0, $k-1); $y = rand(0, $k-1); + while($a[$y*2+2][$x*2+2] || !$a[$y*2+2][$x*2+4] && !$a[$y*2][$x*2+2] && !$a[$y*2+2][$x*2] && !$a[$y*2+4][$x*2+2]) { + if(++$x >= $k) { + $x = 0; + if(++$y >= $k) { + $y = 0; + } + } + } + } + $rnds = array(rand(1, 3), rand(1, 3)); + $srg = array(); + $objects = array(); + if($rnds[0] == 1) { + $a[2][1] = 0; $a[2][2] = 0; + $srg = array(2, 1); $objects[2][1] = '
    '; + } elseif($rnds[0] == 2) { + $a[$k][1] = 0; $a[$k][2] = 0; + $srg = array($k, 1); $objects[$k][1] = '
    '; + } elseif($rnds[0] == 3) { + $a[$k*2][1] = 0; $a[$k*2][2] = 0; + $srg = array($k*2, 1); $objects[$k*2][1] = '
    '; + } + + if($rnds[1] == 1) { + $a[2][$k*2+1] = 0; $a[2][$k*2] = 0; + $objects[2][$k*2+1] = '
    '; + } elseif($rnds[1] == 2) { + $a[$k][$k*2+1] = 0; $a[$k][$k*2] = 0; + $objects[$k][$k*2+1] = '
    '; + } elseif($rnds[1] == 3) { + $a[$k*2][$k*2+1] = 0; $a[$k*2][$k*2] = 0; + $objects[$k*2][$k*2+1] = '
    '; + } + + $map = array(); + $i = 1; + while($i < count($a) - 1) { + $j = 1; + while($j < count($a[$i]) - 1) { + if($a[$i][$j] == 0 && $i > 1 && $j > 1 && $i <= $k*2 && $j <= $k*2) { + $map[] = array($i, $j); + } + $j++; + } + $i++; + } + $proc1 = round(1.7*$level); //Сколько % занимают сундуки + $proc2 = round(2.5*$level); //Сколько % занимают монстры + $proc3 = round(1.35*$level); //Сколько % занимают хилки + $proc4 = round(0.5*$level); //Сколько % занимают ловушки + $proc5 = round(0.1*$level); //Сколько % занимают пандоры + $proc6 = round(0.2*$level); // Сколько занимает Антидот + + $proc1 = round($proc1/2); + $proc1 = round(count($map)/100*$proc1); + $proc2 = round($proc2/2); + $proc2 = round(count($map)/100*$proc2); + $proc3 = round($proc3/2); + $proc3 = round(count($map)/100*$proc3); + $proc4 = round($proc4/2); + $proc4 = round(count($map)/100*$proc4); + $proc5 = round($proc5/2); + $proc5 = round(count($map)/100*$proc5); + $proc6 = round($proc6/2); + $proc6 = round(count($map)/100*$proc6); + + $usi = 0; + mysql_query('INSERT INTO `laba_now` (`time`, `uid`, `users`, `map_id`, `end`, `type`) VALUES ("'.time().'", "'.$user['id'].'", "-1", "0", "0", "'.$zv['type'].'")'); + $ding = mysql_insert_id(); + $i = 1; + while($i <= 4) { + if($zv['uid'.$i] > 0) { + $plu = mysql_fetch_array(mysql_query('SELECT `id` FROM `users` WHERE `id` = "'.$zv['uid'.$i].'" LIMIT 1')); + if(isset($plu['id'])) { + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1052', `online`.`room` = '1052', `users`.`x` = '".$srg[0]."', `users`.`y` = '".$srg[1]."', `users`.`xf` = '".$srg[0]."', `users`.`yr` = '".$srg[1]."', `users`.`laba` = '".$ding."' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$plu['id']."'"); + $usi++; + } + } + $i++; + } + mysql_query('UPDATE `laba_now` SET `users` = "'.$usi.'" WHERE `id` = "'.$ding.'" LIMIT 1'); + mysql_query('INSERT INTO `laba_map` (`id`, `data`, `update`) VALUES ("'.$ding.'", "'.json_encode($a).'", "'.time().'")'); + mysql_query('DELETE FROM `laba_zv` WHERE `id` = "'.$zv['id'].'" LIMIT 1'); + + $i = 1; + while($i <= 6) { + if(${'proc'.$i} > 0) { + $j = 0; + while($j < ${'proc'.$i}) { + $cord = $map[rand(0, count($map)-1)]; + $obj = ''; + if($i == 1) { + $obj = 'ddp1s'; + } elseif($i == 2) { + $obj = 'ddp1m'; + } elseif($i == 3) { + $obj = 'ddp1h'; + } elseif($i == 4) { + $obj = 'ddp1l'; + } elseif($i == 5) { + $obj = 'ddp1p'; + } elseif($i == 6) { + $obj = 'ddp1a'; + } + mysql_query('INSERT INTO `laba_obj` (`lib`, `x`, `y`, `type`, `img`, `name`, `time`, `use`) VALUES ("'.$ding.'", "'.$cord[0].'", "'.$cord[1].'", "'.$i.'", "'.$obj.'", "{standart}", "'.time().'", "0")'); + $j++; + } + } + $i++; + } + mysql_query('DELETE FROM `laba_zv` WHERE `id` = "'.$zv['id'].'" LIMIT 1'); + header('Location: labirint.php'); + } + } + +?> + + + + + + + + + + + + +
    +  
    +
    +

    Вход в Лабиринты

    +
    += 4) { + if(isset($_GET['quest'])) { + $q2 = mysql_fetch_array(mysql_query('SELECT * FROM `qst_user` WHERE `uid` = "'.$user['id'].'" AND `cancel` = "0" AND `finish` = "0" LIMIT 1')); + if(!isset($q2['id'])) { + $q3 = mysql_fetch_array(mysql_query('SELECT * FROM `qst_user` WHERE `uid` = "'.$user['id'].'" AND (`cancel` > "'.time().'" OR `finish` > "'.time().'") LIMIT 1')); + if(isset($q3['id'])) { + if($q3['cancel'] > time()) { $tm = timeOut($q3['cancel']-time()); } else { $tm = timeOut($q3['finish']-time()); } + $re = 'Нельзя брать задания так часто, разрешенный лимит: Один раз в 12 часов.
    Следующее задание можно взять через : '.$tm; + } else { + $rand = array(); + $sp = mysql_query('SELECT `id`, `name` FROM `qst` WHERE `level` = "'.$user['level'].'"'); + while($pl = mysql_fetch_array($sp)) { + $rand[] = $pl; + } + $rand = $rand[rand(0, count($rand)-1)]; + if($rand['id'] > 0) { + $re = 'Вы успешно взяли задание "'.$rand['name'].'"!
    '; + mysql_query('INSERT INTO `qst_user` (`uid`, `time`, `qid`) VALUES ("'.$user['id'].'", "'.time().'", "'.$rand['id'].'")'); + } else { + $re = 'Неудалось взять задание, нет подходящих заданий у Хранителя Лабиринта
    '; + } + } + } else { + $re = 'У вас уже есть задание.'; + } + } + + $q2 = mysql_fetch_array(mysql_query('SELECT * FROM `qst_user` WHERE `uid` = "'.$user['id'].'" AND `cancel` = "0" AND `finish` = "0" LIMIT 1')); + $q1 = mysql_fetch_array(mysql_query('SELECT * FROM `qst` WHERE `id` = "'.$q2['qid'].'" LIMIT 1')); + + if(isset($q2['id']) && isset($_GET['cancelqst'])) { + mysql_query('UPDATE `qst_user` SET `cancel` = "'.(time()+6*3600).'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + unset($q1, $q2); + $re = 'Вы успешно отказались от задания...
    '; + } + + if(isset($q1['id'])) { + $re .= '
    Задание : '.$q1['name'].' ['.$q2['val'].'/'.$q1['obj_val'].']
    • Отказаться (Следующее можно будет взять через 12 часов)
    '; + if($q2['val'] >= $q1['obj_val']) { + if(isset($_GET['finishqst'])) { + $re = 'Вы успешно завершили задание и получили: '; + if($q1['cr'] > 0) { + $re .= ' '.$q1['cr'].' кр. '; + } + if($q1['rep'] > 0) { + $re .= ' '.$q1['rep'].' репутации. '; + } + $re .= '
    '; + $user['money'] += $q1['cr']; $user['doblest'] += $q1['rep']; $user['rep_laba'] += $q1['rep']; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'", `doblest` = "'.$user['doblest'].'", `rep_laba` = "'.$user['rep_laba'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `qst_user` SET `finish` = "'.(time()+60*60*12).'" WHERE `id` = "'.$q2['id'].'" AND `uid` = "'.$user['id'].'" LIMIT 1'); + unset($q1, $q2); + } + $re .= ' • Завершить задание и получить награду!'; + } + } else { +?> + + + 'Для новичков', 1 => 'Для опытных', 2 => 'Для легендарных'); +while($pl = mysql_fetch_array($sp)) { + $userszv = ''; + $i = 1; + while($i <= 4) { + if($pl['uid'.$i] > 0) { + $plu = mysql_fetch_array(mysql_query('SELECT `id`, `align`, `login`, `level` FROM `users` WHERE `id` = "'.$pl['uid'.$i].'" LIMIT 1')); + if(isset($plu['id'])) { + $userszv .= ', '.$plu['login'].' ['.$plu['level'].']'; + } + } + $i++; + } + $userszv = ltrim($userszv, ', '); + if($pl['com'] != '') { + if(in_array($user['align'], $aligns)) { + $del = ' Удалить комментарий'; + } else { + $del = ''; + } + $userszv .= ' (Комментарий: '.$pl['com'].''.$del.')'; + } + if(!isset($zv['id'])) { + $userszv .= ' '; + } + echo '
    '.date('H:i', $pl['time']).' Тип : '.$typez[$pl['type']].' | '.$userszv.'
    '; +} +?> +
    + + + + + +
    +
    +
    + Группа + Тип похода: + +
    + Комментарий + +
    + +  
    +
    +
    +
    + +   + +'.$re.''; } ?> + + + \ No newline at end of file diff --git a/labirint(1).php b/labirint(1).php new file mode 100644 index 0000000..2a972a4 --- /dev/null +++ b/labirint(1).php @@ -0,0 +1,917 @@ + '0'){ + die(""); +} + +$vipUsers = array( + 'SaulDin', + 'Дед Мазай', + 'Лик Ужаса', + +); +$errkom = ''; + +$varsitm = array(array(270, 1)); + +$varsitm2 = array(array(87, 1), array(88, 1), array(48, 1), array(49, 1), array(29, 1), array(66, 1), array(97, 1), array(67, 1), array(98, 1), array(115, 1)); + +function labaItemAdd($id, $type) { + global $user; + if($type == 1) { + $dress = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + } else { + $dress = mysql_fetch_array(mysql_query('SELECT * FROM `ashop` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + } + if(isset($dress['id'])) { + mysql_query("INSERT INTO `inventory` (`laba`, `prototype`,`owner`,`name`,`type`,`massa`,`cost`, `img`,`maxdur`,`isrep`,`gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`,`mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`koll`) VALUES ('$type', '{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}','{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress[koll]}')"); + } +} + +function money_add($sum) { + global $user; + $user['money'] += $sum; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); +} + +if($user['room'] == 1052) { + if($user['id'] == 10022) { + $lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + $map = mysql_fetch_array(mysql_query('SELECT `id`,`data`,`update` FROM `laba_map` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + } else { + $lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + $map = mysql_fetch_array(mysql_query('SELECT `id`,`data`,`update` FROM `laba_map` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + } + + $dies = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$user['laba'].'" AND `vars` = "dielaba" LIMIT 1')); + $dies = $dies[0]; + $map_d = json_decode($map['data']); + $usersDng = setHP($user['hp'], $user['maxhp'], 0); + $errors = ''; + $effed = ''; + $mapsee = ''; + $varos = array(); + $varos['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + + $real_x = $user['x']; + $real_y = $user['y']; + if($real_y < 6) { $real_y = 6; } + if($real_x < 6) { $real_x = 6; } + + if($real_y > count($map_d) - 7) { + $real_y = count($map_d) - 7; + } + + if($real_x > count($map_d) - 7) { + $real_x = count($map_d) - 7; + } + + $objs = array(); + + $sp = mysql_query('SELECT * FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'" AND `x` > '.($real_x - 7).' AND `x` < '.($real_x + 7).' AND `y` > '.($real_y - 12).' AND `y` < '.($real_y + 12).' LIMIT 144'); + while($pl = mysql_fetch_array($sp)) { + $objs[$pl['x']][$pl['y']] = $pl; + } + + $i = 1; + $goodgoo = array(1 => 0, 2 => 0, 3 => 0, 4 => 0); + while($i <= 4) { + $goto = array('x' => $user['y'], 'y' => $user['x']); + if($i == 1) { + $goto['x']--; + } elseif($i == 2) { + $goto['y']--; + } elseif($i == 3) { + $goto['x']++; + } elseif($i == 4) { + $goto['y']++; + } + if($map_d[$goto['y']][$goto['x']] == 0 && $goto['x'] > 0 && $goto['x'] < count($map_d)-1 && $user['timeGo'] <= time()) { + $goodgoo[$i] = 1; + } + $i++; + } + + if(isset($_GET['goto'])) { + $goto = array('x' => $user['y'], 'y' => $user['x']); + if($_GET['goto'] == 1 ) { + $goto['x']--; + } elseif($_GET['goto'] == 2) { + $goto['y']--; + } elseif($_GET['goto'] == 3) { + $goto['x']++; + } elseif($_GET['goto'] == 4) { + $goto['y']++; + } + + if($goodgoo[$_GET['goto']] == 1 && $user['timeGo'] <= time()) { + $user['y'] = $goto['x']; + $user['x'] = $goto['y']; + $real_x = $user['x']; + $real_y = $user['y']; + $varos['timego'] = 0; #5 + if(isset($varos['trap1']['id'])) { + $varos['timego'] += 3; + } + if($user['align'] == 2.99) { $varos['timego'] = 0; } + $user['timeGo'] = (time()+$varos['timego']); + $user['timeGoL'] = time(); + if(!mysql_query('UPDATE `users` SET `x` = "'.$user['x'].'", `y` = "'.$user['y'].'", `timeGoL` = "'.$user['timeGoL'].'", `timeGo` = "'.$user['timeGo'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1')) { + $errors = 'Ошибка перемещения!'; + } + } + } + + if($real_y < 6) { $real_y = 6; } + if($real_x < 6) { $real_x = 6; } + + if($real_y > count($map_d) - 7) { + $real_y = count($map_d) - 7; + } + if($real_x > count($map_d) - 7) { + $real_x = count($map_d) - 7; + } + + $tmdg = ($user['timeGo']-time()); + $tmdgl = ($user['timeGo']-$user['timeGoL']); + $tmdgp = floor(100-$tmdg/$tmdgl*100); + if($tmdgp < 1) { $tmdgp = 1; } elseif($tmdgp > 100) { $tmdgp = 100; } + $tmdgm = 25*$tmdgl; + $tmdg = floor(40/100*$tmdgp); + + if($tmdg < 1) { + $tmdg = 1; + } elseif($tmdg > 40) { + $tmdg = 40; + } + + if(isset($_POST['exit'])) { + if($lab['users'] < 2) { + mysql_query('DELETE FROM `laba_now` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "'.$lab['id'].'"'); + } else { + $lab['users']--; + mysql_query('UPDATE `laba_now` SET `users` = "'.$lab['users'].'" WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + } + $dresed = mysql_query('SELECT `id`, `type` FROM `inventory` WHERE `dressed` = 1 AND `laba` = 2 AND `owner` = "'.$user['id'].'"'); + while($pl = mysql_fetch_array($dresed)) { + dropitemid($pl['type'], $user['id']); + } + mysql_query('DELETE FROM `inventory` WHERE `laba` > 0 AND `owner` = "'.$user['id'].'"'); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1051', `online`.`room` = '1051', `users`.`x` = '0', `users`.`y` = '0', `users`.`laba` = '0' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + mysql_query('UPDATE `qst_user` SET `val` = "0" WHERE `uid` = "'.$user['id'].'" AND `cancel` = "0" AND `finish` = "0"'); + addActions(time(), 'go_labirint', (time()+60*60*6), $user['id']); + header('Location: lab_enter.php'); + } + + $itms = ''; + + if(isset($objs[$user['x']][$user['y']]['id'])) { + $var = array(); + $mitm = $objs[$user['x']][$user['y']]; + if($mitm['type'] == 2) { + if($mitm['use'] == 0) { + $btl_pix = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `battle` > 0 AND `laba` = "'.$lab['id'].'" AND `x` = "'.$user['x'].'" AND `y` = "'.$user['y'].'" LIMIT 1')); + if(!isset($btl_pix['id']) ) { + $bots = array( + 0 => array(10025, 10026, 10027, 10028, 10031, 10032, 10033, 10034), + 1 => array(10111, 10112, 10113, 10114, 10115, 10116), + 2 => array(10111, 10112, 10113) + ); + $bot_pix2 = $bots[$lab['type']]; + + $teams = array(); + $where = ''; $bot_ids = ''; + $i = 0; + $j = (1+rand(0, floor($user['level']/rand(3, 4)))); + while($i < $j) { + $bot_pix = $bot_pix2[rand(0, count($bot_pix2)-1)]; + $bot_pix = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$bot_pix.'" LIMIT 1')); + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) VALUES ('".$bot_pix['login']." (Бот #$i)', '".$bot_pix['id']."', '', '".$bot_pix['maxhp']."')"); + $bot = mysql_insert_id(); + $bot_ids .= $bot.';'; + $teams[$user['id']][$bot] = array(0, 0, time()); + $teams[$bot][$user['id']] = array(0, 0, time()); + $where = ' `id` = '.$bot.' OR'; + $i++; + } + $bot_ids = rtrim($bot_ids, ';'); + $where = rtrim($where, ' OR'); + + if(!mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `x`, `y`) VALUES ('".serialize($teams)."', '3', '1', '0', '".$user['id']."', '".$bot_ids."', '".time()."', '".time()."', '".$user['x']."', '".$user['y']."')")) { die('Error #2'); } + + $id = mysql_insert_id(); + $bts = explode(';', $bot_ids); + $is = 0; + while($is <= count($bts)) { + $nicks .= nick3($bts[$is]).', '; + $i_d .= $bts[$is].', '; + $is++; + } + $nicks = rtrim($nicks, ', '); + $who = '`id` IN ('.rtrim($i_d, ', ').')'; + + if($user1['invis'] == 1) { + $rr = "невидимка и ".$nicks.""; + } else { + $rr = "".nick3($user['id'])." и ".$nicks.""; + } + + if(!mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE ".$who."")) { die('Error #1'.$who); } + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id`= {$user['id']} LIMIT 1"); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + } else { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1')); + $botd = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `battle` = "'.$bd['id'].'" LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$botd['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + $t1 = explode(";", $bd['t1']); + $ttt = 1; + addlog($jert['battle'], ''.date("H:i").' '.nick5($user['id'], "B".$ttt).' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = '".$bd['id']."', `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location: fbattle.php"); + } + die(""); + } + } elseif($mitm['type'] == 1) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 3) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 4) { + if($mitm['use'] == 0) { + $var['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + $var['time'] = rand(1, 60); + if(isset($var['trap1']['id'])) { + mysql_query('UPDATE `laba_act` SET `vals` = "'.($var['trap1']['vals'] + $var['time']).'", `time` = "'.($var['trap1']['time'] + $var['time']*60).'" WHERE `id` = "'.$var['trap1']['id'].'" LIMIT 1'); + } else { + mysql_query('INSERT INTO `laba_act` (`uid`, `time`, `lib`, `vars`, `vals`) VALUES ("'.$user['id'].'", "'.(time()+$var['time']*60).'", "'.$lab['id'].'", "trap1", "'.$var['time'].'")'); + } + $mitm['use'] = $user['id']; + mysql_query('UPDATE `laba_obj` SET `use` = "'.$mitm['use'].'" WHERE `id` = "'.$mitm['id'].'" LIMIT 1'); + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['text'] = ' '.$user['login'].' угодил'.$var['sex'].' в ловушку...'; + $varos['trap1'] = mysql_fetch_array(mysql_query('SELECT `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + $errors .= ' '.$user['login'].' угодил'.$var['sex'].' в ловушку... Время перехода +3 секунды (Длительность: +'.$var['time'].' мин.)'; + } + } elseif($mitm['type'] == 5) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 6) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } + unset($var); + } + + if($user['y'] >= count($map_d)-2) { + if($lab['users'] < 2) { + mysql_query('DELETE FROM `laba_now` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "'.$lab['id'].'"'); + } else { + $lab['users']--; + mysql_query('UPDATE `laba_now` SET `users` = "'.$lab['users'].'" WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + } + $dresed = mysql_query('SELECT `id`, `type` FROM `inventory` WHERE `dressed` = 1 AND `laba` = 2 AND `owner` = "'.$user['id'].'"'); + while($pl = mysql_fetch_array($dresed)) { + dropitemid($pl['type'], $user['id']); + } + mysql_query('UPDATE `inventory` SET `laba` = 0 WHERE `laba` = 1 AND `owner` = "'.$user['id'].'"'); + mysql_query('DELETE FROM `inventory` WHERE `laba` = 2 AND `owner` = "'.$user['id'].'"'); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1051', `online`.`room` = '1051', `users`.`x` = '0', `users`.`y` = '0', `users`.`laba` = '0' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + addActions(time(), 'go_labirint', (time()+60*60*6), $user['id']); + header('Location: lab_enter.php'); + } + + if(isset($_GET['takeitm'])) { + $errors = 'Предмет не найден...'; + } elseif(isset($_GET['useobj'])) { + $var = array('obj' => mysql_fetch_array(mysql_query('SELECT * FROM `laba_obj` WHERE `id` = "'.mysql_real_escape_string($_GET['useobj']).'" AND `lib` = "'.$lab['id'].'" AND `x` = "'.$user['x'].'" AND `y` = "'.$user['y'].'" LIMIT 1'))); + if(isset($var['obj']['id'])) { + if($var['obj']['use'] == 0) { + if($var['obj']['type'] == 1) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['itm'] = $varsitm[rand(0, count($varsitm)-1)]; + $var['itm'] = $var['itm'][0]; + $var['itm'] = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `shop` WHERE `id` = "'.$var['itm'].'" LIMIT 1')); + if(isset($var['itm']['id'])) { + if($var['itm']['id'] == 270) { + $arr = array(0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2); + $kr = $arr[rand(0, count($arr)-1)]; + $var['itm']['name'] = $kr.' кр'; + money_add($kr); + unset($kr); + } else { + labaItemAdd($var['itm']['id'], 1); + } + } else { + $var['itm']['name'] = 'Предмет рассыпался на глазах...'; + } + $errors .= ' '.$user['login'].' открыл'.$var['sex'].' сундук...и забрал "'.$var['itm']['name'].'"'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 5) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['itm'] = $varsitm2[rand(0, count($varsitm2)-1)]; + $var['itm'] = $var['itm'][0]; + $var['itm'] = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `ashop` WHERE `id` = "'.$var['itm'].'" LIMIT 1')); + if(isset($var['itm']['id'])) { + labaItemAdd($var['itm']['id'], 2); + } else { + $var['itm']['name'] = 'Предмет рассыпался на глазах...'; + } + $errors .= ' '.$user['login'].' открыл'.$var['sex'].' Ящик Пандоры...и забрал "'.$var['itm']['name'].'"'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 3) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['hpp'] = rand(2, 5)*10; + $var['hp'] = round($user['maxhp']/100*$var['hpp']); + $user['hp'] += $var['hp']; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $errors .= ' '.$user['login'].' пополнил'.$var['sex'].' здоровье, Уровень Жизни +'.$var['hpp'].'% (+'.$var['hp'].'HP)'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 6) { + $var['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + if(isset($var['trap1']['id'])) { + $var['time'] = rand(1, 50); + if($var['trap1']['time'] <= (time()+60*$var['time'])) { + mysql_query('DELETE FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1'); + $errors .= '
    Действие ловушки закончилось.'; + unset($var['trap1'], $var['time']); + } else { + $var['trap1']['time'] -= 60*$var['time']; + mysql_query('UPDATE `laba_act` SET `time` = "'.$var['trap1']['time'].'" WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1'); + $errors = '
    Действие ловушки снижено на '.$var['time'].' мин...'; + } + $var['obj']['use'] = $user['id']; + } else { + $errors .= '
    Вам нечего очищать ...'; + } + } + if($var['obj']['use'] > 0) { + mysql_query('UPDATE `laba_obj` SET `use` = "'.$var['obj']['use'].'" WHERE `id` = "'.$var['obj']['id'].'" LIMIT 1'); + $var['obj']['use'] = $var['obj']['use']; + } + } else { + $errors = 'Кто-то уже использовал это до Вас...'; + } + } else { + $errors = 'Обьект не найден...'; + } + unset($var); + } + + $sp = mysql_query('SELECT `x`, `y`, `level`, `login` FROM `users` WHERE `laba` = "'.$lab['id'].'" AND `id` != "'.$user['id'].'" LIMIT 3'); + $pi = 1; + while($pl = mysql_fetch_array($sp)) { + $objs[$pl['x']][$pl['y']] = array(2 => '
    '); + $pi++; + } + + $objs[$user['x']][$user['y']] = array(2 => '
    '); + $i = 0; + while($i <= count($map_d)) { + $j = 0; + while($j < count($map_d[$i])) { + if($i > $real_x - 6 && $i < $real_x + 6 && $j > $real_y - 6 && $j < $real_y + 6) { + if($map_d[$i][$j] == 1) { + $mapsee .= '
    '.$objs[$i][$j][2].'
    '; + } else { + if(!isset($objs[$i][$j]['id'])) { + if(isset($objs[$i][$j][2])) { + + } elseif($j == 1) { + $objs[$i][$j][2] = '
    '; + } elseif($j == count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } + } else { + if($objs[$i][$j]['use'] == 0) { + $objs[$i][$j][2] = '
    '; + } else { + $objs[$i][$j][2] = ''; + } + } + $mapsee .= '
    '.$objs[$i][$j][2].'
    '; + } + } + $j++; + } + if($i > $real_x - 6 && $i < $real_x + 6) { + $mapsee .= '
    '; + } + $i++; + } + $mapsee = '
    '.$mapsee.'
    '; + + if($user['align'] == 2.99) { + unset($objs); + $objs[$user['x']][$user['y']] = array(2 => '
    '); + $i = 0; + while($i <= count($map_d)) { + $j = 0; + while($j < count($map_d[$i])) { + if($map_d[$i][$j] == 1) { + $mapsee2 .= '
    '.$objs[$i][$j][2].'
    '; + } else { + if(!isset($objs[$i][$j]['id'])) { + if(isset($objs[$i][$j][2])) { + + } elseif($j == 1 && $i > 0 && $i < count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } elseif($j == count($map_d)-2 && $i > 0 && $i < count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } + } else { + if($objs[$i][$j]['use'] == 0) { + $objs[$i][$j][2] = '
    '; + } else { + $objs[$i][$j][2] = ''; + } + } + $mapsee2 .= '
    '.$objs[$i][$j][2].'
    '; + } + $j++; + } + $mapsee2 .= '
    '; + $i++; + } + $mapsee2 = '
    '.$mapsee2.'
    '; + } + + if(isset($varos['trap1']['vals']) && $varos['trap1']['vals'] > 0) { + $effed .= '
    - Время перехода +3 секунды (Осталось : '.timeOut($varos['trap1']['time']-time()).')
    '; + } + unset($varos); +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + +
      + + +
    +
    +
    +
    +
    + +
    +
    + +
    + 0 ) { + echo 'Кол-во смертей : '.$dies.'/3
    '; + } + ?> + Карта : #. Координаты : {X = | Y = } +
     
      + Задание: '.$q1['name'].'
    • '; + if( $q1['type'] == 1 ) { + echo 'Собрать ресурсы: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + + $qobj_f = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND "name" = "'.$qobj['obj_id'].'" LIMIT 1')); + if( $q2['val'] != $qobj[0] ) { + mysql_query('UPDATE `qst_user` SET `val` = "'.$qobj[0].'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + $q2['val'] = $qobj[0]; + } + echo ''.$qobj['name'].'  '; + }elseif( $q1['type'] == 2 ) { + echo 'Собрать трофеи: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + $qobj_f = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND "name" = "'.$qobj['obj_id'].'" LIMIT 1')); + + echo ''.$qobj['name'].''; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + if( $q2['val'] != $qobj[0] ) { + mysql_query('UPDATE `qst_user` SET `val` = "'.$qobj[0].'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + $q2['val'] = $qobj[0]; + } + echo ' c монстров '.$qobj['name'].'  '; + }elseif( $q1['type'] == 3 ) { + echo 'Убить монстров: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + echo ''.$qobj['login'].' ['.$qobj['level'].']  '; + } + echo '['.$q2['val'].'/'.$q1['obj_val'].']
    '; + echo '(Задание не засчитается, если Вы не найдёте выход.)'; + } + ?> +
     
     '; } ?> + + '.$mapsee2; + } + ?> +  
      + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
         
                                                                                                                           
      
    + +
     
    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Вверх
    ВлевоОбновитьВправо
    Вниз
    + + + + + + + +
    + +
    + + + \ No newline at end of file diff --git a/labirint(2).php b/labirint(2).php new file mode 100644 index 0000000..52918e3 --- /dev/null +++ b/labirint(2).php @@ -0,0 +1,911 @@ + '0'){ + die(""); +} + +$vipUsers = array( + 'SaulDin', + 'Дед Мазай', + 'Лик Ужаса', + +); +$errkom = ''; + +$varsitm = array(array(270, 1)); + +$varsitm2 = array(array(87, 1), array(88, 1), array(48, 1), array(49, 1), array(29, 1), array(66, 1), array(97, 1), array(67, 1), array(98, 1), array(115, 1)); + +function labaItemAdd($id, $type) { + global $user; + if($type == 1) { + $dress = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + } else { + $dress = mysql_fetch_array(mysql_query('SELECT * FROM `ashop` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + } + if(isset($dress['id'])) { + mysql_query("INSERT INTO `inventory` (`laba`, `prototype`,`owner`,`name`,`type`,`massa`,`cost`, `img`,`maxdur`,`isrep`,`gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`,`mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`koll`) VALUES ('$type', '{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}','{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress[koll]}')"); + } +} + +function money_add($sum) { + global $user; + $user['money'] += $sum; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); +} + +if($user['room'] == 1052) { + if($user['id'] == 10022) { + $lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + $map = mysql_fetch_array(mysql_query('SELECT `id`,`data`,`update` FROM `laba_map` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + } else { + $lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + $map = mysql_fetch_array(mysql_query('SELECT `id`,`data`,`update` FROM `laba_map` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + } + + $dies = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$user['laba'].'" AND `vars` = "dielaba" LIMIT 1')); + $dies = $dies[0]; + $map_d = json_decode($map['data']); + $usersDng = setHP($user['hp'], $user['maxhp'], 0); + $errors = ''; + $effed = ''; + $mapsee = ''; + $varos = array(); + $varos['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + + $real_x = $user['x']; + $real_y = $user['y']; + if($real_y < 6) { $real_y = 6; } + if($real_x < 6) { $real_x = 6; } + + if($real_y > count($map_d) - 7) { + $real_y = count($map_d) - 7; + } + + if($real_x > count($map_d) - 7) { + $real_x = count($map_d) - 7; + } + + $objs = array(); + + $sp = mysql_query('SELECT * FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'" AND `x` > '.($real_x - 7).' AND `x` < '.($real_x + 7).' AND `y` > '.($real_y - 12).' AND `y` < '.($real_y + 12).' LIMIT 144'); + while($pl = mysql_fetch_array($sp)) { + $objs[$pl['x']][$pl['y']] = $pl; + } + + $i = 1; + $goodgoo = array(1 => 0, 2 => 0, 3 => 0, 4 => 0); + while($i <= 4) { + $goto = array('x' => $user['y'], 'y' => $user['x']); + if($i == 1) { + $goto['x']--; + } elseif($i == 2) { + $goto['y']--; + } elseif($i == 3) { + $goto['x']++; + } elseif($i == 4) { + $goto['y']++; + } + if($map_d[$goto['y']][$goto['x']] == 0 && $goto['x'] > 0 && $goto['x'] < count($map_d)-1 && $user['timeGo'] <= time()) { + $goodgoo[$i] = 1; + } + $i++; + } + + if(isset($_GET['goto'])) { + $goto = array('x' => $user['y'], 'y' => $user['x']); + if($_GET['goto'] == 1 ) { + $goto['x']--; + } elseif($_GET['goto'] == 2) { + $goto['y']--; + } elseif($_GET['goto'] == 3) { + $goto['x']++; + } elseif($_GET['goto'] == 4) { + $goto['y']++; + } + + if($goodgoo[$_GET['goto']] == 1 && $user['timeGo'] <= time()) { + $user['y'] = $goto['x']; + $user['x'] = $goto['y']; + $real_x = $user['x']; + $real_y = $user['y']; + $varos['timego'] = 0; #5 + if(isset($varos['trap1']['id'])) { + $varos['timego'] += 3; + } + if($user['align'] == 2.99) { $varos['timego'] = 0; } + $user['timeGo'] = (time()+$varos['timego']); + $user['timeGoL'] = time(); + if(!mysql_query('UPDATE `users` SET `x` = "'.$user['x'].'", `y` = "'.$user['y'].'", `timeGoL` = "'.$user['timeGoL'].'", `timeGo` = "'.$user['timeGo'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1')) { + $errors = 'Ошибка перемещения!'; + } + } + } + + if($real_y < 6) { $real_y = 6; } + if($real_x < 6) { $real_x = 6; } + + if($real_y > count($map_d) - 7) { + $real_y = count($map_d) - 7; + } + if($real_x > count($map_d) - 7) { + $real_x = count($map_d) - 7; + } + + $tmdg = ($user['timeGo']-time()); + $tmdgl = ($user['timeGo']-$user['timeGoL']); + $tmdgp = floor(100-$tmdg/$tmdgl*100); + if($tmdgp < 1) { $tmdgp = 1; } elseif($tmdgp > 100) { $tmdgp = 100; } + $tmdgm = 25*$tmdgl; + $tmdg = floor(40/100*$tmdgp); + + if($tmdg < 1) { + $tmdg = 1; + } elseif($tmdg > 40) { + $tmdg = 40; + } + + if(isset($_POST['exit'])) { + if($lab['users'] < 2) { + mysql_query('DELETE FROM `laba_now` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "'.$lab['id'].'"'); + } else { + $lab['users']--; + mysql_query('UPDATE `laba_now` SET `users` = "'.$lab['users'].'" WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + } + $dresed = mysql_query('SELECT `id`, `type` FROM `inventory` WHERE `dressed` = 1 AND `laba` = 2 AND `owner` = "'.$user['id'].'"'); + while($pl = mysql_fetch_array($dresed)) { + dropitemid($pl['type'], $user['id']); + } + mysql_query('DELETE FROM `inventory` WHERE `laba` > 0 AND `owner` = "'.$user['id'].'"'); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1051', `online`.`room` = '1051', `users`.`x` = '0', `users`.`y` = '0', `users`.`laba` = '0' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + mysql_query('UPDATE `qst_user` SET `val` = "0" WHERE `uid` = "'.$user['id'].'" AND `cancel` = "0" AND `finish` = "0"'); + addActions(time(), 'go_labirint', (time()+60*60*6), $user['id']); + header('Location: lab_enter.php'); + } + + $itms = ''; + + if(isset($objs[$user['x']][$user['y']]['id'])) { + $var = array(); + $mitm = $objs[$user['x']][$user['y']]; + if($mitm['type'] == 2) { + if($mitm['use'] == 0) { + $btl_pix = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `battle` > 0 AND `laba` = "'.$lab['id'].'" AND `x` = "'.$user['x'].'" AND `y` = "'.$user['y'].'" LIMIT 1')); + if(!isset($btl_pix['id']) ) { + $bots = array( + 0 => array(10025, 10026, 10027, 10028, 10031, 10032, 10033, 10034), + 1 => array(10111, 10112, 10113, 10114, 10115, 10116), + 2 => array(10111, 10112, 10113) + ); + $bot_pix2 = $bots[$lab['type']]; + + $teams = array(); + $where = ''; $bot_ids = ''; + $i = 0; + $j = (1+rand(0, floor($user['level']/rand(3, 4)))); + while($i < $j) { + $bot_pix = $bot_pix2[rand(0, count($bot_pix2)-1)]; + $bot_pix = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$bot_pix.'" LIMIT 1')); + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) VALUES ('".$bot_pix['login']." (Бот #$i)', '".$bot_pix['id']."', '', '".$bot_pix['maxhp']."')"); + $bot = mysql_insert_id(); + $bot_ids .= $bot.';'; + $teams[$user['id']][$bot] = array(0, 0, time()); + $teams[$bot][$user['id']] = array(0, 0, time()); + $where = ' `id` = '.$bot.' OR'; + $i++; + } + $bot_ids = rtrim($bot_ids, ';'); + $where = rtrim($where, ' OR'); + + if(!mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `x`, `y`) VALUES ('".serialize($teams)."', '3', '1', '0', '".$user['id']."', '".$bot_ids."', '".time()."', '".time()."', '".$user['x']."', '".$user['y']."')")) { die('Error #2'); } + + $id = mysql_insert_id(); + $bts = explode(';', $bot_ids); + $is = 0; + while($is <= count($bts)) { + $nicks .= nick3($bts[$is]).', '; + $i_d .= $bts[$is].', '; + $is++; + } + $nicks = rtrim($nicks, ', '); + $who = '`id` IN ('.rtrim($i_d, ', ').')'; + + if($user1['invis'] == 1) { + $rr = "невидимка и ".$nicks.""; + } else { + $rr = "".nick3($user['id'])." и ".$nicks.""; + } + + if(!mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE ".$who."")) { die('Error #1'.$who); } + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id`= {$user['id']} LIMIT 1"); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + } else { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1')); + $botd = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `battle` = "'.$bd['id'].'" LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$botd['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + $t1 = explode(";", $bd['t1']); + $ttt = 1; + addlog($jert['battle'], ''.date("H:i").' '.nick5($user['id'], "B".$ttt).' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = '".$bd['id']."', `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location: fbattle.php"); + } + die(""); + } + } elseif($mitm['type'] == 1) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 3) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 4) { + if($mitm['use'] == 0) { + $var['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + $var['time'] = rand(1, 60); + if(isset($var['trap1']['id'])) { + mysql_query('UPDATE `laba_act` SET `vals` = "'.($var['trap1']['vals'] + $var['time']).'", `time` = "'.($var['trap1']['time'] + $var['time']*60).'" WHERE `id` = "'.$var['trap1']['id'].'" LIMIT 1'); + } else { + mysql_query('INSERT INTO `laba_act` (`uid`, `time`, `lib`, `vars`, `vals`) VALUES ("'.$user['id'].'", "'.(time()+$var['time']*60).'", "'.$lab['id'].'", "trap1", "'.$var['time'].'")'); + } + $mitm['use'] = $user['id']; + mysql_query('UPDATE `laba_obj` SET `use` = "'.$mitm['use'].'" WHERE `id` = "'.$mitm['id'].'" LIMIT 1'); + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['text'] = ' '.$user['login'].' угодил'.$var['sex'].' в ловушку...'; + $varos['trap1'] = mysql_fetch_array(mysql_query('SELECT `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + $errors .= ' '.$user['login'].' угодил'.$var['sex'].' в ловушку... Время перехода +3 секунды (Длительность: +'.$var['time'].' мин.)'; + } + } elseif($mitm['type'] == 5) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 6) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } + unset($var); + } + + if($user['y'] >= count($map_d)-2) { + if($lab['users'] < 2) { + mysql_query('DELETE FROM `laba_now` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "'.$lab['id'].'"'); + } else { + $lab['users']--; + mysql_query('UPDATE `laba_now` SET `users` = "'.$lab['users'].'" WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + } + $dresed = mysql_query('SELECT `id`, `type` FROM `inventory` WHERE `dressed` = 1 AND `laba` = 2 AND `owner` = "'.$user['id'].'"'); + while($pl = mysql_fetch_array($dresed)) { + dropitemid($pl['type'], $user['id']); + } + mysql_query('UPDATE `inventory` SET `laba` = 0 WHERE `laba` = 1 AND `owner` = "'.$user['id'].'"'); + mysql_query('DELETE FROM `inventory` WHERE `laba` = 2 AND `owner` = "'.$user['id'].'"'); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1051', `online`.`room` = '1051', `users`.`x` = '0', `users`.`y` = '0', `users`.`laba` = '0' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + addActions(time(), 'go_labirint', (time()+60*60*6), $user['id']); + header('Location: lab_enter.php'); + } + + if(isset($_GET['takeitm'])) { + $errors = 'Предмет не найден...'; + } elseif(isset($_GET['useobj'])) { + $var = array('obj' => mysql_fetch_array(mysql_query('SELECT * FROM `laba_obj` WHERE `id` = "'.mysql_real_escape_string($_GET['useobj']).'" AND `lib` = "'.$lab['id'].'" AND `x` = "'.$user['x'].'" AND `y` = "'.$user['y'].'" LIMIT 1'))); + if(isset($var['obj']['id'])) { + if($var['obj']['use'] == 0) { + if($var['obj']['type'] == 1) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['itm'] = $varsitm[rand(0, count($varsitm)-1)]; + $var['itm'] = $var['itm'][0]; + $var['itm'] = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `shop` WHERE `id` = "'.$var['itm'].'" LIMIT 1')); + if(isset($var['itm']['id'])) { + if($var['itm']['id'] == 270) { + $arr = array(0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2); + $kr = $arr[rand(0, count($arr)-1)]; + $var['itm']['name'] = $kr.' кр'; + money_add($kr); + unset($kr); + } else { + labaItemAdd($var['itm']['id'], 1); + } + } else { + $var['itm']['name'] = 'Предмет рассыпался на глазах...'; + } + $errors .= ' '.$user['login'].' открыл'.$var['sex'].' сундук...и забрал "'.$var['itm']['name'].'"'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 5) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['itm'] = $varsitm2[rand(0, count($varsitm2)-1)]; + $var['itm'] = $var['itm'][0]; + $var['itm'] = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `ashop` WHERE `id` = "'.$var['itm'].'" LIMIT 1')); + if(isset($var['itm']['id'])) { + labaItemAdd($var['itm']['id'], 2); + } else { + $var['itm']['name'] = 'Предмет рассыпался на глазах...'; + } + $errors .= ' '.$user['login'].' открыл'.$var['sex'].' Ящик Пандоры...и забрал "'.$var['itm']['name'].'"'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 3) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['hpp'] = rand(2, 5)*10; + $var['hp'] = round($user['maxhp']/100*$var['hpp']); + $user['hp'] += $var['hp']; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $errors .= ' '.$user['login'].' пополнил'.$var['sex'].' здоровье, Уровень Жизни +'.$var['hpp'].'% (+'.$var['hp'].'HP)'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 6) { + $var['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + if(isset($var['trap1']['id'])) { + $var['time'] = rand(1, 50); + if($var['trap1']['time'] <= (time()+60*$var['time'])) { + mysql_query('DELETE FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1'); + $errors .= '
    Действие ловушки закончилось.'; + unset($var['trap1'], $var['time']); + } else { + $var['trap1']['time'] -= 60*$var['time']; + mysql_query('UPDATE `laba_act` SET `time` = "'.$var['trap1']['time'].'" WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1'); + $errors = '
    Действие ловушки снижено на '.$var['time'].' мин...'; + } + $var['obj']['use'] = $user['id']; + } else { + $errors .= '
    Вам нечего очищать ...'; + } + } + if($var['obj']['use'] > 0) { + mysql_query('UPDATE `laba_obj` SET `use` = "'.$var['obj']['use'].'" WHERE `id` = "'.$var['obj']['id'].'" LIMIT 1'); + $var['obj']['use'] = $var['obj']['use']; + } + } else { + $errors = 'Кто-то уже использовал это до Вас...'; + } + } else { + $errors = 'Обьект не найден...'; + } + unset($var); + } + + $sp = mysql_query('SELECT `x`, `y`, `level`, `login` FROM `users` WHERE `laba` = "'.$lab['id'].'" AND `id` != "'.$user['id'].'" LIMIT 3'); + $pi = 1; + while($pl = mysql_fetch_array($sp)) { + $objs[$pl['x']][$pl['y']] = array(2 => '
    '); + $pi++; + } + + $objs[$user['x']][$user['y']] = array(2 => '
    '); + $i = 0; + while($i <= count($map_d)) { + $j = 0; + while($j < count($map_d[$i])) { + if($i > $real_x - 6 && $i < $real_x + 6 && $j > $real_y - 6 && $j < $real_y + 6) { + if($map_d[$i][$j] == 1) { + $mapsee .= '
    '.$objs[$i][$j][2].'
    '; + } else { + if(!isset($objs[$i][$j]['id'])) { + if(isset($objs[$i][$j][2])) { + + } elseif($j == 1) { + $objs[$i][$j][2] = '
    '; + } elseif($j == count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } + } else { + if($objs[$i][$j]['use'] == 0) { + $objs[$i][$j][2] = '
    '; + } else { + $objs[$i][$j][2] = ''; + } + } + $mapsee .= '
    '.$objs[$i][$j][2].'
    '; + } + } + $j++; + } + if($i > $real_x - 6 && $i < $real_x + 6) { + $mapsee .= '
    '; + } + $i++; + } + $mapsee = '
    '.$mapsee.'
    '; + + if($user['align'] == 2.99) { + unset($objs); + $objs[$user['x']][$user['y']] = array(2 => '
    '); + $i = 0; + while($i <= count($map_d)) { + $j = 0; + while($j < count($map_d[$i])) { + if($map_d[$i][$j] == 1) { + $mapsee2 .= '
    '.$objs[$i][$j][2].'
    '; + } else { + if(!isset($objs[$i][$j]['id'])) { + if(isset($objs[$i][$j][2])) { + + } elseif($j == 1 && $i > 0 && $i < count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } elseif($j == count($map_d)-2 && $i > 0 && $i < count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } + } else { + if($objs[$i][$j]['use'] == 0) { + $objs[$i][$j][2] = '
    '; + } else { + $objs[$i][$j][2] = ''; + } + } + $mapsee2 .= '
    '.$objs[$i][$j][2].'
    '; + } + $j++; + } + $mapsee2 .= '
    '; + $i++; + } + $mapsee2 = '
    '.$mapsee2.'
    '; + } + + if(isset($varos['trap1']['vals']) && $varos['trap1']['vals'] > 0) { + $effed .= '
    - Время перехода +3 секунды (Осталось : '.timeOut($varos['trap1']['time']-time()).')
    '; + } + unset($varos); +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + +
      + + +
    +
    +
    +
    +
    + +
    +
    + +
    + 0 ) { + echo 'Кол-во смертей : '.$dies.'/3
    '; + } + ?> + Карта : #. Координаты : {X = | Y = } +
     
      + Задание: '.$q1['name'].'
    • '; + if( $q1['type'] == 1 ) { + echo 'Собрать ресурсы: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + + $qobj_f = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND "name" = "'.$qobj['obj_id'].'" LIMIT 1')); + if( $q2['val'] != $qobj[0] ) { + mysql_query('UPDATE `qst_user` SET `val` = "'.$qobj[0].'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + $q2['val'] = $qobj[0]; + } + echo ''.$qobj['name'].'  '; + }elseif( $q1['type'] == 2 ) { + echo 'Собрать трофеи: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + $qobj_f = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND "name" = "'.$qobj['obj_id'].'" LIMIT 1')); + + echo ''.$qobj['name'].''; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + if( $q2['val'] != $qobj[0] ) { + mysql_query('UPDATE `qst_user` SET `val` = "'.$qobj[0].'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + $q2['val'] = $qobj[0]; + } + echo ' c монстров '.$qobj['name'].'  '; + }elseif( $q1['type'] == 3 ) { + echo 'Убить монстров: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + echo ''.$qobj['login'].' ['.$qobj['level'].']  '; + } + echo '['.$q2['val'].'/'.$q1['obj_val'].']
    '; + echo '(Задание не засчитается, если Вы не найдёте выход.)'; + } + ?> +
     
     '; } ?> + + '.$mapsee2; + } + ?> +  
      + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
         
                                                                                                                           
      
    + +
     
    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Вверх
    ВлевоОбновитьВправо
    Вниз
    + + + + + + + +
    + +
    + + + \ No newline at end of file diff --git a/labirint.php b/labirint.php new file mode 100644 index 0000000..35d5b9a --- /dev/null +++ b/labirint.php @@ -0,0 +1,927 @@ + '0'){ + die(""); +} + +$vipUsers = array( + 'SaulDin', + 'Дед Мазай', + 'Лик Ужаса', + +); +$errkom = ''; + +$varsitm = array(array(270, 1)); + +$varsitm2 = array(array(87, 1), array(88, 1), array(48, 1), array(49, 1), array(29, 1), array(66, 1), array(97, 1), array(67, 1), array(98, 1), array(115, 1)); + +function labaItemAdd($id, $type) { + global $user; + if($type == 1) { + $dress = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + } else { + $dress = mysql_fetch_array(mysql_query('SELECT * FROM `ashop` WHERE `id` = "'.(int)$id.'" LIMIT 1')); + } + if(isset($dress['id'])) { + mysql_query("INSERT INTO `inventory` (`laba`, `prototype`,`owner`,`name`,`type`,`massa`,`cost`, `img`,`maxdur`,`isrep`,`gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`,`mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`koll`) VALUES ('$type', '{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}','{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress[koll]}')"); + } +} + +function money_add($sum) { + global $user; + $user['money'] += $sum; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); +} + +if($user['room'] == 1052) { + if($user['id'] == 10022) { + $lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + $map = mysql_fetch_array(mysql_query('SELECT `id`,`data`,`update` FROM `laba_map` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + } else { + $lab = mysql_fetch_array(mysql_query('SELECT * FROM `laba_now` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + $map = mysql_fetch_array(mysql_query('SELECT `id`,`data`,`update` FROM `laba_map` WHERE `id` = "'.$user['laba'].'" LIMIT 1')); + } + + $dies = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$user['laba'].'" AND `vars` = "dielaba" LIMIT 1')); + $dies = $dies[0]; + $map_d = json_decode($map['data']); + $usersDng = setHP($user['hp'], $user['maxhp'], 0); + $errors = ''; + $effed = ''; + $mapsee = ''; + $varos = array(); + $varos['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + + $real_x = $user['x']; + $real_y = $user['y']; + if($real_y < 6) { $real_y = 6; } + if($real_x < 6) { $real_x = 6; } + + if($real_y > count($map_d) - 7) { + $real_y = count($map_d) - 7; + } + + if($real_x > count($map_d) - 7) { + $real_x = count($map_d) - 7; + } + + $objs = array(); + + $sp = mysql_query('SELECT * FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'" AND `x` > '.($real_x - 7).' AND `x` < '.($real_x + 7).' AND `y` > '.($real_y - 12).' AND `y` < '.($real_y + 12).' LIMIT 144'); + while($pl = mysql_fetch_array($sp)) { + $objs[$pl['x']][$pl['y']] = $pl; + } + + $i = 1; + $goodgoo = array(1 => 0, 2 => 0, 3 => 0, 4 => 0); + while($i <= 4) { + $goto = array('x' => $user['y'], 'y' => $user['x']); + if($i == 1) { + $goto['x']--; + } elseif($i == 2) { + $goto['y']--; + } elseif($i == 3) { + $goto['x']++; + } elseif($i == 4) { + $goto['y']++; + } + if($map_d[$goto['y']][$goto['x']] == 0 && $goto['x'] > 0 && $goto['x'] < count($map_d)-1 && $user['timeGo'] <= time()) { + $goodgoo[$i] = 1; + } + $i++; + } + + if(isset($_GET['goto'])) { + $goto = array('x' => $user['y'], 'y' => $user['x']); + if($_GET['goto'] == 1 ) { + $goto['x']--; + } elseif($_GET['goto'] == 2) { + $goto['y']--; + } elseif($_GET['goto'] == 3) { + $goto['x']++; + } elseif($_GET['goto'] == 4) { + $goto['y']++; + } + + if($goodgoo[$_GET['goto']] == 1 && $user['timeGo'] <= time()) { + $user['y'] = $goto['x']; + $user['x'] = $goto['y']; + $real_x = $user['x']; + $real_y = $user['y']; + $varos['timego'] = 0; #5 + if(isset($varos['trap1']['id'])) { + $varos['timego'] += 3; + } + if($user['align'] == 2.99) { $varos['timego'] = 0; } + $user['timeGo'] = (time()+$varos['timego']); + $user['timeGoL'] = time(); + if(!mysql_query('UPDATE `users` SET `x` = "'.$user['x'].'", `y` = "'.$user['y'].'", `timeGoL` = "'.$user['timeGoL'].'", `timeGo` = "'.$user['timeGo'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1')) { + $errors = 'Ошибка перемещения!'; + } + } + } + + if($real_y < 6) { $real_y = 6; } + if($real_x < 6) { $real_x = 6; } + + if($real_y > count($map_d) - 7) { + $real_y = count($map_d) - 7; + } + if($real_x > count($map_d) - 7) { + $real_x = count($map_d) - 7; + } + + $tmdg = ($user['timeGo']-time()); + $tmdgl = ($user['timeGo']-$user['timeGoL']); + $tmdgp = floor(100-$tmdg/$tmdgl*100); + if($tmdgp < 1) { $tmdgp = 1; } elseif($tmdgp > 100) { $tmdgp = 100; } + $tmdgm = 25*$tmdgl; + $tmdg = floor(40/100*$tmdgp); + + if($tmdg < 1) { + $tmdg = 1; + } elseif($tmdg > 40) { + $tmdg = 40; + } + + if(isset($_POST['exit'])) { + if($lab['users'] < 2) { + mysql_query('DELETE FROM `laba_now` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "'.$lab['id'].'"'); + } else { + $lab['users']--; + mysql_query('UPDATE `laba_now` SET `users` = "'.$lab['users'].'" WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + } + $dresed = mysql_query('SELECT `id`, `type` FROM `inventory` WHERE `dressed` = 1 AND `laba` = 2 AND `owner` = "'.$user['id'].'"'); + while($pl = mysql_fetch_array($dresed)) { + dropitemid($pl['type'], $user['id']); + } + mysql_query('DELETE FROM `inventory` WHERE `laba` > 0 AND `owner` = "'.$user['id'].'"'); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1051', `online`.`room` = '1051', `users`.`x` = '0', `users`.`y` = '0', `users`.`laba` = '0' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + mysql_query('UPDATE `qst_user` SET `val` = "0" WHERE `uid` = "'.$user['id'].'" AND `cancel` = "0" AND `finish` = "0"'); + addActions(time(), 'go_labirint', (time()+60*60*6), $user['id']); + header('Location: lab_enter.php'); + } + + $itms = ''; + + if(isset($objs[$user['x']][$user['y']]['id'])) { + $var = array(); + $mitm = $objs[$user['x']][$user['y']]; + if($mitm['type'] == 2) { + if($mitm['use'] == 0) { + $btl_pix = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `battle` > 0 AND `laba` = "'.$lab['id'].'" AND `x` = "'.$user['x'].'" AND `y` = "'.$user['y'].'" LIMIT 1')); + if(!isset($btl_pix['id']) ) { + $bots = array( + 0 => array(10025, 10026, 10027, 10028, 10031, 10032, 10033, 10034), + 1 => array(10111, 10112, 10113, 10114, 10115, 10116), + 2 => array(10111, 10112, 10113) + ); + $bot_pix2 = $bots[$lab['type']]; + + $teams = array(); + $where = ''; $bot_ids = ''; + $i = 0; + $j = (1+rand(0, floor($user['level']/rand(3, 4)))); + while($i < $j) { + $bot_pix = $bot_pix2[rand(0, count($bot_pix2)-1)]; + $bot_pix = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$bot_pix.'" LIMIT 1')); + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) VALUES ('".$bot_pix['login']." (Бот #$i)', '".$bot_pix['id']."', '', '".$bot_pix['maxhp']."')"); + $bot = mysql_insert_id(); + $bot_ids .= $bot.';'; + $teams[$user['id']][$bot] = array(0, 0, time()); + $teams[$bot][$user['id']] = array(0, 0, time()); + $where = ' `id` = '.$bot.' OR'; + $i++; + } + $bot_ids = rtrim($bot_ids, ';'); + $where = rtrim($where, ' OR'); + + if(!mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `x`, `y`) VALUES ('".serialize($teams)."', '3', '1', '0', '".$user['id']."', '".$bot_ids."', '".time()."', '".time()."', '".$user['x']."', '".$user['y']."')")) { die('Error #2'); } + + $id = mysql_insert_id(); + $bts = explode(';', $bot_ids); + $is = 0; + while($is <= count($bts)) { + $nicks .= nick3($bts[$is]).', '; + $i_d .= $bts[$is].', '; + $is++; + } + $nicks = rtrim($nicks, ', '); + $who = '`id` IN ('.rtrim($i_d, ', ').')'; + + if($user1['invis'] == 1) { + $rr = "невидимка и ".$nicks.""; + } else { + $rr = "".nick3($user['id'])." и ".$nicks.""; + } + + if(!mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE ".$who."")) { die('Error #1'.$who); } + mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id`= {$user['id']} LIMIT 1"); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + } else { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1')); + $botd = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `battle` = "'.$bd['id'].'" LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$botd['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + $t1 = explode(";", $bd['t1']); + $ttt = 1; + addlog($jert['battle'], ''.date("H:i").' '.nick5($user['id'], "B".$ttt).' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = '".$bd['id']."', `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location: fbattle.php"); + } + die(""); + } + } elseif($mitm['type'] == 1) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 3) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 4) { + if($mitm['use'] == 0) { + $var['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + $var['time'] = rand(1, 60); + if(isset($var['trap1']['id'])) { + mysql_query('UPDATE `laba_act` SET `vals` = "'.($var['trap1']['vals'] + $var['time']).'", `time` = "'.($var['trap1']['time'] + $var['time']*60).'" WHERE `id` = "'.$var['trap1']['id'].'" LIMIT 1'); + } else { + mysql_query('INSERT INTO `laba_act` (`uid`, `time`, `lib`, `vars`, `vals`) VALUES ("'.$user['id'].'", "'.(time()+$var['time']*60).'", "'.$lab['id'].'", "trap1", "'.$var['time'].'")'); + } + $mitm['use'] = $user['id']; + mysql_query('UPDATE `laba_obj` SET `use` = "'.$mitm['use'].'" WHERE `id` = "'.$mitm['id'].'" LIMIT 1'); + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['text'] = ' '.$user['login'].' угодил'.$var['sex'].' в ловушку...'; + $varos['trap1'] = mysql_fetch_array(mysql_query('SELECT `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + $errors .= ' '.$user['login'].' угодил'.$var['sex'].' в ловушку... Время перехода +3 секунды (Длительность: +'.$var['time'].' мин.)'; + } + } elseif($mitm['type'] == 5) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } elseif($mitm['type'] == 6) { + if($mitm['use'] == 0) { + $itms .= '
    '; + } else { + $itms .= '
    '; + } + } + unset($var); + } + + if($user['y'] >= count($map_d)-2) { + if($lab['users'] < 2) { + mysql_query('DELETE FROM `laba_now` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_map` WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + mysql_query('DELETE FROM `laba_obj` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_act` WHERE `lib` = "'.$lab['id'].'"'); + mysql_query('DELETE FROM `laba_itm` WHERE `lib` = "'.$lab['id'].'"'); + } else { + $lab['users']--; + mysql_query('UPDATE `laba_now` SET `users` = "'.$lab['users'].'" WHERE `id` = "'.$lab['id'].'" LIMIT 1'); + } + $dresed = mysql_query('SELECT `id`, `type` FROM `inventory` WHERE `dressed` = 1 AND `laba` = 2 AND `owner` = "'.$user['id'].'"'); + while($pl = mysql_fetch_array($dresed)) { + dropitemid($pl['type'], $user['id']); + } + mysql_query('UPDATE `inventory` SET `laba` = 0 WHERE `laba` = 1 AND `owner` = "'.$user['id'].'"'); + mysql_query('DELETE FROM `inventory` WHERE `laba` = 2 AND `owner` = "'.$user['id'].'"'); + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '1051', `online`.`room` = '1051', `users`.`x` = '0', `users`.`y` = '0', `users`.`laba` = '0' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '".$user['id']."'"); + addActions(time(), 'go_labirint', (time()+60*60*6), $user['id']); + header('Location: lab_enter.php'); + } + + if(isset($_GET['takeitm'])) { + $errors = 'Предмет не найден...'; + } elseif(isset($_GET['useobj'])) { + $var = array('obj' => mysql_fetch_array(mysql_query('SELECT * FROM `laba_obj` WHERE `id` = "'.mysql_real_escape_string($_GET['useobj']).'" AND `lib` = "'.$lab['id'].'" AND `x` = "'.$user['x'].'" AND `y` = "'.$user['y'].'" LIMIT 1'))); + if(isset($var['obj']['id'])) { + if($var['obj']['use'] == 0) { + if($var['obj']['type'] == 1) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['itm'] = $varsitm[rand(0, count($varsitm)-1)]; + $var['itm'] = $var['itm'][0]; + $var['itm'] = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `shop` WHERE `id` = "'.$var['itm'].'" LIMIT 1')); + if(isset($var['itm']['id'])) { + if($var['itm']['id'] == 270) { + $arr = array(0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2); + $kr = $arr[rand(0, count($arr)-1)]; + $var['itm']['name'] = $kr.' кр'; + money_add($kr); + unset($kr); + } else { + labaItemAdd($var['itm']['id'], 1); + } + } else { + $var['itm']['name'] = 'Предмет рассыпался на глазах...'; + } + $errors .= ' '.$user['login'].' открыл'.$var['sex'].' сундук...и забрал "'.$var['itm']['name'].'"'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 5) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['itm'] = $varsitm2[rand(0, count($varsitm2)-1)]; + $var['itm'] = $var['itm'][0]; + $var['itm'] = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `ashop` WHERE `id` = "'.$var['itm'].'" LIMIT 1')); + if(isset($var['itm']['id'])) { + labaItemAdd($var['itm']['id'], 2); + } else { + $var['itm']['name'] = 'Предмет рассыпался на глазах...'; + } + $errors .= ' '.$user['login'].' открыл'.$var['sex'].' Ящик Пандоры...и забрал "'.$var['itm']['name'].'"'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 3) { + $var['sex'] = ''; + if($user['sex'] == 0) { $var['sex'] = 'а'; } + $var['hpp'] = rand(2, 5)*10; + $var['hp'] = round($user['maxhp']/100*$var['hpp']); + $user['hp'] += $var['hp']; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $errors .= ' '.$user['login'].' пополнил'.$var['sex'].' здоровье, Уровень Жизни +'.$var['hpp'].'% (+'.$var['hp'].'HP)'; + $var['obj']['use'] = $user['id']; + } elseif($var['obj']['type'] == 6) { + $var['trap1'] = mysql_fetch_array(mysql_query('SELECT `id`, `vals`, `time` FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1')); + if(isset($var['trap1']['id'])) { + $var['time'] = rand(1, 50); + if($var['trap1']['time'] <= (time()+60*$var['time'])) { + mysql_query('DELETE FROM `laba_act` WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1'); + $errors .= '
    Действие ловушки закончилось.'; + unset($var['trap1'], $var['time']); + } else { + $var['trap1']['time'] -= 60*$var['time']; + mysql_query('UPDATE `laba_act` SET `time` = "'.$var['trap1']['time'].'" WHERE `uid` = "'.$user['id'].'" AND `lib` = "'.$lab['id'].'" AND `time` > "'.time().'" ORDER BY `time` DESC LIMIT 1'); + $errors = '
    Действие ловушки снижено на '.$var['time'].' мин...'; + } + $var['obj']['use'] = $user['id']; + } else { + $errors .= '
    Вам нечего очищать ...'; + } + } + if($var['obj']['use'] > 0) { + mysql_query('UPDATE `laba_obj` SET `use` = "'.$var['obj']['use'].'" WHERE `id` = "'.$var['obj']['id'].'" LIMIT 1'); + $var['obj']['use'] = $var['obj']['use']; + } + } else { + $errors = 'Кто-то уже использовал это до Вас...'; + } + } else { + $errors = 'Обьект не найден...'; + } + unset($var); + } + + $sp = mysql_query('SELECT `x`, `y`, `level`, `login` FROM `users` WHERE `laba` = "'.$lab['id'].'" AND `id` != "'.$user['id'].'" LIMIT 3'); + $pi = 1; + while($pl = mysql_fetch_array($sp)) { + $objs[$pl['x']][$pl['y']] = array(2 => '
    '); + $pi++; + } + + $objs[$user['x']][$user['y']] = array(2 => '
    '); + $i = 0; + while($i <= count($map_d)) { + $j = 0; + while($j < count($map_d[$i])) { + if($i > $real_x - 6 && $i < $real_x + 6 && $j > $real_y - 6 && $j < $real_y + 6) { + if($map_d[$i][$j] == 1) { + $mapsee .= '
    '.$objs[$i][$j][2].'
    '; + } else { + if(!isset($objs[$i][$j]['id'])) { + if(isset($objs[$i][$j][2])) { + + } elseif($j == 1) { + $objs[$i][$j][2] = '
    '; + } elseif($j == count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } + } else { + if($objs[$i][$j]['use'] == 0) { + $objs[$i][$j][2] = '
    '; + } else { + $objs[$i][$j][2] = ''; + } + } + $mapsee .= '
    '.$objs[$i][$j][2].'
    '; + } + } + $j++; + } + if($i > $real_x - 6 && $i < $real_x + 6) { + $mapsee .= '
    '; + } + $i++; + } + $mapsee = '
    '.$mapsee.'
    '; + + if($user['align'] == 2.99) { + unset($objs); + $objs[$user['x']][$user['y']] = array(2 => '
    '); + $i = 0; + while($i <= count($map_d)) { + $j = 0; + while($j < count($map_d[$i])) { + if($map_d[$i][$j] == 1) { + $mapsee2 .= '
    '.$objs[$i][$j][2].'
    '; + } else { + if(!isset($objs[$i][$j]['id'])) { + if(isset($objs[$i][$j][2])) { + + } elseif($j == 1 && $i > 0 && $i < count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } elseif($j == count($map_d)-2 && $i > 0 && $i < count($map_d)-2) { + $objs[$i][$j][2] = '
    '; + } + } else { + if($objs[$i][$j]['use'] == 0) { + $objs[$i][$j][2] = '
    '; + } else { + $objs[$i][$j][2] = ''; + } + } + $mapsee2 .= '
    '.$objs[$i][$j][2].'
    '; + } + $j++; + } + $mapsee2 .= '
    '; + $i++; + } + $mapsee2 = '
    '.$mapsee2.'
    '; + } + + if(isset($varos['trap1']['vals']) && $varos['trap1']['vals'] > 0) { + $effed .= '
    - Время перехода +3 секунды (Осталось : '.timeOut($varos['trap1']['time']-time()).')
    '; + } + unset($varos); +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + +
      + + +
    +
    +
    +
    +
    + +
    +
    + +
    + 0 ) { + echo 'Кол-во смертей : '.$dies.'/3
    '; + } + ?> + Карта : #. Координаты : {X = | Y = } +
     
      + Задание: '.$q1['name'].'
    • '; + if( $q1['type'] == 1 ) { + echo 'Собрать ресурсы: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + + $qobj_f = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND "name" = "'.$qobj['obj_id'].'" LIMIT 1')); + if( $q2['val'] != $qobj[0] ) { + mysql_query('UPDATE `qst_user` SET `val` = "'.$qobj[0].'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + $q2['val'] = $qobj[0]; + } + echo ''.$qobj['name'].'  '; + }elseif( $q1['type'] == 2 ) { + echo 'Собрать трофеи: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `shop` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + $qobj_f = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND "name" = "'.$qobj['obj_id'].'" LIMIT 1')); + + echo ''.$qobj['name'].''; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + if( $q2['val'] != $qobj[0] ) { + mysql_query('UPDATE `qst_user` SET `val` = "'.$qobj[0].'" WHERE `id` = "'.$q2['id'].'" LIMIT 1'); + $q2['val'] = $qobj[0]; + } + echo ' c монстров '.$qobj['name'].'  '; + }elseif( $q1['type'] == 3 ) { + echo 'Убить монстров: '; + $qobj = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.$q1['obj_id'].'" LIMIT 1')); + echo ''.$qobj['login'].' ['.$qobj['level'].']  '; + } + echo '['.$q2['val'].'/'.$q1['obj_val'].']
    '; + echo '(Задание не засчитается, если Вы не найдёте выход.)'; + } + ?> +
     
     '; } ?> + + '.$mapsee2; + } + ?> +  
      + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
         
                                                                                                                           
      
    + +
     
    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Вверх
    ВлевоОбновитьВправо
    Вниз
    + + + + + + + +
    + +
    + + + \ No newline at end of file diff --git a/law.html b/law.html new file mode 100644 index 0000000..9379395 --- /dev/null +++ b/law.html @@ -0,0 +1,182 @@ + +Законы Старого Бойцовского клуба + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    +

    + Законы в Бойцовском Квартале абсолютны, не подвергаются обсуждению и должны безусловно выполнятся. За их выполнением следят Законники, которые являются носителями закона. Законники могут принять решения о наличии того или иного состава преступления. +
    Незнание законов не освобождает от ответственности. +

    + +
    Нарушения связанные с заведением нескольких персонажей. +
    +
    Регистрация нескольких персонажей одним человеком. +
    Предоставление ложной информации о персонажах, заходивших с одного компьютера. +
    Прокачка на "ботах", т.е. специально заведенных персонажах. +

    +
    Нарушения связанные с прокачкой +
    +
    Прокачка на других игроках за кредиты или взаимная прокачка. +
    Прокачка младшего уровня старшим. +
    Предложение в чате взаимной прокачки, заведомого проигрыша\выигрыша боя за кредиты. +

    +
    Использование ненормативной лексики (в том числе завуалированного мата). +

    +
    Использование ненормативной лексики в чате. +
    Использование ненормативной лексики на форуме. +
    Использование ненормативной лексики в описании заявки для боя. +
    Использование ненормативной лексики в анкете. +
    Использование ненормативной лексики в нике. +
    Использование ненормативной лексики в комментариях в боях (в записках комментатора). +
    Использование ненормативной лексики при гравировке. +
    Использование ненормативной лексики в комментариях к подарку. +
    Сексуальные домогательства. +

    + +
    Нарушения связанные с обманом игроков. +

    +
    Обман игроков (в т.ч. мошенничество при проведении торговых, арендных и кредитных сделок, невыполнение условий сделки, хищение чужого имущества ). +
    Осуществление определенной коммерческой деятельности без лицензии. +
    Вымогательство/Шантаж - принуждение к совершения сделки посредством угроз распространения сведений, позорящих потерпевшего, либо иных сведений, которые могут причинить существенный вред правам или законным интересам потерпевшего. +

    +
    Нарушения связанные с некорректной регистрацией +
    Неверная дата рождения. +
    Неверно указанный пол персонажа (пол персонажа должен соответствовать реальному полу игрока). +
    Указывание несуществующего или принадлежащего другому человеку адреса почтового ящика. +

    +
    Нарушения, мешающие судопроизводству. +

    +
    Обман Законника/ дача ложных показаний/предоставление сфабрикованных свидетельств/доказательств. +
    Умышленный ввод в заблуждение представителей власти, отказ в предоставлении необходимой информации представителям власти. +
    Попытка подкупа Законника. +
    Флуд в рабочем топике Законников. +
    Оскорбление Законника и/или Ордена Света, обсуждение действий Законника вне специально созданных топиков на Форуме в разделе Жалобы. +
    Клевета, в том числе обвинение в оскорблении и предоставление Законнику заведомо ложной информации об оскорблении (модификация цитаты) или иная подделка информации. +
    Попытка принуждения Законника к разглашению информации/превышению служебных полномочий в том числе посредством угроз. +

    + +
    Диверсионная деятельность, в том числе использование ошибок программного обеспечения сервера + +
    Диверсия - ДОС-атаки, использование ошибок программного обеспечения. +
    Взлом/похищение персонажей. +
    Распространение ссылок на веб-сайты, содержание которых вызывает сбои в работе компьютера, а равно на веб-сайты, содержание которых направлено на незаконное получение паролей доступа к персонажам ОлдБК. +
    Накрутка рейтингов клановых сайтов, использование игровых багов и утаивание наличие данных от Администрации ОлдБК. +

    +
    Прочие нарушения. +

    +
    Оскорбительные высказывания в адрес Администрации, игрока/игроков, Законников, Ордена Света, унижение их чести и достоинства, выраженное в неприличной форме. +
    Публичные призывы к изменению законодательной и исполнительной власти. +
    Покупки/продажи (равно как и попытки это сделать) персонажа/кредитов/екр./вещей за реал в обход официальных дилеров ОлдБК. +
    Покупки/продажи (равно как и попытки это сделать) кредитов/вещей за екр. В обход официальных дилеров ОлдБК. +
    Покупка/продажа предметов/услуг, не имеющих отношения к ОлдБК, за кредиты/предметы мира ОлдБК. +
    Пропаганда наркотиков и реклама ресурсов, содержащих данную рекламу. +
    Флуд/спам в чате/форуме, в том числе публичное предложение торговых сделок вне торгового зала, помехи при проведении свадебной церемонии. +
    Прямая и косвенная реклама клановых сайтов (за исключением форума "кланы"). +
    Реклама порно-сайтов, распространение ссылок на веб-сайты, содержание которых не относится к ОлдБК. +
    Пропаганда расизма, националистические высказывания. +
    Дискриминация любого рода (по расовой, религиозной, половой принадлежности etc) +
    Попрошайничество. +
    Угрозы насилием и/или физической расправой в реале. +

    + +
    Нарушения связанные с превышением Законником своих полномочий. +

    +
    Вымогательство взятки. +
    Получение взятки (получение Законником лично или через посредника взятки в виде денег (как игровых: кредитов или еврокредитов, так и реальных денег), вещей, иного имущества или выгод имущественного характера за действия (бездействие) в пользу взяткодателя или представляемых им лиц). +
    Разглашение служебной информации. +
    Шпионаж (передача, собирание, похищение, хранение, в целях передачи другим представителям склонностей (темной, нейтральной или серой) сведений, составляющих секретную информацию, для использования ее в ущерб белому братству, для собственной выгоды, а так же во вред всему игровому миру ОлдБК). +
    Злоупотребление должностными полномочиями (использование должностным лицом (Законником) своих служебных полномочий вопреки интересам ордена, если это деяние совершено из корыстной или личной заинтересованности). +
    Превышение должностных полномочий (совершение Законником действий, явно выходящих за пределы его полномочий). +
    Халатность (неисполнение или ненадлежащее исполнение Законником своих обязанностей вследствие недобросовестного или небрежного отношения к службе). +

    +
    Наказания могут применятся в комплексе и не сразу, а в последствии на более старших уровнях. +

    +
    Возможные наказания за деяния, описанные выше: +

    +
    1.Заклятие молчания. +
    2. Обезличивание. +
    3.Присваивание склонности Хаос. +
    4.Блокировка персонажа. +

    +
    Свод законов может быть дополнен и изменен. +
    Следите за новостями на официальном сайте Ордена Законников +

    +


    +
    + + + + + + +
    +
    + + + + + + + +
    + + \ No newline at end of file diff --git a/left.html b/left.html new file mode 100644 index 0000000..6fdff0c --- /dev/null +++ b/left.html @@ -0,0 +1,8 @@ + + + + + +
    + + \ No newline at end of file diff --git a/lib/exp.html b/lib/exp.html new file mode 100644 index 0000000..8520d83 --- /dev/null +++ b/lib/exp.html @@ -0,0 +1,1081 @@ + + + + + + + + +
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    000305
     12010
    24511
    37512
    101103+1410
    .
    + .
    + .
    116010
    221511
    328012
    435014
    204103+1820
    + .153010
    267012
    383014
    495018
    51100112
    3013003+11630
    + .1145011
    2165015
    31850110
    42050115
    52200120
    4025005+12560
    . +
    , + .
    + /.
    + .
    1290013
    23350110
    33800115
    44200120
    54600125
    5050003+140120
     1600016
    27000120
    38000130
    49000140
    510000140
    611000140
    712000150
    60125003+180180
    + .11400019
    215500125
    317000145
    419000145
    521000145
    623000155
    727000145
    70300005+190 300
    + .

    + + -.
    16000011
    2750001100
    31500001150
    4175000150
    52000001100
    6225000150
    72500001100
    8260000150
    92800001100
    803000005+1300450
    +
    \ No newline at end of file diff --git a/library.php b/library.php new file mode 100644 index 0000000..28ad2fb --- /dev/null +++ b/library.php @@ -0,0 +1,427 @@ +0)) header("Location: index.php"); + include "config.php"; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + include "functions.php"; + + if ($user['room'] != 53) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } +?> + + + + + + + + + + + + + + +'); + echo(''); + echo(''); + + echo ''; + + echo ''; + echo(''); + //echo ''; + //echo ''; + } +elseif($_GET['lib_room']=='archive') +{ + //код опознавания страниц + if($_POST['ident_pages']) + { + //выбираем неопределенные страницы + $pages=array(); + $pages_res=mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='867' AND `dressed`='0'; "); + while($page_res=mysql_fetch_array($pages_res)) + $pages[]=$page_res['id']; + $names=array(); + $cred=0; + foreach($pages as $p) + { + if(mt_rand(1,2)==1) + { + $page_num=868+mt_rand(0,14); + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '{$page_num}' LIMIT 1;")); + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`duration` + ) + VALUES + ('{$dress['id']}','{$user[id]}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','0' + ) ;"); + $names[]=$dress['name']; + } + else + $cred+=1; + mysql_query("DELETE FROM `inventory` WHERE `id` = '{$p}' LIMIT 1;"); + } + + } + //текст + echo(''); + if($_POST['ident_pages']) echo(''); + else echo(' + '); + //выбираем неопределенные страницы + $pages=array(); + $pages_res=mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='867' AND `dressed`='0'; "); + while($page_res=mysql_fetch_array($pages_res)) + $pages[]=$page_res['id']; + //обмен страниц + if($pages) + echo(''); + else echo(''); + //money + if($cred) + { + mysql_query("UPDATE `users` SET `money`=money+{$cred} where `id`='{$user['id']}';"); + echo(''); + } + //ident + if($names) foreach($names as $n) + { + echo(''); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) + VALUES ('','0','{$user['id']}','\"".$user['login']."\" получил в Библиотеке ".$n." кр. ',1,'".time()."');"); + + } + //меняем страницы на книгу + if($_POST['get_book']) + { + $pages=array(); + $got_all_1=1; + for($pn=868;$pn<=882;$pn++) + { + $pc_r=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='{$pn}' LIMIT 1; ")); + if($pc_r) $pages[]=$pc_r['id']; + else $got_all_1=0; + } + if($got_all_1) { + foreach($pages as $p) + mysql_query("DELETE FROM `inventory` WHERE `id` = '{$p}' LIMIT 1;"); + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '866' LIMIT 1;")); + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`duration` + ) + VALUES + ('{$dress['id']}','{$user[id]}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','0' + ) ;"); + addchp ('У Вас есть все необходимые страницы. Сложив их в нужном порядке, Вы получаете Книгу Комментатора [1]','{[]}'.nick7 ($user['id']).'{[]}'); + } + + } + //есть страницы + $pagesn=array(); + for($pn=868;$pn<=882;$pn++)//книга 1 + { + $pc_r=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='{$pn}' LIMIT 1; ")); + if($pc_r) $pagesn[$pn]=1; + else $pagesn[$pn]=0; + } + echo(''); + echo(''); + echo(''); + else + echo(""); + + echo(''); +} +elseif($_GET['lib_room']='magic_craft') +{ + /*books=array(); + $pages_res=mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='867' AND `dressed`='0'; "); + while($page_res=mysql_fetch_array($pages_res))*/ + $res=array(); + $del=array(); + $book_1=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='866' LIMIT 1; ")); + //делаем крафт + if($_POST['craft_1']) { + + $craft_err=0; + //считаем книжку + if(!$book_1) $craft_err=1; + //считаем ингридиенты + $ing=mysql_fetch_array(mysql_query("SELECT `ingred` FROM `recipes` WHERE `id`='{$_POST['magic_id']}' LIMIT 1;")); + $need_1=unserialize($ing['ingred']); + //считаем кол-во ингридиентов + foreach($need_1 as $k=>$n) { + $res_r=mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='{$k}'; "); + $i=0; + while($res_id=mysql_fetch_array($res_r)) + if($i<$n) + { + if($res_id['id']) $del[]=$res_id['id']; + else + $craft_err=1; + $i++; + } + } + //ингридиентов хватает + if(!$craft_err) { + foreach($del as $d) + mysql_query("DELETE FROM `inventory` WHERE `id`='{$d}';"); + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '{$_POST['magic_id']}' LIMIT 1;")); + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`duration` + ) + VALUES + ('{$dress['id']}','{$user[id]}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','0' + ) ;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) + VALUES ('','0','{$user['id']}','\"".$user['login']."\" создал свиток ".$dress['name']." ',1,'".time()."');"); + addchp ('Вы успешно создали свиток '.$dress['name'].'!','{[]}'.nick7 ($user['id']).'{[]}'); + } + } + + //$book1=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='--book 2--'; ")); + //$book1=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='--book 3--'; ")); + echo(''); + if($craft_err) echo(""); + if($book_1) { + echo(''); + //ОГОНЬ + echo(''); + //выбираем всю магию стихии + $all_fire_raw=mysql_query("SELECT * FROM `recipes` WHERE `level`='1' AND `elem`='F';"); + while($all_fire=mysql_fetch_array($all_fire_raw)) + { + $spell_info=mysql_fetch_array(mysql_query("SELECT `name`,`img` FROM `shop` WHERE `id`='{$all_fire['id']}' LIMIT 1;")); + //необходимые ингридиенты + $ing=unserialize($all_fire['ingred']); + foreach($ing as $k=>$n) { + $txt_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `shop` WHERE `id`='{$k}' LIMIT 1;")); + $count_k=mysql_num_rows(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='{$k}'; ")); + if($count_k<$n) + { + $ingred.=$txt_k['name']." (".$count_k."/".$n.")
    "; + $ing_error=1; + } + + else + $ingred.=$txt_k['name']." (".$count_k."/".$n.")
    "; + + + } + + echo('
    '); + } + //ЗЕМЛЯ + echo(''); + //выбираем всю магию стихии + $all_earth_raw=mysql_query("SELECT * FROM `recipes` WHERE `level`='1' AND `elem`='E';"); + while($all_earth=mysql_fetch_array($all_earth_raw)) + { + $spell_info=mysql_fetch_array(mysql_query("SELECT `name`,`img` FROM `shop` WHERE `id`='{$all_earth['id']}' LIMIT 1;")); + //необходимые ингридиенты + $ing=unserialize($all_earth['ingred']); + foreach($ing as $k=>$n) { + $txt_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `shop` WHERE `id`='{$k}' LIMIT 1;")); + $count_k=mysql_num_rows(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='{$k}'; ")); + if($count_k<$n) + { + $ingred.=$txt_k['name']." (".$count_k."/".$n.")
    "; + $ing_error=1; + } + + else + $ingred.=$txt_k['name']." (".$count_k."/".$n.")
    "; + + + } + echo('
    '); + } + //ВОЗДУХ + echo(''); + //выбираем всю магию стихии + $all_air_raw=mysql_query("SELECT * FROM `recipes` WHERE `level`='1' AND `elem`='A';"); + while($all_air=mysql_fetch_array($all_air_raw)) + { + $spell_info=mysql_fetch_array(mysql_query("SELECT `name`,`img` FROM `shop` WHERE `id`='{$all_air['id']}' LIMIT 1;")); + //необходимые ингридиенты + $ing=unserialize($all_air['ingred']); + foreach($ing as $k=>$n) { + $txt_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `shop` WHERE `id`='{$k}' LIMIT 1;")); + $count_k=mysql_num_rows(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='{$k}'; ")); + if($count_k<$n) + { + $ingred.=$txt_k['name']." (".$count_k."/".$n.")
    "; + $ing_error=1; + } + + else + $ingred.=$txt_k['name']." (".$count_k."/".$n.")
    "; + + + } + echo('
    '); + } + //ВОДА + echo(''); + //выбираем всю магию стихии + $all_fire_raw=mysql_query("SELECT * FROM `recipes` WHERE `level`='1' AND `elem`='W';"); + while($all_fire=mysql_fetch_array($all_fire_raw)) + { + $spell_info=mysql_fetch_array(mysql_query("SELECT `name`,`img` FROM `shop` WHERE `id`='{$all_fire['id']}' LIMIT 1;")); + //необходимые ингридиенты + $ing=unserialize($all_fire['ingred']); + foreach($ing as $k=>$n) { + $txt_k=mysql_fetch_array(mysql_query("SELECT `name` FROM `shop` WHERE `id`='{$k}' LIMIT 1;")); + $count_k=mysql_num_rows(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='{$k}'; ")); + if($count_k<$n) + { + $ingred.=$txt_k['name']." (".$count_k."/".$n.")
    "; + $ing_error=1; + } + + else + $ingred.=$txt_k['name']." (".$count_k."/".$n.")
    "; + + + } + echo('
    '); + } + + } + if($book2) + { + + } + if($book3) + { + + } + + + + echo(''); + +} + +?> + + +

    Библиотека Просвещения

    Вы стоите в холле Библиотеки. В застоявшемся воздухе висит многовековая пыль, плавно витающая между полками и сундуками с книгами. + Потолки залов теряются в темноте, которую разгоняют лишь факелы на стенах.

    К Вам подходит один из Смотрителей. Он определенно стар, лицо скрыто под плащем, но его движения - быстрые и точные.

    Смотритель: "Какие услуги тебе понадобились?"

    + + +
    Здесь ученые мужи трудятся над рашифровкой древних книг и свитков. Если Вам нужна информация про какие-либо книги или свитки, + здесь Вам обязательно помогут. +

    + + +
    Оснащенная по последнему слову магии и техники лаборатория для опытов. Тут Вы можете создавать магические предметы.
    +
    Перед Вами длинный зал, заполненный людьми в серых робах. Некоторые внимательно изучают всевозможные вещи и книги, другие + в небольших группах что-то оживленно обсуждают. В углу помещения стоит каменная плита с неизвестными Вам символами.

    За столом слева от входа сгорбился Архивариус. Он не обращает на Вас никакого внимания.

    За столом слева от входа сгорбился Архивариус. Он медленно поднимает голову и смотрим Вам прямо в глаза.

    Архивариус: "Предметы не определяем. Чеки не принимаем. С вопросами - к помощникам."
    Здесь Вам помогут опознать найденные Вами страницы +
    ('.count($pages).') шт. - +
    У Вас нету страниц, нуждающихся в идентификации.

    Вы отдали ненужные страницы в Архив (+'.$cred.')кр.

    Вы получили '.$n.'

    Найденные страницы:
    Книга Комментатора [1]:
    '); + foreach($pagesn as $p) + { + $c++; + if($p>0) echo ("".$c." "); + else echo("".$c." "); + } + $got_all_1=1; + for($pn=868;$pn<=882;$pn++) + { + $pc_r=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `owner`='{$user['id']}' AND `prototype`='{$pn}' LIMIT 1; ")); + if($pc_r) $pages[]=$pc_r; + else $got_all_1=0; + } + if($got_all_1) + echo('
    +
    Не хватает страниц
    Вы стоите в небольшой комнате, от пола до потолка забтиой банками, пробирками, ингредиентами и прочими полезными вещами. + Здесь Вы можете собрать предметы по имеющимся у Вас рецептам.

    Знак зодиака'); +//выводим инфо по стихиям +echo('Ваша стихия:'); +$el=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); +switch($el) +{ +case 'a': echo("Воздух"); break; +case 'w': echo("Вода"); break; +case 'f': echo("Огонь"); break; +case 'e': echo("Земля"); break; +} +echo("
    Эффективность магии:"); +foreach($elem_align as $k=>$ea) +{ + switch($k) + { + case 'a': echo("
    Воздух"); break; + case 'w': echo("
    Вода"); break; + case 'f': echo("
    Огонь"); break; + case 'e': echo("
    Земля"); break; + } + switch($ea[$el]) + { + case '0': echo(" : ".($ea[$el]*100)."%"); break; + case '0.5': echo(" : ".($ea[$el]*100)."%"); break; + case '1': echo(" : ".($ea[$el]*100)."%"); break; + } +} + + +; +echo('
    Недостаточно ингредиентов!

    Рецепты: Книга Комментатора [1]

    Магия Огня

    '. + $spell_info['name'].'
    Ингредиенты:
    '. + $ingred); + unset ($ing); + unset($ingred); + if(!$ing_error) echo(''); else echo("Недостаточно ингридиентов"); + echo('

    Магия Земли

    '. + $spell_info['name'].'
    Ингредиенты:
    '. + $ingred); + unset ($ing); + unset($ingred); + if(!$ing_error) echo(''); else echo("Недостаточно ингридиентов"); + echo('

    Магия Воздуха

    '. + $spell_info['name'].'
    Ингредиенты:
    '. + $ingred); + unset ($ing); + unset($ingred); + if(!$ing_error) echo(''); else echo("Недостаточно ингридиентов"); + echo('

    Магия Воды

    '. + $spell_info['name'].'
    Ингредиенты:
    '. + $ingred); + unset ($ing); + unset($ingred); + if(!$ing_error) echo(''); else echo("Недостаточно ингридиентов"); + echo('

    +
    '); + +?> + + + diff --git a/locations/castle-square/img/day/background.png b/locations/castle-square/img/day/background.png new file mode 100644 index 0000000..91aa816 Binary files /dev/null and b/locations/castle-square/img/day/background.png differ diff --git a/locations/castle-square/img/day/h/arena.png b/locations/castle-square/img/day/h/arena.png new file mode 100644 index 0000000..95c0058 Binary files /dev/null and b/locations/castle-square/img/day/h/arena.png differ diff --git a/locations/castle-square/img/day/h/catacomb.png b/locations/castle-square/img/day/h/catacomb.png new file mode 100644 index 0000000..36321c3 Binary files /dev/null and b/locations/castle-square/img/day/h/catacomb.png differ diff --git a/locations/castle-square/img/day/h/dragon.png b/locations/castle-square/img/day/h/dragon.png new file mode 100644 index 0000000..760ccfe Binary files /dev/null and b/locations/castle-square/img/day/h/dragon.png differ diff --git a/locations/castle-square/img/day/h/fonar_left.png b/locations/castle-square/img/day/h/fonar_left.png new file mode 100644 index 0000000..37e7fe9 Binary files /dev/null and b/locations/castle-square/img/day/h/fonar_left.png differ diff --git a/locations/castle-square/img/day/h/fonar_right.png b/locations/castle-square/img/day/h/fonar_right.png new file mode 100644 index 0000000..efa4bc8 Binary files /dev/null and b/locations/castle-square/img/day/h/fonar_right.png differ diff --git a/locations/castle-square/img/day/h/labirinth.png b/locations/castle-square/img/day/h/labirinth.png new file mode 100644 index 0000000..248b618 Binary files /dev/null and b/locations/castle-square/img/day/h/labirinth.png differ diff --git a/locations/castle-square/img/day/h/znakhar.png b/locations/castle-square/img/day/h/znakhar.png new file mode 100644 index 0000000..711c530 Binary files /dev/null and b/locations/castle-square/img/day/h/znakhar.png differ diff --git a/locations/castle-square/img/day/n/arena.png b/locations/castle-square/img/day/n/arena.png new file mode 100644 index 0000000..4f1eead Binary files /dev/null and b/locations/castle-square/img/day/n/arena.png differ diff --git a/locations/castle-square/img/day/n/catacomb.png b/locations/castle-square/img/day/n/catacomb.png new file mode 100644 index 0000000..d6b0019 Binary files /dev/null and b/locations/castle-square/img/day/n/catacomb.png differ diff --git a/locations/castle-square/img/day/n/dragon.png b/locations/castle-square/img/day/n/dragon.png new file mode 100644 index 0000000..e2c21ec Binary files /dev/null and b/locations/castle-square/img/day/n/dragon.png differ diff --git a/locations/castle-square/img/day/n/fonar_left.png b/locations/castle-square/img/day/n/fonar_left.png new file mode 100644 index 0000000..268566c Binary files /dev/null and b/locations/castle-square/img/day/n/fonar_left.png differ diff --git a/locations/castle-square/img/day/n/fonar_right.png b/locations/castle-square/img/day/n/fonar_right.png new file mode 100644 index 0000000..8ebc021 Binary files /dev/null and b/locations/castle-square/img/day/n/fonar_right.png differ diff --git a/locations/castle-square/img/day/n/labirinth.png b/locations/castle-square/img/day/n/labirinth.png new file mode 100644 index 0000000..1642021 Binary files /dev/null and b/locations/castle-square/img/day/n/labirinth.png differ diff --git a/locations/castle-square/img/day/n/znakhar.png b/locations/castle-square/img/day/n/znakhar.png new file mode 100644 index 0000000..b9fcd01 Binary files /dev/null and b/locations/castle-square/img/day/n/znakhar.png differ diff --git a/locations/castle-square/img/night/background.png b/locations/castle-square/img/night/background.png new file mode 100644 index 0000000..433fe31 Binary files /dev/null and b/locations/castle-square/img/night/background.png differ diff --git a/locations/castle-square/img/night/h/arena.png b/locations/castle-square/img/night/h/arena.png new file mode 100644 index 0000000..14b7da2 Binary files /dev/null and b/locations/castle-square/img/night/h/arena.png differ diff --git a/locations/castle-square/img/night/h/catacomb.png b/locations/castle-square/img/night/h/catacomb.png new file mode 100644 index 0000000..0bf6f0a Binary files /dev/null and b/locations/castle-square/img/night/h/catacomb.png differ diff --git a/locations/castle-square/img/night/h/dragon.png b/locations/castle-square/img/night/h/dragon.png new file mode 100644 index 0000000..433933a Binary files /dev/null and b/locations/castle-square/img/night/h/dragon.png differ diff --git a/locations/castle-square/img/night/h/fonar_left.png b/locations/castle-square/img/night/h/fonar_left.png new file mode 100644 index 0000000..e2f6116 Binary files /dev/null and b/locations/castle-square/img/night/h/fonar_left.png differ diff --git a/locations/castle-square/img/night/h/fonar_right.png b/locations/castle-square/img/night/h/fonar_right.png new file mode 100644 index 0000000..4025aba Binary files /dev/null and b/locations/castle-square/img/night/h/fonar_right.png differ diff --git a/locations/castle-square/img/night/h/labirinth.png b/locations/castle-square/img/night/h/labirinth.png new file mode 100644 index 0000000..a210160 Binary files /dev/null and b/locations/castle-square/img/night/h/labirinth.png differ diff --git a/locations/castle-square/img/night/h/znakhar.png b/locations/castle-square/img/night/h/znakhar.png new file mode 100644 index 0000000..e56a43f Binary files /dev/null and b/locations/castle-square/img/night/h/znakhar.png differ diff --git a/locations/castle-square/img/night/n/arena.png b/locations/castle-square/img/night/n/arena.png new file mode 100644 index 0000000..69f5232 Binary files /dev/null and b/locations/castle-square/img/night/n/arena.png differ diff --git a/locations/castle-square/img/night/n/catacomb.png b/locations/castle-square/img/night/n/catacomb.png new file mode 100644 index 0000000..2977b7d Binary files /dev/null and b/locations/castle-square/img/night/n/catacomb.png differ diff --git a/locations/castle-square/img/night/n/dragon.png b/locations/castle-square/img/night/n/dragon.png new file mode 100644 index 0000000..4171d43 Binary files /dev/null and b/locations/castle-square/img/night/n/dragon.png differ diff --git a/locations/castle-square/img/night/n/fonar_left.png b/locations/castle-square/img/night/n/fonar_left.png new file mode 100644 index 0000000..3ea66ba Binary files /dev/null and b/locations/castle-square/img/night/n/fonar_left.png differ diff --git a/locations/castle-square/img/night/n/fonar_right.png b/locations/castle-square/img/night/n/fonar_right.png new file mode 100644 index 0000000..422a9f9 Binary files /dev/null and b/locations/castle-square/img/night/n/fonar_right.png differ diff --git a/locations/castle-square/img/night/n/labirinth.png b/locations/castle-square/img/night/n/labirinth.png new file mode 100644 index 0000000..506ac07 Binary files /dev/null and b/locations/castle-square/img/night/n/labirinth.png differ diff --git a/locations/castle-square/img/night/n/znakhar.png b/locations/castle-square/img/night/n/znakhar.png new file mode 100644 index 0000000..dd96e19 Binary files /dev/null and b/locations/castle-square/img/night/n/znakhar.png differ diff --git a/locations/castle-square/map.php b/locations/castle-square/map.php new file mode 100644 index 0000000..64c4f64 --- /dev/null +++ b/locations/castle-square/map.php @@ -0,0 +1,35 @@ +getTimeOfDay(); +?> + + Capital City :: Центральная Площадь + + + + + + + + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    Внимание! Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, только взломщикам для кражи вашего героя.

    Администрация. +
    +
    +
    + \ No newline at end of file diff --git a/locations/central-square/img/day/background.jpg b/locations/central-square/img/day/background.jpg new file mode 100644 index 0000000..d29ab66 Binary files /dev/null and b/locations/central-square/img/day/background.jpg differ diff --git a/locations/central-square/img/day/h/bigshop.png b/locations/central-square/img/day/h/bigshop.png new file mode 100644 index 0000000..9d048b0 Binary files /dev/null and b/locations/central-square/img/day/h/bigshop.png differ diff --git a/locations/central-square/img/day/h/blacksmith.png b/locations/central-square/img/day/h/blacksmith.png new file mode 100644 index 0000000..ede704f Binary files /dev/null and b/locations/central-square/img/day/h/blacksmith.png differ diff --git a/locations/central-square/img/day/h/castle.png b/locations/central-square/img/day/h/castle.png new file mode 100644 index 0000000..a880cb9 Binary files /dev/null and b/locations/central-square/img/day/h/castle.png differ diff --git a/locations/central-square/img/day/h/fleamarket.png b/locations/central-square/img/day/h/fleamarket.png new file mode 100644 index 0000000..15018a8 Binary files /dev/null and b/locations/central-square/img/day/h/fleamarket.png differ diff --git a/locations/central-square/img/day/h/loto.png b/locations/central-square/img/day/h/loto.png new file mode 100644 index 0000000..b8c645c Binary files /dev/null and b/locations/central-square/img/day/h/loto.png differ diff --git a/locations/central-square/img/day/h/postoffice.png b/locations/central-square/img/day/h/postoffice.png new file mode 100644 index 0000000..87fb223 Binary files /dev/null and b/locations/central-square/img/day/h/postoffice.png differ diff --git a/locations/central-square/img/day/h/shop.png b/locations/central-square/img/day/h/shop.png new file mode 100644 index 0000000..502543d Binary files /dev/null and b/locations/central-square/img/day/h/shop.png differ diff --git a/locations/central-square/img/day/h/signleft.png b/locations/central-square/img/day/h/signleft.png new file mode 100644 index 0000000..5422406 Binary files /dev/null and b/locations/central-square/img/day/h/signleft.png differ diff --git a/locations/central-square/img/day/h/signright.png b/locations/central-square/img/day/h/signright.png new file mode 100644 index 0000000..6da14e3 Binary files /dev/null and b/locations/central-square/img/day/h/signright.png differ diff --git a/locations/central-square/img/day/h/statue.png b/locations/central-square/img/day/h/statue.png new file mode 100644 index 0000000..e83c2b5 Binary files /dev/null and b/locations/central-square/img/day/h/statue.png differ diff --git a/locations/central-square/img/day/h/zima_berezka.png b/locations/central-square/img/day/h/zima_berezka.png new file mode 100644 index 0000000..0f8f640 Binary files /dev/null and b/locations/central-square/img/day/h/zima_berezka.png differ diff --git a/locations/central-square/img/day/h/zima_cap_arr_left.png b/locations/central-square/img/day/h/zima_cap_arr_left.png new file mode 100644 index 0000000..86e3fe6 Binary files /dev/null and b/locations/central-square/img/day/h/zima_cap_arr_left.png differ diff --git a/locations/central-square/img/day/h/zima_cap_arr_right.png b/locations/central-square/img/day/h/zima_cap_arr_right.png new file mode 100644 index 0000000..b71490a Binary files /dev/null and b/locations/central-square/img/day/h/zima_cap_arr_right.png differ diff --git a/locations/central-square/img/day/h/zima_cap_arr_top.png b/locations/central-square/img/day/h/zima_cap_arr_top.png new file mode 100644 index 0000000..c883fa8 Binary files /dev/null and b/locations/central-square/img/day/h/zima_cap_arr_top.png differ diff --git a/locations/central-square/img/day/h/zima_cap_cp_day.jpg b/locations/central-square/img/day/h/zima_cap_cp_day.jpg new file mode 100644 index 0000000..894990c Binary files /dev/null and b/locations/central-square/img/day/h/zima_cap_cp_day.jpg differ diff --git a/locations/central-square/img/day/h/zima_club.png b/locations/central-square/img/day/h/zima_club.png new file mode 100644 index 0000000..ecfeb99 Binary files /dev/null and b/locations/central-square/img/day/h/zima_club.png differ diff --git a/locations/central-square/img/day/h/zima_kom.png b/locations/central-square/img/day/h/zima_kom.png new file mode 100644 index 0000000..dfcb1a2 Binary files /dev/null and b/locations/central-square/img/day/h/zima_kom.png differ diff --git a/locations/central-square/img/day/h/zima_loto.png b/locations/central-square/img/day/h/zima_loto.png new file mode 100644 index 0000000..18f2f5f Binary files /dev/null and b/locations/central-square/img/day/h/zima_loto.png differ diff --git a/locations/central-square/img/day/h/zima_po4ta.png b/locations/central-square/img/day/h/zima_po4ta.png new file mode 100644 index 0000000..5bd7f4d Binary files /dev/null and b/locations/central-square/img/day/h/zima_po4ta.png differ diff --git a/locations/central-square/img/day/h/zima_rem.png b/locations/central-square/img/day/h/zima_rem.png new file mode 100644 index 0000000..c31bd30 Binary files /dev/null and b/locations/central-square/img/day/h/zima_rem.png differ diff --git a/locations/central-square/img/day/h/zima_shop.png b/locations/central-square/img/day/h/zima_shop.png new file mode 100644 index 0000000..e9627df Binary files /dev/null and b/locations/central-square/img/day/h/zima_shop.png differ diff --git a/locations/central-square/img/day/h/zima_stella.png b/locations/central-square/img/day/h/zima_stella.png new file mode 100644 index 0000000..a40c770 Binary files /dev/null and b/locations/central-square/img/day/h/zima_stella.png differ diff --git a/locations/central-square/img/day/n/bigshop.png b/locations/central-square/img/day/n/bigshop.png new file mode 100644 index 0000000..08aa8ce Binary files /dev/null and b/locations/central-square/img/day/n/bigshop.png differ diff --git a/locations/central-square/img/day/n/blacksmith.png b/locations/central-square/img/day/n/blacksmith.png new file mode 100644 index 0000000..b91d9dd Binary files /dev/null and b/locations/central-square/img/day/n/blacksmith.png differ diff --git a/locations/central-square/img/day/n/castle.png b/locations/central-square/img/day/n/castle.png new file mode 100644 index 0000000..1af491a Binary files /dev/null and b/locations/central-square/img/day/n/castle.png differ diff --git a/locations/central-square/img/day/n/fleamarket.png b/locations/central-square/img/day/n/fleamarket.png new file mode 100644 index 0000000..6ab663d Binary files /dev/null and b/locations/central-square/img/day/n/fleamarket.png differ diff --git a/locations/central-square/img/day/n/loto.png b/locations/central-square/img/day/n/loto.png new file mode 100644 index 0000000..5cc0be5 Binary files /dev/null and b/locations/central-square/img/day/n/loto.png differ diff --git a/locations/central-square/img/day/n/postoffice.png b/locations/central-square/img/day/n/postoffice.png new file mode 100644 index 0000000..0381f56 Binary files /dev/null and b/locations/central-square/img/day/n/postoffice.png differ diff --git a/locations/central-square/img/day/n/shop.png b/locations/central-square/img/day/n/shop.png new file mode 100644 index 0000000..ddd1849 Binary files /dev/null and b/locations/central-square/img/day/n/shop.png differ diff --git a/locations/central-square/img/day/n/signleft.png b/locations/central-square/img/day/n/signleft.png new file mode 100644 index 0000000..c4a0075 Binary files /dev/null and b/locations/central-square/img/day/n/signleft.png differ diff --git a/locations/central-square/img/day/n/signright.png b/locations/central-square/img/day/n/signright.png new file mode 100644 index 0000000..b195064 Binary files /dev/null and b/locations/central-square/img/day/n/signright.png differ diff --git a/locations/central-square/img/day/n/statue.png b/locations/central-square/img/day/n/statue.png new file mode 100644 index 0000000..ea9646f Binary files /dev/null and b/locations/central-square/img/day/n/statue.png differ diff --git a/locations/central-square/img/day/n/vesna_cap_statue.png b/locations/central-square/img/day/n/vesna_cap_statue.png new file mode 100644 index 0000000..fdcddaf Binary files /dev/null and b/locations/central-square/img/day/n/vesna_cap_statue.png differ diff --git a/locations/central-square/img/day/n/zima_berezka.png b/locations/central-square/img/day/n/zima_berezka.png new file mode 100644 index 0000000..0f8f640 Binary files /dev/null and b/locations/central-square/img/day/n/zima_berezka.png differ diff --git a/locations/central-square/img/day/n/zima_cap_arr_left.png b/locations/central-square/img/day/n/zima_cap_arr_left.png new file mode 100644 index 0000000..86e3fe6 Binary files /dev/null and b/locations/central-square/img/day/n/zima_cap_arr_left.png differ diff --git a/locations/central-square/img/day/n/zima_cap_arr_right.png b/locations/central-square/img/day/n/zima_cap_arr_right.png new file mode 100644 index 0000000..b71490a Binary files /dev/null and b/locations/central-square/img/day/n/zima_cap_arr_right.png differ diff --git a/locations/central-square/img/day/n/zima_cap_arr_top.png b/locations/central-square/img/day/n/zima_cap_arr_top.png new file mode 100644 index 0000000..c883fa8 Binary files /dev/null and b/locations/central-square/img/day/n/zima_cap_arr_top.png differ diff --git a/locations/central-square/img/day/n/zima_cap_cp_day.jpg b/locations/central-square/img/day/n/zima_cap_cp_day.jpg new file mode 100644 index 0000000..894990c Binary files /dev/null and b/locations/central-square/img/day/n/zima_cap_cp_day.jpg differ diff --git a/locations/central-square/img/day/n/zima_club.png b/locations/central-square/img/day/n/zima_club.png new file mode 100644 index 0000000..ecfeb99 Binary files /dev/null and b/locations/central-square/img/day/n/zima_club.png differ diff --git a/locations/central-square/img/day/n/zima_kom.png b/locations/central-square/img/day/n/zima_kom.png new file mode 100644 index 0000000..dfcb1a2 Binary files /dev/null and b/locations/central-square/img/day/n/zima_kom.png differ diff --git a/locations/central-square/img/day/n/zima_loto.png b/locations/central-square/img/day/n/zima_loto.png new file mode 100644 index 0000000..18f2f5f Binary files /dev/null and b/locations/central-square/img/day/n/zima_loto.png differ diff --git a/locations/central-square/img/day/n/zima_po4ta.png b/locations/central-square/img/day/n/zima_po4ta.png new file mode 100644 index 0000000..5bd7f4d Binary files /dev/null and b/locations/central-square/img/day/n/zima_po4ta.png differ diff --git a/locations/central-square/img/day/n/zima_rem.png b/locations/central-square/img/day/n/zima_rem.png new file mode 100644 index 0000000..c31bd30 Binary files /dev/null and b/locations/central-square/img/day/n/zima_rem.png differ diff --git a/locations/central-square/img/day/n/zima_shop.png b/locations/central-square/img/day/n/zima_shop.png new file mode 100644 index 0000000..e9627df Binary files /dev/null and b/locations/central-square/img/day/n/zima_shop.png differ diff --git a/locations/central-square/img/day/n/zima_stella.png b/locations/central-square/img/day/n/zima_stella.png new file mode 100644 index 0000000..a40c770 Binary files /dev/null and b/locations/central-square/img/day/n/zima_stella.png differ diff --git a/locations/central-square/img/night/background.jpg b/locations/central-square/img/night/background.jpg new file mode 100644 index 0000000..ac365a8 Binary files /dev/null and b/locations/central-square/img/night/background.jpg differ diff --git a/locations/central-square/img/night/h/bigshop.png b/locations/central-square/img/night/h/bigshop.png new file mode 100644 index 0000000..a08a937 Binary files /dev/null and b/locations/central-square/img/night/h/bigshop.png differ diff --git a/locations/central-square/img/night/h/blacksmith.png b/locations/central-square/img/night/h/blacksmith.png new file mode 100644 index 0000000..a12860a Binary files /dev/null and b/locations/central-square/img/night/h/blacksmith.png differ diff --git a/locations/central-square/img/night/h/castle.png b/locations/central-square/img/night/h/castle.png new file mode 100644 index 0000000..599dfc3 Binary files /dev/null and b/locations/central-square/img/night/h/castle.png differ diff --git a/locations/central-square/img/night/h/fleamarket.png b/locations/central-square/img/night/h/fleamarket.png new file mode 100644 index 0000000..ac83a69 Binary files /dev/null and b/locations/central-square/img/night/h/fleamarket.png differ diff --git a/locations/central-square/img/night/h/loto.png b/locations/central-square/img/night/h/loto.png new file mode 100644 index 0000000..2382f35 Binary files /dev/null and b/locations/central-square/img/night/h/loto.png differ diff --git a/locations/central-square/img/night/h/postoffice.png b/locations/central-square/img/night/h/postoffice.png new file mode 100644 index 0000000..309eb30 Binary files /dev/null and b/locations/central-square/img/night/h/postoffice.png differ diff --git a/locations/central-square/img/night/h/shop.png b/locations/central-square/img/night/h/shop.png new file mode 100644 index 0000000..efed212 Binary files /dev/null and b/locations/central-square/img/night/h/shop.png differ diff --git a/locations/central-square/img/night/h/signleft.png b/locations/central-square/img/night/h/signleft.png new file mode 100644 index 0000000..9156fad Binary files /dev/null and b/locations/central-square/img/night/h/signleft.png differ diff --git a/locations/central-square/img/night/h/signright.png b/locations/central-square/img/night/h/signright.png new file mode 100644 index 0000000..20ec0b5 Binary files /dev/null and b/locations/central-square/img/night/h/signright.png differ diff --git a/locations/central-square/img/night/h/statue.png b/locations/central-square/img/night/h/statue.png new file mode 100644 index 0000000..659f63a Binary files /dev/null and b/locations/central-square/img/night/h/statue.png differ diff --git a/locations/central-square/img/night/n/bigshop.png b/locations/central-square/img/night/n/bigshop.png new file mode 100644 index 0000000..7defd48 Binary files /dev/null and b/locations/central-square/img/night/n/bigshop.png differ diff --git a/locations/central-square/img/night/n/blacksmith.png b/locations/central-square/img/night/n/blacksmith.png new file mode 100644 index 0000000..82d3c7b Binary files /dev/null and b/locations/central-square/img/night/n/blacksmith.png differ diff --git a/locations/central-square/img/night/n/castle.png b/locations/central-square/img/night/n/castle.png new file mode 100644 index 0000000..02dc15b Binary files /dev/null and b/locations/central-square/img/night/n/castle.png differ diff --git a/locations/central-square/img/night/n/fleamarket.png b/locations/central-square/img/night/n/fleamarket.png new file mode 100644 index 0000000..54540a3 Binary files /dev/null and b/locations/central-square/img/night/n/fleamarket.png differ diff --git a/locations/central-square/img/night/n/loto.png b/locations/central-square/img/night/n/loto.png new file mode 100644 index 0000000..9a872f3 Binary files /dev/null and b/locations/central-square/img/night/n/loto.png differ diff --git a/locations/central-square/img/night/n/postoffice.png b/locations/central-square/img/night/n/postoffice.png new file mode 100644 index 0000000..fd6452e Binary files /dev/null and b/locations/central-square/img/night/n/postoffice.png differ diff --git a/locations/central-square/img/night/n/shop.png b/locations/central-square/img/night/n/shop.png new file mode 100644 index 0000000..34c46c0 Binary files /dev/null and b/locations/central-square/img/night/n/shop.png differ diff --git a/locations/central-square/img/night/n/signleft.png b/locations/central-square/img/night/n/signleft.png new file mode 100644 index 0000000..a5da284 Binary files /dev/null and b/locations/central-square/img/night/n/signleft.png differ diff --git a/locations/central-square/img/night/n/signright.png b/locations/central-square/img/night/n/signright.png new file mode 100644 index 0000000..f77e2be Binary files /dev/null and b/locations/central-square/img/night/n/signright.png differ diff --git a/locations/central-square/img/night/n/statue.png b/locations/central-square/img/night/n/statue.png new file mode 100644 index 0000000..889caa0 Binary files /dev/null and b/locations/central-square/img/night/n/statue.png differ diff --git a/locations/central-square/img/night/n/vesna_cap_statue.png b/locations/central-square/img/night/n/vesna_cap_statue.png new file mode 100644 index 0000000..fdcddaf Binary files /dev/null and b/locations/central-square/img/night/n/vesna_cap_statue.png differ diff --git a/locations/central-square/img/night/n/zima_berezka.png b/locations/central-square/img/night/n/zima_berezka.png new file mode 100644 index 0000000..0f8f640 Binary files /dev/null and b/locations/central-square/img/night/n/zima_berezka.png differ diff --git a/locations/central-square/img/night/n/zima_cap_arr_left.png b/locations/central-square/img/night/n/zima_cap_arr_left.png new file mode 100644 index 0000000..86e3fe6 Binary files /dev/null and b/locations/central-square/img/night/n/zima_cap_arr_left.png differ diff --git a/locations/central-square/img/night/n/zima_cap_arr_right.png b/locations/central-square/img/night/n/zima_cap_arr_right.png new file mode 100644 index 0000000..b71490a Binary files /dev/null and b/locations/central-square/img/night/n/zima_cap_arr_right.png differ diff --git a/locations/central-square/img/night/n/zima_cap_arr_top.png b/locations/central-square/img/night/n/zima_cap_arr_top.png new file mode 100644 index 0000000..c883fa8 Binary files /dev/null and b/locations/central-square/img/night/n/zima_cap_arr_top.png differ diff --git a/locations/central-square/img/night/n/zima_cap_cp_day.jpg b/locations/central-square/img/night/n/zima_cap_cp_day.jpg new file mode 100644 index 0000000..894990c Binary files /dev/null and b/locations/central-square/img/night/n/zima_cap_cp_day.jpg differ diff --git a/locations/central-square/img/night/n/zima_club.png b/locations/central-square/img/night/n/zima_club.png new file mode 100644 index 0000000..ecfeb99 Binary files /dev/null and b/locations/central-square/img/night/n/zima_club.png differ diff --git a/locations/central-square/img/night/n/zima_kom.png b/locations/central-square/img/night/n/zima_kom.png new file mode 100644 index 0000000..dfcb1a2 Binary files /dev/null and b/locations/central-square/img/night/n/zima_kom.png differ diff --git a/locations/central-square/img/night/n/zima_loto.png b/locations/central-square/img/night/n/zima_loto.png new file mode 100644 index 0000000..18f2f5f Binary files /dev/null and b/locations/central-square/img/night/n/zima_loto.png differ diff --git a/locations/central-square/img/night/n/zima_po4ta.png b/locations/central-square/img/night/n/zima_po4ta.png new file mode 100644 index 0000000..5bd7f4d Binary files /dev/null and b/locations/central-square/img/night/n/zima_po4ta.png differ diff --git a/locations/central-square/img/night/n/zima_rem.png b/locations/central-square/img/night/n/zima_rem.png new file mode 100644 index 0000000..c31bd30 Binary files /dev/null and b/locations/central-square/img/night/n/zima_rem.png differ diff --git a/locations/central-square/img/night/n/zima_shop.png b/locations/central-square/img/night/n/zima_shop.png new file mode 100644 index 0000000..e9627df Binary files /dev/null and b/locations/central-square/img/night/n/zima_shop.png differ diff --git a/locations/central-square/img/night/n/zima_stella.png b/locations/central-square/img/night/n/zima_stella.png new file mode 100644 index 0000000..a40c770 Binary files /dev/null and b/locations/central-square/img/night/n/zima_stella.png differ diff --git a/locations/central-square/map.php b/locations/central-square/map.php new file mode 100644 index 0000000..9521f40 --- /dev/null +++ b/locations/central-square/map.php @@ -0,0 +1,41 @@ +getTimeOfDay(); +?> + + + Capital City :: Замковая Площадь + + + + + + + + + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +

    Внимание! Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, только взломщикам для кражи вашего героя.

    Администрация. +
    +
    +
    +
    + \ No newline at end of file diff --git a/locations/central-square2/img/day/background.png b/locations/central-square2/img/day/background.png new file mode 100644 index 0000000..3819b5a Binary files /dev/null and b/locations/central-square2/img/day/background.png differ diff --git a/locations/central-square2/img/day/h/bigshop.png b/locations/central-square2/img/day/h/bigshop.png new file mode 100644 index 0000000..9d048b0 Binary files /dev/null and b/locations/central-square2/img/day/h/bigshop.png differ diff --git a/locations/central-square2/img/day/h/blacksmith.png b/locations/central-square2/img/day/h/blacksmith.png new file mode 100644 index 0000000..ede704f Binary files /dev/null and b/locations/central-square2/img/day/h/blacksmith.png differ diff --git a/locations/central-square2/img/day/h/castle.png b/locations/central-square2/img/day/h/castle.png new file mode 100644 index 0000000..a880cb9 Binary files /dev/null and b/locations/central-square2/img/day/h/castle.png differ diff --git a/locations/central-square2/img/day/h/fleamarket.png b/locations/central-square2/img/day/h/fleamarket.png new file mode 100644 index 0000000..15018a8 Binary files /dev/null and b/locations/central-square2/img/day/h/fleamarket.png differ diff --git a/locations/central-square2/img/day/h/loto.png b/locations/central-square2/img/day/h/loto.png new file mode 100644 index 0000000..b8c645c Binary files /dev/null and b/locations/central-square2/img/day/h/loto.png differ diff --git a/locations/central-square2/img/day/h/postoffice.png b/locations/central-square2/img/day/h/postoffice.png new file mode 100644 index 0000000..87fb223 Binary files /dev/null and b/locations/central-square2/img/day/h/postoffice.png differ diff --git a/locations/central-square2/img/day/h/shop.png b/locations/central-square2/img/day/h/shop.png new file mode 100644 index 0000000..502543d Binary files /dev/null and b/locations/central-square2/img/day/h/shop.png differ diff --git a/locations/central-square2/img/day/h/signleft.png b/locations/central-square2/img/day/h/signleft.png new file mode 100644 index 0000000..5422406 Binary files /dev/null and b/locations/central-square2/img/day/h/signleft.png differ diff --git a/locations/central-square2/img/day/h/signright.png b/locations/central-square2/img/day/h/signright.png new file mode 100644 index 0000000..6da14e3 Binary files /dev/null and b/locations/central-square2/img/day/h/signright.png differ diff --git a/locations/central-square2/img/day/h/statue.png b/locations/central-square2/img/day/h/statue.png new file mode 100644 index 0000000..e83c2b5 Binary files /dev/null and b/locations/central-square2/img/day/h/statue.png differ diff --git a/locations/central-square2/img/day/n/bigshop.png b/locations/central-square2/img/day/n/bigshop.png new file mode 100644 index 0000000..08aa8ce Binary files /dev/null and b/locations/central-square2/img/day/n/bigshop.png differ diff --git a/locations/central-square2/img/day/n/blacksmith.png b/locations/central-square2/img/day/n/blacksmith.png new file mode 100644 index 0000000..b91d9dd Binary files /dev/null and b/locations/central-square2/img/day/n/blacksmith.png differ diff --git a/locations/central-square2/img/day/n/castle.png b/locations/central-square2/img/day/n/castle.png new file mode 100644 index 0000000..1af491a Binary files /dev/null and b/locations/central-square2/img/day/n/castle.png differ diff --git a/locations/central-square2/img/day/n/fleamarket.png b/locations/central-square2/img/day/n/fleamarket.png new file mode 100644 index 0000000..6ab663d Binary files /dev/null and b/locations/central-square2/img/day/n/fleamarket.png differ diff --git a/locations/central-square2/img/day/n/loto.png b/locations/central-square2/img/day/n/loto.png new file mode 100644 index 0000000..5cc0be5 Binary files /dev/null and b/locations/central-square2/img/day/n/loto.png differ diff --git a/locations/central-square2/img/day/n/postoffice.png b/locations/central-square2/img/day/n/postoffice.png new file mode 100644 index 0000000..0381f56 Binary files /dev/null and b/locations/central-square2/img/day/n/postoffice.png differ diff --git a/locations/central-square2/img/day/n/shop.png b/locations/central-square2/img/day/n/shop.png new file mode 100644 index 0000000..ddd1849 Binary files /dev/null and b/locations/central-square2/img/day/n/shop.png differ diff --git a/locations/central-square2/img/day/n/signleft.png b/locations/central-square2/img/day/n/signleft.png new file mode 100644 index 0000000..c4a0075 Binary files /dev/null and b/locations/central-square2/img/day/n/signleft.png differ diff --git a/locations/central-square2/img/day/n/signright.png b/locations/central-square2/img/day/n/signright.png new file mode 100644 index 0000000..b195064 Binary files /dev/null and b/locations/central-square2/img/day/n/signright.png differ diff --git a/locations/central-square2/img/day/n/statue.png b/locations/central-square2/img/day/n/statue.png new file mode 100644 index 0000000..ea9646f Binary files /dev/null and b/locations/central-square2/img/day/n/statue.png differ diff --git a/locations/central-square2/img/night/background.png b/locations/central-square2/img/night/background.png new file mode 100644 index 0000000..b69522f Binary files /dev/null and b/locations/central-square2/img/night/background.png differ diff --git a/locations/central-square2/img/night/h/bigshop.png b/locations/central-square2/img/night/h/bigshop.png new file mode 100644 index 0000000..a08a937 Binary files /dev/null and b/locations/central-square2/img/night/h/bigshop.png differ diff --git a/locations/central-square2/img/night/h/blacksmith.png b/locations/central-square2/img/night/h/blacksmith.png new file mode 100644 index 0000000..a12860a Binary files /dev/null and b/locations/central-square2/img/night/h/blacksmith.png differ diff --git a/locations/central-square2/img/night/h/castle.png b/locations/central-square2/img/night/h/castle.png new file mode 100644 index 0000000..599dfc3 Binary files /dev/null and b/locations/central-square2/img/night/h/castle.png differ diff --git a/locations/central-square2/img/night/h/fleamarket.png b/locations/central-square2/img/night/h/fleamarket.png new file mode 100644 index 0000000..ac83a69 Binary files /dev/null and b/locations/central-square2/img/night/h/fleamarket.png differ diff --git a/locations/central-square2/img/night/h/loto.png b/locations/central-square2/img/night/h/loto.png new file mode 100644 index 0000000..2382f35 Binary files /dev/null and b/locations/central-square2/img/night/h/loto.png differ diff --git a/locations/central-square2/img/night/h/postoffice.png b/locations/central-square2/img/night/h/postoffice.png new file mode 100644 index 0000000..309eb30 Binary files /dev/null and b/locations/central-square2/img/night/h/postoffice.png differ diff --git a/locations/central-square2/img/night/h/shop.png b/locations/central-square2/img/night/h/shop.png new file mode 100644 index 0000000..efed212 Binary files /dev/null and b/locations/central-square2/img/night/h/shop.png differ diff --git a/locations/central-square2/img/night/h/signleft.png b/locations/central-square2/img/night/h/signleft.png new file mode 100644 index 0000000..9156fad Binary files /dev/null and b/locations/central-square2/img/night/h/signleft.png differ diff --git a/locations/central-square2/img/night/h/signright.png b/locations/central-square2/img/night/h/signright.png new file mode 100644 index 0000000..20ec0b5 Binary files /dev/null and b/locations/central-square2/img/night/h/signright.png differ diff --git a/locations/central-square2/img/night/h/statue.png b/locations/central-square2/img/night/h/statue.png new file mode 100644 index 0000000..659f63a Binary files /dev/null and b/locations/central-square2/img/night/h/statue.png differ diff --git a/locations/central-square2/img/night/n/bigshop.png b/locations/central-square2/img/night/n/bigshop.png new file mode 100644 index 0000000..7defd48 Binary files /dev/null and b/locations/central-square2/img/night/n/bigshop.png differ diff --git a/locations/central-square2/img/night/n/blacksmith.png b/locations/central-square2/img/night/n/blacksmith.png new file mode 100644 index 0000000..82d3c7b Binary files /dev/null and b/locations/central-square2/img/night/n/blacksmith.png differ diff --git a/locations/central-square2/img/night/n/castle.png b/locations/central-square2/img/night/n/castle.png new file mode 100644 index 0000000..02dc15b Binary files /dev/null and b/locations/central-square2/img/night/n/castle.png differ diff --git a/locations/central-square2/img/night/n/fleamarket.png b/locations/central-square2/img/night/n/fleamarket.png new file mode 100644 index 0000000..54540a3 Binary files /dev/null and b/locations/central-square2/img/night/n/fleamarket.png differ diff --git a/locations/central-square2/img/night/n/loto.png b/locations/central-square2/img/night/n/loto.png new file mode 100644 index 0000000..9a872f3 Binary files /dev/null and b/locations/central-square2/img/night/n/loto.png differ diff --git a/locations/central-square2/img/night/n/postoffice.png b/locations/central-square2/img/night/n/postoffice.png new file mode 100644 index 0000000..fd6452e Binary files /dev/null and b/locations/central-square2/img/night/n/postoffice.png differ diff --git a/locations/central-square2/img/night/n/shop.png b/locations/central-square2/img/night/n/shop.png new file mode 100644 index 0000000..34c46c0 Binary files /dev/null and b/locations/central-square2/img/night/n/shop.png differ diff --git a/locations/central-square2/img/night/n/signleft.png b/locations/central-square2/img/night/n/signleft.png new file mode 100644 index 0000000..a5da284 Binary files /dev/null and b/locations/central-square2/img/night/n/signleft.png differ diff --git a/locations/central-square2/img/night/n/signright.png b/locations/central-square2/img/night/n/signright.png new file mode 100644 index 0000000..f77e2be Binary files /dev/null and b/locations/central-square2/img/night/n/signright.png differ diff --git a/locations/central-square2/img/night/n/statue.png b/locations/central-square2/img/night/n/statue.png new file mode 100644 index 0000000..889caa0 Binary files /dev/null and b/locations/central-square2/img/night/n/statue.png differ diff --git a/locations/central-square2/map.php b/locations/central-square2/map.php new file mode 100644 index 0000000..3bec945 --- /dev/null +++ b/locations/central-square2/map.php @@ -0,0 +1,40 @@ +getTimeOfDay(); +?> + + + Capital City :: Замковая Площадь + + + + + + + + + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    Внимание! Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, только взломщикам для кражи вашего героя.

    Администрация. +
    +
    +
    +
    + \ No newline at end of file diff --git a/locations/parkovaja/img/day/background.png b/locations/parkovaja/img/day/background.png new file mode 100644 index 0000000..00c50ad Binary files /dev/null and b/locations/parkovaja/img/day/background.png differ diff --git a/locations/parkovaja/img/day/h/darkforest.png b/locations/parkovaja/img/day/h/darkforest.png new file mode 100644 index 0000000..3f7e4bc Binary files /dev/null and b/locations/parkovaja/img/day/h/darkforest.png differ diff --git a/locations/parkovaja/img/day/h/fonar_left.png b/locations/parkovaja/img/day/h/fonar_left.png new file mode 100644 index 0000000..f09dbbe Binary files /dev/null and b/locations/parkovaja/img/day/h/fonar_left.png differ diff --git a/locations/parkovaja/img/day/h/fonar_right.png b/locations/parkovaja/img/day/h/fonar_right.png new file mode 100644 index 0000000..09b597e Binary files /dev/null and b/locations/parkovaja/img/day/h/fonar_right.png differ diff --git a/locations/parkovaja/img/day/h/horse.png b/locations/parkovaja/img/day/h/horse.png new file mode 100644 index 0000000..e063152 Binary files /dev/null and b/locations/parkovaja/img/day/h/horse.png differ diff --git a/locations/parkovaja/img/day/h/inn.png b/locations/parkovaja/img/day/h/inn.png new file mode 100644 index 0000000..295574e Binary files /dev/null and b/locations/parkovaja/img/day/h/inn.png differ diff --git a/locations/parkovaja/img/day/h/portal.png b/locations/parkovaja/img/day/h/portal.png new file mode 100644 index 0000000..dbefd6b Binary files /dev/null and b/locations/parkovaja/img/day/h/portal.png differ diff --git a/locations/parkovaja/img/day/h/repository.png b/locations/parkovaja/img/day/h/repository.png new file mode 100644 index 0000000..71e4be3 Binary files /dev/null and b/locations/parkovaja/img/day/h/repository.png differ diff --git a/locations/parkovaja/img/day/h/vesna_cap_fontan2.png b/locations/parkovaja/img/day/h/vesna_cap_fontan2.png new file mode 100644 index 0000000..7a13f2f Binary files /dev/null and b/locations/parkovaja/img/day/h/vesna_cap_fontan2.png differ diff --git a/locations/parkovaja/img/day/n/darkforest.png b/locations/parkovaja/img/day/n/darkforest.png new file mode 100644 index 0000000..935615a Binary files /dev/null and b/locations/parkovaja/img/day/n/darkforest.png differ diff --git a/locations/parkovaja/img/day/n/fonar_left.png b/locations/parkovaja/img/day/n/fonar_left.png new file mode 100644 index 0000000..1314149 Binary files /dev/null and b/locations/parkovaja/img/day/n/fonar_left.png differ diff --git a/locations/parkovaja/img/day/n/fonar_right.png b/locations/parkovaja/img/day/n/fonar_right.png new file mode 100644 index 0000000..d099953 Binary files /dev/null and b/locations/parkovaja/img/day/n/fonar_right.png differ diff --git a/locations/parkovaja/img/day/n/horse.png b/locations/parkovaja/img/day/n/horse.png new file mode 100644 index 0000000..52e0d02 Binary files /dev/null and b/locations/parkovaja/img/day/n/horse.png differ diff --git a/locations/parkovaja/img/day/n/inn.png b/locations/parkovaja/img/day/n/inn.png new file mode 100644 index 0000000..4852756 Binary files /dev/null and b/locations/parkovaja/img/day/n/inn.png differ diff --git a/locations/parkovaja/img/day/n/portal.png b/locations/parkovaja/img/day/n/portal.png new file mode 100644 index 0000000..7fcaf67 Binary files /dev/null and b/locations/parkovaja/img/day/n/portal.png differ diff --git a/locations/parkovaja/img/day/n/repository.png b/locations/parkovaja/img/day/n/repository.png new file mode 100644 index 0000000..bad000e Binary files /dev/null and b/locations/parkovaja/img/day/n/repository.png differ diff --git a/locations/parkovaja/img/day/n/vesna_cap_fontan2.png b/locations/parkovaja/img/day/n/vesna_cap_fontan2.png new file mode 100644 index 0000000..7a13f2f Binary files /dev/null and b/locations/parkovaja/img/day/n/vesna_cap_fontan2.png differ diff --git a/locations/parkovaja/img/night/background.png b/locations/parkovaja/img/night/background.png new file mode 100644 index 0000000..a85544c Binary files /dev/null and b/locations/parkovaja/img/night/background.png differ diff --git a/locations/parkovaja/img/night/h/darkforest.png b/locations/parkovaja/img/night/h/darkforest.png new file mode 100644 index 0000000..1d87733 Binary files /dev/null and b/locations/parkovaja/img/night/h/darkforest.png differ diff --git a/locations/parkovaja/img/night/h/fonar_left.png b/locations/parkovaja/img/night/h/fonar_left.png new file mode 100644 index 0000000..43fd3be Binary files /dev/null and b/locations/parkovaja/img/night/h/fonar_left.png differ diff --git a/locations/parkovaja/img/night/h/fonar_right.png b/locations/parkovaja/img/night/h/fonar_right.png new file mode 100644 index 0000000..1198684 Binary files /dev/null and b/locations/parkovaja/img/night/h/fonar_right.png differ diff --git a/locations/parkovaja/img/night/h/horse.png b/locations/parkovaja/img/night/h/horse.png new file mode 100644 index 0000000..4823652 Binary files /dev/null and b/locations/parkovaja/img/night/h/horse.png differ diff --git a/locations/parkovaja/img/night/h/inn.png b/locations/parkovaja/img/night/h/inn.png new file mode 100644 index 0000000..d7c38a8 Binary files /dev/null and b/locations/parkovaja/img/night/h/inn.png differ diff --git a/locations/parkovaja/img/night/h/portal.png b/locations/parkovaja/img/night/h/portal.png new file mode 100644 index 0000000..662eaf6 Binary files /dev/null and b/locations/parkovaja/img/night/h/portal.png differ diff --git a/locations/parkovaja/img/night/h/repository.png b/locations/parkovaja/img/night/h/repository.png new file mode 100644 index 0000000..287530e Binary files /dev/null and b/locations/parkovaja/img/night/h/repository.png differ diff --git a/locations/parkovaja/img/night/h/vesna_cap_fontan2.png b/locations/parkovaja/img/night/h/vesna_cap_fontan2.png new file mode 100644 index 0000000..7a13f2f Binary files /dev/null and b/locations/parkovaja/img/night/h/vesna_cap_fontan2.png differ diff --git a/locations/parkovaja/img/night/n/darkforest.png b/locations/parkovaja/img/night/n/darkforest.png new file mode 100644 index 0000000..724d131 Binary files /dev/null and b/locations/parkovaja/img/night/n/darkforest.png differ diff --git a/locations/parkovaja/img/night/n/fonar_left.png b/locations/parkovaja/img/night/n/fonar_left.png new file mode 100644 index 0000000..a6d62ac Binary files /dev/null and b/locations/parkovaja/img/night/n/fonar_left.png differ diff --git a/locations/parkovaja/img/night/n/fonar_right.png b/locations/parkovaja/img/night/n/fonar_right.png new file mode 100644 index 0000000..c96455d Binary files /dev/null and b/locations/parkovaja/img/night/n/fonar_right.png differ diff --git a/locations/parkovaja/img/night/n/horse.png b/locations/parkovaja/img/night/n/horse.png new file mode 100644 index 0000000..6d63b76 Binary files /dev/null and b/locations/parkovaja/img/night/n/horse.png differ diff --git a/locations/parkovaja/img/night/n/inn.png b/locations/parkovaja/img/night/n/inn.png new file mode 100644 index 0000000..a62de0a Binary files /dev/null and b/locations/parkovaja/img/night/n/inn.png differ diff --git a/locations/parkovaja/img/night/n/portal.png b/locations/parkovaja/img/night/n/portal.png new file mode 100644 index 0000000..d61401a Binary files /dev/null and b/locations/parkovaja/img/night/n/portal.png differ diff --git a/locations/parkovaja/img/night/n/repository.png b/locations/parkovaja/img/night/n/repository.png new file mode 100644 index 0000000..d4aa826 Binary files /dev/null and b/locations/parkovaja/img/night/n/repository.png differ diff --git a/locations/parkovaja/img/night/n/vesna_cap_fontan2.png b/locations/parkovaja/img/night/n/vesna_cap_fontan2.png new file mode 100644 index 0000000..eaadff6 Binary files /dev/null and b/locations/parkovaja/img/night/n/vesna_cap_fontan2.png differ diff --git a/locations/parkovaja/map.php b/locations/parkovaja/map.php new file mode 100644 index 0000000..808c668 --- /dev/null +++ b/locations/parkovaja/map.php @@ -0,0 +1,38 @@ +getTimeOfDay(); +?> + + Capital City :: Парковая Улица + + + + + + + + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    Внимание! Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, только взломщикам для кражи вашего героя.

    Администрация. +
    +
    +
    + \ No newline at end of file diff --git a/locations/strashilkina/img/day/background.jpg b/locations/strashilkina/img/day/background.jpg new file mode 100644 index 0000000..a587594 Binary files /dev/null and b/locations/strashilkina/img/day/background.jpg differ diff --git a/locations/strashilkina/img/day/background.png b/locations/strashilkina/img/day/background.png new file mode 100644 index 0000000..15b2614 Binary files /dev/null and b/locations/strashilkina/img/day/background.png differ diff --git a/locations/strashilkina/img/day/h/bank.png b/locations/strashilkina/img/day/h/bank.png new file mode 100644 index 0000000..bde4e68 Binary files /dev/null and b/locations/strashilkina/img/day/h/bank.png differ diff --git a/locations/strashilkina/img/day/h/casino.png b/locations/strashilkina/img/day/h/casino.png new file mode 100644 index 0000000..92b4dbf Binary files /dev/null and b/locations/strashilkina/img/day/h/casino.png differ diff --git a/locations/strashilkina/img/day/h/deathtower.png b/locations/strashilkina/img/day/h/deathtower.png new file mode 100644 index 0000000..425c3d3 Binary files /dev/null and b/locations/strashilkina/img/day/h/deathtower.png differ diff --git a/locations/strashilkina/img/day/h/flowershop.png b/locations/strashilkina/img/day/h/flowershop.png new file mode 100644 index 0000000..fd3b2c6 Binary files /dev/null and b/locations/strashilkina/img/day/h/flowershop.png differ diff --git a/locations/strashilkina/img/day/h/register.png b/locations/strashilkina/img/day/h/register.png new file mode 100644 index 0000000..22b6c70 Binary files /dev/null and b/locations/strashilkina/img/day/h/register.png differ diff --git a/locations/strashilkina/img/day/h/signleft.png b/locations/strashilkina/img/day/h/signleft.png new file mode 100644 index 0000000..5a0118f Binary files /dev/null and b/locations/strashilkina/img/day/h/signleft.png differ diff --git a/locations/strashilkina/img/day/h/signright.png b/locations/strashilkina/img/day/h/signright.png new file mode 100644 index 0000000..aeea15b Binary files /dev/null and b/locations/strashilkina/img/day/h/signright.png differ diff --git a/locations/strashilkina/img/day/n/bank.png b/locations/strashilkina/img/day/n/bank.png new file mode 100644 index 0000000..9362923 Binary files /dev/null and b/locations/strashilkina/img/day/n/bank.png differ diff --git a/locations/strashilkina/img/day/n/casino.png b/locations/strashilkina/img/day/n/casino.png new file mode 100644 index 0000000..0801ac0 Binary files /dev/null and b/locations/strashilkina/img/day/n/casino.png differ diff --git a/locations/strashilkina/img/day/n/deathtower.png b/locations/strashilkina/img/day/n/deathtower.png new file mode 100644 index 0000000..71f875c Binary files /dev/null and b/locations/strashilkina/img/day/n/deathtower.png differ diff --git a/locations/strashilkina/img/day/n/flowershop.png b/locations/strashilkina/img/day/n/flowershop.png new file mode 100644 index 0000000..ece2c8e Binary files /dev/null and b/locations/strashilkina/img/day/n/flowershop.png differ diff --git a/locations/strashilkina/img/day/n/register.png b/locations/strashilkina/img/day/n/register.png new file mode 100644 index 0000000..cb66009 Binary files /dev/null and b/locations/strashilkina/img/day/n/register.png differ diff --git a/locations/strashilkina/img/day/n/signleft.png b/locations/strashilkina/img/day/n/signleft.png new file mode 100644 index 0000000..caaa70a Binary files /dev/null and b/locations/strashilkina/img/day/n/signleft.png differ diff --git a/locations/strashilkina/img/day/n/signright.png b/locations/strashilkina/img/day/n/signright.png new file mode 100644 index 0000000..c385062 Binary files /dev/null and b/locations/strashilkina/img/day/n/signright.png differ diff --git a/locations/strashilkina/img/day/n/zima_cap_arr_left.png b/locations/strashilkina/img/day/n/zima_cap_arr_left.png new file mode 100644 index 0000000..86e3fe6 Binary files /dev/null and b/locations/strashilkina/img/day/n/zima_cap_arr_left.png differ diff --git a/locations/strashilkina/img/day/n/zima_cap_arr_right.png b/locations/strashilkina/img/day/n/zima_cap_arr_right.png new file mode 100644 index 0000000..b71490a Binary files /dev/null and b/locations/strashilkina/img/day/n/zima_cap_arr_right.png differ diff --git a/locations/strashilkina/img/day/n/zima_cap_bank.png b/locations/strashilkina/img/day/n/zima_cap_bank.png new file mode 100644 index 0000000..2cd1a3e Binary files /dev/null and b/locations/strashilkina/img/day/n/zima_cap_bank.png differ diff --git a/locations/strashilkina/img/day/n/zima_cap_flowershop.png b/locations/strashilkina/img/day/n/zima_cap_flowershop.png new file mode 100644 index 0000000..c451da3 Binary files /dev/null and b/locations/strashilkina/img/day/n/zima_cap_flowershop.png differ diff --git a/locations/strashilkina/img/day/n/zima_cap_registratura.png b/locations/strashilkina/img/day/n/zima_cap_registratura.png new file mode 100644 index 0000000..46f0913 Binary files /dev/null and b/locations/strashilkina/img/day/n/zima_cap_registratura.png differ diff --git a/locations/strashilkina/img/day/n/zima_cap_strash_day.jpg b/locations/strashilkina/img/day/n/zima_cap_strash_day.jpg new file mode 100644 index 0000000..a587594 Binary files /dev/null and b/locations/strashilkina/img/day/n/zima_cap_strash_day.jpg differ diff --git a/locations/strashilkina/img/day/n/zima_cap_tower.png b/locations/strashilkina/img/day/n/zima_cap_tower.png new file mode 100644 index 0000000..64c8bd4 Binary files /dev/null and b/locations/strashilkina/img/day/n/zima_cap_tower.png differ diff --git a/locations/strashilkina/img/day/n/zima_cap_tree.png b/locations/strashilkina/img/day/n/zima_cap_tree.png new file mode 100644 index 0000000..ad6dd51 Binary files /dev/null and b/locations/strashilkina/img/day/n/zima_cap_tree.png differ diff --git a/locations/strashilkina/img/night/background.jpg b/locations/strashilkina/img/night/background.jpg new file mode 100644 index 0000000..0564181 Binary files /dev/null and b/locations/strashilkina/img/night/background.jpg differ diff --git a/locations/strashilkina/img/night/background.png b/locations/strashilkina/img/night/background.png new file mode 100644 index 0000000..dea9cbb Binary files /dev/null and b/locations/strashilkina/img/night/background.png differ diff --git a/locations/strashilkina/img/night/h/bank.png b/locations/strashilkina/img/night/h/bank.png new file mode 100644 index 0000000..22573d7 Binary files /dev/null and b/locations/strashilkina/img/night/h/bank.png differ diff --git a/locations/strashilkina/img/night/h/casino.png b/locations/strashilkina/img/night/h/casino.png new file mode 100644 index 0000000..766963d Binary files /dev/null and b/locations/strashilkina/img/night/h/casino.png differ diff --git a/locations/strashilkina/img/night/h/deathtower.png b/locations/strashilkina/img/night/h/deathtower.png new file mode 100644 index 0000000..066fc3a Binary files /dev/null and b/locations/strashilkina/img/night/h/deathtower.png differ diff --git a/locations/strashilkina/img/night/h/flowershop.png b/locations/strashilkina/img/night/h/flowershop.png new file mode 100644 index 0000000..00514d8 Binary files /dev/null and b/locations/strashilkina/img/night/h/flowershop.png differ diff --git a/locations/strashilkina/img/night/h/register.png b/locations/strashilkina/img/night/h/register.png new file mode 100644 index 0000000..2b22581 Binary files /dev/null and b/locations/strashilkina/img/night/h/register.png differ diff --git a/locations/strashilkina/img/night/h/signleft.png b/locations/strashilkina/img/night/h/signleft.png new file mode 100644 index 0000000..b440bc7 Binary files /dev/null and b/locations/strashilkina/img/night/h/signleft.png differ diff --git a/locations/strashilkina/img/night/h/signright.png b/locations/strashilkina/img/night/h/signright.png new file mode 100644 index 0000000..0433a6a Binary files /dev/null and b/locations/strashilkina/img/night/h/signright.png differ diff --git a/locations/strashilkina/img/night/n/bank.png b/locations/strashilkina/img/night/n/bank.png new file mode 100644 index 0000000..45c762f Binary files /dev/null and b/locations/strashilkina/img/night/n/bank.png differ diff --git a/locations/strashilkina/img/night/n/casino.png b/locations/strashilkina/img/night/n/casino.png new file mode 100644 index 0000000..ccf77d2 Binary files /dev/null and b/locations/strashilkina/img/night/n/casino.png differ diff --git a/locations/strashilkina/img/night/n/deathtower.png b/locations/strashilkina/img/night/n/deathtower.png new file mode 100644 index 0000000..db97715 Binary files /dev/null and b/locations/strashilkina/img/night/n/deathtower.png differ diff --git a/locations/strashilkina/img/night/n/flowershop.png b/locations/strashilkina/img/night/n/flowershop.png new file mode 100644 index 0000000..3e3103f Binary files /dev/null and b/locations/strashilkina/img/night/n/flowershop.png differ diff --git a/locations/strashilkina/img/night/n/register.png b/locations/strashilkina/img/night/n/register.png new file mode 100644 index 0000000..bde3738 Binary files /dev/null and b/locations/strashilkina/img/night/n/register.png differ diff --git a/locations/strashilkina/img/night/n/signleft.png b/locations/strashilkina/img/night/n/signleft.png new file mode 100644 index 0000000..f2ead1c Binary files /dev/null and b/locations/strashilkina/img/night/n/signleft.png differ diff --git a/locations/strashilkina/img/night/n/signright.png b/locations/strashilkina/img/night/n/signright.png new file mode 100644 index 0000000..acb982a Binary files /dev/null and b/locations/strashilkina/img/night/n/signright.png differ diff --git a/locations/strashilkina/img/night/n/zima_cap_arr_left.png b/locations/strashilkina/img/night/n/zima_cap_arr_left.png new file mode 100644 index 0000000..86e3fe6 Binary files /dev/null and b/locations/strashilkina/img/night/n/zima_cap_arr_left.png differ diff --git a/locations/strashilkina/img/night/n/zima_cap_arr_right.png b/locations/strashilkina/img/night/n/zima_cap_arr_right.png new file mode 100644 index 0000000..b71490a Binary files /dev/null and b/locations/strashilkina/img/night/n/zima_cap_arr_right.png differ diff --git a/locations/strashilkina/img/night/n/zima_cap_bank.png b/locations/strashilkina/img/night/n/zima_cap_bank.png new file mode 100644 index 0000000..2cd1a3e Binary files /dev/null and b/locations/strashilkina/img/night/n/zima_cap_bank.png differ diff --git a/locations/strashilkina/img/night/n/zima_cap_flowershop.png b/locations/strashilkina/img/night/n/zima_cap_flowershop.png new file mode 100644 index 0000000..c451da3 Binary files /dev/null and b/locations/strashilkina/img/night/n/zima_cap_flowershop.png differ diff --git a/locations/strashilkina/img/night/n/zima_cap_registratura.png b/locations/strashilkina/img/night/n/zima_cap_registratura.png new file mode 100644 index 0000000..46f0913 Binary files /dev/null and b/locations/strashilkina/img/night/n/zima_cap_registratura.png differ diff --git a/locations/strashilkina/img/night/n/zima_cap_strash_day.jpg b/locations/strashilkina/img/night/n/zima_cap_strash_day.jpg new file mode 100644 index 0000000..a587594 Binary files /dev/null and b/locations/strashilkina/img/night/n/zima_cap_strash_day.jpg differ diff --git a/locations/strashilkina/img/night/n/zima_cap_tower.png b/locations/strashilkina/img/night/n/zima_cap_tower.png new file mode 100644 index 0000000..64c8bd4 Binary files /dev/null and b/locations/strashilkina/img/night/n/zima_cap_tower.png differ diff --git a/locations/strashilkina/img/night/n/zima_cap_tree.png b/locations/strashilkina/img/night/n/zima_cap_tree.png new file mode 100644 index 0000000..ad6dd51 Binary files /dev/null and b/locations/strashilkina/img/night/n/zima_cap_tree.png differ diff --git a/locations/strashilkina/map.php b/locations/strashilkina/map.php new file mode 100644 index 0000000..3e560d1 --- /dev/null +++ b/locations/strashilkina/map.php @@ -0,0 +1,38 @@ +getTimeOfDay(); +?> + + Capital City :: Страшилкина Улица + + + + + + + + + +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +

    Внимание! Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, только взломщикам для кражи вашего героя.

    Администрация. +
    +
    +
    + \ No newline at end of file diff --git a/locations/strashilkina2/img/day/background.png b/locations/strashilkina2/img/day/background.png new file mode 100644 index 0000000..15b2614 Binary files /dev/null and b/locations/strashilkina2/img/day/background.png differ diff --git a/locations/strashilkina2/img/day/h/bank.png b/locations/strashilkina2/img/day/h/bank.png new file mode 100644 index 0000000..bde4e68 Binary files /dev/null and b/locations/strashilkina2/img/day/h/bank.png differ diff --git a/locations/strashilkina2/img/day/h/casino.png b/locations/strashilkina2/img/day/h/casino.png new file mode 100644 index 0000000..92b4dbf Binary files /dev/null and b/locations/strashilkina2/img/day/h/casino.png differ diff --git a/locations/strashilkina2/img/day/h/deathtower.png b/locations/strashilkina2/img/day/h/deathtower.png new file mode 100644 index 0000000..425c3d3 Binary files /dev/null and b/locations/strashilkina2/img/day/h/deathtower.png differ diff --git a/locations/strashilkina2/img/day/h/flowershop.png b/locations/strashilkina2/img/day/h/flowershop.png new file mode 100644 index 0000000..fd3b2c6 Binary files /dev/null and b/locations/strashilkina2/img/day/h/flowershop.png differ diff --git a/locations/strashilkina2/img/day/h/register.png b/locations/strashilkina2/img/day/h/register.png new file mode 100644 index 0000000..22b6c70 Binary files /dev/null and b/locations/strashilkina2/img/day/h/register.png differ diff --git a/locations/strashilkina2/img/day/h/signleft.png b/locations/strashilkina2/img/day/h/signleft.png new file mode 100644 index 0000000..5a0118f Binary files /dev/null and b/locations/strashilkina2/img/day/h/signleft.png differ diff --git a/locations/strashilkina2/img/day/h/signright.png b/locations/strashilkina2/img/day/h/signright.png new file mode 100644 index 0000000..aeea15b Binary files /dev/null and b/locations/strashilkina2/img/day/h/signright.png differ diff --git a/locations/strashilkina2/img/day/n/bank.png b/locations/strashilkina2/img/day/n/bank.png new file mode 100644 index 0000000..9362923 Binary files /dev/null and b/locations/strashilkina2/img/day/n/bank.png differ diff --git a/locations/strashilkina2/img/day/n/casino.png b/locations/strashilkina2/img/day/n/casino.png new file mode 100644 index 0000000..0801ac0 Binary files /dev/null and b/locations/strashilkina2/img/day/n/casino.png differ diff --git a/locations/strashilkina2/img/day/n/deathtower.png b/locations/strashilkina2/img/day/n/deathtower.png new file mode 100644 index 0000000..71f875c Binary files /dev/null and b/locations/strashilkina2/img/day/n/deathtower.png differ diff --git a/locations/strashilkina2/img/day/n/flowershop.png b/locations/strashilkina2/img/day/n/flowershop.png new file mode 100644 index 0000000..ece2c8e Binary files /dev/null and b/locations/strashilkina2/img/day/n/flowershop.png differ diff --git a/locations/strashilkina2/img/day/n/register.png b/locations/strashilkina2/img/day/n/register.png new file mode 100644 index 0000000..cb66009 Binary files /dev/null and b/locations/strashilkina2/img/day/n/register.png differ diff --git a/locations/strashilkina2/img/day/n/signleft.png b/locations/strashilkina2/img/day/n/signleft.png new file mode 100644 index 0000000..caaa70a Binary files /dev/null and b/locations/strashilkina2/img/day/n/signleft.png differ diff --git a/locations/strashilkina2/img/day/n/signright.png b/locations/strashilkina2/img/day/n/signright.png new file mode 100644 index 0000000..c385062 Binary files /dev/null and b/locations/strashilkina2/img/day/n/signright.png differ diff --git a/locations/strashilkina2/img/night/background.png b/locations/strashilkina2/img/night/background.png new file mode 100644 index 0000000..dea9cbb Binary files /dev/null and b/locations/strashilkina2/img/night/background.png differ diff --git a/locations/strashilkina2/img/night/h/bank.png b/locations/strashilkina2/img/night/h/bank.png new file mode 100644 index 0000000..22573d7 Binary files /dev/null and b/locations/strashilkina2/img/night/h/bank.png differ diff --git a/locations/strashilkina2/img/night/h/casino.png b/locations/strashilkina2/img/night/h/casino.png new file mode 100644 index 0000000..766963d Binary files /dev/null and b/locations/strashilkina2/img/night/h/casino.png differ diff --git a/locations/strashilkina2/img/night/h/deathtower.png b/locations/strashilkina2/img/night/h/deathtower.png new file mode 100644 index 0000000..066fc3a Binary files /dev/null and b/locations/strashilkina2/img/night/h/deathtower.png differ diff --git a/locations/strashilkina2/img/night/h/flowershop.png b/locations/strashilkina2/img/night/h/flowershop.png new file mode 100644 index 0000000..00514d8 Binary files /dev/null and b/locations/strashilkina2/img/night/h/flowershop.png differ diff --git a/locations/strashilkina2/img/night/h/register.png b/locations/strashilkina2/img/night/h/register.png new file mode 100644 index 0000000..2b22581 Binary files /dev/null and b/locations/strashilkina2/img/night/h/register.png differ diff --git a/locations/strashilkina2/img/night/h/signleft.png b/locations/strashilkina2/img/night/h/signleft.png new file mode 100644 index 0000000..b440bc7 Binary files /dev/null and b/locations/strashilkina2/img/night/h/signleft.png differ diff --git a/locations/strashilkina2/img/night/h/signright.png b/locations/strashilkina2/img/night/h/signright.png new file mode 100644 index 0000000..0433a6a Binary files /dev/null and b/locations/strashilkina2/img/night/h/signright.png differ diff --git a/locations/strashilkina2/img/night/n/bank.png b/locations/strashilkina2/img/night/n/bank.png new file mode 100644 index 0000000..45c762f Binary files /dev/null and b/locations/strashilkina2/img/night/n/bank.png differ diff --git a/locations/strashilkina2/img/night/n/casino.png b/locations/strashilkina2/img/night/n/casino.png new file mode 100644 index 0000000..ccf77d2 Binary files /dev/null and b/locations/strashilkina2/img/night/n/casino.png differ diff --git a/locations/strashilkina2/img/night/n/deathtower.png b/locations/strashilkina2/img/night/n/deathtower.png new file mode 100644 index 0000000..db97715 Binary files /dev/null and b/locations/strashilkina2/img/night/n/deathtower.png differ diff --git a/locations/strashilkina2/img/night/n/flowershop.png b/locations/strashilkina2/img/night/n/flowershop.png new file mode 100644 index 0000000..3e3103f Binary files /dev/null and b/locations/strashilkina2/img/night/n/flowershop.png differ diff --git a/locations/strashilkina2/img/night/n/register.png b/locations/strashilkina2/img/night/n/register.png new file mode 100644 index 0000000..bde3738 Binary files /dev/null and b/locations/strashilkina2/img/night/n/register.png differ diff --git a/locations/strashilkina2/img/night/n/signleft.png b/locations/strashilkina2/img/night/n/signleft.png new file mode 100644 index 0000000..f2ead1c Binary files /dev/null and b/locations/strashilkina2/img/night/n/signleft.png differ diff --git a/locations/strashilkina2/img/night/n/signright.png b/locations/strashilkina2/img/night/n/signright.png new file mode 100644 index 0000000..acb982a Binary files /dev/null and b/locations/strashilkina2/img/night/n/signright.png differ diff --git a/locations/strashilkina2/map.php b/locations/strashilkina2/map.php new file mode 100644 index 0000000..e17c6cb --- /dev/null +++ b/locations/strashilkina2/map.php @@ -0,0 +1,37 @@ +getTimeOfDay(); +?> + + Capital City :: Страшилкина Улица + + + + + + + + + +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    Внимание! Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, только взломщикам для кражи вашего героя.

    Администрация. +
    +
    +
    + \ No newline at end of file diff --git a/locations/style.css b/locations/style.css new file mode 100644 index 0000000..e59fd3f --- /dev/null +++ b/locations/style.css @@ -0,0 +1,62 @@ +.city-location-container { + width: 950px; + margin: 0 auto; +} + +.city-location-container .fireworks { + position: absolute; + left: 4px; + right: 0px; + z-index: 1500; + top: 5px; +} + +.city-location-container .fireworks #frvrks { + position:relative; +} + +.city-location-container .location-map { + position:relative; + cursor: pointer; + width: 950px; +} + +.city-location-container .location { + position: absolute; + z-index: 90; +} + +.city-location-container .location img:not([title]), +.city-location-container .location img[title=""] { + /*border: dashed 1px yellow;*/ +} + +.city-location-container .location img:not([onclick]) { + border: dashed 1px red; +} + +.city-location-container .location img:hover { + -webkit-filter: drop-shadow(0px 0px 2px rgba(255,255,255,1)); + filter: url(#drop-shadow); + -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#FFF')"; + filter: drop-shadow(0px 0px 2px rgba(255,255,255,1)); +} + +.city-location-container .footnote { + border-top: solid 1px #aaa; +} + +.city-location-container .footnote * { + font-size: 80%; +} + +.error-msg { + background-color: #f2dede; + border: solid 1px red; + text-align: center; + color: red; + font-weight: bold; + padding: .5em; + margin-bottom: .5em; + border-radius: 3px; +} diff --git a/logs.php b/logs.php new file mode 100644 index 0000000..256242a --- /dev/null +++ b/logs.php @@ -0,0 +1,141 @@ + + + + + + + + +Бойцовский Клуб Возрождение : Лог боя #<?=$_REQUEST['log'];?> + + +

    Лог поединка

    +
    + + +
    "; + + if ($data['type'] == 10) { + $rr = "\"Кровавый (поединок в башне смерти)"; + } elseif($data['blood'] && ($data['type'] == 5 || $data['type'] == 4)) { + $rr = "\"кулачный\"Кровавый (кровавый кулачный поединок)"; + } elseif($data['blood'] && ($data['type'] == 2 || $data['type'] == 3 || $data['type'] == 6)) { + $rr = "\"Кровавый (кровавый поединок)"; + } elseif($data['type'] == 5 || $data['type'] == 4) { + $rr = "\"кулачный (кулачный поединок)"; + } elseif($data['type'] == 3 || $data['type'] == 2) { + $rr = "\"групповой (групповой поединок)"; + } elseif($data['type'] == 1) { + $rr = "\"физический (физический поединок)"; + } + + $t1 = explode(";", $data['t1']); + $t2 = explode(";", $data['t2']); + + if($data['win'] == 3) { + $battle = unserialize($data['teams']); + + foreach($t1 as $k => $v) { + if(in_array($v, array_keys($battle))) { + ++$i; + if($i > 1) { $cc = ', '; } else { $cc = ''; } + $ffs .= $cc.nick4($v, "B1"); + } + } + + $i = 0; + + $ffs .= ' против '; + foreach ($t2 as $k => $v) { + if(in_array($v, array_keys($battle))) { + ++$i; + if($i > 1) { $cc = ', '; } else { $cc = ''; } + $ffs .= $cc.nick4($v, "B2"); + } + } + $i = 0; + } + + $countall = count($t1)+count($t2); + if($countall > 70) { + echo "

    Эпическая битва!

    "; + } elseif($countall > 50) { + echo "

    Эпохальная битва!

    "; + } elseif($countall > 30) { + echo "

    Великая битва!

    "; + } + + echo "
    Тип боя: "; + echo $rr; +?> +  +Страницы: +", $log[0]); + $all = count($log)-1; + $pgs = $all/50; + for ($i=0;$i<=$pgs;++$i) { + if ($_GET['page']==$i) { + echo ' ',($i+1),' '; + } + else { + echo ' ',($i+1),' '; + } + } +//print_r($log); +?>
    "; + } +?> +
    +".$ffs."
    "; +?> +
    + + + + +
    +  +Страницы: +',($i+1),' '; + } + else { + echo ' ',($i+1),' '; + } + } +echo "

    "; +} +else { echo "
    "; +echo "Статистика временно недоступна ...
    "; +#include('stat_battle.php'); +echo "
    "; +} +?> + + + + \ No newline at end of file diff --git a/lotery.php b/lotery.php new file mode 100644 index 0000000..322bd67 --- /dev/null +++ b/lotery.php @@ -0,0 +1,537 @@ + + + + + + + + +
    + + + + +

    Лотерея Stalkers 5 из 30

    + +
    +mess = 'Не хватает денег
    '; + } else { + mysql_query("update users set money = money - 1 where id = '".mysql_real_escape_string($user['id'])."';"); + mysql_query("insert into inventory (`owner`,`name`,`maxdur`,`img`,`letter`,`type`) values ('".mysql_real_escape_string($user['id'])."','Лотерейный билет','1','loto.gif','".mysql_real_escape_string($txt)."','210');"); + } + } + + function pay_for_5($summ){ + // оплата если 5 из 5 угадано + global $user; + mysql_query("update users set money = money + '".mysql_real_escape_string($summ)."' where id = '".mysql_real_escape_string($user['id'])."';"); + } + + function pay_for_4($summ){ + // оплата если 4 из 5 угадано + global $user; + mysql_query("update users set money = money + '".mysql_real_escape_string($summ)."' where id = '".mysql_real_escape_string($user['id'])."';"); + } + + function pay_for_3($summ){ + // оплата если 3 из 5 угадано + global $user; + mysql_query("update users set money = money + '".mysql_real_escape_string($summ)."' where id = '".mysql_real_escape_string($user['id'])."';"); + } + + function pay_for_klan($summ){ + // 10% клану + // хуй + global $user; + mysql_query("update users set money = money + '".mysql_real_escape_string($summ)."' where id = 7014;"); + } + + function buy_ticket($selected_str){ + $selected_str = substr($selected_str,0,strlen($selected_str)-1); + $selected_array = explode(',',$selected_str); + sort($selected_array); + + $id_user = $this->get_this_user_id(); + + if (sizeof($selected_array) > 5){ + $sql_ins_cheat = "insert into lottery_cheaters(`id_user`,`values`,`date`) values('".mysql_real_escape_string($id_user)."','".mysql_real_escape_string($selected_str)."','".date('Y-m-d H:i:s')."')"; + mysql_query($sql_ins_cheat); + } + + for($i=0;$i<5;$i++){ + $values .= $selected_array[$i].','; + } + + $sql = "select id from lottery where end='0'"; + $res = mysql_query($sql); + while($result_lottery = mysql_fetch_assoc($res)){ + $id_lottery = $result_lottery['id']; + } + + $this->buy("Тираж № ".$id_lottery."
    Выбраные номера: ".$values); + + if($this->mess != null) { + return "".$this->mess.""; + } + echo "Билет куплен.
    "; + + $date = date('Y-m-d H:i:s'); + + + + $sql = "insert into lottery_log(`id_user`,`values`,`date`,`id_lottery`) values('".mysql_real_escape_string($id_user)."','".mysql_real_escape_string($values)."','".mysql_real_escape_string($date)."','".mysql_real_escape_string($id_lottery)."')"; + $res = mysql_query($sql); + + $jackpot = 0; + $sql = "select * from `lottery` where end=0 limit 1"; + $res = mysql_query($sql); + while($result = mysql_fetch_assoc($res)){ + $id = $result['id']; + $jackpot = $result['jackpot']; + $fond = $result['fond']; + } + + $fond += 0.7; + + $sql = "update lottery set fond='".mysql_real_escape_string($fond)."' where id='".mysql_real_escape_string($id)."' "; + mysql_query($sql); + } + + function get_result(){ + $array = range(1,30); + shuffle($array); + + for($i=0;$i<5;$i++){ + $result[] = $array[$i]; + } + + return $result; + } + + function get_count($win_combination,$user_combination){ + $user_array = explode(',',$user_combination); + + $count = 0; + + for($i=0;$i<5;$i++){ + if (strpos(",".$win_combination,",".$user_array[$i].",") !== FALSE){ + $count ++; //echo substr($win_combination,$z,1)." "; + } + } + + return $count; + } + + function get_win_combination(){ + $win_combination = $this->get_result(); + + for($i=0;$i<5;$i++){ + $win_combination_str .= $win_combination[$i].','; + } + + + $sql = "select id,jackpot,fond from lottery where end='0'"; + $res = mysql_query($sql); + while($result = mysql_fetch_assoc($res)){ + $id_lottery = $result['id']; + $jackpot = $result['jackpot']; + $fond = $result['fond']; + } + + $sql = "insert into lottery_win_combination(`values`,`date`,`id_lottery`) values('".mysql_real_escape_string($win_combination_str)."','".date('Y-m-d H:i:s')."','".mysql_real_escape_string($id_lottery)."') "; + mysql_query($sql); + + $people_5 = 0; + $people_4 = 0; + $people_3 = 0; + + $sql = "select * from lottery_log where id_lottery='".mysql_real_escape_string($id_lottery)."' "; + $res = mysql_query($sql); + while($result = mysql_fetch_assoc($res)){ + $count = $this->get_count($win_combination_str,$result['values']); + + if ($count == 5){ + $people_5 ++; + } + if ($count == 4){ + $people_4 ++; + } + if ($count == 3){ + $people_3 ++; + } + } + + $klan_pay = $fond*0.05; + $this->pay_for_klan($klan_pay); + $fond = $fond - $klan_pay; + + if ($people_5 > 0 ){ + $summ_5 = ($jackpot+($fond*0.3))/$people_5; + $jackpot = 0; + } + else{ + $summ_5 = ($fond*0.3); + $jackpot += $fond*0.3; + } + if ($people_4 > 0){ + $summ_4 = ($fond*0.3)/$people_4; + } + else{ + $summ_4 = ($fond*0.3); + $jackpot += $fond*0.3; + } + if ($people_3 > 0){ + $summ_3 = ($fond*0.4)/$people_3; + } else{ + $summ_3 = $fond*0.4; + $jackpot += $fond*0.4; + } + + + $sql_upd = "update lottery set end='1' , fond='".mysql_real_escape_string($fond)."' , summ_5='".mysql_real_escape_string($summ_5)."' , summ_4='".mysql_real_escape_string($summ_4)."' , summ_3='".mysql_real_escape_string($summ_3)."' , count_5='".mysql_real_escape_string($people_5)."' , count_4='".mysql_real_escape_string($people_4)."' , count_3='".mysql_real_escape_string($people_3)."' where id='".mysql_real_escape_string($id_lottery)."'"; + mysql_query($sql_upd); + + $sql_ins = "insert into lottery(`date`,`jackpot`,`fond`,`end`,`summ_5`,`summ_4`,`summ_3`,`count_5`,`count_4`,`count_3`) values('".date('Y-m-d H:i:s',strtotime("+1 week"))."','".mysql_real_escape_string($jackpot)."','0','0','0','0','0','0','0','0')"; + mysql_query($sql_ins); + } + + function check($id_lottery){ + $id_user = $this->get_this_user_id(); + + //$sql_comb = "select values from lottery_win_combination where id_lottery='".$id_lottery."'"; + + if ($id_lottery < 1) { + $sql_comb = "select * from lottery where end=1 order by id DESC LIMIT 1;"; + $res_comb = mysql_fetch_array(mysql_query($sql_comb)); + $id_lottery = $res_comb['id']; + } + + $sql_comb = "select * from lottery_win_combination where id_lottery='".mysql_real_escape_string($id_lottery)."'"; + + $res_comb = mysql_query($sql_comb); + + + while($result_comb = mysql_fetch_assoc($res_comb)){ + $win_combination_str = $result_comb['values']; + } + + $sql_summ = "select * from lottery where id='".mysql_real_escape_string($id_lottery)."'"; + $res_summ = mysql_query($sql_summ); + while($result_summ = mysql_fetch_assoc($res_summ)){ + $summ_5 = $result_summ['summ_5']; + $summ_4 = $result_summ['summ_4']; + $summ_3 = $result_summ['summ_3']; + $jackpot = $result_summ['jackpot']; + } + + $sql = "select * from lottery_log where id_lottery='".mysql_real_escape_string($id_lottery)."' and id_user='".mysql_real_escape_string($id_user)."' and send='0' "; + $res = mysql_query($sql); + while($result = mysql_fetch_assoc($res)){ + $count = $this->get_count($win_combination_str,$result['values']); + + if ($count == 5){ + $this->pay_for_5($jackpot); + echo "Билет № ".$result['id']." выиграл ".$jackpot." кр. Выбраные номера: ".$result['values']."
    "; + $zz = 1; + } + if ($count == 4){ + $this->pay_for_4($summ_4); + echo "Билет № ".$result['id']." выиграл ".$summ_4." кр. Выбраные номера: ".$result['values']."
    "; + $zz = 1; + } + if ($count == 3){ + $this->pay_for_3($summ_3); + echo "Билет № ".$result['id']." выиграл ".$summ_3." кр. Выбраные номера: ".$result['values']."
    "; + $zz = 1; + } + + $sql_upd = "update lottery_log set send='1' where id='".mysql_real_escape_string($result['id'])."'"; + mysql_query($sql_upd); + } + if (!$zz) { + echo "Нет выигрышных билетов
    "; + } + } + + function view_results($id_lottery = 0){ + $str = ''; + if ($id_lottery > 0) { + $sql = "select * from lottery where id='".$id_lottery."' and end=1;"; + } + else { + $sql = "select * from lottery where end=1 order by id DESC LIMIT 1;"; + } + $res = mysql_query($sql); + + while ($result = mysql_fetch_assoc($res)){ + $id_lottery = $result['id']; + $date = $result['date']; + $jackpot = $result['jackpot']; + $fond = $result['fond']; + $summ_5 = $result['summ_5']; + $summ_4 = $result['summ_4']; + $summ_3 = $result['summ_3']; + $count_5 = $result['count_5']; + $count_4 = $result['count_4']; + $count_3 = $result['count_3']; + } + + $summ = $summ_5 + $summ_4 + $summ_3; + $count = $count_5 + $count_4 + $count_3; + + $sql_combination = "select * from lottery_win_combination where id_lottery='".mysql_real_escape_string($id_lottery)."'"; + $res_combination = mysql_query($sql_combination); + while($result_combination = mysql_fetch_assoc($res_combination)){ + $combination = $result_combination['values']; + } + + $sql = "select * from lottery_log where id_lottery='".mysql_real_escape_string($id_lottery)."'"; + $res = mysql_query($sql); + $allbillets = mysql_num_rows($res); + + $str .= '

      Итоги тиража номер

    '; + if (!$date) { + return $str.'Лотерея не проводилась.'; + } + $str .= 'Тираж номер: '.$id_lottery.'
    + Дата: '.$date.'
    + Призовой фонд: '.$fond.' кр.
    + Джекпот: '.$jackpot.' кр.
    + Всего было продано билетов: '.$allbillets.'
    + Выпала комбинация : '.substr($combination,0,strlen($combination)-1).'
    + + + + + + + + + + + + + + + + + + + + + +
    Угадано номеровВыиграно билетовСумма выиграша
    5'.$count_5.' + '; + + if ($count_5 == 0){ + $str .= 'Не выиграл ни один билет
    '.$summ_5.' кр. идут в джекпот'; + } + else{ + $str .= $summ_5.' кр.'; + } + + $str .= ' +
    4'.$count_4.' + '; + + if ($count_4 == 0){ + $str .= 'Не выиграл ни один билет
    '.$summ_4.' кр. идут в джекпот'; + } + else{ + $str .= $summ_4.' кр.'; + } + + $str .= ' +
    3'.$count_3.' + '; + + if ($count_3 == 0){ + $str .= 'Не выиграл ни один билет
    '.$summ_3.' кр. идут в джекпот'; + } + else{ + $str .= $summ_3.' кр.'; + } + + $str .= ' +
    + +
    + Всего победителей: '.$count.'
    + Всего выиграно: '.$summ.' кр.
    + '; + return $str; + } + + function view_buy_ticket(){ + $str = ''; + + $str .= ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    12345
    678910
    1112131415
    1617181920
    2122232425
    2627282930
    + + Выбраные Вами номера : + '; + + return $str; + } +} + +$Lottery = new Lottery(); + +if ($_GET['startlotery'] == '648gjn6f6734h798h2q398fgsdhnit734whf784whfy7w8jfyw8hg745g3y75h7f23785yh38259') { + $Lottery->get_win_combination(); +} + +if ($_POST['value']) { + echo $Lottery->buy_ticket($_POST['value']); +} + + + $sql = "select * from lottery where end=0 order by id DESC LIMIT 1;"; + + $res = mysql_query($sql); + + while ($result = mysql_fetch_assoc($res)){ + $id_lottery = $result['id']; + $date = $result['date']; + $jackpot = $result['jackpot']; + $fond = $result['fond']; + $summ_5 = $result['summ_5']; + $summ_4 = $result['summ_4']; + $summ_3 = $result['summ_3']; + $count_5 = $result['count_5']; + $count_4 = $result['count_4']; + $count_3 = $result['count_3']; + } + +?> +Следующий тираж состоится
    +Призовой фонд: кр.
    +Джекпот: кр.
    +Стоимость лотерейного билета: 1.00 кр.

    + + +
    + +
    +check($_POST['tiraj']); +} + +echo $Lottery->view_results($_POST['tiraj']); +//echo $Lottery->check(8); + //echo $Lottery->get_count("1,2,3,4,5,","1,2,3,4,5") + +?> diff --git a/luka_shop.php b/luka_shop.php new file mode 100644 index 0000000..cdaaad6 --- /dev/null +++ b/luka_shop.php @@ -0,0 +1,327 @@ +location.href='canalizaciya.php'"; +exit; + } + + $d = mysql_fetch_array(mysql_query("SELECT sum(`massa`) FROM `inventory` WHERE `owner` = '{$_SESSION['uid']}' AND `dressed` = 0 AND `setsale` = 0 ; ")); + if ($user['room'] != 404) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + + + + + if (($_GET['set'] OR $_POST['set'])) { + if ($_GET['set']) { $set = $_GET['set']; } + if ($_POST['set']) { $set = $_POST['set']; } + if (!$_POST['count']) { $_POST['count'] =1; } +$vear = mysql_query("SELECT maxdur,id FROM `inventory` WHERE `type`='200' and `name`='Жетон' and owner='".$user["id"]."'"); + while($vls = mysql_fetch_array($vear)) +{ + $zetons += $vls['maxdur']; + $vls_id = $vls['id']; +} + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `luka_shop` WHERE `id` = '{$set}' LIMIT 1;")); + if (($dress['massa']*$_POST['count']+$d[0]) > (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + } + elseif(($zetons >= ($dress['zeton']*$_POST['count'])) && ($dress['count'] >= $_POST['count'])) { + + for($k=1;$k<=$_POST['count'];$k++) { + if(mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`, `present`, `massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok` + ) + VALUES + ('{$dress['id']}','{$_SESSION['uid']}','{$dress['name']}','{$dress['type']}', 'Подземка', {$dress['massa']},0.00,'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}' + ) ;")) + { + $good = 1; + } + else { + $good = 0; + } + } + if ($good) { + mysql_query("UPDATE `luka_shop` SET `count`=`count`-{$_POST['count']} WHERE `id` = '{$set}' LIMIT 1;"); + echo "Вы купили {$_POST['count']} шт. \"{$dress['name']}\"."; + $vsego = $zetons-$_POST['count']*$dress['zeton']; +if($vsego<='0'){ +mysql_query("DELETE FROM `inventory` WHERE `type`='200' and `name`='Жетон' and owner='".$user["id"]."'"); +}else{ +$mas = $vsego*0.1; +mysql_query("UPDATE `inventory` set `maxdur` = '$vsego',massa='$mas' WHERE `type`='200' and `name`='Жетон' and owner='".$user["id"]."'");} + + + $zetons -= $_POST['count']*$dress['zeton']; + $limit=$_POST['count']; + $invdb = mysql_query("SELECT `id` FROM `inventory` WHERE `name` = '".$dress['name']."' ORDER by `id` DESC LIMIT ".$limit." ;" ); + //$invdb = mysql_query("SELECT id FROM `inventory` WHERE `name` = '".{$dress['name']}."' ORDER by `id` DESC LIMIT $limit ;" ); + if ($limit == 1) { + $dressinv = mysql_fetch_array($invdb); + $dressid = "cap".$dressinv['id']; + $dresscount=" "; + } + else { + $dressid=""; + while ($dressinv = mysql_fetch_array($invdb)) { + $dressid .= "cap".$dressinv['id'].","; + } + $dresscount="(x".$_POST['count'].") "; + } + $allcost=$_POST['count']*$dress['zeton']; + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['koll']."] за ".$allcost." жетон. ',1,'".time()."');"); + } + } + else { + echo "Недостаточно жетонов или нет вещей в наличии."; + } + } + +?> + + + + + + + + + + + + + +

    Магазин Луки

    + +
    + + + + + + + + + +
    + + + + + + +
    Отдел "" + +
    + + 0 AND `razdel` = '{$_GET['otdel']}'"); + while($row = mysql_fetch_array($data)) { + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } + +?> +
    "; + ?> +
    купить + Купить несколько штук
    +
    + +
    + +
    Масса всех ваших вещей: +
    Масса ваших вещей: /
    + У вас в наличии: Жетон.
    +
    + + +
    Отделы магазина
    +Оружие: кастеты,ножи
    +     топоры
    +     дубины,булавы
    +     мечи
    +     луки и арбалеты
    +Одежда: сапоги
    +     перчатки
    +     легкая броня
    +     тяжелая броня
    +     шлемы
    +Щиты
    +Ювелирные товары: серьги
    +     ожерелья
    +     кольца
    +Заклинания: нейтральные
    +     боевые и защитные
    +Амуниция
    +     Эликсиры
    +*/ +?> +Амуниция
    +     Малые эликсиры
    +     Средние эликсиры
    +     Большие эликсиры
    + + +
    +
    + + + diff --git a/magic/8cure30.php b/magic/8cure30.php new file mode 100644 index 0000000..50b06eb --- /dev/null +++ b/magic/8cure30.php @@ -0,0 +1,60 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '10' ;")); + if ($user['intel'] >= 3) { + $int=$magic['chanse'] + ($user['intel'] - 3)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+30) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+30; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +30 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 30 НР персонажу ".$us['login']."!"; + $bet=1; + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/al_neut_power.php b/magic/al_neut_power.php new file mode 100644 index 0000000..887bc5c --- /dev/null +++ b/magic/al_neut_power.php @@ -0,0 +1,29 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '21' LIMIT 1;")); + +$int=101; + +if ($user['battle'] > 0) {echo "Не в бою...";} +elseif ($effect['time']) {echo "На персонаже уже есть заклятие Сила нейтралитета"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж в другой комнате!"; } +elseif (!$us['online']) {echo "Персонаж не в игре!";} +elseif (rand(1,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие \"Сила нейтралитета\" на "{$_POST['target']}", сроком 2 часа."); + $param_name=array("sila","lovk","inta","vinos"); + $param_name=$param_name[array_rand($param_name)]; + $param_value=rand(20,30); + $us = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`{$param_name}`,`type`) values ('".(int)$us['id']."','Сила нейтралитета',".(time()+7200).",{$param_value},21);"); + mysql_query("UPDATE `users` SET `{$param_name}`={$param_name}+{$param_value} WHERE `id`='{$us['id']}';"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие \"Сила нейтралитета\" "; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> diff --git a/magic/antedot.php b/magic/antedot.php new file mode 100644 index 0000000..9950c47 --- /dev/null +++ b/magic/antedot.php @@ -0,0 +1,27 @@ + "'.time().'" AND `vars` = "trap1" ORDER BY `time` DESC LIMIT 1')); +if ($defaultEffects) { + global $nodrink; + if (in_array($user["room"],$nodrink)) { + echo "Здесь запрещено пить эликсиры!"; + } elseif ($user['battle'] > 0) { + echo "РќРµ РІ Р±РѕСЋ..."; + } else { + mysql_query('DELETE FROM effects WHERE id = ' . $defaultEffects['id']); + echo "Р’С‹ успешно вылечены РѕС‚ СЏРґР° " . $defaultEffects['name']; + addchp ('Внимание! Р’С‹ успешно вылечены РѕС‚ СЏРґР° ' . $defaultEffects['name'] . '', '{[]}'.$user['login'].'{[]}'); + $bet=1; + } +} else if ($chaosEffects) { + if ($user['battle'] > 0) { + echo "РќРµ РІ Р±РѕСЋ..."; + } else { + mysql_query('DELETE FROM `laba_act` WHERE `id` = "'.$chaosEffects['id'].'"'); + echo "Р’С‹ успешно сняли путы"; + addchp ('Внимание! Р’С‹ успешно сняли путы', '{[]}'.$user['login'].'{[]}'); + $bet=1; + } +} else { + echo "Р’С‹ РЅРµ отравлены"; +} \ No newline at end of file diff --git a/magic/attack.php b/magic/attack.php new file mode 100644 index 0000000..8b2b49a --- /dev/null +++ b/magic/attack.php @@ -0,0 +1,179 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR ND type=12 OR type=14);")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '23' ;")); +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_status' limit 1;")); +$hm=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'haos_match' LIMIT 1;")); +$hm=unserialize($hm['value']); +$us_b=mysql_fetch_array(mysql_query("SELECT `type`,`open` FROM `battle` WHERE `id`='{$us['battle']}';")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +if ($user['intel'] >= 4) { + $int=$magic['chanse'] + ($user['intel'] - 4)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us_b['type']==3 || $us_b['type']==5) { + echo "Запрещено входить в хаотический бой!"; +} elseif ($us['battle']>0 && $us_b['open']==0) { + echo "Бой закрыт для вмешательства!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($us['align']==2.99) { + echo "Не атакуйте Администратора!"; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif ($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] ==603 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['align'] == 2.9) { + echo "Нападение на Ангела строго запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} elseif ((($us['room']==101)&&($us['battle']>0))&&(((($user['align']==3)||($user['align']==2.2)) && ($us['align']!=6 && $us['align']!=2.1)) || ((($user['align']==6)||($user['align']==2.1)) && ($us['align']!=3 && $us['align']!=2.2)))) { + echo "Не атакуйте своих союзников!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); + + header("Location:fbattle.php"); + //die(""); + } + else + { + // начинаем бой + //$bet=1; + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",$z[0]); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','".$jert['hp']."');"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','1','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','0' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}',"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location:fbattle.php"); + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/attack_t.php b/magic/attack_t.php new file mode 100644 index 0000000..d67dec6 --- /dev/null +++ b/magic/attack_t.php @@ -0,0 +1,195 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR ND type=12 OR type=14);")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '24' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +if ($user['intel'] >= 10) { + $int=$magic['chanse'] + ($user['intel'] - 10)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} +elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($us_b['type']==3 || $us_b['type']==5) { + echo "Запрещено входить в хаотический бой!"; +} elseif ($us['battle']>0 && $us_b['open']==0) { + echo "Бой закрыт для вмешательства!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($us['align']!=3) { + echo "Свет поддержит Вас только в нападении на Темного!"; +} elseif ($us['align']==2.99) { + echo "Не атакуйте Администратора!"; +} elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif ($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif ($user['align'] >1 && $user['align'] <2 && $us['align'] >1 && $us['align'] <2) { + echo "Чтите честь братьев."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['align'] == 2.9) { + echo "Нападения на Ангела строго запрещено!"; +} elseif ($us['align'] == 8.11) { + echo "Нападение на Гвардейца Света запрещено!"; +} elseif ($us['align'] == 8.21) { + echo "Нападение на Гвардейца Тьмы запрещено!"; +} elseif ($us['align'] == 8.31) { + echo "Нападение на Гвардейца Нейтралитета запрещено!"; +} elseif ($us['align'] >1 && $us['align'] <2) { + echo "Нападение на Паладина запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} elseif ($us_battle['type'] ==4 || $us_battle['type'] ==5) { + echo "Вы можете вмешаться только в физический поединок!"; +} elseif (($us['room']==101)&&($us['battle']=0)) { + echo "Не вам начинать сражение Тьмы и Света!"; +} elseif (($us['room']==101)&&($us['battle']>0) && ($user['align']!=2.1 && $user['align']!=2.2 && $user['align']!=6 && $user['align']!=3 && $user['align']!=2)) { + echo "Вы не можете вступить в противостояние Тьмы и Света!"; +} elseif ((($us['room']==101)&&($us['battle']>0))&&(((($user['align']==3)||($user['align']==2.2)) && ($us['align']!=6 && $us['align']!=2.1)) || ((($user['align']==6)||($user['align']==2.1)) && ($us['align']!=3 && $us['align']!=2.2)))) { + echo "Не атакуйте своих союзников!"; +} else { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив силу Света, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); + + header("Location:fbattle.php"); + //die(""); + } + else + { + // начинаем бой + + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",$z[0]); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','".$jert['hp']."');"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','6','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','1' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + //header("Location:fbattle.php"); + $skipper=1; + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} +?> \ No newline at end of file diff --git a/magic/attackbot.php b/magic/attackbot.php new file mode 100644 index 0000000..d97a549 --- /dev/null +++ b/magic/attackbot.php @@ -0,0 +1,85 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR ND type=12 OR type=14);")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '23' ;")); +$us_b=mysql_fetch_array(mysql_query("SELECT `type`,`open` FROM `battle` WHERE `id`='{$us['battle']}';")); + +$int=101; +$jert = mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `name` = '{$_POST['target']}' LIMIT 1;")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$jert['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us_b['type']==3 || $us_b['type']==5) { + echo "Запрещено входить в хаотический бой!"; +} elseif ($jert['battle']>0 && $us_b['open']==0) { + echo "Бой закрыт для вмешательства!"; +} elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif(in_array($jert['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($jert['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($jert['hp'] < 1) { + echo "Вы не можете напасть на погибшего!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + + + addch(" {$user['login']}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + $bet=1; + $bot=1; + + if($jert['battle'] > 0) { + + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + //addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); + + header("Location:fbattle.php"); + //die(""); + } + else + { + echo("Не судьба!"); + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/attackk.php b/magic/attackk.php new file mode 100644 index 0000000..5c57b87 --- /dev/null +++ b/magic/attackk.php @@ -0,0 +1,188 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR ND type=12 OR type=14);")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '23' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +if ($user['intel'] >= 4) { + $int=$magic['chanse'] + ($user['intel'] - 4)*3; + if ($int>=100){$int=100;} + } +else {$int=0;} + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} +elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($us_b['type']==3 || $us_b['type']==5) { + echo "Запрещено входить в хаотический бой!"; +} elseif ($us['battle']>0 && $us_b['open']==0) { + echo "Бой закрыт для вмешательства!"; +} elseif ($us['align']==2.99) { + echo "Не атакуйте Администратора!"; +} elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['align'] == 2.9) { + echo "Нападения на Ангела строго запрещено!"; +} elseif ($us['align'] == 8.11) { + echo "Нападение на Гвардейца Света запрещено!"; +} elseif ($us['align'] == 8.21) { + echo "Нападение на Гвардейца Тьмы запрещено!"; +} elseif ($us['align'] == 8.31) { + echo "Нападение на Гвардейца Нейтралитета запрещено!"; +} elseif ($us['align'] >1 && $us['align'] <2) { + echo "Нападение на Паладинов запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} elseif (($us['room']==101)&&($us['battle']=0)) { + echo "Не вам начинать сражение Тьмы и Света!"; +} elseif (($us['room']==101)&&($us['battle']>0) && ($user['align']!=2.1 && $user['align']!=2.2 && $user['align']!=6 && $user['align']!=3 && $user['align']!=2)) { + echo "Вы не можете вступить в противостояние Тьмы и Света!"; +} elseif ((($us['room']==101)&&($us['battle']>0))&&(((($user['align']==3)||($user['align']==2.2)) && ($us['align']!=6 && $us['align']!=2.1)) || ((($user['align']==6)||($user['align']==2.1)) && ($us['align']!=3 && $us['align']!=2.2)))) { + echo "Не атакуйте своих союзников!"; +} elseif (mt_rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); + + header("Location:fbattle.php"); + //die(""); + } + else + { + // начинаем бой + //$bet=1; + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",$z[0]); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','".$jert['hp']."');"); + $jert['id'] = mysql_insert_id(); + } + undressall($jert['id']); + undressall($user['id']); + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','1','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','0' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}',"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location:fbattle.php"); + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/attackk_close.php b/magic/attackk_close.php new file mode 100644 index 0000000..e140d54 --- /dev/null +++ b/magic/attackk_close.php @@ -0,0 +1,155 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR ND type=12 OR type=14);")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '23' ;")); +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_status' limit 1;")); +$hm=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'haos_match' LIMIT 1;")); +$hm=unserialize($hm['value']); +$us_b=mysql_fetch_array(mysql_query("SELECT `type`,`open` FROM `battle` WHERE `id`='{$us['battle']}';")); +$def=mysql_fetch_array(mysql_query("SELECT id FROM effects WHERE type=22 AND owner=".$us['id']." LIMIT 1;")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +$forb_battle=array(); +if($raid_t['value']>0) + $forb_battle[]=$raid_t['value']; +foreach($hm as $lv=>$num) + if($num>0) + $forb_battle[]=$num; +$int=101; + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} +elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($us['battle']>0) { + echo "Персонаж в бою!"; +} elseif ($def['id']>0) { + echo "Персонаж защищен от кулачного нападения!"; +} elseif ($us['align']==2.99) { + echo "Не атакуйте Администратора!"; +} elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['align'] == 2.9) { + echo "Нападения на Ангела строго запрещено!"; +} elseif ($us['align'] == 8.11) { + echo "Нападение на Гвардейца Света запрещено!"; +} elseif ($us['align'] == 8.21) { + echo "Нападение на Гвардейца Тьмы запрещено!"; +} elseif ($us['align'] == 8.31) { + echo "Нападение на Гвардейца Нейтралитета запрещено!"; +} elseif ($us['align'] >1 && $us['align'] <2) { + echo "Нападение на Паладина запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif (($us['room']==101)&&($us['battle']=0)) { + echo "Не вам начинать сражение Тьмы и Света!"; +} elseif (mt_rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию закрытого кулачного кровавого нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + { + // начинаем бой + //$bet=1; + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",$z[0]); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + if(rand(0,100)<80) + undressall($jert['id']); + undressall($user['id']); + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood`,`open` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','1','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','1','0' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}',"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + $outok=1; + header("Location:fbattle.php"); + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/attackk_open.php b/magic/attackk_open.php new file mode 100644 index 0000000..dc88a03 --- /dev/null +++ b/magic/attackk_open.php @@ -0,0 +1,155 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR ND type=12 OR type=14);")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '23' ;")); +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_status' limit 1;")); +$def=mysql_fetch_array(mysql_query("SELECT id FROM effects WHERE type=22 AND owner=".$us['id']." LIMIT 1;")); +$hm=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'haos_match' LIMIT 1;")); +$hm=unserialize($hm['value']); +$us_b=mysql_fetch_array(mysql_query("SELECT `type`,`open` FROM `battle` WHERE `id`='{$us['battle']}';")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + + +$forb_battle=array(); +if($raid_t['value']>0) + $forb_battle[]=$raid_t['value']; +foreach($hm as $lv=>$num) + if($num>0) + $forb_battle[]=$num; +$int=101; + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($us['battle']>0) { + echo "Персонаж в бою!"; +} elseif ($def['id']>0) { + echo "Персонаж защищен от кулачного нападения!"; +} elseif ($us['align']==2.99) { + echo "Не атакуйте Администратора!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['align'] == 2.9) { + echo "Нападения на Ангела строго запрещено!"; +} elseif ($us['align'] == 8.11) { + echo "Нападение на Гвардейца Света запрещено!"; +} elseif ($us['align'] == 8.21) { + echo "Нападение на Гвардейца Тьмы запрещено!"; +} elseif ($us['align'] == 8.31) { + echo "Нападение на Гвардейца Нейтралитета запрещено!"; +} elseif ($us['align'] >1 && $us['align'] <2) { + echo "Нападение на Паладина запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мера Города!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif (($us['room']==101)&&($us['battle']=0)) { + echo "Не вам начинать сражение Тьмы и Света!"; +} elseif (mt_rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию закрытого кулачного нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + { + // начинаем бой + //$bet=1; + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",$z[0]); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + if(rand(0,100)<80) + undressall($jert['id']); + undressall($user['id']); + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood`,`open` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','1','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','0','0' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}',"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + $outok=1; + header("Location:fbattle.php"); + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/battack.php b/magic/battack.php new file mode 100644 index 0000000..8c10424 --- /dev/null +++ b/magic/battack.php @@ -0,0 +1,197 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR ND type=12 OR type=14);")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '24' ;")); +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_status' limit 1;")); +$hm=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'haos_match' LIMIT 1;")); +$hm=unserialize($hm['value']); +$us_b=mysql_fetch_array(mysql_query("SELECT `type`,`open` FROM `battle` WHERE `id`='{$us['battle']}';")); +$forb_battle=array(); +if($raid_t['value']>0) + $forb_battle[]=$raid_t['value']; +foreach($hm as $lv=>$num) + if($num>0) + $forb_battle[]=$num; +if ($user['intel'] >= 10) { + $int=$magic['chanse'] + ($user['intel'] - 10)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} +elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($us_b['type']==3 || $us_b['type']==5) { + echo "Запрещено входить в хаотический бой!"; +} elseif ($us['battle']>0 && $us_b['open']==0) { + echo "Бой закрыт для вмешательства!"; +} elseif ($us['align']==2.99) { + echo "Не атакуйте Администратора!"; +} elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif ($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif ($user['align'] >1 && $user['align'] <2 && $us['align'] >1 && $us['align'] <2) { + echo "Чтите честь братьев."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['align'] == 2.9) { + echo "Нападения на Ангела строго запрещено!"; +} elseif ($us['align'] == 8.11) { + echo "Нападение на Гвардейца Света запрещено!"; +} elseif ($us['align'] == 8.21) { + echo "Нападение на Гвардейца Тьмы запрещено!"; +} elseif ($us['align'] == 8.31) { + echo "Нападение на Гвардейца Нейтралитета запрещено!"; +} elseif ($us['align'] >1 && $us['align'] <2) { + echo "Нападение на Паладинов запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} elseif (in_array($us['battle'],$forb_battle)) { + echo "Вы не можете вступать в бой за силы Хаоса!!"; +} elseif (($us['room']==101)&&($us['battle']=0)) { + echo "Не вам начинать сражение Тьмы и Света!"; +} elseif (($us['room']==101)&&($us['battle']>0) && ($user['align']!=2.1 && $user['align']!=2.2 && $user['align']!=6 && $user['align']!=3 && $user['align']!=2)) { + echo "Вы не можете вступить в противостояние Тьмы и Света!"; +} elseif ((($us['room']==101)&&($us['battle']>0))&&(((($user['align']==3)||($user['align']==2.2)) && ($us['align']!=6 && $us['align']!=2.1)) || ((($user['align']==6)||($user['align']==2.1)) && ($us['align']!=3 && $us['align']!=2.2)))) { + echo "Не атакуйте своих союзников!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); + + header("Location:fbattle.php"); + //die(""); + } + else + { + // начинаем бой + + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",$z[0]); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','".$jert['hp']."');"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','6','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','1' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location:fbattle.php"); + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/bexit.php b/magic/bexit.php new file mode 100644 index 0000000..ebd9758 --- /dev/null +++ b/magic/bexit.php @@ -0,0 +1,61 @@ +battle[$user['id']]); + if($us['sex'] == 1) { + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],'b').' вышла из боя!
    '); + } else { + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],'b').' вышел из боя!
    '); + } + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + //$ak = array_keys($battle[$user['id']]); + //$battle[$user['id']] = $battle[$ak[0]]; + unset($battle[$user['id']]); + foreach($battle as $k => $v) { + unset( $battle[$user['id']][$k]);// =array(0,0,time()); + unset( $battle[$k][$user['id']]);// = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($user['id'],$t1)) { + $t1 = explode(";",$bd['t1']); + unset ($t1[array_search($user['id'],$t1)]); + $tu=$t1; + $ttt=1; + + } else { + $t2 = explode(";",$bd['t2']); + unset ($t2[array_search($user['id'],$t2)]); + $tu=$t2; + $ttt=2; + } + mysql_query("UPDATE `inventory` SET `duration`=`duration`+1 WHERE `type` <>12 AND `dressed` = 1 AND `owner` = '{$user['id']}';"); + $magictime=time()+(10*60); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$user['id']."','Путы','$magictime',10);"); + addchp ('Внимание! Вы вышли из боя! ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE `battle` SET `teams` = '".serialize($battle)."', `t".$ttt."`='".implode(";",$tu)."' WHERE `id` = ".$user['battle']." ;"); + mysql_query('UPDATE users SET `battle` =0, `hp` = 0 WHERE `id` = '.$user['id'].';'); + header("Location:fbattle.php"); + + $bet=1; + echo "Вы вышли из боя"; + + +} + +?> \ No newline at end of file diff --git a/magic/blank.php b/magic/blank.php new file mode 100644 index 0000000..e69de29 diff --git a/magic/brat.php b/magic/brat.php new file mode 100644 index 0000000..7f08757 --- /dev/null +++ b/magic/brat.php @@ -0,0 +1,163 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$battle = mysql_fetch_array(mysql_query("SELECT `closed` FROM `battle` WHERE `id` = '{$us['battle']}' ;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR ND type=12 OR type=14);")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '23' ;")); +$us_battle=mysql_fetch_array(mysql_query("SELECT `type` FROM `battle` WHERE `id` ='{$us['battle']}' ;")); + + +if ($battle['closed']== 1) { + echo "Этот бой изолирован от внешнего мира"; +} +elseif ($user['battle'] > 0) { + echo "Не в бою..."; +} +elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} +elseif ($user['align']!=3) { + echo "Вы не темный!"; +} +elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; + +} elseif ($us['align']!=3) { + echo "Персонаж не с темной склонностью!"; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['battle'] <= 0) { + echo "Персонаж не в бою!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете вмешаться за погибшего!"; +} elseif ($us_battle['type'] !=6) { + echo "Вы можете встать на защиту собрата только от сил Света!"; +} else { //if (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="вмешался";} else {$action="вмешалась";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию темных сил, внезапно ".$action." в бой за "{$_POST['target']}""); + addchp ('Внимание! За Вас '.$action.' в бой '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + // $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$jert['id']]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); + + //header("Location:fbattle.php"); + //die(""); + $skipper=1; + } + else + { + // начинаем бой + //$bet=1; + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",$z[0]); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','".$jert['hp']."');"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','1','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','0' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}',"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location:fbattle.php"); + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} /*else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + }*/ +?> \ No newline at end of file diff --git a/magic/c30_100.php b/magic/c30_100.php new file mode 100644 index 0000000..3a80714 --- /dev/null +++ b/magic/c30_100.php @@ -0,0 +1,61 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $int=101; + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+30) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+30; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +30 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 30 НР персонажу ".$us['login']."!"; + $bet=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/check.php b/magic/check.php new file mode 100644 index 0000000..71ad6fc --- /dev/null +++ b/magic/check.php @@ -0,0 +1,44 @@ +Персонаж \"$target\" состоит в клане, либо имеет склонность!"; + } + else { + $ok=0; + if ($user['align'] > '2' && $user['align'] < '3') { + $ok=1; + } + elseif ($user['align'] > '1.6' && $user['align'] < '2') { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$tar['id']."','Проверка Паладинов','".$magictime."','20');")) { + $messtel="Помечено, что персонаж чист перед законом"; + $mess="".$user['login']." сделал пометку что ".$_POST['target']." чист перед законом"; + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + + tele_check($target,$messtel); + + echo "Успешно поставлена проверка персонажу \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете поставить проверку!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/cityattack.php b/magic/cityattack.php new file mode 100644 index 0000000..71c3836 --- /dev/null +++ b/magic/cityattack.php @@ -0,0 +1,182 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$battle = mysql_fetch_array(mysql_query("SELECT `closed` FROM `battle` WHERE `id` = '{$us['battle']}' ;")); +$owntravma = @mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR type=12 OR type=14);")); +$owntravma1 = @mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$_SESSION['uid']." AND (type=13 OR type=12 OR type=14);")); +if($user['invis']=='1') {$user['login'] = 'невидимка'; $user['klan']=''; $user['level']='??';} + +echo""; +if ($battle['closed']== 1) { + echo "Этот бой изолирован от внешнего мира"; +} +elseif ($user['battle'] > 0) { + echo "Не в бою..."; +} +elseif ($us['login']=='Устроитель') { + echo "На Устроителя нельзя напасть!"; +} +elseif (!$us['online'] && ($us['login']!="Общий Враг" or vrag!="on")) { + echo "Персонаж не в игре!"; +} +elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} +elseif ($owntravma1['id']) { + echo "Только безумец спасобен на такое"; +} +elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif ($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif ($user['align'] >1 && $user['align'] <2 && $us['align'] >1 && $us['align'] <2) { + echo "Чтите честь братьев."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['room'] == 402) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['room'] == 403) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['room'] == 404) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['level'] < 3) { + echo "Нельзя напасть на персонажа ниже 3 уровня! Даже ночью, даже на Центральной площади..."; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} else { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_ or $us['login']=="Общий Враг") { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0,`hit`=0,`parry`=0,`krit`=0,`counter`=0,`hp2`=0 WHERE `id`= ".$user['id']); + + header("Location:fbattle.php"); + //die(""); + } + else + { + // начинаем бой + //$bet=1; + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",$z[0]); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Общий Враг','3954','','30000');"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','1','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','0' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}',"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); +if($us['login']=="Общий Враг"){$jert['id']=3954;} + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + if($jert['id'] && $user['id'] && $jert['id']<999999){ + $btfl=fopen('tmp/'.$user['id'].'.btl','a'); + fwrite($btfl,'{[='.$jert['id'].'=]}'); + fclose($btfl); + $btfl=fopen('tmp/'.$jert['id'].'.btl','a'); + fwrite($btfl,'{[='.$user['id'].'=]}'); + fclose($btfl); + } + die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} +echo"
    "; +} +?> \ No newline at end of file diff --git a/magic/clone.php b/magic/clone.php new file mode 100644 index 0000000..56b7c75 --- /dev/null +++ b/magic/clone.php @@ -0,0 +1,49 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (клон%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`,`owner`) values ('".$user['login']." (клон ".($nb[0]+1).")','".$user['id']."','".$user['battle']."','".$user['hp']."','".$user['id']."');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($user['id'],$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Клон создан"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/clones.php b/magic/clones.php new file mode 100644 index 0000000..d029bad --- /dev/null +++ b/magic/clones.php @@ -0,0 +1,39 @@ + $v) { + $battle[$k][$bot] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($user['id'], $t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = nick5($user['id'], "B".$ttt); } + if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick5($bot, "B".$ttt); } + addlog($user['battle'], ''.date("H:i").' '.$lo.' породил своего клона '.$los.'.
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = "'.$user['battle'].'" LIMIT 1'); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1"); + echo "Клон создан"; + $bet = 1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet = 1; + } +} +?> \ No newline at end of file diff --git a/magic/cpattack.php b/magic/cpattack.php new file mode 100644 index 0000000..5f84907 --- /dev/null +++ b/magic/cpattack.php @@ -0,0 +1,196 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR type=12 OR type=14);")); +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_status' limit 1;")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +$hm=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'haos_match' LIMIT 1;")); +$hm=unserialize($hm['value']); +$us_b=mysql_fetch_array(mysql_query("SELECT `type`,`open` FROM `battle` WHERE `id`='{$us['battle']}';")); +$forb_battle=array(); +if($raid_t['value']>0) + $forb_battle[]=$raid_t['value']; +foreach($hm as $lv=>$num) + if($num>0) + $forb_battle[]=$num; +if ($user['intel'] > 0) { + $int=90 + $user['intel']*3; + if ($int>=100){$int=100;} + } +else {$int=91;} + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} +elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($us_b['type']==3 || $us_b['type']==5) { + echo "Запрещено входить в хаотический бой!"; +} elseif ($us['battle']>0 && $us_b['open']==0) { + echo "Бой закрыт для вмешательства!"; +} elseif ($us['align']==2.99) { + echo "Не атакуйте Администратора!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($us['align'] == 8.11) { + echo "Нападение на Гвардейца Света запрещено!"; +} elseif ($us['align'] == 8.21) { + echo "Нападение на Гвардейца Тьмы запрещено!"; +} elseif ($us['align'] == 8.31) { + echo "Нападение на Гвардейца Нейтралитета запрещено!"; +} elseif ($us['align'] >1 && $us['align'] <2) { + echo "Нападение на Паладина запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} elseif (in_array($us['battle'],$forb_battle)) { + echo "Вы не можете вступать в бой за силы Хаоса!!"; +} elseif (($us['room']==101)&&($us['battle']=0)) { + echo "Не вам начинать сражение Тьмы и Света!"; +} elseif (($us['room']==101)&&($us['battle']>0) && ($user['align']!=2.1 && $user['align']!=2.2 && $user['align']!=6 && $user['align']!=3 && $user['align']!=2)) { + echo "Вы не можете вступить в противостояние Тьмы и Света!"; +} elseif ((($us['room']==101)&&($us['battle']>0))&&(((($user['align']==3)||($user['align']==2.2)) && ($us['align']!=6 && $us['align']!=2.1)) || ((($user['align']==6)||($user['align']==2.1)) && ($us['align']!=3 && $us['align']!=2.2)))) { + echo "Не атакуйте своих союзников!"; +} elseif (true) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); + + header("Location:fbattle.php"); + //die(""); + } + else + { + // начинаем бой + //$bet=1; + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",implode(";",$z[0])); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','".$jert['hp']."');"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,5,7,10); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,3)]."','1','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','0' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location:fbattle.php"); + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/ct1.php b/magic/ct1.php new file mode 100644 index 0000000..4180c52 --- /dev/null +++ b/magic/ct1.php @@ -0,0 +1,45 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND `type`=11;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '19' ;")); +$outok=0; +if ($user['intel'] >= 4) { + $int=$magic['chanse'] + ($user['intel'] - 4)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us['battle'] > 0) { + echo "Персонаж в бою..."; +} elseif (!$owntravma['id']) { + echo "У персонажа нет легких травм..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="исцелил";} + else {$action="исцелила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + $bet=1; + echo "Персонаж "{$_POST['target']}" исцелен!"; + addch(" ".$angel." "{$user['login']}" ".$action." от легких травм "{$_POST['target']}""); + $outok=1; + deltravma($owntravma['id']); + addActions(time(), 'heal_'.$owntravma['id'], 0, $user['id']); +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/ct2.php b/magic/ct2.php new file mode 100644 index 0000000..ffad1ab --- /dev/null +++ b/magic/ct2.php @@ -0,0 +1,50 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravmadb = mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (`type`=12 OR `type`=11) ;"); +$ownt = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (`type`=12 OR `type`=11) LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '20' ;")); +$outok=0; +if ($user['intel'] >= 6) { + $int=$magic['chanse'] + ($user['intel'] - 6)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us['battle'] > 0) { + echo "Персонаж в бою..."; +} elseif (!$ownt['type']) { + echo "У персонажа нет средних или легких травм..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="исцелил";} + else {$action="исцелила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + $travm="легких"; + $bet=1; + while ($owntravma = mysql_fetch_array($owntravmadb)) { + if ($owntravma['type'] == 12) {$travm="средних";} + deltravma($owntravma['id']); + addActions(time(), 'heal_'.$owntravma['id'], 0, $user['id']); + } + echo "Персонаж "{$_POST['target']}" исцелен!"; + addch(" ".$angel." "{$user['login']}" ".$action." от ".$travm." травм "{$_POST['target']}""); + $outok=1; + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/ct3.php b/magic/ct3.php new file mode 100644 index 0000000..1c7d5f6 --- /dev/null +++ b/magic/ct3.php @@ -0,0 +1,53 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravmadb = mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (`type`=12 OR `type`=11 OR `type`=13) ;"); +$ownt = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (`type`=12 OR `type`=11 OR `type`=13) LIMIT 1 ;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '21' ;")); +$outok=0; +if ($user['intel'] >= 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} +} +else {$int=0;} + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us['battle'] > 0) { + echo "Персонаж в бою..."; +} elseif (!$ownt['type']) { + echo "У персонажа нет тяжелых, средних или легких травм..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="исцелил";} + else {$action="исцелила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + $travm="легких"; + $bet=1; + while ($owntravma = mysql_fetch_array($owntravmadb)) { + if ($owntravma['type'] == 13) {$travm="тяжелых";} + elseif ($owntravma['type'] == 12 && $travm != "тяжелых") {$travm="средних";} + deltravma($owntravma['id']); + addActions(time(), 'heal_'.$owntravma['id'], 0, $user['id']); + } + echo "Персонаж "{$_POST['target']}" исцелен!"; + addch(" ".$angel." "{$user['login']}" ".$action." от ".$travm." травм "{$_POST['target']}""); + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; +} +?> \ No newline at end of file diff --git a/magic/ct3_100.php b/magic/ct3_100.php new file mode 100644 index 0000000..1b4fed6 --- /dev/null +++ b/magic/ct3_100.php @@ -0,0 +1,50 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravmadb = mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (`type`=12 OR `type`=11 OR `type`=13 OR `type`=14) ;"); +$ownt = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (`type`=12 OR `type`=11 OR `type`=13 OR `type`=14) LIMIT 1 ;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '50' ;")); + +if ($user['intel'] >= 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} +} +else {$int=0;} + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us['battle'] > 0) { + echo "Персонаж в бою..."; +} elseif (!$ownt['type']) { + echo "У персонажа нет травм..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} else { + + if ($user['sex'] == 1) {$action="исцелил";} + else {$action="исцелила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + $travm="легких"; + $bet=1; + while ($owntravma = mysql_fetch_array($owntravmadb)) { + if ($owntravma['type'] == 13) {$travm="тяжелых";} + elseif ($owntravma['type'] == 12 && $travm != "тяжелых") {$travm="средних";} + elseif ($owntravma['type'] == 14 && $travm != "тяжелых" && $travm != "средних") {$travm="неизлечимых";} + deltravma($owntravma['id']); + addActions(time(), 'heal_'.$owntravma['id'], 0, $user['id']); + } + echo "Персонаж "{$_POST['target']}" исцелен!"; + addch(" ".$angel." "{$user['login']}" ".$action." от ".$travm." травм "{$_POST['target']}""); + + +} +?> \ No newline at end of file diff --git a/magic/ct_all.php b/magic/ct_all.php new file mode 100644 index 0000000..f08e1de --- /dev/null +++ b/magic/ct_all.php @@ -0,0 +1,35 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$travma = mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$us['id']."' AND (`type`='11' OR `type`='12' OR `type`='13' OR `type`='14');"); +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us['battle'] > 0) { + echo "Персонаж в бою..."; +} elseif (!$travma) { + echo "У персонажа нет травм..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['align'] > 0 && $user['align'] < 9) { + + if ($user['sex'] == 1) {$action="исцелил";} + else {$action="исцелила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + addch(" $angel "{$user['login']}" ".$action." от травм "{$_POST['target']}""); + while ($owntravma=mysql_fetch_array($travma)) { + deltravma($owntravma['id']); + addActions(time(), 'heal_'.$owntravma['id'], 0, $user['id']); + } + $outok=1; + +} else { + echo "Что-то тут не то..."; + } +?> \ No newline at end of file diff --git a/magic/ct_nele4.php b/magic/ct_nele4.php new file mode 100644 index 0000000..05593b6 --- /dev/null +++ b/magic/ct_nele4.php @@ -0,0 +1,44 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND `type`=14;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '139' ;")); +$outok=0; +if ($user['intel'] >= 4) { + $int=$magic['chanse'] + ($user['intel'] - 4)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + + + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us['battle'] > 0) { + echo "Персонаж в бою..."; +} elseif (!$owntravma['id']) { + echo "У персонажа нет легких травм..."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="исцелил";} + else {$action="исцелила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + $bet=1; + echo "Персонаж "{$_POST['target']}" исцелен!"; + addch(" ".$angel." "{$user['login']}" ".$action." от неизлечимых травм "{$_POST['target']}""); + $outok=1; + deltravma($owntravma['id']); +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/cure120.php b/magic/cure120.php new file mode 100644 index 0000000..a233df4 --- /dev/null +++ b/magic/cure120.php @@ -0,0 +1,65 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '69' ;")); + if ($user['intel'] >= 1) { + $int=$magic['chanse'] + ($user['intel'] - 1)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+120) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+120; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +120 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 120 НР персонажу ".$us['login']."!"; + $bet=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure15.php b/magic/cure15.php new file mode 100644 index 0000000..d255abd --- /dev/null +++ b/magic/cure15.php @@ -0,0 +1,55 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '9' ;")); + if ($user['intel'] >= 1) { + $int=$magic['chanse'] + ($user['intel'] - 1)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+15) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+15; + } + if ($user['battle'] > 0) { + //$fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +15 ['.($hp).'/'.$us['maxhp'].']
    '); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + //$fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 15 НР персонажу ".$us['login']."!"; + $bet=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure150.php b/magic/cure150.php new file mode 100644 index 0000000..cb64d99 --- /dev/null +++ b/magic/cure150.php @@ -0,0 +1,66 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '70' ;")); + if ($user['intel'] >= 1) { + $int=$magic['chanse'] + ($user['intel'] - 1)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+150) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+150; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +150 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 150 НР персонажу ".$us['login']."!"; + $bet=1; + $outok=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure30.php b/magic/cure30.php new file mode 100644 index 0000000..1655b83 --- /dev/null +++ b/magic/cure30.php @@ -0,0 +1,64 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '10' ;")); + if ($user['intel'] >= 2) { + $int=$magic['chanse'] + ($user['intel'] - 2)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+30) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+30; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +30 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 30 НР персонажу ".$us['login']."!"; + $bet=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure300.php b/magic/cure300.php new file mode 100644 index 0000000..680236c --- /dev/null +++ b/magic/cure300.php @@ -0,0 +1,63 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '12' ;")); + if ($user['intel'] >= 6) { + $int=$magic['chanse'] + ($user['intel'] - 6)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+300) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+300; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +300 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +300 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 300 НР персонажу ".$us['login']."!"; + $bet=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure30_100.php b/magic/cure30_100.php new file mode 100644 index 0000000..d7a7e0a --- /dev/null +++ b/magic/cure30_100.php @@ -0,0 +1,61 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + else {$int=101;} + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+30) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+30; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +30 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 30 НР персонажу ".$us['login']."!"; + $bet=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure30_8.php b/magic/cure30_8.php new file mode 100644 index 0000000..de86796 --- /dev/null +++ b/magic/cure30_8.php @@ -0,0 +1,54 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+30) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+30; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +30 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 30 НР персонажу ".$us['login']."!"; + $bet=1; + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure45.php b/magic/cure45.php new file mode 100644 index 0000000..c5892f9 --- /dev/null +++ b/magic/cure45.php @@ -0,0 +1,63 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '11' ;")); + if ($user['intel'] >= 3) { + $int=$magic['chanse'] + ($user['intel'] - 3)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+45) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+45; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +45 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 45 НР персонажу ".$us['login']."!"; + $bet=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure60.php b/magic/cure60.php new file mode 100644 index 0000000..e9c31bb --- /dev/null +++ b/magic/cure60.php @@ -0,0 +1,63 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '12' ;")); + if ($user['intel'] >= 6) { + $int=$magic['chanse'] + ($user['intel'] - 6)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + if(!$us) { + $bots = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `name` = \''.$_POST['target'].'\' LIMIT 1;')); + /*if($bots) { + $id=$bots['prototype']; + $us = mysql_fetch_array(mysql_query("SELECT *, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$id}' LIMIT 1;")); + $us['login'] = $bots['name']; + $us['hp'] = $bots['hp']; + $us['id'] = $bots['id']; + $us['battle'] = $bots['battle']; + + }*/ + } + //echo + echo ""; + if ($bots) { echo "Нельзя лечить клонов!"; } + elseif ($us['battle'] != $user['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($user['room'] != $us['room'] && !$us['battle']) { echo "Персонаж в другой комнате!"; } + elseif ($us['battle'] && !in_array($us['id'],$fbattle->team_mine)) { echo "Нельзя лечить противников!"; } + else { + + if (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="";} + else {$action="а";} + + if(($us['hp']+60) > $us['maxhp']) { + $hp = $us['maxhp']; + } else { + $hp = $us['hp']+60; + } + if ($user['battle'] > 0) { + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    \') WHERE `id` = '.$us['battle'].''); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии '.(($us['id']!=$user['id'])?"на ".nick5($us['id'],$fbattle->my_class):"").' и восстановил'.$action.' уровень жизни +60 ['.($hp).'/'.$us['maxhp'].']
    '); + //$fbattle->AddToLog(''); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $fbattle->write_log (); + } + + mysql_query("UPDATE `users` SET `hp` = ".$hp." WHERE `id` = ".$us['id'].";"); + echo "Вы восстановили 60 НР персонажу ".$us['login']."!"; + $bet=1; + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } + + } + echo "
    "; + + +?> \ No newline at end of file diff --git a/magic/cure_20.php b/magic/cure_20.php new file mode 100644 index 0000000..fa83c47 --- /dev/null +++ b/magic/cure_20.php @@ -0,0 +1,28 @@ + 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['maxhp']*0.2); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 20%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo 'Успешно'; + $bet = 1; +} \ No newline at end of file diff --git a/magic/cure_35.php b/magic/cure_35.php new file mode 100644 index 0000000..0b4e22f --- /dev/null +++ b/magic/cure_35.php @@ -0,0 +1,28 @@ + 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['maxhp']*0.35); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 35%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo 'Успешно'; + $bet = 1; +} \ No newline at end of file diff --git a/magic/cure_50.php b/magic/cure_50.php new file mode 100644 index 0000000..65fa1b2 --- /dev/null +++ b/magic/cure_50.php @@ -0,0 +1,28 @@ + 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['maxhp']*0.5); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 50%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo 'Успешно'; + $bet = 1; +} \ No newline at end of file diff --git a/magic/cure_d.php b/magic/cure_d.php new file mode 100644 index 0000000..5ac9343 --- /dev/null +++ b/magic/cure_d.php @@ -0,0 +1,13 @@ + 0) { + echo "Не в бою ..."; +} elseif($user['hp'] == $user['maxhp']) { + echo "Ваше здоровье и так полное ..."; +} else { + $user['hp'] = $user['maxhp']; + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo "Вы скушали Бутербродик ..."; + $bet = 1; +} \ No newline at end of file diff --git a/magic/cure_rep_120.php b/magic/cure_rep_120.php new file mode 100644 index 0000000..e9c5266 --- /dev/null +++ b/magic/cure_rep_120.php @@ -0,0 +1,37 @@ +Уровень маловат ..."; +} elseif($user['intel'] < 9) { + echo "Недостаточно Интеллекта ..."; +} elseif($user['mgray'] < 3) { + echo "Недостаточно Владения магией ..."; +} else { + if($user['sex'] == 1) { $action = ''; } else { $action = 'а'; } + if($user['battle'] != 0) { + if($user['hp'] <= 0) { + echo "Мёртвые не могут пользоваться магией ..."; + } else { + $user['hp'] += 120; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + if($user['invis'] == 1) { $hp = '??'; $maxhp = '??'; } else { $hp = $user['hp']; $maxhp = $user['maxhp']; } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'], $fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии и восстановил'.$action.' уровень жизни +120 ['.($hp).'/'.$maxhp.']
    '); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$user['battle']."' LIMIT 1"); + $fbattle->write_log(); + echo "Свиток использован ..."; + $bet = 1; + } + } else { + $user['hp'] += 120; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo "Свиток использован ..."; + $bet = 1; + } +} \ No newline at end of file diff --git a/magic/cure_rep_150.php b/magic/cure_rep_150.php new file mode 100644 index 0000000..c070c10 --- /dev/null +++ b/magic/cure_rep_150.php @@ -0,0 +1,37 @@ +Уровень маловат ..."; +} elseif($user['intel'] < 11) { + echo "Недостаточно Интеллекта ..."; +} elseif($user['mgray'] < 4) { + echo "Недостаточно Владения магией ..."; +} else { + if($user['sex'] == 1) { $action = ''; } else { $action = 'а'; } + if($user['battle'] != 0) { + if($user['hp'] <= 0) { + echo "Мёртвые не могут пользоваться магией ..."; + } else { + $user['hp'] += 150; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + if($user['invis'] == 1) { $hp = '??'; $maxhp = '??'; } else { $hp = $user['hp']; $maxhp = $user['maxhp']; } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'], $fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии и восстановил'.$action.' уровень жизни +150 ['.($hp).'/'.$maxhp.']
    '); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$user['battle']."' LIMIT 1"); + $fbattle->write_log(); + echo "Свиток использован ..."; + $bet = 1; + } + } else { + $user['hp'] += 150; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo "Свиток использован ..."; + $bet = 1; + } +} \ No newline at end of file diff --git a/magic/cure_rep_180.php b/magic/cure_rep_180.php new file mode 100644 index 0000000..b087156 --- /dev/null +++ b/magic/cure_rep_180.php @@ -0,0 +1,37 @@ +Уровень маловат ..."; +} elseif($user['intel'] < 14) { + echo "Недостаточно Интеллекта ..."; +} elseif($user['mgray'] < 4) { + echo "Недостаточно Владения магией ..."; +} else { + if($user['sex'] == 1) { $action = ''; } else { $action = 'а'; } + if($user['battle'] != 0) { + if($user['hp'] <= 0) { + echo "Мёртвые не могут пользоваться магией ..."; + } else { + $user['hp'] += 180; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + if($user['invis'] == 1) { $hp = '??'; $maxhp = '??'; } else { $hp = $user['hp']; $maxhp = $user['maxhp']; } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'], $fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии и восстановил'.$action.' уровень жизни +180 ['.($hp).'/'.$maxhp.']
    '); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$user['battle']."' LIMIT 1"); + $fbattle->write_log(); + echo "Свиток использован ..."; + $bet = 1; + } + } else { + $user['hp'] += 180; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo "Свиток использован ..."; + $bet = 1; + } +} \ No newline at end of file diff --git a/magic/cure_rep_270.php b/magic/cure_rep_270.php new file mode 100644 index 0000000..284d7f4 --- /dev/null +++ b/magic/cure_rep_270.php @@ -0,0 +1,37 @@ +Уровень маловат ..."; +} elseif($user['intel'] < 14) { + echo "Недостаточно Интеллекта ..."; +} elseif($user['mgray'] < 4) { + echo "Недостаточно Владения магией ..."; +} else { + if($user['sex'] == 1) { $action = ''; } else { $action = 'а'; } + if($user['battle'] != 0) { + if($user['hp'] <= 0) { + echo "Мёртвые не могут пользоваться магией ..."; + } else { + $user['hp'] += 270; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + if($user['invis'] == 1) { $hp = '??'; $maxhp = '??'; } else { $hp = $user['hp']; $maxhp = $user['maxhp']; } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'], $fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии и восстановил'.$action.' уровень жизни +270 ['.($hp).'/'.$maxhp.']
    '); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$user['battle']."' LIMIT 1"); + $fbattle->write_log(); + echo "Свиток использован ..."; + $bet = 1; + } + } else { + $user['hp'] += 270; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo "Свиток использован ..."; + $bet = 1; + } +} \ No newline at end of file diff --git a/magic/cure_rep_360.php b/magic/cure_rep_360.php new file mode 100644 index 0000000..6638299 --- /dev/null +++ b/magic/cure_rep_360.php @@ -0,0 +1,37 @@ +Уровень маловат ..."; +} elseif($user['intel'] < 14) { + echo "Недостаточно Интеллекта ..."; +} elseif($user['mgray'] < 4) { + echo "Недостаточно Владения магией ..."; +} else { + if($user['sex'] == 1) { $action = ''; } else { $action = 'а'; } + if($user['battle'] != 0) { + if($user['hp'] <= 0) { + echo "Мёртвые не могут пользоваться магией ..."; + } else { + $user['hp'] += 360; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + if($user['invis'] == 1) { $hp = '??'; $maxhp = '??'; } else { $hp = $user['hp']; $maxhp = $user['maxhp']; } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'], $fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии и восстановил'.$action.' уровень жизни +360 ['.($hp).'/'.$maxhp.']
    '); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$user['battle']."' LIMIT 1"); + $fbattle->write_log(); + echo "Свиток использован ..."; + $bet = 1; + } + } else { + $user['hp'] += 360; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo "Свиток использован ..."; + $bet = 1; + } +} \ No newline at end of file diff --git a/magic/cure_rep_90.php b/magic/cure_rep_90.php new file mode 100644 index 0000000..1f47738 --- /dev/null +++ b/magic/cure_rep_90.php @@ -0,0 +1,37 @@ +Уровень маловат ..."; +} elseif($user['intel'] < 6) { + echo "Недостаточно Интеллекта ..."; +} elseif($user['mgray'] < 3) { + echo "Недостаточно Владения магией ..."; +} else { + if($user['sex'] == 1) { $action = ''; } else { $action = 'а'; } + if($user['battle'] != 0) { + if($user['hp'] <= 0) { + echo "Мёртвые не могут пользоваться магией ..."; + } else { + $user['hp'] += 90; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + if($user['invis'] == 1) { $hp = '??'; $maxhp = '??'; } else { $hp = $user['hp']; $maxhp = $user['maxhp']; } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $fbattle->AddToLog(''.date("H:i").' '.nick5($user['id'], $fbattle->my_class).' использовал'.$action.' заклятие восстановления энергии и восстановил'.$action.' уровень жизни +90 ['.($hp).'/'.$maxhp.']
    '); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$user['battle']."' LIMIT 1"); + $fbattle->write_log(); + echo "Свиток использован ..."; + $bet = 1; + } + } else { + $user['hp'] += 90; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo "Свиток использован ..."; + $bet = 1; + } +} \ No newline at end of file diff --git a/magic/ddark.php b/magic/ddark.php new file mode 100644 index 0000000..358181d --- /dev/null +++ b/magic/ddark.php @@ -0,0 +1,89 @@ + '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action Темную склонность "$target""; + $messch="$angel "{$user['login']}" $action Темную склонность "$target""; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + echo "Успешно изменена склонность персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете менять склонность этого персонажа!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/death.php b/magic/death.php new file mode 100644 index 0000000..e0446c4 --- /dev/null +++ b/magic/death.php @@ -0,0 +1,88 @@ +На персонаже \"$target\" уже есть заклятие смерти "; + } + else { + $ok=0; + if ($user['align'] > '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] > '1.8' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] > '1.8' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + elseif (($user['align'] == '1.7' && $tar['level'] == '0') && !($tar['align'] > '2' && $tar['align'] < '3')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("UPDATE `users` SET `block`='1' WHERE `id` = {$tar['id']} LIMIT 1;")) { + $ldtarget=$target; + $ldblock=1; + if ($user['sex'] == 1) {$action="наложил";} + else {$action="наложила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action заклятие смерти на "$target"."; + $messch="$angel "{$user['login']}" $action заклятие смерти на "$target".."; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $messch"); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Успешно наложено заклятие смерти на персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете наложить заклятие смерти на этого персонажа!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/death_off.php b/magic/death_off.php new file mode 100644 index 0000000..34307b5 --- /dev/null +++ b/magic/death_off.php @@ -0,0 +1,52 @@ + '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] == '1.99' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] == '1.99' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("UPDATE `users` SET `palcom` = '',`block`='0' WHERE `id` = {$tar['id']} LIMIT 1;")) { + if ($user['sex'] == 1) {$action="снял";} + else {$action="сняла";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action заклятие смерти с "$target".."; + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $mess"); + echo "Успешно снято заклятие смерти с персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете снять заклятие смерти с этого персонажа!"; + } + } + else { + echo "На персонаже \"$target\" нет заклятия смерти "; + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/defence.php b/magic/defence.php new file mode 100644 index 0000000..9a2f905 --- /dev/null +++ b/magic/defence.php @@ -0,0 +1,33 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '55' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '201' LIMIT 1;")); + if($user['invis'] == 1) { $user['login'] = 'невидимка'; }; +if ($user['intel'] >= 15) { + $int=$magic['chanse'] + ($user['intel'] - 15)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] > 0) {echo "Не в бою...";} +elseif ($user['level'] < 4) { echo "Вашего уровня не достаточно для использования этого заклинания!"; } +elseif ($us['level'] < 4) { echo "Запрещено применять на персонажей до 4 уровня!"; } +elseif ($effect['time']) {echo "На персонаже уже есть заклятие Защита от Оружия"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж в другой комнате!"; } +elseif (!$us['online']) {echo "Персонаж не в игре!";} +elseif (rand(1,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие \"Защита от оружия\" на "{$_POST['target']}", сроком 2 часа."); + + $us = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".(int)$us['id']."','Защита от оружия',".(time()+7200).",201);"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие \"Защита от оружия\" "; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> diff --git a/magic/devastate.php b/magic/devastate.php new file mode 100644 index 0000000..2633fac --- /dev/null +++ b/magic/devastate.php @@ -0,0 +1,34 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '56' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '202' LIMIT 1;")); + if($user['invis'] == 1) { $user['login'] = 'невидимка'; }; +if ($user['intel'] >= 15) { + $int=$magic['chanse'] + ($user['intel'] - 15)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] > 0) {echo "Не в бою...";} +elseif ($user['level'] < 4) { echo "Вашего уровня не достаточно для использования этого заклинания!"; } +elseif ($us['level'] < 4) { echo "Запрещено применять на персонажей до 4 уровня!"; } +elseif ($effect['time']) {echo "На персонаже уже есть заклятие Сокрушение"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж в другой комнате!"; } +elseif (!$us['online']) {echo "Персонаж не в игре!";} +elseif (rand(1,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие \"Сокрушение\" на "{$_POST['target']}", сроком 2 часа."); + + $us = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$us['id']."','Сокрушение',".(time()+7200).",202);"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие \"Сокрушение\" "; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> diff --git a/magic/dlight.php b/magic/dlight.php new file mode 100644 index 0000000..5676be8 --- /dev/null +++ b/magic/dlight.php @@ -0,0 +1,89 @@ + '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action Светлую склонность "$target""; + $messch="$angel "{$user['login']}" $action Светлую склонность "$target""; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + echo "Успешно изменена склонность персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете менять склонность этого персонажа!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/dneit.php b/magic/dneit.php new file mode 100644 index 0000000..156b426 --- /dev/null +++ b/magic/dneit.php @@ -0,0 +1,89 @@ + '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action Нейтральную склонность "$target""; + $messch="$angel "{$user['login']}" $action Нейтральную склонность "$target""; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + echo "Успешно изменена склонность персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете менять склонность этого персонажа!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/dob10.php b/magic/dob10.php new file mode 100644 index 0000000..f2e454e --- /dev/null +++ b/magic/dob10.php @@ -0,0 +1,14 @@ +Ваша Репутация была увеличена РЅР° 10"; + $bet=1; +?> + + diff --git a/magic/dob100.php b/magic/dob100.php new file mode 100644 index 0000000..2c63ea2 --- /dev/null +++ b/magic/dob100.php @@ -0,0 +1,14 @@ +Ваша доблесть была увеличена РЅР° 100"; + $bet=1; +?> + + diff --git a/magic/dob20.php b/magic/dob20.php new file mode 100644 index 0000000..21ade7c --- /dev/null +++ b/magic/dob20.php @@ -0,0 +1,14 @@ +Ваша доблесть была увеличена РЅР° 20"; + $bet=1; +?> + + diff --git a/magic/dob450.php b/magic/dob450.php new file mode 100644 index 0000000..4ae9aa3 --- /dev/null +++ b/magic/dob450.php @@ -0,0 +1,14 @@ +Ваша Репутация была увеличена РЅР° 450"; + $bet=1; +?> + + diff --git a/magic/dob5.php b/magic/dob5.php new file mode 100644 index 0000000..96a1c2a --- /dev/null +++ b/magic/dob5.php @@ -0,0 +1,14 @@ +Ваша доблесть была увеличена РЅР° 5"; + $bet=1; +?> + + diff --git a/magic/dob50.php b/magic/dob50.php new file mode 100644 index 0000000..6751957 --- /dev/null +++ b/magic/dob50.php @@ -0,0 +1,14 @@ +Ваша Репутация была увеличена РЅР° 50"; + $bet=1; +?> + + diff --git a/magic/down.php b/magic/down.php new file mode 100644 index 0000000..902ddef --- /dev/null +++ b/magic/down.php @@ -0,0 +1,35 @@ + 0) { + echo "Не в бою..."; +} elseif (rand(1,100)!=1) { + undressall($user['id']); + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + if ($_SESSION['uid'] == null) header("Location: index.php"); + if($user['sila']>3){ + mysql_query("UPDATE `users` SET `stats`=`stats`+1,`sila` = `sila`-1 WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"); + } + if($user['inta']>3){ + mysql_query("UPDATE `users` SET `stats`=`stats`+1,`inta` = `inta`-1 WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"); + } + if($user['lovk']>3){ + mysql_query("UPDATE `users` SET `stats`=`stats`+1,`lovk` = `lovk`-1 WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"); + } + if($user['vinos']>3){ + if($user['hp']<= ($user['maxhp']-6)) { + mysql_query("UPDATE `users` SET `stats`=`stats`+1, `maxhp`=`maxhp`-'6',`vinos` = `vinos`-1 WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"); + } + else { + mysql_query("UPDATE `users` SET `stats`=`stats`+1, `maxhp`=`maxhp`-'6', `hp`=`hp`-'6',`vinos` = `vinos`-1 WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"); + } + } + if($user['intel'] >0) { + mysql_query("UPDATE `users` SET `stats`=`stats`+1,`intel` = `intel`-1 WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"); + } + if($user['mudra'] >0) { + mysql_query("UPDATE `users` SET `stats`=`stats`+1,`mudra` = `mudra`-1 WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"); + } + echo "Удачно использована магия \"Шаг назад\""; + $bet=1; +} +?> \ No newline at end of file diff --git a/magic/dpal.php b/magic/dpal.php new file mode 100644 index 0000000..ca35f38 --- /dev/null +++ b/magic/dpal.php @@ -0,0 +1,51 @@ + '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action "$target" в стройные ряды Паладинов"; + $messch="$angel "{$user['login']}" $action "$target" в стройные ряды Паладинов"; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + echo "Успешно принят рекрут \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете менять склонность этого персонажа!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/eattack.php b/magic/eattack.php new file mode 100644 index 0000000..b16e80c --- /dev/null +++ b/magic/eattack.php @@ -0,0 +1,205 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR type=12 OR type=14);")); +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_status' limit 1;")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +$hm=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'haos_match' LIMIT 1;")); +$hm=unserialize($hm['value']); +$us_b=mysql_fetch_array(mysql_query("SELECT `type`,`open` FROM `battle` WHERE `id`='{$us['battle']}';")); +$forb_battle=array(); +if($raid_t['value']>0) + $forb_battle[]=$raid_t['value']; +foreach($hm as $lv=>$num) + if($num>0) + $forb_battle[]=$num; +if ($user['intel'] > 0) { + $int=90 + $user['intel']*3; + if ($int>98){$int=99;} + } +else {$int=91;} + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} +elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($us_b['type']==3 || $us_b['type']==5) { + echo "Запрещено входить в хаотический бой!"; +} elseif ($us['battle']>0 && $us_b['open']==0) { + echo "Бой закрыт для вмешательства!"; +} elseif (in_array($us['battle'],$forb_battle)) { + echo "Вы не можете вступать в бой за силы Хаоса!!"; +} +elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif ($user['align'] >1 && $user['align'] <2 && $us['align'] >1 && $us['align'] <2) { + echo "Чтите честь братьев."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['align'] == 2.9) { + echo "Нападения на Ангела строго запрещено!"; +} elseif ($us['align'] == 8.11) { + echo "Нападение на Гвардейца Света запрещено!"; +} elseif ($us['align'] == 8.21) { + echo "Нападение на Гвардейца Тьмы запрещено!"; +} elseif ($us['align'] == 8.31) { + echo "Нападение на Гвардейца Нейтралитета запрещено!"; +} elseif ($us['align'] >1 && $us['align'] <2) { + echo "Нападение на Паладина запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); +$outok=1; + header("Location:fbattle.php"); + //die(""); + } + else + { + // начинаем бой + //$bet=1; + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",implode(";",$z[0])); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','".$jert['hp']."');"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','1','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','0' + )"); +//логирование для уменьшения опыта при повторных боях + $btfl=fopen('/tmp/'.$user['id'].'.btl','a'); + fwrite($btfl,'{[='.$jert['id'].'=]}'); + fclose($btfl); + $btfl=fopen('/tmp/'.$jert['id'].'.btl','a'); + fwrite($btfl,'{[='.$user['id'].'=]}'); + fclose($btfl); +//логирование для уменьшения опыта при повторных боях + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + $outok=1; + header("Location:fbattle.php"); + + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/ebattack.php b/magic/ebattack.php new file mode 100644 index 0000000..6571482 --- /dev/null +++ b/magic/ebattack.php @@ -0,0 +1,205 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$owntravma = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = ".$us['id']." AND (type=13 OR type=12 OR type=14);")); +$raid_t=mysql_fetch_array(mysql_query("SELECT * FROM variables WHERE var='raid_on_status' limit 1;")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +$hm=mysql_fetch_array(mysql_query("SELECT `value` FROM `variables` WHERE `var` = 'haos_match' LIMIT 1;")); +$hm=unserialize($hm['value']); +$us_b=mysql_fetch_array(mysql_query("SELECT `type`,`open` FROM `battle` WHERE `id`='{$us['battle']}';")); +$forb_battle=array(); +if($raid_t['value']>0) + $forb_battle[]=$raid_t['value']; +foreach($hm as $lv=>$num) + if($num>0) + $forb_battle[]=$num; +if ($user['intel'] > 0) { + $int=90 + $user['intel']*3; + if ($int>98){$int=99;} + } +else {$int=91;} + +if ($user['battle'] > 0) { + echo "Не в бою..."; +} elseif ($us_b['type']==3 || $us_b['type']==5) { + echo "Запрещено входить в хаотический бой!"; +} elseif ($us['battle']>0 && $us_b['open']==0) { + echo "Бой закрыт для вмешательства!"; +} elseif (in_array($us['battle'],$forb_battle)) { + echo "Вы не можете вступать в бой за силы Хаоса!!"; +} +elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} +elseif ($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif ($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif ($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif ($user['align'] >1 && $user['align'] <2 && $us['align'] >1 && $us['align'] <2) { + echo "Чтите честь братьев."; +} elseif ($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!"; +} elseif ($us['align'] == 2.9) { + echo "Нападения на Ангела строго запрещено!"; +} elseif ($us['align'] == 8.11) { + echo "Нападение на Гвардейца Света запрещено!"; +} elseif ($us['align'] == 8.21) { + echo "Нападение на Гвардейца Тьмы запрещено!"; +} elseif ($us['align'] == 8.31) { + echo "Нападение на Гвардейца Нейтралитета запрещено!"; +} elseif ($us['align'] >1 && $us['align'] <2) { + echo "Нападение на Паладинов запрещено!"; +} elseif ($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif ($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif ($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif ($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif ($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} elseif (rand(1,100) < $int) { + + if ($user['sex'] == 1) {$action="напал";} else {$action="напала";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if($jert['id']!=$user['id']) { + addch(" {$user['login']}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp ('Внимание! На вас '.$action.' '.$user['login'].'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ','{[]}'.nick7 ($jert['id']).'{[]}'); + //destructitem($row['id']); + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] =array(0,0,time()); + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    \') WHERE `id` = '.$jert['battle'].''); + + addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок!
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); +$outok=1; + header("Location:fbattle.php"); + //die(""); + } + else + { + // начинаем бой + + // если чел в заявке, выбиваем его + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",implode(";",$z[0])); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + //arch + if($bot) { + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('Архивариус','83','','".$jert['hp']."');"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0,0,time()); + $teams[$jert['id']][$user['id']] = array(0,0,time()); + $sv = array(3,4,5); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,2)]."','6','0','".$user['id']."','".$jert['id']."','".time()."','".time()."','1' + )"); +//логирование для уменьшения опыта при повторных боях + $btfl=fopen('/tmp/'.$user['id'].'.btl','a'); + fwrite($btfl,'{[='.$jert['id'].'=]}'); + fclose($btfl); + $btfl=fopen('/tmp/'.$jert['id'].'.btl','a'); + fwrite($btfl,'{[='.$user['id'].'=]}'); + fclose($btfl); +//логирование для уменьшения опыта при повторных боях + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1;"); + } + + // создаем лог + + + $rr = "".nick3($user['id'])." и ".nick3($jert['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($jert['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + + + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + $outok=1; + header("Location:fbattle.php"); + //die(""); + } + } else { + echo 'Мазохист?...'; + } + //$bet=1; +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/elem_ally_air.php b/magic/elem_ally_air.php new file mode 100644 index 0000000..7db7848 --- /dev/null +++ b/magic/elem_ally_air.php @@ -0,0 +1,49 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (Элементаль Воздуха - союзник%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`,`owner`) values ('".$user['login']." (Элементаль Воздуха - союзник ".($nb[0]+1).")','1243','".$user['battle']."','2000','".$user['id']."');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($user['id'],$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вызвал '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Элементаль вызван"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/elem_ally_earth.php b/magic/elem_ally_earth.php new file mode 100644 index 0000000..96b14ed --- /dev/null +++ b/magic/elem_ally_earth.php @@ -0,0 +1,49 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (Элементаль Земли - союзник%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`,`owner`) values ('".$user['login']." (Элементаль Земли - союзник ".($nb[0]+1).")','1244','".$user['battle']."','2500','".$user['id']."');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($user['id'],$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вызвал '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Элементаль вызван"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/elem_ally_fire.php b/magic/elem_ally_fire.php new file mode 100644 index 0000000..506fdfc --- /dev/null +++ b/magic/elem_ally_fire.php @@ -0,0 +1,49 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (Элементаль Огня - союзник%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`,`owner`) values ('".$user['login']." (Элементаль Огня - союзник ".($nb[0]+1).")','1241','".$user['battle']."','1000','".$user['id']."');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($user['id'],$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вызвал '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Элементаль вызван"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/elem_ally_water.php b/magic/elem_ally_water.php new file mode 100644 index 0000000..7d52ec3 --- /dev/null +++ b/magic/elem_ally_water.php @@ -0,0 +1,49 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (Элементаль Воды - союзник%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`,`owner`) values ('".$user['login']." (Элементаль Воды - союзник ".($nb[0]+1).")','1242','".$user['battle']."','1500','".$user['id']."');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + // проставляем кто-где + if (in_array ($user['id'],$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вызвал '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Элементаль вызван"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/elem_foe_air.php b/magic/elem_foe_air.php new file mode 100644 index 0000000..bdab97f --- /dev/null +++ b/magic/elem_foe_air.php @@ -0,0 +1,54 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (Элементаль Воздуха - враг%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$user['login']." (Элементаль Воздуха - враг ".($nb[0]+1).")','1243','".$user['battle']."','2000');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + + $t1 = explode(";",$bd['t1']); + if(in_array ($user['id'],$t1)) $bot_marker=$t2[0]; + else $bot_marker=$t1[0]; + + $battle[$bot] = $battle[$bot_marker]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + + // проставляем кто-где + if (in_array ($bot_marker,$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вызвал '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Элементаль вызван"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/elem_foe_earth.php b/magic/elem_foe_earth.php new file mode 100644 index 0000000..11b7795 --- /dev/null +++ b/magic/elem_foe_earth.php @@ -0,0 +1,54 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (Элементаль Земли - враг%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$user['login']." (Элементаль Земли - враг ".($nb[0]+1).")','1244','".$user['battle']."','2500');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + + $t1 = explode(";",$bd['t1']); + if(in_array ($user['id'],$t1)) $bot_marker=$t2[0]; + else $bot_marker=$t1[0]; + + $battle[$bot] = $battle[$bot_marker]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + + // проставляем кто-где + if (in_array ($bot_marker,$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вызвал '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Элементаль вызван"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/elem_foe_fire.php b/magic/elem_foe_fire.php new file mode 100644 index 0000000..2664964 --- /dev/null +++ b/magic/elem_foe_fire.php @@ -0,0 +1,54 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (Элементаль Огня - враг%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$user['login']." (Элементаль Огня - враг ".($nb[0]+1).")','1241','".$user['battle']."','1000');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + + $t1 = explode(";",$bd['t1']); + if(in_array ($user['id'],$t1)) $bot_marker=$t2[0]; + else $bot_marker=$t1[0]; + + $battle[$bot] = $battle[$bot_marker]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + + // проставляем кто-где + if (in_array ($bot_marker,$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вызвал '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Элементаль вызван"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/elem_foe_water.php b/magic/elem_foe_water.php new file mode 100644 index 0000000..f1c891c --- /dev/null +++ b/magic/elem_foe_water.php @@ -0,0 +1,54 @@ += 8) { + $int=$magic['chanse'] + ($user['intel'] - 8)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + $nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (Элементаль Воды - враг%';")); + mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$user['login']." (Элементаль Воды - враг ".($nb[0]+1).")','1242','".$user['battle']."','1500');"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + + $t1 = explode(";",$bd['t1']); + if(in_array ($user['id'],$t1)) $bot_marker=$t2[0]; + else $bot_marker=$t1[0]; + + $battle[$bot] = $battle[$bot_marker]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + + // проставляем кто-где + if (in_array ($bot_marker,$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' породил своего клона '.nick5($bot,"B".$ttt).'
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вызвал '.nick5($bot,"B".$ttt).'
    '); + + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + + $bet=1; + echo "Элементаль вызван"; + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/elikbroni.php b/magic/elikbroni.php new file mode 100644 index 0000000..174bbb1 --- /dev/null +++ b/magic/elikbroni.php @@ -0,0 +1,31 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '76' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '205' LIMIT 1;")); + +if ($user['intel'] >= 0) { + $int=$magic['chanse'] + ($user['intel'] - 0)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] > 0) {echo "РќРµ РІ Р±РѕСЋ...";} +elseif ($user['level'] < 0) { echo "Вашего СѓСЂРѕРІРЅСЏ РЅРµ достаточно для использования этого заклинания!"; } +elseif ($effect['time']) {echo "РќР° персонаже уже есть заклятие Эликсир Р±СЂРѕРЅРё +5"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж РІ РґСЂСѓРіРѕР№ комнате!"; } +elseif (!$us['online']) {echo "Персонаж РЅРµ РІ РёРіСЂРµ!";} +elseif (rand(0,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие \"Эликсир Р±СЂРѕРЅРё +5\" РЅР° "{$_POST['target']}", СЃСЂРѕРєРѕРј 6 часов."); + + $user = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".(int)$user['id']."','Эликсир Р±СЂРѕРЅРё +5',".(time()+21600).",205);"); + echo "РќР° персонажа \"{$_POST['target']}\" наложено заклятие \"Эликсир Р±СЂРѕРЅРё +5\""; + $bet=1; + + +} else { + echo "Свиток рассыпался РІ ваших руках..."; + $bet=1; + } +?> diff --git a/magic/elikurona.php b/magic/elikurona.php new file mode 100644 index 0000000..f71938a --- /dev/null +++ b/magic/elikurona.php @@ -0,0 +1,31 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_escape_string($_POST['target'])."' LIMIT 1;")); + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '77' ;")); + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '204' LIMIT 1;")); + + if ($user['intel'] >= 0) { + $int=$magic['chanse'] + ($user['intel'] - 0)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + if ($user['battle'] > 0) {echo "РќРµ РІ Р±РѕСЋ...";} + elseif ($user['level'] < 0) { echo "Вашего СѓСЂРѕРІРЅСЏ РЅРµ достаточно для использования этого заклинания!"; } + elseif ($effect['time']) {echo "РќР° персонаже уже есть заклятие Эликсир СѓСЂРѕРЅР° +3"; } + elseif ($user['room'] != $us['room']) { echo "Персонаж РІ РґСЂСѓРіРѕР№ комнате!"; } + elseif (!$us['online']) {echo "Персонаж РЅРµ РІ РёРіСЂРµ!";} + elseif (rand(0,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие \"Эликсир СѓСЂРѕРЅР° +3\" РЅР° "{$_POST['target']}", СЃСЂРѕРєРѕРј 6 часов."); + + $user = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$user['id']."','Эликсир СѓСЂРѕРЅР° +3',".(time()+21600).",204);"); + echo "РќР° персонажа \"{$_POST['target']}\" наложено заклятие \"Эликсир СѓСЂРѕРЅР° +3\" "; + $bet=1; + + + } else { + echo "Свиток рассыпался РІ ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/fist_def.php b/magic/fist_def.php new file mode 100644 index 0000000..3229a4e --- /dev/null +++ b/magic/fist_def.php @@ -0,0 +1,27 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '22' LIMIT 1;")); + +$int=101; + +if ($user['battle'] > 0) {echo "Не в бою...";} +elseif ($effect['time']) {echo "На персонаже уже есть заклятие Защита от кулачного нападения"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж в другой комнате!"; } +elseif (!$us['online']) {echo "Персонаж не в игре!";} +elseif (rand(1,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие \"Защита от кулачного нападения\" на "{$_POST['target']}", сроком 2 часа."); + + $us = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$us['id']."','Защита от кулачного нападения',".(time()+7200).",22);"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие \"Защита от кулачного нападения\" "; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> diff --git a/magic/haos.php b/magic/haos.php new file mode 100644 index 0000000..592d28d --- /dev/null +++ b/magic/haos.php @@ -0,0 +1,145 @@ + '2' && $user['align'] < '3') {$ok=1;} + elseif (($user['align'] > '1.6' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] > '1.6' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("UPDATE `effects` SET `time`='$magictime' WHERE `id` = '{$tar['id']}' LIMIT 1;")) { + $ldtarget=$target; + $ldblock=1; + + switch($_POST['timer']) { + case "2": $magictime="два дня."; break; + case "3": $magictime="три дня."; break; + case "7": $magictime="неделя."; break; + case "14": $magictime="две недели."; break; + case "30": $magictime="месяц."; break; + case "60": $magictime="два месяца."; break; + case "365": $magictime="бессрочно."; break; + } + if ($user['sex'] == 1) {$action="отправил";} + else {$action="отправила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="Продление хаоса. $angel "{$user['login']}" $action в хаос "$target" сроком $magictime"; + $messch="Продление хаоса. $angel "{$user['login']}" $action в хаос "$target" сроком $magictime."; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $messch"); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Успешно наложено заклятие хаоса на персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете наложить заклятие хаоса на этого персонажа!"; + } + } + else { + echo "Вы не можете сократить срок наказания!"; + } + } + else { + $ok=0; + if ($user['align'] > '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] > '1.6' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] > '1.6' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$tar['id']."','Заклятие хаоса','$magictime',4);")) { + mysql_query("UPDATE `users` SET `align`='4', klan='', status='' WHERE `id` = {$tar['id']} LIMIT 1;"); + mysql_query("DELETE FROM `effects` where `type`='20' AND 'owner'= '{$tar['id']}' LIMIT 1;"); + $ldtarget=$target; + $ldblock=1; + + switch($_POST['timer']) { + case "2": $magictime="два дня."; break; + case "3": $magictime="три дня."; break; + case "7": $magictime="неделя."; break; + case "14": $magictime="две недели."; break; + case "30": $magictime="месяц."; break; + case "60": $magictime="два месяца."; break; + case "365": $magictime="бессрочно."; break; + } + if ($user['sex'] == 1) {$action="отправил";} + else {$action="отправила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action в хаос "$target" сроком $magictime"; + $messch="$angel "{$user['login']}" $action в хаос "$target" сроком $magictime."; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $messch"); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Успешно наложено заклятие хаоса на персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете наложить заклятие хаоса на этого персонажа!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/haos_off.php b/magic/haos_off.php new file mode 100644 index 0000000..e4addfb --- /dev/null +++ b/magic/haos_off.php @@ -0,0 +1,48 @@ + '2' && $user['align'] < '3') || ($user['align'] == '1.99')|| ($user['align'] == '1.98')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("DELETE FROM `effects` WHERE `owner` = '{$tar['id']}' and `type` = '4' LIMIT 1 ;")) { + mysql_query("UPDATE `users` SET `palcom` = '',`align`='0' WHERE `id` = {$tar['id']} LIMIT 1;"); + if ($user['sex'] == 1) {$action="выпустил";} + else {$action="выпустила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action из хаоса "$target".."; + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $mess"); + echo "Успешно снято заклятие хаоса с персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете снять заклятие хаоса с этого персонажа!"; + } + } + else { + echo "На персонаже \"$target\" нет заклятия хаоса "; + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/hidden.php b/magic/hidden.php new file mode 100644 index 0000000..1711f4d --- /dev/null +++ b/magic/hidden.php @@ -0,0 +1,26 @@ +Уровень маловат ...'; +} elseif($user['battle']) { + echo "Не в бою"; +} elseif(!$user['in_tower']) { + $magictime = time()+(60*60*2); + $eff = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '$user[id]' AND `type` = 1022 LIMIT 1")); + if($_POST['target'] == $user['login']) { + if($eff) { + mysql_query("UPDATE `effects` SET `time` = '$magictime' WHERE `id` = '$eff' LIMIT 1"); + echo 'Успешно наложено заклятие невидимости!'; + $bet = 1; + } else { + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`) values ('".$user['id']."', 'Заклятие невидимости', '{$magictime}', '1022')"); + mysql_query("UPDATE `users` SET `invis` = 1 WHERE `id` = '{$user['id']}' LIMIT 1"); + echo 'Успешно наложено заклятие невидимости!'; + $bet = 1; + } + } else { + echo 'Свиток может быть использован только на себя'; + } +} else { + echo "В Башне Смерти нельзя использовать свиток невидимости!"; +} +?> \ No newline at end of file diff --git a/magic/hiden.php b/magic/hiden.php new file mode 100644 index 0000000..d19cfb9 --- /dev/null +++ b/magic/hiden.php @@ -0,0 +1,23 @@ +Не в бою"; +} elseif(!$user['in_tower']) { + if($_SESSION['uid'] == null) { header("Location: ../index.php"); } + $magictime = time()+(60*60*2); + $eff = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '$user[id]' AND `type` = 1022 LIMIT 1")); + if($_POST['target'] == $user['login']) { + if($eff) { + mysql_query("UPDATE `effects` SET `time` = '$magictime' WHERE `id` = '$eff' LIMIT 1"); + echo 'Успешно наложено заклятие невидимости!'; + } elseif(isset($user['id'])) { + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`) values ('".$user['id']."', 'Заклятие невидимости', '{$magictime}', '1022')"); + mysql_query("UPDATE `users` SET `invis` = 1 WHERE `id` = '{$user['id']}' LIMIT 1"); + echo 'Успешно наложено заклятие невидимости!'; + } + } else { + echo 'Свиток может быть использован только на себя'; + } +} else { + echo "В Башне Смерти нельзя использовать свиток невидимости!"; +} +?> \ No newline at end of file diff --git a/magic/ident.php b/magic/ident.php new file mode 100644 index 0000000..2f608ad --- /dev/null +++ b/magic/ident.php @@ -0,0 +1,31 @@ + 0) { + echo "Не в бою..."; +} else { + + $magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '3' ;")); + if ($user['intel'] >= 2) { + $int=$magic['chanse'] + ($user['intel'] - 2)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = '{$target}' AND `needident` = 1 LIMIT 1;")); + if (mysql_query("UPDATE `inventory` SET `needident` = 0 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$target}\" удачно идентифицирован "; + $bet=1; + } else { + echo "Неправильное имя предмета"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/incmagic.php b/magic/incmagic.php new file mode 100644 index 0000000..9e85044 --- /dev/null +++ b/magic/incmagic.php @@ -0,0 +1,75 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 17) { + $int=80 + $user['intel'] - 17; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) <= $int OR !$_SESSION['scroll']) { + if(!$_SESSION['scroll']) { + $_SESSION['scroll'] = $_POST['target']; + ?>У вас нет такого свитка!"; + }elseif(!$dress OR $dress['type'] >= 12){ + echo "У вас нет такого предмета!"; + }else { + $incmagic = mysql_fetch_array(mysql_query("SELECT * FROM `magic` WHERE `id` = '{$svitok['magic']}' LIMIT 1;")); + if((!$incmagic['img'])||in_array($svitok['magic'],$forbidden)) { + echo "Этот свиток нельзя встраивать в предметы!"; + } else { + // встраиваем + destructitem($svitok['id']); + echo "Свиток \"".$svitok['name']."\" удачно встроен в \"".$dress['name']."\""; + mysql_query("UPDATE `inventory` SET + ".($dress['nintel']<$svitok['nintel']?"`nintel`='".$svitok['nintel']."',":"")." + ".($dress['nlevel']<$svitok['nlevel']?"`nlevel`='".$svitok['nlevel']."',":"")." + ".($dress['nmudra']<$svitok['nmudra']?"`nmudra`='".$svitok['nmudra']."',":"")." + ".($dress['ngray']<$svitok['ngray']?"`ngray`='".$svitok['ngray']."',":"")." + ".($dress['ndark']<$svitok['ndark']?"`ndark`='".$svitok['ndark']."',":"")." + ".($dress['nlight']<$svitok['nlight']?"`nlevel`='".$svitok['nlight']."',":"")." + `massa`=`massa`+1,`cost`=`cost`+'".$svitok['cost']."', `includemagic` = '".$svitok['magic']."', `includemagicdex` = '".$svitok['maxdur']."', `includemagicmax` = '".$svitok['maxdur']."', `includemagicname` = '".$svitok['name']."', `includemagicuses` = '100+".$user['intel']."', `includemagiccost` = '".($svitok['cost']/2)."' WHERE `id` = '{$dress['id']}' LIMIT 1;"); + $bet=1; + } + } + } + + + //$dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` LIKE '%Топор%' AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + //$svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на топоры +1' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + /*if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+1'), `minu` = `minu`+1, `maxu`=`maxu`+1, `cost` = `cost`+6, `ntopor` = `ntopor`+1, `nsila` = `nsila`+1 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +1. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + }*/ + } else + { + echo "Cвиток рассыпался в ваших руках..."; + $bet=1; + $_SESSION['scroll'] = null; + } +} +?> \ No newline at end of file diff --git a/magic/larec1.php b/magic/larec1.php new file mode 100644 index 0000000..3522a04 --- /dev/null +++ b/magic/larec1.php @@ -0,0 +1,160 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/larec2.php b/magic/larec2.php new file mode 100644 index 0000000..c1e9b0c --- /dev/null +++ b/magic/larec2.php @@ -0,0 +1,167 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/larec3.php b/magic/larec3.php new file mode 100644 index 0000000..325a907 --- /dev/null +++ b/magic/larec3.php @@ -0,0 +1,168 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/larec4.php b/magic/larec4.php new file mode 100644 index 0000000..97c0ce2 --- /dev/null +++ b/magic/larec4.php @@ -0,0 +1,207 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/ldadd.php b/magic/ldadd.php new file mode 100644 index 0000000..b359e23 --- /dev/null +++ b/magic/ldadd.php @@ -0,0 +1,53 @@ +Успешно изменена причина отправки в хаос/блокировки персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + $mess="Сообщение от ".$user['login'].": ".$_POST['ldtext']; + if (mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');")) { + $mess="Добавлена запись в дело "{$_POST['ldnick']}": $mess"; + mysql_query("INSERT INTO `paldelo`(`author`,`text`,`date`) VALUES ('".$_SESSION['uid']."','$mess','".time()."');"); + echo "Успешно добавлена запись в дело игрока \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + } + else { + echo "Вы не можете добавить запись в дело этого персонажа!"; + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> diff --git a/magic/luck.php b/magic/luck.php new file mode 100644 index 0000000..a714bf5 --- /dev/null +++ b/magic/luck.php @@ -0,0 +1,53 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if ($user['sex'] == 1) {$action="благословил";} + else {$action="благославила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Персонаж"; + } + + addch(" ".$angel." "{$user['login']}" ".$action." "{$_POST['target']}""); + //deltravma($owntravma['id']); + //echo "На персонажа \"{$_POST['target']}\" наложено заклятие молчания "; + $bet=1; + +?> += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '22' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '203' LIMIT 1;")); + if($user['invis'] == 1) { $user['login'] = 'невидимка'; }; + +if ($user['intel'] >= 15) { + $int=$magic['chanse'] + ($user['intel'] - 15)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] > 0) {echo "Не в бою...";} +elseif ($user['level'] < 4) { echo "Вашего уровня не достаточно для использования этого заклинания!"; } +elseif ($us['level'] < 4) { echo "Запрещено применять на персонажей до 4 уровня!"; } +elseif ($effect['time']) {echo "На персонаже уже есть заклятие Удача"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж в другой комнате!"; } +elseif (!$us['online']) {echo "Персонаж не в игре!";} +elseif (rand(1,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие \"Удача\" на "{$_POST['target']}", сроком 2 часа."); + + $us = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$us['id']."','Удача',".(time()+7200).",203);"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие \"Удача\" "; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/marry.php b/magic/marry.php new file mode 100644 index 0000000..03fc25a --- /dev/null +++ b/magic/marry.php @@ -0,0 +1,46 @@ +Персонаж ".$_POST['target']." уже состоит в браке!"; + } + elseif ($w['married']) { + echo "Персонаж ".$_POST['target1']." уже состоит в браке!"; + } + elseif ($m['sex'] != 1) { + echo "Неправильный пол жениха!"; + } + elseif ($w['sex'] != 0) { + echo "Неправильный пол невесты!"; + } + else { + if (($user['align'] > '2' && $user['align'] < '3') || ($user['align'] > '1.6' && $user['align'] < '2')) { + if (mysql_query("UPDATE `users` SET `married`='{$_POST['target1']}' WHERE `id` = '{$m['id']}' LIMIT 1;") && mysql_query("UPDATE `users` SET `married`='{$_POST['target']}' WHERE `id` = '{$w['id']}' LIMIT 1;")) { + $mess="Регистрация брака между "$muzh" и "$zhena", регистратор "{$user['login']}"."; + mysql_query("INSERT INTO `lichka`(`pers`,`text`,`date`) VALUES ('".$m['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `lichka`(`pers`,`text`,`date`) VALUES ('".$w['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`author`,`text`,`date`) VALUES ('".$_SESSION['uid']."','$mess','".time()."');"); + echo "Успешно зарегистрирован брак между \"$muzh\" и \"$zhena\"!"; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете зарегистрировать брак!"; + } + } + } + else { + echo "Персонаж \"$muzh\" или \"$zhena\" не существует!"; + } +?> diff --git a/magic/mfunctions.php b/magic/mfunctions.php new file mode 100644 index 0000000..40c758e --- /dev/null +++ b/magic/mfunctions.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/magic/note.php b/magic/note.php new file mode 100644 index 0000000..732b484 --- /dev/null +++ b/magic/note.php @@ -0,0 +1,16 @@ +'.date("H:i").' '.nick5($user['id'],$fbattle->my_class).' '.$action.': '.$mess.'
    '); +} +?> \ No newline at end of file diff --git a/magic/nybut.php b/magic/nybut.php new file mode 100644 index 0000000..63b6498 --- /dev/null +++ b/magic/nybut.php @@ -0,0 +1,12 @@ +Ваши жизни восстановлены..."; + $bet=1; +} +?> \ No newline at end of file diff --git a/magic/obezl.php b/magic/obezl.php new file mode 100644 index 0000000..a804208 --- /dev/null +++ b/magic/obezl.php @@ -0,0 +1,69 @@ +На персонаже \"$target\" уже есть заклятие обезличивания "; + } + else { + $ok=0; + if ($user['align'] > '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] > '1.6' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] > '1.6' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$tar['id']."','Заклятие обезличивания','$magictime',5);")) { + $ldtarget=$target; + switch($_POST['timer']) { + case "2": $magictime="два дня."; break; + case "3": $magictime="три дня."; break; + case "14": $magictime="две недели."; break; + case "30": $magictime="месяц."; break; + case "60": $magictime="два месяца."; break; + case "365": $magictime="бессрочно."; break; + } + if ($user['sex'] == 1) {$action="наложил";} + else {$action="наложила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action заклятие обезличивания на "$target" сроком $magictime"; + $messch="$angel "{$user['login']}" $action заклятие обезличивания на "$target" сроком $magictime."; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $messch"); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Успешно наложено заклятие обезличивания на персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете наложить заклятие обезличивания на этого персонажа!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/obezl_off.php b/magic/obezl_off.php new file mode 100644 index 0000000..e2ebe59 --- /dev/null +++ b/magic/obezl_off.php @@ -0,0 +1,53 @@ + '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] > '1.6' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] > '1.6' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("DELETE FROM`effects` WHERE `owner` = '{$tar['id']}' and `type` = '5' LIMIT 1 ;")) { + if ($user['sex'] == 1) {$action="снял";} + else {$action="сняла";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action заклятие обезличивания с "$target"."; + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $mess"); + echo "Успешно снято заклятие обезличивания с персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете снять заклятие обезличивания с этого персонажа!"; + } + } + else { + echo "На персонаже \"$target\" нет заклятия обезличивания "; + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/paket.php b/magic/paket.php new file mode 100644 index 0000000..ac09556 --- /dev/null +++ b/magic/paket.php @@ -0,0 +1,20 @@ +Вы вскрыли \"".$paket[2]."\". "; + destructitem($_GET['use']); + } else { + echo "Это не ваше..."; + } +} +?> \ No newline at end of file diff --git a/magic/pal_off.php b/magic/pal_off.php new file mode 100644 index 0000000..b38e9e3 --- /dev/null +++ b/magic/pal_off.php @@ -0,0 +1,48 @@ + '1' && $tar['align'] < '2') { + $ok=0; + if ($user['align'] > '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] == '1.99') && ($tar['align'] != '1.99')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("UPDATE `users` SET `align`='0' WHERE `id` = {$tar['id']} LIMIT 1;")) { + if ($user['sex'] == 1) {$action="лишил";} + else {$action="лишила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action "$target" звания "Паладина"."; + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + echo "Персонаж \"$target\" лишен звания \"Паладина\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете снять крест этого персонажа!"; + } + } + else { + echo "Персонаж \"$target\" не состоит в Ордене "; + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/payok.php b/magic/payok.php new file mode 100644 index 0000000..aa49c21 --- /dev/null +++ b/magic/payok.php @@ -0,0 +1,12 @@ +‚ы подкрепили свои силы..."; + $bet=1; +} +?> \ No newline at end of file diff --git a/magic/rom.php b/magic/rom.php new file mode 100644 index 0000000..67dbcee --- /dev/null +++ b/magic/rom.php @@ -0,0 +1,21 @@ +РЎ Вами что то произошло..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/scaner.php b/magic/scaner.php new file mode 100644 index 0000000..e82c87f --- /dev/null +++ b/magic/scaner.php @@ -0,0 +1,23 @@ + 0) { + echo "Не в бою..."; +} elseif (rand(1,100)!=1) { + //undressall($user['id']); + if ($_SESSION['uid'] == null) header("Location: index.php"); + global $rooms; + $rs = mysql_query("SELECT * FROM `users` WHERE `in_tower` = 1 ORDER by `room` DESC;"); + while($r = mysql_fetch_array($rs)) { + if($rt != $r['room']) { + $rt = $r['room']; + $rr .= "\n".$rooms[$r['room']].": "; + } + $rr .= $r['login'].", "; + } + echo "Отчет о сканировании у вас в рюкзаке"; + + mysql_query("INSERT INTO `inventory` (`bs`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`letter`,`maxdur`,`isrep`)VALUES('1','{$_SESSION['uid']}','Отчет о сканировании','200',1,0,'paper100.gif','{$rr}',1,0) ;"); + + $bet=1; +} +?> \ No newline at end of file diff --git a/magic/sharp_d1.php b/magic/sharp_d1.php new file mode 100644 index 0000000..698d363 --- /dev/null +++ b/magic/sharp_d1.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=51 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%дубинка%' OR `name` LIKE '%дубина%' OR `name` LIKE '%булава%' OR `name` LIKE '%Клевец%' OR `name` LIKE '%молот%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на дубины +1' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+1'), `minu` = `minu`+1, `maxu`=`maxu`+1, `cost` = `cost`+6, `ndubina` = `ndubina`+1, `nlovk` = `nlovk`+1 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +1. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_d11.php b/magic/sharp_d11.php new file mode 100644 index 0000000..568c2fe --- /dev/null +++ b/magic/sharp_d11.php @@ -0,0 +1,36 @@ + 0) { + echo "РќРµ РІ Р±РѕСЋ..."; +} else { + if ($user['intel'] >= 1) { + $int=91 + $user['intel'] - 1; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%РґСѓР±РёРЅРєР°%' OR `name` LIKE '%РґСѓР±РёРЅР°%' OR `name` LIKE '%булава%' OR `name` LIKE '%Клевец%' OR `name` LIKE '%молот%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка РЅР° РґСѓР±РёРЅС‹ +11' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+11'), `minu` = `minu`+11, `maxu`=`maxu`+11, `cost` = `cost`+72, `ndubina` = `ndubina`+11, `nlovk` = `nlovk`+11 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +11. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное РёРјСЏ предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_d2.php b/magic/sharp_d2.php new file mode 100644 index 0000000..0330246 --- /dev/null +++ b/magic/sharp_d2.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=61 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%дубинка%' OR `name` LIKE '%дубина%' OR `name` LIKE '%булава%' OR `name` LIKE '%Клевец%' OR `name` LIKE '%молот%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на дубины +2' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+2'), `cost` = `cost`+12, `minu` = `minu`+2, `maxu`=`maxu`+2, `ndubina` = `ndubina`+2, `nlovk` = `nlovk`+2 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +2. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_d3.php b/magic/sharp_d3.php new file mode 100644 index 0000000..3538bed --- /dev/null +++ b/magic/sharp_d3.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=71 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%дубинка%' OR `name` LIKE '%дубина%' OR `name` LIKE '%булава%' OR `name` LIKE '%Клевец%' OR `name` LIKE '%молот%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на дубины +3' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+3'), `minu` = `minu`+3, `maxu`=`maxu`+3, `cost` = `cost`+18, `ndubina` = `ndubina`+3, `nlovk` = `nlovk`+3 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +3. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_d4.php b/magic/sharp_d4.php new file mode 100644 index 0000000..206ed1c --- /dev/null +++ b/magic/sharp_d4.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=81 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%дубинка%' OR `name` LIKE '%дубина%' OR `name` LIKE '%булава%' OR `name` LIKE '%Клевец%' OR `name` LIKE '%молот%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на дубины +4' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+4'), `minu` = `minu`+4, `maxu`=`maxu`+4, `cost` = `cost`+24, `ndubina` = `ndubina`+4, `nlovk` = `nlovk`+4 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +4. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_d5.php b/magic/sharp_d5.php new file mode 100644 index 0000000..78d3899 --- /dev/null +++ b/magic/sharp_d5.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=91 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%дубинка%' OR `name` LIKE '%дубина%' OR `name` LIKE '%булава%' OR `name` LIKE '%Клевец%' OR `name` LIKE '%молот%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на дубины +5' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+5'), `minu` = `minu`+5, `maxu`=`maxu`+5, `cost` = `cost`+30, `ndubina` = `ndubina`+5, `nlovk` = `nlovk`+5 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +5. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_m1.php b/magic/sharp_m1.php new file mode 100644 index 0000000..3edfdae --- /dev/null +++ b/magic/sharp_m1.php @@ -0,0 +1,35 @@ + 0) { + echo "Не в бою..."; +} else + if ($user['intel'] >= 4) { + $int=51 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%Меч%' OR `name` LIKE '%Жало%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на мечи +1' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+1'), `minu` = `minu`+1, `maxu`=`maxu`+1, `nmech` = `nmech`+1, `cost` = `cost`+6, `nvinos` = `nvinos`+1 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +1. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/sharp_m11.php b/magic/sharp_m11.php new file mode 100644 index 0000000..9119494 --- /dev/null +++ b/magic/sharp_m11.php @@ -0,0 +1,36 @@ + 0) { + echo "РќРµ РІ Р±РѕСЋ..."; +} else + if ($user['intel'] >= 1) { + $int=91 + $user['intel'] - 1; + if ($int>100){$int=100;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%Меч%' OR `name` LIKE '%Жало%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка РЅР° мечи +11' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+11'), `minu` = `minu`+11, `maxu`=`maxu`+11, `nmech` = `nmech`+11, `cost` = `cost`+72, `nvinos` = `nvinos`+5 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +11. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное РёРјСЏ предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/sharp_m2.php b/magic/sharp_m2.php new file mode 100644 index 0000000..3957a80 --- /dev/null +++ b/magic/sharp_m2.php @@ -0,0 +1,35 @@ + 0) { + echo "Не в бою..."; +} else + if ($user['intel'] >= 4) { + $int=61 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%Меч%' OR `name` LIKE '%Жало%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на мечи +2' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+2'), `minu` = `minu`+2, `maxu`=`maxu`+2, `nmech` = `nmech`+2, `cost` = `cost`+12, `nvinos` = `nvinos`+2 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +2. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/sharp_m3.php b/magic/sharp_m3.php new file mode 100644 index 0000000..dfa367b --- /dev/null +++ b/magic/sharp_m3.php @@ -0,0 +1,34 @@ + 0) { + echo "Не в бою..."; +} else + if ($user['intel'] >= 4) { + $int=71 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%Меч%' OR `name` LIKE '%Жало%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на мечи +3' AND `owner` = '{$user['id']}' LIMIT 1;")); + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `cost` = `cost`+18,`name` = CONCAT(`name`,'+3'), `minu` = `minu`+3, `maxu`=`maxu`+3, `nmech` = `nmech`+3, `nvinos` = `nvinos`+3 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +3. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/sharp_m4.php b/magic/sharp_m4.php new file mode 100644 index 0000000..d01dd0c --- /dev/null +++ b/magic/sharp_m4.php @@ -0,0 +1,35 @@ + 0) { + echo "Не в бою..."; +} else + if ($user['intel'] >= 4) { + $int=81 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` (`name` LIKE '%Меч%' OR `name` LIKE '%Жало%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на мечи +4' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+4'), `minu` = `minu`+4, `maxu`=`maxu`+4, `cost` = `cost`+24, `nmech` = `nmech`+4, `nvinos` = `nvinos`+4 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +4. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/sharp_m5.php b/magic/sharp_m5.php new file mode 100644 index 0000000..de441aa --- /dev/null +++ b/magic/sharp_m5.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else + if ($user['intel'] >= 4) { + $int=91 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%Меч%' OR `name` LIKE '%Жало%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на мечи +5' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+5'), `minu` = `minu`+5, `maxu`=`maxu`+5, `nmech` = `nmech`+5, `cost` = `cost`+30, `nvinos` = `nvinos`+5 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +5. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/sharp_n1.php b/magic/sharp_n1.php new file mode 100644 index 0000000..c4511ef --- /dev/null +++ b/magic/sharp_n1.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=51 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%кастет%' OR `name` LIKE '%нож%' OR `name` LIKE '%кинжал%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на ножи +1' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+1'), `minu` = `minu`+1, `maxu`=`maxu`+1, `cost` = `cost`+6, `nnoj` = `nnoj`+1, `ninta` = `ninta`+1 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +1. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_n11.php b/magic/sharp_n11.php new file mode 100644 index 0000000..e8210d1 --- /dev/null +++ b/magic/sharp_n11.php @@ -0,0 +1,36 @@ + 0) { + echo "РќРµ РІ Р±РѕСЋ..."; +} else { + if ($user['intel'] >= 1) { + $int=91 + $user['intel'] - 1; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%кастет%' OR `name` LIKE '%РЅРѕР¶%' OR `name` LIKE '%кинжал%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка РЅР° ножи +11' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+11'), `minu` = `minu`+11, `maxu`=`maxu`+11, `cost` = `cost`+72, `nnoj` = `nnoj`+1, `ninta` = `ninta`+5 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +11. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное РёРјСЏ предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_n2.php b/magic/sharp_n2.php new file mode 100644 index 0000000..1450bbe --- /dev/null +++ b/magic/sharp_n2.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=61 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%кастет%' OR `name` LIKE '%нож%' OR `name` LIKE '%кинжал%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на ножи +2' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+2'), `cost` = `cost`+12, `minu` = `minu`+2, `maxu`=`maxu`+2, `nnoj` = `nnoj`+2, `ninta` = `ninta`+2 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +2. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_n3.php b/magic/sharp_n3.php new file mode 100644 index 0000000..9da5fc5 --- /dev/null +++ b/magic/sharp_n3.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=71 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%кастет%' OR `name` LIKE '%нож%' OR `name` LIKE '%кинжал%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на ножи +3' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+3'), `minu` = `minu`+3, `maxu`=`maxu`+3, `cost` = `cost`+18, `nnoj` = `nnoj`+3, `ninta` = `ninta`+3 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +3. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_n4.php b/magic/sharp_n4.php new file mode 100644 index 0000000..b0421a6 --- /dev/null +++ b/magic/sharp_n4.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=81 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%кастет%' OR `name` LIKE '%нож%' OR `name` LIKE '%кинжал%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на ножи +4' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+4'), `minu` = `minu`+4, `maxu`=`maxu`+4, `cost` = `cost`+24, `nnoj` = `nnoj`+4, `ninta` = `ninta`+4 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +4. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_n5.php b/magic/sharp_n5.php new file mode 100644 index 0000000..ed0cdfe --- /dev/null +++ b/magic/sharp_n5.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=91 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%кастет%' OR `name` LIKE '%нож%' OR `name` LIKE '%кинжал%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на ножи +5' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+5'), `minu` = `minu`+5, `maxu`=`maxu`+5, `cost` = `cost`+30, `nnoj` = `nnoj`+5, `ninta` = `ninta`+5 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +5. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_t1.php b/magic/sharp_t1.php new file mode 100644 index 0000000..968f35e --- /dev/null +++ b/magic/sharp_t1.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=51 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `(`name` LIKE '%Топор%' OR `name` LIKE '%Ледокол%' OR `name` LIKE '%Секира%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на топоры +1' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+1'), `minu` = `minu`+1, `maxu`=`maxu`+1, `cost` = `cost`+6, `ntopor` = `ntopor`+1, `nsila` = `nsila`+1 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +1. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_t11.php b/magic/sharp_t11.php new file mode 100644 index 0000000..b334a9f --- /dev/null +++ b/magic/sharp_t11.php @@ -0,0 +1,36 @@ + 0) { + echo "РќРµ РІ Р±РѕСЋ..."; +} else { + if ($user['intel'] >= 1) { + $int=91 + $user['intel'] - 1; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%РўРѕРїРѕСЂ%' OR `name` LIKE '%Ледокол%' OR `name` LIKE '%Секира%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка РЅР° топоры +11' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+11'), `minu` = `minu`+11, `maxu`=`maxu`+11, `cost` = `cost`+72, `ntopor` = `ntopor`+1, `nsila` = `nsila`+5 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +11. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное РёРјСЏ предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_t2.php b/magic/sharp_t2.php new file mode 100644 index 0000000..9ce17a6 --- /dev/null +++ b/magic/sharp_t2.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=61 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `(`name` LIKE '%Топор%' OR `name` LIKE '%Ледокол%' OR `name` LIKE '%Секира%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на топоры +2' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+2'), `cost` = `cost`+12, `minu` = `minu`+2, `maxu`=`maxu`+2, `ntopor` = `ntopor`+2, `nsila` = `nsila`+2 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +2. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_t3.php b/magic/sharp_t3.php new file mode 100644 index 0000000..6afe140 --- /dev/null +++ b/magic/sharp_t3.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=71 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `(`name` LIKE '%Топор%' OR `name` LIKE '%Ледокол%' OR `name` LIKE '%Секира%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на топоры +3' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+3'), `minu` = `minu`+3, `maxu`=`maxu`+3, `cost` = `cost`+18, `ntopor` = `ntopor`+3, `nsila` = `nsila`+3 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +3. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_t4.php b/magic/sharp_t4.php new file mode 100644 index 0000000..8952bd5 --- /dev/null +++ b/magic/sharp_t4.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=81 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1,100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%Топор%' OR `name` LIKE '%Ледокол%' OR `name` LIKE '%Секира%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на топоры +4' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+4'), `minu` = `minu`+4, `maxu`=`maxu`+4, `cost` = `cost`+24, `ntopor` = `ntopor`+4, `nsila` = `nsila`+4 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +4. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sharp_t5.php b/magic/sharp_t5.php new file mode 100644 index 0000000..dc8bd02 --- /dev/null +++ b/magic/sharp_t5.php @@ -0,0 +1,36 @@ + 0) { + echo "Не в бою..."; +} else { + if ($user['intel'] >= 4) { + $int=91 + $user['intel'] - 4; + if ($int>100){$int=100;} + } + else {$int=0;} + if (rand(1, 100) < $int) { + + if ($_SESSION['uid'] == null) header("Location: index.php"); + + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE (`name` LIKE '%Топор%' OR `name` LIKE '%Ледокол%' OR `name` LIKE '%Секира%') AND `owner` = '{$user['id']}' AND `name` = '{$_POST['target']}' AND `sharped` = 0 LIMIT 1;")); + $svitok = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `name` = 'Заточка на топоры +5' AND `owner` = '{$user['id']}' LIMIT 1;")); + + + if ($dress && $svitok) { + if (mysql_query("UPDATE `inventory` SET `sharped` = 1, `name` = CONCAT(`name`,'+5'), `minu` = `minu`+5, `maxu`=`maxu`+5, `cost` = `cost`+30, `ntopor` = `ntopor`+5, `nsila` = `nsila`+5 WHERE `id` = {$dress['id']} LIMIT 1;")) { + echo "Предмет \"{$_POST['target']}\" удачно заточен +5. "; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } else { + echo "Неправильное имя предмета или неправильный свиток"; + } + } else + { + echo "Неудачно..."; + $bet=1; + } +} +?> \ No newline at end of file diff --git a/magic/sleep.php b/magic/sleep.php new file mode 100644 index 0000000..81e8095 --- /dev/null +++ b/magic/sleep.php @@ -0,0 +1,113 @@ +На персонаже \"$target\" уже есть заклятие молчания "; + } + else { + $ok=0; + if ($user['align'] > '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] > '1' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] > '1' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + elseif (($user['align'] > '7' && $user['align'] < '8') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$tar['id']."','Заклятие молчания','$magictime',2);")) { + $ldtarget=$target; + switch($_POST['timer']) { + case "15": $magictime="15 мин."; break; + case "30": $magictime="30 мин."; break; + case "60": $magictime="1 час."; break; + case "180": $magictime="3 часа."; break; + case "360": $magictime="6 часов."; break; + case "720": $magictime="12 часов."; break; + case "1440": $magictime="1 сутки."; break; + } + if ($user['sex'] == 1) {$action="наложил";} + else {$action="наложила";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action заклятие молчания на "$target" сроком $magictime"; + $messch="$angel "{$user['login']}" $action заклятие молчания на "$target" сроком $magictime"; + + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $messch"); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Успешно наложено заклятие молчания на персонажа \"$target\""; + $outok=1; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете наложить заклятие молчания на этого персонажа!"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/sleep15.php b/magic/sleep15.php new file mode 100644 index 0000000..ead9048 --- /dev/null +++ b/magic/sleep15.php @@ -0,0 +1,35 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '14' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '2' LIMIT 1;")); + +if ($user['intel'] >= 1) { + $int=$magic['chanse'] + ($user['intel'] - 1)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] > 0) {echo "Не в бою...";} +elseif (($user['room'] > 2000) && ($user['room'] < 2100)) {echo "Не в Проходе...";} +elseif ($effect['time']) {echo "На персонаже уже есть заклятие молчания"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж в другой комнате!"; } +elseif (($user['level'] < $us['level']) && ($user['align'] < 1) && ($user['align'] > 2.99)) { echo "Накладывать молчанку можно только на игрока равного или младшего уровнем!"; } +elseif (!$us['online']) {echo "Персонаж не в игре!";} +elseif ($us['deal'] == 1) { echo "Вы не можете наложить заклятие молчания на этого персонажа"; } +elseif ($us['align'] > 2 && $us['align'] < 3) { echo "Решились поднять руку на Ангела?.."; } +elseif (rand(1,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие молчания на "{$_POST['target']}", сроком 15 мин."); + + $user = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$user['id']."','Заклятие молчания',".(time()+900).",2);"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие молчания "; + $bet=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/sleep30.php b/magic/sleep30.php new file mode 100644 index 0000000..ec13a61 --- /dev/null +++ b/magic/sleep30.php @@ -0,0 +1,35 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '15' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '2' LIMIT 1;")); + +if ($user['intel'] >= 1) { + $int=$magic['chanse'] + ($user['intel'] - 1)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] > 0) {echo "Не в бою...";} +elseif (($user['room'] > 2000) && ($user['room'] < 2100)) {echo "Не в Проходе...";} +elseif ($effect['time']) {echo "На персонаже уже есть заклятие молчания"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж в другой комнате!"; } +elseif (($user['level'] < $us['level']) && ($user['align'] < 1) && ($user['align'] > 2.99)) { echo "Накладывать молчанку можно только на игрока равного или младшего уровнем!"; } +elseif (!$us['online']) {echo "Персонаж не в игре!";} +elseif ($us['deal'] == 1) { echo "Вы не можете наложить заклятие молчания на этого персонажа"; } +elseif ($us['align'] > 2 && $us['align'] < 3) { echo "Решились поднять руку на Ангела?.."; } +elseif (rand(1,100) < $int) { + + addch("Персонаж "{$user['login']}" наложил заклятие молчания на "{$_POST['target']}", сроком 30 мин."); + + $user = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$user['id']."','Заклятие молчания',".(time()+1800).",2);"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие молчания "; + $bet=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/sleep_off.php b/magic/sleep_off.php new file mode 100644 index 0000000..353445a --- /dev/null +++ b/magic/sleep_off.php @@ -0,0 +1,54 @@ + 2000) && ($user['room'] < 2100)) {echo "Не в Проходе...";} + else { + $tar = mysql_fetch_array(mysql_query("SELECT `id`,`align` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $target=$_POST['target']; + if ($tar['id']) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$tar['id']}' and `type` = '2' LIMIT 1;")); + if ($effect['time']) { + $ok=0; + if ($user['align'] > '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] > '1' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] > '1' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("DELETE FROM`effects` WHERE `owner` = '{$tar['id']}' and `type` = '2' LIMIT 1 ;")) { + if ($user['sex'] == 1) {$action="снял";} + else {$action="сняла";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action заклятие молчания с "$target"."; + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $mess"); + echo "Успешно снято заклятие молчания с персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете снять заклятие молчания с этого персонажа!"; + } + } + else { + echo "На персонаже \"$target\" нет заклятия молчания "; + } + } + else { + echo "Персонаж \"$target\" не существует!"; + }} +?> \ No newline at end of file diff --git a/magic/sleepf.php b/magic/sleepf.php new file mode 100644 index 0000000..47c6a0c --- /dev/null +++ b/magic/sleepf.php @@ -0,0 +1,73 @@ +На персонаже \"$target\" уже есть заклятие форумного молчания "; + } else { + $ok = 0; + if($user['align'] > '2' && $user['align'] < '3') { + $ok = 1; + } elseif (($user['align'] > '1.2' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok = 1; + } elseif (($user['align'] > '1.2' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok = 1; + } + + if($ok == 1) { + if(mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`) values ('".$tar['id']."', 'Заклятие форумного молчания', '$magictime', '3')")) { + $ldtarget = $target; + + switch($_POST['timer']) { + case "15": $magictime = "15 мин."; break; + case "30": $magictime = "30 мин."; break; + case "60": $magictime = "1 час."; break; + case "180": $magictime = "3 часа."; break; + case "360": $magictime = "6 часов."; break; + case "720": $magictime = "12 часов."; break; + case "1440": $magictime = "1 сутки."; break; + case "4320": $magictime = "3 суток."; break; + case "10080": $magictime = "1 неделя."; break; + } + if($user['sex'] == 1) { $action = "наложил"; } else { $action = "наложила"; } + + if($user['align'] > '2' && $user['align'] < '3') { + $angel = "Ангел"; + } elseif($user['align'] > '1' && $user['align'] < '2') { + $angel = "Паладин"; + } + + $mess = "$angel "{$user['login']}" $action заклятие форумного молчания на "$target" сроком $magictime"; + $messch = "$angel "{$user['login']}" $action заклятие форумного молчания на "$target" сроком $magictime"; + mysql_query("INSERT INTO `lichka`(`pers`, `text`, `date`) VALUES ('".$tar['id']."', '$mess', '".time()."')"); + mysql_query("INSERT INTO `paldelo`(`author`, `text`, `date`) VALUES ('".$_SESSION['uid']."', '$mess', '".time()."')"); + addch(" $messch"); + addchp($coma[rand(0, count($coma)-1)], "Комментатор"); + echo "Успешно наложено заклятие форумного молчания на персонажа \"$target\""; + } else { + echo "Произошла ошибка!"; + } + } else { + echo "Вы не можете наложить заклятие форумного молчания на этого персонажа!"; + } + } +} else { + echo "Персонаж \"$target\" не существует!"; +} +?> \ No newline at end of file diff --git a/magic/sleepf_off.php b/magic/sleepf_off.php new file mode 100644 index 0000000..b8cb439 --- /dev/null +++ b/magic/sleepf_off.php @@ -0,0 +1,53 @@ + '2' && $user['align'] < '3') { + $ok=1; + } + elseif (($user['align'] > '1.2' && $user['align'] < '2') && ($tar['align'] > '1' && $tar['align'] < '2') && ($user['align'] > $tar['align'])) { + $ok=1; + } + elseif (($user['align'] > '1.2' && $user['align'] < '2') && !($tar['align'] > '2' && $tar['align'] < '3') && !($tar['align'] > '1' && $tar['align'] < '2')) { + $ok=1; + } + if ($ok == 1) { + if (mysql_query("DELETE FROM`effects` WHERE `owner` = '{$tar['id']}' and `type` = '3' LIMIT 1 ;")) { + if ($user['sex'] == 1) {$action="снял";} + else {$action="сняла";} + if ($user['align'] > '2' && $user['align'] < '3') { + $angel="Ангел"; + } + elseif ($user['align'] > '1' && $user['align'] < '2') { + $angel="Паладин"; + } + $mess="$angel "{$user['login']}" $action заклятие форумного молчания с "$target"."; + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$tar['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + addch(" $mess"); + echo "Успешно снято заклятие форумного молчания с персонажа \"$target\""; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете снять заклятие форумного молчания с этого персонажа!"; + } + } + else { + echo "На персонаже \"$target\" нет заклятия форумного молчания "; + } + } + else { + echo "Персонаж \"$target\" не существует!"; + } +?> \ No newline at end of file diff --git a/magic/stop.php b/magic/stop.php new file mode 100644 index 0000000..01f872d --- /dev/null +++ b/magic/stop.php @@ -0,0 +1,43 @@ +невидимка'; }; + if (($user['room'] > 2000) && ($user['room'] < 2100)) {echo "Не в Проходе...";} + else { + $magictime = (time()+10*60); + $target=$_POST['target']; + $tar = mysql_fetch_array(mysql_query("SELECT `id`,`align`,`room` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if ($tar['id']) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$tar['id']}' and `type` = '10' LIMIT 1;")); + if ($effect['time']) { + echo "На персонаже \"$target\" уже есть путы "; + } + else { + + if ($tar['room']==$user['room']) { + if (mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$tar['id']."','Путы','$magictime',10);")) { + $ldtarget=$target; + + if ($user['sex'] == 1) {$action="наложил";} + else {$action="наложила";} + + $messch="Персонаж "{$user['login']}" $action путы на "$target""; + + addch(" $messch"); + echo "Вы наложили путы на персонажа \"$target\""; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Персонаж в другой комнате"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + }} +?> diff --git a/magic/stop_200.php b/magic/stop_200.php new file mode 100644 index 0000000..789ce19 --- /dev/null +++ b/magic/stop_200.php @@ -0,0 +1,43 @@ +невидимка'; }; + if (($user['room'] > 2000) && ($user['room'] < 2100)) {echo "Не в Проходе...";} + else { + $magictime = (time()+10*60*10); + $target=$_POST['target']; + $tar = mysql_fetch_array(mysql_query("SELECT `id`,`align`,`room` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + if ($tar['id']) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$tar['id']}' and `type` = '10' LIMIT 1;")); + if ($effect['time']) { + echo "На персонаже \"$target\" уже есть путы "; + } + else { + + if ($tar['room']==$user['room']) { + if (mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$tar['id']."','Паралич','$magictime',10);")) { + $ldtarget=$target; + + if ($user['sex'] == 1) {$action="паролизовал";} + else {$action="паролизовала";} + + $messch="Персонаж "{$user['login']}" $action "$target""; + + addch(" $messch"); + echo "Вы парализовали персонажа \"$target\""; + $bet=1; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Персонаж в другой комнате"; + } + } + } + else { + echo "Персонаж \"$target\" не существует!"; + }} +?> diff --git a/magic/sunduk.php b/magic/sunduk.php new file mode 100644 index 0000000..875a15c --- /dev/null +++ b/magic/sunduk.php @@ -0,0 +1,53 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk1.php b/magic/sunduk1.php new file mode 100644 index 0000000..2f07883 --- /dev/null +++ b/magic/sunduk1.php @@ -0,0 +1,53 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk2.php b/magic/sunduk2.php new file mode 100644 index 0000000..b1f916b --- /dev/null +++ b/magic/sunduk2.php @@ -0,0 +1,53 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk3.php b/magic/sunduk3.php new file mode 100644 index 0000000..43816fa --- /dev/null +++ b/magic/sunduk3.php @@ -0,0 +1,53 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk4.php b/magic/sunduk4.php new file mode 100644 index 0000000..45f51c0 --- /dev/null +++ b/magic/sunduk4.php @@ -0,0 +1,53 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk5.php b/magic/sunduk5.php new file mode 100644 index 0000000..0fce311 --- /dev/null +++ b/magic/sunduk5.php @@ -0,0 +1,53 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk6.php b/magic/sunduk6.php new file mode 100644 index 0000000..71b1478 --- /dev/null +++ b/magic/sunduk6.php @@ -0,0 +1,44 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk7.php b/magic/sunduk7.php new file mode 100644 index 0000000..063c76f --- /dev/null +++ b/magic/sunduk7.php @@ -0,0 +1,30 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk8.php b/magic/sunduk8.php new file mode 100644 index 0000000..9f366f0 --- /dev/null +++ b/magic/sunduk8.php @@ -0,0 +1,30 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/sunduk9.php b/magic/sunduk9.php new file mode 100644 index 0000000..cbc6ba5 --- /dev/null +++ b/magic/sunduk9.php @@ -0,0 +1,30 @@ +Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; +$bet=1; +} +?> \ No newline at end of file diff --git a/magic/svitok2.php b/magic/svitok2.php new file mode 100644 index 0000000..1e1b8d0 --- /dev/null +++ b/magic/svitok2.php @@ -0,0 +1,32 @@ += '$from' and `id` <= '$to' ;"); + while ($us = mysql_fetch_array($u)) + { + print "a=$i"; + $i=$us['id']; + mysql_query("insert into `inventory` (name, duration, maxdur, cost, img, owner, magic, type, present, massa, otdel ) values ('Букет Подснежников','0','2','0','1marta_gift4.gif','".$i."','48','50','Администрация','1','6') ;"); + } + } + + ?> + +
    + от + до + + +
    \ No newline at end of file diff --git a/magic/un_align.php b/magic/un_align.php new file mode 100644 index 0000000..3b726f5 --- /dev/null +++ b/magic/un_align.php @@ -0,0 +1,15 @@ += 3) { + $int=$magic['chanse'] + ($user['intel'] - 3)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + //$nb = mysql_fetch_array(mysql_query("SELECT count(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (клон%';")); + //mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$user['login']." (клон ".($nb[0]+1).")','".$user['id']."','".$user['battle']."','".$user['hp']."');"); + //$bot = mysql_insert_id(); + $bot = mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."';")); + if($bot && strpos($_POST['target'],"(клон" )) { + $bot = $bot[0]; + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle as $k => $v) { + unset($battle[$k][$bot]); + } + + foreach($battle[$user['id']] as $k => $v) { + $battle[$k][$bot] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + $t2 = explode(";",$bd['t2']); + foreach($t1 as $k=>$v) { + if($v==$bot) { + unset($t1[$k]); + } + } + foreach($t2 as $k=>$v) { + if($v==$bot) { + unset($t2[$k]); + } + } + // проставлЯем кто-где + if (in_array ($user['id'],$t1)) { + $ttt = 1; + $t1[] = $bot; + } else { + $ttt = 2; + $t2[] = $bot; + } + + $t1 = implode(";",$t1); + $t2 = implode(";",$t2); + + //mysql_query('UPDATE `logs` SET `log` = CONCAT(`log`,\''.date("H:i").' '.nick5($user['id'],"B".$ttt).' переманил клона '.nick5($bot,"B").' на свою сторону
    \') WHERE `id` = '.$user['battle'].';'); + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' переманил клона '.nick5($bot,"B").' на свою сторону
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t1` = \''.$t1.'\', `t2` = \''.$t2.'\' WHERE `id` = '.$user['battle'].' ;'); + + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1;"); + mysql_query("UPDATE bots set 'owner'='".$user['id']."' WHERE `name` = '".$_POST['target']."';"); + + $bet=1; + echo "‚ы переманили клона"; + } else { + echo "Ќет такого клона"; + } + } else { + echo "свиток рассыпалсЯ в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/unmarry.php b/magic/unmarry.php new file mode 100644 index 0000000..90c7c30 --- /dev/null +++ b/magic/unmarry.php @@ -0,0 +1,46 @@ +Персонаж ".$_POST['target']." не состоит в браке с ".$_POST['target1']."!"; + } + elseif ($w['married'] != $_POST['target']) { + echo "Персонаж ".$_POST['target1']." не состоит в браке с ".$_POST['target']."!"; + } + elseif ($m['sex'] != 1) { + echo "Неправильный пол жениха!"; + } + elseif ($w['sex'] != 0) { + echo "Неправильный пол невесты!"; + } + else { + if (($user['align'] > '2' && $user['align'] < '3') || ($user['align'] > '1.6' && $user['align'] < '2')) { + if (mysql_query("UPDATE `users` SET `married`='' WHERE `id` = '{$m['id']}' LIMIT 1;") && mysql_query("UPDATE `users` SET `married`='' WHERE `id` = '{$w['id']}' LIMIT 1;")) { + $mess="Расторжение брака между "$muzh" и "$zhena", регистратор "{$user['login']}"."; + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$m['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$w['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + echo "Успешно расторгнут брак между \"$muzh\" и \"$zhena\"!"; + } + else { + echo "Произошла ошибка!"; + } + } + else { + echo "Вы не можете расторгнуть брак!"; + } + } + } + else { + echo "Персонаж \"$muzh\" или \"$zhena\" не существует!"; + } +?> diff --git a/magic/usability_klan/attack.php b/magic/usability_klan/attack.php new file mode 100644 index 0000000..f15863b --- /dev/null +++ b/magic/usability_klan/attack.php @@ -0,0 +1,138 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + +$owntravma = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = ".$us['id']." AND (`type` = 13 OR `type` = 12 OR `type` = 14) LIMIT 1")); +$us_b = mysql_fetch_array(mysql_query("SELECT `type`, `open` FROM `battle` WHERE `id` = '{$us['battle']}' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `attack` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); +if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = $user['login']; } +if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick7($user['id']); } +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +if($vip['attack'] <= 0) { + echo "Магия исчерпала себя ..."; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif($us_b['type'] == 3 || $us_b['type'] == 5) { + echo "Запрещено входить в хаотический бой!"; +} elseif($us['battle'] > 0 && $us_b['open'] == 0) { + echo "Бой закрыт для вмешательства!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['align'] == 2.99) { + echo "Не атакуйте Администратора!"; +} elseif($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] == 45) { + echo "Нападения в этой локации запрещены!"; +} elseif($us['align'] == 2.9) { + echo "Нападение на Ангела строго запрещено!"; +} elseif($us['align'] > 1 && $us['align'] < 2) { + echo "Нападение на Паладинов запрещено!"; +} elseif($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} else { + if($user['sex'] == 1) { $action = "напал"; } else { $action = "напала"; } + if($user['align'] > '2' && $user['align'] < '3') { $angel = "Служитель закона"; } elseif ($user['align'] > '1' && $user['align'] < '2') { $angel = "Персонаж"; } + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + if($jert['id'] != $user['id']) { + addch(" {$lo}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp('Внимание! На вас '.$action.' '.$lo.'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($jert['id']).'{[]}'); + + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot = 1; + } + + if($jert['battle'] > 0) { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($jert['id'], $t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + + addch("".$los." вмешался в поединок »».", $user['room']); + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($jert['battle'], ''.date("H:i").' '.$lod.' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = "'.$jert['battle'].'" LIMIT 1'); + mysql_query("UPDATE users SET `battle` = ".$jert['battle'].", `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location:fbattle.php"); + } else { + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1")); + if($fict1) { $team = 1; } elseif($fict2) { $team = 2; } + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id` = '".$jert['zayavka']."' LIMIT 1")); + $teams = str_replace($jert['id'].";", "", $z[0]); + mysql_query("UPDATE `zayavka` SET `team{$team}` = '{$teams}' WHERE `id` = {$jert['zayavka']} LIMIT 1"); + } + + if($bot) { + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) values ('Архивариус', '83', '', '".$jert['hp']."')"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0, 0, time()); + $teams[$jert['id']][$user['id']] = array(0, 0, time()); + $sv = array(3, 4, 5); + + mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`, `open`) VALUES ('".serialize($teams)."', '".$sv[rand(0, 2)]."', '1', '0', '".$user['id']."', '".$jert['id']."', '".time()."', '".time()."', '0', '1')"); + $id = mysql_insert_id(); + + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } + + if($user['invis'] == 1) { $ld = 'невидимка'; } else { $ld = nick3($user['id']); } + if($user['invis'] == 1) { $lds = 'невидимка'; } else { $lds = nick7($user['id']); } + $rr = "".$ld." и ".nick3($jert['id']).""; + addch("Бой между ".$lds." и ".nick7($jert['id'])." начался.", $user['room']); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE users SET `battle` = {$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location: fbattle.php"); + } + $vip['attack'] -= 1; + mysql_query('UPDATE `abils_klan` SET `attack` = "'.$vip['attack'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + + } else { + echo 'Мазохист?...'; + } + +} +?> \ No newline at end of file diff --git a/magic/usability_klan/attack_blood.php b/magic/usability_klan/attack_blood.php new file mode 100644 index 0000000..855934d --- /dev/null +++ b/magic/usability_klan/attack_blood.php @@ -0,0 +1,138 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + +$owntravma = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = ".$us['id']." AND (`type` = 13 OR `type` = 12 OR `type` = 14) LIMIT 1")); +$us_b = mysql_fetch_array(mysql_query("SELECT `type`, `open` FROM `battle` WHERE `id` = '{$us['battle']}' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `bloodattack` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); +if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = $user['login']; } +if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick7($user['id']); } +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +if($vip['bloodattack'] <= 0) { + echo "Магия исчерпала себя ..."; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif($us_b['type'] == 3 || $us_b['type'] == 5) { + echo "Запрещено входить в хаотический бой!"; +} elseif($us['battle'] > 0 && $us_b['open'] == 0) { + echo "Бой закрыт для вмешательства!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['align'] == 2.99) { + echo "Не атакуйте Администратора!"; +} elseif($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] == 45) { + echo "Нападения в этой локации запрещены!"; +} elseif($us['align'] == 2.9) { + echo "Нападение на Ангела строго запрещено!"; +} elseif($us['align'] > 1 && $us['align'] < 2) { + echo "Нападение на Паладинов запрещено!"; +} elseif($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} else { + if($user['sex'] == 1) { $action = "напал"; } else { $action = "напала"; } + if($user['align'] > '2' && $user['align'] < '3') { $angel = "Служитель закона"; } elseif ($user['align'] > '1' && $user['align'] < '2') { $angel = "Персонаж"; } + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + if($jert['id'] != $user['id']) { + addch(" {$lo}, применив магию кровавого нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp('Внимание! На вас '.$action.' '.$lo.'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($jert['id']).'{[]}'); + + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot = 1; + } + + if($jert['battle'] > 0) { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($jert['id'], $t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + + addch("".$los." вмешался в поединок »».", $user['room']); + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($jert['battle'], ''.date("H:i").' '.$lod.' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\'), `blood` = 1 WHERE `id` = "'.$jert['battle'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = ".$jert['battle'].", `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location:fbattle.php"); + } else { + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1")); + if($fict1) { $team = 1; } elseif($fict2) { $team = 2; } + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id` = '".$jert['zayavka']."' LIMIT 1")); + $teams = str_replace($jert['id'].";", "", $z[0]); + mysql_query("UPDATE `zayavka` SET `team{$team}` = '{$teams}' WHERE `id` = {$jert['zayavka']} LIMIT 1"); + } + + if($bot) { + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) values ('Архивариус', '83', '', '".$jert['hp']."')"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0, 0, time()); + $teams[$jert['id']][$user['id']] = array(0, 0, time()); + $sv = array(3, 4, 5); + + mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`) VALUES ('".serialize($teams)."', '".$sv[rand(0, 2)]."', '1', '0', '".$user['id']."', '".$jert['id']."', '".time()."', '".time()."', '1')"); + $id = mysql_insert_id(); + + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } + + if($user['invis'] == 1) { $ld = 'невидимка'; } else { $ld = nick3($user['id']); } + if($user['invis'] == 1) { $lds = 'невидимка'; } else { $lds = nick7($user['id']); } + $rr = "".$ld." и ".nick3($jert['id']).""; + addch("Бой между ".$lds." и ".nick7($jert['id'])." начался.", $user['room']); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location: fbattle.php"); + } + $vip['bloodattack'] -= 1; + mysql_query('UPDATE `abils_klan` SET `bloodattack` = "'.$vip['bloodattack'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + + } else { + echo 'Мазохист?...'; + } + +} +?> \ No newline at end of file diff --git a/magic/usability_klan/clone.php b/magic/usability_klan/clone.php new file mode 100644 index 0000000..6ebad48 --- /dev/null +++ b/magic/usability_klan/clone.php @@ -0,0 +1,39 @@ += 1) { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + $nb = mysql_fetch_array(mysql_query("SELECT COUNT(`id`) FROM `bots` WHERE `name` LIKE '".$user['login']." (клон%' AND `battle` = $user[battle]")); + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`, `owner`) values ('".$user['login']." (клон ".($nb[0]+1).")', '".$user['id']."', '".$user['battle']."', '".$user['hp']."', '".$user['id']."')"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$user['battle'].' LIMIT 1')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($user['id'], $t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = nick5($user['id'], "B".$ttt); } + if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick5($bot, "B".$ttt); } + addlog($user['battle'], ''.date("H:i").' '.$lo.' породил своего клона '.$los.'.
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = "'.$user['battle'].'" LIMIT 1'); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1"); + echo "Клон создан"; + $vip['clone'] -= 1; + mysql_query('UPDATE `abils_klan` SET `clone` = "'.$vip['clone'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + } else { + echo "Свиток рассыпался в ваших руках..."; + } +} +?> \ No newline at end of file diff --git a/magic/usability_klan/close_battle.php b/magic/usability_klan/close_battle.php new file mode 100644 index 0000000..c7fe415 --- /dev/null +++ b/magic/usability_klan/close_battle.php @@ -0,0 +1,19 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `closebattle` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id`, `open`, `close` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($battle['open'] == 0 || $battle['close'] == 1) { + echo 'Бой и так закрыт ...'; +} elseif($vip['closebattle'] <= 0) { + echo 'Магия исчерпала себя ...'; +} else { + $vip['closebattle'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($battle['id'], ''.date("H:i").' '.$lod.' закрыл поединок от внешних вмешательств!
    '); + mysql_query('UPDATE `battle` SET `open` = 0 WHERE `id` = "'.$battle['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_klan` SET `closebattle` = "'.$vip['closebattle'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + echo 'Ваш поединок, закрыт...'; +} \ No newline at end of file diff --git a/magic/usability_klan/heal20.php b/magic/usability_klan/heal20.php new file mode 100644 index 0000000..0428b18 --- /dev/null +++ b/magic/usability_klan/heal20.php @@ -0,0 +1,33 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `heal20` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +$t1 = explode(";", $battle['t1']); +if(in_array($user['id'], $t1)) { + $ttt = 1; +} else { + $ttt = 2; +} + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($vip['heal20'] <= 0) { + echo 'Магия исчерпала себя ...'; +} elseif($user['battle'] > 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + $vip['heal20'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['maxhp']*0.2); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 20%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_klan` SET `heal20` = "'.$vip['heal20'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + echo 'Успешно'; +} \ No newline at end of file diff --git a/magic/usability_klan/heal35.php b/magic/usability_klan/heal35.php new file mode 100644 index 0000000..0ba19c9 --- /dev/null +++ b/magic/usability_klan/heal35.php @@ -0,0 +1,33 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `heal35` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +$t1 = explode(";", $battle['t1']); +if(in_array($user['id'], $t1)) { + $ttt = 1; +} else { + $ttt = 2; +} + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($vip['heal35'] <= 0) { + echo 'Магия исчерпала себя ...'; +} elseif($user['battle'] > 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + $vip['heal35'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['hp']+35); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 35%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_klan` SET `heal35` = "'.$vip['heal35'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + echo 'Успешно'; +} \ No newline at end of file diff --git a/magic/usability_klan/heal50.php b/magic/usability_klan/heal50.php new file mode 100644 index 0000000..ad6a0a1 --- /dev/null +++ b/magic/usability_klan/heal50.php @@ -0,0 +1,33 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `heal50` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +$t1 = explode(";", $battle['t1']); +if(in_array($user['id'], $t1)) { + $ttt = 1; +} else { + $ttt = 2; +} + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($vip['heal50'] <= 0) { + echo 'Магия исчерпала себя ...'; +} elseif($user['battle'] > 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + $vip['heal50'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['maxhp']*0.5); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 50%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_klan` SET `heal50` = "'.$vip['heal50'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + echo 'Успешно'; +} \ No newline at end of file diff --git a/magic/usability_klan/note.php b/magic/usability_klan/note.php new file mode 100644 index 0000000..3702642 --- /dev/null +++ b/magic/usability_klan/note.php @@ -0,0 +1,35 @@ + 30) { + echo "В тексте не должно присутствовать подряд более 1 символа '_' или '-', или же текст больше 30 символов!"; +} elseif($vip['comment'] <= 0) { + echo 'Магия исчерпала себя'; +} else { + $mess = $_POST['target']; + if($user['sex'] == 1) { + $action = "выкрикнул"; + } else { + $action = "выкрикнула"; + } + $vip['comment'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($user['battle'], ''.date("H:i").' '.$lod.' '.$action.': '.$mess.'
    '); + mysql_query('UPDATE `abils_klan` SET `comment` = "'.$vip['comment'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_klan/open_battle.php b/magic/usability_klan/open_battle.php new file mode 100644 index 0000000..d1b8dce --- /dev/null +++ b/magic/usability_klan/open_battle.php @@ -0,0 +1,21 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `openbattle` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id`, `open`, `close` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($battle['open'] == 1) { + echo 'Бой и так открыт ...'; +} elseif($battle['close'] == 1) { + echo 'Этот бой нельзя открыть ...'; +} elseif($vip['openbattle'] <= 0) { + echo 'Магия исчерпала себя ...'; +} else { + $vip['openbattle'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($battle['id'], ''.date("H:i").' '.$lod.' открыл поединок для внешних вмешательств!
    '); + mysql_query('UPDATE `battle` SET `open` = 1 WHERE `id` = "'.$battle['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_klan` SET `openbattle` = "'.$vip['openbattle'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + echo 'Ваш поединок, открыт...'; +} \ No newline at end of file diff --git a/magic/usability_klan/reamdeath.php b/magic/usability_klan/reamdeath.php new file mode 100644 index 0000000..79009c3 --- /dev/null +++ b/magic/usability_klan/reamdeath.php @@ -0,0 +1,28 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `reamdeath` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + + +if(!isset($battle['id'])) { + echo 'Это боевая магия ...'; +} elseif($user['hp'] <= 0) { + echo 'Мервекам нельзя пользоваться магией ...'; +} elseif($vip['reamdeath'] <= 0) { + echo 'Магия исчерпала себя ...'; +} elseif($us['id'] == $user['id']) { + echo 'Себя нельзя воскрешать ...'; +} elseif($us['hp'] >= 1) { + echo 'Живых воскрешать?'; +} elseif($us['battle'] != $user['battle']) { + echo 'Вы в разных поединках ...'; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} else { + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($battle['id'], ''.date("H:i").' '.$lod.' применил заклятие "Поднять мертвого", и воскресил персонажа '.$us['login'].'!
    '); + mysql_query('UPDATE `users` SET `hp` = `maxhp` WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $vip['reamdeath'] -= 1; + mysql_query('UPDATE `abils_klan` SET `reamdeath` = "'.$vip['reamdeath'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + echo 'Персонаж '.$us['login'].' воскрешен ...'; +} \ No newline at end of file diff --git a/magic/usability_klan/sleep15.php b/magic/usability_klan/sleep15.php new file mode 100644 index 0000000..bd9c9bc --- /dev/null +++ b/magic/usability_klan/sleep15.php @@ -0,0 +1,30 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND `type` = '2' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `sleep15` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); + +if($vip['sleep15'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(($user['room'] > 2000) && ($user['room'] < 2100)) { + echo "Не в Проходе..."; +} elseif($effect['time']) { + echo "На персонаже уже есть заклятие молчания"; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['deal'] == 1) { + echo "Вы не можете наложить заклятие молчания на этого персонажа"; +} elseif($us['align'] > 2 && $us['align'] < 3) { + echo "Решились поднять руку на Ангела?.."; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("Персонаж "{$user['login']}" наложил заклятие молчания на "{$_POST['target']}", сроком 15 мин."); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `can`) values ('".$us['id']."', 'Заклятие молчания', ".(time()+60*15).", '2', '1')"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие молчания "; + $vip['sleep15'] -= 1; + mysql_query('UPDATE `abils_klan` SET `sleep15` = "'.$vip['sleep15'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_klan/sleep30.php b/magic/usability_klan/sleep30.php new file mode 100644 index 0000000..83fe0bd --- /dev/null +++ b/magic/usability_klan/sleep30.php @@ -0,0 +1,30 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND `type` = '2' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `sleep30` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); + +if($vip['sleep30'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(($user['room'] > 2000) && ($user['room'] < 2100)) { + echo "Не в Проходе..."; +} elseif($effect['time']) { + echo "На персонаже уже есть заклятие молчания"; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['deal'] == 1) { + echo "Вы не можете наложить заклятие молчания на этого персонажа"; +} elseif($us['align'] > 2 && $us['align'] < 3) { + echo "Решились поднять руку на Ангела?.."; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("Персонаж "{$user['login']}" наложил заклятие молчания на "{$_POST['target']}", сроком 30 мин."); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `can`) values ('".$us['id']."', 'Заклятие молчания', ".(time()+60*30).", '2', '1')"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие молчания "; + $vip['sleep30'] -= 1; + mysql_query('UPDATE `abils_klan` SET `sleep30` = "'.$vip['sleep30'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_klan/travmoff.php b/magic/usability_klan/travmoff.php new file mode 100644 index 0000000..50adb0a --- /dev/null +++ b/magic/usability_klan/travmoff.php @@ -0,0 +1,21 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '13' ORDER BY `id` DESC LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `travmoff` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); + +if($vip['travmoff'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(!isset($effect['id'])) { + echo "Нет тех травм, которые Вы можете излечить"; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + if($us['invis']== 1) { $us['login'] = 'невидимка'; } + addch("{$user['login']} излечил $us[login] от травм."); + mysql_query('UPDATE `effects` SET `time` = "'.time().'" WHERE `id` = "'.$effect['id'].'" LIMIT 1'); + echo "Персонаж \"{$_POST['target']}\" Был излечен от травм"; + $vip['travmoff'] -= 1; + mysql_query('UPDATE `abils_klan` SET `travmoff` = "'.$vip['travmoff'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_klan/unclone.php b/magic/usability_klan/unclone.php new file mode 100644 index 0000000..da4b3e0 --- /dev/null +++ b/magic/usability_klan/unclone.php @@ -0,0 +1,68 @@ += 1) { + $bot = mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `name` = '".mysql_real_escape_string($_POST['target'])."' AND `battle` = '".$user['battle']."' LIMIT 1")); + + if($bot) { + $prototype = mysql_fetch_array(mysql_query('SELECT `id`, `intel` FROM `users` WHERE `id` = "'.$bot['prototype'].'" LIMIT 1')); + } + if($prototype['intel'] > $user['intel']) { + echo 'Ваш противник имеет более высокий интелект ...'; + } elseif($bot && strpos($_POST['target'], "клон")) { + $bot = $bot[0]; + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle as $k => $v) { + unset($battle[$k][$bot]); + } + + foreach($battle[$user['id']] as $k => $v) { + $battle[$k][$bot] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + $t2 = explode(";", $bd['t2']); + + foreach($t1 as $k => $v) { + if($v == $bot) { + unset($t1[$k]); + } + } + + foreach($t2 as $k => $v) { + if($v == $bot) { + unset($t2[$k]); + } + } + + if(in_array($user['id'], $t1)) { + $ttt = 1; + $t1[] = $bot; + } else { + $ttt = 2; + $t2[] = $bot; + } + + $t1 = implode(";", $t1); + $t2 = implode(";", $t2); + + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' переманил клона '.nick5($bot,"B").' на свою сторону
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t1` = \''.$t1.'\', `t2` = \''.$t2.'\' WHERE `id` = '.$user['battle'].' LIMIT 1'); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1"); + echo "Вы переманили клона"; + $vip['unclone'] -= 1; + mysql_query('UPDATE `abils_klan` SET `unclone` = "'.$vip['unclone'].'" WHERE `klan` = "'.$vip['klan'].'" LIMIT 1'); + } else { + echo "Нет такого клона"; + } + } else { + echo "Свиток рассыпался в ваших руках..."; + } +} +?> \ No newline at end of file diff --git a/magic/usability_user/attack.php b/magic/usability_user/attack.php new file mode 100644 index 0000000..61bc609 --- /dev/null +++ b/magic/usability_user/attack.php @@ -0,0 +1,138 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + +$owntravma = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = ".$us['id']." AND (`type` = 13 OR `type` = 12 OR `type` = 14) LIMIT 1")); +$us_b = mysql_fetch_array(mysql_query("SELECT `type`, `open` FROM `battle` WHERE `id` = '{$us['battle']}' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `attack` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = $user['login']; } +if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick7($user['id']); } +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +if($vip['attack'] <= 0) { + echo "Магия исчерпала себя ..."; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif($us_b['type'] == 3 || $us_b['type'] == 5) { + echo "Запрещено входить в хаотический бой!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif($us['battle'] > 0 && $us_b['open'] == 0) { + echo "Бой закрыт для вмешательства!"; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['align'] == 2.99) { + echo "Не атакуйте Администратора!"; +} elseif($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] == 45) { + echo "Нападения в этой локации запрещены!"; +} elseif($us['align'] == 2.9) { + echo "Нападение на Ангела строго запрещено!"; +} elseif($us['align'] > 1 && $us['align'] < 2) { + echo "Нападение на Паладинов запрещено!"; +} elseif($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} else { + if($user['sex'] == 1) { $action = "напал"; } else { $action = "напала"; } + if($user['align'] > '2' && $user['align'] < '3') { $angel = "Служитель закона"; } elseif ($user['align'] > '1' && $user['align'] < '2') { $angel = "Персонаж"; } + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + if($jert['id'] != $user['id']) { + addch(" {$lo}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp('Внимание! На вас '.$action.' '.$lo.'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($jert['id']).'{[]}'); + + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot = 1; + } + + if($jert['battle'] > 0) { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($jert['id'], $t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + + addch("".$los." вмешался в поединок »».", $user['room']); + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($jert['battle'], ''.date("H:i").' '.$lod.' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = "'.$jert['battle'].'" LIMIT 1'); + mysql_query("UPDATE users SET `battle` = ".$jert['battle'].", `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location:fbattle.php"); + } else { + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1")); + if($fict1) { $team = 1; } elseif($fict2) { $team = 2; } + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id` = '".$jert['zayavka']."' LIMIT 1")); + $teams = str_replace($jert['id'].";", "", $z[0]); + mysql_query("UPDATE `zayavka` SET `team{$team}` = '{$teams}' WHERE `id` = {$jert['zayavka']} LIMIT 1"); + } + + if($bot) { + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) values ('Архивариус', '83', '', '".$jert['hp']."')"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0, 0, time()); + $teams[$jert['id']][$user['id']] = array(0, 0, time()); + $sv = array(3, 4, 5); + + mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`, `open`) VALUES ('".serialize($teams)."', '".$sv[rand(0, 2)]."', '1', '0', '".$user['id']."', '".$jert['id']."', '".time()."', '".time()."', '0', '1')"); + $id = mysql_insert_id(); + + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } + + if($user['invis'] == 1) { $ld = 'невидимка'; } else { $ld = nick3($user['id']); } + if($user['invis'] == 1) { $lds = 'невидимка'; } else { $lds = nick7($user['id']); } + $rr = "".$ld." и ".nick3($jert['id']).""; + addch("Бой между ".$lds." и ".nick7($jert['id'])." начался.", $user['room']); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE users SET `battle` = {$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location: fbattle.php"); + } + $vip['attack'] -= 1; + mysql_query('UPDATE `abils_user` SET `attack` = "'.$vip['attack'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + + } else { + echo 'Мазохист?...'; + } + +} +?> \ No newline at end of file diff --git a/magic/usability_user/attack_blood.php b/magic/usability_user/attack_blood.php new file mode 100644 index 0000000..75ff3b6 --- /dev/null +++ b/magic/usability_user/attack_blood.php @@ -0,0 +1,138 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + +$owntravma = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = ".$us['id']." AND (`type` = 13 OR `type` = 12 OR `type` = 14) LIMIT 1")); +$us_b = mysql_fetch_array(mysql_query("SELECT `type`, `open` FROM `battle` WHERE `id` = '{$us['battle']}' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `bloodattack` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = $user['login']; } +if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick7($user['id']); } +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +if($vip['bloodattack'] <= 0) { + echo "Магия исчерпала себя ..."; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif($us_b['type'] == 3 || $us_b['type'] == 5) { + echo "Запрещено входить в хаотический бой!"; +} elseif($us['battle'] > 0 && $us_b['open'] == 0) { + echo "Бой закрыт для вмешательства!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['align'] == 2.99) { + echo "Не атакуйте Администратора!"; +} elseif($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] == 45) { + echo "Нападения в этой локации запрещены!"; +} elseif($us['align'] == 2.9) { + echo "Нападение на Ангела строго запрещено!"; +} elseif($us['align'] > 1 && $us['align'] < 2) { + echo "Нападение на Паладинов запрещено!"; +} elseif($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} else { + if($user['sex'] == 1) { $action = "напал"; } else { $action = "напала"; } + if($user['align'] > '2' && $user['align'] < '3') { $angel = "Служитель закона"; } elseif ($user['align'] > '1' && $user['align'] < '2') { $angel = "Персонаж"; } + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + if($jert['id'] != $user['id']) { + addch(" {$lo}, применив магию кровавого нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp('Внимание! На вас '.$action.' '.$lo.'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($jert['id']).'{[]}'); + + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot = 1; + } + + if($jert['battle'] > 0) { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($jert['id'], $t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + + addch("".$los." вмешался в поединок »».", $user['room']); + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($jert['battle'], ''.date("H:i").' '.$lod.' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\'), `blood` = 1 WHERE `id` = "'.$jert['battle'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = ".$jert['battle'].", `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location:fbattle.php"); + } else { + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1")); + if($fict1) { $team = 1; } elseif($fict2) { $team = 2; } + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id` = '".$jert['zayavka']."' LIMIT 1")); + $teams = str_replace($jert['id'].";", "", $z[0]); + mysql_query("UPDATE `zayavka` SET `team{$team}` = '{$teams}' WHERE `id` = {$jert['zayavka']} LIMIT 1"); + } + + if($bot) { + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) values ('Архивариус', '83', '', '".$jert['hp']."')"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0, 0, time()); + $teams[$jert['id']][$user['id']] = array(0, 0, time()); + $sv = array(3, 4, 5); + + mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`) VALUES ('".serialize($teams)."', '".$sv[rand(0, 2)]."', '1', '0', '".$user['id']."', '".$jert['id']."', '".time()."', '".time()."', '1')"); + $id = mysql_insert_id(); + + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } + + if($user['invis'] == 1) { $ld = 'невидимка'; } else { $ld = nick3($user['id']); } + if($user['invis'] == 1) { $lds = 'невидимка'; } else { $lds = nick7($user['id']); } + $rr = "".$ld." и ".nick3($jert['id']).""; + addch("Бой между ".$lds." и ".nick7($jert['id'])." начался.", $user['room']); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location: fbattle.php"); + } + $vip['bloodattack'] -= 1; + mysql_query('UPDATE `abils_user` SET `bloodattack` = "'.$vip['bloodattack'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + + } else { + echo 'Мазохист?...'; + } + +} +?> \ No newline at end of file diff --git a/magic/usability_user/clone.php b/magic/usability_user/clone.php new file mode 100644 index 0000000..175b33d --- /dev/null +++ b/magic/usability_user/clone.php @@ -0,0 +1,39 @@ += 1) { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + $nb = mysql_fetch_array(mysql_query("SELECT COUNT(`id`) FROM `bots` WHERE `battle` = $user[battle] AND `name` LIKE '".$user['login']." (клон%'")); + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`, `owner`) VALUES ('".$user['login']." (клон ".($nb[0]+1).")', '".$user['id']."', '".$user['battle']."', '".$user['hp']."', '".$user['id']."')"); + $bot = mysql_insert_id(); + + $bd = mysql_fetch_array(mysql_query('SELECT `id`, `t1`, `t2`, `teams` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle[$bot] as $k => $v) { + $battle[$k][$bot] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($user['id'], $t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = nick5($user['id'], "B".$ttt); } + if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick5($bot, "B".$ttt); } + addlog($user['battle'], ''.date("H:i").' '.$lo.' породил своего клона '.$los.'.

    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = "'.$user['battle'].'" LIMIT 1'); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1"); + echo "Клон создан"; + $vip['clone'] -= 1; + mysql_query('UPDATE `abils_user` SET `clone` = "'.$vip['clone'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + } else { + echo "Свиток рассыпался в ваших руках..."; + } +} +?> \ No newline at end of file diff --git a/magic/usability_user/close_battle.php b/magic/usability_user/close_battle.php new file mode 100644 index 0000000..10e78e6 --- /dev/null +++ b/magic/usability_user/close_battle.php @@ -0,0 +1,19 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `closebattle` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id`, `open`, `close` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($battle['open'] == 0 || $battle['close'] == 1) { + echo 'Бой и так закрыт ...'; +} elseif($vip['closebattle'] <= 0) { + echo 'Магия исчерпала себя ...'; +} else { + $vip['closebattle'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($battle['id'], ''.date("H:i").' '.$lod.' закрыл поединок от внешних вмешательств!
    '); + mysql_query('UPDATE `battle` SET `open` = 0 WHERE `id` = "'.$battle['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_user` SET `closebattle` = "'.$vip['closebattle'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Ваш поединок, закрыт...'; +} \ No newline at end of file diff --git a/magic/usability_user/heal20.php b/magic/usability_user/heal20.php new file mode 100644 index 0000000..5ae3ce3 --- /dev/null +++ b/magic/usability_user/heal20.php @@ -0,0 +1,33 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `heal20` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +$t1 = explode(";", $battle['t1']); +if(in_array($user['id'], $t1)) { + $ttt = 1; +} else { + $ttt = 2; +} + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($vip['heal20'] <= 0) { + echo 'Магия исчерпала себя ...'; +} elseif($user['battle'] > 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + $vip['heal20'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['maxhp']*0.2); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 20%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_user` SET `heal20` = "'.$vip['heal20'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Успешно'; +} \ No newline at end of file diff --git a/magic/usability_user/heal35.php b/magic/usability_user/heal35.php new file mode 100644 index 0000000..c3feb9d --- /dev/null +++ b/magic/usability_user/heal35.php @@ -0,0 +1,33 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `heal35` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +$t1 = explode(";", $battle['t1']); +if(in_array($user['id'], $t1)) { + $ttt = 1; +} else { + $ttt = 2; +} + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($vip['heal35'] <= 0) { + echo 'Магия исчерпала себя ...'; +} elseif($user['battle'] > 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + $vip['heal35'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['maxhp']*0.35); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 35%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_user` SET `heal35` = "'.$vip['heal35'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Успешно'; +} \ No newline at end of file diff --git a/magic/usability_user/heal50.php b/magic/usability_user/heal50.php new file mode 100644 index 0000000..4fd8e86 --- /dev/null +++ b/magic/usability_user/heal50.php @@ -0,0 +1,33 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `heal50` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +$t1 = explode(";", $battle['t1']); +if(in_array($user['id'], $t1)) { + $ttt = 1; +} else { + $ttt = 2; +} + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($vip['heal50'] <= 0) { + echo 'Магия исчерпала себя ...'; +} elseif($user['battle'] > 0 && $user['hp'] == $user['maxhp']) { + echo 'Ваше здоровье, и так полное ...'; +} elseif($user['battle'] > 0 && $user['hp'] <= 0) { + echo 'Вы мертвы ...'; +} else { + $vip['heal50'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + $hp = floor($user['maxhp']*0.5); + addlog($battle['id'], ''.date("H:i").' '.$lod.' использовал заклятие Воcстановление энергии 50%.
    '); + $user['hp'] += $hp; + if($user['hp'] > $user['maxhp']) { + $user['hp'] = $user['maxhp']; + } + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_user` SET `heal50` = "'.$vip['heal50'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Успешно'; +} \ No newline at end of file diff --git a/magic/usability_user/note.php b/magic/usability_user/note.php new file mode 100644 index 0000000..ecec14c --- /dev/null +++ b/magic/usability_user/note.php @@ -0,0 +1,35 @@ + 30) { + echo "В тексте не должно присутствовать подряд более 1 символа '_' или '-', или же текст больше 30 символов!"; +} elseif($vip['comment'] <= 0) { + echo 'Магия исчерпала себя'; +} else { + $mess = $_POST['target']; + if($user['sex'] == 1) { + $action = "выкрикнул"; + } else { + $action = "выкрикнула"; + } + $vip['comment'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($user['battle'], ''.date("H:i").' '.$lod.' '.$action.': '.$mess.'
    '); + mysql_query('UPDATE `abils_user` SET `comment` = "'.$vip['comment'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_user/open_battle.php b/magic/usability_user/open_battle.php new file mode 100644 index 0000000..2454af8 --- /dev/null +++ b/magic/usability_user/open_battle.php @@ -0,0 +1,21 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `openbattle` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id`, `open`, `close` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + +if($user['battle'] <= 0) { + echo 'Это боевая магия ...'; +} elseif($battle['open'] == 1) { + echo 'Бой и так открыт ...'; +} elseif($battle['close'] == 1) { + echo 'Этот бой нельзя открыть ...'; +} elseif($vip['openbattle'] <= 0) { + echo 'Магия исчерпала себя ...'; +} else { + $vip['openbattle'] -= 1; + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($battle['id'], ''.date("H:i").' '.$lod.' открыл поединок для внешних вмешательств!
    '); + mysql_query('UPDATE `battle` SET `open` = 1 WHERE `id` = "'.$battle['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_user` SET `openbattle` = "'.$vip['openbattle'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Ваш поединок, открыт...'; +} \ No newline at end of file diff --git a/magic/usability_user/reamdeath.php b/magic/usability_user/reamdeath.php new file mode 100644 index 0000000..18d3f89 --- /dev/null +++ b/magic/usability_user/reamdeath.php @@ -0,0 +1,28 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `reamdeath` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +$battle = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + + +if(!isset($battle['id'])) { + echo 'Это боевая магия ...'; +} elseif($user['hp'] <= 0) { + echo 'Мервекам нельзя пользоваться магией ...'; +} elseif($vip['reamdeath'] <= 0) { + echo 'Магия исчерпала себя ...'; +} elseif($us['id'] == $user['id']) { + echo 'Себя нельзя воскрешать ...'; +} elseif($us['hp'] >= 1) { + echo 'Живых воскрешать?'; +} elseif($us['battle'] != $user['battle']) { + echo 'Вы в разных поединках ...'; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} else { + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($battle['id'], ''.date("H:i").' '.$lod.' применил заклятие "Поднять мертвого", и воскресил персонажа '.$us['login'].'!
    '); + mysql_query('UPDATE `users` SET `hp` = `maxhp` WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $vip['reamdeath'] -= 1; + mysql_query('UPDATE `abils_user` SET `reamdeath` = "'.$vip['reamdeath'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Персонаж '.$us['login'].' воскрешен ...'; +} \ No newline at end of file diff --git a/magic/usability_user/sleep15.php b/magic/usability_user/sleep15.php new file mode 100644 index 0000000..25cd545 --- /dev/null +++ b/magic/usability_user/sleep15.php @@ -0,0 +1,30 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND `type` = '2' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `sleep15` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); + +if($vip['sleep15'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(($user['room'] > 2000) && ($user['room'] < 2100)) { + echo "Не в Проходе..."; +} elseif($effect['time']) { + echo "На персонаже уже есть заклятие молчания"; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['deal'] == 1) { + echo "Вы не можете наложить заклятие молчания на этого персонажа"; +} elseif($us['align'] > 2 && $us['align'] < 3) { + echo "Решились поднять руку на Ангела?.."; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("Персонаж "{$user['login']}" наложил заклятие молчания на "{$_POST['target']}", сроком 15 мин."); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `can`) values ('".$us['id']."', 'Заклятие молчания', ".(time()+60*15).", '2', '1')"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие молчания "; + $vip['sleep15'] -= 1; + mysql_query('UPDATE `abils_user` SET `sleep15` = "'.$vip['sleep15'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_user/sleep30.php b/magic/usability_user/sleep30.php new file mode 100644 index 0000000..3ee6f30 --- /dev/null +++ b/magic/usability_user/sleep30.php @@ -0,0 +1,30 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND `type` = '2' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `sleep30` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); + +if($vip['sleep30'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(($user['room'] > 2000) && ($user['room'] < 2100)) { + echo "Не в Проходе..."; +} elseif($effect['time']) { + echo "На персонаже уже есть заклятие молчания"; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['deal'] == 1) { + echo "Вы не можете наложить заклятие молчания на этого персонажа"; +} elseif($us['align'] > 2 && $us['align'] < 3) { + echo "Решились поднять руку на Ангела?.."; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("Персонаж "{$user['login']}" наложил заклятие молчания на "{$_POST['target']}", сроком 30 мин."); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`, `can`) values ('".$us['id']."', 'Заклятие молчания', ".(time()+60*30).", '2', '1')"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие молчания "; + $vip['sleep30'] -= 1; + mysql_query('UPDATE `abils_user` SET `sleep30` = "'.$vip['sleep30'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_user/travmoff.php b/magic/usability_user/travmoff.php new file mode 100644 index 0000000..9f8ad85 --- /dev/null +++ b/magic/usability_user/travmoff.php @@ -0,0 +1,21 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '13' ORDER BY `id` DESC LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `travmoff` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); + +if($vip['travmoff'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(!isset($effect['id'])) { + echo "Нет тех травм, которые Вы можете излечить"; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + if($us['invis']== 1) { $us['login'] = 'невидимка'; } + addch("{$user['login']} излечил $us[login] от травм."); + mysql_query('UPDATE `effects` SET `time` = "'.time().'" WHERE `id` = "'.$effect['id'].'" LIMIT 1'); + echo "Персонаж \"{$_POST['target']}\" Был излечен от травм"; + $vip['travmoff'] -= 1; + mysql_query('UPDATE `abils_user` SET `travmoff` = "'.$vip['travmoff'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_user/unclone.php b/magic/usability_user/unclone.php new file mode 100644 index 0000000..2123ed5 --- /dev/null +++ b/magic/usability_user/unclone.php @@ -0,0 +1,72 @@ += 1) { + $bot = mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `name` = '".mysql_real_escape_string($_POST['target'])."' AND `battle` = '".$user['battle']."' LIMIT 1")); + + if($bot) { + $prototype = mysql_fetch_array(mysql_query('SELECT `id`, `intel` FROM `users` WHERE `id` = "'.$bot['prototype'].'" LIMIT 1')); + } + + if($bot['hp'] <= 0) { + echo 'Мертвых переманивать нельзя ... '.$bot['id'].'='.$bot['hp']; + } elseif($prototype['intel'] > $user['intel']) { + echo 'Ваш противник имеет более высокий интелект ...'; + } elseif($bot && strpos($_POST['target'], "клон")) { + $bot = $bot[0]; + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = "'.$user['battle'].'" LIMIT 1')); + $battle = unserialize($bd['teams']); + $battle[$bot] = $battle[$user['id']]; + foreach($battle as $k => $v) { + unset($battle[$k][$bot]); + } + + foreach($battle[$user['id']] as $k => $v) { + $battle[$k][$bot] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + $t2 = explode(";", $bd['t2']); + + foreach($t1 as $k => $v) { + if($v == $bot) { + unset($t1[$k]); + } + } + + foreach($t2 as $k => $v) { + if($v == $bot) { + unset($t2[$k]); + } + } + + if(in_array($user['id'], $t1)) { + $ttt = 1; + $t1[] = $bot; + } else { + $ttt = 2; + $t2[] = $bot; + } + + $t1 = implode(";", $t1); + $t2 = implode(";", $t2); + + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'], "B".$ttt).' переманил клона '.nick5($bot, "B".$ttt).' на свою сторону.
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t1` = \''.$t1.'\', `t2` = \''.$t2.'\' WHERE `id` = "'.$user['battle'].'" LIMIT 1'); + mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$user['battle']."' LIMIT 1"); + echo mysql_error(); + echo "Вы переманили клона"; + $vip['unclone'] -= 1; + mysql_query('UPDATE `abils_user` SET `unclone` = "'.$vip['unclone'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + } else { + echo "Нет такого клона"; + } + } else { + echo "Свиток рассыпался в ваших руках..."; + } +} +?> \ No newline at end of file diff --git a/magic/usability_vip/attack.php b/magic/usability_vip/attack.php new file mode 100644 index 0000000..907766c --- /dev/null +++ b/magic/usability_vip/attack.php @@ -0,0 +1,138 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + +$owntravma = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = ".$us['id']." AND (`type` = 13 OR `type` = 12 OR `type` = 14) LIMIT 1")); +$us_b = mysql_fetch_array(mysql_query("SELECT `type`, `open` FROM `battle` WHERE `id` = '{$us['battle']}' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `attack` FROM `abils_vip` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = $user['login']; } +if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick7($user['id']); } +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + + +if($vip['attack'] <= 0) { + echo "Магия исчерпала себя ..."; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif($us_b['type'] == 3 || $us_b['type'] == 5) { + echo "Запрещено входить в хаотический бой!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif($us['battle'] > 0 && $us_b['open'] == 0) { + echo "Бой закрыт для вмешательства!"; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['align'] == 2.99) { + echo "Не атакуйте Администратора!"; +} elseif($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] == 45) { + echo "Нападения в этой локации запрещены!"; +} elseif($us['align'] == 2.9) { + echo "Нападение на Ангелов строго запрещено!"; +} elseif($us['align'] > 1 && $us['align'] < 2) { + echo "Нападение на Паладинов запрещено!"; +} elseif($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} else { + if($user['sex'] == 1) { $action = "напал"; } else { $action = "напала"; } + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + if($jert['id'] != $user['id']) { + addch(" {$lo}, применив магию нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp('Внимание! На вас '.$action.' '.$lo.'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($jert['id']).'{[]}'); + + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot = 1; + } + + if($jert['battle'] > 0) { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($jert['id'], $t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + + addch("".$los." вмешался в поединок »».", $user['room']); + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($jert['battle'], ''.date("H:i").' '.$lod.' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = "'.$jert['battle'].'" LIMIT 1'); + mysql_query("UPDATE users SET `battle` = ".$jert['battle'].", `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location:fbattle.php"); + } else { + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1")); + if($fict1) { $team = 1; } elseif($fict2) { $team = 2; } + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id` = '".$jert['zayavka']."' LIMIT 1")); + $teams = str_replace($jert['id'].";", "", $z[0]); + mysql_query("UPDATE `zayavka` SET `team{$team}` = '{$teams}' WHERE `id` = {$jert['zayavka']} LIMIT 1"); + } + + if($bot) { + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) values ('Архивариус', '83', '', '".$jert['hp']."')"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0, 0, time()); + $teams[$jert['id']][$user['id']] = array(0, 0, time()); + $sv = array(3, 4, 5); + + mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`, `open`) VALUES ('".serialize($teams)."', '".$sv[rand(0, 2)]."', '1', '0', '".$user['id']."', '".$jert['id']."', '".time()."', '".time()."', '0', '1')"); + $id = mysql_insert_id(); + + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } + + if($user['invis'] == 1) { $ld = 'невидимка'; } else { $ld = nick3($user['id']); } + if($user['invis'] == 1) { $lds = 'невидимка'; } else { $lds = nick7($user['id']); } + $rr = "".$ld." и ".nick3($jert['id']).""; + addch("Бой между ".$lds." и ".nick7($jert['id'])." начался.", $user['room']); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE users SET `battle` = {$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location: fbattle.php"); + } + $vip['attack'] -= 1; + mysql_query('UPDATE `abils_vip` SET `attack` = "'.$vip['attack'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + + } else { + echo 'Мазохист?...'; + } + +} +?> \ No newline at end of file diff --git a/magic/usability_vip/attack_blood.php b/magic/usability_vip/attack_blood.php new file mode 100644 index 0000000..c127107 --- /dev/null +++ b/magic/usability_vip/attack_blood.php @@ -0,0 +1,137 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + +$owntravma = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = ".$us['id']." AND (`type` = 13 OR `type` = 12 OR `type` = 14) LIMIT 1")); +$us_b = mysql_fetch_array(mysql_query("SELECT `type`, `open` FROM `battle` WHERE `id` = '{$us['battle']}' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `bloodattack` FROM `abils_vip` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = $user['login']; } +if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick7($user['id']); } +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND `type` = '227' LIMIT 1")); + +if($vip['bloodattack'] <= 0) { + echo "Магия исчерпала себя ..."; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif($us_b['type'] == 3 || $us_b['type'] == 5) { + echo "Запрещено входить в хаотический бой!"; +} elseif($us['battle'] > 0 && $us_b['open'] == 0) { + echo "Бой закрыт для вмешательства!"; +} elseif(in_array($us['room'], $unkilable['rooms'])) { + echo "В данной комнате запрещены нападения ..."; +} elseif(in_array($us['id'], $unkilable['users'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(isset($effect['id'])) { + echo "Персонаж под защитой от нападений ..."; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['align'] == 2.99) { + echo "Не атакуйте Администратора!"; +} elseif($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] == 45) { + echo "Нападения в этой локации запрещены!"; +} elseif($us['align'] == 2.9) { + echo "Нападение на Ангелов строго запрещено!"; +} elseif($us['align'] > 1 && $us['align'] < 2) { + echo "Нападение на Паладинов запрещено!"; +} elseif($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} else { + if($user['sex'] == 1) { $action = "напал"; } else { $action = "напала"; } + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + if($jert['id'] != $user['id']) { + addch(" {$lo}, применив магию кровавого нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp('Внимание! На вас '.$action.' '.$lo.'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($jert['id']).'{[]}'); + + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot = 1; + } + + if($jert['battle'] > 0) { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($jert['id'], $t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + + addch("".$los." вмешался в поединок »».", $user['room']); + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($jert['battle'], ''.date("H:i").' '.$lod.' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\'), `blood` = 1 WHERE `id` = "'.$jert['battle'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = ".$jert['battle'].", `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location:fbattle.php"); + } else { + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1")); + if($fict1) { $team = 1; } elseif($fict2) { $team = 2; } + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id` = '".$jert['zayavka']."' LIMIT 1")); + $teams = str_replace($jert['id'].";", "", $z[0]); + mysql_query("UPDATE `zayavka` SET `team{$team}` = '{$teams}' WHERE `id` = {$jert['zayavka']} LIMIT 1"); + } + + if($bot) { + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) values ('Архивариус', '83', '', '".$jert['hp']."')"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0, 0, time()); + $teams[$jert['id']][$user['id']] = array(0, 0, time()); + $sv = array(3, 4, 5); + + mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`) VALUES ('".serialize($teams)."', '".$sv[rand(0, 2)]."', '1', '0', '".$user['id']."', '".$jert['id']."', '".time()."', '".time()."', '1')"); + $id = mysql_insert_id(); + + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } + + if($user['invis'] == 1) { $ld = 'невидимка'; } else { $ld = nick3($user['id']); } + if($user['invis'] == 1) { $lds = 'невидимка'; } else { $lds = nick7($user['id']); } + $rr = "".$ld." и ".nick3($jert['id']).""; + addch("Бой между ".$lds." и ".nick7($jert['id'])." начался.", $user['room']); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location: fbattle.php"); + } + $vip['bloodattack'] -= 1; + mysql_query('UPDATE `abils_vip` SET `bloodattack` = "'.$vip['bloodattack'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + + } else { + echo 'Мазохист?...'; + } + +} +?> \ No newline at end of file diff --git a/magic/usability_vip/defence.php b/magic/usability_vip/defence.php new file mode 100644 index 0000000..b565679 --- /dev/null +++ b/magic/usability_vip/defence.php @@ -0,0 +1,21 @@ + 0) { + echo "Не в бою ..."; +} elseif($effect['time']) { + echo "На персонаже уже есть заклятие Защита от оружия ..."; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("Персонаж "{$user['login']}" наложил заклятие \"Защита от оружия\" на "{$user['login']}", сроком 2 часа."); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`) values ('".$user['id']."', 'Защита от оружия', '".(time()+7200)."', '201')"); + $vip['zash'] -= 1; + mysql_query('UPDATE `abils_vip` SET `zash` = "'.$vip['zash'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo "На персонажа \"{$user['login']}\" наложено заклятие \"Защита от оружия\" "; +} +?> diff --git a/magic/usability_vip/devastate.php b/magic/usability_vip/devastate.php new file mode 100644 index 0000000..258ab2b --- /dev/null +++ b/magic/usability_vip/devastate.php @@ -0,0 +1,21 @@ + 0) { + echo "Не в бою ..."; +} elseif($effect['time']) { + echo "На персонаже уже есть заклятие Сокрушения ..."; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("Персонаж "{$user['login']}" наложил заклятие \"Сокрушение\" на "{$user['login']}", сроком 2 часа."); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`) values ('".$user['id']."', 'Сокрушение', '".(time()+7200)."', '202')"); + $vip['sokr'] -= 1; + mysql_query('UPDATE `abils_vip` SET `sokr` = "'.$vip['sokr'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo "На персонажа \"{$user['login']}\" наложено заклятие \"Сокрушение\" "; +} +?> diff --git a/magic/usability_vip/invisible.php b/magic/usability_vip/invisible.php new file mode 100644 index 0000000..7e20610 --- /dev/null +++ b/magic/usability_vip/invisible.php @@ -0,0 +1,30 @@ +Не в бою"; +} elseif(!$user['in_tower']) { + if($_SESSION['uid'] == null) { header("Location: ../../index.php"); } + $magictime = time()+(60*60*2); + $eff = mysql_fetch_row(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '$user[id]' AND `type` = 1022 LIMIT 1")); + $vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `invisible` FROM `abils_vip` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); + if(isset($vip['id']) && $vip['invisible'] > 0) { + if($_POST['target'] == $user['login']) { + if($eff) { + mysql_query("UPDATE `effects` SET `time` = '$magictime' WHERE `id` = '$eff' LIMIT 1"); + echo 'Успешно наложено заклятие невидимости!'; + } elseif(isset($user['id'])) { + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`) values ('".$user['id']."', 'Заклятие невидимости', '{$magictime}', '1022')"); + mysql_query("UPDATE `users` SET `invis` = 1 WHERE `id` = '{$user['id']}' LIMIT 1"); + echo 'Успешно наложено заклятие невидимости!'; + } + $vip['invisible'] -= 1; + mysql_query('UPDATE `abils_vip` SET `invisible` = "'.$vip['invisible'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + } else { + echo 'Свиток может быть использован только на себя'; + } + } else { + echo 'Магия была исчерпана ...'; + } +} else { + echo "В Башне Смерти нельзя использовать свиток невидимости!"; +} +?> \ No newline at end of file diff --git a/magic/usability_vip/no_attack.php b/magic/usability_vip/no_attack.php new file mode 100644 index 0000000..d54a888 --- /dev/null +++ b/magic/usability_vip/no_attack.php @@ -0,0 +1,21 @@ + '".time()."' AND `type` = '227' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `dontattack` FROM `abils_vip` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); + +if($_POST['target'] != $user['login']) { + echo 'Вы можете использовать только на себя'; +} elseif($vip['dontattack'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(isset($effect['id'])) { + echo "На Вас, уже есть Защита от нападений"; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("Персонаж "{$user['login']}" наложил заклятие \"Защита от нападений\" на "{$user['login']}", сроком 2 часа."); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`) values ('".$user['id']."', 'Защита от нападений', '".(time()+60*60*2)."', '227')"); + echo "На персонажа \"{$user['login']}\" наложено заклятие \"Защита от нападений\" "; + $vip['dontattack'] -= 1; + mysql_query('UPDATE `abils_vip` SET `dontattack` = "'.$vip['dontattack'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_vip/pers_blood.php b/magic/usability_vip/pers_blood.php new file mode 100644 index 0000000..e2af730 --- /dev/null +++ b/magic/usability_vip/pers_blood.php @@ -0,0 +1,131 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + +$owntravma = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = ".$us['id']." AND (`type` = 13 OR `type` = 12 OR `type` = 14) LIMIT 1")); +$us_b = mysql_fetch_array(mysql_query("SELECT `type`, `open` FROM `battle` WHERE `id` = '{$us['battle']}' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `pers_attack` FROM `abils_vip` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +if($user['invis'] == 1) { $lo = 'невидимка'; } else { $lo = $user['login']; } +if($user['invis'] == 1) { $los = 'невидимка'; } else { $los = nick7($user['id']); } + +if($vip['pers_attack'] <= 0) { + echo "Магия исчерпала себя ..."; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif($us_b['type'] == 3 || $us_b['type'] == 5) { + echo "Запрещено входить в хаотический бой!"; +} elseif($us['battle'] > 0 && $us_b['open'] == 0) { + echo "Бой закрыт для вмешательства!"; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['align'] == 2.99) { + echo "Не атакуйте Администратора!"; +} elseif($user['zayavka'] > 0) { + echo "Вы ожидаете поединка..."; +} elseif($owntravma['id'] && !$us['battle']) { + echo "Персонаж тяжело травмирован..."; +} elseif($user['klan'] != '' && ($user['klan'] == $us['klan'])) { + echo "Чтите честь ваших сокланов."; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] == 45) { + echo "Нападения в этой локации запрещены!"; +} elseif($us['align'] == 2.9) { + echo "Нападение на Представителя Высшего Совета строго запрещено!"; +} elseif($us['align'] > 1 && $us['align'] < 2) { + echo "Нападение на Законников запрещено!"; +} elseif($us['align'] == 4.99) { + echo "Нападение на Комментатора запрещено!"; +} elseif($us['level'] < 1) { + echo "Новички находятся под защитой Мироздателя!"; +} elseif($us['hp'] < $us['maxhp']*0.33 && !$us['battle']) { + echo "Жертва слишком слаба!"; +} elseif($user['hp'] < $user['maxhp']*0.33) { + echo "Вы слишком ослаблены для нападения!"; +} elseif($us['hp'] < 1 && $us['battle']) { + echo "Вы не можете напасть на погибшего!"; +} else { + if($user['sex'] == 1) { $action = "напал"; } else { $action = "напала"; } + if($user['align'] > '2' && $user['align'] < '3') { $angel = "Служитель закона"; } elseif ($user['align'] > '1' && $user['align'] < '2') { $angel = "Персонаж"; } + + $jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); + if($jert['id'] != $user['id']) { + addch(" {$lo}, применив магию кровавого нападения, внезапно ".$action." на "{$_POST['target']}""); + addchp('Внимание! На вас '.$action.' '.$lo.'.
    \'; top.frames[\'main\'].location=\'fbattle.php\'; var z = \' ', '{[]}'.nick7($jert['id']).'{[]}'); + + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot = 1; + } + + if($jert['battle'] > 0) { + $bd = mysql_fetch_array(mysql_query('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1')); + $battle = unserialize($bd['teams']); + $ak = array_keys($battle[$jert['id']]); + $battle[$user['id']] = $battle[$ak[0]]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$user['id']][$k] = array(0, 0, time()); + $battle[$k][$user['id']] = array(0, 0, time()); + } + + $t1 = explode(";", $bd['t1']); + if(in_array($jert['id'], $t1)) { + $ttt = 2; + } else { + $ttt = 1; + } + + addch("".$los." вмешался в поединок »».", $user['room']); + if($user['invis'] == 1) { $lod = 'невидимка'; } else { $lod = nick5($user['id'], "B".$ttt); } + addlog($jert['battle'], ''.date("H:i").' '.$lod.' вмешался в поединок!
    '); + mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\'), `blood` = 1 WHERE `id` = "'.$jert['battle'].'" LIMIT 1'); + mysql_query("UPDATE `users` SET `battle` = ".$jert['battle'].", `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1"); + header("Location:fbattle.php"); + } else { + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1")); + if($fict1) { $team = 1; } elseif($fict2) { $team = 2; } + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id` = '".$jert['zayavka']."' LIMIT 1")); + $teams = str_replace($jert['id'].";", "", $z[0]); + mysql_query("UPDATE `zayavka` SET `team{$team}` = '{$teams}' WHERE `id` = {$jert['zayavka']} LIMIT 1"); + } + + if($bot) { + mysql_query("INSERT INTO `bots` (`name`, `prototype`, `battle`, `hp`) values ('Архивариус', '83', '', '".$jert['hp']."')"); + $jert['id'] = mysql_insert_id(); + } + + $teams = array(); + $teams[$user['id']][$jert['id']] = array(0, 0, time()); + $teams[$jert['id']][$user['id']] = array(0, 0, time()); + $sv = array(3, 4, 5); + + mysql_query("INSERT INTO `battle` (`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`, `blood`) VALUES ('".serialize($teams)."', '".$sv[rand(0, 2)]."', '1', '0', '".$user['id']."', '".$jert['id']."', '".time()."', '".time()."', '1')"); + $id = mysql_insert_id(); + + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$jert['id']} LIMIT 1"); + } + + if($user['invis'] == 1) { $ld = 'невидимка'; } else { $ld = nick3($user['id']); } + if($user['invis'] == 1) { $lds = 'невидимка'; } else { $lds = nick7($user['id']); } + $rr = "".$ld." и ".nick3($jert['id']).""; + addch("Бой между ".$lds." и ".nick7($jert['id'])." начался.", $user['room']); + addlog($id, "Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    "); + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$jert['id']}"); + header("Location: fbattle.php"); + } + $vip['pers_attack'] -= 1; + mysql_query('UPDATE `abils_vip` SET `pers_attack` = "'.$vip['pers_attack'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + + } else { + echo 'Мазохист?...'; + } + +} +?> \ No newline at end of file diff --git a/magic/usability_vip/sleep.php b/magic/usability_vip/sleep.php new file mode 100644 index 0000000..d6455f6 --- /dev/null +++ b/magic/usability_vip/sleep.php @@ -0,0 +1,30 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND `type` = '2' LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `sleep30` FROM `abils_vip` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); + +if($vip['sleep30'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(($user['room'] > 2000) && ($user['room'] < 2100)) { + echo "Не в Проходе..."; +} elseif($effect['time']) { + echo "На персонаже уже есть заклятие молчания"; +} elseif($user['room'] != $us['room']) { + echo "Персонаж в другой комнате!"; +} elseif(!$us['online']) { + echo "Персонаж не в игре!"; +} elseif($us['deal'] == 1) { + echo "Вы не можете наложить заклятие молчания на этого персонажа"; +} elseif($us['align'] > 2 && $us['align'] < 3) { + echo "Решились поднять руку на Ангела?.."; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("Персонаж "{$user['login']}" наложил заклятие молчания на "{$_POST['target']}", сроком 30 мин."); + mysql_query("INSERT INTO `effects` (`owner`, `name`, `time`, `type`) values ('".$us['id']."', 'Заклятие молчания', ".(time()+1800).", '2')"); + echo "На персонажа \"{$_POST['target']}\" наложено заклятие молчания "; + $vip['sleep30'] -= 1; + mysql_query('UPDATE `abils_vip` SET `sleep30` = "'.$vip['sleep30'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_vip/travmoff.php b/magic/usability_vip/travmoff.php new file mode 100644 index 0000000..a5e4ca5 --- /dev/null +++ b/magic/usability_vip/travmoff.php @@ -0,0 +1,22 @@ += ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1")); +$effect = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '{$us['id']}' AND `time` > '".time()."' AND (`type` = '11' OR `type` = '12' OR `type` = '13') ORDER BY `id` DESC LIMIT 1")); +$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `travmoff` FROM `abils_vip` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); + +if($_POST['target'] != $user['login']) { + echo 'Вы можете излечить только себя'; +} elseif($vip['travmoff'] <= 0) { + echo 'Магия была исчерпана ...'; +} elseif($user['battle'] > 0) { + echo "Не в бою..."; +} elseif(!isset($effect['id'])) { + echo "Нет тех травм, которые Вы можете излечить"; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + addch("{$user['login']} излечил себя от травм."); + mysql_query('UPDATE `effects` SET `time` = "'.time().'" WHERE `id` = "'.$effect['id'].'" LIMIT 1'); + echo "Персонаж \"{$_POST['target']}\" Был излечен от травм"; + $vip['travmoff'] -= 1; + mysql_query('UPDATE `abils_vip` SET `travmoff` = "'.$vip['travmoff'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); +} +?> \ No newline at end of file diff --git a/magic/usability_vip/un_sleep.php b/magic/usability_vip/un_sleep.php new file mode 100644 index 0000000..12e315a --- /dev/null +++ b/magic/usability_vip/un_sleep.php @@ -0,0 +1,20 @@ + 0) { + echo "Не в бою ..."; +} elseif(!isset($effect['id'])) { + echo "Нечего снимать..."; +} else { + if($user['invis'] == 1) { $user['login'] = 'невидимка'; } + mysql_query("DELETE FROM `effects` WHERE `owner` = '".$user['id']."' AND `id` = '".$effect['id']."' LIMIT 1"); + $vip['unsleep'] -= 1; + mysql_query('UPDATE `abils_vip` SET `unsleep` = "'.$vip['unsleep'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo "На персонажа \"{$user['login']}\" наложено заклятие \"Снять заклятие молчания\" "; +} +?> diff --git a/magic/vampir.php b/magic/vampir.php new file mode 100644 index 0000000..01380bb --- /dev/null +++ b/magic/vampir.php @@ -0,0 +1,167 @@ + 0) { + echo "Не в бою..."; +} else { + if ($_SESSION['uid'] == null) header("Location: index.php"); + $target=$_POST['target']; + $us = mysql_fetch_array(mysql_query("SELECT *, (SELECT `id` FROM `inventory` WHERE `owner` = `users`.`id` AND `name` LIKE '%Чеснок%' LIMIT 1) AS `che`, (SELECT `id` FROM `inventory` WHERE `owner` = `users`.`id` AND `name` LIKE '%Осиновый кол%' LIMIT 1) AS `kol`,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + $effs = mysql_query("SELECT * FROM `effects` WHERE `owner` = '{$us['id']}' and (`type`=12 or `type`=13 or `type`=14) limit 1;"); + //echo + if ($us['battle']) { echo "Персонаж находится в поединке!"; } + elseif ($us['battle']) { echo "Персонаж ожидает поединка!"; } + elseif ($us['id'] == $user['id']) { echo "На самого себя? Хм.... может еще и ногу себе откусишь? :)"; } + elseif ($us['align'] == 3) { echo "Что ж ты делаешь, гад?! "{$us['login']}" - твой темный собрат!"; } + elseif ($us['room'] == 31 || $us['room'] == 46 || $us['room'] == 47 || $us['room'] == 48 || $us['room'] == 49 ||$us['room'] == 600 || $us['room'] == 601 || $us['room'] == 45 || $us['room'] == 602 || $us['room'] == 43 || $us['room'] ==45) { + echo "Нападения в этой локации запрещены!";} + elseif ($user['hp'] > $user['maxhp']*0.66) { echo "Нет необходимости кусать, силы скоро восстановятся сами "; } + elseif ($user['hp'] < $user['maxhp']*0.33) { echo "Вы слишком ослаблены для укуса."; } + elseif ($us['hp'] < $us['maxhp']*0.33) { echo "Жертва слишком слаба."; } + elseif ($us['level'] == 0) { echo "Нельзя укусить новичка, они защищены Мироздателем!"; } + elseif ($us['align'] > 2 && $us['align'] < 3) { echo "Вы решили укусить Ангела? ;)"; } + elseif ($user['room'] != $us['room']) { echo "Персонаж находится в другой комнате.)"; } + elseif ($user['battle']) { echo "Не в бою..."; } + elseif ($user['room'] == 31) { echo "Нельзя укусить в этой комнате!"; } + elseif (((int)date("H") < 22) && ((int)date("H") >= 6)) { echo "Вампиры кусают только по ночам"; } + elseif ($us['level'] > $user['level']) { echo "Нельзя укусить персонажа большего левела!)"; } + elseif ($us['online'] == 0) { echo "Персонаж находится в оффлайне"; } + else { + if ($user['sex'] == 1) {$action="напал"; $golod="Оголодавший"; $pil="выпил";} + else {$action="напала"; $golod="Оголодавшая"; $pil="выпила";} + if ($us['sex'] == 1) {$otvet="он дал"; $who="его";} + else {$otvet="она дала"; $who="её";} + if (($us['che']==0) && ($us['kol']==0)) { + mysql_query("UPDATE `users` SET `hp` = 1 WHERE `id` = '".$us['id']."';"); + mysql_query("UPDATE `users` SET `hp` = `hp`+'".((($user['maxhp']-$user['hp'])<= $us['hp'])?($user['maxhp']-$user['hp']):$us['hp'])."' WHERE `id` = '".$user['id']."';"); + addch("{$golod} "{$user['login']}" {$action} на "{$target}" и {$pil} всю {$who} энергию."); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Все прошло удачно!"; + } + elseif (($us['kol']!=0 && rand(1,100) < 30) || ($us['id'] == 83 && rand(1,100) < 20)) { + mysql_query("UPDATE `users` SET `hp` = 1 WHERE `id` = '".$us['id']."';"); + mysql_query("UPDATE `users` SET `hp` = `hp`+'".((($user['maxhp']-$user['hp'])<= $us['hp'])?($user['maxhp']-$user['hp']):$us['hp'])."' WHERE `id` = '".$user['id']."';"); + addch("{$golod} "{$user['login']}" {$action} на "{$target}" и {$pil} всю {$who} энергию."); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Все прошло удачно!"; + } + elseif (($us['kol']!=0) || ($us['id'] == 83)) { + echo "Полный провал!.."; + if ($effs['type']) { + echo "Полный провал!.."; + mysql_query("UPDATE `users` SET `hp` = 1 WHERE `id` = '".$user['id']."';"); + mysql_query("UPDATE `inventory` SET `duration` = `duration`+1 WHERE `id` = '".$us['kol']."' LIMIT 1;"); + addch("{$golod} "{$user['login']}" {$action} на "{$target}", но {$otvet} достойный отпор вампиру."); + } + else { + mysql_query("UPDATE `users` SET `hp` = '".(round(($user['hp']/2),0))."' WHERE `id` = '".$user['id']."';"); + mysql_query("UPDATE `inventory` SET `duration` = `duration`+1 WHERE `id` = '".$us['kol']."' LIMIT 1;"); + addch("{$golod} "{$user['login']}" {$action} на "{$target}", но {$otvet} достойный отпор вампиру."); + $jert = $us; + if($jert['zayavka']) { + $fict1 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team1` LIKE '{$jert['id']};%' OR `team1` LIKE '%;{$jert['id']};%' LIMIT 1;")); + $fict2 = mysql_fetch_array(mysql_query("SELECT * FROM `zayavka` WHERE `team2` LIKE '{$jert['id']};%' OR `team2` LIKE '%;{$jert['id']};%' LIMIT 1;")); + if($fict1) { $team=1; } + elseif($fict2) { $team=2; } + + mysql_query("UPDATE `users` SET `zayavka` = '' WHERE `id` = {$jert['id']} LIMIT 1;"); + $z = mysql_fetch_array(mysql_query("SELECT `team{$team}` FROM `zayavka` WHERE `id`=".$jert['zayavka'].";")); + + $teams = str_replace($jert['id'].";","",implode(";",$z[0])); + mysql_query("UPDATE `zayavka` SET team{$team} = '{$teams}' WHERE id = {$jert['zayavka']};"); + } + + $teams = array(); + $teams[$user['id']][$us['id']] = array(0,0,time()); + $teams[$us['id']][$user['id']] = array(0,0,time()); + $sv = array(3,5,7,10); + //$tou = array_rand($sv,1); + mysql_query("INSERT INTO `battle` + ( + `id`,`coment`,`teams`,`timeout`,`type`,`status`,`t1`,`t2`,`to1`,`to2`,`blood` + ) + VALUES + ( + NULL,'','".serialize($teams)."','".$sv[rand(0,3)]."','6','0','".$user['id']."','".$us['id']."','".time()."','".time()."','1' + )"); + + $id = mysql_insert_id(); + + // апдейтим врага + if($bot) { + mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$us['id']} LIMIT 1;"); + } else { + mysql_query("UPDATE `users` SET `battle` = {$id} WHERE `id` = {$us['id']} LIMIT 1;"); + } + + // создаем лог + $rr = "".nick3($user['id'])." и ".nick3($us['id']).""; + addch ("Бой между ".nick7($user['id'])." и ".nick7($us['id'])." начался. ",$user['room']); + + //mysql_query("INSERT INTO `logs` (`id`,`log`) VALUES('{$id}','Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
    ');"); + addlog($id,'Часы показывали '.date("Y.m.d H.i").', когда '.$rr.' бросили вызов друг другу.
    '); + + + mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']} OR `id` = {$us['id']}"); + header("Location:fbattle.php"); + die(""); + } + } + elseif ($us['che']!=0 && rand(1,100) < 30) { + mysql_query("UPDATE `users` SET `hp` = 1 WHERE `id` = '".$us['id']."';"); + mysql_query("UPDATE `users` SET `hp` = `hp`+'".((($user['maxhp']-$user['hp'])<= $us['hp'])?($user['maxhp']-$user['hp']):$us['hp'])."' WHERE `id` = '".$user['id']."';"); + addch("{$golod} "{$user['login']}" {$action} на "{$target}" и {$pil} всю {$who} энергию."); + addchp($coma[rand(0,count($coma)-1)],"Комментатор"); + echo "Все прошло удачно!"; + } + else { + echo "Полный провал!.."; + mysql_query("UPDATE `users` SET `hp` = 1 WHERE `id` = '".$user['id']."';"); + mysql_query("UPDATE `inventory` SET `duration` = `duration`+1 WHERE `id` = '".$us['che']."' LIMIT 1;"); + addch("{$golod} "{$user['login']}" {$action} на "{$target}", но {$otvet} достойный отпор вампиру."); + } + + } + + //mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$user['id']."','Заклятие молчания',".(time()+1800).",2);"); + //if (mysql_query("UPDATE `inventory` SET `needident` = 0 WHERE `id` = {$dress['id']} LIMIT 1;")) { + // echo "На персонажа \"{$target}\" наложено заклятие молчания "; + // $bet=1; + //} else { + //echo "Неправильное имя персонажа"; + //} + //} else + //{ + // echo "Неудачно..."; + // $bet=1; + //} +} +?> \ No newline at end of file diff --git a/magic/vips.php b/magic/vips.php new file mode 100644 index 0000000..df9f894 --- /dev/null +++ b/magic/vips.php @@ -0,0 +1,150 @@ + 'Silver', 2 => 'Gold', 3 => 'Platinum'); + +if($time > 10) { + $srok = 'Бессрочно.'; +} else { + $srok = $time.' мес.'; +} + +if($user['align'] != 2.99 && $user['login'] != "father") { + echo 'Вам не доступна данная привелегия ...'; +} elseif(!isset($us['id'])) { + echo 'Персонаж \''.$_POST['target'].'\' не найден ...'; +} elseif($type < 1 && $type > 3) { + echo 'Не верный тип аккаунта ...'; +} else { + if($us['vip'] > 0 && $us['vip_time'] > time()) { + if($type == 1) { + if($us['vip'] == 1) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 1; $vip['attack'] = 1; $vip['bloodattack'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "0", `dontattack` = "0", `travmoff` = "0", `unsleep` = "0", `pers_attack` = "0"'; + mysql_query('UPDATE `users` SET `vip` = 1, `vip_time` = "'.$afected.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'обновлён'; $add = 'обновил'; + } elseif($us['vip'] == 2) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 2; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 1; $vip['travmoff'] = 1; $vip['unsleep'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "'.$vip['sleep30'].'", `dontattack` = "'.$vip['dontattack'].'", `travmoff` = "'.$vip['travmoff'].'", `unsleep` = "'.$vip['unsleep'].'", `pers_attack` = "0"'; + mysql_query('UPDATE `users` SET `vip` = 1, `vip_time` = "'.$n_time.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'выдан'; $add = 'присвоил'; + } elseif($us['vip'] == 3) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 3; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 2; $vip['travmoff'] = 1; $vip['unsleep'] = 2; $vip['pers_attack'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "'.$vip['sleep30'].'", `dontattack` = "'.$vip['dontattack'].'", `travmoff` = "'.$vip['travmoff'].'", `unsleep` = "'.$vip['unsleep'].'", `pers_attack` = "'.$vip['pers_attack'].'"'; + mysql_query('UPDATE `users` SET `vip` = 1, `vip_time` = "'.$n_time.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'выдан'; $add = 'присвоил'; + } + mysql_query('UPDATE `abils_vip` SET '.$sql.' WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Персонажу '.$us['login'].', '.$t.' '.$types[$type].' аккаунт. Сроком '.$srok.''; + if($user['deal'] > 0) { + $txt = 'Дилер '.$user['login'].' '.$add.' вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } elseif($user['align'] == 2.99) { + $txt = 'Ангел '.$user['login'].' '.$add.' вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } + addchp('Внимание! '.$txt, '{[]}'.nick7($us['id']).'{[]}'); + } elseif($type == 2) { + if($us['vip'] == 1) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 1; $vip['attack'] = 1; $vip['bloodattack'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "0", `dontattack` = "0", `travmoff` = "0", `unsleep` = "0", `pers_attack` = "0"'; + mysql_query('UPDATE `users` SET `vip` = 2, `vip_time` = "'.$n_time.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'выдан'; $add = 'присвоил'; + } elseif($us['vip'] == 2) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 2; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 1; $vip['travmoff'] = 1; $vip['unsleep'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "'.$vip['sleep30'].'", `dontattack` = "'.$vip['dontattack'].'", `travmoff` = "'.$vip['travmoff'].'", `unsleep` = "'.$vip['unsleep'].'", `pers_attack` = "0"'; + mysql_query('UPDATE `users` SET `vip` = 2, `vip_time` = "'.$afected.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'обновлен'; $add = 'обновил'; + } elseif($us['vip'] == 3) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 3; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 2; $vip['travmoff'] = 1; $vip['unsleep'] = 2; $vip['pers_attack'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "'.$vip['sleep30'].'", `dontattack` = "'.$vip['dontattack'].'", `travmoff` = "'.$vip['travmoff'].'", `unsleep` = "'.$vip['unsleep'].'", `pers_attack` = "'.$vip['pers_attack'].'"'; + mysql_query('UPDATE `users` SET `vip` = 2, `vip_time` = "'.$n_time.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'выдан'; $add = 'присвоил'; + } + mysql_query('UPDATE `abils_vip` SET '.$sql.' WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Персонажу '.$us['login'].', '.$t.' '.$types[$type].' аккаунт. Сроком '.$srok.''; + if($user['deal'] > 0) { + $txt = 'Дилер '.$user['login'].' '.$add.' вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } elseif($user['align'] == 2.99) { + $txt = 'Ангел '.$user['login'].' '.$add.' вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } + addchp('Внимание! '.$txt, '{[]}'.nick7($us['id']).'{[]}'); + } elseif($type == 3) { + if($us['vip'] == 1) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 1; $vip['attack'] = 1; $vip['bloodattack'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "0", `dontattack` = "0", `travmoff` = "0", `unsleep` = "0", `pers_attack` = "0"'; + mysql_query('UPDATE `users` SET `vip` = 3, `vip_time` = "'.$n_time.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'выдан'; $add = 'присвоил'; + } elseif($us['vip'] == 2) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 2; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 1; $vip['travmoff'] = 1; $vip['unsleep'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "'.$vip['sleep30'].'", `dontattack` = "'.$vip['dontattack'].'", `travmoff` = "'.$vip['travmoff'].'", `unsleep` = "'.$vip['unsleep'].'", `pers_attack` = "0"'; + mysql_query('UPDATE `users` SET `vip` = 3, `vip_time` = "'.$n_time.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'выдан'; $add = 'присвоил'; + } elseif($us['vip'] == 3) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 3; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 2; $vip['travmoff'] = 1; $vip['unsleep'] = 2; $vip['pers_attack'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "'.$vip['sleep30'].'", `dontattack` = "'.$vip['dontattack'].'", `travmoff` = "'.$vip['travmoff'].'", `unsleep` = "'.$vip['unsleep'].'", `pers_attack` = "'.$vip['pers_attack'].'"'; + mysql_query('UPDATE `users` SET `vip` = 3, `vip_time` = "'.$afected.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + $t = 'обновлен'; $add = 'обновил'; + } + mysql_query('UPDATE `abils_vip` SET '.$sql.' WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Персонажу '.$us['login'].', '.$t.' '.$types[$type].' аккаунт. Сроком '.$srok.''; + if($user['deal'] > 0) { + $txt = 'Дилер '.$user['login'].' '.$add.' вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } elseif($user['align'] == 2.99) { + $txt = 'Ангел '.$user['login'].' '.$add.' вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } + addchp('Внимание! '.$txt, '{[]}'.nick7($us['id']).'{[]}'); + } + } else { + if(isset($vip['id'])) { + if($type == 1) { + $vip['invisible'] += 1; $vip['attack'] = 1; $vip['bloodattack'] = 1; + $sql = '`invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'"'; + } elseif($type == 2) { + $vip['invisible'] += 2; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 1; $vip['travmoff'] = 1; $vip['unsleep'] = 1; + $sql = '`invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "'.$vip['sleep30'].'", `dontattack` = "'.$vip['dontattack'].'", `travmoff` = "'.$vip['travmoff'].'", `unsleep` = "'.$vip['unsleep'].'"'; + } elseif($type == 3) { + $vip['invisible'] += 3; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] += 2; $vip['travmoff'] = 1; $vip['unsleep'] += 2; $vip['pers_attack'] = 1; + $sql = '`invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'", `sleep30` = "'.$vip['sleep30'].'", `dontattack` = "'.$vip['dontattack'].'", `travmoff` = "'.$vip['travmoff'].'", `unsleep` = "'.$vip['unsleep'].'", `pers_attack` = "'.$vip['pers_attack'].'"'; + } + $add = 'Выдал'; + mysql_query('UPDATE `users` SET `vip` = "'.$type.'", `vip_time` = "'.$n_time.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + mysql_query('UPDATE `abils_vip` SET '.$sql.' WHERE `id` = "'.$vip['id'].'" LIMIT 1'); + echo 'Персонажу '.$us['login'].', выдан '.$types[$type].' аккаунт. Сроком '.$srok.''; + + if($user['deal'] > 0) { + $txt = 'Дилер '.$user['login'].' '.$add.' вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } elseif($user['align'] == 2.99) { + $txt = 'Ангел '.$user['login'].' '.$add.' вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } + addchp('Внимание! '.$txt, '{[]}'.nick7($us['id']).'{[]}'); + + } else { + if($type == 1) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 1; $vip['attack'] = 1; $vip['bloodattack'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'"'; + } elseif($type == 2) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 2; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 1; $vip['travmoff'] = 1; $vip['unsleep'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'"'; + + } elseif($type == 3) { + $vip['sokr'] = 1; $vip['zash'] = 1; $vip['invisible'] = 3; $vip['attack'] = 1; $vip['bloodattack'] = 1; $vip['sleep30'] = 1; $vip['dontattack'] = 2; $vip['travmoff'] = 1; $vip['unsleep'] = 2; $vip['pers_attack'] = 1; + $sql = '`sokr` = "'.$vip['sokr'].'", `zash` = "'.$vip['zash'].'", `invisible` = "'.$vip['invisible'].'", `attack` = "'.$vip['attack'].'", `bloodattack` = "'.$vip['bloodattack'].'"'; + + } + mysql_query('UPDATE `users` SET `vip` = "'.$type.'", `vip_time` = "'.$n_time.'" WHERE `id` = "'.$us['id'].'" LIMIT 1'); + mysql_query('INSERT INTO `abils_vip` SET '.$sql.', `uid` = "'.$us['id'].'"'); + echo 'Персонажу '.$us['login'].', выдан '.$types[$type].' аккаунт. Сроком '.$srok.''; + if($user['deal'] > 0) { + $txt = 'Дилер '.$user['login'].' присвоил вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } elseif($user['align'] == 2.99) { + $txt = 'Ангел '.$user['login'].' присвоил вам '.$types[$type].' аккаунт, сроком '.$srok.''; + } + addchp('Внимание! '.$txt, '{[]}'.nick7($us['id']).'{[]}'); + } + } +} \ No newline at end of file diff --git a/magic/wis_air_def1.php b/magic/wis_air_def1.php new file mode 100644 index 0000000..93d18e5 --- /dev/null +++ b/magic/wis_air_def1.php @@ -0,0 +1,46 @@ +Защита эфира [1]
    "; +$mag_id=126; +$book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_air_def2.php b/magic/wis_air_def2.php new file mode 100644 index 0000000..6c5a34c --- /dev/null +++ b/magic/wis_air_def2.php @@ -0,0 +1,46 @@ +Защита эфира [2]"; +$mag_id=127; +$book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_air_def3.php b/magic/wis_air_def3.php new file mode 100644 index 0000000..88325e3 --- /dev/null +++ b/magic/wis_air_def3.php @@ -0,0 +1,46 @@ +Защита эфира [3]"; +$mag_id=128; +$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_air_h1.php b/magic/wis_air_h1.php new file mode 100644 index 0000000..e3b67b2 --- /dev/null +++ b/magic/wis_air_h1.php @@ -0,0 +1,127 @@ +Цепь Исцеления [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_air_h2.php b/magic/wis_air_h2.php new file mode 100644 index 0000000..06f59c6 --- /dev/null +++ b/magic/wis_air_h2.php @@ -0,0 +1,127 @@ +Цепь Исцеления [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_air_h3.php b/magic/wis_air_h3.php new file mode 100644 index 0000000..8342df8 --- /dev/null +++ b/magic/wis_air_h3.php @@ -0,0 +1,127 @@ +Цепь Исцеления [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_air_m1.php b/magic/wis_air_m1.php new file mode 100644 index 0000000..dcb5e37 --- /dev/null +++ b/magic/wis_air_m1.php @@ -0,0 +1,133 @@ +Молния [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_air_m2.php b/magic/wis_air_m2.php new file mode 100644 index 0000000..5589a14 --- /dev/null +++ b/magic/wis_air_m2.php @@ -0,0 +1,133 @@ +Молния [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_air_m3.php b/magic/wis_air_m3.php new file mode 100644 index 0000000..7a5a388 --- /dev/null +++ b/magic/wis_air_m3.php @@ -0,0 +1,133 @@ +Молния [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_air_o1.php b/magic/wis_air_o1.php new file mode 100644 index 0000000..f049f53 --- /dev/null +++ b/magic/wis_air_o1.php @@ -0,0 +1,68 @@ +Туманный Образ [1]"; +$mag_id=90; +$book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205","206","207","208","209","210","211","212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие
    '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие
    '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_air_o2.php b/magic/wis_air_o2.php new file mode 100644 index 0000000..d9789e0 --- /dev/null +++ b/magic/wis_air_o2.php @@ -0,0 +1,69 @@ +Туманный Образ [2]"; +$mag_id=78; +$book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205","206","207","208","209","210","211","212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_air_o3.php b/magic/wis_air_o3.php new file mode 100644 index 0000000..54087ba --- /dev/null +++ b/magic/wis_air_o3.php @@ -0,0 +1,69 @@ +Туманный Образ [3]"; +$mag_id=79; +$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205","206","207","208","209","210","211","212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_air_t1.php b/magic/wis_air_t1.php new file mode 100644 index 0000000..040011f --- /dev/null +++ b/magic/wis_air_t1.php @@ -0,0 +1,122 @@ +Цепь Молний [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_air_t2.php b/magic/wis_air_t2.php new file mode 100644 index 0000000..71b5edd --- /dev/null +++ b/magic/wis_air_t2.php @@ -0,0 +1,122 @@ +Цепь Молний [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_air_t3.php b/magic/wis_air_t3.php new file mode 100644 index 0000000..39b9083 --- /dev/null +++ b/magic/wis_air_t3.php @@ -0,0 +1,122 @@ +Цепь Молний [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_d1.php b/magic/wis_earth_d1.php new file mode 100644 index 0000000..e9d8c5c --- /dev/null +++ b/magic/wis_earth_d1.php @@ -0,0 +1,127 @@ +Дух Природы [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_d2.php b/magic/wis_earth_d2.php new file mode 100644 index 0000000..2c580ef --- /dev/null +++ b/magic/wis_earth_d2.php @@ -0,0 +1,127 @@ +Дух Природы [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_d3.php b/magic/wis_earth_d3.php new file mode 100644 index 0000000..bb41aa0 --- /dev/null +++ b/magic/wis_earth_d3.php @@ -0,0 +1,126 @@ +Дух Природы [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_def1.php b/magic/wis_earth_def1.php new file mode 100644 index 0000000..c99d9a9 --- /dev/null +++ b/magic/wis_earth_def1.php @@ -0,0 +1,46 @@ +Песчаный Щит [1]"; +$mag_id=129; +$book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_earth_def2.php b/magic/wis_earth_def2.php new file mode 100644 index 0000000..970c895 --- /dev/null +++ b/magic/wis_earth_def2.php @@ -0,0 +1,46 @@ +Песчаный Щит [2]"; +$mag_id=130; +$book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_earth_def3.php b/magic/wis_earth_def3.php new file mode 100644 index 0000000..fc415a8 --- /dev/null +++ b/magic/wis_earth_def3.php @@ -0,0 +1,45 @@ +Песчаный Щит [3]"; +$mag_id=131; +$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_earth_g1.php b/magic/wis_earth_g1.php new file mode 100644 index 0000000..03f08eb --- /dev/null +++ b/magic/wis_earth_g1.php @@ -0,0 +1,72 @@ +Гравитация [1]"; +$mag_id=80; +$book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_earth_g2.php b/magic/wis_earth_g2.php new file mode 100644 index 0000000..0ee6caf --- /dev/null +++ b/magic/wis_earth_g2.php @@ -0,0 +1,71 @@ +Гравитация [2]"; +$mag_id=81; +$book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_earth_g3.php b/magic/wis_earth_g3.php new file mode 100644 index 0000000..afc8651 --- /dev/null +++ b/magic/wis_earth_g3.php @@ -0,0 +1,70 @@ +Гравитация [3]"; +$mag_id=83; +$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_earth_k1.php b/magic/wis_earth_k1.php new file mode 100644 index 0000000..6b4d628 --- /dev/null +++ b/magic/wis_earth_k1.php @@ -0,0 +1,123 @@ +Каменный Дождь [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_k2.php b/magic/wis_earth_k2.php new file mode 100644 index 0000000..1196434 --- /dev/null +++ b/magic/wis_earth_k2.php @@ -0,0 +1,122 @@ +Каменный Дождь [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_k3.php b/magic/wis_earth_k3.php new file mode 100644 index 0000000..41b4ed6 --- /dev/null +++ b/magic/wis_earth_k3.php @@ -0,0 +1,122 @@ +Каменный Дождь [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_m1.php b/magic/wis_earth_m1.php new file mode 100644 index 0000000..15b307d --- /dev/null +++ b/magic/wis_earth_m1.php @@ -0,0 +1,133 @@ +Метеорит [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_m2.php b/magic/wis_earth_m2.php new file mode 100644 index 0000000..ebcebc3 --- /dev/null +++ b/magic/wis_earth_m2.php @@ -0,0 +1,133 @@ +Метеорит [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_earth_m3.php b/magic/wis_earth_m3.php new file mode 100644 index 0000000..40f65fe --- /dev/null +++ b/magic/wis_earth_m3.php @@ -0,0 +1,133 @@ +Метеорит [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_def1.php b/magic/wis_fire_def1.php new file mode 100644 index 0000000..2a3e50d --- /dev/null +++ b/magic/wis_fire_def1.php @@ -0,0 +1,45 @@ +Огненный Щит [1]"; +$mag_id=132; +$book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_fire_def2.php b/magic/wis_fire_def2.php new file mode 100644 index 0000000..134141b --- /dev/null +++ b/magic/wis_fire_def2.php @@ -0,0 +1,45 @@ +Огненный Щит [2]"; +$mag_id=133; +$book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_fire_def3.php b/magic/wis_fire_def3.php new file mode 100644 index 0000000..450b59a --- /dev/null +++ b/magic/wis_fire_def3.php @@ -0,0 +1,45 @@ +Огненный Щит [3]"; +$mag_id=134; +$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;"));$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_fire_i1.php b/magic/wis_fire_i1.php new file mode 100644 index 0000000..4b6078b --- /dev/null +++ b/magic/wis_fire_i1.php @@ -0,0 +1,70 @@ +Стена Огня [1]"; +$mag_id=84; +$book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_fire_i2.php b/magic/wis_fire_i2.php new file mode 100644 index 0000000..893a13b --- /dev/null +++ b/magic/wis_fire_i2.php @@ -0,0 +1,71 @@ +Стена Огня [2]"; +$mag_id=85; +$book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_fire_i3.php b/magic/wis_fire_i3.php new file mode 100644 index 0000000..aa991ad --- /dev/null +++ b/magic/wis_fire_i3.php @@ -0,0 +1,70 @@ +Стена Огня [3]"; +$mag_id=86; +$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;"));$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_fire_p1.php b/magic/wis_fire_p1.php new file mode 100644 index 0000000..e417250 --- /dev/null +++ b/magic/wis_fire_p1.php @@ -0,0 +1,122 @@ +Пожирающее Пламя [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_p2.php b/magic/wis_fire_p2.php new file mode 100644 index 0000000..1f4f35d --- /dev/null +++ b/magic/wis_fire_p2.php @@ -0,0 +1,122 @@ +Пожирающее Пламя [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_p3.php b/magic/wis_fire_p3.php new file mode 100644 index 0000000..6683419 --- /dev/null +++ b/magic/wis_fire_p3.php @@ -0,0 +1,122 @@ +Пожирающее Пламя [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_t1.php b/magic/wis_fire_t1.php new file mode 100644 index 0000000..c237dba --- /dev/null +++ b/magic/wis_fire_t1.php @@ -0,0 +1,127 @@ +Тепло Жизни [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_t2.php b/magic/wis_fire_t2.php new file mode 100644 index 0000000..326c080 --- /dev/null +++ b/magic/wis_fire_t2.php @@ -0,0 +1,127 @@ +Тепло Жизни [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_t3.php b/magic/wis_fire_t3.php new file mode 100644 index 0000000..6f19c26 --- /dev/null +++ b/magic/wis_fire_t3.php @@ -0,0 +1,127 @@ +Тепло Жизни [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_v1.php b/magic/wis_fire_v1.php new file mode 100644 index 0000000..6e873ab --- /dev/null +++ b/magic/wis_fire_v1.php @@ -0,0 +1,133 @@ +Вспышка [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_v2.php b/magic/wis_fire_v2.php new file mode 100644 index 0000000..ee92066 --- /dev/null +++ b/magic/wis_fire_v2.php @@ -0,0 +1,133 @@ +Вспышка [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_fire_v3.php b/magic/wis_fire_v3.php new file mode 100644 index 0000000..4bec986 --- /dev/null +++ b/magic/wis_fire_v3.php @@ -0,0 +1,134 @@ +Вспышка [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_ch1.php b/magic/wis_water_ch1.php new file mode 100644 index 0000000..2b5d309 --- /dev/null +++ b/magic/wis_water_ch1.php @@ -0,0 +1,71 @@ +Чистота Воды [1]"; +$mag_id=87; +$book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_water_ch2.php b/magic/wis_water_ch2.php new file mode 100644 index 0000000..cf1b282 --- /dev/null +++ b/magic/wis_water_ch2.php @@ -0,0 +1,71 @@ +Чистота Воды [2]"; +$mag_id=88; +$book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_water_ch3.php b/magic/wis_water_ch3.php new file mode 100644 index 0000000..806ebb4 --- /dev/null +++ b/magic/wis_water_ch3.php @@ -0,0 +1,71 @@ +Чистота Воды [3]"; +$mag_id=89; +$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +$mag_def="`type` = '203'"; +$md_arr=array("204","205", +"206","207","208", +"209","210","211", +"212","213","214"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + } + else { + $us_team = "B2"; + } +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif (in_array ($user['id'],$t1)&&!in_array($us['id'],$t1) || in_array ($user['id'],$t2)&&!in_array($us['id'],$t2)) { + echo("Персонаж не в Вашей команде!"); +}elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if($user['id']==$us_in['id']) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на себя заклятие '.$log_text.'
    '); + else + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.' на '.nick5($us_in['id'],$us_team).' заклятие '.$log_text.'
    '); + $bet=1; + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");$outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_water_def1.php b/magic/wis_water_def1.php new file mode 100644 index 0000000..7c8a2c3 --- /dev/null +++ b/magic/wis_water_def1.php @@ -0,0 +1,46 @@ +Стена Воды [1]"; +$mag_id=135; +$book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_water_def2.php b/magic/wis_water_def2.php new file mode 100644 index 0000000..944f172 --- /dev/null +++ b/magic/wis_water_def2.php @@ -0,0 +1,45 @@ +Стена Воды [2]"; +$mag_id=136; +$book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_water_def3.php b/magic/wis_water_def3.php new file mode 100644 index 0000000..285df2e --- /dev/null +++ b/magic/wis_water_def3.php @@ -0,0 +1,46 @@ +Стена Воды [3]"; +$mag_id=137; +$book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' ;")); + +$mag_def="`type` = '215'"; +$md_arr=array("216","217","218","219","220","221","222","223","224","225","226"); +foreach($md_arr as $mdi) + $mag_def.=" OR `type` = '".$mdi."'"; +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND ({$mag_def}) LIMIT 1;")); +//шансы +if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } +else {$int=0;} + +if (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($effect['time']) { + echo "На персонаже уже есть защита от магии!"; +} elseif (!$us['online']) { + echo "Персонаж не в игре!"; +} elseif ($user['battle'] > 0) { echo "Не в бою..."; +} elseif (rand(1,100) < $int) { + $us_in = mysql_fetch_array(mysql_query("SELECT `id` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('{$us_in['id']}','{$effect_text}',".(time()+7200).",'{$effect_id}');"); + echo "На персонажа ".$_POST['target']." наложено заклятие ".$log_text; + $bet=1; + $outok=1; + + +} else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +?> \ No newline at end of file diff --git a/magic/wis_water_o1.php b/magic/wis_water_o1.php new file mode 100644 index 0000000..93c70f0 --- /dev/null +++ b/magic/wis_water_o1.php @@ -0,0 +1,133 @@ +Оледенение [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_o2.php b/magic/wis_water_o2.php new file mode 100644 index 0000000..7c498ce --- /dev/null +++ b/magic/wis_water_o2.php @@ -0,0 +1,133 @@ +Оледенение [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_o3.php b/magic/wis_water_o3.php new file mode 100644 index 0000000..5c6948a --- /dev/null +++ b/magic/wis_water_o3.php @@ -0,0 +1,133 @@ +Оледенение [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +if(!$us) $bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `name` = '".$_POST['target']."' LIMIT 1;")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if($us) $e_id=$us['id']; +else $e_id=$bot['id']; +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif((in_array ($user['id'],$t1)&&in_array ($e_id,$t1)) || (in_array ($user['id'],$t2)&&in_array ($e_id,$t2))) { + echo "Персонаж в Вашей команде!"; +} elseif($user['login']==$_POST['target']) { + echo "Герр Леопольд фон Захер Мазох был бы доволен Вами..."; +} elseif ($us && $us['battle']!=$user['battle']) { + echo "Персонаж не в Вашем бою!"; +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} elseif (!$us['online']&&!$bot) { + echo "Персонаж не в игре!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + // команды + $t1 = explode(";",$bat['t1']); + $t2 = explode(";",$bat['t2']); + if (in_array ($user['id'],$t1)) { + $us_team = "B1"; + $tar_team = "B2"; + } + else { + $us_team = "B2"; + $tar_team = "B1"; + } + + $targeted=' на '.nick5($target,$tar_team); + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + else + echo "Не нарушайте покой мертвых!"; + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + //проверка hp>0 + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_r1.php b/magic/wis_water_r1.php new file mode 100644 index 0000000..2cd878b --- /dev/null +++ b/magic/wis_water_r1.php @@ -0,0 +1,127 @@ +Регенерация [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_r2.php b/magic/wis_water_r2.php new file mode 100644 index 0000000..838f73f --- /dev/null +++ b/magic/wis_water_r2.php @@ -0,0 +1,127 @@ +Регенерация [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_r3.php b/magic/wis_water_r3.php new file mode 100644 index 0000000..c1a7ba6 --- /dev/null +++ b/magic/wis_water_r3.php @@ -0,0 +1,127 @@ +Регенерация [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t1; +if(in_array($user['id'],$t2)) $e_team=$t2; +foreach($e_team as $k=>$l) +{ + if($l>_BOTSEPARATOR_) $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `bots` WHERE `id`='{$l}' LIMIT 1;")); + else $e_hp=mysql_fetch_array(mysql_query("SELECT `hp` FROM `users` WHERE `id`='{$l}' LIMIT 1;")); + if($e_hp['hp']<1) unset($e_team[$k]); +} +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/$user['level'])+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $delta=$us['maxhp']-$us['hp']; + else $delta=$b_maxhp-$bot['hp']; + if($delta<$dmg) $dmg=floor($delta); + if($dmg<1) $dmg=0; + + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit='-1'; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`+'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + addlog($user['battle'],''.date("H:i").' '.$action.' +'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_tr1.php b/magic/wis_water_tr1.php new file mode 100644 index 0000000..72b2f1a --- /dev/null +++ b/magic/wis_water_tr1.php @@ -0,0 +1,123 @@ +Отравление [1]"; + $book=866;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_tr2.php b/magic/wis_water_tr2.php new file mode 100644 index 0000000..21a4d41 --- /dev/null +++ b/magic/wis_water_tr2.php @@ -0,0 +1,122 @@ +Отравление [2]"; + $book=908;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/wis_water_tr3.php b/magic/wis_water_tr3.php new file mode 100644 index 0000000..8ba580b --- /dev/null +++ b/magic/wis_water_tr3.php @@ -0,0 +1,122 @@ +Отравление [3]"; + $book=909;$have_book=mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `prototype`='{$book}' AND `owner`='{$user['id']}' LIMIT 1;")); + +if ($_SESSION['uid'] == null) header("Location: index.php"); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '{$mag_id}' LIMIT 1 ;")); +$bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); +//mana needed +$t1 = explode(";",$bat['t1']); +$t2 = explode(";",$bat['t2']); +if(in_array($user['id'],$t1)) $e_team=$t2; +if(in_array($user['id'],$t2)) $e_team=$t1; +shuffle($e_team); + +if ($user['battle'] == 0) { + echo "Это боевая магия..."; +} elseif (!$have_book['id']) { + echo("У Вас нет необходимой книги магии!"); +} elseif ($user['mana']<$needmana) { + echo "Недостаточно энергии!"; +} else { + //attack script + if ($user['intel'] >= $needint) { + $int=$magic['chanse'] + ($user['intel'] - $needint)*3; + if ($int>98){$int=99;} + } + else {$int=0;} + + if (rand(1,100) < $int) { + global $elem_align,$elem_bonus; + $user_elem=element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2))); + + switch($user_elem) + { + case 'f':$uel='mfire';break; + case 'a':$uel='mair';break; + case 'w':$uel='mwater';break; + case 'e':$uel='mearth';break; + }; + switch($elem) + { + case 'f':$sel='mfire';break; + case 'a':$sel='mair';break; + case 'w':$sel='mwater';break; + case 'e':$sel='mearth';break; + }; + $sex_action="применил";if($user['sex']==0) $sex_action.="а"; + addlog($user['battle'],''.date("H:i").' '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'
    '); + + //mass magic + mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';"); + foreach($e_team as $v) + if($count>0) + { + $count--; + $bat=mysql_fetch_array(mysql_query("SELECT * FROM `battle` WHERE `id`='{$user['battle']}';")); + $us = mysql_fetch_array(mysql_query("SELECT *,(select `id` from `online` WHERE `real_time` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `id` = '{$v}' LIMIT 1;")); + if(!$us) {$bot= mysql_fetch_array(mysql_query ("SELECT * FROM `bots` WHERE `id` = '{$v}' LIMIT 1;"));$b_maxhp=mysql_fetch_array(mysql_query("SELECT `maxhp` FROM `users`WHERE `id`='{$bot['prototype']}' LIMIT 1;"));$b_maxhp=$b_maxhp['maxhp'];} + //dmg=base+INT/LVL+X_magic + $dmg=$basedmg+($user['intel']/4)+$user[$sel]; + //MF + $dmg*=$elem_align[$user_elem][$elem]; + if($us) $dmg*=$elem_bonus[element(star_sign(substr($user['borndate'],3,2), substr($user['borndate'],0,2)))][element(star_sign(substr($us['borndate'],3,2), substr($us['borndate'],0,2)))]; + //- MF + if($us) { + $def=magic_def($elem,$_POST['target'],$user_elem);$dmg*=(1-magic_def($elem,$us['login'],$user_elem,1)/100); + $dmg-=$def; + } + //rand +- 25% + $dmg=mt_rand(0.75*$dmg,1.25*$dmg); + $dmg=round($dmg); + if($us) $target=$us['id']; + else $target=$bot['id']; + + $targeted=''; + //dmg >0 - go + $all_dmg=unserialize($bat['damage']); + $all_exp=unserialize($bat['exp']); + $all_dmg[$user['id']]+=$dmg; + $all_exp[$user['id']]+=SolveExp($user['id'],$target,$dmg); + + //сработало + if($dmg>0) $hit=1; else $hit=0; + $action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target)); + if(!(($us['id']>0 && $us['hp']<1) || ($bot['id']>0 && $bot['hp']<1))) + if($dmg>0) + { + if($us) + mysql_query("UPDATE `users` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + else + mysql_query("UPDATE `bots` SET `hp` = `hp`-'".$dmg."' WHERE `id` = '".$target."';"); + mysql_query("UPDATE `battle` SET `damage`='".serialize($all_dmg)."', `exp`='".serialize($all_exp)."' WHERE `id`='{$user['battle']}';"); + + + addlog($user['battle'],''.date("H:i").' '.$action.' -'.$dmg.'
    '); + + $bet=1; + } + else + //не сработало + { + addlog($user['battle'],''.date("H:i").' '.$action.'
    '); + $bet=1; + } + } + + } else { + echo "Свиток рассыпался в ваших руках..."; + $bet=1; + } +} + +?> \ No newline at end of file diff --git a/magic/zapas_.php b/magic/zapas_.php new file mode 100644 index 0000000..727bf37 --- /dev/null +++ b/magic/zapas_.php @@ -0,0 +1,2 @@ +Пока не работает ..."; \ No newline at end of file diff --git a/magic/zz.php b/magic/zz.php new file mode 100644 index 0000000..715474e --- /dev/null +++ b/magic/zz.php @@ -0,0 +1,46 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `login` = '".$_POST['target']."' LIMIT 1;")); +$magic = mysql_fetch_array(mysql_query("SELECT `chanse` FROM `magic` WHERE `id` = '405' ;")); +$magic_need = mysql_fetch_array(mysql_query("SELECT `nintel`,`nlevel`,`ngray`,`name`,`img` FROM `inventory` WHERE `id` = '".$_GET['use']."' ;")); +$effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' and `type` = '405' LIMIT 1;")); + +if ($user['intel'] >= 1) { + $int=$magic['chanse'] + ($user['intel'] - 1)*3; + if ($int>98){$int=99;} + } +else {$int=0;} +if (!$magic_need[0]) {echo "Свиток РЅРµ найден РІ Вашем инвентаре...";} +elseif ($user['battle'] > 0) {echo "РќРµ РІ Р±РѕСЋ...";} +elseif ($user['level'] < $magic_need['nlevel']) { echo "Вашего СѓСЂРѕРІРЅСЏ РЅРµ достаточно для использования этого заклинания!"; } +elseif ($user['mgray'] < $magic_need['ngray']) { echo "РќРµ достаточно владения Серой магией для использования этого заклинания!"; } +elseif ($user['intel'] < $magic_need['nintel']) { echo "Вашего интеллекта РЅРµ достаточно для использования этого заклинания!"; } +elseif ($effect['time']) {echo "РќР° персонаже уже есть заклятие Микстура жизненных СЃРёР»"; } +elseif ($user['room'] != $us['room']) { echo "Персонаж РІ РґСЂСѓРіРѕР№ комнате!"; } +elseif (!$us['online']) {echo "Персонаж РЅРµ РІ РёРіСЂРµ!";} + +elseif (rand(1,100) < $int) { + +/////вычисляем тип жж///// +if($magic_need['nintel']==1){$zz=1;} +elseif($magic_need['nintel']==2){$zz=2;} +elseif($magic_need['nintel']==3){$zz=3;} +elseif($magic_need['nintel']==4){$zz=4;} +elseif($magic_need['nintel']==5){$zz=5;} + + +$plushp=floor($us['vinos']*$zz); +if($user['intel']>=100){$timeplus=10800; $timetext='3';}else{$timeplus=7200; $timetext='2';} + + addch("Персонаж "{$user['login']}" наложил заклятие \"".$magic_need['name']."\" РЅР° "{$_POST['target']}", СЃСЂРѕРєРѕРј ".$timetext." часа."); + mysql_query("UPDATE `users` SET `maxhp`=`maxhp`+'".$plushp."' WHERE `id` = '".$us['id']."' LIMIT 1;"); + mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`,`maxhp`) values ('".(int)$us['id']."','".$magic_need['name']."',".(time()+$timeplus).",405,'".$plushp."');"); + echo "РќР° персонажа \"{$_POST['target']}\" наложено заклятие \"".$magic_need['name']."\" "; + $bet=1; + + +} else { + echo "Свиток рассыпался РІ ваших руках..."; + $bet=1; + } +?> + diff --git a/mailsender.php b/mailsender.php new file mode 100644 index 0000000..f03824f --- /dev/null +++ b/mailsender.php @@ -0,0 +1,123 @@ +Вы не ввели тему письма'; + } elseif (empty($emailer_mails) || $emailer_mails=="Почтовые адрсе") { + // Если адресов нет... + $mail_msg='Не указано адреса получателей'; + } elseif (empty($emailer_text) || $emailer_text=="Текст письма") { + // Если сообщение пустое... + $mail_msg='Вы не ввели текст письма'; + } else { // Если все поля заполнены верно... + // Готовим сообщение об успешной отправке... Вдруг у вас какой-то необычный браузер + $mail_msg='Ваше сообщение отправлено.
    Нажмите здесь, если ваш браузер не поддерживает перенаправление.'; + // Готовим заголовки письма... Будем отправлять письма в формате HTML и кодировке UTF-8 + $headers="MIME-Version: 1.0\r\n"; + $headers.="Content-type: text/html; charset=utf-8\r\n"; + $headers.="From: $emailer_yourmail"; + + // Обработка письма. Нужно удалить лишние пробелы и проставить переносы. + // $emailer_text=ereg_replace('/ +/',' ',$emailer_text); // множественные пробелы заменяются на одинарные + // $emailer_text=ereg_replace('/(\r\n){3,}/','\r\n\r\n',$emailer_text); // убираем лишние переносы (больше 1 строки) + $emailer_text=str_replace('\r\n','
    ',$emailer_text); // ставим переносы + + // Получаем массив адресов. В качестве разделителя у нас используется запятая. + $emails=explode(",", $emailer_mails); + $count_emails = count($emails); // Подсчёт количества адресов + // Запускаем цикл отправки сообщений + for ($i=0; $i<=$count_emails-1; $i++) // Отчёт начинается в массиве с нуля, поэтому уменьшаем сумму на единицу + { + // Подставляем адреса получаетелей и обрезаем пробелы с обоих сторон, если таковые имеются + $email=trim($emails[$i]); + // Отправляем письмо и готовим отчёт по отправке + if($emails[$i]!="") { // Проверка на случай попадения в массив пустого значения + if(mail($email,$emailer_subj,$emailer_text,$headers)) $report.="
  • Отправлено: ".$emails[$i]."
  • "; else $report.="
  • Не отправлено: ".$emails[$i]."
  • "; + sleep(5); // Делаем тайм-аут в 5 секунд + } + } + + // Запись отчёта в файл. Файл будет сгенерирован в той же папке, под названием log.txt. Проверьте настройку прав папки. + $log=fopen("log.txt","w"); + fwrite($log,$report); + fclose($log); + // Переменная $sent – признак успешной отправки + $sent=1; + } +} else { // Если в массиве POST пусто, форма еще не передавалась + // Готовим приглашение + $mail_msg='Все поля обязательны для заполнения.'; + // Поля темы, адресов получаетелей и получателей, и текста в этом случае должны быть пустыми + $emailer_text=$emailer_subj=$emailer_mails=$emailer_yourmail=''; +} + + // Если $sent не существует, выводим форму или отчёт + if (!isset($sent)) { + // Если сообщение уже отправлено - выводим отчёт + if(isset($_GET['messent'])) + {echo $text.="Всё окей. Сообщение отправлено. Ещё?

    Отчёт:
      "; + readfile("log.txt"); + echo"
    ";} + else { + // Или выводим форму, если сообщение ещё не отправлено + echo $text.=<< + function form_validator(form) { + if (form.emailer_subj.value=='' || form.emailer_subj.value=='Тема письма') { alert('Укажите тему письма.'); form.emailer_subj.focus(); return false; } + if (form.emailer_mails.value=='' || form.emailer_mails.value=='Почтовые адреса') { alert('Укажите адреса получаталей.'); form.emailer_mails.focus(); return false; } + if (form.emailer_text.value=='' || form.emailer_text.value=='Текст письма') { alert('Вы не заполнили поле сообщения.'); form.emailer_text.focus(); return false; } + return true; + } + + +
    +

    $mail_msg

    + + + + + +
    +post; +} +} +else { // А если существует... + // Посылаем в заголовке редирект (303 Refresh) на этот же адрес с дополнительным параметром messent + $ret_uri=$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; + header("Refresh: 0; URL=http://".$ret_uri."?messent"); + exit; +} + +?> diff --git a/main.php b/main.php new file mode 100644 index 0000000..ed2c000 --- /dev/null +++ b/main.php @@ -0,0 +1,2474 @@ +".auth_bank((int)$_POST['bank'], $_POST['bankpsw'], $user['id']).""; +} + +if(isset($_POST['off_text'])) { + if($user['auto_text'] == 1) { + $user['auto_text'] = 0; + mysql_query('UPDATE `users` SET `auto_text` = "'.$user['auto_text'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo 'Автоответчик отключён.'; + } +} + +if(isset($_POST['on_text'])) { + if($user['auto_text'] == 0) { + if(isset($var_txt['id'])) { + $user['auto_text'] = 1; + mysql_query('UPDATE `users` SET `auto_text` = "'.$user['auto_text'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + echo 'Автоответчик включён.'; + } else { + echo 'Автоответчик пуст. Введите текст для ответа.'; + } + } +} + +if(isset($_POST['set_text'])) { + if(strlen($_POST['chat_text']) > 4 && strlen($_POST['chat_text']) <= 50) { + if($user['level'] > 6) { + if($user['money'] >= 25) { + mysql_query('DELETE FROM `auto_text` WHERE `owner` = "'.$user['id'].'" AND `login` = "'.$user['login'].'"'); + mysql_query('INSERT INTO `auto_text` (`owner`, `login`, `text`) VALUES ("'.$user['id'].'", "'.$user['login'].'", "'.mysql_real_escape_string($_POST['chat_text']).'")'); + $user['money'] -= 25; + mysql_query('UPDATE `users` SET `money` = "'.$user['money'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $var_txt['text'] = $_POST['chat_text']; + echo 'Новый текст автоотвечика записан.'; + } else { + echo 'Цена установки автоответчика 25 кредитов.'; + } + } else { + echo 'Ваш уровень мал для использования данной функции.'; + } + } else { + echo 'Текст автоответчика должен быть не короче 5 и не длиннее 50 символов.'; + } +} + +if($_GET['unset_bank'] == 1) { + exit_bank('?error=bank'); +} + +if($_GET['error'] == 'bank') { + echo 'Работа со счётом завершена ..'; +} + +function updstats() { + global $user; + $u1 = mysql_fetch_array(mysql_query("SELECT `sila`, `lovk`, `inta`, `intel`, `noj`, `mec`, `topor`, `dubina`, `mfire`, `mwater`, `mair`, `mearth`, `mlight`, `mgray`, `mdark`, `hp`, `maxhp` FROM `users` WHERE `id` = '$user[id]' LIMIT 1")); + foreach($u1 as $k => $v) { + $user[$k] = $v; + } +} + +if(!isset($_SESSION['stackall'])){ + $_SESSION['stackall'] = true; +} + +if(@$_GET['stackall']) { + $_SESSION['stackall'] = ($_SESSION['stackall'] ? false : true); + /* + $rec = mysql_query("SELECT `id` FROM `inventory` WHERE `owner` = '$user[id]' AND `setsale` = 0 AND `koll` >= 1 ORDER BY `id` DESC"); + while($pl = mysql_fetch_array($rec)) { + if(isset($pl['id'])) { + stack($pl['id']); + echo 'Все прошло успешно ...'; + } + unset($pl, $rec); + } + */ +} + +if(@$_GET["stack"]) { + $_GET["stack"] = (int)$_GET["stack"]; + $rec = mysql_fetch_array(mysql_query("SELECT `id` FROM `inventory` WHERE `id` = '".mysql_real_escape_string($_GET['stack'])."' AND `owner` = '$user[id]' AND `setsale` = 0 LIMIT 1")); + if(isset($rec['id'])) { + stack($rec['id']); + unset($rec); + } +} + +if(@$_GET['unstack']) { + unstack((int)$_GET['unstack'], (int)$_POST["qty"]); +} + +if(isset($_GET['obraz']) && $_GET['obraz'] !== null && ($user['shadow'] == 'g0.gif' || $user['shadow'] == 'man0.gif' || $shadow['mshadow'] || $shadow['wshadow'])) { + if($user['sex']) { + switch(@$_GET['obraz']) { + case 0: mysql_query("UPDATE `users` SET `shadow` = 'man0.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 1: mysql_query("UPDATE `users` SET `shadow` = 'man1.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 2: mysql_query("UPDATE `users` SET `shadow` = 'man2.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 3: mysql_query("UPDATE `users` SET `shadow` = 'man3.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 4: mysql_query("UPDATE `users` SET `shadow` = 'man4.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 5: mysql_query("UPDATE `users` SET `shadow` = 'man5.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 6: mysql_query("UPDATE `users` SET `shadow` = 'man6.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 7: mysql_query("UPDATE `users` SET `shadow` = 'man7.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 8: mysql_query("UPDATE `users` SET `shadow` = 'man8.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 9: mysql_query("UPDATE `users` SET `shadow` = 'man9.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 10: mysql_query("UPDATE `users` SET `shadow` = 'man10.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 11: mysql_query("UPDATE `users` SET `shadow` = 'man11.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 12: mysql_query("UPDATE `users` SET `shadow` = 'man12.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 13: mysql_query("UPDATE `users` SET `shadow` = 'man13.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 14: mysql_query("UPDATE `users` SET `shadow` = 'man14.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 40: mysql_query("UPDATE `users` SET `shadow` = '{$shadow['mshadow']}' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + } + } else { + switch(@$_GET['obraz']) { + case 0: mysql_query("UPDATE `users` SET `shadow` = 'g0.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 1: mysql_query("UPDATE `users` SET `shadow` = 'g1.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 2: mysql_query("UPDATE `users` SET `shadow` = 'g2.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 3: mysql_query("UPDATE `users` SET `shadow` = 'g3.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 4: mysql_query("UPDATE `users` SET `shadow` = 'g4.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 5: mysql_query("UPDATE `users` SET `shadow` = 'g5.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 6: mysql_query("UPDATE `users` SET `shadow` = 'g6.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 7: mysql_query("UPDATE `users` SET `shadow` = 'g7.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 8: mysql_query("UPDATE `users` SET `shadow` = 'g8.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 9: mysql_query("UPDATE `users` SET `shadow` = 'g9.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 10: mysql_query("UPDATE `users` SET `shadow` = 'g10.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 11: mysql_query("UPDATE `users` SET `shadow` = 'g11.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 12: mysql_query("UPDATE `users` SET `shadow` = 'g12.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 13: mysql_query("UPDATE `users` SET `shadow` = 'g13.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 14: mysql_query("UPDATE `users` SET `shadow` = 'g14.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 15: mysql_query("UPDATE `users` SET `shadow` = 'g15.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 16: mysql_query("UPDATE `users` SET `shadow` = 'g16.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 17: mysql_query("UPDATE `users` SET `shadow` = 'g17.gif' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + case 41: mysql_query("UPDATE `users` SET `shadow` = '{$shadow['wshadow']}' WHERE `id` = '{$user['id']}' LIMIT 1"); break; + } + } +} + + +if($_GET['del'] == 1) { + if($_GET['efid'] > 0) { + $pl = mysql_fetch_array(mysql_query('SELECT `id`, `type` FROM `effects` WHERE `owner` = "'.$user['id'].'" AND `id` = "'.(int)$_GET['efid'].'" LIMIT 1')); + if(isset($pl['id'])) { + del_efs($user['id'], $pl['id'], $pl['type']); + } else { + echo 'Эффект не найден ...'; + } + } +} + + +if(isset($_GET['modif_bron'])) { + $brons = $_GET['modif_bron']; + $ids = $_GET['ids']; + $cur = mysql_fetch_assoc(mysql_query("SELECT `id`, `free_bron`, `bron1`, `bron2`, `bron3`, `bron4` FROM `inventory` WHERE `owner` = '".$user['id']."' AND `id` = '".mysql_real_escape_string($ids)."' LIMIT 1")); + if(isset($cur['id'])) { + if($cur['free_bron'] > 0 && $cur[$brons] > 0) { + mysql_query("UPDATE `inventory` SET `free_bron` = (`free_bron`-1), `".$brons."` = (`".$brons."`+1) WHERE `owner` = '".$user['id']."' AND `id` = '".mysql_real_escape_string($ids)."' LIMIT 1"); + echo "Параметр брони увеличен!"; + } + } +} + +if(isset($_GET['modif_stat'])){ + $stats = $_GET['modif_stat']; + $ids = $_GET['ids']; + $cur = mysql_fetch_assoc(mysql_query("SELECT `id`, `free_stat`, `gsila`, `glovk`, `ginta`, `gintel` FROM `inventory` WHERE `owner` = '".$user['id']."' AND `id` = '".mysql_real_escape_string($ids)."' LIMIT 1")); + if(isset($cur['id'])) { + if($cur['free_stat'] > 0 && $cur[$stats] > 0) { + mysql_query("UPDATE `inventory` SET `free_stat` = (`free_stat`-1), `".$stats."` = (`".$stats."`+1) WHERE `owner` = '".$user['id']."' AND `id` = '".mysql_real_escape_string($ids)."' LIMIT 1"); + echo "Параметр увеличен!"; + } + } +} + +if(isset($_GET['modif_mf'])) { + $mfs = $_GET['modif_mf']; + $ids = $_GET['ids']; + $cur = mysql_fetch_assoc(mysql_query("SELECT `id`, `free_mf`, `mfkrit`, `mfakrit`, `mfuvorot`, `mfauvorot` FROM `inventory` WHERE `owner` = '".$user['id']."' AND `id` = '".mysql_real_escape_string($ids)."' LIMIT 1")); + if(isset($cur['id'])) { + if($cur['free_mf'] > 0 && $cur[$mfs] > 0){ + mysql_query("UPDATE `inventory` SET `free_mf` = (`free_mf`-1), `".$mfs."` = (`".$mfs."`+1) WHERE `owner` = '".$user['id']."' AND `id` = '".mysql_real_escape_string($ids)."' LIMIT 1"); + echo "Параметр увеличен!"; + } + } +} + +$d = mysql_fetch_array(mysql_query("SELECT SUM(`massa`) AS `summ` FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `setsale` = 0")); +if($d['summ'] > get_meshok() && $_GET['got']) { + echo "У вас переполнен рюкзак, вы не можете передвигаться..."; + $_GET['got'] = 0; +} + +$eff = mysql_fetch_array(mysql_query("SELECT `id` FROM `effects` WHERE `owner` = '".$user['id']."' AND (`type` = 14 OR `type` = 13) LIMIT 1")); +if(isset($eff['id']) && $_GET['got']) { + echo "У вас тяжелая травма, вы не можете передвигатся..."; + $_GET['got'] = 0; +} + +$array = array( + 1 => array(), 2 => array(), 3 => array(), 4 => array(), + 5 => array('min_level' => 1, 'max_level' => 3), 6 => array('min_level' => 1, 'max_level' => 3), 7 => array('min_level' => 1, 'max_level' => 3), 8 => array('min_level' => 4, 'max_level' => 21), + 9 => array('min_level' => 4, 'max_level' => 6), 10 => array('min_level' => 7, 'max_level' => 9), 11 => array('min_level' => 10, 'max_level' => 12), 12 => array('min_level' => 13, 'max_level' => 15), + 13 => array('min_level' => 16, 'max_level' => 19), 14 => array('min_level' => 19, 'max_level' => 21), 15 => array('paladin' => 1), 16 => array('paladin' => 1), + 17 => array('align' => 3), 36 => array('align' => 2), 54 => array('align' => 6), 19 => array('sex' => 2), + 18 => array('align' => 3), 56 => array('align' => 2), 55 => array('align' => 6) +); + +function gone_rooms($room) { + global $array, $user; + $error = 0; + $param = $array[$room]; + if($room == 57) { + err("Комнаты не существует..."); + $error = 1; + } + if(isset($param['min_level'])) { + if($user['level'] < $param['min_level']) { + err("Вы не можете попасть в эту комнату. Уровень маловат..."); + $error = 1; + } + } + if(isset($param['max_level'])) { + if($user['level'] > $param['max_level']) { + err("Вы не можете попасть в эту комнату. Уровень высоковат..."); + $error = 1; + } + } + if(isset($param['align_int'])) { + if((int)$user['align'] != $param['align_int']) { + err("Вы не можете попасть в эту комнату. Склонность не та..."); + $error = 1; + } + } + if(isset($param['align'])) { + if($user['align'] != $param['align']) { + err("Вы не можете попасть в эту комнату. Склонность не та..."); + $error = 1; + } + } + if(isset($param['paladin'])) { + if($user['align'] <= 1 || $user['align'] >= 2) { + err("Вы не можете попасть в эту комнату. Склонность не та..."); + $error = 1; + } + } + if(isset($param['sex'])) { + if(($param['sex'] == 2 && $user['sex'] == 1) || ($param['sex'] == 1 && $user['sex'] == 0)) { + err("Вы не можете попасть в эту комнату. Пол не подходит..."); + $error = 1; + } + } + if($error == 0 OR $user['admin'] == 1) { + mysql_query("UPDATE `users`, `online` SET `users`.`room` = '$room', `online`.`room` = '$room' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$user['id']}'"); + header('Location: main.php'); + } +} + +if(isset($_GET['got']) && $_GET['got']) { + gone_rooms($_GET['room']); +} + +if(@$_REQUEST['changepsw']) {?> + + + + + + + + + + + + + +
    + +

    Безопасность

    +
    +Сменить пароль +Пароль удачно сменен."; + } + } else + { echo "Не совпадают новые пароли."; } + } else + { echo "Неверный старый пароль."; } + } +?> + + + + + + + + + + + + + +
    Старый пароль:
    Новый пароль:
    Новый пароль (еще раз):
    +
    +
    + + + + + + + + + + + + +
    +

    +

    +

    Отчет о переводах

    + +Вы можете получить отчет о переводах кредитов/вещей от вас/к вам за указанный день. Услуга платная, стоит 0.5 кр.
    +У вас на счету: кр.
    +Укажите дату, на которую хотите получить отчет: "> +
    +

    += 0.5)) { + $user['money'] -= 0.5; + mysql_query("UPDATE `users` SET `money` = '".$user['money']."' WHERE `id` = {$user['id']} LIMIT 1"); + echo "Выписка о переводах на персонажа \"{$user['login']}\" за ".$_POST['date'].":
    "; + $data = mysql_query("SELECT * FROM `delo` WHERE `pers` = '{$user['id']}' AND `type` = 1 AND `date` > '".mktime(0,0,0,substr($_POST['date'],3,2),substr($_POST['date'],0,2),substr($_POST['date'],6,2))."' AND `date` < '".mktime(23,59,59,substr($_POST['date'],3,2),substr($_POST['date'],0,2),substr($_POST['date'],6,2))."' ;"); + + while ($row = mysql_fetch_array($data)) { + $row['text'] = preg_replace("/id:\((.*)\)/U", "",$row['text']); + $rr .= date("H:i:s",$row['date']).": {$row['text']}\n"; + echo date("H:i:s",$row['date']).": {$row['text']}
    "; + } + mysql_query("INSERT INTO `inventory` (`owner`,`name`,`type`,`massa`,`cost`,`img`,`letter`,`maxdur`,`isrep`)VALUES('{$user['id']}','Бумага','200',1,0,'paper100.gif','Выписка о переводах на персонажа \"{$user['login']}\" за ".$_POST['date'].":\n{$rr}',1,0) ;"); + } +?> + + + + + + + + + + + +

    Выбрать образ персонажа ""

    Внимание! Образ персонажа выбирается только один раз.
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Общие образы
    Клановые образы
    Общие образы
    Клановые образы
    +
    + + + + + + + + + + + + +

    Выбрать образ персонажа ""

    +
    + + + + + + + + +
    +
    + + + = '".(time()-60)."'"); + + while($v = mysql_fetch_array($online)) + { + $or[$v['room']]++; + } + + #$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$user['id']}' LIMIT 1")); + //echo $user['room'] ; + ?> + + + + + + + + + + + + + + +
    +
    +
    +
    +
    Карта миров
    +
    (Сейчас в игре: чел.)
    +
    + + +
    Обновить
    +
    Поединки
    +
    Инвентарь
    +
    Состояние
    +
    Подсказка
    +
    Вернуться
    + + +
    +
    + +
    Выйти на Центральную площадь
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    Комната для новичков 1
    (Уровень 0)
    +
    +
    Войти
    +
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    Комната для новичков 2
    (Уровень 0)
    +
    +
    Войти
    +
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    Комната для новичков 3
    (Уровень 0)
    +
    +
    Войти
    +
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Комната для новичков 4
    (Уровень 0)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Зал воинов 1
    (Уровень 1-3)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Зал воинов 2
    (Уровень 1-3)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Зал воинов 3
    (Уровень 1-3)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Торговый зал
    (Уровень 4-21)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Рыцарский зал
    (Уровень 4-6)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Башня рыцарей-магов
    (Уровень 7-9)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Колдовской мир
    (Уровень 10-12)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Этаж духов
    (Уровень 13-15)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Астральные этажи
    (Уровень 16-19)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Огненный мир
    (Уровень 19-21)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Зал Паладинов +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Совет Белого Братства +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Зал Тьмы +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Зал Стихий +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Зал Света +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Будуар
    (Уровень 1-21)
    +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Царство Тьмы +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Царство Стихий +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Царство Света +
    +
    +
    Войти
     ()
    +
    + + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +Зал Клановых Войн
    (Уровень 4-21)
    +
    +
    +
    Войти
     (0)
    +
    + +
    +
    +
    +
    +
    +
    +
    + + + 0 && $user['sid'] == $_GET['s4i']) { + if($user['stats'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['sila'] += (int)$_POST['stat']; $user['stats'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `sila` = '".$user['sila']."', `stats` = '".$user['stats']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Сила увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 2) { + $user['kwest_train_param'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_param` = '".$user['kwest_train_param']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно статов"; + } + } + break; + + case 12 : + if($user['stats'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['stats'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['lovk'] += (int)$_POST['stat']; $user['stats'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `lovk` = '".$user['lovk']."', `stats` = '".$user['stats']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Ловкость увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 2) { + $user['kwest_train_param'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_param` = '".$user['kwest_train_param']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно статов"; + } + } + break; + + case 13 : + if($user['stats'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['stats'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['inta'] += (int)$_POST['stat']; $user['stats'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `inta` = '".$user['inta']."', `stats` = '".$user['stats']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Интуиция увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 2) { + $user['kwest_train_param'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_param` = '".$user['kwest_train_param']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно статов"; + } + } + break; + + case 14 : + if($user['stats'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['stats'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['vinos'] += (int)$_POST['stat']; $user['stats'] -= (int)$_POST['stat']; $user['maxhp'] += (int)($_POST['stat']*6); + mysql_query("UPDATE `users` SET `vinos` = '".$user['vinos']."', `stats` = '".$user['stats']."', `maxhp` = '".$user['maxhp']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Выносливость увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 2) { + $user['kwest_train_param'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_param` = '".$user['kwest_train_param']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно статов"; + } + } + break; + + case 15 : + if($user['stats'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['stats'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['intel'] += (int)$_POST['stat']; $user['stats'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `intel` = '".$user['intel']."', `stats` = '".$user['stats']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Интеллект увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 2) { + $user['kwest_train_param'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_param` = '".$user['kwest_train_param']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно статов"; + } + } + break; + + case 21 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && $user['noj'] < 10 && ((int)$_POST['stat'] > 0)) { + $user['noj'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `noj` = '".$user['noj']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Кастетами увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 8) { + $user['kwest_train_umen'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_umen` = '".$user['kwest_train_umen']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif($user['noj'] > 9) { + echo "Достигнут лимит владения"; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + case 22 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && $user['mec'] < 10 && ((int)$_POST['stat'] > 0)) { + $user['mec'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `mec` = '".$user['mec']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Мечами увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 8) { + $user['kwest_train_umen'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_umen` = '".$user['kwest_train_umen']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif($user['mec'] > 9) { + echo "Достигнут лимит владения"; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + + case 23 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && $user['dubina'] < 10 && ((int)$_POST['stat'] > 0)) { + $user['dubina'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `dubina` = '".$user['dubina']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Дубинами увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 8) { + $user['kwest_train_umen'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_umen` = '".$user['kwest_train_umen']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif($user['dubina'] > 9) { + echo "Достигнут лимит владения"; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + + case 24 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && $user['topor'] < 10 && ((int)$_POST['stat'] > 0)) { + $user['topor'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `topor` = '".$user['topor']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение топорами увеличен на ".(int)$_POST['stat']." ед."; + if($user['first'] == 8) { + $user['kwest_train_umen'] += 1; + mysql_query("UPDATE `users` SET `kwest_train_umen` = '".$user['kwest_train_umen']."' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + } elseif($user['topor'] > 9) { + echo "Достигнут лимит владения"; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + + case 25 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['mfire'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `mfire` = '".$user['mfire']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Магией Огня увеличен на ".(int)$_POST['stat']." ед."; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + + case 26 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['mwater'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `mwater` = '".$user['mwater']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Магией Воды увеличен на ".(int)$_POST['stat']." ед."; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + + case 27 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['mair'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `mair` = '".$user['mair']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Магией Воздуха увеличен на ".(int)$_POST['stat']." ед."; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + case 28 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['mearth'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `mearth` = '".$user['mearth']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Магией Земли увеличен на ".(int)$_POST['stat']." ед."; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + case 29 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['mlight'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `mlight` = '".$user['mlight']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Магией Света увеличен на ".(int)$_POST['stat']." ед."; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + case 210 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['mgray'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `mgray` = '".$user['mgray']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Серой Магией увеличен на ".(int)$_POST['stat']." ед."; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + + case 211 : + if($user['master'] > 0 && $user['sid'] == $_GET['s4i']) { + if($user['master'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { + $user['mdark'] += (int)$_POST['stat']; $user['master'] -= (int)$_POST['stat']; + mysql_query("UPDATE `users` SET `mdark` = '".$user['mdark']."', `master` = '".$user['master']."' WHERE `id` = '{$user['id']}' LIMIT 1"); + echo "Параметр Владение Магией Тьмы увеличен на ".(int)$_POST['stat']." ед."; + } elseif((int)$_POST['stat'] <= 0) { + echo "Не верное количество"; + } else { + echo "Недостаточно мастерства"; + } + } + break; + } +} + +if(@$_GET['drop']) { + dropitem($_GET['drop']); + updstats(); +} + +if(@$_GET['dress']) { + $rec = mysql_fetch_array(mysql_query('SELECT `id`, `koll` FROM `inventory` WHERE `id` = "'.(int)$_GET['dress'].'" AND `owner` = "'.$user['id'].'" LIMIT 1')); + if(isset($rec['id'])) { + if($rec['koll'] > 1) { + $id = unstack($rec['id'], 1); + dressitem($id); + } else { + dressitem($_GET['dress']); + } + updstats(); + } else { + echo 'Предмет не найден ...'; + } +} + +if(@$_GET['destruct']) { + $dress = mysql_fetch_array(mysql_query("SELECT `id`, `dressed`, `name`, `duration`, `maxdur` FROM `inventory` WHERE `owner` = '{$user['id']}' AND `id` = '{$_GET['destruct']}' LIMIT 1")); + if(isset($dress['id'])) { + if($dress['dressed'] == 0) { + destructitem($dress['id']); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" выбросил предмет \"".$dress['name']."\" id:(cap".$dress['id'].") [".$dress['duration']."/".$dress['maxdur']."] ',1,'".time()."');"); + echo "
    Предмет \"".$dress['name']."\" выброшен.
    "; + } else { + echo "
    Сначала снимите предмет...
    "; + } + } else { + echo "
    Предмет не найден...
    "; + } +} + + if(@$_GET['use']) { + $rec = mysql_fetch_array(mysql_query('SELECT `id`, `koll` FROM `inventory` WHERE `id` = "'.(int)$_GET['use'].'" AND `owner` = "'.$user['id'].'" LIMIT 1')); + if(isset($rec['id'])) { + if($rec['koll'] > 1) { + $id = unstack($rec['id'], 1); + usemagic($id, $_POST['target']); + } else { + usemagic($_GET['use'], $_POST['target']); + } + } else { + echo 'Предмет не найден ...'; + } + } + + if (@$_GET['undress']) { + undressall($user['id']); + updstats(); + } + if (@$_GET['delcomplect']) { + mysql_query("DELETE FROM `komplekt` WHERE `name` = '".$_GET['delcomplect']."' AND `owner` = '".$user['id']."';"); + } + if (@$_GET['complect']) { + $hp = $user['hp']; + undressall($user['id']); + $_GET['complect'] = mysql_real_escape_string($_GET['complect']); + $u_kompl=mysql_fetch_array(mysql_query("SELECT * FROM komplekt where `name` = '{$_GET['complect']}' AND `owner` = {$user['id']} LIMIT 1")); + $k_items=array(); + $k_items=explode(';',$u_kompl['items']); + foreach ($k_items as $k_i) + dressitem($k_i); + + mysql_query("UPDATE `users` SET `hp` = '".$hp."' WHERE `id` = '".$user['id']."' LIMIT 1"); + mysql_query("UPDATE `users` SET `hp` = `maxhp` WHERE `hp` > `maxhp` AND `id` = '".$user['id']."' LIMIT 1"); + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$user['id']}' LIMIT 1")); + } + ref_drop ($user['id']); + +if(@$_GET['savecomplect']) { + $_GET['savecomplect'] = trim($_GET['savecomplect']); + if(preg_match('/[\/\:*?"<>|+%]/', $_GET['savecomplect'])) { + echo "Вы используете запрещенные символы ..."; + } else { + $name = mysql_real_escape_string($_GET['savecomplect']); + $u_all_kompl = mysql_fetch_array(mysql_query("SELECT `id` FROM `komplekt` WHERE `name` = '{$name}' AND `owner` = '{$user['id']}' LIMIT 1")); + if(isset($u_all_kompl['id'])) { + echo "Такое название комплекта уже используется .."; + } else { + $items = array(); + $odetShmot = mysql_query("SELECT `id` FROM `inventory` WHERE `id` = '".$user['sergi']."' OR `id` = '".$user['kulon']."' OR `id` = '".$user['perchi']."' OR `id` = '".$user['weap']."' OR `id` = '".$user['bron']."' OR `id` = '".$user['rybax']."' OR `id` = '".$user['r1']."' OR `id` = '".$user['r2']."' OR `id` = '".$user['r3']."' OR `id` = '".$user['helm']."' OR `id` = '".$user['shit']."' OR `id` = '".$user['m1']."' OR `id` = '".$user['m2']."' OR `id` = '".$user['m3']."' OR `id` = '".$user['m4']."' OR `id` = '".$user['m5']."' OR `id` = '".$user['m6']."' OR `id` = '".$user['m7']."' OR `id` = '".$user['m8']."' OR `id` = '".$user['m9']."' OR `id` = '".$user['m10']."' OR `id` = '".$user['boots']."' OR `id` = '".$user['plaw']."' OR `id` = '".$user['rune_1']."' OR `id` = '".$user['rune_2']."' OR `id` = '".$user['rune_3']."'"); + while($res = mysql_fetch_array($odetShmot)) { + $items[] = $res['id']; + } + $t_items = implode(";", $items); + mysql_query("INSERT INTO `komplekt` (`name`, `owner`, `items`) VALUES ('{$name}', '{$user['id']}', '{$t_items}')"); + echo "Комплект {$name} сохранён ..."; + } + } +} + +if(!in_array($_GET['mZeAjax'], array('mZeInventory', 'mZeFilter'))): +?> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    + + + + + + + + +
    + Снять все
    + Запомнить комплект
    + + Разгруппировать предметы

    + + Группировать предметы

    + + +
    + Текст автоответчика (Цена 25кр.): +
    + + + + + + + Внимание! При включённом автответчике, Вы не будете видеть приватных сообщений которые Вам напишут. +
    + + +
    +
    + + +
      + + + Надеть \"".$k_name."\"
    "; + }; + +?> +
    + + + + + +
      +
    + +
    +
    +
    +
    +
    +Уровень:
    +Опыт: ()
    +Побед:
    +Поражений:
    +Ничьих:
    + + + +Деньги: кр.
    +Репутация: реп.
    + +Банк #: ( .кр, .екр) X
    + +Авторизация в банке + + + + + +
    + +
    + + + + + +Сила: ":""?>
    +Ловкость: ":""?>
    +Интуиция: ":""?>
    +Выносливость: ":""?>
    +3)?"Интеллект: {$user['intel']}":""; echo ($user['stats'] && ($user['level']>3))?" ":""; if($user['level']>3) echo"
    "?> + +Возможных увеличений: + + + + + + + 0')); + $item_damage = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND `dressed` = "1" AND `add_proc_uron` > 0')); + $item_bron = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "'.$user['id'].'" AND `dressed` = "1" AND `add_proc_bron` > 0')); + + if(isset($item_mf['id'])) { + $max_mf = max_mf(); + $add_mf = sum_mf($user['id']); + if($max_mf == 'fkrit') { + $var_mf = round(($mf['fkrit']/100)*$add_mf); + $mf['fkrit'] += $var_mf; + } elseif($max_mf == 'fakrit') { + $var_mf = round(($mf['fakrit']/100)*$add_mf); + $mf['fakrit'] += $var_mf; + } elseif($max_mf == 'fuvorot') { + $var_mf = round(($mf['fuvorot']/100)*$add_mf); + $mf['fuvorot'] += $var_mf; + } elseif($max_mf == 'fauvorot') { + $var_mf = round(($mf['fauvorot']/100)*$add_mf); + $mf['fauvorot'] += $var_mf; + } + } + if(isset($item_damage['id'])) { + $add_dmg = sum_dmg($user['id']); + $min_dmg = round(($mf['minu']/100)*$add_dmg); + $max_dmg = round(($mf['maxu']/100)*$add_dmg); + } + + if(isset($item_bron['id'])) { + $add_bron = sum_bron($user['id']); + $var_brons = bron_ads($mf['bron1'], $mf['bron2'], $mf['bron3'], $mf['bron4'], $add_bron); + } else { + $var_brons = array('a1' => 0, 'a2' => 0, 'a3' => 0, 'a4' => 0); + } +?> + +Урон: - ('.$add_dmg.'%)'; } ?>
    +Мф. крит. удара: ('.$add_mf.'%)'; } ?>
    +Мф. против крит. удара: ('.$add_mf.'%)'; } ?>
    +Мф. увертывания: ('.$add_mf.'%)'; } ?>
    +Мф. против увертывания: ('.$add_mf.'%)'; } ?>
    + + + + + + +
    +Владение оружием:
    +ножами и кастетами: ":""?>
    +мечами: ":""?>
    +дубинами, булавами: ":""?>
    +топорами и секирами: ":""?>
    + + + 3) {?> + +Владение магией:
    + + +Серая магия: ":""?>
    +Магия Тьмы: ":""?>
    +Возможных увеличений: +
    + + + + + + +Броня головы: ('.$add_bron.'%)'; } ?>
    +Броня корпуса: ('.$add_bron.'%)'; } ?>
    +Броня пояса: ('.$add_bron.'%)'; } ?>
    +Броня ног: ('.$add_bron.'%)'; } ?>
    + + += 25 || $user['lovk'] >= 25 || $user['inta'] >= 25 || $user['vinos'] >= 25 || $user['intel'] >= 25) && $user['level'] == 25) { +?> + + + += 25) { $sila['fauvorot'] = 10; $sila['fakrit'] = 10; } +if($user['sila'] >= 50){ $sila['fauvorot'] = 20; $sila['fakrit'] = 25; } +if($user['sila'] >= 75){ $sila['fauvorot'] = 30; $sila['fakrit'] = 40; } +if($user['sila'] >= 100){ $sila['fauvorot'] = 40; $sila['fakrit'] = 50; $sila['uminu'] = 2; $sila['umaxu'] = 2; } +if($user['sila'] >= 125){ $sila['fauvorot'] = 60; $sila['fakrit'] = 75; $sila['uminu'] = 5; $sila['umaxu'] = 5; } +if($user['sila'] >= 150){ $sila['fauvorot'] = 90; $sila['fakrit'] = 110; $sila['uminu'] = 8; $sila['umaxu'] = 8; } +if($user['sila'] >= 175){ $sila['fauvorot'] = 120; $sila['fakrit'] = 150; $sila['uminu'] = 12; $sila['umaxu'] = 12; } +if($user['sila'] >= 200){ $sila['fauvorot'] = 150; $sila['fakrit'] = 200; $sila['uminu'] = 15; $sila['umaxu'] = 15; } + + +if($user['lovk'] >= 25) { $lovk['fuvorot'] = 10; $lovk['fauvorot'] = 10; $lovk['fakrit'] = 20; } +if($user['lovk'] >= 50) { $lovk['fuvorot'] = 20; $lovk['fauvorot'] = 25; $lovk['fakrit'] = 40; } +if($user['lovk'] >= 75) { $lovk['fuvorot'] = 30; $lovk['fauvorot'] = 30; $lovk['fakrit'] = 60; } +if($user['lovk'] >= 100) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 40; $lovk['fakrit'] = 75; $lovk['uminu'] = 5; $lovk['umaxu'] = 5; } +if($user['lovk'] >= 125) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 70; $lovk['fakrit'] = 90; $lovk['uminu'] = 6; $lovk['umaxu'] = 6; } +if($user['lovk'] >= 150) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 150; $lovk['fakrit'] = 120; $lovk['uminu'] = 8; $lovk['umaxu'] = 8; } +if($user['lovk'] >= 175) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 200; $lovk['fakrit'] = 140; $lovk['uminu'] = 10; $lovk['umaxu'] = 10; } +if($user['lovk'] >= 200) { $lovk['fuvorot'] = 40; $lovk['fauvorot'] = 250; $lovk['fakrit'] = 160; $lovk['uminu'] = 15; $lovk['umaxu'] = 15; } + + +if($user['inta'] >= 25) { $inta['fkrit'] = 10; $inta['fauvorot'] = 10; $inta['fakrit'] = 15; } +if($user['inta'] >= 50) { $inta['fkrit'] = 25; $inta['fauvorot'] = 25; $inta['fakrit'] = 25; } +if($user['inta'] >= 75) { $inta['fkrit'] = 60; $inta['fauvorot'] = 30; $inta['fakrit'] = 30; } +if($user['inta'] >= 100) { $inta['fkrit'] = 40; $inta['fauvorot'] = 40; $inta['fakrit'] = 75; } +if($user['inta'] >= 125) { $inta['fkrit'] = 40; $inta['fauvorot'] = 50; $inta['fakrit'] = 100; $inta['uminu'] = 1; $inta['umaxu'] = 1; } +if($user['inta'] >= 150) { $inta['fkrit'] = 60; $inta['fauvorot'] = 40; $inta['fakrit'] = 130; $inta['uminu'] = 5; $inta['umaxu'] = 5; } +if($user['inta'] >= 175) { $inta['fkrit'] = 40; $inta['fauvorot'] = 80; $inta['fakrit'] = 170; $inta['uminu'] = 10; $inta['umaxu'] = 10; } +if($user['inta'] >= 200) { $inta['fkrit'] = 40; $inta['fauvorot'] = 120; $inta['fakrit'] = 200; $inta['uminu'] = 15; $inta['umaxu'] = 15; } + + +if($user['vinos'] >= 25) { $vinos['fkrit'] = 10; $vinos['fauvorot'] = 10; $vinos['fakrit'] = 15; } +if($user['vinos'] >= 50) { $vinos['fkrit'] = 25; $vinos['fauvorot'] = 25; $vinos['fakrit'] = 25; } +if($user['vinos'] >= 75) { $vinos['fkrit'] = 60; $vinos['fauvorot'] = 30; $vinos['fakrit'] = 30; } +if($user['vinos'] >= 100) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 40; $vinos['fakrit'] = 75; } +if($user['vinos'] >= 125) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 50; $vinos['fakrit'] = 100; $vinos['uminu'] = 1; $vinos['umaxu'] = 1; } +if($user['vinos'] >= 150) { $vinos['fkrit'] = 60; $vinos['fauvorot'] = 40; $vinos['fakrit'] = 130; $vinos['uminu'] = 5; $vinos['umaxu'] = 5; } +if($user['vinos'] >= 175) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 80; $vinos['fakrit'] = 170; $vinos['uminu'] = 10; $vinos['umaxu'] = 10; } +if($user['vinos'] >= 200) { $vinos['fkrit'] = 40; $vinos['fauvorot'] = 120; $vinos['fakrit'] = 200; $vinos['uminu'] = 15; $vinos['umaxu'] = 15; } + +if($user['vinos'] >= $user['sila'] && $user['vinos'] >= $user['lovk'] && $user['vinos'] >= $user['inta']) { + $i_uminu = $vinos['uminu']; + $i_fkrit = $vinos['fkrit']; + $i_fauvorot = $vinos['fauvorot']; + $i_fakrit = $vinos['fakrit']; +} + + +if($user['inta'] >= $user['sila'] && $user['inta'] >= $user['lovk'] && $user['inta'] >= $user['vinos']) { + $i_uminu = $inta['uminu']; + $i_fkrit = $inta['fkrit']; + $i_fauvorot = $inta['fauvorot']; + $i_fakrit = $inta['fakrit']; +} + +if($user['lovk'] >= $user['sila'] && $user['lovk'] >= $user['inta']&& $user['lovk'] >= $user['vinos']) { + $i_uminu = $lovk['uminu']; + $i_fkrit = $lovk['fkrit']; + $i_fauvorot = $lovk['fauvorot']; + $i_fakrit = $lovk['fakrit']; +} + + +if($user['sila'] >= $user['lovk'] && $user['sila'] >= $user['inta'] && $user['sila'] >= $user['vinos']) { + $i_uminu = $sila['uminu']; + $i_fkrit = $sila['fkrit']; + $i_fauvorot = $sila['fauvorot']; + $i_fakrit = $sila['fakrit']; +} + +if($i_fkrit > 0) { + echo "Мф. крит: +".$i_fkrit."
    "; +} +if($i_fakrit > 0) { + echo "Мф. анти крит: +".$i_fakrit."
    "; +} +if($i_fauvorot > 0) { + echo "Мф. анти уворот: +".$i_fauvorot."
    "; +} +if($i_uminu > 0) { + echo "Урон: +".$i_uminu; +} + + +} +} +?> + +
    +
    + +
    +
    + +
    + +
    + +
    + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + + + + + + + + +
    + + + + + + + + + + +
    ">Амуниция">Заклинания">Ресурсы">Подарки">Квестовые вещи">Прочее
    +
    Рюкзак (масса : /) +
    + + 12 AND `type` != 22 AND `type` != 23 AND `type` != 24) AND `setsale`=0 ORDER by `update` DESC"); + } + if ($_SESSION['razdel']==3) { + $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND (`type` >= 80 AND `type` <= 89) AND `setsale`=0 ORDER by `update` ASC; "); + } + if ($_SESSION['razdel']==4) { + $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `type` = 200 and `setsale`=0 ORDER by `update` ASC; "); + } + if ($_SESSION['razdel']==5) { + $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `type` = 199 and `setsale`=0 ORDER by `update` ASC; "); + } + $groupNum = array(); + $viewInventory = array(); + $getItems = array(); + while($row = mysql_fetch_assoc($data)) { + if($_SESSION['stackall']){ + $itemsCount = ($row['prototype'] ? mysql_num_rows(mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `prototype` = '{$row['prototype']}' AND `dressed` = '0' AND `setsale`='0'")) : 1 ); + + if(!isset($groupNum[$row['prototype']])) { + $viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] = ''; + } + } else { + showitem($row, null, "edit=1&razdel=$_SESSION[razdel]"); + } + } + if($viewInventory and $getItems){ + foreach($viewInventory as $viewCategiryes){ + echo $viewCategiryes['header']; + foreach($viewCategiryes['ids'] as $viewItem){ + echo $getItems[$viewItem]; + } + echo $viewCategiryes['fooder']; + } + } + + if (mysql_num_rows($data) == 0) { + echo ""; + } + ?> +
    '; + $viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= ' ' . $row['name'] . ($row['upgrade'] > 0 ? " [".$row['upgrade']."]" : "" ) . ' [' . $itemsCount . ']'; + $viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '
    '; + $viewInventory[($row['prototype'] ? $row['prototype'] : $row['id'])]['header'] .= '
    Пусто
    +
    + +
    +
    + ##### + + + ##### + + + + += 2001 && $user['room'] <= 2100) { header('Location: boloto.php'); die(); } + if ($user['room'] == 22) { header('Location: shop.php'); die(); } + if ($user['room'] == 23) { header('Location: repair.php'); die(); } + if ($user['room'] == 26) { header('Location: city.php'); die(); } + if ($user['room'] == 25) { header('Location: comission.php'); die(); } + if ($user['room'] == 29) { header('Location: bank.php'); die(); } + if ($user['room'] == 34) { header('Location: fshop.php'); die(); } + if ($user['room'] == 30) { header('Location: klanedit.php'); die(); } + if ($user['room'] == 27) { header('Location: post.php'); die(); } + if ($user['room'] == 31) { header('Location: tower.php'); die(); } + if ($user['room'] == 35) { header('Location: krshop.php'); die(); } + if ($user['room'] == 42) { header('Location: lotery.php'); die(); } + if ($user['room'] == 43) { header('Location: znahar.php'); die(); } + if ($user['room'] == 44) { header('Location: new_year.php'); die(); } + if ($user['room'] == 45) { header('Location: clan_castle.php'); die(); } + if ($user['room'] == 47) { header('Location: wall_build.php'); die(); } + if ($user['room'] == 48) { header('Location: city.php'); die(); } + if ($user['room'] == 49) { header('Location: dig.php'); die(); } + if ($user['room'] == 50) { header('Location: ashop.php'); die(); } + if ($user['room'] == 51) { header('Location: city.php'); die(); } + if ($user['room'] == 52) { header('Location: city.php'); die(); } + if ($user['room'] == 53) { header('Location: library.php'); die(); } + if ($user['room'] == 61) { header('Location: akadem.php'); die(); } + if ($user['room'] == 650) { header('Location: ul_clans.php'); die(); } + if ($user['room'] == 651) { header('Location: city.php'); die(); } + if ($user['room'] == 652) { header('Location: zamok.php'); die(); } + if ($user['room'] == 223) { header('Location: bench.php'); die(); } + if ($user['room'] == 222) { header('Location: bench_s.php'); die(); } + if ($user['room'] == 224) { header('Location: bench_m.php'); die(); } + //БС + if ($user['in_tower'] == 1) { header('Location: towerin.php'); die(); } + //ЦХ + if ($user['room'] == 600) { header('Location: c_haos.php'); die(); } + //Храм древнх + if ($user['room'] == 203) { header('Location: church.php'); die(); } + if ($user['room'] == 601) { header('Location: c_haos_in.php'); die(); } + if ($user['room'] == 602) { header('Location: c_park.php'); die(); } + if ($user['room'] == 603) { header('Location: aren_of_angels.php'); die(); } + + if ($user['room'] == 620) { header('Location: enter_cave.php'); die(); } + if ($user['room'] == 621) { header('Location: cave.php'); die(); } + + + if ($user['room'] == 660) { header('Location: hostel.php'); die(); } + if ($user['room'] == 661) { header('Location: hostel_room.php'); die(); } + if ($user['room'] == 662) { header('Location: quest_room.php'); die(); } + if ($user['room'] == 760) { header('Location: c_forest.php'); die(); } + + if ($user['room'] == 1000) { header('Location: solib/enterbezdna.php'); die(); } + if ($user['room'] == 1001) { header('Location: solib/dungeon.php'); die(); } + if ($user['room'] == 1051) { header('Location: lab_enter.php'); die(); } + if ($user['room'] == 1052) { header('Location: labirint.php'); die(); } + if ($user['room'] == 402) { header('Location: vxod.php'); die(); } + if ($user['room'] == 403) { header('Location: canalizaciya.php'); die(); } + if ($user['room'] == 1053) { header('Location: rep_shop.php'); die(); } + if ($user['room'] == 1054) { header('Location: fontan_luck.php'); die(); } + if ($user['room'] == 1055) { header('Location: group_arena.php'); die(); } + if ($user['room'] == 666) { header('Location: jail.php'); die(); } +?> + + + + + + + + + + + + + + + + + + get_meshok() && $_GET['goto']) { + echo "У вас переполнен рюкзак, вы не можете передвигаться..."; + $_GET['goto']=0; + } + $eff = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '".$u['id']."' AND (`type` = 14 OR `type` = 13);")); + if($eff && $_GET['goto']) { + echo "У вас тяжелая травма, вы не можете передвигаться..."; + $_GET['goto']=0; + } + + if(@$_GET['goto'] == 'plo') { + if($user['zayavka']== 0) { + mysql_query("UPDATE `users`,`online` SET `users`.`room` = '20',`online`.`room` = '20' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); + if($user['first'] == 4){ + mysql_query("update `users` set `kwest_main_pl`=`kwest_main_pl`+'1' where `id`='".$user['id']."'"); + } + die(" + +



    + Переход на Центральную площадь... +
    + "); + } else + { + echo "Подали заявку на бой и убегаете из клуба? Нехорошо..."; + } + } + if (@$_GET['use']) { + usemagic($_GET['use'],$_POST['target']); + } + $online = mysql_query("select * from `online` WHERE `real_time` >= ".(time()-60).";"); +?> +
    + + + + +
    + + +  +
    +
      +
    • Поединки
    • +
    • Настройки / инвентарь
    • +
    • Состояние
    • +
    • Карта миров
    • +
    • Выйти на Центральную площадь
    • +
    • Обновить экран
    • +
    +
    + + Новости / Энциклопедия /Форум / Рейтинг / Комм. отдел     +

    +
    +
    +
    Паладины онлайн
    +
    Администрация/Дилеры онлайн
    +
    +
    + '4';")); + echo"Всего законопослушных жителей: ".$num." чел."; + ?> +

    + Внимание! Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, только взломщикам для кражи вашего героя.
    + Администрация. +

    +
    +
    + + \ No newline at end of file diff --git a/map/includes/mapmove_class.php b/map/includes/mapmove_class.php new file mode 100644 index 0000000..22e8c60 --- /dev/null +++ b/map/includes/mapmove_class.php @@ -0,0 +1,24 @@ +cur_pos=array($this->cur_pos[0]+$x,$this->cur_pos[1]+$y); + } + function paint() { + for ($i=$this->cur_pos[0]-5;$i<$this->cur_pos[0]+6;$i++) { + for ($j=$this->cur_pos[1]-5;$j<$this->cur_pos[1]+6;$j++) { + if ($i==$this->cur_pos[0] && $j==$this->cur_pos[1]) echo ""; + if (!file_exists('./map/'.$j.'x'.$i)) {echo 0; } + else { $l=file('./map/'.$j.'x'.$i); echo $l[0]; } + if ($i==$this->cur_pos[0] && $j==$this->cur_pos[1]) echo ""; + } + echo "
    "; + } + } + } +?> \ No newline at end of file diff --git a/map/index.php b/map/index.php new file mode 100644 index 0000000..34169c4 --- /dev/null +++ b/map/index.php @@ -0,0 +1,12 @@ +"; +$map = new TMapmove(); +$map->cur_pos=array(0,0); +//$c=array(0,0); +$map->paint(); +$map->move_to(1,1); +$map->paint(); +echo ""; +?> \ No newline at end of file diff --git a/map/map/-4x2 b/map/map/-4x2 new file mode 100644 index 0000000..f59ec20 --- /dev/null +++ b/map/map/-4x2 @@ -0,0 +1 @@ +* \ No newline at end of file diff --git a/map/map/-4x9 b/map/map/-4x9 new file mode 100644 index 0000000..f59ec20 --- /dev/null +++ b/map/map/-4x9 @@ -0,0 +1 @@ +* \ No newline at end of file diff --git a/map/map/0x0 b/map/map/0x0 new file mode 100644 index 0000000..e0aa8a9 --- /dev/null +++ b/map/map/0x0 @@ -0,0 +1 @@ +^ \ No newline at end of file diff --git a/map/map/2x4 b/map/map/2x4 new file mode 100644 index 0000000..4977bc6 --- /dev/null +++ b/map/map/2x4 @@ -0,0 +1 @@ +~ \ No newline at end of file diff --git a/mg.php b/mg.php new file mode 100644 index 0000000..a6fee04 --- /dev/null +++ b/mg.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/mg2.php b/mg2.php new file mode 100644 index 0000000..729d8c2 --- /dev/null +++ b/mg2.php @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/moderonline.php b/moderonline.php new file mode 100644 index 0000000..1e34641 --- /dev/null +++ b/moderonline.php @@ -0,0 +1,113 @@ + + + + + + + + + + + + +
    + + + + + + + + + + +
    + +
        +
    + +
    +
    +
    Модераторы online
    +
    +
    Паладины онлайн

    + + + + +
    + = ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `align` > 1 and `align` < 2 order by align desc, login asc ;"); + while ($row = mysql_fetch_array($data)) { + if ($row['online']>0) { + echo ''; + nick2($row['id']); + if($row['room'] > 500 && $row['room'] < 561) { + $rrm = 'Башня смерти, участвует в турнире'; + } + else { + $rrm = $rooms[$row['room']]; + } + echo ' - ',$row['status'],' - ',$rrm,'
    '; + } + } + $data=mysql_query("SELECT `id`, `login`, `status`, `level`, `room`, `align`, (select `id` from `online` WHERE `date` >= ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `align` > 1 and `align` < 2 order by align desc, login asc ;"); + while ($row = mysql_fetch_array($data)) { + if ($row['online']<1) { + echo '
    lock'; + nick2($row['id']); + echo ' - ',$row['status'],' - персонаж не в клубе
    '; + } + } + ?> + +
    +
    +
    +
    Уважаемые Игроки!
    Для более быстрого и эффективного решения Вашей проблемы просьба обращаться к тем паладинам, ники которых находятся вверху списка «Модераторы on-line».
    Цените свое и чужое время!
    + + \ No newline at end of file diff --git a/module_quest.php b/module_quest.php new file mode 100644 index 0000000..fd2be10 --- /dev/null +++ b/module_quest.php @@ -0,0 +1,122 @@ +endq((int)$_GET['end_qst_now'], 'end', $user); +} + +if($_GET['end_qst']) { + echo $q->winqst((int)$_GET['end_qst'], $user); +} + +$qsee = ''; +$qx = 0; + +?> + + + +404 + + + + + + '.$pq['name'].'Выполнить
    '.$pq['info'].'
    '.$q->info($pq, $user['id']).'

    '; + $qx++; +} + +if($qsee == '') { + $qsee = '
    К сожалению у вас нет ни одного задания
    '; +} + + +if($q->error != '') { + $error = $q->error; +} + + +?> + +
    +
    Состояние персонажа,
    +
    + + +
    + '.$error.''; } ?> +
    + +
    +
    + + + \ No newline at end of file diff --git a/navig.php b/navig.php new file mode 100644 index 0000000..95687b5 --- /dev/null +++ b/navig.php @@ -0,0 +1,262 @@ + + + + + +'; +print' + + + '; +print''; + + print''; +}else{if($s["v71"]!='' or $s["n71"]!='' or $s["l71"]!='' or $s["p71"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='72'){ +print''; +}else{if($s["v72"]!='' or $s["n72"]!='' or $s["l72"]!='' or $s["p72"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='73'){ +print''; +}else{if($s["v73"]!='' or $s["n73"]!='' or $s["l73"]!='' or $s["p73"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='74'){ +print''; +}else{if($s["v74"]!='' or $s["n74"]!='' or $s["l74"]!='' or $s["p74"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='75'){ +print''; +}else{if($s["v75"]!='' or $s["n75"]!='' or $s["l75"]!='' or $s["p75"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='76'){ +print''; +}else{if($s["v76"]!='' or $s["n76"]!='' or $s["l76"]!='' or $s["p76"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='77'){ +print''; +}else{if($s["v77"]!='' or $s["n77"]!='' or $s["l77"]!='' or $s["p77"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='78'){ +print''; +}else{if($s["v78"]!='' or $s["n78"]!='' or $s["l78"]!='' or $s["p78"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='79'){ +print''; +}else{if($s["v79"]!='' or $s["n79"]!='' or $s["l79"]!='' or $s["p79"]!=''){ +print''; +}else{print'';}} +?> + + + +
    '; + +print' + + + +
    '; +if($_GET['warning']=='1'){print" Вы получили 'Гайка'
    ";} +if($_GET['warning']=='3'){print" Вы получили 'Вентиль'
    ";} +if($_GET['warning']=='2'){print"     Кто-то оказался быстрее!
    ";} +if($_GET['warning']=='4'){print" Вы подняли ключ №'".$_GET['key']."'
    ";} +if($_GET['warning']=='5'){print" У вас уже есть ключ №'".$_GET['key']."'
    ";} + +if($_GET['warning']=='6'){print" Вы вытащили 'Гайку'
    ";} +if($_GET['warning']=='8'){print" Вы вытащили 'Болт'
    ";} +if($_GET['warning']=='7'){print" Сундук пуст
    ";} + +if($_GET['warning']=='9'){print" Вы получили 'Ключиик'
    ";} +if($_GET['warning']=='10'){print" Вы получили 'Зелье жизни'
    ";} +if($_GET['warning']=='11'){print" Вы уже брали зелье!
    ";} +if($_GET['warning']=='12'){print" Невозможно! Вы далеко!
    ";} +print'
    '; +$sided = mysql_query("select * from `labirint` where `glav_id`='$glav_id'"); +while($didd = mysql_fetch_array($sided)) +{ +//nick($user); + +$Loca=$Location; +if($Location<0){$Loca=0;} +if($Location==01){$Loca=1;} +if($Location==02){$Loca=2;} +if($Location==03){$Loca=3;} +if($Location==04){$Loca=4;} +if($Location==05){$Loca=5;} +if($Location==06){$Loca=6;} +if($Location==07){$Loca=7;} +if($Location==08){$Loca=8;} +if($Location==09){$Loca=9;} + +if(in_array($_GET['sun'], array('se_gaika'))) { +$ferrr = mysql_query("SELECT n$Loca FROM `podzem3` WHERE glava='$glava'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$Loca"]; +if($stloc=='503' or $stloc=='502' or $stloc=='501'){ +if($stloc=='503'){mysql_query("UPDATE `podzem3` SET n$Loca='502' WHERE glava='$glava'");} +if($stloc=='502'){mysql_query("UPDATE `podzem3` SET n$Loca='501' WHERE glava='$glava'");} +if($stloc=='501'){mysql_query("UPDATE `podzem3` SET n$Loca='' WHERE glava='$glava'");} +if($stloc==''){print "";exit;} +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Гайка' and maxdur<'30'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+1,cost=cost+1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Гайка' and maxdur<'30'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,cost,img,owner,type,massa,isrep,podzem) VALUES('Гайка','0','1','1','g.gif','".$user['id']."','200','1','0','1')"); +} +print "";exit; +}} + +////////////////////////////////////////// + +if(in_array($_GET['sun'], array('se_vintel'))) { +$ferrr = mysql_query("SELECT n$Loca FROM podzem3 WHERE glava='$glava'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$Loca"]; +if($stloc=='504'){ +if($stloc=='504'){mysql_query("UPDATE podzem3 SET n$Loca='' WHERE glava='$glava'");} +if($stloc==''){print "";exit;} +$f = mysql_query("SELECT maxdur FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Вентиль' and maxdur<'30'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+1,cost=cost+1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Вентиль' and maxdur<'30'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,cost,img,owner,type,massa,isrep,podzem) VALUES('Вентиль','0','1','1','v.gif','".$user['id']."','200','1','0','1')"); +} +print "";exit;}} + +if(in_array($_GET['sun'], array('se_kluchiik'))) { +$ferrr = mysql_query("SELECT n$Loca FROM podzem3 WHERE glava='$glava'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["n$Loca"]; +if($stloc=='505'){ +if($stloc=='505'){mysql_query("UPDATE podzem3 SET n$Loca='' WHERE glava='$glava'");} +if($stloc==''){print "";exit;} +$fo = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,cost,img,owner,type,massa,isrep,podzem) VALUES('Ключиик','0','1','1','kluchik.gif','".$user['id']."','200','3','0','1')"); +print "";exit;}} + +if(in_array($_GET['sun'], array('el'))) { +if($el!='1' and $Location==$el){ +$fo = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,cost,img,owner,type,massa,isrep,magic,podzem) VALUES('Зелье жизни','0','15','15','food_l8.gif','".$user['id']."','50','1','0','8','1')"); +mysql_query("UPDATE `labirint` SET el='1' WHERE `glav_id`='$glav_id' and `login`='$login'"); +print "";exit; +}else{ +if($el=='1'){print "";exit;} +else{print "";exit;}} +} + +if(in_array($_GET['sun'], array('sunduk'))) { +$ferrr = mysql_query("SELECT sunduk".$_GET['sn']." FROM `podzem3` WHERE `glava`='$glava'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["sunduk".$_GET['sn'].""]; +if($stloc!='' and $Location==$stloc){mysql_query("UPDATE `podzem3` SET sunduk".$_GET['sn']."='' WHERE `glava`='$glava'");} +else{ +if($stloc==''){print "";exit;} +else{print "";exit;}} + +$f = mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Гайка' and maxdur<'30'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+1,cost=cost+1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Гайка' and maxdur<'30'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,cost,img,owner,type,massa,isrep,podzem) VALUES('Гайка','0','1','1','g.gif','".$user['id']."','200','1','0','1')"); +} +print "";exit;} + +if(in_array($_GET['sun'], array('key'))) { +$keys = "key".$_GET['sn'].""; +$keyd = $r["key".$_GET['sn'].""]; +if( $keyd!=1){ +if( $keyd == $Location){ +mysql_query("UPDATE labirint SET $keys='1' WHERE glav_id='$glav_id'"); +print "";exit;} +else{print "";exit;} +}else{print "";exit;}} + +if(in_array($_GET['sun'], array('sunduk_b'))) { +$ferrr = mysql_query("SELECT sunduk".$_GET['sn']." FROM podzem3 WHERE glava='$glava'"); +$retr = mysql_fetch_array($ferrr); +$stloc = $retr["sunduk".$_GET['sn'].""]; +if($stloc!='' and $Location==$stloc){mysql_query("UPDATE podzem3 SET sunduk".$_GET['sn']."='' WHERE glava='$glava'");} +else{ +if($stloc==''){print "";exit;} +else{print "";exit;}} + + +$f = mysql_query("SELECT maxdur FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Болт' and maxdur<'30'"); +if($g = mysql_fetch_array($f)){ +$koll = $g["maxdur"]; +mysql_query("UPDATE `inventory` SET maxdur=maxdur+1,massa=massa+1,cost=cost+1 WHERE owner='".$user['id']."' and `type`='200' and `name`='Болт' and maxdur<'30'"); +}else{ +$fo = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,cost,img,owner,type,massa,isrep,podzem) VALUES('Болт','0','1','1','bolt.gif','".$user['id']."','200','1','0','1')"); +} +print "";exit;} +} +print"
    "; +print" + + + +
    "; + +$gags = mysql_query("SELECT * FROM `labirint` WHERE `glav_id`='$glav_id'"); +while($ghhg = mysql_fetch_array($gags)) +{ +$sax = mysql_query("SELECT login,level,hp,maxhp,id FROM `users` WHERE login='".$ghhg['login']."'"); +$ber = mysql_fetch_array($sax); +print" + + +"; +if($ber['id'] == $glav_id){ +print" + +
    ".$ber['login']."[".$ber["level"]."]\"Инфо\""; +echo setHP($ber['hp'],$ber['maxhp'],$battle); + print"\"Лидер"; +print"\"Выгнать"; +print" \"Новый"; +} +print"
    "; +} + + print"
    "; + + +print"
    "; +$gag = mysql_query("SELECT * FROM qwest WHERE login='".$user["login"]."' and status!='ok'"); +while($qw = mysql_fetch_array($gag)) +{ +$name_qwest = $qw["name_items"]; +$zadanie = $qw["zadanie"]; +$qwesta = mysql_fetch_array(mysql_query("SELECT id FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='$name_qwest'")); +if($qwesta){$ok_qwest = "1";}else{$ok_qwest = "0";} +print"  Задание: $zadanie ($ok_qwest/1)

    "; +} +if($kill>'0'){print"   Кол-во смертей: $kill

    ";} +include "podzem_res.php"; + + print'
    '; + + + print' +'; +}else{if($s["v81"]!='' or $s["n81"]!='' or $s["l81"]!='' or $s["p81"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='82'){ +print''; +}else{if($s["v82"]!='' or $s["n82"]!='' or $s["l82"]!='' or $s["p82"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='83'){ +print''; +}else{if($s["v83"]!='' or $s["n83"]!='' or $s["l83"]!='' or $s["p83"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='84'){ +print''; +}else{if($s["v84"]!='' or $s["n84"]!='' or $s["l84"]!='' or $s["p84"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='85'){ +print''; +}else{if($s["v85"]!='' or $s["n85"]!='' or $s["l85"]!='' or $s["p85"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='86'){ +print''; +}else{if($s["v86"]!='' or $s["n86"]!='' or $s["l86"]!='' or $s["p86"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='87'){ +print''; +}else{if($s["v87"]!='' or $s["n87"]!='' or $s["l87"]!='' or $s["p87"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='88'){ +print''; +}else{if($s["v88"]!='' or $s["n88"]!='' or $s["l88"]!='' or $s["p88"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='89'){ +print''; +}else{if($s["v89"]!='' or $s["n89"]!='' or $s["l89"]!='' or $s["p89"]!=''){ +print''; +}else{print'';}} +?> + + + +
    '; + + + +print"Этаж 1 - Канализация      выйти"; +print'
    '; +echo"
    "; + + + +$fer = mysql_query("select * from `labirint` where `glav_id`='$glav_id'"); +$s=0; +while($ler = mysql_fetch_array($fer)) +{ +$s++; +$n_log = $ler["login"]; +$n_locat = $ler["location"]; +$n_left = $ler["l"]; +$n_top = $ler["t"]; +echo"
    $n_log
    "; +} + +?> \ No newline at end of file diff --git a/new_year.php b/new_year.php new file mode 100644 index 0000000..7c3127c --- /dev/null +++ b/new_year.php @@ -0,0 +1,133 @@ + + + + + + + + + + + + + +

    Новый Год - 2011!

    +
    + + + + + +
    +Совсем недавно мы праздновали начало 2016 года, а всего через дней наступит 2017 год.
    +Как бы это ни было печально, в этом есть и свои радости: новые надежды, планы и... подарки, конечно же!
    +С сегодняшнего дня и до окончания новогодних праздников ищите под елкой свой подарок! +
    +

    Подарки от Деда Мороза!

    + +
    + +
    + +
    '); + } + elseif($user['podarokAD']==0 && $_POST['get_present']==1) + { + mysql_query("UPDATE `users` SET `podarokAD`='1' WHERE `id`='{$user['id']}';"); + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + + $pres_chance=rand(0,100); + if($pres_chance<50) + { + $p_cr=rand(15,30); + $p_flag="0"; + } + elseif($pres_chance>=50 && $pres_chance<75) + { + $present= + array("284", "285", "286", "287", "272", "290"); + $p_flag="1"; + } + elseif($pres_chance>=75 && $pres_chance<95) + { + $present= + array("171", "779", "780"); + $p_flag="1"; + } + elseif($pres_chance>=95) + { + $present= + array("283"); + $p_flag="1"; + } + + if($p_flag==1) + { + //Святой Рандом + $priz_id=rand(0,count($present)-1); + $pr_get=$present[$priz_id]; + + //выборка из магазина + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '{$pr_get}' LIMIT 1;")); + //отдаем подарок + mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`present` + ) + VALUES + ('{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','Мэр Города' + ) ;"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','\"".$user['login']."\" получил от Деда Мороза: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."]',1,'".time()."');"); + + + echo('
    Вы получили подарок: '.$dress['name'].'!'); + addchp ('Вы получили подарок: '.$dress['name'],'{[]}'.nick7 ($user['id']).'{[]}'); + //$_POST['get_present']=0; + //mysql_query("UPDATE `users` SET `podarokAD`='1' WHERE `id`='{$user['id']}';"); + //header("Location: ".$_SERVER['PHP_SELF']); + } + else + { + echo('
    Вы получили '.$p_cr.' кр!'); + addchp ('Вы получили подарок: '.$p_cr.' кр. ','{[]}'.nick7 ($user['id']).'{[]}'); + mysql_query("UPDATE users set money=money+{$p_cr} where id='{$user['id']}';"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) + VALUES ('','0','{$user['id']}','\"".$user['login']."\" получил от Деда Мороза ".$p_cr." кр. ',1,'".time()."');"); + //$_POST['get_present']=0; + //mysql_query("UPDATE `users` SET `podarokAD`='1' WHERE `id`='{$user['id']}';"); + //header("Location: ".$_SERVER['PHP_SELF']); + } + //mysql_query("UPDATE `users` SET `podarokAD`='0' WHERE `id`='{$user['id']}';"); + } + else + { + echo('
    Сегодня Вы уже получили подарок. Приходите завтра!'); + + } + ?> +
        + +
    + +
    + + + \ No newline at end of file diff --git a/online.html b/online.html new file mode 100644 index 0000000..26afa29 --- /dev/null +++ b/online.html @@ -0,0 +1,19 @@ + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + \ No newline at end of file diff --git a/online.php b/online.php new file mode 100644 index 0000000..81e31c5 --- /dev/null +++ b/online.php @@ -0,0 +1,648 @@ + 'top.location="main.php?exit='.mt_rand(0, 50000).'";'))); } +include('config.php'); +include('classes/filter_class.php'); + +$rooms = array ( + "0"=>"Секретная Комната", + + "1"=>"Комната Новичков", + "2"=>"Комната Новичков 2", + "3"=>"Комната Новичков 3", + "4"=>"Комната Новичков 4", + + "5"=>"Зал Воинов ", + "6"=>"Зал Воинов 1", + "7"=>"Зал Воинов 2", + + "8"=>"Торговый зал", + "9"=>"Рыцарский зал", + "10"=>"Башня рыцарей-магов", + "11"=>"Колдовской мир", + + "12"=>"Этажи духов", + "13"=>"Астральные этажи", + "14"=>"Огненный мир", + + "15"=>"Зал Паладинов", + "16"=>"Совет Белого Братства", + + "17"=>"Зал Тьмы", + "18"=>"Царство Тьмы", + + "19"=>"Будуар", + + "20"=>"Центральная площадь", + "21"=>"Страшилкина улица", + "22"=>"Магазин", + "23"=>"Ремонтная мастерская", + "24"=>"Памятник Архангелу", + "25"=>"Комиссионный магазин", + "26"=>"Замковая улица", + "27"=>"Почта", + "28"=>"Регистратура кланов", + "29"=>"Банк", + "30"=>"Регистратура кланов", + "31"=>"Башня смерти", + + "32"=>"Готический замок", + "33"=>"Лабиринт хаоса", + "34"=>"Цветочный магазин", + "35"=>"Сувенирный магазин", + "36"=>"Зал Стихий", + + "37"=>"Готический замок - приемная", + "38"=>"Готический замок - арсенал", + "39"=>"Готический замок - внутренний двор", + "40"=>"Готический замок - мастерские", + "41"=>"Готический замок - комнаты отдыха", + + "42"=>"Лотерея Сталкеров", + "43"=>"Хижина Знахаря", + "44"=>"Новогодняя елка", + "45"=>"Замок Мэра", + "47"=>"Замок (строительство)", + "48"=>"Обитель Хаоса", + "49"=>"Проход к Цитадели Хаоса", + "50"=>"Магазин Берёзка", + "51"=>"Парковая улица", + "52"=>"Квартал Законников", + "53"=>"Библиотека", + + "54"=>"Зал Света", + "55"=>"Царство Света", + "56"=>"Царство Стихий", + "57"=>"Зал Клановых Войн", + + "101"=>"Противостояние сил", + "200"=> "Турнир", + "401"=> "Врата Ада", +// БС + "501" => "Восточная Крыша", + "502" => "Бойница", + "503" => "Келья 3", + "504" => "Келья 2", + "505" => "Западная Крыша 2", + "506" => "Келья 4", + "507" => "Келья 1", + "508" => "Служебная комната", + "509" => "Зал Отдыха 2", + "510" => "Западная Крыша 1", + "511" => "Выход на Крышу", + "512" => "Зал Статуй 2", + "513" => "Храм", + "514" => "Восточная комната", + "515" => "Зал Отдыха 1", + "516" => "Старый Зал 2", + "517" => "Старый Зал 1", + "518" => "Красный Зал 3", + "519" => "Зал Статуй 1", + "520" => "Зал Статуй 3", + "521" => "Трапезная 3", + "522" => "Зал Ожиданий", + "523" => "Оружейная", + "524" => "Красный Зал-Окна", + "525" => "Красный Зал", + "526" => "Гостинная", + "527" => "Трапезная 1", + "528" => "Внутренний Двор", + "529" => "Внутр.Двор-Вход", + "530" => "Желтый Коридор", + "531" => "Мраморный Зал 1", + "532" => "Красный Зал 2", + "533" => "Библиотека 1", + "534" => "Трапезная 2", + "535" => "Проход Внутр. Двора", + "536" => "Комната с Камином", + "537" => "Библиотека 3", + "538" => "Выход из Мрам.Зала", + "539" => "Красный Зал-Коридор", + "540" => "Лестница в Подвал 1", + "541" => "Южный Внутр. Двор", + "542" => "Трапезная 4", + "543" => "Мраморный Зал 3", + "544" => "Мраморный Зал 2", + "545" => "Картинная Галерея 1", + "546" => "Лестница в Подвал 2", + "547" => "Проход Внутр. Двора 2", + "548" => "Внутр.Двор-Выход", + "549" => "Библиотека 2", + "550" => "Картинная Галерея 3", + "551" => "Картинная Галерея 2", + "552" => "Лестница в Подвал 3", + "553" => "Терасса", + "554" => "Оранжерея", + "555" => "Зал Ораторов", + "556" => "Лестница в Подвал 4", + "557" => "Темная Комната", + "558" => "Винный Погреб", + "559" => "Комната в Подвале", + "560" => "Подвал", + "600" => "Вход в Цитадель Хаоса", + "601" => "Цитадель Хаоса", + "602" => "Городской парк", + "603" => "Арена Ангелов", + + 620 => "Вход в Рудник", + 621 => "Рудник", + + 660 => "Гостиница, холл", + 661 => "Гостиница", + 662 => "Памятник Архангелу", + + 760 => "Тёмный Лес", +// Клановая улица + "650" => "Клановая улица", + "651" => "Клановая улица", + "652" => "Клановый Замок", +// + "1000" => "Вход в рудник", + "1001" => "Рудник", + 1051 => "Вход в Лабиринты", + 1052 => "Лабиринты", + 1053 => "Храмовая лавка", + "2000" => "Подземный проход", + "2001" => "Подземный проход (1)", + "2002" => "Подземный проход (2)", + "2003" => "Подземный проход (3)", + "2004" => "Подземный проход (4)", + "2005" => "Подземный проход (5)", + "2006" => "Подземный проход (6)", + "2007" => "Подземный проход (7)", + "2008" => "Подземный проход (8)", + "2009" => "Подземный проход (9)", + "2010" => "Подземный проход (10)", + "2011" => "Подземный проход (11)", + "2012" => "Подземный проход (12)", + "2013" => "Подземный проход (13)", + "2014" => "Подземный проход (14)", + "2015" => "Подземный проход (15)", + "2016" => "Подземный проход (16)", + "2017" => "Подземный проход (17)", + "2018" => "Подземный проход (18)", + "2019" => "Подземный проход (19)", + "2020" => "Подземный проход (20)", + "2021" => "Подземный проход (21)", + "2022" => "Подземный проход (22)", + "2023" => "Подземный проход (23)", + "2024" => "Подземный проход (24)", + "2025" => "Подземный проход (25)", + "2026" => "Подземный проход (26)", + "2027" => "Подземный проход (27)", + "2028" => "Подземный проход (28)", + "2029" => "Подземный проход (29)", + "2030" => "Подземный проход (30)", + "2031" => "Подземный проход (31)", + "2032" => "Подземный проход (32)", + "2033" => "Подземный проход (33)", + "2034" => "Подземный проход (34)", + "2035" => "Подземный проход (35)", + "2036" => "Подземный проход (36)", + "2037" => "Подземный проход (37)", + "2038" => "Подземный проход (38)", + "2039" => "Подземный проход (39)", + "2040" => "Подземный проход (40)", + "2041" => "Подземный проход (41)", + "2042" => "Подземный проход (42)", + "2043" => "Подземный проход (43)", + "2044" => "Подземный проход (44)", + "2045" => "Подземный проход (45)", + "2046" => "Подземный проход (46)", + "2047" => "Подземный проход (47)", + "2048" => "Подземный проход (48)", + "2049" => "Подземный проход (49)", + "2050" => "Подземный проход (50)", + "2051" => "Подземный проход (51)", + "2052" => "Подземный проход (52)", + "2053" => "Подземный проход (53)", + "2054" => "Подземный проход (54)", + "2055" => "Подземный проход (55)", + "2056" => "Подземный проход (56)", + "2057" => "Подземный проход (57)", + "2100" => "Сектор 2100" + + +); + +$user = mysql_fetch_array(mysql_query('SELECT * FROM `users` WHERE `id` = "'.mysql_real_escape_string($_SESSION['uid']).'" LIMIT 1')); +$sleep = mysql_fetch_array(mysql_query('SELECT `id`, `time` FROM `effects` WHERE `type` = 2 AND `owner` = "'.$user['id'].'" LIMIT 1')); +if(!isset($user['id'])) { die(json_encode(array('js' => 'top.location="main.php?exit='.mt_rand(0, 50000).'";'))); } + +$uroom = $rooms[$user['room']]; +$user['city'] = 'capitalcity'; + +$r = array('rnd' => mt_rand(1, 500000), 'rn' => null, 'list' => null, 'msg' => null, 'key' => null, 'js' => null, 'xu' => 0); + +if($user['battle'] > 0) { + $btl = mysql_fetch_array(mysql_query('SELECT `id` FROM `battle` WHERE `id` = "'.$user['battle'].'" AND `win` = 3 LIMIT 1')); + if(!isset($btl['id'])) { + $r['js'] .= 'top.frames["main"].location="fbattle.php";'; + } +} + +if(isset($_POST['delMsg']) && ($user['align'] = 2.99)) { + if(((int)$_POST['delMsg']) > 0) { + mysql_query('UPDATE `chat` SET `delete` = "'.$user['id'].'" WHERE `id` = "'.mysql_real_escape_string(((int)$_POST['delMsg'])).'" LIMIT 1'); + } +} + +if(isset($_POST['msg']) && str_replace(' ', '', $_POST['msg']) != '') { + $msg = array(); + $_POST['msg'] = str_replace('\x3C', '<', $_POST['msg']); + $_POST['msg'] = str_replace('\x3', '>', $_POST['msg']); + $_POST['msg'] = $_POST['msg']; + $_POST['msg'] = str_replace('\\', '\\\\', $_POST['msg']); + $_POST['msg'] = str_replace('"', '[s1;]', $_POST['msg']); + $_POST['msg'] = str_replace("'", '[s2;]', $_POST['msg']); + $_POST['msg'] = str_replace('<', '[s3;]', $_POST['msg']); + $_POST['msg'] = str_replace('>', '[s4;]', $_POST['msg']); + $_POST['msg'] = str_replace(' ', ' ',$_POST['msg']); + $_POST['msg'] = htmlspecialchars($_POST['msg']); + $_POST['msg'] = str_replace('::', '', $_POST['msg']); + $_POST['msg'] = str_replace('[s1;]', '"', $_POST['msg']); + $_POST['msg'] = str_replace("[s2;]", '"', $_POST['msg']); + $_POST['msg'] = str_replace('[s3;]', '<', $_POST['msg']); + $_POST['msg'] = str_replace('[s4;]', '>', $_POST['msg']); + + + $lmgs = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `chat` WHERE `login` = "'.$user['login'].'" AND `time` > '.(time()-2).' LIMIT 2')); + if($lmg[0] > 0) { + $r['js'] .= 'chat.sendMsg(["new", "'.time().'", "6", "", "'.$user['login'].'", "Р’С‹ РЅРµ можете отправлять так часто сообщения... ", "Black", "1", "1", "0"]);'; + } else { + $msg['time'] = time(); $msg['spam'] = 0; $msg['type'] = 1; $msg['toChat'] = 0; $msg['color'] = 'Black'; $msg['typeTime'] = 0; $msg['sound'] = 0; $msg['global'] = 0; $msg['molch'] = 0; $msg['login'] = $user['login']; $msg['cancel'] = 0; $msg['delete'] = 0; $msg['to'] = ''; $msg['da'] = 0; $msg['color'] = $user['chatColor']; + + if($user['align'] != '3.99') { + $msg['fspam'] = $filter->spamFiltr(str_replace('точка', '.', str_replace('СЂСѓ', 'ru', $_POST['msg']))); + if($msg['fspam'] != '0') { + $msg['spam'] = 1; $msg['delete'] = 1; + $r['js'] .= 'chat.sendMsg(["new", "'.time().'", "6", "", "'.$user['login'].'", "Р’ нашем чате запрещается сообщать ссылки РЅР° атльтернативные проекты. Повторные попытки РјРѕРіСѓС‚ привести Рє блокировке персонажа.", "Black", "1", "2", "0", "", "", "", "", "'.date('H:i', time()).'"]);'; + } + } + + if(preg_match("/private\[(.*?)\]/", $_POST['msg'], $msg['to'])) { + $_POST['msg'] = str_replace('private['.$msg['to'].']', 'private ['.$msg['to'].']', $_POST['msg']); $msg['to'] = ''; + } elseif(preg_match("/to\[(.*?)\]/", $_POST['msg'], $msg['to'])) { + $msg['to'] = $msg['to'][1]; + $_POST['msg'] = str_replace('to['.$msg['to'].']', 'to ['.$msg['to'].']', $_POST['msg']); $msg['to'] = ''; + } + + if(preg_match("/private \[(.*?)\]/", $_POST['msg'], $msg['to'])) { + $msg['to'] = trim($msg['to']['1'], ' '); $msg['type'] = 3; $_POST['msg'] = str_replace('private ['.$msg['to'].']', ' ', $_POST['msg']); + } elseif(preg_match("/to \[(.*?)\]/", $_POST['msg'], $msg['to'])) { + $msg['to'] = trim($msg['to']['1'], ' '); $msg['type'] = 2; $_POST['msg'] = str_replace('to ['.$msg['to'].']', ' ', $_POST['msg']); + } + + if(preg_match("/Невидимка/", $msg['to'])) { + $msg['to'] = preg_replace("/<b><i>Невидимка<\/i><\/b>/", "Невидимка", $msg['to']); + $msg['to'] = preg_replace("/<small>(.*?)<\/small>/", "$1", $msg['to']); + } + + $qix = mysql_fetch_array(mysql_query('SELECT `id` FROM `friends` WHERE `ignor` > 0 AND `user` = "'.mysql_real_escape_string($user['id']).'" AND `user_ignor` = "'.mysql_real_escape_string($msg['to']).'" LIMIT 1')); + if(isset($qix['id'])) { + $r['js'] .= 'chat.sendMsg(["new", "'.time().'", "6", "", "'.$user['login'].'", "Вас добавили РІ РёРіРЅРѕСЂ: Р’С‹ РЅРµ можете отправлять сообщения персонажу "'.htmlspecialchars($msg['to']).'".", "Black", "1", "1", "0"]);'; + $msg['cancel']++; + } elseif($msg['type'] == 3 && $user['level'] < 0) { + $r['js'] .= 'chat.sendMsg(["new", "'.time().'", "6", "", "'.$user['login'].'", "Отправлять сообщения РІ приват РјРѕРіСѓС‚ персонажи старше нулевого СѓСЂРѕРІРЅСЏ.", "Black", "1", "1", "0"]);'; + $msg['cancel']++; + } + + if($msg['type'] == 3 && $msg['to'] == 'klan') { + if($user['klan']== '') { + $r['js'] .= 'chat.sendMsg(["new", "'.time().'", "6", "", "'.$user['login'].'", "Р’С‹ РЅРµ являетесь частью РѕРґРЅРѕРіРѕ РёР· Кланов Рё РЅРµ можете общаться РїРѕ этому каналу.", "Black", "1", "1", "0"]);'; + $msg['cancel']++; + } else { + $msg['to'] = 'k'.$user['klan']; + $msg['da'] = 1; + } + } elseif($msg['type'] == 3 && $msg['to'] == 'paladins') { + if($user['align'] <= 1 || $user['align'] >= 2) { + $r['js'] .= 'chat.sendMsg(["new", "'.time().'", "6", "", "'.$user['login'].'", "Р’С‹ РЅРµ являетесь частью Ордена Света Рё РЅРµ можете общаться РїРѕ этому каналу.", "Black", "1", "1", "0"]);'; + $msg['cancel']++; + } else { + $msg['type'] = -3; + } + } + + if(isset($sleep['id'])) { + $msg['molch'] = 1; + } + + if($msg['cancel'] == 0) { + if(is_array($msg['to'])) { + $msg['to'] = ''; + } + + if($msg['type'] == 3 && $msg['da'] > 0) { + $msg['type'] = -3; + } + + $nosend = 0; + + if($nosend == 0) { + $activ = 1; + mysql_query('INSERT INTO `chat` (`active`, `invis`, `da`, `delete`, `molch`, `new`, `login`, `to`, `city`, `room`, `time`, `type`, `spam`, `text`, `toChat`, `color`, `typeTime`, `sound`, `global`) VALUES ( + "'.$activ.'", + "'.$user['invis'].'", + "'.$msg['da'].'", + "'.$msg['delete'].'", + "'.$msg['molch'].'", + "1", + "'.$msg['login'].'", + "'.mysql_real_escape_string($msg['to']).'", + "'.$user['city'].'", + "'.$user['room'].'", + "'.$msg['time'].'", + "'.$msg['type'].'", + "'.$msg['spam'].'", + "'.mysql_real_escape_string($_POST['msg']).'", + "'.$msg['toChat'].'", + "'.$msg['color'].'", + "'.$msg['typeTime'].'", + "'.$msg['sound'].'", + "'.$msg['global'].'")'); + } + } + } +} + +if($_GET['r1'] != 0) { + $sp = mysql_query('SELECT `align`, `u`.`id`, `klan`, `action`, `level`, `login`, `caveleader`, `u`.`battle` AS `in_battle`, `o`.`date`, `u`.`invis`, (SELECT `id` FROM `effects` WHERE `type` = 2 AND `owner` = `u`.`id` LIMIT 1) AS `slp`, (SELECT `id` FROM `effects` WHERE (`type` = 11 OR `type` = 12 OR `type` = 13 OR `type` = 14) AND `owner` = `u`.`id` LIMIT 1) AS `trv`, `deal` FROM `online` AS `o`, `users` AS `u` WHERE `o`.`id` = `u`.`id` AND (`o`.`date` >= '.(time()-90).' OR `u`.`in_tower` = 1) AND `o`.`room` = "'.$user['room'].'" ORDER by `u`.`login`'); + $ar_id = 0; $ar_lvl = 0; $ar_all = 0; $usl = array(); $cw = array(); $usid = array(); + while($pl = mysql_fetch_array($sp)) { + $ysee = 1; + + if(!isset($usl[$pl['login']])) { + $ysee = 1; + } + + if((int)$_GET['r3'] != 1) { + if($user['caveleader'] > 0 && $user['caveleader'] != $pl['caveleader']) { + $ysee = 0; + } + } + + if($usid[$pl['login']] == true) { + $ysee = 0; + } + + $usl[$pl['login']] = $pl['id']; + + if(($pl['date'] > time()-90) && $ysee == 1) { + if(($pl['invis'] != 1)) { + $usid[$pl['login']] = true; + $pl['atack'] = 0; + $pl['molch1'] = (0+$sleep['time']); + if($pl['klan'] != '') { + $cl = mysql_fetch_array(mysql_query('SELECT `id`, `name` FROM `clans` WHERE `id` = "'.$pl['klan'].'" LIMIT 1')); + $pl['klan'] = $cl['name']; + } + + if(iconv("utf-8", "utf-8", $pl['login']) != '') { + $pl['login'] = iconv("utf-8", "utf-8", $pl['login']); + } + + $r['list'] .= '"'.$r['xu'].'":["'.$pl['id'].'","'.$pl['login'].'","'.$pl['level'].'","'.$pl['align'].'","'.$pl['klan'].'","capitalcity","capitalcity","'.$pl['room'].'","","","'.$pl['block'].'","'.$pl['molch1'].'","'.$pl['battle'].'","0","","'.$pl['sex'].'"],'; + $ar_id += $pl['id']; + $ar_lvl += $pl['level']; + $ar_all += $pl['align']+$pl['klan']+$pl['molch1']+$pl['block']+$pl['battle']; + } + $r['xu']++; + } + } + unset($pl, $sp); + $r['list'] = rtrim($r['list'], ','); + $r['list'] = '{'.$r['list'].'}'; + +} + + +if(isset($_GET['mid']) && !isset($_POST['mid'])) { + $_POST['mid'] = $_GET['mid']; +} + +$r['msg'] = ''; $i = 0; $l = 0; + +$sp = mysql_query('SELECT `frv`,`id`,`dn`,`active`,`invis`,`login`,`to`,`city`,`room`,`time`,`type`,`spam`,`text`,`toChat`,`color`,`typeTime`,`sound`,`global`,`delete`,`molch`,`da` FROM `chat` WHERE + ( + ( + `delete` > 0 + AND + `time` > '.(time()-360).' + ) + OR + ( + `time` > '.(time()-120).' + OR + ( + `time` = -1 + AND + ( + `to` = "'.$user['login'].'" + OR + `type` = 8 + ) + ) + OR + ( + `time` < -1 + AND + `time` > -'.time().' + AND + ( + `to` = "'.$user['login'].'" + OR + `type` = 8 + OR + `to` = "" + ) + ) + ) + ) + AND + `new` = "1" + AND + ( + `id` > '.((int)$_POST['mid']).' + OR + `delete` > 0 + OR + `spam` > 0 + OR + ( + `time` < 0 + AND + `time` > -'.time().' + AND + ( + `to` = "'.$user['login'].'" + OR + `to` = "" + ) + ) + ) + ORDER BY `id` ASC LIMIT 250'); + +while($pl = mysql_fetch_array($sp)) { + if($pl['delete'] > 0) { + $r['msg'] .= ', "m'.$i.'":["'.$pl['id'].'", "", "delete", "", "", "", "", "", "", "0", "0", "0", "1", "", ""]'; + } + + if($pl['type'] == 6 || $pl['type'] == 8) { $pl['city'] = $user['city']; } + + $see = 1; + + if($pl['type'] == 8 && $user['align'] != 2.99 && (($user['align'] <= 1 || $user['align'] >= 2))) { + $see = 0; + } + + if($pl['type'] > 0 && $pl['type'] < 4 && $pl['room'] != 0) { + $pl['room'] = $user['room']; + $pl['city'] = $user['city']; + } + + if((($pl['type'] == 3 || $pl['type'] == 4) && ($pl['city'] == $user['city'] || $pl['global'] == 1)) || (($pl['type'] == 5 || $pl['type'] == 6 || ($pl['type'] == 8 && ($user['align'] == 2.99 || ($user['align'] > 1 && $user['align'] < 2)))) && ($pl['city'] == $user['city'] || $pl['global'] == 1)) || ($pl['type'] == 7 && $pl['city'] == $user['city'] && $pl['room'] == $user['room']) || ($pl['type'] == 6 && ($pl['city'] == $user['city'] || $pl['global'] == 1)) || $pl['type'] == 9 || $pl['type'] == 10) { + if($pl['to'] != '' && $pl['login'] != $user['login'] && $pl['to'] != $user['login']) { + $n = 0; + $ex = explode(',', $pl['to']); + $j = 0; + while($j < count($ex)) { + if(trim($ex[$j], ' ') == $user['login']) { + $n++; + } + $j++; + } + if($n == 0) { + $see = 0; + } + unset($n, $j, $ex); + } + } + + if($pl['type'] == -3 && ($pl['to'] == 'k'.$user['klan'] || ($pl['to'] == 'paladins' && $user['align'] > 1 && $user['align'] < 2))) { + $pl['type'] = 3; + if($pl['to'] == 'k'.$user['klan']) { + $pl['to'] = 'klan'; + } + $see = 1; + } elseif($pl['type'] == -3) { + $see = 0; + } + + if($pl['type'] == 6 && $pl['room'] > 0 && $pl['room'] != $user['room'] && $pl['to'] == '') { + $see = 0; + } + + if($pl['type'] == 8 && $pl['city'] != $user['city'] && $pl['global'] == 0) { + $see = 0; + } + + if($pl['molch'] > 0) { + $see = 0; + } + + if(($pl['type'] == 1 || $pl['type'] == 2) && ($pl['room'] != $user['room'] || $pl['city'] != $user['city']) && ($pl['global'] == 0 || $_COOKIE['chatCfg11'] == 0)) { + $see = 0; + } + + if($pl['global'] == 1 && $pl['city'] == $user['city'] && $pl['type'] != -3) { + $see = 1; + } + + if($pl['city'] != $user['city'] && $pl['global'] == 0) { + $see = 0; + } + + if($pl['active'] == 1 && $user['align'] != 2.99 && $pl['login'] != $user['login']) { + if($user['align'] > 1 && $user['align'] < 2) { + + } else { + $see = 0; + } + } + + + if($see == 1 && $pl['delete'] == 0 && $pl['login'] != '') { + $qix = mysql_fetch_array(mysql_query('SELECT `id` FROM `friends` WHERE `ignor` > 0 AND `login_ignor` = "'.mysql_real_escape_string($pl['login']).'" AND `user` = "'.$user['id'].'" ) LIMIT 1')); + if(isset($qix['id'])) { + $see = 0; + } + unset($qix); + } + + if($see == 1 && $pl['delete'] == 0) { + if($pl['time'] < 0) { + if($pl['to'] == '') { + $lmsch = mysql_fetch_array(mysql_query('SELECT `id` FROM `chat` ORDER BY `id` DESC LIMIT 1')); + if(isset($lmsch['id'])) { + $lmsch['id']++; + mysql_query('UPDATE `chat` SET `id` = "'.$lmsch['id'].'", `time` = "'.time().'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); + $pl['id'] = $lmsch['id']; + } else { + mysql_query('UPDATE `chat` SET `time` = "'.time().'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); + } + } else { + mysql_query('UPDATE `chat` SET `time` = "'.time().'" WHERE `id` = "'.$pl['id'].'" LIMIT 1'); + } + $pl['time'] = time(); + } + + if($pl['delete'] > 0) { + $r['msg'] .= ', "'.$i.'":{"d":"'.$pl['id'].'"}'; + } elseif($pl['spam'] > 0) { + $r['msg'] .= ', "'.$i.'":{"s":"'.$pl['id'].'"}'; + } else { + if($pl['type'] != 3) { + if($pl['invis'] == 1) { + if($user['align'] != 2.99) { + $pl['login'] = 'Невидимка'; + } else { + $pl['login'] = 'Невидимка ('.$pl['login'].')'; + } + } + } + + $r['msg'] .= ', "m'.$i.'":["'.$pl['id'].'", "'.$pl['time'].'", "'.$pl['type'].'", "'.$pl['login'].'", "'.$pl['to'].'", "'.$pl['text'].'", "'.$pl['color'].'", "'.$pl['toChat'].'", "'.$pl['typeTime'].'", "'.$pl['sound'].'", "'.$pl['global'].'", "'.$pl['molch'].'", "'.$pl['active'].'", "'.date('H:i', $pl['time']).'","'.date('d.m.Y H:i', $pl['time']).'", "'.$pl['frv'].'"]'; + } + } + + if($l < $pl['id']) { + $l = $pl['id']; + } + $i++; +} + +$r['msg'] = '{"ld":"'.(0+$l).'", "id":"'.$i.'"'.$r['msg'].'}'; + +$r['key'] = md5($uroom.'+'.$ar_id.'+'.$ar_lvl.'+'.$ar_all); + +unset($ar_id, $ar_lvl); + +if($_COOKIE['chatCfg12'] == 0) { + $_GET['key'] = time(); +} + +if($r['key'] == $_GET['key']) { + unset($r['rn'], $r['list'], $r['key'], $r['xu']); +} elseif($_GET['r1'] != 0) { + $r['rn'] = $uroom; + $r['list'] = $r['list']; +} + +if($r['js'] != NULL) { + $r['js'] = $r['js']; +} else { + unset($r['js']); +} + +if($r['msg'] != NULL) { + $r['msg'] = $r['msg']; +} else { + unset($r['msg']); +} + +unset($c, $u, $db); +$r = json_encode($r); +echo $r; +unset($r); +?> \ No newline at end of file diff --git a/online_get_u_s.php b/online_get_u_s.php new file mode 100644 index 0000000..f8dc660 --- /dev/null +++ b/online_get_u_s.php @@ -0,0 +1,6 @@ += ".(time()-60).";")); + echo $online[0]; +?> \ No newline at end of file diff --git a/orden.php b/orden.php new file mode 100644 index 0000000..f376496 --- /dev/null +++ b/orden.php @@ -0,0 +1,666 @@ + Паладин поднебесья +1.75 > Паладин Солнечной Улыбки +1.7 > Паладин Огненной Зари +1.91 > Паладин Неба +1.98 > Старший Паладин Неба +1.99 > Верховный +*/ + +$arr = array( + 'delo' => array(1.1, 1.7, 1.75, 1.91, 1.98, 1.99), + 'telegraf' => array(1.1, 1.7, 1.75, 1.91, 1.98, 1.99), + 'trade' => array(1.7, 1.91, 1.98, 1.99), + 'golos' => array(1.99), + 'showinvis' => array(1.7, 1.75, 1.91, 1.98, 1.99) +); + +?> + + + + + + + + + + + + +
    + + $v) $str .= $k.";".$v.";"; + return $str; + } + + function expa($str) { + $array = explode(";", $str); + for($i = 0; $i <= count($array)-2; $i = $i+2) $rarray[$array[$i]] = $array[$i+1]; + return $rarray; + } + + if ($user['deal']==1) echo "Неси нам деньги, {$user['login']}!"; + elseif ($user['align'] == '2') echo "

    Следи за равновесием, товарищ {$user['login']}!

    "; + elseif ($user['align'] == '3') echo "

    Мусорщик с нами, ".($user['sex']?'собрат':'сестра')." {$user['login']}!

    "; + elseif ($user['align'] == '6') echo "

    Сила Света с нами, ".($user['sex']?'брат':'сестра')." {$user['login']}!

    "; + elseif ((int)$user['align'] == 1) echo "

    Да пребудет с тобой сила, ".($user['sex']?'брат':'сестра')." {$user['login']}!

    "; + + #################################################### + ## НЕ ТРОГАТЬ! ТУТ ОТКРЫВАЮТСЯ ВСПЛЫВАЮЩИЕ ОКНА!!!## + #################################################### + echo "
    "; + #################################################### + ## пидорасы! © Ins. + + /* + Чтобы использовать навык мало иметь доступ сюда. + Но имея доступ сюда надо ещё и иметь прописанное право использовать его в БД. + Именно для этого нужна куча галочек в админке и оттуда парсится массив $al. + Отюда возможны казусы, когда в панели кнопка есть, но она ничего не делает. + + Перед нами сборная солянка инклюдов: + 1.х » Паладины + 2.х » Админы о_О + 2 » Нейтрал + 3 » Тёмный + 4 » Хаос + 5 » Дилер (Не применяется, так как deal=1 проставляет дилеру свой значок). + 6 » Светлый + 7 » Боты или админы + 8 » Боты или админы + 10 » Админ-бот + 50 » Дилер + . + А раз инклюды начинаются тут и строго прописаны, в самих свитках можно пренебречь проверками на склонность. + © Ins. + */ + + //print_r($al); + if($user['align']==6) { + if(date("G")>"8" && date("G")<"20") $moj = expa($al['accses']); + else echo("Ваши способности доступны только днем!"); + } + else $moj = expa($al['accses']); + + if(in_array($_POST['use'],array_keys($moj))) { + //echo $_GET['use']; + $abil=mysql_fetch_array(mysql_query("SELECT `abil` FROM `users` WHERE `id`='{$user['id']}';")); + $abil=unserialize($abil['abil']); + switch($_POST['use']) { + case "cure150": include("./magic/cure150.php"); break; + case "al_neut_power": + if($abil[0]>0 && $user['align']==2) { + include("./magic/al_neut_power.php"); + if($outok==1) {$abil[0]-=1;mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `id`='{$user['id']}';");} + } + elseif($user['align']!=2) include("./magic/al_neut_power.php"); + break; + case "ct1": + if($abil[0]>0 && $user['align']==6) { + include("./magic/ct1.php"); + if($outok==1) {$abil[0]-=1;mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `id`='{$user['id']}';");} + } + elseif($user['align']!=6) include("./magic/ct1.php"); + break; + case "ct2": + if($abil[1]>0 && $user['align']==6) { + include("./magic/ct2.php"); + if($outok==1) {$abil[1]-=1;mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `id`='{$user['id']}';");} + } + elseif($user['align']!=6) include("./magic/ct2.php"); + break; + case "ct3": + if($abil[2]>0 && $user['align']==6) { + include("./magic/ct3.php"); + if($outok==1) {$abil[2]-=1;mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `id`='{$user['id']}';");} + } + elseif($user['align']!=6) include("./magic/ct3.php"); + break; + + case "sleep": include("./magic/sleep.php"); break; + case "sleepf": include("./magic/sleepf.php"); break; + case "sleep_off": include("./magic/sleep_off.php"); break; + case "sleepf_off": include("./magic/sleepf_off.php"); break; + case "haos": include("./magic/haos.php"); break; + case "haos_off": include("./magic/haos_off.php"); break; + case "obezl": include("./magic/obezl.php"); break; + case "obezl_off": include("./magic/obezl_off.php"); break; + case "death": include("./magic/death.php"); break; + case "death_off": include("./magic/death_off.php"); break; + case "ldadd": include("./magic/ldadd.php"); break; + case "pal_off": include("./magic/pal_off.php"); break; + case "marry": include("./magic/marry.php"); break; + case "unmarry": include("./magic/unmarry.php"); break; + case "ct_all": include("./magic/ct_all.php"); break; + case "check": include("./magic/check.php"); break; + + case "attack": include("./magic/eattack.php"); break; + case "attack_t": + include("./magic/attack_t.php"); + if($skipper==1) /* header("Location:fbattle.php");*/ die(""); + break; + case "battack": include("./magic/ebattack.php"); break; + + case "attackk_close": + if($abil[1]>0 && $user['align']==2) { + include("./magic/attackk_close.php"); + if($outok==1) {$abil[1]-=1;mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `id`='{$user['id']}';"); + die("");} + } + else { + include("./magic/attackk_close.php"); + die(""); + } + break; + + case "attackk_open": + if($abil[1]>0 && $user['align']==2) { + include("./magic/attackk_open.php"); + if($outok==1) {$abil[2]-=1;mysql_query("UPDATE `users` SET `abil`='".serialize($abil)."' WHERE `id`='{$user['id']}';"); + die("");} + } + else { + include("./magic/attackk_open.php"); + die(""); + } + break; + + case "brat": + include("./magic/brat.php"); + if($skipper==1) /* header("Location:fbattle.php"); */ die(""); + break; + + case "vampir": include("./magic/vampir.php"); break; + case "crush": include("./magic/devastate.php"); break; + case "def": include("./magic/defence.php"); break; + case "bexit": include("./magic/bexit.php"); break; + case "vip": include("./magic/vips.php"); break; + case "dlight": include("./magic/dlight.php"); break; + case "ddark": include("./magic/ddark.php"); break; + case "dneit": include("./magic/dneit.php"); break; + case "un_align": include("./magic/un_align.php"); break; + + } + } + + echo "


    "; + foreach($moj as $k => $v) { + //echo $k; + switch($k) { + case "sleep": $script_name="runmagic0"; $magic_name="Наложить заклятие молчания"; break; + case "sleepf": $script_name="runmagicf"; $magic_name="Наложить заклятие форумного молчания"; break; + case "cure150": $script_name="runmagic1"; $magic_name="Лечение(150)"; break; + case "al_neut_power": $script_name="RunMagicSelf"; $magic_name="Сила нейтралитета"; break; + case "ct1": $script_name="runmagic1"; $magic_name="Исцелить легкую травму"; break; + case "ct2": $script_name="runmagic1"; $magic_name="Исцелить среднюю травму"; break; + case "ct3": $script_name="runmagic1"; $magic_name="Исцелить тяжелую травму"; break; + case "sleep_off": $script_name="runmagic1"; $magic_name="Снять заклятие молчания"; break; + case "sleepf_off": $script_name="runmagic1"; $magic_name="Снять заклятие форумного молчания"; break; + case "haos": $script_name="runmagic2"; $magic_name="Наложить заклятие хаоса"; break; + case "haos_off": $script_name="runmagic1"; $magic_name="Снять заклятие хаоса"; break; + case "death": $script_name="runmagic1"; $magic_name="Наложить заклятие смерти"; break; + case "death_off": $script_name="runmagic1"; $magic_name="Снять заклятие смерти"; break; + case "obezl": $script_name="runmagic2"; $magic_name="Наложить заклятие обезличивания"; break; + case "obezl_off": $script_name="runmagic1"; $magic_name="Снять заклятие обезличивания"; break; + case "pal_off": $script_name="runmagic1"; $magic_name="Лишить звания Паладин"; break; + case "attack": $script_name="runmagic1"; $magic_name="Нападение"; break; + case "attack_t": $script_name="runmagic1"; $magic_name="Нападение на Темного"; break; + case "battack": $script_name="runmagic1"; $magic_name="Кровавое нападение"; break; + case "attackk_close": $script_name="runmagic1"; $magic_name="Кулачное закрытое кровавое нападение"; break; + case "attackk_open": $script_name="runmagic1"; $magic_name="Кулачное закрытое нападение"; break; + case "marry": $script_name="runmagic4"; $magic_name="Зарегистрировать брак"; break; + case "unmarry": $script_name="runmagic4"; $magic_name="Расторгнуть брак"; break; + case "hidden": $script_name="runmagic1"; $magic_name="Заклятие невидимости"; break; + case "teleport": $script_name="runmagic"; $magic_name="Телепортация"; break; + case "check": $script_name="runmagic1"; $magic_name="Поставить проверку"; break; + case "ct_all": $script_name="runmagic1"; $magic_name="Вылечить от травм"; break; + case "pal_buttons": $script_name="runmagic1"; $magic_name="Отметить о прохождении проверки"; break; + case "vampir": $script_name="runmagic1"; $magic_name="Вампиризм (выпить энергию другого игрока)"; break; + case "brat": $script_name="runmagic1"; $magic_name="Помочь темному собрату (вмешаться в поединок)"; break; + case "dneit": $script_name="runmagic1"; $magic_name="Присвоить склонность (Нейтральное Братство)"; break; + case "dpal": $script_name="runmagic"; $magic_name="Присвоить склонность (Паладин)"; break; + case "ddark": $script_name="runmagic1"; $magic_name="Присвоить склонность (Темное Братство)"; break; + case "dlight": $script_name="runmagic1"; $magic_name="Присвоить склонность (Светлое Братство)"; break; + case "un_align": $script_name="runmagic1"; $magic_name="Лишить склонности"; break; + case "note": $script_name="runmagic"; $magic_name="Редактировать личное дело"; break; + case "sys": $script_name="runmagic"; $magic_name="Отправить в чат системное сообщение"; break; + case "scanner": $script_name="runmagic"; $magic_name="Показать лог действий модератора"; break; + case "rep": $script_name="runmagic"; $magic_name="Отчет о переводах"; break; + case "rost": $script_name="runmagic"; $magic_name="Присвоить статус"; break; + case "ldadd": $script_name=""; $magic_name="Записать причину отправки в Хаос"; break; + case "crush": $script_name="runmagic1"; $magic_name="Сокрушение"; break; + case "def": $script_name="runmagic1"; $magic_name="Защита от оружия"; break; + case "bexit": $script_name="runmagic1"; $magic_name="Выйти из боя"; break; + } + + if ($script_name) { + $action_ok=1; + $abil=mysql_fetch_array(mysql_query("SELECT `abil` FROM `users` WHERE `id`='{$user['id']}';")); + $abil=unserialize($abil['abil']); + + if($user['align']==2) { + if($k=='al_neut_power') { if($abil[0]<1) $action_ok=0; } + if($k=='attackk_close') { if($abil[1]<1) $action_ok=0; } + if($k=='attackk_open') { if($abil[2]<1) $action_ok=0; } + } + if($user['align']==6) { + if($k=='ct1') { if($abil[0]<1) $action_ok=0; } + if($k=='ct2') { if($abil[1]<1) $action_ok=0; } + if($k=='ct3') { if($abil[2]<1) $action_ok=0; } + } + + } + if($action_ok>0) print " "; + } + + if($user['align']==2) // Нейтралы + { + + $abil=mysql_fetch_array(mysql_query("SELECT `abil` FROM `users` WHERE `id`='{$user['id']}';")); + $abil=unserialize($abil['abil']); + for($i=0;$i<3;$i++) if(!$abil[$i]) $abil[$i]=0; + echo("
    Осталось использований:
    "); + echo(" Сила нейтралитета - ".$abil[0]."
    "); + echo(" Кулачное закрытое кровавое нападение - ".$abil[1]."
    "); + echo(" Кулачное закрытое нападение - ".$abil[2]."
    "); + } + + if($user['align']==6) // Свет + { + + $abil=mysql_fetch_array(mysql_query("SELECT `abil` FROM `users` WHERE `id`='{$user['id']}';")); + $abil=unserialize($abil['abil']); + for($i=0;$i<3;$i++) if(!$abil[$i]) $abil[$i]=0; + echo("
    Осталось использований:
    "); + echo(" Исцелить легкую травму - ".$abil[0]."
    "); + echo(" Исцелить среднюю травму - ".$abil[1]."
    "); + echo(" Исцелить тяжелую травму - ".$abil[2]."
    "); + } + + echo "
    "; + +// ПАЛАДИНЫ! + + if(in_array($user['align'], $arr['delo'])) { + echo "
    Добавить в «дело» игрока заметку о нарушении правил, прокрутке и пр. "; + if ($user['align'] > '1.4' && $user['align'] < '2') echo "
    Записать, как причину отправки в хаос/блокировки"; + echo "
    "; + } + + if(in_array($user['align'], $arr['golos'])) { + echo "
    Отправить системное сообщение в чат
    "; + } + if($_POST['newsmsg'] && in_array($user['align'], $arr['golos'])) { + $from = ' '; + AddChatSystem($from.$_POST['newsmsg']." © Орден Света"); + echo "Системное сообщение отправлено…"; + } + + if (in_array($user['align'], $arr['telegraf'])){ + if($_POST['grn'] && $_POST['gr']) echo telegraph($_POST['grn'],$_POST['gr']); + echo "
    Телеграф "; + } + + if (in_array($user['align'], $arr['showinvis'])){ + echo 'Невидимки:'; + $prs = mysql_query('SELECT `id`, `login` FROM `users` WHERE `invis` = 1 ORDER BY `id` DESC'); + while($pl = mysql_fetch_array($prs)) { + $effect = mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$pl[id]}' AND `type` = '1022' LIMIT 1")); + echo '[id] = '.$pl['id'].', '.$pl['login'].' - [невидимка '.substr($effect[0], strlen($effect[0])-4).']
    '; + } + } + + if (in_array($user['align'], $arr['trade'])){ + + if (!$_POST['logs']) $_POST['logs']=date("d.m.y"); + + echo '
    + + + +
    Переводы + за
    + +
    Переводы персонажа "'.$_POST['filter'].'" за '.$_POST['logs'].'
    +
    '; + + if ($_POST['filter']) { + $perevod = mysql_fetch_array(mysql_query("SELECT login,id,align,admin FROM `users` WHERE `login` = '{$_POST['filter']}' LIMIT 1;")); + $per_ok=0; + if ($perevod['admin'] != '1') $per_ok=1; + $iid=$perevod['id']; + $logsat=$_POST['logs']; + if ($per_ok==1) { + $ddate1=mktime(0, 0, 0, substr($_POST['logs'],3,2), substr($_POST['logs'],0,2), "20".substr($_POST['logs'],6,2)); + $ddate2=mktime(23, 59, 59, substr($_POST['logs'],3,2), substr($_POST['logs'],0,2), "20".substr($_POST['logs'],6,2)); + $logs = mysql_query("SELECT * FROM `delo` WHERE `pers` = '{$perevod['id']}' AND `date` > '$ddate1' AND `date` < '$ddate2' ORDER by `id` ASC;"); + while($row = @mysql_fetch_array($logs)) { + $dat=date("d.m.y H:i",$row['date']); + echo "{$dat} {$row['text']}
    "; + } + } + } + echo "
    "; + } + + if ($user['align'] == '1.99' || $user['align'] == '1.98') { + echo "
    Поменять статус
    "; + if ($_POST['login'] && $_POST['status']) { + $dd = mysql_fetch_array(mysql_query("SELECT `ip`, `login` FROM `users` WHERE `login` = '".$_POST['login']."';")); + if($dd) { + mysql_query("UPDATE `users` SET `status` = '".$_POST['status']."' WHERE `login` = '".$_POST['login']."';"); + echo "Статус ",$dd[1]," изменен на ",$_POST['status'],"
    "; + } + } + } + + if ($user['align'] == '1.99') { + echo "
    Отдел кадров.Внимание!
    Эти действия применимы к любой склонности в игре!
    Даже если человек в клане — ему сменится склонность без выхода из клана.
    Пользоваться ответственно. Злоупотреление наказуемо!
    + "; + if ($_POST['login'] && $_POST['krest']) { + switch($_POST['krest']){ + case 1.1: $rang = 'Паладин Поднебесья'; break; + case 1.75: $rang = 'Паладин Солнечной Улыбки'; break; + case 1.7: $rang = 'Паладин Огненной Зари'; break; + case 1.91: $rang = 'Паладин Неба'; break; + case 1.98: $rang = 'Старший Паладин Неба'; break; + case del: $rang = NULL; $_POST['krest']=''; break; + } + $dd = mysql_fetch_array(mysql_query("SELECT `id`, `login`, align FROM `users` WHERE `login` = '".$_POST['login']."' LIMIT 1")); + if($dd) { + # Внимание! Верховный Паладин может снять любую склонность и навесить крест на любую склонность! + # Сейчас это игровой элемент. В будущем сюда надо вставить проверку. + # © Ins. + mysql_query("UPDATE `users` SET `align` = '".$_POST['krest']."',`status` = '$rang' WHERE `login` = '".$dd['login']."';"); + if (empty($_POST['krest'])){ + $messchs = "{$al['name']} {$user['login']} лишил".($user['sex']?'':'а')." персонажа {$dd['login']} его склонности."; + $mess = "Паладин «{$user['login']}» лишь".($user['sex']?'':'а')." «{$dd['login']}» из Ордена Света."; + } + else { + $messchs = "{$al['name']} {$user['login']} ".($user['sex']?'':'а')." персонажу {$dd['login']} звание {$rang}."; + $mess="Паладин «{$user['login']}» присвоил".($user['sex']?'':'а')." «{$dd['login']}» звание $rang"; + } + addch(" $messchs"); + mysql_query("INSERT INTO `lichka`(`id`,`pers`,`text`,`date`) VALUES ('','".$dd['id']."','$mess','".time()."');"); + mysql_query("INSERT INTO `paldelo`(`id`,`author`,`text`,`date`) VALUES ('','".$_SESSION['uid']."','$mess','".time()."');"); + } + } + } +?> + + + + + + + \ No newline at end of file diff --git a/palklan.php b/palklan.php new file mode 100644 index 0000000..4be9897 --- /dev/null +++ b/palklan.php @@ -0,0 +1,41 @@ += ".(time()-60)." AND `id` = users.`id`) as `online` FROM `users` WHERE `align` > 1 and `align` < 2 order by align desc, login asc ;"); + + if ($_SESSION['uid'] == null) header("Location: index.php"); +?> + + + + + + + + + +
    + +
    +

    Паладины

    + '; + nick2($row['id']); + $rrm = $rooms[$row['room']]; + echo ' - ',$row['status'],' - ',$rrm,'
    '; + } else { + echo ''; + nick2($row['id']); + echo ' - ',$row['status'],' - персонаж не в клубе
    '; + } + } + ?> +
    + + + \ No newline at end of file diff --git a/payment_f.php b/payment_f.php new file mode 100644 index 0000000..b34e078 --- /dev/null +++ b/payment_f.php @@ -0,0 +1,30 @@ + + + + + + + + +Form; + } +?> \ No newline at end of file diff --git a/perenoskomplekta.php b/perenoskomplekta.php new file mode 100644 index 0000000..fc0e61f --- /dev/null +++ b/perenoskomplekta.php @@ -0,0 +1,26 @@ +0) + while ($komp=mysql_fetch_array($sql1)){ + //Сохраняем комплект + $dir="/tmp/memcache/komplekt/".$user['id']; + if (!file_exists($dir)) mkdir($dir); + $f=fopen($dir."/".$komp['name'].".txt","w+"); + $odetShmot=mysql_query("select name from inventory where id=".$komp['sergi']." or id=".$komp['kulon']." or id=".$komp['perchi']." or id=". + $komp['weap']." or id=".$komp['bron']." or id=".$komp['r1']." or id=".$komp['r2']." or id=".$komp['r3']." or id=". + $komp['helm']." or id=".$komp['shit']." or id=".$komp['m1']." or id=".$komp['m2']." or id=".$komp['m3']." or id=".$komp['m4']. + " or id=".$komp['m5']." or id=".$komp['m6']." or id=".$komp['m7']." or id=".$komp['m8']." or id=".$komp['m9']." or id=".$komp['m10']. + " or id=".$komp['boots']); + while ($res=mysql_fetch_row($odetShmot)){ + fwrite($f,$res[0]."\n"); + } + fclose($f); + } + } + //http://old-dark.ru/perenoskomplekta.php + + echo "заливаем на продакшн"; +?> \ No newline at end of file diff --git a/podz.php b/podz.php new file mode 100644 index 0000000..652cf1d --- /dev/null +++ b/podz.php @@ -0,0 +1,18 @@ + +
    + +
    + \ No newline at end of file diff --git a/podzem/atk.php b/podzem/atk.php new file mode 100644 index 0000000..92f34f5 --- /dev/null +++ b/podzem/atk.php @@ -0,0 +1,66 @@ + 0)) header("Location: index.php"); + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + include "../config.php"; +if($_GET['act']=="atk"){ +$ass = mysql_query("SELECT glav_id,glava,name FROM labirint WHERE user_id=".$user['id'].""); +$lab = mysql_fetch_array($ass); +$glav_id = $lab["glav_id"]; +$asx = mysql_query("SELECT login FROM labirint WHERE glav_id='$glav_id' and boi='".$_GET['n']."'"); +if(!$lax = mysql_fetch_array($asx)){ +$f = mysql_query("SELECT `n".$_GET['n']."` FROM podzem3 WHERE glava='".$lab["glava"]."' and name='".$lab["name"]."'"); +$rt = mysql_fetch_array($f); + + +startpod($user['login'],$rt['n'.$_GET['n'].''],$_GET['n'],$user); + +}else{ + +$jert = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `login` = '".$lax["login"]."' LIMIT 1;")); +if($jert['id']!=$user['id']) { + + $bet=1; + //арх + if($jert['id'] > _BOTSEPARATOR_) { + $arha = mysql_fetch_array(mysql_query ('SELECT * FROM `bots` WHERE `prototype` = '.$jert['id'].' LIMIT 1;')); + $jert['battle'] = $arha['battle']; + $jert['id'] = $arha['id']; + $bot=1; + } + if($jert['battle'] > 0) { + //вмешиваемся + $bd = mysql_fetch_array(mysql_query ('SELECT * FROM `battle` WHERE `id` = '.$jert['battle'].' LIMIT 1;')); + $battle = unserialize($bd['teams']); + $battle[$user['id']] = $battle[$jert['id']]; + foreach($battle[$user['id']] as $k => $v) { + $battle[$k][$user['id']] = array(0,0,time()); + } + $t1 = explode(";",$bd['t1']); + + // проставляем кто-где + if (in_array ($jert['id'],$t1)) { + $ttt = 1; + } else { + $ttt = 2; + } + +//addch ("".nick7($user['id'])." вмешался в поединок »». ",$user['room']); + + + +addlog($jert['battle'],''.date("H:i").' '.nick5($user['id'],"B".$ttt).' вмешался в поединок1!
    '); + +mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'`=CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = '.$jert['battle'].' ;'); + +mysql_query("UPDATE users SET `battle` =".$jert['battle'].",`zayavka`=0 WHERE `id`= ".$user['id']); +mysql_query("UPDATE `labirint` SET `boi`='".$_GET['n']."',`di`='0' WHERE `user_id`='".$user['id']."'"); + +}}} + + + +print ""; +die(); +} +?> \ No newline at end of file diff --git a/podzem/connect.php b/podzem/connect.php new file mode 100644 index 0000000..d3f4836 --- /dev/null +++ b/podzem/connect.php @@ -0,0 +1,17 @@ +$v) { + $_POST[$k] = htmlspecialchars(mysql_real_escape_string($v), NULL, ""); + } + foreach ($_GET as $k=>$v) { + $_GET[$k] = htmlspecialchars(mysql_real_escape_string($v), NULL, ""); + } + foreach ($_REQUEST as $k=>$v) { + $_REQUEST[$k] = htmlspecialchars(mysql_real_escape_string($v), NULL, ""); + } +} +?> \ No newline at end of file diff --git a/podzem/edit.php b/podzem/edit.php new file mode 100644 index 0000000..62270cc --- /dev/null +++ b/podzem/edit.php @@ -0,0 +1,51 @@ + 0)) header("Location: index.php"); + include "../config.php"; + $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + if ($user['login']=="testik2" || $user['login']=="-apollon-") { + +?> + + +
    + + + + + +
    +".$sc['name']."
    "; + +} +?> + +
    + +
    + + +location.href='main.php?act=none'"; +exit;} +if($_GET['news']){ +$SQL2 = mysql_query("INSERT INTO podzem2(name) VALUES('".$_GET['name']."')"); +print ""; +exit;} + + }else{ ?> + + + + +
    + +
    + \ No newline at end of file diff --git a/podzem/edit_podzem.php b/podzem/edit_podzem.php new file mode 100644 index 0000000..8a5b6bb --- /dev/null +++ b/podzem/edit_podzem.php @@ -0,0 +1,1675 @@ + + +'; +}else{if($s["v91"]!='' or $s["n91"]!='' or $s["l91"]!='' or $s["p91"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='92'){ +print''; +}else{if($s["v92"]!='' or $s["n92"]!='' or $s["l92"]!='' or $s["p92"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='93'){ +print''; +}else{if($s["v93"]!='' or $s["n93"]!='' or $s["l93"]!='' or $s["p93"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='94'){ +print''; +}else{if($s["v94"]!='' or $s["n94"]!='' or $s["l94"]!='' or $s["p94"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='95'){ +print''; +}else{if($s["v95"]!='' or $s["n95"]!='' or $s["l95"]!='' or $s["p95"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='96'){ +print''; +}else{if($s["v96"]!='' or $s["n96"]!='' or $s["l96"]!='' or $s["p96"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='97'){ +print''; +}else{if($s["v97"]!='' or $s["n97"]!='' or $s["l97"]!='' or $s["p97"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='98'){ +print''; +}else{if($s["v98"]!='' or $s["n98"]!='' or $s["l98"]!='' or $s["p98"]!=''){ +print''; +}else{print'';}} + +if($_GET['n']=='99'){ +print''; +}else{if($s["v99"]!='' or $s["n99"]!='' or $s["l99"]!='' or $s["p99"]!=''){ +print''; +}else{print'';}} +?> + + + +
    + + + + +
    + + + + + + + +
      
    91
      
    +
    91
    +'.$s["v91"].' '.$s["n91"].' '.$s["l91"].' '.$s["p91"].'
    91 + + + + + + + + +
      
    92
      
    +
    92
    +'.$s["v92"].' '.$s["n92"].' '.$s["l92"].' '.$s["p92"].'
    92 + + + + + + + + +
      
    93
      
    +
    93
    +'.$s["v93"].' '.$s["n93"].' '.$s["l93"].' '.$s["p93"].'
    93 + + + + + + + + +
      
    94
      
    +
    94
    +'.$s["v94"].' '.$s["n94"].' '.$s["l94"].' '.$s["p94"].'
    94 + + + + + + + + +
      
    95
      
    +
    95
    +'.$s["v95"].' '.$s["n95"].' '.$s["l95"].' '.$s["p95"].'
    95 + + + + + + + + +
      
    96
      
    +
    96
    +'.$s["v96"].' '.$s["n96"].' '.$s["l96"].' '.$s["p96"].'
    96 + + + + + + + + +
      
    97
      
    +
    97
    +'.$s["v97"].' '.$s["n97"].' '.$s["l97"].' '.$s["p97"].'
    97 + + + + + + + + +
      
    98
      
    +
    98
    +'.$s["v98"].' '.$s["n98"].' '.$s["l98"].' '.$s["p98"].'
    98 + + + + + + + + +
      
    99
      
    +
    99
    +'.$s["v99"].' '.$s["n99"].' '.$s["l99"].' '.$s["p99"].'
    99
    + + + + + + + +
      
    81
      
    +
    81
    +'.$s["v81"].' '.$s["n81"].' '.$s["l81"].' '.$s["p81"].'
    81 + + + + + + + + +
      
    82
      
    +
    82
    +'.$s["v82"].' '.$s["n82"].' '.$s["l82"].' '.$s["p82"].'
    82 + + + + + + + + +
      
    83
      
    +
    83
    +'.$s["v83"].' '.$s["n83"].' '.$s["l83"].' '.$s["p83"].'
    83 + + + + + + + + +
      
    84
      
    +
    84
    +'.$s["v84"].' '.$s["n84"].' '.$s["l84"].' '.$s["p84"].'
    84 + + + + + + + + +
      
    85
      
    +
    85
    +'.$s["v85"].' '.$s["n85"].' '.$s["l85"].' '.$s["p85"].'
    85 + + + + + + + + +
      
    86
      
    +
    86
    +'.$s["v86"].' '.$s["n86"].' '.$s["l86"].' '.$s["p86"].'
    86 + + + + + + + + +
      
    87
      
    +
    87
    +'.$s["v87"].' '.$s["n87"].' '.$s["l87"].' '.$s["p87"].'
    87 + + + + + + + + +
      
    88
      
    +
    88
    +'.$s["v88"].' '.$s["n88"].' '.$s["l88"].' '.$s["p88"].'
    88 + + + + + + + + +
      
    89
      
    +
    89
    +'.$s["v89"].' '.$s["n89"].' '.$s["l89"].' '.$s["p89"].'
    89
    + + + + + + + + + +
      
    71
      
    +
    71
    +'.$s["v71"].' '.$s["n71"].' '.$s["l71"].' '.$s["p71"].'
    71 + + + + + + + + +
      
    72
      
    +
    72
    +'.$s["v72"].' '.$s["n72"].' '.$s["l72"].' '.$s["p72"].'
    72 + + + + + + + + +
      
    73
      
    +
    73
    +'.$s["v73"].' '.$s["n73"].' '.$s["l73"].' '.$s["p73"].'
    73 + + + + + + + + +
      
    74
      
    +
    74
    +'.$s["v74"].' '.$s["n74"].' '.$s["l74"].' '.$s["p74"].'
    74 + + + + + + + + +
      
    75
      
    +
    75
    +'.$s["v75"].' '.$s["n75"].' '.$s["l75"].' '.$s["p75"].'
    75 + + + + + + + + +
      
    76
      
    +
    76
    +'.$s["v76"].' '.$s["n76"].' '.$s["l76"].' '.$s["p76"].'
    76 + + + + + + + + +
      
    77
      
    +
    77
    +'.$s["v77"].' '.$s["n77"].' '.$s["l77"].' '.$s["p77"].'
    77 + + + + + + + + +
      
    78
      
    +
    78
    +'.$s["v78"].' '.$s["n78"].' '.$s["l78"].' '.$s["p78"].'
    78 + + + + + + + + +
      
    79
      
    +
    79
    +'.$s["v79"].' '.$s["n79"].' '.$s["l79"].' '.$s["p79"].'
    79
    + + + + + + + +
      
    61
      
    +'; +}else{if($s["v61"]!='' or $s["n61"]!='' or $s["l61"]!='' or $s["p61"]!=''){ +print'61
    +'.$s["v61"].' '.$s["n61"].' '.$s["l61"].' '.$s["p61"].''; +}else{print'61';}} + +if($_GET['n']=='62'){ +print' + + + + + + + + +
      
    62
      
    +'; +}else{if($s["v62"]!='' or $s["n62"]!='' or $s["l62"]!='' or $s["p62"]!=''){ +print'62
    +'.$s["v62"].' '.$s["n62"].' '.$s["l62"].' '.$s["p62"].''; +}else{print'62';}} + +if($_GET['n']=='63'){ +print' + + + + + + + + +
      
    63
      
    +'; +}else{if($s["v63"]!='' or $s["n63"]!='' or $s["l63"]!='' or $s["p63"]!=''){ +print'63
    +'.$s["v63"].' '.$s["n63"].' '.$s["l63"].' '.$s["p63"].''; +}else{print'63';}} + +if($_GET['n']=='64'){ +print' + + + + + + + + +
      
    64
      
    +'; +}else{if($s["v64"]!='' or $s["n64"]!='' or $s["l64"]!='' or $s["p64"]!=''){ +print'64
    +'.$s["v64"].' '.$s["n64"].' '.$s["l64"].' '.$s["p64"].''; +}else{print'64';}} + +if($_GET['n']=='65'){ +print' + + + + + + + + +
      
    65
      
    +'; +}else{if($s["v65"]!='' or $s["n65"]!='' or $s["l65"]!='' or $s["p65"]!=''){ +print'65
    +'.$s["v65"].' '.$s["n65"].' '.$s["l65"].' '.$s["p65"].''; +}else{print'65';}} + +if($_GET['n']=='66'){ +print' + + + + + + + + +
      
    66
      
    +'; +}else{if($s["v66"]!='' or $s["n66"]!='' or $s["l66"]!='' or $s["p66"]!=''){ +print'66
    +'.$s["v66"].' '.$s["n66"].' '.$s["l66"].' '.$s["p66"].''; +}else{print'66';}} + +if($_GET['n']=='67'){ +print' + + + + + + + + +
      
    67
      
    +'; +}else{if($s["v67"]!='' or $s["n67"]!='' or $s["l67"]!='' or $s["p67"]!=''){ +print'67
    +'.$s["v67"].' '.$s["n67"].' '.$s["l67"].' '.$s["p67"].''; +}else{print'67';}} + +if($_GET['n']=='68'){ +print' + + + + + + + + +
      
    68
      
    +'; +}else{if($s["v68"]!='' or $s["n68"]!='' or $s["l68"]!='' or $s["p68"]!=''){ +print'68
    +'.$s["v68"].' '.$s["n68"].' '.$s["l68"].' '.$s["p68"].''; +}else{print'68';}} + +if($_GET['n']=='69'){ +print' + + + + + + + + +
      
    69
      
    +'; +}else{if($s["v69"]!='' or $s["n69"]!='' or $s["l69"]!='' or $s["p69"]!=''){ +print'69
    +'.$s["v69"].' '.$s["n69"].' '.$s["l69"].' '.$s["p69"].''; +}else{print'69';}} +?> + + + + + + + + + + + +
      
    51
      
    +'; +}else{if($s["v51"]!='' or $s["n51"]!='' or $s["l51"]!='' or $s["p51"]!=''){ +print'51
    +'.$s["v51"].' '.$s["n51"].' '.$s["l51"].' '.$s["p51"].''; +}else{print'51';}} + +if($_GET['n']=='52'){ +print' + + + + + + + + +
      
    52
      
    +'; +}else{if($s["v52"]!='' or $s["n52"]!='' or $s["l52"]!='' or $s["p52"]!=''){ +print'52
    +'.$s["v52"].' '.$s["n52"].' '.$s["l52"].' '.$s["p52"].''; +}else{print'52';}} + +if($_GET['n']=='53'){ +print' + + + + + + + + +
      
    53
      
    +'; +}else{if($s["v53"]!='' or $s["n53"]!='' or $s["l53"]!='' or $s["p53"]!=''){ +print'53
    +'.$s["v53"].' '.$s["n53"].' '.$s["l53"].' '.$s["p53"].''; +}else{print'53';}} + +if($_GET['n']=='54'){ +print' + + + + + + + + +
      
    54
      
    +'; +}else{if($s["v54"]!='' or $s["n54"]!='' or $s["l54"]!='' or $s["p54"]!=''){ +print'54
    +'.$s["v54"].' '.$s["n54"].' '.$s["l54"].' '.$s["p54"].''; +}else{print'54';}} + +if($_GET['n']=='55'){ +print' + + + + + + + + +
      
    55
      
    +'; +}else{if($s["v55"]!='' or $s["n55"]!='' or $s["l55"]!='' or $s["p55"]!=''){ +print'55
    +'.$s["v55"].' '.$s["n55"].' '.$s["l55"].' '.$s["p55"].''; +}else{print'55';}} + +if($_GET['n']=='56'){ +print' + + + + + + + + +
      
    56
      
    +'; +}else{if($s["v56"]!='' or $s["n56"]!='' or $s["l56"]!='' or $s["p56"]!=''){ +print'56
    +'.$s["v56"].' '.$s["n56"].' '.$s["l56"].' '.$s["p56"].''; +}else{print'56';}} + +if($_GET['n']=='57'){ +print' + + + + + + + + +
      
    57
      
    +'; +}else{if($s["v57"]!='' or $s["n57"]!='' or $s["l57"]!='' or $s["p57"]!=''){ +print'57
    +'.$s["v57"].' '.$s["n57"].' '.$s["l57"].' '.$s["p57"].''; +}else{print'57';}} + +if($_GET['n']=='58'){ +print' + + + + + + + + +
      
    58
      
    +'; +}else{if($s["v58"]!='' or $s["n58"]!='' or $s["l58"]!='' or $s["p58"]!=''){ +print'58
    +'.$s["v58"].' '.$s["n58"].' '.$s["l58"].' '.$s["p58"].''; +}else{print'58';}} + +if($_GET['n']=='59'){ +print' + + + + + + + + +
      
    59
      
    +'; +}else{if($s["v59"]!='' or $s["n59"]!='' or $s["l59"]!='' or $s["p59"]!=''){ +print'59
    +'.$s["v59"].' '.$s["n59"].' '.$s["l59"].' '.$s["p59"].''; +}else{print'59';}} +?> + + + + + + + + + + + +
      
    41
      
    +'; +}else{if($s["v41"]!='' or $s["n41"]!='' or $s["l41"]!='' or $s["p41"]!=''){ +print'41
    +'.$s["v41"].' '.$s["n41"].' '.$s["l41"].' '.$s["p41"].''; +}else{print'41';}} + +if($_GET['n']=='42'){ +print' + + + + + + + + +
      
    42
      
    +'; +}else{if($s["v42"]!='' or $s["n42"]!='' or $s["l42"]!='' or $s["p42"]!=''){ +print'42
    +'.$s["v42"].' '.$s["n42"].' '.$s["l42"].' '.$s["p42"].''; +}else{print'42';}} + +if($_GET['n']=='43'){ +print' + + + + + + + + +
      
    43
      
    +'; +}else{if($s["v43"]!='' or $s["n43"]!='' or $s["l43"]!='' or $s["p43"]!=''){ +print'43
    +'.$s["v43"].' '.$s["n43"].' '.$s["l43"].' '.$s["p43"].''; +}else{print'43';}} + +if($_GET['n']=='44'){ +print' + + + + + + + + +
      
    44
      
    +'; +}else{if($s["v44"]!='' or $s["n44"]!='' or $s["l44"]!='' or $s["p44"]!=''){ +print'44
    +'.$s["v44"].' '.$s["n44"].' '.$s["l44"].' '.$s["p44"].''; +}else{print'44';}} + +if($_GET['n']=='45'){ +print' + + + + + + + + +
      
    45
      
    +'; +}else{if($s["v45"]!='' or $s["n45"]!='' or $s["l45"]!='' or $s["p45"]!=''){ +print'45
    +'.$s["v45"].' '.$s["n45"].' '.$s["l45"].' '.$s["p45"].''; +}else{print'45';}} + +if($_GET['n']=='46'){ +print' + + + + + + + + +
      
    46
      
    +'; +}else{if($s["v46"]!='' or $s["n46"]!='' or $s["l46"]!='' or $s["p46"]!=''){ +print'46
    +'.$s["v46"].' '.$s["n46"].' '.$s["l46"].' '.$s["p46"].''; +}else{print'46';}} + +if($_GET['n']=='47'){ +print' + + + + + + + + +
      
    47
      
    +'; +}else{if($s["v47"]!='' or $s["n47"]!='' or $s["l47"]!='' or $s["p47"]!=''){ +print'47
    +'.$s["v47"].' '.$s["n47"].' '.$s["l47"].' '.$s["p47"].''; +}else{print'47';}} + +if($_GET['n']=='48'){ +print' + + + + + + + + +
      
    48
      
    +'; +}else{if($s["v48"]!='' or $s["n48"]!='' or $s["l48"]!='' or $s["p48"]!=''){ +print'48
    +'.$s["v48"].' '.$s["n48"].' '.$s["l48"].' '.$s["p48"].''; +}else{print'48';}} + +if($_GET['n']=='49'){ +print' + + + + + + + + +
      
    49
      
    +'; +}else{if($s["v49"]!='' or $s["n49"]!='' or $s["l49"]!='' or $s["p49"]!=''){ +print'49
    +'.$s["v49"].' '.$s["n49"].' '.$s["l49"].' '.$s["p49"].''; +}else{print'49';}} +?> + + + + + + + + + + + +
      
    31
      
    +'; +}else{if($s["v31"]!='' or $s["n31"]!='' or $s["l31"]!='' or $s["p31"]!=''){ +print'31
    +'.$s["v31"].' '.$s["n31"].' '.$s["l31"].' '.$s["p31"].''; +}else{print'31';}} + +if($_GET['n']=='32'){ +print' + + + + + + + + +
      
    32
      
    +'; +}else{if($s["v32"]!='' or $s["n32"]!='' or $s["l32"]!='' or $s["p32"]!=''){ +print'32
    +'.$s["v32"].' '.$s["n32"].' '.$s["l32"].' '.$s["p32"].''; +}else{print'32';}} + +if($_GET['n']=='33'){ +print' + + + + + + + + +
      
    33
      
    +'; +}else{if($s["v33"]!='' or $s["n33"]!='' or $s["l33"]!='' or $s["p33"]!=''){ +print'33
    +'.$s["v33"].' '.$s["n33"].' '.$s["l33"].' '.$s["p33"].''; +}else{print'33';}} + +if($_GET['n']=='34'){ +print' + + + + + + + + +
      
    34
      
    +'; +}else{if($s["v34"]!='' or $s["n34"]!='' or $s["l34"]!='' or $s["p34"]!=''){ +print'34
    +'.$s["v34"].' '.$s["n34"].' '.$s["l34"].' '.$s["p34"].''; +}else{print'34';}} + +if($_GET['n']=='35'){ +print' + + + + + + + + +
      
    35
      
    +'; +}else{if($s["v35"]!='' or $s["n35"]!='' or $s["l35"]!='' or $s["p35"]!=''){ +print'35
    +'.$s["v35"].' '.$s["n35"].' '.$s["l35"].' '.$s["p35"].''; +}else{print'35';}} + +if($_GET['n']=='36'){ +print' + + + + + + + + +
      
    36
      
    +'; +}else{if($s["v36"]!='' or $s["n36"]!='' or $s["l36"]!='' or $s["p36"]!=''){ +print'36
    +'.$s["v36"].' '.$s["n36"].' '.$s["l36"].' '.$s["p36"].''; +}else{print'36';}} + +if($_GET['n']=='37'){ +print' + + + + + + + + +
      
    37
      
    +'; +}else{if($s["v37"]!='' or $s["n37"]!='' or $s["l37"]!='' or $s["p37"]!=''){ +print'37
    +'.$s["v37"].' '.$s["n37"].' '.$s["l37"].' '.$s["p37"].''; +}else{print'37';}} + +if($_GET['n']=='38'){ +print' + + + + + + + + +
      
    38
      
    +'; +}else{if($s["v38"]!='' or $s["n38"]!='' or $s["l38"]!='' or $s["p38"]!=''){ +print'38
    +'.$s["v38"].' '.$s["n38"].' '.$s["l38"].' '.$s["p38"].''; +}else{print'38';}} + +if($_GET['n']=='39'){ +print' + + + + + + + + +
      
    39
      
    +'; +}else{if($s["v39"]!='' or $s["n39"]!='' or $s["l39"]!='' or $s["p39"]!=''){ +print'39
    +'.$s["v39"].' '.$s["n39"].' '.$s["l39"].' '.$s["p39"].''; +}else{print'39';}} +?> + + + + + + + + + + + +
      
    21
      
    +'; +}else{if($s["v21"]!='' or $s["n21"]!='' or $s["l21"]!='' or $s["p21"]!=''){ +print'21
    +'.$s["v21"].' '.$s["n21"].' '.$s["l21"].' '.$s["p21"].''; +}else{print'21';}} + +if($_GET['n']=='22'){ +print' + + + + + + + + +
      
    22
      
    +'; +}else{if($s["v22"]!='' or $s["n22"]!='' or $s["l22"]!='' or $s["p22"]!=''){ +print'22
    +'.$s["v22"].' '.$s["n22"].' '.$s["l22"].' '.$s["p22"].''; +}else{print'22';}} + +if($_GET['n']=='23'){ +print' + + + + + + + + +
      
    23
      
    +'; +}else{if($s["v23"]!='' or $s["n23"]!='' or $s["l23"]!='' or $s["p23"]!=''){ +print'23
    +'.$s["v23"].' '.$s["n23"].' '.$s["l23"].' '.$s["p23"].''; +}else{print'23';}} + +if($_GET['n']=='24'){ +print' + + + + + + + + +
      
    24
      
    +'; +}else{if($s["v24"]!='' or $s["n24"]!='' or $s["l24"]!='' or $s["p24"]!=''){ +print'24
    +'.$s["v24"].' '.$s["n24"].' '.$s["l24"].' '.$s["p24"].''; +}else{print'24';}} + +if($_GET['n']=='25'){ +print' + + + + + + + + +
      
    25
      
    +'; +}else{if($s["v25"]!='' or $s["n25"]!='' or $s["l25"]!='' or $s["p25"]!=''){ +print'25
    +'.$s["v25"].' '.$s["n25"].' '.$s["l25"].' '.$s["p25"].''; +}else{print'25';}} + +if($_GET['n']=='26'){ +print' + + + + + + + + +
      
    26
      
    +'; +}else{if($s["v26"]!='' or $s["n26"]!='' or $s["l26"]!='' or $s["p26"]!=''){ +print'26
    +'.$s["v26"].' '.$s["n26"].' '.$s["l26"].' '.$s["p26"].''; +}else{print'26';}} + +if($_GET['n']=='27'){ +print' + + + + + + + + +
      
    27
      
    +'; +}else{if($s["v27"]!='' or $s["n27"]!='' or $s["l27"]!='' or $s["p27"]!=''){ +print'27
    +'.$s["v27"].' '.$s["n27"].' '.$s["l27"].' '.$s["p27"].''; +}else{print'27';}} + +if($_GET['n']=='28'){ +print' + + + + + + + + +
      
    28
      
    +'; +}else{if($s["v28"]!='' or $s["n28"]!='' or $s["l28"]!='' or $s["p28"]!=''){ +print'28
    +'.$s["v28"].' '.$s["n28"].' '.$s["l28"].' '.$s["p28"].''; +}else{print'28';}} + +if($_GET['n']=='29'){ +print' + + + + + + + + +
      
    29
      
    +'; +}else{if($s["v29"]!='' or $s["n29"]!='' or $s["l29"]!='' or $s["p29"]!=''){ +print'29
    +'.$s["v29"].' '.$s["n29"].' '.$s["l29"].' '.$s["p29"].''; +}else{print'29';}} +?> + + + + + + + + + + + +
      
    11
      
    +'; +}else{if($s["v11"]!='' or $s["n11"]!='' or $s["l11"]!='' or $s["p11"]!=''){ +print'11
    +'.$s["v11"].' '.$s["n11"].' '.$s["l11"].' '.$s["p11"].''; +}else{print'11';}} + +if($_GET['n']=='12'){ +print' + + + + + + + + +
      
    12
      
    +'; +}else{if($s["v12"]!='' or $s["n12"]!='' or $s["l12"]!='' or $s["p12"]!=''){ +print'12
    +'.$s["v12"].' '.$s["n12"].' '.$s["l12"].' '.$s["p12"].''; +}else{print'12';}} + +if($_GET['n']=='13'){ +print' + + + + + + + + +
      
    13
      
    +'; +}else{if($s["v13"]!='' or $s["n13"]!='' or $s["l13"]!='' or $s["p13"]!=''){ +print'13
    +'.$s["v13"].' '.$s["n13"].' '.$s["l13"].' '.$s["p13"].''; +}else{print'13';}} + +if($_GET['n']=='14'){ +print' + + + + + + + + +
      
    14
      
    +'; +}else{if($s["v14"]!='' or $s["n14"]!='' or $s["l14"]!='' or $s["p14"]!=''){ +print'14
    +'.$s["v14"].' '.$s["n14"].' '.$s["l14"].' '.$s["p14"].''; +}else{print'14';}} + +if($_GET['n']=='15'){ +print' + + + + + + + + +
      
    15
      
    +'; +}else{if($s["v15"]!='' or $s["n15"]!='' or $s["l15"]!='' or $s["p15"]!=''){ +print'15
    +'.$s["v15"].' '.$s["n15"].' '.$s["l15"].' '.$s["p15"].''; +}else{print'15';}} + +if($_GET['n']=='16'){ +print' + + + + + + + + +
      
    16
      
    +'; +}else{if($s["v16"]!='' or $s["n16"]!='' or $s["l16"]!='' or $s["p16"]!=''){ +print'16
    +'.$s["v16"].' '.$s["n16"].' '.$s["l16"].' '.$s["p16"].''; +}else{print'16';}} + +if($_GET['n']=='17'){ +print' + + + + + + + + +
      
    17
      
    +'; +}else{if($s["v17"]!='' or $s["n17"]!='' or $s["l17"]!='' or $s["p17"]!=''){ +print'17
    +'.$s["v17"].' '.$s["n17"].' '.$s["l17"].' '.$s["p17"].''; +}else{print'17';}} + +if($_GET['n']=='18'){ +print' + + + + + + + + +
      
    18
      
    +'; +}else{if($s["v18"]!='' or $s["n18"]!='' or $s["l18"]!='' or $s["p18"]!=''){ +print'18
    +'.$s["v18"].' '.$s["n18"].' '.$s["l18"].' '.$s["p18"].''; +}else{print'18';}} + +if($_GET['n']=='19'){ +print' + + + + + + + + +
      
    19
      
    +'; +}else{if($s["v19"]!='' or $s["n19"]!='' or $s["l19"]!='' or $s["p19"]!=''){ +print'19
    +'.$s["v19"].' '.$s["n19"].' '.$s["l19"].' '.$s["p19"].''; +}else{print'19';}} +?> + + + + + + + + + + + +
      
    01
      
    +'; +}else{if($s["v1"]!='' or $s["n1"]!='' or $s["l1"]!='' or $s["p1"]!=''){ + +print'01
    +'.$s["v1"].' '.$s["n1"].' '.$s["l1"].' '.$s["p1"].''; +}else{print'01';}} + +if($_GET['n']=='2'){ +print' + + + + + + + + +
      
    02
      
    +'; +}else{if($s["v2"]!='' or $s["n2"]!='' or $s["l2"]!='' or $s["p2"]!=''){ + +print'02
    +'.$s["v2"].' '.$s["n2"].' '.$s["l2"].' '.$s["p2"].''; +}else{print'02';}} + +if($_GET['n']=='3'){ +print' + + + + + + + + +
      
    03
      
    +'; +}else{if($s["v3"]!='' or $s["n3"]!='' or $s["l3"]!='' or $s["p3"]!=''){ +print'03
    +'.$s["v3"].' '.$s["n3"].' '.$s["l3"].' '.$s["p3"].''; +}else{print'03';}} + +if($_GET['n']=='4'){ +print' + + + + + + + + +
      
    04
      
    +'; +}else{if($s["v4"]!='' or $s["n4"]!='' or $s["l4"]!='' or $s["p4"]!=''){ +print'04
    +'.$s["v4"].' '.$s["n4"].' '.$s["l4"].' '.$s["p4"].''; +}else{print'04';}} + +if($_GET['n']=='5'){ +print' + + + + + + + + +
      
    05
      
    +'; +}else{if($s["v5"]!='' or $s["n5"]!='' or $s["l5"]!='' or $s["p5"]!=''){ +print'05
    +'.$s["v5"].' '.$s["n5"].' '.$s["l5"].' '.$s["p5"].''; +}else{print'05';}} + +if($_GET['n']=='06'){ +print' + + + + + + + + +
      
    06
      
    +'; +}else{if($s["v6"]!='' or $s["n6"]!='' or $s["l6"]!='' or $s["p6"]!=''){ +print'06
    +'.$s["v6"].' '.$s["n6"].' '.$s["l6"].' '.$s["p6"].''; +}else{print'06';}} + +if($_GET['n']=='7'){ +print' + + + + + + + + +
      
    07
      
    +'; +}else{if($s["v7"]!='' or $s["n7"]!='' or $s["l7"]!='' or $s["p7"]!=''){ +print'07
    +'.$s["v7"].' '.$s["n7"].' '.$s["l7"].' '.$s["p7"].''; +}else{print'07';}} + +if($_GET['n']=='8'){ +print' + + + + + + + + +
      
    08
      
    +'; +}else{if($s["v8"]!='' or $s["n8"]!='' or $s["l8"]!='' or $s["p8"]!=''){ +print'08
    +'.$s["v8"].' '.$s["n8"].' '.$s["l8"].' '.$s["p8"].''; +}else{print'08';}} + +if($_GET['n']=='9'){ +print' + + + + + + + + +
      
    09
      
    +'; +}else{if($s["v9"]!='' or $s["n9"]!='' or $s["l9"]!='' or $s["p9"]!=''){ +print'09
    +'.$s["v9"].' '.$s["n9"].' '.$s["l9"].' '.$s["p9"].''; +}else{print'09';}} +?> + + +location.href='?n=".$_GET['v']."&name=".$_GET['name']."'"; +} +if($_GET['d']){ +if($s["v".$_GET['d'].""]!=''){$Up = mysql_query("UPDATE podzem2 SET n".$_GET['n']."='',v".$_GET['v']."='' WHERE name='".$_GET['name']."'");} +else{$Up = mysql_query("UPDATE podzem2 SET n".$_GET['n']."='".$_GET['d']."',v".$_GET['d']."='".$_GET['n']."' WHERE name='".$_GET['name']."'");} +print ""; +} +if($_GET['p']){ +if($s["l".$_GET['p'].""]==''){$Up = mysql_query("UPDATE podzem2 SET p".$_GET['n']."='".$_GET['p']."',l".$_GET['p']."='".$_GET['n']."' WHERE name='".$_GET['name']."'");} +else{$Up = mysql_query("UPDATE podzem2 SET p".$_GET['n']."='',l".$_GET['p']."='' WHERE name='".$_GET['name']."'");} +print ""; +} +if($_GET['l']){ +if($s["p".$_GET['l'].""]==''){$Up = mysql_query("UPDATE podzem2 SET l".$_GET['n']."='".$_GET['l']."',p".$_GET['l']."='".$_GET['n']."' WHERE name='".$_GET['name']."'");} +else{$Up = mysql_query("UPDATE podzem2 SET l".$_GET['n']."='',p".$_GET['l']."='' WHERE name='".$_GET['name']."'");} +print ""; +} + +?> + + + + + + + +
      + + + + +'; + +if($_GET['open']){print"Вы добавили бота на клетку ".$_GET['n']."";} + +if($_GET['w']==1){print"Вы добавили бота на клетку ".$_GET['n']."";} +if($_GET['w']==2){print"Вы удалили бота с клетки ".$_GET['n']."";} + +if($_GET['sozdat']){ +mysql_query("UPDATE podzem3 SET n".$_GET['n']."='".$_GET['botd']."' WHERE glava='default' and name='".$_GET['nas']."'"); +print ""; +exit(); +} +if($_GET['delite']){ +mysql_query("UPDATE podzem3 SET n".$_GET['n']."='' WHERE glava='default' and name='".$_GET['name']."'"); +print ""; +exit(); +} + + + +?> +
    + + + + \ No newline at end of file diff --git a/podzem/labirint3/1.gif b/podzem/labirint3/1.gif new file mode 100644 index 0000000..082f53f Binary files /dev/null and b/podzem/labirint3/1.gif differ diff --git a/podzem/labirint3/1/cn1.gif b/podzem/labirint3/1/cn1.gif new file mode 100644 index 0000000..c260f1e --- /dev/null +++ b/podzem/labirint3/1/cn1.gif @@ -0,0 +1,757 @@ +GIF89a`р +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛwҐЎнъ&4$ЏK<]4яоHШ0в»_Њ|Б ®ФCнtq1€Aћјx†ZЙТрЕР є:гЂи9C#Њ”УF&OћN›”8Ш$KIє/нФa˜Z—рЛA|(‡­ў€ A*ђ)Фn‰јЃK2рлЊ!^«vІ" + Ђ[­’H'ц-СЉўK^ЎІ, +ЅҐЁDA†|°9Ў†4 +aІ4ЪЋi†ДУpT~a%–ZкТЉx_|ж˜Eљ‰¦љѓО9Л&йQ©xяа…ђA +FИBѕдQЙ&ђбI%dHЂ +­0XJ+AґТЮ5^,#‹,FpАAо А*”гЋ PБ@tў +тйЃІЁЂВ2г!‚ T’@jP Bi¤CgтзѓnАЂ0`1Бx$2мЎ)JЖ¤!жUf\+aй*йаC +ЂБ†,즉‚ЖJpм1И"“l2К*ім2МyИLіН8лl .є$ИРB«›¦ +FЬаl”яіЊЖ*XBTX"Л5кґB!IpЂJОI’ѓµ‚ИаN(!т +48аqЪ ёу" + Q¬­¦sоІЊ +Uы‚ ђаЋ„G ќИY+fa„VD&ELj шcєи +О‘@”€Г"HВ‡sћрЁ`‚#.ѓ[МаCЮ`­ШЌГ … Lђ№y№Ѓ7 BФeмN +dаrf„e+WЗТ +Ъб›tи/E.SB+ў$ћt„eBёAў ± $  +EЙ^2“г¤'AЙ®Q–’§tѓ*еЧКWКваЂ,В<Ђ +‚ђЂа|€Ў= ошd TH йМЃ$ІUяhNoјxАЃk¤Б’pb®q +Hґ.&`Ђ?U@†eИO•ёЈPЃђpL оbЂаИ€=iЋф +l<‘€‚Z­ёЊI5ЈҐI {J +§((RшR„;»в’Ol¦)сЬ4§;Ґ@OЛФ +TЂ;ё0ЋК%a + PA±P/\CМD®Иѓшяq Ђ±P` 2<@™»Кс +8`@J@‘!Ь1Yґb‚’ЩD'Zf(Я н1_Йќю@U–Г€G%<ЎШЂ?иC'ЭБџ”]‰ JpЧV ®ЅUвЊІW„цд FШ– +npШB БрУ4йХЧ  *…КбАІБ‚tвоkPрЭрЋ·јзХЌzАЮAнКVсEБ|л[/ьк—їю°Ђo,ЈІЌm¬l‘€‡ИЂа’Ад8AёўµVy!TЂц9¬ђ@x° v  +>°A%`3Їx2@ *—ЬI7 Ѓ©ћ0® +Ђ+KЧшЇ APЄІWLk@+ЊPOl +й љ[ЭКЂ +H@Шp?:‚~eЎќиE С_xt¤;1йJ_Zeљоh§yрйBь ¤VІ$¶ +цUЉь2а‘н@"PдйА5шН&’Ґ‹/Ь±U›яK+Ь +Ь@ј°…rЃёa+’ѕЗ±"9аdш˜•@†8 +$аЎqЂАEа*ЎЌ и&їОk|Ђ[ѓ,K`ГШ ‚ + ЌкVї– +NБМ>'±T В8ЖСЃLHЂав +d‰BD&їHЁdбHY¬а№@0?Оф…tl‚ S`^Cц°рЃ<ђ…T§‚zNщXAя;``ѓЪ Lє·9p +lаs,9@ +Л lАђ@/"р:›уpъ&uBЈ}¬дCPІђe¶p3ёѓKH +>Ђ9“+PBїа 6 h»яS ч”  '№ўl` °° ‹е"б !< 9фІђ“&І0323°Apё`Рk„АKА iЂ‡tІ‡лв‡Ђ(€@€†И4‰Ё‹Ш€•р€‘˜”X–€‰Л`-BХ‰… (P<ґD ° +2 D–E¬г«у_ам0лИ®%;ђc ‡ЄДl`FPqh`иІW@vТ +†б†yр +—’Ф‚4ІЉ$W·]В• +8©“<№?yUAi“Kђ}ЁЌwY( ® фws +ЅQ¤9…`LўI"=±! ‰@з±jaбЋЄ }ВPRгҐ@~l€!:PРw _а7J +_д{АWF`I(ykn +dАт`љ…P +УС3А!т=У" ЄФк° —с)3|ђтђ| `K° » e7 4Ђ+’7>Р=Д# рuЎх¬ђ€"я° +"p +(‡є“• Ё‰И Ћ +©’*4нd©˜ъ_`ЂaКйaЈ х_9 +Р17в|yА3Є¤Й° вЎ\P2`ЕIљК‹ҐIљЁ­А,пY&Іђ› R +њZеpgеЂ @@A  +xеPлАм°Ґ©ябЋ‘I›Ф,lў>  ћЎ 7aЪ¬ђҐ™±K±Kы°‹Ы±Aр±ц!Іє@І:`І(«І,лІSі3[і8pім°Щ1jљм0#°“ МЂ|@ +·Йђ‰‘™л°ь ўг0ґ¤©‚PЇKљ`А-yљЁб.;¶[ЉФУ3K01Fp):Рj(P™б@бC'ЮфJ7Ђ ђ4дС’=C1Щ1‰vъ»є4фg*@§eµ Б„¤VѓJЙlГ†№C‹@бђHipiPsя0¤ +g° +Q°z•Уj zУ]7Ђk 0Ёд tА" <ђ|НІ І –Ў‘V Й°­В†Ї‘ќ˜’`р@ +xа GР +p +—PЙ—А р0 +cр˜0жЂ Ц0·°B  +c° ЭЂ/Р—Р +z X"p Bр m ·ђНmр +Ђ“5!°X`mрОz°/  пL +МЬ° ~РB +У wР Э°JPЂP06@ x°˜р?`Xp/ +Sж¶РД0m +Жs +OPj ЂmА +hр9А IЂ + +Фn Ф@Ф p +gPQр e@ +GЖTP|Аsа +МP— +Я>ЯкSЯчќЯыќІОЛФ +о" oPPo`"ь +·R ЛаT)ўy@R“T$%¤›я@5ђ3›аг= +р7@ + °ІU”@ +I°kIpЦUp iа”°мђ.й”nй˜.љОйTайd +” +nА_PА†– +EpC…rМ!†РњX±H№ +E…)BE’‚ЄPбВC†¤qђ8p@%¶H9xб‰ +:¤JPИP№"(nё•ЃЃ„tF4DИЃ…’yтDh•Ѓ +# ЁґўR:ќтМт…¬ ЌNіFМ’хЙя?Ь№uпжЭЫчoаБ…знВД™‚ЬР вН›Oѕш  +(DР`… whЕ n0Fѓъ CАV!ІУ„Ѓ2%(q3ЈYjfі›б,g:Ы™›yЮsџ)рз@пЏРЦ=t98°h`A0ЃXАФр‹,!ъ/HБ†нҐ!’lаЂ®!о9 о(В5фc I,Г аC«ёЂѓ¶ЂЎ (…ZqЬРх(@B%И „p d°ЃeАЃ%ДCNєш¬яР +Џ‚BtQЉVд*8grс‚ шВdж8;ᛆpдЂаА + ё”"ҐёA+t†’ў ‹€ё2qХ‰M +w¬ _(‡,xЁЋ/LJe-г@Эp‚±ђbЎXPвщИK~т”Їје/ЏщМkю#а\зT< +ґО`2 Ѕи`( +l‘ +9B) ьњ<ЛА +|€~TVpињ +dЂ˜•C@БђЂ*+јОУu‚Ь.`8]Р +€“(pѓд–5су‡"˜§*CЂf +#yЂ2а +¦щ‚ьЩ…Rh‡"Q +/X +(ѓ$@€ (#б +hПч €Пщ·В›L/ђЃ3Џ"pГ €@Hx)э`f7t8f  +уЙ$/ —™˜" oњA°6pOCаЃ ёP;ГЂрд!+ьupЅv ІэќV±Е9ЂH‚s›?~(“RBP‡Ё(яOШ„NP +@'и”N:нЌЪ“ ·BиС8#„яфOаB·rѓГО<7аѓqрАsУГqё†pјaKeп¤’qP6›ДУ1ЕPµ=s UES<ЕД<ХS>Н–?]‚@T.(ФC5UEeTGEХT’Ф†[‚KЕTIXЃ2ЂК”±uђҐ1eDvа‚eMFyX‡1МSK„¦SЂ>`]XD]ЭФmеЎ1 +.GeДP +ХSХRхАЪk•p +‚:7~Ш&y0„%ШSTеPњ±ЂX(ШѓMШ…•‡…X‰ҐX‹ЕXЌ + +Yа…№0Щ*h +ь«9 +?`…˜‚ ‚,€ѓШЂcЃ*Ђx0XЂ&р†6ќ¦pѓD@маYрWХ= +Айн® ,˜Ѓ +8ЂИ…°ЃJшр°ЃрЈ›V ѓNHEzЂе`VВO`]Ч…]ЩҐ]ЫЕ]Эе]Я^бЭ®в=Юд]Юж}ЮиќЮкЅЮмmЂнЕ‚ +ШЃиЂЁU p0!hѓ) 5а…hѓ6Ѓ)˜‚ёЧ­=XpЭ#Рѓ)x]?XGрІPѓЁX„Vѓ|{Ё(Ы% Y˜ + ЃYрѓDаРЃiB!V0®Z!ЃиА7†c ђc:¶cАc=жcШэг@&=B6dDVdFvdH–dJѕjАd@И1˜†+ †;xЃ?р‡,и +…2°„(€5рѓXЂxу –­ +Y  +и_ЁЂ`г~eh8(ѓAA` +©Й*2$P  +РѓуЂ!“FйPi–vi˜–iљ¶iњЦiћцi jўћЈ +4А№ +ОIЈЈщO°Њ4І wXi Р– +мТlЅ`ћяђµНњ¦TrГлЈП8 Ђ„ѓљСЂ Ђ$@… “¦xр…ЁO`…B4(? +ПЄиц,1q;Д"Ђз0QR‚x˜ $%Ё„СPО<`…Dш!h +шъ\ЂЃ +Ђ&ШiPfД”?^Yµ +xЃХ`В„ћтtr‡в†’/~щ@Ѓ$H<Іt1 њ;nЁ€pC +Y DЁђЎC€)ZДЁ‘ЈЗ E’lрҐJ–.aКDrдn‡)Sјu JQО,‚&З” ~яЁAЃ +<,YўвжЃџ |P`р†Ќођ P!P– +г4h0ў+‚CІсУU(nЬ…ВЂ)ДCG6r„s#ґVwЧdIа@Iѕѕ LЂЎНM &P˜0щзэ;шрвЗ“/oю<ъфв5A"хЌ‘yAЌB›ЁјЃ°Ђ +d8ЂB|!‹DР”,B ҐA Г.м№џ|(Рg~ъсзЂh ‚ +2и „Rhб(ShИЎ,ЛШ0Ѓ-QаБX ; +*…dђa„ббраЕ8гxЎѓІ ‚,Г™$Иђѓ9Ь°BнђAБ&H$‚ +(ДрK0 +¬iВ +ФйЎE,ББ7˜АА""ЖЂG 0p†єxБL¤°2 +ЛDp(ЖЄЂ¬ +К2л,ґТRk-¶Ъrл-ёв’kоАІоa@BяFјуЦ В†•‘АGЁЎЖ +јШтI иО%XСБ'SPЃ‚;d0рtу¶б–”cЙ +щЎр… +иАC9І\ѓЃ•ІЊ +¦eЊB ё 8аА!иОІ <Ђ“(¤CФ +®ж2  l@‚ 4  yмBI0B) с…7x!``@S$±Њkр`*ВTpB„ё!т‰B¤Ж4a8lђс„_T Уш +S(–ЂvЊѓ аE\‰ pЃ§`;Ц‘8М!l  +$ёГ!‘T ёAtриа€Зё°»%DА…дзt fЎЫє3˜»R”" ’@*4ђѓ9i +ТQЉа4А}P#Ns +,®ЄFlђPАЃeиЂ pѓOr°„ а +E(і©‚0d@¤Ё )К@ њ! +.(ЬК`x¬в ˜В +l°иB › +fQ ] A d0D ХQЈv +‚Д:p@ђБ hЕпtЃЃаBђУ­КRxP€P@гX†vЃѓ%A|а”Ё м^а‚(ДљРp`z­ЬPЋ/"7pА­–б ќёАг‘G a€V/ELвЁ +!ђ$8Р^Mў#5Р +D +f0ј 3@В¶0†5<{x »с€ЎQв‡АД `q\ c?А·8cЪАЌ‹© +<А vbА*Q ѓBїЖсЁQ§ЌсЙўLЊ4дјаI—Ў“ЂІ§ЫмgG{ЪN¶6¶Ѓ§н$wыЫбц$Иmnt«› н¶“ЂЄ†л0@lРБ8І‚J€а5€ +eА8$Б +мД + Б ЬЉ'Њ@фШ‰8$яЊ +8@ +ђ  ў  +І   +ЪаА@@ЖБ ј +ШЂ +<ЂTЃ@„ +ьBРЂ/Д" ¤'ј МВ'А +Ѓ,$ +8#4J#5&Ђ5bЈ6rЈ7‚Ј8’Ј9ўЈ¤¬Ј ґг;@<Оc=Юc>&@ ,ВВ +`P иБNA”Ћ0— Ѓ +А¬ЂcА +Б/LБ< Ш +0@мLуDЃ  +ЁA °<ЃЊЏRxB +А@bVБ*@/РЂдAZv&4— ёГУ<Нd% ЁШЂ P|‚h@-№xB.ША8 +cDAV Ъa%O+Ё@oфNoхЮАхfпцў@ч~oш.Гш–пщ¦пъ¶пыЖпьЋВ +шВД±њ +• +ґО2ё‹itТ”  @%ё@hт%”X7@ +( шЃ%4d /&еШ&8 +IЂ--Ђ'Э +рГ,ѓ Ё&`Ђ9л,D”A9xpT˜„дАйHЊпи«М3p@¬@Ђ @А” +<ЃѕД@/o;”¦±џ“i@+ +дБА@ЄВD†UФrDL@нВээњIc>‚Jіtё4LЛ4MЫфђжґсґOµPG<ДЇQ#µR3u\1@%ђБ@@р† +„ѓАAр +ёБЇMЛшBїАЂ'xВЊыЂ0 LЌФІ$Q °‚ћ—џПРџгpЪА ЬвйАЎ'zуўbЈ?:…H:рВXє `zhz%pє Ш-иБ@дЦЂ Ун +SЃ%Ё:X‚ґ:.}±6Ђ!шЂќhЧ5ШшЈ&ЂЋIяЂiА0А +Ь1+lNФЦд +H‚%Ђ В)иkF„БPВ Й/NА Ђ +l +¬ +xB16—%ђЃУў.Њ¤Ц€”Ї +”јњј +¤ьК·ј.јј.ДьМЧјЧ„JОп|Пя|Р}СПЃ+<А”АТЂ¤Г2шАЇ}‚QдgвєR|шаєБ +ґѓШB +аЃ=ЊОДЊOk яLRз +T($АCL@ ЊD<ьБЊ|•ЉЂЁTђX° М€,иџTvѕЃ,рCфF)<)„рЃ „B¬Г)ёЇ8± ёАиБьLнЈѕ Б +аБ"4Ђ/ +Р  АS:wщђш іI wІ"ИътE#(€ёЎ#€Ћ(PЬђ%(‚YєZТЎГ…7Ішe +~ЎБИ°Б†Ф°Б%p ќ<|рAAKJ’Eu4рAILp:йЁі;нёу<сИ3/фФcП=шдЈ/ЉытЫЇяїя|АЬЎбЏJѕђ +  Ар"0– + Cd дЃ"°дu +)Зќ +ВqЃЁeЂ‰в!О %ЃJ Ђ†ђXA +F(ЃKЖгuWђвQr#КYб#0@пЃ +_VрЕ‡%tЃ.%…Aб +wФ’D +4`А„d!qGfxаA…ҐЗG…%ё +Y8  B"x +Aи Ђѓ + б +2@ЃV$jЂAЂШ­„ч]ЛЩ€тpАut h]дСЎCЉ +G\ясwјИ%·„rЛ1ЧњsПAќф3Є@=–Х[э +Оb +]t )%]J™И;ІPA)20xВdPВ…P°ЊvDЂ,оPѓЬ°Ap 6С + +E€А.а7'>с‰>€"Ђ‚і б>шВт”`јБ:ЁЃ $PЃ:Gx±љБЂ† ЋА‹П + +7`@ +JЛА +К ‚TA ђ + ҐН` H@Cя +8jМ|  ЋRЗр…%ўнpЦ•фHQђиаўнИиF;ZЉЏ†t¤%=iJWЪТ—Жt¦5ЅiNw*2ђA?]ЖЬAЃё%ЁAц*~иА„є8,1еqЙ№гї@ +(jћk"Y†<т‡~Ѓ є8T+JQ ` ґpр38:ЁT’єШ…3°€Hе  + +Юѓ_Ёaиx +1H„Яq_ьВ +НГ,Ьа‰м +БмFOP P©A‚r%- +д+аЕЬFЊЖIxЙ.ж°6$Ѓ&ЁDp kt`р˜ПzІ +jЂАЉЩб рѕ;К`‹O + €Б `‚2„Г«8АД=‡L цА0DЂ|Ј@*АЊa р` +°б`ЎёбAlЃґ*ЂHА@ЎJаш@’  +B! +јАє! +Ћа +Ћ 6 6` 6`p!АЎёчFTАѕ 4 "аp1Є|а`lA +H` ^`dЂф`оАЮа>Ў +ЋАя +< +* €Ў XБШE  ©0$ТAC" |А' +>AЎША\A:n ќ@DЂОPбщЁ  \ О  Ц 8ЂШЃ)Л@B +@`v +nЂа˜Ђ :nl @j(ЂљЂ +КЃј*A +*иaSVБ +*!jА @ Ю‘ &Љ"dЖтУh`xґБfЂЃРл +т‰ЖD + Ў +ЄАў +¬\ЂPaј@яЄАF +’пX! +а +ьа@ +]р АP +АhBІ” ?АшrфtА@ Ь +а*а.`.а¬`є`H +Д +ґ!ркђ%Јд +А +@  +PБ Фfо +ф`ж7 +®@ +R +кaxiA*Бя,бр@в( +! ! +&Ж d @"¦RLt + 8 +Ѓ +Ђ¶ +щђy‘щ‘#№я&№’/9“7№“?9”G№”O9•W№•a x x№~A ф ¤~Ў>O@ „  ѕ .DkаGА emю +DЂВЎ›˜Ѓ,] ¦`NAЂ±-5Ц!®ћ8 p +@  +ю  `єКЂъКА#xбTа§ ]`Є АЏnЂ њA xг a"a +Ё & n` + |Б`’ Т˜я%`˜)‡8А!® ~ъ‚ъ †єЁЏ:©—є©џ:Є`Є«ъЄіz«»ъ«+АH…¬Нљ +ћ +`Ё +>ЂTБ +DЂО! F!: +F‡$Аж +є!D`.Б@ L  +БВ +;`^  &a:А` +є±B{•яiаЦВ&Ђ  .а8&Ўlц`:Ў|бl +` +аМв¶H Bа м`aВ x а +FaЋК ФЂCГа: ёєX/а``b бКА``mTб +Jca +xа\Ђ> +$PUЃ рєМА +˜`7 АґaША +Д@. аЋa Љ! +(кK2A бєѕ +„ + ї@HА$`nX +zcLa Ђa +*Ѓ|˜ЭАЮ!eлґо@Бёе +ќкЕЂЂ†CN’p"‚? 6ја@i@>ьа$9іGЋXsрYЗ‡!bЎВ@(r[яињq`ѓJМЖЌдЃ9‚ЉPб5 +hЙтgHЃj@@cС'2b”H@гЙ +ТUB‚BЙ/d$€шT!,;X<¬¤dкta¦E9*x|‘eIBШ±eП¦]ЫцmЬ№uпжЭЫчoаБ…'NАxХгИWИT®@Ц$PTт4ВПЉ_ +8‚В8^°“!` Л8єа +я9дђB’BEмА!a„T‘О +a ’!р Б'ј` xLЂЗ€±ВW>юdђ@в Џ:†Њі„Yq– +nБВ!*’C 0г*9€P‚м± +&< +n a‰џ,"J~”Q o€”Р‰YФАy  +(АЃp@…0Dt ‹еЭ†?_˜Zя’ Б·Р`ЁRШАИАg8C,Бѓ0$Ѓ^(dшАylHB *ћ†vq†4”! +б „!^" +"(B8ёu€o”¤ьQ!?ЬўUи@&°@ L +˜ВЋЂ‡@аўРГnAЂа +Lh˜PЃ,г шГ6є@‚шЎ +X„ zhГ N™КU¶т•±њe-o™Л]цт—Бf1Џ™Мe6у™Xђ&5­йЊlnШ@А!к :0А•xВ +YЂ@=Д +н@В' +0Fa‚2Њ""аB +@F +*Р(|АXAЪЃLЊбФ8F-@р‰ђВ«± +TxЃ~Ђ1Ђў—а +$ЎЃ0°ГFаА8*ЛрвU8,ђд '  ˜|@r@Ѓ3€А А'h0oфб +Ђ8Б7рЃDяЎАГ-LБ +ДАhА¦@*8ЛђrG^!€gМe>sљЧЬж7 Оs®уќу¬\>‹АПЂ4Ў}ш +  +TPBМЂЃ(Ж!‰9Pв €9ВqTHBIpEHQ†,suШ +Ђ`)x˜oNКxжЂ 0# +Ьђ‡<<б 0°° +Pѓ'фБ +2Ь HёVP *”Б„О‡Эуџ}иE?zТ—Юф§G}кUїzЦ·юЂ®Яал`{ЩkPґ«Э>иC"`'€Chh +uP 6‡s21p +ђ0@і°А т6 +0` +- +hА +4Р ёb Ър9Eгr"2xЂ +9P3a :p +± +Ђ 4ЃFв@l +lђTp¬@ +Oh ¶_ЂdpGрMpG@ +G%ap +PМ ,Ј—I03’@P’ +<р +§ + +pЈР@ L А5иџа~А +·± (р +0qK„s +аIрI0±& lPgрU0Sp#зM$`v`$ +ђљoЪ# § ЃаЃ/ё +xА +¶dz"°bА + ђ(иi•А +`(§tj§QЂ§zК§~К Ђ*Ё„jЁiЂЁ& ЁЊкЁ5 + +аCа +р\ D+Ђ?‘’$о`¬Р +@Nh@а +Зі3KЃ!xі9geАі> ґBKґF‹ґJЛґN µRKµpµY+  SЈІ :pZ +Їъ +g"·А +K°$8°1Ј9ЖHа +ђQYрЇДЂрЄ +ђj ++ +~ K +ЩЕG—. Jй Ј&dј0[RЄ¦/ђxђ"tJіSaВн +FE^јdА KЏ&‚рX ѓKH8p(б†Uь4xЃҐ€:uЁ‰ЙbеЯ^ѕ}эюXр`В… +я +a©И*&ЂXвђб$`–ЬHі@Њ*2\”!”д +)bc•-V+DаWЄ:$ +*~ЃБ`%ЏBdy.€xPB‚VDH`ЃФ  #ФQ‡]–h0€Vv "]ЪYб +0ТXBІўN! l c—%rД QfЃ$„’°„ hвўH Qa$ +1М!a‹ZД@Ђ€ГОD3M5УфГ + JшEA ‘ЎIXб LpAюшD^\ђЃЂшdЂ#TА 04ёб†x"ђE +” Ђ4РЎC0A +gЙѓ›>˜`@РЈЉ7°E],qГ Ь‰а +я%њ‹ 2VpГ‡ СҐН7гњіО;уЬіП?ґРC]ґСG#ќґR0e +Ё°!Ѓћ`@)ГwЬ±д‹Rx0б“3lqG‰@XfPКC t0Д02ё)46(( ~4€%qб.xИ .ааBt + JX3iҐ—>sЃLђ  аШбЂ „€‹hCЏQм @HЎдЊOцPCђw9}­” ` Yђ%‚85‚?(pз 2шd– +VЃ@€я6рCЂ=€a +Оp㈂p „(ёбЌR2¤*”ђ…"h­$t D/tбBћљ0аў”АђБ„p$8cЮзўСљЊJўG Љ +TОЂ¦К(‚Кp xЃ аЃ +t!]d`<ёЖ5–p +|Б› +гGB„OД‡1ђ0A7М@wq +Ўвє0 .JБЏV!\Яfя2ѕ™рѓXҐРЂ<‚`пe` м В +a(CЪ‡:д!|Дљ +±€GL"M˜Ё ' +1ЉS<_bЈрЂPG+tЃѓшЌ+•МЉиG +¬а‡eа +¶` Ц`fЦб6 +Ђ‚ +P +ЈKа7R ˜ѓ2Д’‡Sяp чБ + + +0/^АђЃ3 +Ит-я·.ят0у2П†ҐљЂzЂ‚˜†'H +€‚Pµ€ +шшђЏ +PЃqx'>(Rx +р˜Щp’u% „‡AсШ XЃ#hЂJXyPYx5€ +sЂ,xV |*ёjpЃ(>Рч–ЅµђЂpёЃ/ш7˜Ъ& +p Р>h…аЂ PЃИBXRЉ~q+ +‡ј–ЂIЫFKяђGСЃN:Xщђ +Љ‚љBа‚"аЃЌ1к%‡` +$(`Ђа§Cђ®і8 RЎ"B„ВЭштЕН,FP,СаN‚>­rpўвFBdй(†џ<.–„Sу@(nX +‚!ќСPf ^ЦрVЙA:YќPррВ.$„AЕN]T’„сВe] мЦq9Л.џuмё`а‚ѓ<sеrЙkwпЮ‚pДуa ЇЛBKдyЙАEЭ …д¶М°+#*Tњ{А +Ћ +<юЃ-z4йТ¦OЈN­z5йq_4ДХ +і]|tсi‹–K ‚tДя‹gДG#F8pА +2 N№г "e)]є2СЃ8_ +yбPЖЏ‘єv—ёІСfnєеХЫoБ +WЬqЙ-ЧЬsСM—Ku `чЛvЭ}З(M8`•d  Caм’A+:q[лмў`x1I˜0 +)ђ@ВAМр Ѓ<МИЊ^03B–Т•Q^,7du‘„Ь ’рЂB +U­рАЇи‘:ИИ +РA +ь@ряY°КJ«­ёкљ‚RМрВ м0ѓћёЕz@ + +”а[АФЂ +єшЕ0z`Њeф†РaФгУ4 '8Г§HДжоэЌбТђ†<аЃ”Сн+ѕWaяOђХbШ ІA<аaG(Д[ёKXЖ +(!ЃpC˜Ч<з=zС“ЮфЁWЅXпzШЛћцN°=о?  +Д +TТс‚€=Ђ„б–б¦a¬aѕaОa ФбжбцбвP=Q!b".ўыґЂ +\Фжэ‚Ђ +4A@€@Lѓ¤‚ёС ѓњ˜4¬К|А!А 8ѓаTС фA ДЂeЕУЅYLlЅА°В'|DA<Ђ|@  +Р +ЊА}жз~цзиЂиЃ&и‚6haBЁ„RЁ…bhВuЁ0A„и€>Б@ Б +Ь +X +T@"hГlC¬Ђ  +јд‡ +Ё +0<Б +@Б bЃdЃЇ•Ђ)ьБ<А-р<ВА&°В±A +В¬ANzЂ>И<ЃФ@ XЃЃy@*њ@6ф +Р lGЮ +аЂ¤ѓPА(Oъ­$>dBА±XJ0мЂ48A#Ф@"ЁЇ#Г®ЃҐB ¬Ѓ"Ђш8A Рbд‚шиC њ +PА&$В'Њ +C`‘@Ђ4d5€C 4 +HЎ±^Aд Ёhб6їЂ)Ш‚DБ!B °Ш°А$, +4@6Њ@ 4 $фB7фCGфDWфE7BFлГF{@G4„фH—48AJ+K»4 +ф +0#њ +‚!А¤Г)@44 Ёх˜Г”${ЪЃя?|А €AAq.<АP +˜‚фАSЉЧ 4аВHGB0B"д7 0Вp‚ИАГЅ1Бо +‚С@ЂLш s;7ЛFчtџ@u_wvАvwчw‡чx—чyW@zCБz·”{Г7(И7}Ычє6Б ц(±0LCP +Ш +pГ;b$` +ДЂюj +Мє=Ѕµ'ВA™АT@PЂ @АЄ B-Ђ@ `C”Ѓ |Х.L;Ь +ґ +tB8 +HC +x=ЂЅШ“} +˜=Ъ—ЃЪі}ё}СЬЧ=/РЃ˜З' +DЂ'Ф@Ья@‚ Ќ'[є Ъ +‰G;Д\™ gВ@vюeФё‘cGЏA†9’dG0XA°2 +Ёй Х 3"•±)ї`P0bFЛ l<йГ$Y +d{чNA b€mЁХoШЈgm^dЪs +<~$ ЃЉЌJJ ё%d”“)W¶|sfН›9wцх3иРўG“.mєOKяФ©USbХгДЃ'OF4aT! +4gБb +L!хр ЂT¦Б| H`6АС +` F`#c`„lV АЃИЎРа&А|Бtуh @а hацR +VбДАВ¶DrБ> є`N2Z'ЃO tO7uW·uаuW1d"S vow®М@wy· +< +VА|< +@aта +ъа°‚˘ ®°¤Ў. °юU*µnкЎ fя  +VЃGwtoАЂ +Ѓ©§•Z”цФd‡@ч +тАю +>!~НјЎ’ ЃЁ@vAєш‹ГxЖёЊПшDS@ЌгЂЌНАЌбXЋй˜мШрAЏщ ю˜ЦЏ{.айм€Ђ `Fй +ђJ +ЮАiK +zACRє ђb +? +э€ +aк!к`/@sэlj &А +¶xtd ёbЂ°МЂ о ЂgАЦ@¶ +к—Ё +ІАЪљЩ { мАqД`б<µИ~!@,Ї ъa’<х +да"Ѓ6яБ +<Б~ЃH ъ +‡љUЎАfђЃ8µ[Ђah!F !ф(јiбјsЃfЃ8!2@К +X +Fд%W0а 4АLDшa PА tЎHе |`bа xЃ<Б°@’ +`иљЫ[“@H$ +DАО@8@*…ЂВ +8 ˜! TЂ + +ЊЬа +  \ а@ +F› Bџи`_б zў F@ЩcҐJШv)уi!дНK@ &a&~б +@БСtjкЎњЂ;ёБ†АВ€а˜ЊЃЖ XЌЂ``H@КpЎ?М` +.@N@к + R,X`aа&K3Z,lЙ” +вh!rбђHХЂ1“"О )@mйТҐОЋC·FХ©µЎЛЋGjяХвy§О†JЩ идИ’'S®lщ2жМљ7sомyУPЎDЌ"UКФ)T©T­Ц”’BЯ A)¶°°ѓС…њµґTЫ©@-39±HqЎV$" ДhєЈЇKУ V*шR;ЕдC:Ґ\ + ._zРв€ђ‘“PH©3{ї;;YZиW'¤ычргГgФВ‘0F=8 ЦЁa +ЁbК6$ј +Жha… +(=|Ђ‹@ F@°p©LЪВ¤ўАћЖфWА 3Ha@-_y8 ]Rl!Я±И&л^4ц  #ЌФЄL#DDѓ‹'ВаЬКА>7ЎЂ2 + +pѓV°ЊЂLЂ +µй‚ +Р…'РaъЎѓl0 +њах0ѓ*@ +I2Fa”сЊi\cЯG<І®ЋwМгышЗ@`ђ=(д!Щј0С С8ЃЦ +@а)њЃЂh0ў#tЖ~ +•р…@ +№іc†Рђ4 ышЪ>®&˜(^дРaр°ўЌЈѓ. +(4Ast + AДр‚,Ђ ¤TМ XК^–О §' +fА…иvwТ +L`6˜Ђsdб +вH_ В˜жz@“\яША Вh0гo`B6ШlЂЂА€QД +n@ +:! +;cTТxА ё•‚0:GЏN З4(Ф:lЊ +–05g·ЃЗў@D фрwќч‰d Х`Rђd R +ЖpE"f’•P'ря'А}РЊ +ЫАьЧ@aUx<ы§А6Y@ +; +АSОХВ` kЂ‚c¤Х яЖ@ ?  N`Ќu„IE4Sа-°„AZP$uRЖL0zф°;`'°r0 Є°$PSµ  +̘—aa PhК $Кe HРё0 яDа73>5/ЛЎъРа!'рр~)0ZАё ?Ђ r)")/0%@X0~p?°пeXаGc OаPЦїа А—~ЩЂ)˜Т@˜†‰˜ЉйЊ)/Вр˜‘9™P™—9O€ґ™ќщ™Ў№с–ъ P}Е? +ЫРТPyрРdрeѓMpt + +‰ЂZ‡р`Y ЊzЩўЃ 0 яђћ +с +D РуQP нуїр «Рu1рьЧ4 0*Ј4jЈ8ЄЈ<кЈ@*¤Dj¤~фI:‘LА¤N +™р@Ґ,`Ґћ 6Dpu0ђ 2 ‘@"А +°tАOН"F'Ђ +M0•@° сђЄ_аћйђ ѓ7BТЂ6 *СPrђeВЌ0 +c‚ mТ©PZ1Яђ №ђ60rЂњ0} ЄбNђ‘@љ@1€wФяPP +p +  +эеPG“’ +№А +Т  @‘`Й± i +K3N%_‰зФ ќ +cШ °hГ@=‡ +j`h0ЈЈґРя$QDР+@Z`› +‘ ['Ђxа­¦Щ +къ№ЈMа V“ +Щ@эУ@ФB=ФD]ФF}ФHќФJЅФLЭФNэФPХR=ХT]ХV}ХXќХZЅХ\ЭХ^эХ`Цb=Цd]Цf}ЦhќЦjЅЦlЭЦnэЦpЧr=Чt]Чv}ЧxќЧzЅЧ|ЭЧ~эЧЂШ‚=Ш „]Ш†}Ш€ќШ? \ No newline at end of file diff --git a/podzem/labirint3/1/cn2.gif b/podzem/labirint3/1/cn2.gif new file mode 100644 index 0000000..4a93a1e --- /dev/null +++ b/podzem/labirint3/1/cn2.gif @@ -0,0 +1,289 @@ +GIF89a`р +‚s[¤њ‹B5!;2!’„k\Q6Ќ…pujS«¤“і¬›4(D8#laI‚va‰}jM@(zjKЙД№(„rT9*‹y[eYARA$zmZrfQ`K*J<(p\9’†rў”z YE)TI2 P=%©ўЌљЊsГ»°dX.№±ќ%c[GS@0#H6"Ї¦™]I/.'0(ћ—€)#XI5.$†|a\S?]H%~iFpdHD5QD(€ЃjM:%uaGwfQќ—ѓ˜†jЊ~o‰wawiTsbNeR7B4C2YF/SB,`R;2-I< .({jQw]C2ѓ}drY/|jV[J4ї»°*#‚|` fX7—Џ@6'eR=J8xpYRG6G>.2+H6woTF8˜“Ђf_H…wh`WEџђqЏ€p©˜‡•€gњ†\ќ‰fvgF…Ѓd/wfW +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛ·ЇЯїЂ Lё°бГ€+^Мё±гЗђ#KћL№Іе˘3kЮМ№ізП C‹MєґйУЁS«^Нєµk…цX=PЈ9ђ»xр˜HОЪџ&Ї/т°'цвr5ЩўыАћ]ёpṆ«I“№˜oБC[w +ѕ›ђя“°јI¬=±љ. ¶ЂXИн @юћ=ў,А#6tйФYwАрРD.XCЯx< +eуЖ.QH°Лodі‹oр°K'[њЈG`њsН9XPЕ.xXса| +а9’УД.ОеRЈsьQ$,BсЖQм”PLY%ќ@!Е–`XpMaЋYf&t–°‹ +ТЁ*њРA©paЕ{UHі@QјС„Хm‘Л9[мЛіА!№P,Рс†Ћв8ч¦Vаqx<йJtf‚‹џ™,ђIЖHУd ¦зЬ.»м±ЕЃXBxАЩI-Щ`«н.4б-ёwBо™dІ.й¦ЫодА{@,!V{В+™tp#jЎj!"PBѕ"рК ѓX#A Ґф“DЛѓ аѓ%dRў€XЃ@&%иEoґs]"м±\,[ё нBE–pЮгнk0.zx`A.tB4ЎќpWВe[AVXAҐIЊ'вГ±дІKнґ#/Tішм}UCя€З.x° +Ѕ±@t4HЗѕЩЬ„Њ|o…xґѓGМ/P@І(›nЊЗќf'jВwЂt +Ф+Б ¤a& н+tИ„ +†‹ЖBA±‡8n•ЉXМ°†-:@Рц†°х°ЊA,ѓ\с#К% ‡4и +l Њєк +&б +?ёBҐ*чРЃVVа +°”%-m‰K=мR” +ЪT2Б¦^“#вВ lрЉV%A@( +ЮаzMMЭЩВ5D) +ьPk Ђ‚8Фc©ТU +Јви иђћXёа +xЋIіЃR•єўҐVhЩ›|ZѓЃсбOйС¶ ГИXUJЦy“ @5дќп¬^0љdрЃЦ@В…ЋТcQѓФж®2lm« l4ЃR"~DИ§LTЂEz*ѕj +XГ +Ѕз}-H/<зП–YЈ[|и`vфо +:85!ћ—џ@Г4Т°Ђ4LC i(Е&ћ#@C=` +iЁ‚•Е`ЊRиб W0l`"ЃDЁ„!®а +f01LВЖ +ЂBК ЌґV +ЯВ…™љP +Upг!†•*iШ C3С ЎШоШ.\Ђ‡-ґг6¦¶@fЎ„W¤Гіx„ёAяi Ч3ЦЁ$<ЇЅ 8Q¤Qn¤”QЁ +ЇЂQи¤*­вzЇ` + Г:Ё‚U–”R{ +)P|ґаґрnРr2g"ЖРqWўd}R +ЊІѓРѓу(AШ0–Ф$$*t0@kS*г1+Чr'р2w'P +„@OЅP +ў{.яP#"хo R Еч”B ґ +6H7g+рUѓp¬ЂJД РR™ +ЏР<@'А[р5рd[` +у=o +ЧЏь{а№t Щ i0Ђ€вQqD‘С +Та­яp®р +ЄP +ґrЅD +СpY%`@I°Eљ’ WM "t>мЊ24ЇDXI±Ђ—ИH' +pЕшL:д +Зі +Ѕ°1c-#Р+!@m“–2P: +Poђ1эyдЂQЧu_ЄIX~nи„ФТљЃU5p, XЙVпQ|·ШKpzИ0О%X #ЎрIoB5LшZQАtEMQp +‰ѓhR»pвpY +Ў +I XГЎ!TіЕЧYХ а5Ј1FVҐ3‚EЈ¤•AКEWЎs’Ѓ5Z5ўl꥾Z§§!ЦЂWГA¬%`¬nљ«t…Yѓ ў‚E \9бJ«Пк¦2Ђ 'рзЈVИE)Ує®цъ¬ЄyW5PИpЇЂUQRЧKe`ХдћЖ +Т0Ћы‡> p·° +Ґт›0<2 +ЬabчB±™яа6Ђ±тcIHА +­@NА;" OђлАBСBm Ђ +СаАр¬А +HЂwЂy +а +ЯCenл-р­`u{ +Oђ +бXЖpM˜ў3°яI +*C@VЂ‡еЫ™ ЩpТP aгЕз +в° + G@–— 6р·0 w 6ґp vЂ1PL ђ5“Р§+k@ +e **@uлO@ +iPђAЊd R*\p,–з +5ђ9ьqYі‚ +нД“«·O @`yPДа +еq>Ds1чA-,E>гЖзz] ЧҐ`«2Uрvp§°З}<Bpћ`АOА +Ва + +µрeрЁD–t8h#љ2B«™UгA‘Cѓ0в +6ф® +=Ђ +D` 3РrЂZ0 ¤¦"0 +Vp B `  +РАQMЇА +DР +3`r H@uПы`­l=b`=Р +*Р +Z0/А +0 БАђ 3@™PnU@/АIЂvнђ ™ўU—R:s<ёu +’A˜UoЏг|2д +з +ЙђjL-?ѕрвQoРn›ЂћfEнФduWaхТp i +ЎАB +І ЩЎэСЋФтћ(NЕI _BйвЃ6PЕ5^iVЩ°гV¶rtђ +*рP` +Vрi +ЄАcB&jBЂbр s0 †ЂЗЮgЮ±UЂ­ p0 R@OE*LлкЕќ%ЖҐ °ZP7*JYZѓР з ђЕgЇЅФ‚% +0!ёђ њtЖ,ґ~hІ6Kxв1џ?° qч 8_"UРућіЏA*УF@UЂ.° +а +UPPдЊBОhђy +y0 +[ў +`О@ + ў@poАЃ`¬pЭ'А +> ;жЂЯ Е·]ХbqМЖ +о +6`±ФРјOаePъ{[*3–0зf°Я[= Zя ,hЂzp ^p –6 +z`–џЖ° +3 +dКD'JЃ„ўX‘АjF/•z”кЂ @Ї3ц фПгGђ!EЋ$YТдI”)U®dЩТҐKrЦИ‘;`Ř„ЄD‰‚`Б‚(Т&I;qў—^НRеЖ +<%А^±кФ$Љћ +`А ФжZ¬MљрзАџ=PцИ4 ежЃ;{юЊBhиБW\ZTђ ¤i4ЁRYЅ±Є§КЊ[OфDШґ +1\5cOя +kѓHH"ЎДЈ|&@{YЬшqдЙ•//)`РЧi: —й +BЌr$И„њ$И9A…TдB‚i3Ґ›@YЂKn»хц[•x@¶ +Д“‡й C +ВэКX@€ш¬ў“* +и¤ѓ›И&у>±к +р 6яЂ·јВMЂJрFЁ'и|р +\Ѓ›рАў` `zШД*ћР‰LDЎ[ МYЮ'я‚vМ'9№тVЊХЂ Ю+Z1@C!Ґ°Б¦А@ШИ  +wґў•0Д$Єђ<Ў +oШ'sФсPИг%жЗ=Дbe¤ё$Ђ©h$a€l…$т„GNDLРѓvБ»€ИvP`% +P…i¤БЂВnvЃ‡IЊh·(@E R‚®яйFN°яaЌн™07]лЗ+Рр„+€AЋлd'ЩЖ”¬v  7q‰ьHL…А‡,Ик +ШMшWљґCр‚Р„› ђЖBь#ВHА(Ї +^в +«JБ,ts%иG@W +ЦфF–№йGёPЃ5Ёіќc%+–jђ“=ё™рЌЊ P¦&xЂ„HCЂљ‰^pѓMaE ъ +/D‚ЁaIГCEЌUHl ќ°˜ ЄЦ?ђГя®`k ddёЄЉ°B“јФкбn˜…_µP +lШЎ® Й>б +е—»иV& @;MЁB›ґ‡РбI©иD.N`оБUX +Yе*lbAоN¬nа +жUЮШм&ЅOтВЛ(Ѓшv" +шўЂ(>К\<=А.КXXЈ±ЯсиЂ[·A˜ktЖM&¦!VXWЖ3F lюP.ЮOP[сwK0вЬxНkcNЖТa\€ґ 'яљ9vЃ.иmhЙc`ЈcчШ?®[¤„|›q†Е?[АЪђ‹N„h®БЁ‹цвQ­±Ёp夛щusДdТН¤рЉAдн›"¦ЫцQ +JГ<с8 +Lxt¤']i\:7%8§УР†PTЃ©˜ДБ +C!O`5^­ѓrЂбДъ ”ѓРC'<Ђ$ВmАК± +€@а@^ьўЁSяЦБљ +Г +%( +wґЂіиA –Т-МЂАAЈ=>г-€ѓI"РП¶gЌ7Lѓ &Р,ёEщ°Ѓ„P!Ёа +“иC0‘€2x мЂ&ЉЂR» ќЁ@.¶P(l!дLЉVЙcqтЂA zЕ +‰^<б—0†Ђsdd +>o§йђ‰2XАФЁ…ћЂuВЭ’МЕ.F:…Zмў™ИГ-D°Ђ*€ љЅИ6WCЋWаNГx!ъБ.XЈ"ЇђГ$TЪЏ;xЎ АЗMOЭ±М›LЉШёё +іЇЅpЯ + ЅАёђ +!€A @З*РPЃLёВXD° €AqЃь3 < †dѓ˜А$iђ† +x…азрЃЁЃ@і `рЃV˜ЃA 0РЃШ)Zђ +ЯH‚ЧHѓ +1€Ђ[h… +hmА‚, +Р†! +д‚:ў Џ1Pѓ˜p +ВЏP(ѓ6°ѓs€b(Є&`ЂH€ѓmx +Uаc#HѓYpH…я$и‡Ѓ1`,8Jе,џ€‹!‹=€lђѓ°Љ +1И‚ењRoЩ"`ф +{›&±Р;(…єё +.dЁ ˜9 +А…-р + p…7А¦P(=H)rh  <(ѓр±Ђu ЄUЕ3xЩ¬hѓsђ†2ЁbтPЛhvщ ќuиЩЭp…lZў]–ЈµЂ»+W8 + Рbи +Ш† ˜Ђѓ"Ё†@А +Ѓ)HX>Ё1ё…ёВВZЊИЫQ“(и +8д#„W`У9рљAЂIP‚ииАЫќ˜(ЂP8p@DЩ@ѓSМ+°p +xѓvрZк°ѓX ЃKР/ЙdjI‚‰±l­б†$p‰„$ћ¤ѓеVё$0й”^m’°8§HРM +.…[И˜ЊG`…t$pѓя©H(ѓ'ђ†=СPH„Mx†й\ђ‚cЂИќ*X¦ж‘ гЃIАКjђнVPЦSЂW +ШѓT8Ив…T™‘7ћШ…=О†`pёї†:…‡Ъg0aИ ш‰“Ё +ё°ЃZ°…1u=Hх3пWO‚To Ш„i€‡Ц°ЂЉ¤rpPГ +пи„7`ЋZ…LАbтэ(Ѓ2(… +@‚;H©.лХі°bHю‘ dш-kиФI(„>иt‡яът0Р‰Ѓ†иГД9P@ ‰ +BИДиHZ юsЃ6иШМi‚OА|Ѓ9@‚[Ё‚I(Ѓ&РЪlёKhш‰pм…2n †+РО9˜…Ћ§…^P‚ „qЊ BоUрµ†хZЏІ +Ё`Ґ†ЂNдxм)Ahљ(џтМY0hЪБ9ЬFs€&bЇE8 DК”x>вс’O D˜тАCВ®±ЄT)°‹G +˜{Т¦эcѓђ•ѓ¬Х°&!Iѓ%б+a­ kR^IЈУAF +dx%яј±!¦П‹’'S®lщ2жМљ7sомщ3иРўEWX° ЦЊ*њ(ђ M™^ЄTЅрrв+&*ђ "G§W“={ДiЌuаЏ«'v\АVLS/µ Ё…ґE@… ЂкHA +°Ќ'LвmH7˜N|B˜ѓ"V nђ +kd"l@F ё 2ЫxЃЦа9VDҐмБ.эфuЅ +HЎњИO3„!ЊmlГ‚И‚0a LдD):Q@њГ‘ёЂЪА‡)tѓvжP4р ТАЎє˜‡B +!€шFB"0ЂЋg\ ‡°PИЂWмВЁђ‚О±‹s¬C +ќШE ° <4бЂC&PQУћц|™€BКа(, јрА\ Y ” o8А: +˜Ј]X4`Ђ% +лшE°DyvT¦G¤С*|`Лlхr РKXўZ (Bћ1Ѓ AЊц’»i@G8B\p€ мd  +±€d?к~@˜‘G@!Вї3°™кШЖ”сЋІ9:рЯ(8Pф.А@ґлІ=и‹6ая 8XЖм&В,МdК ё +|;g ё”УZЊd ,КиB2tZk +OxB*@€Hм@ ШFB +R4А0Ѕ&VюЃ)$Г0h +: +бћЎваКЏж V-МК`V!Ю" д ЁO +Ў.B ‚$:єaBЂЖЕв‚ ` к$єЃ +’б$Ў +@АЁeз`А +іp щбцLЎ$Дђ Н°АФAh °‰­@ HЎ@ м! +«сШяЄ‚}RҐ38c~ѓ`2`@ +к@АL t` +cр%РаЪ +¤R:) + +Б^Ў( +! + +ЎtаудБlAsH2@`>аC ZьК +ШЎ +"! +BбZР•д¦AМa Заµ98 +т@4 XQ@ +таОБ¦`h +к „aѕ!ђjОAьЂrЂ! +`( &d \ No newline at end of file diff --git a/podzem/labirint3/1/cn3.gif b/podzem/labirint3/1/cn3.gif new file mode 100644 index 0000000..4e6a6e0 Binary files /dev/null and b/podzem/labirint3/1/cn3.gif differ diff --git a/podzem/labirint3/1/cy3.gif b/podzem/labirint3/1/cy3.gif new file mode 100644 index 0000000..9628b3e Binary files /dev/null and b/podzem/labirint3/1/cy3.gif differ diff --git a/podzem/labirint3/1/index.html b/podzem/labirint3/1/index.html new file mode 100644 index 0000000..681796e --- /dev/null +++ b/podzem/labirint3/1/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/podzem/labirint3/1/kanal.gif b/podzem/labirint3/1/kanal.gif new file mode 100644 index 0000000..db39c3d Binary files /dev/null and b/podzem/labirint3/1/kanal.gif differ diff --git a/podzem/labirint3/1/l1.gif b/podzem/labirint3/1/l1.gif new file mode 100644 index 0000000..e69d824 Binary files /dev/null and b/podzem/labirint3/1/l1.gif differ diff --git a/podzem/labirint3/1/ln1.gif b/podzem/labirint3/1/ln1.gif new file mode 100644 index 0000000..d9d7e85 --- /dev/null +++ b/podzem/labirint3/1/ln1.gif @@ -0,0 +1,212 @@ +GIF89a`р +kZ<–‰l„x[©–rХНВ4,"њЉe’}aQC,ЪС»©–yЊyU;2)ўЏpD5ЕёќI=+НЖ№o]DdZH«љsqdPbR4ZJ,D;#Зѕ±siL{jA_N7bR,!±џ„‚nR–‹pѕ®–yeIё¦ЊПКЅ№­‘dY<…z`p]:ydCJ:"¬ћ‹‰uYљ‡hЄ™yСЕІєЄ‘SI,A4#ї№¤;0®ћ~hT;»©†zmWХТГ©љ~?5*ЗГІMD7ЩН»Ґќ‰ќ”‚60"Ј–ЂkY4ЭЦЙВ·ЄБЇ–Ѕ­‘НВ¦ЭЪН·°›є®•ЖВ­=8*ДІЊ­љ}NG3ѓu_©ћ~­љxmdNQE8F@0Ає«SC$УЖ»ЛЅ›ќЋvџђlёҐѓМ»•|t`–€d®ќyШЛІдЩЅhU2Ґ˜uukWє® Љ}ghVAѕ·©XF3аЭХNH:ОВћОИґґЁ‡Єќy=7$H5$—ЌwЏ{LWE,ўЌ[-(ugFЁЎЊO>'“†o¶°–`M,‰w`†wSРїќ»°ђЅ«‘Ё—ѓaVFШЦЙїёћЮШЗ~oMљ€qZF%А®ЌРА¤·¦’+!dW6WG8±Ё˜ЖАЁЋ„o^J%G7*^P/P?074&TG'>-xgPЇЁЌё± hXFЗё—Й¶‘Јџ—P?РНБ‰~pИВ·ЃjA© ЃED5ё©• +Аlё*Rя°.яOћьр Ёћ@•Є_¤#SїL(ТM%GlP …‚™шт +жЁcVэфcѓД! +Џ„RXXЩиЂ*ёIђЌ©“J$ћ±°бЋXf‰3мM@A(ґccaјҐ +ЏTbO ‚*Б ‚J +eQ +EpЉF?ЄЙИД¶<ЃU0Тћ`†ўe +S ‡6ђ†BЊa xARаЃ4CрЃљИGЇdгЉpћпЃБ*Ь…ЂИ@xAЌZМЎcШВЊR§B¬c +RP ћAЃМГ ¤( + +]K<ћЂКj2е 0B^xЃtА Ю¬џЈ"0ўЭЁA3ЁЎ  5ЗҐ0 +ѓњкЕ#‚ЂяЮQУљ +!hГљQѓu° |XЖ> „g¬AH`Є BQЂH Ђ˜@)NР–к=f@ѓц їkи"Р0ГoXрg№  +и† Юђ†KёёВ2’б†4b(ТJPЋРНж Ap©VmbF%{@@ђЌ PaFУ ~T‚ +o Gj`I>мc^@Ђj°W|aЃЉГЋpњ­V%ЁшР©ђ“ +ћQЕ\"Q) Ђ…˜Ва@ЋuH#K0Ѓ’с†$ @НpЃ +ЊA4R”Е‡ЌнI4¬я +з XVЉ$P„ЊU"2¤PЗ”A5рp@ +|иFT@Ђ”"?XxДeЛЭЌh­‡aG*&ђ‚.d )ш‰ЁЮ˜: b +kp‡ФЂT¦^b ШЂ jђ„ YРіЊіо#є€ey;„І +8м#6A!LР „А)8A:PЏnL 5Ћ1EФS™Щ + а +kpѓмЁ‡6<бАBЉс†-є!6`„ru3”")а1LСЃLа +pёD–а†-4г/и€ЖЃ!Ш  +(ВЎgќђ#ґa G8В!14”‚ +8(йd7†"P EѕЎ!ВЂ8„ЃО|pG7ЬБЃn°АґшX*ьIлnD8‚_)`.,Ђб†[ +˜ЃЅ7xЏ~8nЁ“сrlA…ЃвPЂJ ! +]v€ iЊrA…Ш¤3гЁBЏ ё¤А ©IЈКxЖ%ћЃ О+ѓs° +ж +(Бeђхкµ\ +3 В^юc(T\‰#”ЁЩUЗяЛЉ6њЁ†0ЖћqЏq|cёxГаchЗз˜G$¦Їe9DАґД.  QX3ї2FМ@Эт7'Іa0IЖ@~рК°рЖа•&а2ь'cH +"ALЇ‡E°xї0К ЖЂр5> ґ=Xа`f,   +#cыі(¤ZаЖу +P +P8p}Њ°( @А8ђ Xд&Д4F_ёiФ°=(я°{їТ[g5ph`ра„зt‹УE#M8р +{Ш{А–Ц2C &†p€Q%5р 4Б п +% Ж“P +ЁЂ2Ep +№И]WД Уаgkў +№РMУЂMа)0 +Ђ†яаE []!кЃ%pЋ0 +T°  +C -eа`0Ф0/`ў[Р`аvp +ґ „=iX)°‡Рвр +]р‡{PЇPT s?s +>ђ +ЅPkР +д0}°, 50 +[PЃP +qIN‰` `< а0Mе Р ‘2ЁC +[ЂYл Љр …P40@ +] vр ї +E + ` +р +Ћр +‰` +РҐЗ к¦ +Jp +еp0Кмр >`†рs  +М0mАЁpє(ђ;§46Р-ЇYЭЩ мРF!PЈ°@ +,ђ‘Р/• «360Ђ / @Љђ4рЫDкс,.рЏА^’!Fя1F'b.м‘ +f‘v­hE2рї0еЂzрЮ8«-ЛGP +Р~¦8АOРђн@uЄ +†Gѓ`т€а Ы{ЂkРЃR@5Рґ|4%°Ј0 +-Ђ6А0¦P @ ЮРў€Њђ¤^E +_ђі•р”„`J +8pУЂT єPи–ђ +О§2e ITј +а»'АT@g2ёхгtX +АPЂёяЩ +"P +`А +Ю +0jp рлAC +E ^ +УЂ +&уT!T1•рFБаsp[ ъZzрЇ0їр  ? +t@ і@УРЂрЪB +кТЕЦ’4рc°±+0іPМ4Bа|ДпБ0ЭРp”р ја+зspAMЪ,4< ЃЦІнљeяPСw +R0•` +0e0wР8Р b\k?1ќђrРЎЂ=ЃV)Ќ;v085р«Ј ”,<{7° рґsр +kъ;i40JАFш© zq›Нbін0bђ/P P + ахЊеhёВ ъZ'qр€@>`8)PS +ўИe0wAJЂ‘@B +цЭ°JpнРќЄ@FІy S=3јА!ђ- +UаїЁ +°XpmCWїU•р…»Ч ѓр рY +hА&@-¤Р Љ[~В/` ЖЂЖ +/Р ДЭ±И­0{ +‰pd ‰ 0№ +SЂЖUv:‰Ц\kЄЂ:Мp.  +.0k + +zРЄЊЂЅ1QE0µ$16cр!Р mP0S Т Їдр 1dбб’‡Z@ eР ?ђ"РNP5 +5Р¤њаеаLюс{с †іҐЄ +>` }`жgћ)•zm00р +@NРдeчh Їњў +Jђ{&e‘рнР>А 5@c„’кђ~ѓ№•Ћ)Tа>рЧZP@ +ЈА:psр`Uх‘Ђ +c°Ђ>А…№( ‡˜нЪ.Fєѕлyb?e``"  +{ ПђaPЮЋ)i µја°pSPЉ^ПЭў~G Б¤У +/  ы`@ +°U +ўP[аhTw@wђ Р +rА Ќђ +PђУаfР8·05РџмаGЂПkа7МР + ` +Ф +Pђ°Ї%яP +А]  9@`0 +P +ФЙЛ–@:њшЧРбC€%N¤XСвEЊ5nдШСгGђ!EЋtш$Г‚ДhjТb +”(IB +vК(‰В–5c щ86FH(xлЦЃдU¬YµnеЪХлЧ‰!ћ +ЬA‰XЁўЉW +ґсFsМ*„ ЂеЋ< +Р +pа^±¤Ђ*ґћ ЉHЕ‡7КЂ§€fШaЗ%6Pǘ)Ь „9В(ЫtуM8Є"ѓЉiA¬А'nИB`аIєи 4яbѕЁбЌ"<ЁЎh Ѓ%h0?–PГ?j`(NRK5u№RЁСўЋ`иB9юИЕb0@‡sЃ@@)§ѓ +&)з„y*БВђr(°‹˜AA‰ Qђbњ +ўgЌB|pa[†vЈ ЁЙ +>„8Б/TГ '€РDЮXв@д(яa3j$ЁAl°!Ћ2ћ1ДD(шeљ’hа ’Hў‚шznєMEeСТЂЃ3` +(гoрѓ:jр ±С (PG +Ря…<рг38EЉP†BФh@ +ТрЃn¬ +p.јР‡5ФА +лX`}ёЁ‚.x +Ш‘i(0e"љFбЉjь` +˜ѓєр‚rlБ +( +Та†рбYшЖ%~шF8‚$©Ж8ћQј@" ‡ґнѓЂA<„lahF/>аЌ  ЭрC>А8„AЭXъ ·8†R”aDt +Hйr„Д ¬ ‰ FUNђ9„ЂeАb¦Ѓ0hЎ͘ЖБw˜А PшX1JhFУ!бђCTђ &яДb0 +ш@ґрОTЁ +Н Ђк^P|` KШ‡.сЙtЂЂ 3}#JР +А‡а} Я`".‘3љ†uЃґР ,TР9г®Dд°1€Ђ +pП7t` +sh +\ …"ј@RzРВ:ЁЎ @дА.ЦtXЙЪяЪ$­a +.@bѓyёБ':#†QФ!ђ" +t длџґЬЃЉIЫ·Qяёа7Д‚YpE­w +XD,к@Њ”h"№ЂБ6¶±J+x᧥ЂЉ`ѓl<б +8Av@€s A~и +ь ј‚ј^P +8`R`бЖИґ +Рѓ2ў1ђ‚©{HXрЁўр‡АРѓи†X\h? +Ь +8HX†3…,Ёѓ:€ЃVа†°‚Р+р +€ +0ЛІ$€ђ‚g`±E +˜–X5яЛґIT hX&+ +˜k°Ђ+ОљМg z@±Mp/ш…zP1шЃ7H‚ €…fш +АЂ0-HGpPA0 +€0ш„Ђ‚p 0€‰Tbп +Ё( +и ‡rшХр +,> +К +АYy˜rx<*ц=ђ- +°X +( +06(Ђ‡"RhИг…-`Ѓqр-p Р„t±µD…P +ё*p†WЁЂxР‚чЃ +°iЁ +h-°+ђ[ ‚њЂЂQ „\ + + +Р` ЃH +Иш& Ђ + +АЃO`Ђшl0…уbї‚Р$ 2ђ’ЗішО8n ёѓSШM0 +а„pS@OopЂ | +Њm#<Њ›BЕљABЁi‰0 +W8pN#˜ Џ=ъшcVрpь8Ѓ‰&ѓ вЏН\"‚:tX…Њ"‡<р +3Њ + іN/ј0 <аcЋ@К9'ќu>ґy +pђ3П"w$2К РЊ^`ЂсК(са И°1АѓЌ% +"у<9М’Fќ +»"П!аJ<1ЕЅrЗ9дpЙ%j(#‚?Ђбл +PЬ°ЏrИ‘Eђ’oЦ|вЙ|PA/¤с Вxв‹ЊЂаI&#xт@њIлЅwЄР`ЊRиrѓ(0рЎ… ЧtСu}°0А,UМR†#ијЂ «ђ!тD± +4ГxbОЫ™рА7л­я8Џ +Н°рџ-1ґ ‚±дP № И +"ИQЊ +uдСЭЂ я@"Ф@ b $` ‡р…$ЖyД#“`@ш"(БЛ¤ +sиЂZ +ъш|Ў DБ–АГ ° :ґЃћиS©JЊDCH8EZВ 1dAяЂА0 +Ъ° +j°ѓhв +CD,lБWШ,ЃЃјЂ +4бaF˜*|Ќфke˜4юЂмт·ulЂD:»ґ +’`jXВН0`@DP Г5Ѕ4®WҐ‹I@# P ѓД` +ШиБks­н:Х@hЁ +.8 +Р Д.ІЅн}Й8аА=„PLђ@IиYпРфJЌ@ўbFР"[В°ьѕ8ђђрЪ  .@0д +Фqкn7Р,4'@ ѓёCLЎAZЬБВrДИ ЗxИaA€ъЫќCља‡F‘‡Њ"78ЃАЂ„яЂЎв˜Б ґ¤шСC:ъA-€БSbhЎe +°Г 0Ђ(ФЃ °@+dђЮS3 Ћ +ьЃЂWh!Ѓ7АpGDА3Ё +Ыд8B4РБVЎH Уа– ЂAгhЃ#$!(ЂX!‚ДВ +\Ф8‚ @"'RД¶И@hA Ф<Ђt"*F|“hЃ°)бS1Ў"ЯsД®Ш€sжЊ`7gа€Ѓљ‹iЦ"ъу?\.ОбЉёµKLjF +ЉВ%В®]3f„S9йXЎё| +U,®Oмv +Ђ«T\b ‹‰Pиrv\ё@†%”ЧаQЖяУVkљм32hЉђЃ®]ч¦„ + T.м"њУВn—Ьие–М{Ґ°!‡ +1hтЙ 'мЂX!8МЮ„"}а‚<3|Г9з|Ѓ~_|ёаrО;DЉ6*rЃѓmє…Ѓ&фQpBчмрA +6tA§pВbјѓ +€Ѓ +ІpИyО®№аоЃ V#'Й.˜@$"Qmм6 +•2Нlpг,@f<таPЈ”p$~@Ћ(€:ѕШеІђ + +w'аu€Ђ  ЁБЋ +uм@Н'ИB)\2м<0Ґ°GЃF°­i"E6@„!р…(|а2±АЌ@ч”Uк°V© ив+;%\`ъl@Ypж7 +;`Yђ$ђ

    Ы +‹?Z +А ћ@ J + o`ЙрыR1‰а” +”Dљ¤XТ‚H РеYрПжMњ9uодЩУзO A…%ZФиQ¤I•.:X–,@nФj¤„Пџ3V†<Шsf’Љќ&Tc¦cP@ ЃЛЋ1N~°±+ +ђЙZГ'џ0Q"@‚q™·= +$н44иУeДњ<©,„ё”‚Аљ Њш УcєA;фџаВ·єR8РЕ + 1`4HШбЌк"”pB ++tМ‘4є +6Pз$аAЋ4ІСеEZAЎт@ +РЃ¤L:qАњ +_Ђ N:!Ж‚E>° +ub!–<’9ЎТ1ВMRЩ +ъ@‡R$9Ў’ЙАA¦Д†Љ!A‹X`!_D™g…І`г”TF…Ѓ­3Ч|ућжXgћ9HXgІЙѓjмqЕЌ +NpeћTє9В‚>ФСb„Њ0В†,8a!ы‘ +св/В„€EЗQ +ЁТИ®‹uж8Ї}`# + +@а•B®‘ќЮpг4Ђђ@С4(„ +@Pя +ЬЃ рЄq +‡`ЊИЎгђЂ P ЉАБ NР5Ђ†‘A2hщИ‰в­ Д2"0# ,s +pЂ ЎhBЦ00BЭx…м ЂЂ"Ђu'€АмЎ +ђA`™й€p…H  ђ~ +ґЪ„ +t‚;B78Р +Ђ@ +ЊЎ0 ‡+®Р4< +мa€ -(‚‹q +* 00C +6CГp‰?ьЃ LЁГ*ЊЎя +@Ж&Ж RYб @Ђъ°Ѓ +}˜B2ъРЃWА ipВxРJј +sИBЦq[шuуэ.v ‡l#5˜„pi°†5pв +hўdy@ю`Ь? а а#:q +i@P ˜ЂеХ X¤/89ђmHFЃ„u Ђ°ЂpЃrHЂ`†Ё +0 +pЂRPі7Hњ;˜Ђk@x@ р5ђ'z9Ё‚ЂHќ|Њ7Ш31ЃrP„%8ЂpЂ> ZЁ8ЂSC† +а†H‚E`ЃHЂ`Ђ0(x…@‚?;и‚pѓx«&ђШЂ+аЃ,° + +а„я1˜ +ё @‚Nx 0cЃ°ЂP4 +Р}X‚ЩlO¤и‡>D +ёE0bИЃ3шЁ$` X(‚;°…KC»Yђ P…<Ђ‚1ђ…8F‡˜)А° +ZЪЃАMe°‚x +ЂE“0‡$иҐЩx=ђWp„`^[Ђ"и…4РРѓbр‚ +0ґ;JИp‚.0FЂЂЅ;Q/э‰(#ЁЂIѓ°…Mа + +А.ђ‡nёx +x‡#X +Ёѓ:€Ј?@ +€Г +(‡*€ѓ*a¬‚Ј•Ц<їщ*†)РJ  ђЃ +HЁ…y°   аµd`/#Ђ=`¶yР‚d€…p„єЭZQ(†ReђH†lЂ +ЃїЭФа‚8‡±° +З0Ђ‚ L…2 +@Ѓk@@°†8АBeр†EnQ  +@8HЃ(°UH +Ђ.еqЃTѓq4Ѓ=pЂ@„8x‚6юѓvёлЌL%N˜pPа:ёЉ + +Жсc”QHthx°†iPѓQрi3ѕp*H‚:ч|H‚?ИZи†ЃЃ> ‚4X)(Ѓ=‚!Ђ@Ђ$P +(‚1P‚L_F5р +р˜uPkЂ‡kOЖ[€‡WШ†яk˜Ђ  +P +`ЃV0y(Q +!vТІя–‡9‚6ФР +@ H„ZA +(ј iР…!X0Ћp`®°БА4Ў iђА- J8Б у ‚ а„ldЃЂёВсЋнv°CЎ<`ЛyТ(I0ЕАЂЉеma ё!ю@Љ}(Ђ?ЎB#Ћ +,БJXB¤ЎЌ[|@ЦЁВ4фQe(Г@Ѕ0Ѓ4аSXвЯ€Ґ?‚а +рЈћ.}йMОЂ?”`eёА|а+˜e±NM‘Фa +2Ѓ„1ЂЊАF;pрвR +N B]°P¶’v­Цр + Д@Ь¬Љ…”а.Зjѓ",Ўxлh№h†J«]—љAf F)S`µ?ЂБ@(„аЃђўМpЂnЗС )@u˜ДЖвцmPBм0„^¬ВЦи…RPЏ`@Т +АQ‚jФЃJи2r0 %ьЃјќ +ГВ/°РЊ (‚Й~жб]м ‚'¤@ °Ђ`,ў¶ +l`CrE°°~4˜рHЮJ + аЗ/TаЁ“s]iЫи1°Ѓ¤%0Ђ0XD7&q HГЈ4`1RP +IбІ)аЬ§‚0 +•А„,>?ЃNtўdPB +Аn†·Aљѕњ"к0„‹ +Ес[”†пo:ьз/ ИыѕOЂxрч‘oC Ч7у°юВ}41 + +а +iђґ Ъ‚1RRв1PЮ0:t"Y ђґё%юЃо02 +^аo° + +ЉґaТЎ"ШQRѕа"Ф°ЌUj  lРн ЙяаZрP ˜р!`Ќ#V|Д/{  ЫpIШ„3QЂ°ј@ +4@ +uа•ҐeдцG65.g#0І9/ф=.B+P#ЩC +`“ +MPи°б Љ2‘i° +` iР‚Pvр сХ° +і +c§ 9я°yтiрЂЂ +vРђ+РЋЈ;Au +’ +ђ*cђ +Жђ= UАP°ґpGup +ђpАвд‘°uА 2PkрґЕ#vв +Yр!ЃАf(CF”&0J°uнЁtehі&(р n`} +H`‰VgMbhшс. +з + Є°К  +Яp˜/U(0CЧА+Y`G)ЂH N°)oяP +6@ГА +АGЃаН@KҐ!ВxшB b`;ЗJ©ґ юС†" +g@,Yc Тђ  А@±pѓђTђ3ъgш“ц іаm1Тй +дo:r Џ 6(рќ ЧЂv@ +шњЪГ  +Г0 eP pђ ґ@ k@ + +Ю@'˜Ќ#^Ґ“iАпР` +Є +p +“0jЗp й „ђ+TiP˜6 + +Ъ \"‹{ QГ°іp + +ЏdWдE iа“ +xяD +Ё +• +0r6ЯВГ`VЙb"Мa vАk ° ІP yЂ&XїP$—b ЂЧ ° +lјГАc +’@ђip‚ Дг‚bђ’6 +`ЊҐ–0 +yP †p$RФ. :y4Д2dO\фа2 УҐг`Pе ¤@ +˜Т°10 ћ#%D–xЧ­„Ѓµs({ђyрЗ@@ ћyџрєЛrнВ.ч±«МЊp™LP` +ЄuЖР )"ЕќЂЫ© +иуї°ођ) јъ< ¶Ьn+ +–ђѕ‚b¶-ИЗCDцB~ ;S°iђ5°OOА p@ BќTТzSnр їР%Д'!лТ ЎЃvњЩi 7@ +° xр qк#ъЃ.¤=MgЂ 0·М ЯуЭ~°4Р’*\2 +р +Яx‡Р@P +г@ЦЊ +ЌА ЗђХЂNNј°z +p8@*А©р@Ђ™  `ђT НP3»ЯМ 0' ґ”е@1 њЂЎаU·тЪым +™@Л&©Е)PҐC] 0Ђо Шђi°*"Фа+9з{ +p +с¶Q°uў +ЂF0p/Ђ° + p@ +kР}0yp‡n +Ђ +џ°ќd@# +–2 +фРZ@tР УРХv H +`mя За O Рђw3z·r}Ќ  +Њ`u}хQ|kP µ ђh\¶H@ p о ШАдС + +°;“)°}А +f + @ +$°ЧшgЂЧі +/иа{‘кS’a9L‘АЂбLЌ2ЄTсRuЖQmxvиБF =Ж!бAf` t™„"Y`ЋЄЈБ͘Uh60`†ИЕ 5л4&\ШрaД‰O!КN&$C УђвS¦wi~щF*,RґвЧ/1†тHrЖ¦HџM*ѕАйB‡Sя” +{ht83E Ґ:+xT’С&ђ†4J*…ЃЃ%tXf‡FvYyс +ђ B‚ Ь% +`И#ЏX ѓ +bМђ “_Ь0/ +n‰ѓ_BhЂk”ё…„ 0Шkѓ +®Б@ ?Ш Ђ + +7R  +=Ї@<г +^ґ°‡R.ЂC–L‰d;кШc›N˜†WNЂшnју^l• ШP‰>2 … +!\Ё@Ќ#R`c~ш)жЋS йбЃ;ъ8„ +AB№% +Pб$‡8’щБ +Ћ!ЃE%К±)?\ЃpҐЌ2rP` +zОXЃЖahЁ‚Ћzё‡.>Ж†" +2И ЋZ0Ѓ†g¶И% 6оH¤џ'8№d3оx њ\Њ©  +:‰гC° +ВрЕ$|± +„ ІИ„С +c„ Tpѓ;мЎ:6€!|pћ@Д@Ђ(‡фГёш¤ў¦итR‚мpЊв`‚ +Q"?  +U`B$Ц Iр ђЂ7Rђ]Љ! _Ёѓ2 +¬h +мA +w +‹”С€J` ИBљкђ†$%б +ЋЃ‡Ђ@)%ђµ€¬ѓнiЏ=ЌzTьЊ"|yиCѕи‹| 8d-2`ћКc†  +ъ—Cёa(H +HА +DoьВш€‘ +,А +»аА¬q(ИЂќ(@мЃЃQфtябРБ Шу +ц Uі›=L +8! +y(ЃUъ’Т‹шх ђ +p­Ђ!zФ11  +8ы^шZ$љpC4Р Ьв _hЗ„!HјЂ”@䑦ШVP®вWА‘…qЁc€«Џљ2Ґc*pЃГЊF tњбЊь J„$pЌDёЂ6h +ЎDtgdЂя_J +Р_„а0pU2ИJ €F‚:)Љ + +R(И‚=Pа‡m +N$(KЎ"ЌXЂксѓ.°% +<-n"1ЈaшE ± +,­чJЏжvђщеС8¬ў_ p‡М +ё#==єz¦ф…CхЁ=(тgfA‚±зЧЧxО•ўD)aЮ±ZWяљ–0јГuИеbђ†,њacMF'н 0"VЊXЗ|єэqН688є– ¬• +B`5|AGЋ‚)h Qк°00ИБ~DD3Л‹D YшEКe +pвxА†АJ‹“љv˜„#jP°Nѓ +SlЌк˜C!Є`+бЪрBЂярѓ7Р ZИ‚„q‚ш †{уй™‚4€&|HЃBА‚јBВАQЊO ВwР° PbќЁAjР 8ґ +kш + њ +tр +(а0Ћ2Р8iИЂHPЂвІk„H +р„bё/†7ИЃ'АvАtђ +(Ѓ ˜$ЏGџД•‘лLЁЂq0†-PЁљ0 +аЁ„R†O@kа +Rў!WУФ¬”САч[$`“P + +OXш•_(–€ЂёX† + +Р„O ‚kё +HАѕ\Иd"a‚ +ЂDж9дI‚P€д°$8‚,0 + +‚-HЗ˜„—ЭсѓIш +°"ЗЃ]Ђ"А=]џ™R€кu­Аѓ]рw0+`‡&ЂЁ^ +Ш"@XЂ‡APЃDxЂF +€… +hZXXX< +@Ђн7 И60ѓ^ lВn +pЙ¤bѓ.ІІеЌ Lјy!В$0Нљ­!p€"QZ*LhI%ќ“ яfТ¬iу&Оњ:wтмйу'Р B‡-jtи "TфКDВѓ€V$Ѕs‡BўrFpхr°Ґ@ќS9EJT‘ + И)ВD’nОв 0D”(&ћ ШTоA. (pб‚Х(я RЃ Б +:•ЄЌHЕѓ‡ (5h + ЁГҐX§†|"5­„” RО•Ёuф5мШІgУ®mЁ‡*оМp2j†\ё‡ +ёИй Н€¦vpN•»s*С»4ЉЭ»ѓАЗќGк +XАddsБ¶ +*ЊK™°ЏPБJ&Ўс@№(ўВ.@РѓY>ђя?D6рБ°@ДмДC +@ђBК)rp3Д@OњУ‰>P°N„8(Ў…zиM&80Ј¬Р ,@‚„џ­°АЉ +, Ђ + + 1€° +uhB+ЎLТ‡гA&—T +}hq€0TРЌ 0°З9 tгГfА;5ХU»;‚*X`‚&$, Б22z‰Ђ l„2ђDРАђЃБ‰ + +ЂbР(tГ бZ Њ‘‰<В/ +В.вЂ` +АДх +JЉ%hр“а eУ«ЮШЂ4‚ +¶Р +6 `и‡-<аЃnx !`m +ЁђЃ`ЈfЁ +±ЊDш w0Ѓ<1rиў0ЃaUРѓbњbЎPЂjА†Nм@‚8+ +Dа„i¤@W`Д‘C-jћЁЁ +L]ІєсБ Dб`B» +E&±$ВЅ  + +T н ВjQ DЬЎ!рЂi‚bиВ0єрЂ"ё,3¤Ѓ,Р„'цХ, ФљЪВЧб GЛp˜ Ђg +а dE3°q„я>db +Jg:иЧЫкж`!Й>H)¦‰X8AHИ2 BЉePЃ +“АЮаQЊ +Y4# +HђѓTЂwДв°XГ&z0+HG +ЌЕ!!…РУїюцї?юуЇяэуїяюя? +¦  +® ¶  ѕ Ж  О +Ц  +Ю ж о ц ю Ў!Ў!&Ў.!6~Ў>!FЎN!VЎ^!fЎn!vЎ~!†ЎЋ!–Ўћ!¦Ў®!¶Ўѕ!ЖЎО!ЦЎЮ!жЎо!цЎю! ў "!ў!""&ў"."#6ў#>"$Fў$N"%Vў%^"&fў&n"'vў'т`@ \ No newline at end of file diff --git a/podzem/labirint3/1/ly3.gif b/podzem/labirint3/1/ly3.gif new file mode 100644 index 0000000..499b7d0 Binary files /dev/null and b/podzem/labirint3/1/ly3.gif differ diff --git a/podzem/labirint3/1/ly4.gif b/podzem/labirint3/1/ly4.gif new file mode 100644 index 0000000..391323b Binary files /dev/null and b/podzem/labirint3/1/ly4.gif differ diff --git a/podzem/labirint3/1/n1.gif b/podzem/labirint3/1/n1.gif new file mode 100644 index 0000000..d9828d3 Binary files /dev/null and b/podzem/labirint3/1/n1.gif differ diff --git a/podzem/labirint3/1/r1.gif b/podzem/labirint3/1/r1.gif new file mode 100644 index 0000000..1617552 Binary files /dev/null and b/podzem/labirint3/1/r1.gif differ diff --git a/podzem/labirint3/1/rn1.gif b/podzem/labirint3/1/rn1.gif new file mode 100644 index 0000000..ab009f8 --- /dev/null +++ b/podzem/labirint3/1/rn1.gif @@ -0,0 +1,178 @@ +GIF89a`р +УКґ’}aљ†bІ¦’ЉtR©–rQC,ФОБ–‰kI=,3+!ЪС»њЉeўЏpD5;3)„x[ЊyTМЕ№©—yЕёќЄљs`N7cS3D;#siLdS,cZHЂmQqdP[J,"–‹p±џ„ѕ®–ё¦Њp]DПЙј{jB™‡i‰uYxdJИѕ±№­‘J<#dY8+ё¤„·°›­љxҐ˜uЛЅ›F@0аЪЛQE8mdN–€dАє«М»•®ќyШЛІдЩЅukWФЖјџђmЯЬФ|saє® ѓu_НИґNH:WF3gVAОВћH6#WE*ґЁ‡ЄќyЉ|g=7$—ЏxЏ|LvgF…wTўЌ[-(_M+ЧХК”†pЉw`·°–РїќO=)»°ђЅ«‘aVFАёћЮШЗ5)А®Ќ™€rЁ ‹РА¤·¦’ZH&№ІЎeW6}oN©˜‚,!WG8ИВёЖАЁЋ„o^P/O? P?164&SG'[D$?.ЇЁЋ hXFЈџ—З№—Й¶‘wgOG7+‰~p±©˜DD8‡{e№Є– +gО(qRі§Пџ@ѓ +EЁB…-_RpX3ґ©У§PЈ>|“іU+KBЪph)µ«ЧЇ`]Ю4кМ"ф¶rи¶­Ы·pV ¤тФ/ €pАй.їёЂ ЋЄВj+о–Њ*qЛЙЇV_€ьZ2ёІеЛ0щ9ѓ,¤ВИЗ +eшE(aS,ґ‚DђXBB‰_ьВЃR–ддМ­Ь‹§Lив‹2й—‚)TрК/Ї¬ЃЌЅµА-ФIPЮ)ђМуД<¬qК_06й¤G”Му…;*d8CH¦W–XС'D4,дVћ…TѕQЃmВ=©жљQт…~§њ2 +,H0J +ї¤0 + +DђЛHр +> Q'BР`+ґAK-:я*+Ј_Њj +30.%А6ґ‡6Ш!%2О¶ТB5А’ZКTЇЖТш”Р °<'¬н¤ЫGЛd1Г:ЊC Б9,ЬЕБ-`4k –`ЈОs`яM +ХЁ«йґ’EњKёK’€pБЂAЂсъцp№А Nј+I?cЂ Vњ3Њ!ВGпXСБ(­Мр…3o`гњNУ(иE/v‘† +{@’ +=~`ЂVPЂ`я\@Ѓ,dagи +`-˜qЊD +е7ѕ +q€'Hс}! 3И  "-( „°†!Ф +R,s<б +ПњЃ@‚0c3 ЗИA„ +Н¬`шЂЦ ОФаЧгђ0Ч9“ф€ЈPApЉPBР|Ш‘я„ШЎ~ ЗЩf@@¤!`РОЎЪР  ‰8Ж9Э9l°уў/‚v>wЋX,Ў_E1Дм Њfђ@ +лxЗ&О`†ђ#д8 1 +@b +С€А-®!@@x  +kЂF‡j,Ѓу P:рМ 3ЗВђ„$шЏ38Г8Z +„@cе±$*Ђ…ЉЉ  +mђ—RHФ¶†дg±D +-Р ЅpNЂ +|P†м°‰@К¶ X A‚ѕ*ГjxF5ЄБ‡ .“Ћв±„’ЦЏА‚ +v8`KAЊux"|ЁлaО‘РI`(€Г~Ђґб1ъ±D‚Мжѓ!я(8…(0W +ђCГX†м /lB +|рDЃ5€ЊQ|!9ђ0 +ZЁ@SЙ=мL{Ђ[C%@ЃА +jярB^ї +Ё + +K8КMжAl”`KиШhр†ґовA>G!J а +Б(ъPЃqД# †-д'3HМ1ђw-с&gњВ ХKУґ +А)Gђ ] + А + ЅЂNЩ( +x" а4p fЧ‰n *`ИpЭ °Gђ +Сђ Ђ"p1?Ђ'I"ЏmХ +  +ЉА]0VР~U†Е JР-@»ТзP4¤AФБяРС эЂТpsЂZбH IT+ xР +Rg’46‡ ( +- +lал +p•1,@µN( + яђ +кp +†… +й +ГрyщHJ н0?РRhђ=”Wq¬ўРKђNQ00AАK»Y + БЂAзђнРfP +Y@ у8,ђ[єСVAЅЂ•p!@B)р%РJF +p ?6¦fя*0  QЂJ` + з@Pf@…vчв Aхр Bђw Ћр2w # +nђwђ р‚pн ҐIАр-`в Ш*0·P°@iАО@ +№@0 +Y`€‡p–А)р +°0ЁьГЈрѓО +ЃnО°pbЁЦr"а ¦СЗІЁ Л=<шV`И0Q0z1 -РHPWяшLО0КсQ‹ )@L4&Yiђ +pw0№РЋ…'Л@aшжP№`|ДGoPюJnr&1’PЂрР +Е +q +iTnwЂN(Ђ5 +%PЅ`5 7 +pЂPС +D”@tЂ ”Ђ%_p +Нb )я@эЗ5@=xР +0`РpPD0 Й»=ЪҐ !Рt`JрV°lрї`D”@y"¤ DА0° +0 +АK± +ҐPuэ{ДЄд!­№У”4ђwa +њ,)* +мHvp ўаЂ@ +L^уЎ8 +ЂИPrplЂ +WбrDp#ЙЂPБhK“P=PрBЉ +™Р +`P%ЂwpFЂ +°ЃтGЈ7$Ј¦й– ‚ЊЅ’¶Ѕ0Ђ +fя0о@3lђ!оБ2¦LАёY#ѓ0]00Рx° P¶шђ, +0_іJ u@ќ?`OР +cђђhАа41G(в· +7яpаT ЄЂЋ+Вн(Ы ?АRJ?РЖ< !рY04 2Ш0l@з°а’ђ +РЈ" +–ЮЋBJH0 +3ЂP0°<° t ©BeбЌbўэ° -pB*Ђнр†Ђ¤Ј@щрщp …D`z@ш •РE +*АЕђЂВbзCРђа 4ЄЛPђ +p0яР +]А€’$}°З'YђuЄр+А ++ 3РІХ®&fрpйаl.РsOҐw +  ­›Дад +Ая°¤)0а{ЉVCђ + 0 +`Y°>†@W±VpяРub tЂ( ыwђцйА˜Ђ +3Rph±Р‰f°Бta’‚!А¦9Ё^ј +/† З>0$†CTp&3ю˜Б"€˜ ‚‚Ђ6Pщ`ЊH.`@Ѓ6аВ(2 Љ"yБИйрI(Ј”Т'sсвЌmћxГЋCж‰б +bшЃ3Оi'!–ђ ЂО№Џ˜$ќ +8 SV $ЋAЖЂб9‚љrPB -ґ+:@яг +-;0з c DтР‚†,О1„$и)бњ?љ0ЊдЙ&‘и¤ +А… µхV\ЙЫ@ +Кh@Љ#z¦‚щиSbhш!џ$ђН +*ё/˜,V9g)3\ИгЂёЂ +F(Е… +V "Ћ.ѓЌІ BjВ ПU‰0”р‚;ћQf˜5ћ@Ј%Bивr gѓЄа† Њс $Ю0dM`єV„ +7–С@‰рX†H ·эv)±D˜)ЕЋ0р‚|М + шЁБЉO°!-  + HО`@Hб +$A$PB5Мс‹WhP‰K¤‹'6 +]ЁA иpЋR q@ +?@Ћb8В+Ш@$ИђBДБc€В2#Ђ‡‰{дгN\ Op!°ѓ :@ +xАш„ + +t`n ‡1,P(@ ° яdЂM(@˜QX†Sњ*qЃ6± +®БЈvР +¬‚ +@АБ +ђЎqђ!XЃcДa 'И Q т‘|а‚x |…Y©0’ђЂ„ SeЃ<ђ +д!]ЁВ.°Г8b˜ +`m +о… +7ШЕ• +ќ+\" +ЋшYИАgм!/HBlpѓ^ZЦ†ZF9аrl#прB ђ°‹'ARm= Ђ'Pв  А~џIa]XuцМ +.$T80kpO ` B&рЋr  +шђ0€BВэр'Ў рBZ +hХaЁ‚і‘ +¬ў˜ДЉqJF$а繆4P0рБCР˜‘WL +Qаѓ˜Zа„ +z~цтёп.п–б(Bp(Б° $ДC ЈXVАCР ! Ђ"pЂ9< 0ЂБ +:фЎЇ~А>Q„@б,+аБ ЄяЂЉ +–±Љ фЎЈґҐ$И@ИP„€АЧ*DaUЂ6p!9ИЃ џPE36а#”АшуЗ аРЂ(°#…Р@ШBрrX†«iЁ`0 +pH˜ +€°Ѓ-аn`ѓЬCSґ %X+`Iш +x„ёѓHzP6  ‡ip“ « +Oр3‚G n +иr„J– +x‡8 ‚O +иЄ ЂИ˜Ђ hЃep4€‚?Ё‚;`ѓpf€2 +РЂe@ ђ3аЃSЂ{pѓ0`…Зв{(oxМЇфЃ °ЂFия#Д+±‚|°Ђш +˜Р†<`Ѓl¤~і%`„bр…1`bАM +И *†OёЇЂ + .8ЂD` +°ѓ(@%ђ%hЂ`Fа*ШB˜)А„p(АИ +и3иjш)ђ‚ 0­08 +яр†x|hѓ(Ѓ< +%…cxѓH† ЃTёЂ(ЕѓN˜ЂnhLr†RЂЃ,`ѓ(ёѓI + +!¤|uЂ шѓh +(„tа„EёPЁY`†GИЃrш +ъш#ђAІ„H*€р’ѓ,DгАєё’Љ»аЂЏp\Ж +I BЖ +3р±A2˜ Ђ¦9'ќuЦ)Л€X /С q)¤€!Ж}фSОђcA$ а`КRxЙE0 +­ы¤вK4ЩL!ЋF€!‹˜ЎО$tмЖ.ђK 0† +;ь°Hќи‘C*ќ8 +G`L¬0яИ +Еl°Б 2Ф2S +ЛР +"A€“CИ@И%3hа "ђsD{И±‚X#П T ‡Л=\ рPАBЛ=wЄ>¤ўG‹€#†9ђВ„вЂ<аJ2°T3-|РE0`D.ЕЊ + €2HЕ€‚“lрА s8BЛ0<Ђ:цЩ#HN*5¤/®ЬPЗ>D)x#ЖЖhGП-DРЂ«дВГЫ/Ь я „C60Б€l Сид`—H…jЂЋiмГв‚ёЂ€ Ђ`/аД%$а3Дb’hЂ#Љр + §мАpшЃ"XЂЏ?8ўЂp + +› F’ +Щ€„VQХ@ b°¦M ѓЂ;xЗ#ёВЉђЋbX +±ѓ=Ђ sё".P +ТQЂDdE +&аЭЂ#E‡?˜р tѓ«Er~fЈИ2АБ©ѓm§ !qђP‡LвD˜C,@g +їbЂ‚ ј"мmП 77ё8pя‘‹”ua%°>Сѓ=|"7А +шИCЖ`Ќк­b +ў ‚ЂгЩРГИsЋ =cЎ-,*” +’EЮї8Lc"Ш±‚(Pа=И@Ћ ЅЕs-QH@"1‰(ф« “( +и†:дџ + r#@ +\АF F”ф’^а?Д‚9a Кr`@ \ No newline at end of file diff --git a/podzem/labirint3/1/rn2.gif b/podzem/labirint3/1/rn2.gif new file mode 100644 index 0000000..6f88264 Binary files /dev/null and b/podzem/labirint3/1/rn2.gif differ diff --git a/podzem/labirint3/1/rn3.gif b/podzem/labirint3/1/rn3.gif new file mode 100644 index 0000000..451715f Binary files /dev/null and b/podzem/labirint3/1/rn3.gif differ diff --git a/podzem/labirint3/1/rn4.gif b/podzem/labirint3/1/rn4.gif new file mode 100644 index 0000000..e1219d1 Binary files /dev/null and b/podzem/labirint3/1/rn4.gif differ diff --git a/podzem/labirint3/1/rn5.gif b/podzem/labirint3/1/rn5.gif new file mode 100644 index 0000000..ff5a7ca Binary files /dev/null and b/podzem/labirint3/1/rn5.gif differ diff --git a/podzem/labirint3/1/ry1.gif b/podzem/labirint3/1/ry1.gif new file mode 100644 index 0000000..b8140eb --- /dev/null +++ b/podzem/labirint3/1/ry1.gif @@ -0,0 +1,197 @@ +GIF89a`р +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛ·Ї_—$:1UвЇбџb€%{р J•юЄ |0рqІЗN.SюG Б‹(ў@vвдН¬Л^ќrЬ,1ў˜:=‹˜)Ыbбr¤Є±7¦Я|€eк¶ї(QL#Е8ж; `·®ЭѓUњ˜я`Н}d‰ +є_мя˜U!щ‡vNь•€Rb=ыц·€mSeeК„њLY°°юG»vёицѓ,ъ¤іОё¤“NtзаFёЫ°ЂН" +њp".>р‚M4c +;Ђ$А‹:аA4ЕГ?7Ў?ф­fаЕоЂl +VрЕ;¶0SoЂb§}ДЖр +а!"ШД‚°јL„Шbђ@;Р2-Їж9&0… +S‰)м +CИ +$ЂЋ!€@- ЗVV‚Е€aШ‡ЃgO!IWB рB +pp;ХЗDЗ¶аcoXчПcа©/ZДà аEиqєDЎPшя6L¶0„`|аЬЂ‚  ШНњ@ё#pс ‘uеxД#РqEЎ+A 2UkTр„1x@ јHЎ|Н +†H‡Rю—фNађ№єVь‚”•Аcв +Ї_аUpЈЋ0ДХ‚<„-аЎЮАоpБЗwF ИЂ“Zб<а8ЮАuї0!‹=…Мг„ pШЌ1ю`1nБѓ„pљЬXЗюМЂoґ єѕ 3|ЃЋ`ЊtјёѓЂћ  §\NРXгывt€`8C dt +јЖяlР)G8rЬ cёыЅxА<И9H@($ѓH†?PґЃ7$ѓ4ю`*т +ЙАѕІ +еQo` +Q@ДYo`—Nђz рЙpДcЬ~-0Йал§NаЙ` +›сЃxб4cн +фр@ЦаЦpђTI˜TI‹TI/ДIЋяAIЊС€p†@прЏPP„VаVpz€Џ /фtPА°\ +QР=йЎ«рTToЊ” ·PUpNP‰‚XФРNpU°†3 +А + PАKА +Уp,Р%я± +ЇБ + нР°н`НhА 30_А L0pL  ° +2` ` љpо +]p‡а]‚ +•3P ›Ђgа9аЄЂ5• +кт0ё`л°–Рmё +?ђ›™’ђG@ ‡°ЇГ&oа)iЙЬАjтu +дPњёЂ.мђ;м0P†ыі’W}с% +©АµрzЩdЋ‡© +аc +Е °GЂH9&ё@ф`p. ™ьf=04#r +O +ЬPZ™ _а@MыQ tpџй4PЈo! +¶а +"Р‡°‘І$  ҐІpИ Ґ"AыБТF њА"Q  +vжІў6р•A° +Ы@мp"юЃ ,і·б¤ +ъ +¬ђ ]рbрђЄА)R а-Ћ3аА QPiл)†Ф Pv˜ѕА®kС:Љ№ђp%Џ €G  +С"7EЪ +а §С'`A +F››Ф€епр g@ +G`%аLШµђЃ".ШшBЊq°·ађдыюр +¦U9Ђ¬µ`hРhpy ]  +љЂЧ`‡а”7ГрмЂІё° +Єђ±°±e'P©уРЅЂRАw0№g±PPP25[р С ‘ЕАp3єц@7а љP˜Тяv +Н@ +° +#``mш! ¦ђ ёPЌЛе± +ВёђЫr + а ц`.а'ё0B; A¦ђЫ° +'І*ЄP°NА ма$а0™p +, +ћ Pp&ЄІiЫ@B¬Љ§l2Q Ьа +yЁИa![ +#7”†,mNкЙҐвр›ДРлр6° +л§QюаЭГт•6А¶g +р +атj]ѕp +"E$µґ)d–"ТTД°sTиFеp +Ъх љА +ҐІ +?‹Ап`Н{°Ћ0” +О X¬u/ ” л` +ѓњ +Й0 ьUЏЅЌе\¶ 9 c0qЏЂ +њ@ЗСlђя +Jа +^ +¤apІ·` +р8B™ +УP ++KћРЄйbP +h +ypа)йpЋРЃюp˜яg‹§P ѕP«ћ( &`( +БаF3 н@7ФяьДђђђЈbН‡ДаД`д;А ‡за`Ґ«рйХ\›Рx~§pEШ€•4IlВ“ж†` +А +`ЙPы™¦°О6°ЫР`°рeNђ·Ќ±··pbpзҐ^JО +Џq°Њ‘„З—€•Ti*ёи®к];оП^A`р ‹` к°2P +ђ +)ђ +`_pрDM +rP +ађ л 5$?t p]0 +,? +ђn +Р +В"йPЪ +“л +KЮхQqфа +‘рbї  рСњ0€¶Чw +гнДђґ<АлАq`еЂ‡й}"tP` BЂ +KҐшOAп ]0›а + n` +м° +n +RБ'pм&”(1ЛМљ +*сXЗН ЃM:ђ4шЧТеK˜1eО¤YУжMњ9uодЩУзO A…ојРL[ 4xдњQ aT +Нd,в·bF4L,6№@cбЗЏ +( Ў…:acЂ!РЂ¤Ili 8 +X(Ђ•t,˜ЕмЪБ‹ +|QA—L`тPDUя4(Θвљ* + г +9ФтВђUЋ8в +Мр3 +<Ёd“IАђAO ђC +zиaз”Ћf)ᬩ‚Z°Ж€цыoАkZѓ (hВ{™Ў[ZЁВИч¶Б +ф" @“XB @Ћёр"ђЃ +Ђ` +ё Ђ:ФA cЂѓА(бT"&ЂГ +PЂfЃМ°ЕTСЊ +A +™ З‚`…-,‚ `ђL‰E4в Js`‚ПYае Ѓ†Ja‹А:P kXаЏ°‚5Д°vњб…"0@3hшF8&€WЏР‚XС‰3HАPШB @…HdO] +p +ЬИа1‹( + +%<В#еjWebЌw€  +-pБИ!њA ˜ +" +$а .њА›Ё„&А ¬я…НаEјzYЇ®Ў +°‚ +Ђ8@)˜Q‹8ИЂ +WЁ`˜Ґ®H·А,jИb ++¬„ѕЂ‡=D‚ +@XА"Ђ`Й 6Ј + •^…0 +ђDxa`АС[0!'hД&"0.шБХe°9§±€А +P‚/КСМ +„FXЋ,ААћЂКhР»ЦЭ¶РWЂЇдE0ЊфЂ¤ШQ‚ +Ш‚ /p@^T‚#¬#иИ6ЦЊЁљЃ°њ + +ҐB@laн°‚60Rґ +b>:2А +:аЉХN +h(pgш‚2иpЃA@Ђ(Ђ +Ё„®YЧЈёvи‚P@ѓ +Sљ„K°‹G`Ў7яH H0 +˜ѓFЂ‚SpФаЂЂM°SL… |°K,h\ +ИTgэ‡$р‚ +(†g ,°„А<|Ў‡!0ЂНЙЂ5 +8 ˜‚QCЂX° +Ё?© +ђѓ9И(.@ѓh(#@‚…ё^=ѓ ёЂ.А‡k=KРЂ2Шѓ +p + Ђ>°„A`€]А!°ІR„ +аЂ%…&h‚6Ё + + +8Ѓx ЃAH‚я€†$р|`$°Mё„l‡ЙVJАm@ Р†gmЂUh +РE%r"Иш8!РЉP°P +˜` Ѓu'шаO=p«` +ШqmOCяZ‡6`6e˜©GиTР +ђ‚|„BАy˜BђбШнѕЃ @…Ш‡^pр#Џ!Шѓ˜ў [Џ2Ѓ0Fx"x…VPзЧ‡Б6иZ8†ehzZЂе0 …ZиLАЂиЂNЃп‘fpѓh +4и BDў"G’,iт$К”*WІlйт%̘2gТ¬iу&L,ЛhхiУ§И +Y|уппя?Ђzmа 4бР‚E8!`AБ}0# x3М + р“Д3,hRГ +lдsL:иА†»„СJЂ=ъш#ђqЖ8ќ †D4X’@ЎИp +WЬRђyк№'џ5…Р :gLЫ%ўфЎ +М°€E4 + +8 0 +˜qВ8 @\D$ +:кАЩ ‘ХјўѓЪҐ›~v—\2 +‚р±Вйб‹Џk!¬~ +чoЂ$0ЂJ``X°G– Ђ>€Б ѓX‚,ZP†6( +(€@ Б‚¬°†E, ЪђЂ7”а +_xЂдђ;@ЁЕ-ц +H„(–P„p цЕ +QФ +H®1ЉмВ]э)PM†>(ґ б8†"љ`„c„>@љѓ,˜ +—@ +@B@Рђбђ|€ +?Y¦%±„%HЈ pѓ& Ф`aEРCqЋФЂ аѓM +ЈрЃЅВ(ЉО$`АЉ0В(2 "Ha +ЁЃ ІСђђѕ ђм(@ a„6 HЉђ +2˜ +Dб +€h«".±Ь +ИF6ЬБ +Y°W8 +Mik% +pА2 +FЁЃa{ РќImD*X 7dChЖ †R>bIHВ%ъ‚6Dcs5AЕ-сґ%aџEЂ4Ра  KИjHsЋsрchpAx4Б{pАE  +ђA@°wґb0pѓV°-5Bd:†&Fаў6$aЌ№@,є‘‚¤Г8Бт@Ѓ‰9 7P@„.ч•Ґ@eB6h0Ђ|Јз ЌУTC \ No newline at end of file diff --git a/podzem/labirint3/1/ry2.gif b/podzem/labirint3/1/ry2.gif new file mode 100644 index 0000000..8aeb1e7 --- /dev/null +++ b/podzem/labirint3/1/ry2.gif @@ -0,0 +1,210 @@ +GIF89a`р +ujR¤њ‹D8"{jK4(<2 p[:‚uaЄ¤“Љ}j“‚d9+5%(kdUTI1dYAZE)RA#I=(«ў‹aK+|pUњЋsaN1znZK9R>#wcD‘„qiS3Ає­\TDseP +…|gdX.%TB'+eU=xiUP;# +JґЁСЈH“*]Кґ©У§PЈJќJµЄХ«XіjЭКµ«ЧЇ`ГЉK¶¬ЩіhУЄ]Л¶­Ы·pгКќK·®Э»xукЭЛ·ЇЯїЂ Lё°бГ€+^Мё±гЗђ#KћL№Іе˘3kЮМ№ізП C‹MєґйУЁS«^НєµлЧeщY +.•Ћ¶”± +4^(Л„hL-uЁз +јић вИТFWxH9ђ( +”Њ Б$љE|e8РҐmPA-{\бђшиВR2 + д'pQ #«Њ °Чет§,Ы’Ва#м°ЈЈ$!?2„М„з,{!‚u}Ш-B"аўКЛeњэЫя@RЄ¶FС°8Ђ¤R&0p]ђР?Ч[ДQ.~°ШY +#pн†x+ЗTЂ}06а™†‰wP ї"шt«ёб Le™|#ГсДA0Ээ¦poаm +$г˜3# +§<М‘kї±Ѓь:еб;р¦ая +Mр*ђ ++S + €8w`i@k +рГ cрmLњ ,°?РА@ +‚О0“0 k" +”=iP9°Jрђ{ Fp’aЂљ` +’ў +Хў …Р +wђvrР.ј1`тФ wРМ0џ¦°Ыа §`{8°+0 +й?r0>Ћ oЂ +ё`’РеђРЂ’ђлрЌ@ +а +ђmЂV0рдBПt\P +Ѓ/шжђ-@ +р H0Лz +Гк€#IП>=ИЎаЂSN`˜0уS”aµьш©еСД-рT0 +њџ+=aЉђ >8кХ;СйkШ±eП¦]Ы¶яPё%“ +YLXѓ„"ЮШ` +¤ИB>>а„џЫ:фрCCС' +СЗ‚|УЂoљш@ _.IГ4*Рh‹tТb iз +HЮJЗТY +Ир +>0 -ЦБ¦€DL(PHІЂ††1є‰а +РКАGРnИ!МhЗ‚!Т €,БTq$G щd‘uДE“\%д +"HюhГR– ҐMкtАRЪYа +G†р`€F§]Ц? „ФG¤ђX)¤‚E€@АЂдЃ +\`oшАq¤Arи†Ря-ґA +ђђ‡@жkД'(PБ‹љHG¦АЂN№ Ђc$cYаЃh$Г“XE) €…ргtxEp КA °†М +Д0‚"д‚ ‚!aCа7B"њPИ°€ГРqА@PtP`„BЌyLПY@Ќ ґЂ)О 5ёЃx +ЂЉ< + ЁЉд‚ +ЊЩДЪpC\"CВdHќ(Pў Р„І@pФ" XC›ё°†ЬA +Ъё +D$vh zp1АаЃ–С‹і>B  +eTаЦИБ Ц†( b°ЭC ~б;А"µ`АдPBЊ p‚ьЂS˜ +[xЛ.K•#и”J +ЂD$ђѓQЂаЈаеqЏ‰S€nD:=љРЊ.ђЂFя€Г0Кђs*‚CpAЉ% +D 8Z(•€)–RIk˜р‚U)BЈЃQјЄ˜>¦tҐwsЊЙ@‚с*а + Бz.ШВL Ђ-HKХ1#’P +-\eCІt»ЭэЏF­hЃ”А>‚ tШД Л,њe_m …я *P3\A¬АѓY k” 38A6X0Й B{„•µі \d2~nЁ5ў0qЊ блz–$xP‹3Њ -~"НУБ +я]U¬ў€H…ФКh +HИ +[¤ШВ2¶і…-dБe:2RЛXе)G8аk ‡jя 3˜Ў%ёB Qv3°ВѓА &А±Л+ЕэїzА,0GZр… Њв5˜Ђ+\ЎТzф +ҐDђАЏЃDШ + +А8 А‚Ау +^ ‚ +h +°ѓTА‚8€‚x +€†}`ЃUр +шMPЂЭСёКЂP0h"LЁ„Ђ +ё`ё„K€ѓ^0‚RPД  +^ђЃШ*€‚=и.zЊКњ9) `…°ЂLі#И0XzHѓ +ЛЃ x2Щкe@‚G(ѓZ0-иH0(†.р+€  ћHВ"БLЂ ЕИЂ @a»X’^&XБ0иG'„ЂњЊAyША%ЮЂ„г@Г–@†t" +ЎЌ4!№TАЃВ8УAЇрЃLёѓoоЛG&‰| А*F":1Ќ мBfяXџ30 +Tґ}§ Д Д`· +Ш!;\ђК#µжґ±Ћ +Qh …54@ +сx ¤“ +@jкаB*ЬТ€1Мв +(C@A$ўk`C +д#–PДяоP†ZФ‚†„раѓБ +…ЛѓЁрUcђ + Ђ +D,: Xp@КЄ`°[|#JB!±†5ЊУK|Р@0bV)p4ёГяќ;HЃЃИJnА oЬ 7рБhЬp(DўyB} +Q„Ъжбё†р  РQ ¦ «™Ї`A„*А‚Ќл„>й ]ЬeЧ…Е€ЂJдV Ы*ЁIЂ@•аВ ЃћEАBЕи +p~ +€D“7аМBлH№ +р`!4ВЗB>д\ +p-uРАC!–бо"iи@1ю]Њ™ѕСR0Еђ@oH#+ ёД8@Є +­A!АC# +QЂя"ИAЭР„ьAо8‰ш(рD)@аA6 PЊЬ" +p@>Ќ.9A”‚Ы3@Uq …ї>Ћџ +t P +® ¶  ѕ Ж  О +Ц  +Ю ж о ц ю Ў!Ў!&Ў.!6КЎ>!FЎN!VЎ^!fЎn!vЎ~!†ЎЋ!–Ўћ!¦Ў®!¶Ўѕ!ЖЎО!ЦЎЮ!жЎо!цЎю! ў "!ў!""&ў"."#6ў#>"$Fў$N"%Vў%^"&fў&n"'vў'~"(†ў(Ћ")–ў)ћ"*¦ў*®"+¶ў+ѕ",Жў,О"-Цў-Ю".жў.о"/цў/ю"0Ј0#1Ј1#2&Ј2.#36Ј3>#4FЈё \ No newline at end of file diff --git a/podzem/labirint3/1/ry3.gif b/podzem/labirint3/1/ry3.gif new file mode 100644 index 0000000..1f3d854 Binary files /dev/null and b/podzem/labirint3/1/ry3.gif differ diff --git a/podzem/labirint3/1/ry4.gif b/podzem/labirint3/1/ry4.gif new file mode 100644 index 0000000..3d839ea Binary files /dev/null and b/podzem/labirint3/1/ry4.gif differ diff --git a/podzem/labirint3/1/stok.gif b/podzem/labirint3/1/stok.gif new file mode 100644 index 0000000..8849bde Binary files /dev/null and b/podzem/labirint3/1/stok.gif differ diff --git a/podzem/labirint3/1/v1.gif b/podzem/labirint3/1/v1.gif new file mode 100644 index 0000000..4f467a3 Binary files /dev/null and b/podzem/labirint3/1/v1.gif differ diff --git a/podzem/labirint3/1/yo.gif b/podzem/labirint3/1/yo.gif new file mode 100644 index 0000000..3de8963 Binary files /dev/null and b/podzem/labirint3/1/yo.gif differ diff --git a/podzem/labirint3/111.gif b/podzem/labirint3/111.gif new file mode 100644 index 0000000..fda3030 Binary files /dev/null and b/podzem/labirint3/111.gif differ diff --git a/podzem/labirint3/12.gif b/podzem/labirint3/12.gif new file mode 100644 index 0000000..8cc2e3f Binary files /dev/null and b/podzem/labirint3/12.gif differ diff --git a/podzem/labirint3/122.gif b/podzem/labirint3/122.gif new file mode 100644 index 0000000..7d2be7a Binary files /dev/null and b/podzem/labirint3/122.gif differ diff --git a/podzem/labirint3/1_l.gif b/podzem/labirint3/1_l.gif new file mode 100644 index 0000000..7edd8fe Binary files /dev/null and b/podzem/labirint3/1_l.gif differ diff --git a/podzem/labirint3/1_n.gif b/podzem/labirint3/1_n.gif new file mode 100644 index 0000000..107b103 Binary files /dev/null and b/podzem/labirint3/1_n.gif differ diff --git a/podzem/labirint3/1_r.gif b/podzem/labirint3/1_r.gif new file mode 100644 index 0000000..2007490 Binary files /dev/null and b/podzem/labirint3/1_r.gif differ diff --git a/podzem/labirint3/1_v.gif b/podzem/labirint3/1_v.gif new file mode 100644 index 0000000..9394d08 Binary files /dev/null and b/podzem/labirint3/1_v.gif differ diff --git a/podzem/labirint3/2.gif b/podzem/labirint3/2.gif new file mode 100644 index 0000000..44ed682 Binary files /dev/null and b/podzem/labirint3/2.gif differ diff --git a/podzem/labirint3/2_l.gif b/podzem/labirint3/2_l.gif new file mode 100644 index 0000000..4c88038 Binary files /dev/null and b/podzem/labirint3/2_l.gif differ diff --git a/podzem/labirint3/2_n.gif b/podzem/labirint3/2_n.gif new file mode 100644 index 0000000..1ce2955 Binary files /dev/null and b/podzem/labirint3/2_n.gif differ diff --git a/podzem/labirint3/2_r.gif b/podzem/labirint3/2_r.gif new file mode 100644 index 0000000..a92e37e Binary files /dev/null and b/podzem/labirint3/2_r.gif differ diff --git a/podzem/labirint3/2_v.gif b/podzem/labirint3/2_v.gif new file mode 100644 index 0000000..73c1f72 Binary files /dev/null and b/podzem/labirint3/2_v.gif differ diff --git a/podzem/labirint3/3.gif b/podzem/labirint3/3.gif new file mode 100644 index 0000000..41f20bd Binary files /dev/null and b/podzem/labirint3/3.gif differ diff --git a/podzem/labirint3/4.gif b/podzem/labirint3/4.gif new file mode 100644 index 0000000..11def9d Binary files /dev/null and b/podzem/labirint3/4.gif differ diff --git a/podzem/labirint3/bg.gif b/podzem/labirint3/bg.gif new file mode 100644 index 0000000..08b467d Binary files /dev/null and b/podzem/labirint3/bg.gif differ diff --git a/podzem/labirint3/diz.gif b/podzem/labirint3/diz.gif new file mode 100644 index 0000000..04cdb0a Binary files /dev/null and b/podzem/labirint3/diz.gif differ diff --git a/podzem/labirint3/gad.gif b/podzem/labirint3/gad.gif new file mode 100644 index 0000000..6ee9947 Binary files /dev/null and b/podzem/labirint3/gad.gif differ diff --git a/podzem/labirint3/index.html b/podzem/labirint3/index.html new file mode 100644 index 0000000..681796e --- /dev/null +++ b/podzem/labirint3/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/podzem/labirint3/key1.gif b/podzem/labirint3/key1.gif new file mode 100644 index 0000000..9e268b1 Binary files /dev/null and b/podzem/labirint3/key1.gif differ diff --git a/podzem/labirint3/key2.gif b/podzem/labirint3/key2.gif new file mode 100644 index 0000000..4db2415 Binary files /dev/null and b/podzem/labirint3/key2.gif differ diff --git a/podzem/labirint3/key3.gif b/podzem/labirint3/key3.gif new file mode 100644 index 0000000..b1e4838 Binary files /dev/null and b/podzem/labirint3/key3.gif differ diff --git a/podzem/labirint3/key4.gif b/podzem/labirint3/key4.gif new file mode 100644 index 0000000..b9541c9 Binary files /dev/null and b/podzem/labirint3/key4.gif differ diff --git a/podzem/labirint3/key5.gif b/podzem/labirint3/key5.gif new file mode 100644 index 0000000..d28362e Binary files /dev/null and b/podzem/labirint3/key5.gif differ diff --git a/podzem/labirint3/key6.gif b/podzem/labirint3/key6.gif new file mode 100644 index 0000000..fbdf86d Binary files /dev/null and b/podzem/labirint3/key6.gif differ diff --git a/podzem/labirint3/key7.gif b/podzem/labirint3/key7.gif new file mode 100644 index 0000000..d3fe5e3 Binary files /dev/null and b/podzem/labirint3/key7.gif differ diff --git a/podzem/labirint3/key8.gif b/podzem/labirint3/key8.gif new file mode 100644 index 0000000..d181bf7 Binary files /dev/null and b/podzem/labirint3/key8.gif differ diff --git a/podzem/labirint3/key9.gif b/podzem/labirint3/key9.gif new file mode 100644 index 0000000..c71c7aa Binary files /dev/null and b/podzem/labirint3/key9.gif differ diff --git a/podzem/labirint3/krisa.gif b/podzem/labirint3/krisa.gif new file mode 100644 index 0000000..fa20a7f Binary files /dev/null and b/podzem/labirint3/krisa.gif differ diff --git a/podzem/labirint3/luka.gif b/podzem/labirint3/luka.gif new file mode 100644 index 0000000..3c31d71 Binary files /dev/null and b/podzem/labirint3/luka.gif differ diff --git a/podzem/labirint3/maps.jpg b/podzem/labirint3/maps.jpg new file mode 100644 index 0000000..942611b Binary files /dev/null and b/podzem/labirint3/maps.jpg differ diff --git a/podzem/labirint3/mart.gif b/podzem/labirint3/mart.gif new file mode 100644 index 0000000..3a4eb8f Binary files /dev/null and b/podzem/labirint3/mart.gif differ diff --git a/podzem/labirint3/merz.gif b/podzem/labirint3/merz.gif new file mode 100644 index 0000000..8cc2e3f Binary files /dev/null and b/podzem/labirint3/merz.gif differ diff --git a/podzem/labirint3/move.gif b/podzem/labirint3/move.gif new file mode 100644 index 0000000..9857164 Binary files /dev/null and b/podzem/labirint3/move.gif differ diff --git a/podzem/labirint3/navi.gif b/podzem/labirint3/navi.gif new file mode 100644 index 0000000..b555545 Binary files /dev/null and b/podzem/labirint3/navi.gif differ diff --git a/podzem/labirint3/nazad.gif b/podzem/labirint3/nazad.gif new file mode 100644 index 0000000..5beb109 Binary files /dev/null and b/podzem/labirint3/nazad.gif differ diff --git a/podzem/labirint3/obit.gif b/podzem/labirint3/obit.gif new file mode 100644 index 0000000..fa77ea3 Binary files /dev/null and b/podzem/labirint3/obit.gif differ diff --git a/podzem/labirint3/pauk.gif b/podzem/labirint3/pauk.gif new file mode 100644 index 0000000..64b09f9 Binary files /dev/null and b/podzem/labirint3/pauk.gif differ diff --git a/podzem/labirint3/podzem.jpg b/podzem/labirint3/podzem.jpg new file mode 100644 index 0000000..cae25c1 Binary files /dev/null and b/podzem/labirint3/podzem.jpg differ diff --git a/podzem/labirint3/podzem2.jpg b/podzem/labirint3/podzem2.jpg new file mode 100644 index 0000000..ab8bb9b Binary files /dev/null and b/podzem/labirint3/podzem2.jpg differ diff --git a/podzem/labirint3/rewet.gif b/podzem/labirint3/rewet.gif new file mode 100644 index 0000000..5353b0d Binary files /dev/null and b/podzem/labirint3/rewet.gif differ diff --git a/podzem/labirint3/rn1.gif b/podzem/labirint3/rn1.gif new file mode 100644 index 0000000..ab009f8 --- /dev/null +++ b/podzem/labirint3/rn1.gif @@ -0,0 +1,178 @@ +GIF89a`р +УКґ’}aљ†bІ¦’ЉtR©–rQC,ФОБ–‰kI=,3+!ЪС»њЉeўЏpD5;3)„x[ЊyTМЕ№©—yЕёќЄљs`N7cS3D;#siLdS,cZHЂmQqdP[J,"–‹p±џ„ѕ®–ё¦Њp]DПЙј{jB™‡i‰uYxdJИѕ±№­‘J<#dY8+ё¤„·°›­љxҐ˜uЛЅ›F@0аЪЛQE8mdN–€dАє«М»•®ќyШЛІдЩЅukWФЖјџђmЯЬФ|saє® ѓu_НИґNH:WF3gVAОВћH6#WE*ґЁ‡ЄќyЉ|g=7$—ЏxЏ|LvgF…wTўЌ[-(_M+ЧХК”†pЉw`·°–РїќO=)»°ђЅ«‘aVFАёћЮШЗ5)А®Ќ™€rЁ ‹РА¤·¦’ZH&№ІЎeW6}oN©˜‚,!WG8ИВёЖАЁЋ„o^P/O? P?164&SG'[D$?.ЇЁЋ hXFЈџ—З№—Й¶‘wgOG7+‰~p±©˜DD8‡{e№Є– +gО(qRі§Пџ@ѓ +EЁB…-_RpX3ґ©У§PЈ>|“іU+KBЪph)µ«ЧЇ`]Ю4кМ"ф¶rи¶­Ы·pV ¤тФ/ €pАй.їёЂ ЋЄВj+о–Њ*qЛЙЇV_€ьZ2ёІеЛ0щ9ѓ,¤ВИЗ +eшE(aS,ґ‚DђXBB‰_ьВЃR–ддМ­Ь‹§Lив‹2й—‚)TрК/Ї¬ЃЌЅµА-ФIPЮ)ђМуД<¬qК_06й¤G”Му…;*d8CH¦W–XС'D4,дVћ…TѕQЃmВ=©жљQт…~§њ2 +,H0J +ї¤0 + +DђЛHр +> Q'BР`+ґAK-:я*+Ј_Њj +30.%А6ґ‡6Ш!%2О¶ТB5А’ZКTЇЖТш”Р °<'¬н¤ЫGЛd1Г:ЊC Б9,ЬЕБ-`4k –`ЈОs`яM +ХЁ«йґ’EњKёK’€pБЂAЂсъцp№А Nј+I?cЂ Vњ3Њ!ВGпXСБ(­Мр…3o`гњNУ(иE/v‘† +{@’ +=~`ЂVPЂ`я\@Ѓ,dagи +`-˜qЊD +е7ѕ +q€'Hс}! 3И  "-( „°†!Ф +R,s<б +ПњЃ@‚0c3 ЗИA„ +Н¬`шЂЦ ОФаЧгђ0Ч9“ф€ЈPApЉPBР|Ш‘я„ШЎ~ ЗЩf@@¤!`РОЎЪР  ‰8Ж9Э9l°уў/‚v>wЋX,Ў_E1Дм Њfђ@ +лxЗ&О`†ђ#д8 1 +@b +С€А-®!@@x  +kЂF‡j,Ѓу P:рМ 3ЗВђ„$шЏ38Г8Z +„@cе±$*Ђ…ЉЉ  +mђ—RHФ¶†дg±D +-Р ЅpNЂ +|P†м°‰@К¶ X A‚ѕ*ГjxF5ЄБ‡ .“Ћв±„’ЦЏА‚ +v8`KAЊux"|ЁлaО‘РI`(€Г~Ђґб1ъ±D‚Мжѓ!я(8…(0W +ђCГX†м /lB +|рDЃ5€ЊQ|!9ђ0 +ZЁ@SЙ=мL{Ђ[C%@ЃА +jярB^ї +Ё + +K8КMжAl”`KиШhр†ґовA>G!J а +Б(ъPЃqД# †-д'3HМ1ђw-с&gњВ ХKУґ +А)Gђ ] + А + ЅЂNЩ( +x" а4p fЧ‰n *`ИpЭ °Gђ +Сђ Ђ"p1?Ђ'I"ЏmХ +  +ЉА]0VР~U†Е JР-@»ТзP4¤AФБяРС эЂТpsЂZбH IT+ xР +Rg’46‡ ( +- +lал +p•1,@µN( + яђ +кp +†… +й +ГрyщHJ н0?РRhђ=”Wq¬ўРKђNQ00AАK»Y + БЂAзђнРfP +Y@ у8,ђ[єСVAЅЂ•p!@B)р%РJF +p ?6¦fя*0  QЂJ` + з@Pf@…vчв Aхр Bђw Ћр2w # +nђwђ р‚pн ҐIАр-`в Ш*0·P°@iАО@ +№@0 +Y`€‡p–А)р +°0ЁьГЈрѓО +ЃnО°pbЁЦr"а ¦СЗІЁ Л=<шV`И0Q0z1 -РHPWяшLО0КсQ‹ )@L4&Yiђ +pw0№РЋ…'Л@aшжP№`|ДGoPюJnr&1’PЂрР +Е +q +iTnwЂN(Ђ5 +%PЅ`5 7 +pЂPС +D”@tЂ ”Ђ%_p +Нb )я@эЗ5@=xР +0`РpPD0 Й»=ЪҐ !Рt`JрV°lрї`D”@y"¤ DА0° +0 +АK± +ҐPuэ{ДЄд!­№У”4ђwa +њ,)* +мHvp ўаЂ@ +L^уЎ8 +ЂИPrplЂ +WбrDp#ЙЂPБhK“P=PрBЉ +™Р +`P%ЂwpFЂ +°ЃтGЈ7$Ј¦й– ‚ЊЅ’¶Ѕ0Ђ +fя0о@3lђ!оБ2¦LАёY#ѓ0]00Рx° P¶шђ, +0_іJ u@ќ?`OР +cђђhАа41G(в· +7яpаT ЄЂЋ+Вн(Ы ?АRJ?РЖ< !рY04 2Ш0l@з°а’ђ +РЈ" +–ЮЋBJH0 +3ЂP0°<° t ©BeбЌbўэ° -pB*Ђнр†Ђ¤Ј@щрщp …D`z@ш •РE +*АЕђЂВbзCРђа 4ЄЛPђ +p0яР +]А€’$}°З'YђuЄр+А ++ 3РІХ®&fрpйаl.РsOҐw +  ­›Дад +Ая°¤)0а{ЉVCђ + 0 +`Y°>†@W±VpяРub tЂ( ыwђцйА˜Ђ +3Rph±Р‰f°Бta’‚!А¦9Ё^ј +/† З>0$†CTp&3ю˜Б"€˜ ‚‚Ђ6Pщ`ЊH.`@Ѓ6аВ(2 Љ"yБИйрI(Ј”Т'sсвЌmћxГЋCж‰б +bшЃ3Оi'!–ђ ЂО№Џ˜$ќ +8 SV $ЋAЖЂб9‚љrPB -ґ+:@яг +-;0з c DтР‚†,О1„$и)бњ?љ0ЊдЙ&‘и¤ +А… µхV\ЙЫ@ +Кh@Љ#z¦‚щиSbhш!џ$ђН +*ё/˜,V9g)3\ИгЂёЂ +F(Е… +V "Ћ.ѓЌІ BjВ ПU‰0”р‚;ћQf˜5ћ@Ј%Bивr gѓЄа† Њс $Ю0dM`єV„ +7–С@‰рX†H ·эv)±D˜)ЕЋ0р‚|М + шЁБЉO°!-  + HО`@Hб +$A$PB5Мс‹WhP‰K¤‹'6 +]ЁA иpЋR q@ +?@Ћb8В+Ш@$ИђBДБc€В2#Ђ‡‰{дгN\ Op!°ѓ :@ +xАш„ + +t`n ‡1,P(@ ° яdЂM(@˜QX†Sњ*qЃ6± +®БЈvР +¬‚ +@АБ +ђЎqђ!XЃcДa 'И Q т‘|а‚x |…Y©0’ђЂ„ SeЃ<ђ +д!]ЁВ.°Г8b˜ +`m +о… +7ШЕ• +ќ+\" +ЋшYИАgм!/HBlpѓ^ZЦ†ZF9аrl#прB ђ°‹'ARm= Ђ'Pв  А~џIa]XuцМ +.$T80kpO ` B&рЋr  +шђ0€BВэр'Ў рBZ +hХaЁ‚і‘ +¬ў˜ДЉqJF$а繆4P0рБCР˜‘WL +Qаѓ˜Zа„ +z~цтёп.п–б(Bp(Б° $ДC ЈXVАCР ! Ђ"pЂ9< 0ЂБ +:фЎЇ~А>Q„@б,+аБ ЄяЂЉ +–±Љ фЎЈґҐ$И@ИP„€АЧ*DaUЂ6p!9ИЃ џPE36а#”АшуЗ аРЂ(°#…Р@ШBрrX†«iЁ`0 +pH˜ +€°Ѓ-аn`ѓЬCSґ %X+`Iш +x„ёѓHzP6  ‡ip“ « +Oр3‚G n +иr„J– +x‡8 ‚O +иЄ ЂИ˜Ђ hЃep4€‚?Ё‚;`ѓpf€2 +РЂe@ ђ3аЃSЂ{pѓ0`…Зв{(oxМЇфЃ °ЂFия#Д+±‚|°Ђш +˜Р†<`Ѓl¤~і%`„bр…1`bАM +И *†OёЇЂ + .8ЂD` +°ѓ(@%ђ%hЂ`Fа*ШB˜)А„p(АИ +и3иjш)ђ‚ 0­08 +яр†x|hѓ(Ѓ< +%…cxѓH† ЃTёЂ(ЕѓN˜ЂnhLr†RЂЃ,`ѓ(ёѓI + +!¤|uЂ шѓh +(„tа„EёPЁY`†GИЃrш +ъш#ђAІ„H*€р’ѓ,DгАєё’Љ»аЂЏp\Ж +I BЖ +3р±A2˜ Ђ¦9'ќuЦ)Л€X /С q)¤€!Ж}фSОђcA$ а`КRxЙE0 +­ы¤вK4ЩL!ЋF€!‹˜ЎО$tмЖ.ђK 0† +;ь°Hќи‘C*ќ8 +G`L¬0яИ +Еl°Б 2Ф2S +ЛР +"A€“CИ@И%3hа "ђsD{И±‚X#П T ‡Л=\ рPАBЛ=wЄ>¤ўG‹€#†9ђВ„вЂ<аJ2°T3-|РE0`D.ЕЊ + €2HЕ€‚“lрА s8BЛ0<Ђ:цЩ#HN*5¤/®ЬPЗ>D)x#ЖЖhGП-DРЂ«дВГЫ/Ь я „C60Б€l Сид`—H…jЂЋiмГв‚ёЂ€ Ђ`/аД%$а3Дb’hЂ#Љр + §мАpшЃ"XЂЏ?8ўЂp + +› F’ +Щ€„VQХ@ b°¦M ѓЂ;xЗ#ёВЉђЋbX +±ѓ=Ђ sё".P +ТQЂDdE +&аЭЂ#E‡?˜р tѓ«Er~fЈИ2АБ©ѓm§ !qђP‡LвD˜C,@g +їbЂ‚ ј"мmП 77ё8pя‘‹”ua%°>Сѓ=|"7А +шИCЖ`Ќк­b +ў ‚ЂгЩРГИsЋ =cЎ-,*” +’EЮї8Lc"Ш±‚(Pа=И@Ћ ЅЕs-QH@"1‰(ф« “( +и†:дџ + r#@ +\АF F”ф’^а?Д‚9a Кr`@ \ No newline at end of file diff --git a/podzem/labirint3/sclad.gif b/podzem/labirint3/sclad.gif new file mode 100644 index 0000000..faad997 Binary files /dev/null and b/podzem/labirint3/sclad.gif differ diff --git a/podzem/labirint3/sclad2.jpg b/podzem/labirint3/sclad2.jpg new file mode 100644 index 0000000..bf26bb2 Binary files /dev/null and b/podzem/labirint3/sclad2.jpg differ diff --git a/podzem/labirint3/sclad3.jpg b/podzem/labirint3/sclad3.jpg new file mode 100644 index 0000000..7eafb05 Binary files /dev/null and b/podzem/labirint3/sclad3.jpg differ diff --git a/podzem/labirint3/sclad4.jpg b/podzem/labirint3/sclad4.jpg new file mode 100644 index 0000000..df6daa6 Binary files /dev/null and b/podzem/labirint3/sclad4.jpg differ diff --git a/podzem/labirint3/sun.gif b/podzem/labirint3/sun.gif new file mode 100644 index 0000000..6528851 Binary files /dev/null and b/podzem/labirint3/sun.gif differ diff --git a/podzem/labirint3/telep.gif b/podzem/labirint3/telep.gif new file mode 100644 index 0000000..1be64d8 Binary files /dev/null and b/podzem/labirint3/telep.gif differ diff --git a/podzem/labirint3/user.gif b/podzem/labirint3/user.gif new file mode 100644 index 0000000..3c42c64 Binary files /dev/null and b/podzem/labirint3/user.gif differ diff --git a/podzem/labirint3/vlevo.gif b/podzem/labirint3/vlevo.gif new file mode 100644 index 0000000..e5f1a99 Binary files /dev/null and b/podzem/labirint3/vlevo.gif differ diff --git a/podzem/labirint3/vpravo.gif b/podzem/labirint3/vpravo.gif new file mode 100644 index 0000000..8d73ca5 Binary files /dev/null and b/podzem/labirint3/vpravo.gif differ diff --git a/podzem/labirint3/vverh.gif b/podzem/labirint3/vverh.gif new file mode 100644 index 0000000..dd31b0a Binary files /dev/null and b/podzem/labirint3/vverh.gif differ diff --git a/podzem/labirint3/yeralti.gif b/podzem/labirint3/yeralti.gif new file mode 100644 index 0000000..b216ad8 Binary files /dev/null and b/podzem/labirint3/yeralti.gif differ diff --git a/podzem/labirint3/yerustu.gif b/podzem/labirint3/yerustu.gif new file mode 100644 index 0000000..ee90985 Binary files /dev/null and b/podzem/labirint3/yerustu.gif differ diff --git a/podzem/labirint3/yo.gif b/podzem/labirint3/yo.gif new file mode 100644 index 0000000..ae60053 Binary files /dev/null and b/podzem/labirint3/yo.gif differ diff --git a/podzem/labirint3/yos.gif b/podzem/labirint3/yos.gif new file mode 100644 index 0000000..d9f4c4b Binary files /dev/null and b/podzem/labirint3/yos.gif differ diff --git a/podzem/labirint3/zel.gif b/podzem/labirint3/zel.gif new file mode 100644 index 0000000..f8da190 Binary files /dev/null and b/podzem/labirint3/zel.gif differ diff --git a/podzem/labirint3/zombi.gif b/podzem/labirint3/zombi.gif new file mode 100644 index 0000000..26c1f7c Binary files /dev/null and b/podzem/labirint3/zombi.gif differ diff --git a/podzem/labirint3/zud.gif b/podzem/labirint3/zud.gif new file mode 100644 index 0000000..9eb3276 Binary files /dev/null and b/podzem/labirint3/zud.gif differ diff --git a/podzem/labirint3/zuk.gif b/podzem/labirint3/zuk.gif new file mode 100644 index 0000000..8bfdf97 Binary files /dev/null and b/podzem/labirint3/zuk.gif differ diff --git a/podzem/podz.php b/podzem/podz.php new file mode 100644 index 0000000..86bb295 --- /dev/null +++ b/podzem/podz.php @@ -0,0 +1,18 @@ + +

    + +
    + \ No newline at end of file diff --git a/podzem/raschet_bot.php b/podzem/raschet_bot.php new file mode 100644 index 0000000..1e71353 --- /dev/null +++ b/podzem/raschet_bot.php @@ -0,0 +1,162 @@ + diff --git a/podzem_brat.php b/podzem_brat.php new file mode 100644 index 0000000..97d9f89 --- /dev/null +++ b/podzem_brat.php @@ -0,0 +1,7 @@ +'.$user["login"].' поднял предмет "'.$mis.'". ','{[]}'.nick7 ($rbb["user_id"]).'{[]}'); +} + +?> \ No newline at end of file diff --git a/podzem_dialog.php b/podzem_dialog.php new file mode 100644 index 0000000..8bc3b0c --- /dev/null +++ b/podzem_dialog.php @@ -0,0 +1,450 @@ + + + + + + +Подземка - Лука + + + +
    + + + + + +
    + + + +
    + +
    +
    + +
    + + Вы получили 'Гайку силы'.

    +Лука говарит спасибо...";} +} +if($ok_qwest=='1') +{ +if($_GET['d']=='1.4'){ +$sql="INSERT INTO `inventory`(name,duration,maxdur,cost,nlevel,nsila,nlovk,ninta,nvinos,nintel,gsila,glovk,ginta,gintel,ghp,mfkrit,mfakrit,mfuvorot,mfauvorot,img,owner,bron1,bron2,bron3,bron4,type,massa,isrep,otdel,podzem) VALUES ('Гайка силы','0','30','90','4','5','4','4','10','15','','','','3','80','','50','50','','g_mudr.gif','".$user['id']."','5','5','5','5','2','2','1','41','1')"; +$res=mysql_query($sql); +mysql_query("DELETE FROM `inventory` WHERE owner='".$user['id']."' and `type`='200' and `name`='Ключиик'"); +mysql_query("UPDATE `qwest` SET `status`='ok' WHERE `name_qwest`='kluchiik' and `login`='".$user['login']."'"); +if(!$res){echo mysql_error();} +print"Вы получили 'Гайку мудрости'.

    +Лука говарит спасибо...";} +} + } + + +if(($_GET['d']=='2') && ($user['level'] >= 4) && ($user['level'] < 7)){print"Цена-аа? У Луки много жетонов. Лука не жаадный. Лука берет 3 Гайки и отдает жетон. Лука дает жетон за целый болт. Лука дает ТРИ жетона за найденный вентиль.
    Лука дает жетоны серебрянные, если Гайки и Вентили Чистые, а Болт Длинный! Лука дает золотые жетоны, если Гайки с Резьбой, Вентиль Рабочий, а Болт Нужный!";} +if(($_GET['d']=='2') && ($user['level'] >= 7) && ($user['level'] <= 8)){print"Цена-аа? У Луки много жетонов. Лука не жаадный. Лука берет 9 Гаек и отдает жетон. Лука дает жетон за три болта. Лука дает целый жетон за найденный вентиль.
    Лука дает жетоны серебрянные, если Гайки и Вентили Чистые, а Болт Длинный! Лука дает золотые жетоны, если Гайки с Резьбой, Вентиль Рабочий, а Болт Нужный!";} +///////////////////// + +if($_GET['d']=='3'){ + $sear = mysql_query("SELECT maxdur,id FROM `inventory` WHERE `type`='200' and `name`='Гайка' and owner='".$user["id"]."'"); + while($alls = mysql_fetch_array($sear)) + { + $total_mass += $alls['maxdur']; + $alls_id = $alls['id']; + } + $vear = mysql_query("SELECT maxdur,id FROM `inventory` WHERE `type`='200' and `name`='Вентиль' and owner='".$user["id"]."'"); + while($vls = mysql_fetch_array($vear)) + { + $total_mass_v += $vls['maxdur']; + $vls_id = $vls['id']; + } + $vearb = mysql_query("SELECT maxdur,id FROM `inventory` WHERE `type`='200' and `name`='Болт' and owner='".$user["id"]."'"); + while($bls = mysql_fetch_array($vearb)) + { + $total_mass_b += $bls['maxdur']; + $bls_id = $bls['id']; + } + + if (($user['level'] >= 4) && ($user['level'] < 7)) + { + if($total_mass<3){$vsego="0"; $ziton="0";} + if($total_mass>=3){$vsego="3"; $ziton="1";} + if($total_mass>=6){$vsego="6"; $ziton="2";} + if($total_mass>=9){$vsego="9"; $ziton="3";} + if($total_mass>=12){$vsego="12"; $ziton="4";} + if($total_mass>=15){$vsego="15"; $ziton="5";} + if($total_mass>=18){$vsego="18"; $ziton="6";} + if($total_mass>=21){$vsego="21"; $ziton="7";} + if($total_mass>=24){$vsego="24"; $ziton="8";} + if($total_mass>=27){$vsego="27"; $ziton="9";} + if($total_mass>=30){$vsego="30"; $ziton="10";} + if($total_mass>=33){$vsego="33"; $ziton="11";} + if($total_mass>=36){$vsego="36"; $ziton="12";} + if($total_mass>=39){$vsego="39"; $ziton="13";} + if($total_mass>=42){$vsego="42"; $ziton="14";} + if($total_mass>=45){$vsego="45"; $ziton="15";} + if($total_mass>=48){$vsego="48"; $ziton="16";} + if($total_mass>=51){$vsego="51"; $ziton="17";} + if($total_mass>=54){$vsego="54"; $ziton="18";} + if($total_mass>=57){$vsego="57"; $ziton="19";} + if($total_mass>=60){$vsego="60"; $ziton="20";} + } + elseif (($user['level'] >= 7) && ($user['level'] <= 8)) + { + if($total_mass<9){$vsego="0"; $ziton="0";} + if($total_mass>=9){$vsego="9"; $ziton="1";} + if($total_mass>=18){$vsego="18"; $ziton="2";} + if($total_mass>=27){$vsego="27"; $ziton="3";} + if($total_mass>=36){$vsego="36"; $ziton="4";} + if($total_mass>=45){$vsego="45"; $ziton="5";} + if($total_mass>=54){$vsego="54"; $ziton="6";} + if($total_mass>=63){$vsego="63"; $ziton="7";} + if($total_mass>=72){$vsego="72"; $ziton="8";} + if($total_mass>=81){$vsego="81"; $ziton="9";} + if($total_mass>=100){$vsego="100"; $ziton="10";} + if($total_mass>=109){$vsego="109"; $ziton="11";} + if($total_mass>=118){$vsego="118"; $ziton="12";} + if($total_mass>=127){$vsego="127"; $ziton="13";} + if($total_mass>=136){$vsego="136"; $ziton="14";} + if($total_mass>=145){$vsego="145"; $ziton="15";} + if($total_mass>=154){$vsego="154"; $ziton="16";} + if($total_mass>=163){$vsego="163"; $ziton="17";} + if($total_mass>=172){$vsego="172"; $ziton="18";} + if($total_mass>=181){$vsego="181"; $ziton="19";} + if($total_mass>=200){$vsego="200"; $ziton="20";} + } + + $ostalos = $total_mass-$vsego; + if($ostalos=='0'){mysql_query("DELETE FROM `inventory` WHERE `name`='Гайка' and owner='".$user["id"]."'");} + else{ + $ze_m = $ostalos*0.1; + mysql_query("UPDATE `inventory` SET `maxdur`='$ostalos', `massa`='$ze_m' WHERE `id`='$alls_id'"); + // mysql_query("DELETE FROM `inventory` WHERE `name`='Гайка' and owner='".$user["id"]."'"); + // mysql_query("UPDATE `inventory` SET `x_mis`='0' WHERE `id`='$alls_id'");// x_mis ставим 0 + } + if (($user['level'] >= 4) && ($user['level'] < 7)) + { + if($total_mass_v<=0){$vsego_v="0"; $ziton_v="0";} + if($total_mass_v>=1){$vsego_v="1"; $ziton_v="3";} + if($total_mass_v>=2){$vsego_v="2"; $ziton_v="6";} + if($total_mass_v>=3){$vsego_v="3"; $ziton_v="9";} + if($total_mass_v>=4){$vsego_v="4"; $ziton_v="12";} + if($total_mass_v>=5){$vsego_v="5"; $ziton_v="15";} + if($total_mass_v>=6){$vsego_v="6"; $ziton_v="18";} + if($total_mass_v>=7){$vsego_v="7"; $ziton_v="21";} + if($total_mass_v>=8){$vsego_v="8"; $ziton_v="24";} + if($total_mass_v>=9){$vsego_v="9"; $ziton_v="27";} + if($total_mass_v>=10){$vsego_v="10"; $ziton_v="30";} + if($total_mass_v>=11){$vsego_v="11"; $ziton_v="33";} + if($total_mass_v>=12){$vsego_v="12"; $ziton_v="36";} + if($total_mass_v>=13){$vsego_v="13"; $ziton_v="39";} + if($total_mass_v>=14){$vsego_v="14"; $ziton_v="42";} + if($total_mass_v>=15){$vsego_v="15"; $ziton_v="45";} + if($total_mass_v>=16){$vsego_v="16"; $ziton_v="48";} + if($total_mass_v>=17){$vsego_v="17"; $ziton_v="51";} + if($total_mass_v>=18){$vsego_v="18"; $ziton_v="54";} + if($total_mass_v>=19){$vsego_v="19"; $ziton_v="57";} + if($total_mass_v>=20){$vsego_v="20"; $ziton_v="60";} + } + elseif (($user['level'] >= 7) && ($user['level'] <= 8)) + { + if($total_mass_v<=0){$vsego_v="0"; $ziton_v="0";} + if($total_mass_v>=1){$vsego_v="1"; $ziton_v="1";} + if($total_mass_v>=2){$vsego_v="2"; $ziton_v="2";} + if($total_mass_v>=3){$vsego_v="3"; $ziton_v="3";} + if($total_mass_v>=4){$vsego_v="4"; $ziton_v="4";} + if($total_mass_v>=5){$vsego_v="5"; $ziton_v="5";} + if($total_mass_v>=6){$vsego_v="6"; $ziton_v="6";} + if($total_mass_v>=7){$vsego_v="7"; $ziton_v="7";} + if($total_mass_v>=8){$vsego_v="8"; $ziton_v="8";} + if($total_mass_v>=9){$vsego_v="9"; $ziton_v="9";} + if($total_mass_v>=10){$vsego_v="10"; $ziton_v="10";} + if($total_mass_v>=11){$vsego_v="11"; $ziton_v="11";} + if($total_mass_v>=12){$vsego_v="12"; $ziton_v="12";} + if($total_mass_v>=13){$vsego_v="13"; $ziton_v="13";} + if($total_mass_v>=14){$vsego_v="14"; $ziton_v="14";} + if($total_mass_v>=15){$vsego_v="15"; $ziton_v="15";} + if($total_mass_v>=16){$vsego_v="16"; $ziton_v="16";} + if($total_mass_v>=17){$vsego_v="17"; $ziton_v="17";} + if($total_mass_v>=18){$vsego_v="18"; $ziton_v="18";} + if($total_mass_v>=19){$vsego_v="19"; $ziton_v="19";} + if($total_mass_v>=20){$vsego_v="20"; $ziton_v="20";} + } + + $ostalos_v = $total_mass_v-$vsego_v; + if($ostalos_v=='0'){mysql_query("DELETE FROM `inventory` WHERE `name`='Вентиль' and owner='".$user["id"]."'");} + else{ + $ze_v = $ostalos_v*0.2; + mysql_query("UPDATE `inventory` SET `maxdur`='$ostalos_v',`massa`='$ze_v' WHERE `id`='$vls_id'"); + // mysql_query("DELETE FROM `inventory` WHERE `name`='Вентиль' and `x_mis`='0' and owner='".$user["id"]."'"); + // mysql_query("UPDATE `inventory` SET `x_mis`='0' WHERE `id`='$vls_id'");// x_mis ставим 0 + } + if (($user['level'] >= 4) && ($user['level'] < 7)) + { + if($total_mass_b<=0){$vsego_b="0"; $ziton_b="0";} + if($total_mass_b>=1){$vsego_b="1"; $ziton_b="1";} + if($total_mass_b>=2){$vsego_b="2"; $ziton_b="2";} + if($total_mass_b>=3){$vsego_b="3"; $ziton_b="3";} + if($total_mass_b>=4){$vsego_b="4"; $ziton_b="4";} + if($total_mass_b>=5){$vsego_b="5"; $ziton_b="5";} + if($total_mass_b>=6){$vsego_b="6"; $ziton_b="6";} + if($total_mass_b>=7){$vsego_b="7"; $ziton_b="7";} + if($total_mass_b>=8){$vsego_b="8"; $ziton_b="8";} + if($total_mass_b>=9){$vsego_b="9"; $ziton_b="9";} + if($total_mass_b>=10){$vsego_b="10"; $ziton_b="10";} + if($total_mass_b>=11){$vsego_b="11"; $ziton_b="11";} + if($total_mass_b>=12){$vsego_b="12"; $ziton_b="12";} + if($total_mass_b>=13){$vsego_b="13"; $ziton_b="13";} + if($total_mass_b>=14){$vsego_b="14"; $ziton_b="14";} + if($total_mass_b>=15){$vsego_b="15"; $ziton_b="15";} + if($total_mass_b>=16){$vsego_b="16"; $ziton_b="16";} + if($total_mass_b>=17){$vsego_b="17"; $ziton_b="17";} + if($total_mass_b>=18){$vsego_b="18"; $ziton_b="18";} + if($total_mass_b>=19){$vsego_b="19"; $ziton_b="19";} + if($total_mass_b>=20){$vsego_b="20"; $ziton_b="20";} + } + elseif (($user['level'] >= 7) && ($user['level'] <= 8)) + { + if($total_mass_b<9){$vsego_b="0"; $ziton_b="0";} + if($total_mass_b>=9){$vsego_b="9"; $ziton_b="1";} + if($total_mass_b>=18){$vsego_b="18"; $ziton_b="2";} + if($total_mass_b>=27){$vsego_b="27"; $ziton_b="3";} + if($total_mass_b>=36){$vsego_b="36"; $ziton_b="4";} + if($total_mass_b>=45){$vsego_b="45"; $ziton_b="5";} + if($total_mass_b>=54){$vsego_b="54"; $ziton_b="6";} + if($total_mass_b>=63){$vsego_b="63"; $ziton_b="7";} + if($total_mass_b>=72){$vsego_b="72"; $ziton_b="8";} + if($total_mass_b>=81){$vsego_b="81"; $ziton_b="9";} + if($total_mass_b>=100){$vsego_b="100"; $ziton_b="10";} + if($total_mass_b>=109){$vsego_b="109"; $ziton_b="11";} + if($total_mass_b>=118){$vsego_b="118"; $ziton_b="12";} + if($total_mass_b>=127){$vsego_b="127"; $ziton_b="13";} + if($total_mass_b>=136){$vsego_b="136"; $ziton_b="14";} + if($total_mass_b>=145){$vsego_b="145"; $ziton_b="15";} + if($total_mass_b>=154){$vsego_b="154"; $ziton_b="16";} + if($total_mass_b>=163){$vsego_b="163"; $ziton_b="17";} + if($total_mass_b>=172){$vsego_b="172"; $ziton_b="18";} + if($total_mass_b>=181){$vsego_b="181"; $ziton_b="19";} + if($total_mass_b>=200){$vsego_b="200"; $ziton_b="20";} + } + $ostalos_b = $total_mass_b-$vsego_b; + if($ostalos_b=='0'){mysql_query("DELETE FROM `inventory` WHERE `name`='Болт' and owner='".$user["id"]."'");} + else{ + $ze_b = $ostalos_b*0.1; + mysql_query("UPDATE `inventory` SET `maxdur`='$ostalos_b',`massa`='$ze_b' WHERE `id`='$bls_id'"); + // mysql_query("DELETE FROM `inventory` WHERE `name`='Болт' and owner='".$user["id"]."'"); + // mysql_query("UPDATE `inventory` SET `x_mis`='0' WHERE `id`='$bls_id'");// x_mis ставим 0 + } + +if($ziton!='0'){//1 +$g = mysql_fetch_array(mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Жетон'")); +$koll = $g["maxdur"]; +$mas = $ziton*0.1; +if($koll>'0'){ +mysql_query("UPDATE `inventory` SET maxdur=maxdur+$ziton, massa=massa+$mas,`present`='Лука' WHERE owner='".$user['id']."' and `type`='200' and `name`='Жетон'"); +}else{ +$mas = $ziton*0.1; + +$fo = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,img,owner,type,isrep,massa,present) VALUES('Жетон','0','$ziton','ziton.gif','".$user['id']."','200','0','$mas', 'Лука')"); +} +}//1 + +if($ziton_v!='0'){//1 +$gv = mysql_fetch_array(mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Жетон'")); +$kollv = $gv["maxdur"]; +$mas = $ziton_v*0.1; +if($kollv>'0'){ +mysql_query("UPDATE `inventory` SET maxdur=maxdur+$ziton_v, massa=massa+$mas,`present`='Лука' WHERE owner='".$user['id']."' and `type`='200' and `name`='Жетон'"); +}else{ +$mas = $ziton_v*0.1; +$fov = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,img,owner,type,isrep,massa, present) VALUES('Жетон','0','$ziton_v','ziton.gif','".$user['id']."','200','0','$mas', 'Лука')"); +} +}//1 + +if($ziton_b!='0'){//1 +$gb = mysql_fetch_array(mysql_query("SELECT `maxdur` FROM `inventory` WHERE `owner`='".$user['id']."' and `type`='200' and `name`='Жетон'")); +$kollb = $gb["maxdur"]; +$mas = $ziton_b*0.1; +if($kollb>'0'){ +mysql_query("UPDATE `inventory` SET maxdur=maxdur+$ziton_b, massa=massa+$mas,`present`='Лука' WHERE owner='".$user['id']."' and `type`='200' and `name`='Жетон'"); +}else{ +$mas = $ziton_b*0.1; +$fob = mysql_query("INSERT INTO `inventory`(name,duration,maxdur,img,owner,type,isrep,massa, present) VALUES('Жетон','0','$ziton_b','ziton.gif','".$user['id']."','200','0','$mas', 'Лука')"); +} +}//1 + + if($ziton<=0 and $ziton_v<=0 and $ziton_b<=0){print" ИХ больше у тебя нету... Неси еще, Луке нужно больше ИХ! ";} + if($ziton>0){print" Вы отдали: $vsego шт.Гаек
    Получили: $ziton шт.Жетонов.
    ";} + if($ziton_v>0){print" Вы отдали: $vsego_v шт.Вентиль
    Получили: $ziton_v шт.Жетонов.
    ";} + if($ziton_b>0){print" Вы отдали: $vsego_b шт.Болтов
    Получили: $ziton_b шт.Жетонов.";} + } +////////////////////// +if($_GET['d']=='4'){print"А?...";} +if($_GET['d']=='5'){print"Лука и Мартын тут живут давно... чииинят трубыы. Лука Чинит. Лука не любит пауков... Лука любит жетоны... Они красивые... Лука любит играть с ними... Мартын к паукам ушел... Теперь Лука один, чииинит...";} +if($qwest!='1'){ +if($_GET['d']=='6'){print"Да да! Мартын гаад... он украл у Луки важную вещь 'Ключиик'... убей Мартына... забери 'Ключиик'... принеси его к Луке... Лука вознаградит тебя...";} +if($_GET['d']=='7'){ +if($qwest!='1'){ +$T1 = mysql_query("INSERT INTO qwest (user_id,login,name_qwest,name_items,id_items,dlja,zadanie,kw,status) VALUES('".$user['id']."','".$user['login']."','kluchiik','Ключиик','','Лука','Найти ключиик','0','no')"); +print"Вы приняли задание.(Найти 'ключиик').

    +Хорошо... Лука будет ждать..."; +}else{print"Вы уже приняли задание.(Найти 'ключиик').

    +Ну что? Лука ждёт...";}} + } +?> +
    + + +

    + + Запах?? Ты вообще о чем?
    ";} +if(!isset($_GET['d'])){print"• Я тут гайки-вентили нашел, тебе они случайно не нужны?
    ";} +if($qwest_status!='ok'){if($ok_qwest=='1'){if(!isset($_GET['d'])){print"• Вот твой ключиик!
    ";}}} +if(!isset($_GET['d'])){print"• Я, пожалуй, пойду.
    ";} + +if($_GET['d']=='1'){print"• Понятно. Но я хотел поговорить о другом.
    ";} +if($_GET['d']=='1'){print"• Я, пожалуй, пойду.
    ";} + +if($_GET['d']=='1.1'){print"• Я хочу знать, сколько жетонов ты мне дашь.
    ";} +if($_GET['d']=='1.1'){print"• Я хочу поменять ИХ на жетоны.
    ";} +if($_GET['d']=='1.1'){print"• С гайками все ясно. Вернемся назад.
    ";} +if($_GET['d']=='1.1'){print"• Я, пожалуй, пойду.
    ";} + +if($ok_qwest=='1'){if($_GET['d']=='1.2'){print"• Выбераю Гайку силы.
    ";}} +if($ok_qwest=='1'){if($_GET['d']=='1.2'){print"• Выбераю Гайку мудрости.
    ";}} +if($ok_qwest=='1'){if($_GET['d']=='1.2'){print"• Я, пожалуй, пойду..
    ";}} +if($_GET['d']=='1.3'){print"• Я, пожалуй, пойду.
    ";} +if($_GET['d']=='1.4'){print"• Я, пожалуй, пойду.
    ";} + +if($_GET['d']=='2'){print"• Я хочу поменять ИХ на жетоны.
    ";} +if($_GET['d']=='2'){print"• Спасибо, за прайс-лист.
    ";} +if($_GET['d']=='2'){print"• Я, пожалуй, пойду.
    ";} + + + +if($_GET['d']=='3'){print"• Я хотел еще спросить...
    ";} +if($_GET['d']=='3'){print"• Хорошо, пойду еще принесу.
    ";} + +if($_GET['d']=='4'){print"• Что ты там говорил про гайки-вентили?
    ";} +if($_GET['d']=='4'){print"• Расскажи мне о себе.
    ";} +if($_GET['d']=='4'){print"• Я, пожалуй, пойду.
    ";} + +if($_GET['d']=='5'){print"• Что ты там говорил про гайки-вентили?
    ";} +if($qwest!='1'){if($_GET['d']=='5'){print"• Может помочь чем?
    ";}} +if($_GET['d']=='5'){print"• Я, пожалуй, пойду.
    ";} + +if($_GET['d']=='6'){print"• Я помогу тебе... принесу я ключиик... жди!
    ";} +if($_GET['d']=='6'){print"• Да ну тя сам разберайся.
    ";} + +if($_GET['d']=='7'){print"• Я, пойду.(конец диалога).
    ";} + + + +print"

    "; +?> +
    + +
    + + + + + + + \ No newline at end of file diff --git a/podzem_mod.php b/podzem_mod.php new file mode 100644 index 0000000..e426e57 --- /dev/null +++ b/podzem_mod.php @@ -0,0 +1,324 @@ +location.href='main.php?act=none'"; +exit; +} +/////// + +//Вход на 2ой этаж +if($repa["n$loc2"]=='et2' and $vector==$repa["v$loc2"]){ +$s.='
    '; +} +//Вход на 1ый этаж +if($repa["n$loc2"]=='et1' and $vector==$repa["v$loc2"]){ +$s.='
    '; +} + +if($repa["n$loc2"]=='20' and $vector==$repa["v$loc2"]){ +$s.='
    Бывший скад мартына.
    '; +} +if($repa["n$loc3"]=='20' and $vector==$repa["v$loc3"]){ +$s.='
    Бывший скад мартына.
    '; +} +if($repa["n$loc4"]=='20' and $vector==$repa["v$loc4"]){ +$s.='
    Бывший скад мартына.
    '; +} +if($repa["n$loc2"]=='el' and $vector==$repa["v$loc2"]){ +$s.='
    Зелье
    '; +} +if($repa["n$loc3"]=='el' and $vector==$repa["v$loc3"]){ +$s.='
    Зелье
    '; +} +if(($repa["n$mesto"]=='11.1' or $repa["n$mesto"]=='11.0') and $vector==$repa["v$mesto"]){ +$s.='
    Водосток
    '; +} +if(($repa["n$loc2"]=='11.1' or $repa["n$loc2"]=='11.0') and $vector==$repa["v$loc2"]){ +$s.='
    Водосток
    '; +} +if(($repa["n$loc3"]=='11.1' or $repa["n$loc3"]=='11.0') and $vector==$repa["v$loc3"]){ +$s.='
    Водосток
    '; +} +if(($repa["n$loc4"]=='11.1' or $repa["n$loc4"]=='11.0') and $vector==$repa["v$loc4"]){ +$s.='
    Водосток
    '; +} +///////////// +if(($repa["n$loc2"]=='12.1' or $repa["n$loc2"]=='12.0') and $vector==$repa["v$loc2"]){ +$s.='
    Водосток
    '; +} +if(($repa["n$loc3"]=='12.1' or $repa["n$loc3"]=='12.0') and $vector==$repa["v$loc3"]){ +$s.='
    Водосток
    '; +} +if(($repa["n$loc4"]=='12.1' or $repa["n$loc4"]=='12.0') and $vector==$repa["v$loc4"]){ +$s.='
    Водосток
    '; +} +////////////////klju4i///////////////////////// +if($repa["n$mesto"]=='key1' or $repa["n$loc2"]=='key1' or $repa["n$loc3"]=='key1' or $repa["n$loc4"]=='key1'){$nomers='1';} +if($repa["n$mesto"]=='key2' or $repa["n$loc2"]=='key2' or $repa["n$loc3"]=='key2' or $repa["n$loc4"]=='key2'){$nomers='2';} +if($repa["n$mesto"]=='key3' or $repa["n$loc2"]=='key3' or $repa["n$loc3"]=='key3' or $repa["n$loc4"]=='key3'){$nomers='3';} +if($repa["n$mesto"]=='key4' or $repa["n$loc2"]=='key4' or $repa["n$loc3"]=='key4' or $repa["n$loc4"]=='key4'){$nomers='4';} +if($repa["n$mesto"]=='key5' or $repa["n$loc2"]=='key5' or $repa["n$loc3"]=='key5' or $repa["n$loc4"]=='key5'){$nomers='5';} +if($repa["n$mesto"]=='key6' or $repa["n$loc2"]=='key6' or $repa["n$loc3"]=='key6' or $repa["n$loc4"]=='key6'){$nomers='6';} +if($repa["n$mesto"]=='key7' or $repa["n$loc2"]=='key7' or $repa["n$loc3"]=='key7' or $repa["n$loc4"]=='key7'){$nomers='7';} +if($repa["n$mesto"]=='key8' or $repa["n$loc2"]=='key8' or $repa["n$loc3"]=='key8' or $repa["n$loc4"]=='key8'){$nomers='8';} +if($repa["n$mesto"]=='key9' or $repa["n$loc2"]=='key9' or $repa["n$loc3"]=='key9' or $repa["n$loc4"]=='key9'){$nomers='9';} +if($repa["n$mesto"]=='key10' or $repa["n$loc2"]=='key10' or $repa["n$loc3"]=='key10' or $repa["n$loc4"]=='key10'){$nomers='10';} +if(($repa["n$mesto"]=='key1' or $repa["n$mesto"]=='key2' or $repa["n$mesto"]=='key3' or $repa["n$mesto"]=='key4' or $repa["n$mesto"]=='key5' or $repa["n$mesto"]=='key6' or $repa["n$mesto"]=='key7' or $repa["n$mesto"]=='key8' or $repa["n$mesto"]=='key9' or $repa["n$mesto"]=='key10') and $vector==$repa["v$mesto"]){ +$s.='
    Ключ №'.$nomers.'
    '; +} +if(($repa["n$loc2"]=='key1' or $repa["n$loc2"]=='key2' or $repa["n$loc2"]=='key3' or $repa["n$loc2"]=='key4' or $repa["n$loc2"]=='key5' or $repa["n$loc2"]=='key6' or $repa["n$loc2"]=='key7' or $repa["n$loc2"]=='key8' or $repa["n$loc2"]=='key9' or $repa["n$loc2"]=='key10') and $vector==$repa["v$loc2"]){ +$s.='
    Ключ №'.$nomers.'
    '; +} +if($step2['fwd'] and ($repa["n$loc3"]=='key1' or $repa["n$loc3"]=='key2' or $repa["n$loc3"]=='key3' or $repa["n$loc3"]=='key4' or $repa["n$loc3"]=='key5' or $repa["n$loc3"]=='key6' or $repa["n$loc3"]=='key7' or $repa["n$loc3"]=='key8' or $repa["n$loc3"]=='key9' or $repa["n$loc3"]=='key10') and $vector==$repa["v$loc3"]){ +$s.='
    Ключ №'.$nomers.'
    '; +} +if($step3['fwd'] and ($repa["n$loc4"]=='key1' or $repa["n$loc4"]=='key2' or $repa["n$loc4"]=='key3' or $repa["n$loc4"]=='key4' or $repa["n$loc4"]=='key5' or $repa["n$loc4"]=='key6' or $repa["n$loc4"]=='key7' or $repa["n$loc4"]=='key8' or $repa["n$loc4"]=='key9' or $repa["n$loc4"]=='key10') and $vector==$repa["v$loc4"]){ +$s.='
    Ключ №'.$nomers.'
    '; +} + +if($step3['fwd'] and ($repa["n$loc4"]=='13.1' or $repa["n$loc4"]=='13.0')){ +$s.='
    Сундук
    '; +} +if($step3['fwd'] and ($repa["n$loc4"]=='14.1' or $repa["n$loc4"]=='14.0')){ +$s.='
    Сундук
    '; +} +//////////////////////3///////////////////////// +if($step3['fwd'] and $rt["n$loc4"]!='') { +if($k_b=='1'){ +$s.='
    '; +} +if($k_b=='2'){ +$s.='
    '; +$s.='
    '; +} +if($k_b=='3'){ +$s.='
    '; +$s.='
    '; +$s.='
    '; +} +} +$rogs=mysql_query("SELECT login,location FROM `labirint` WHERE `glava`='$glava'"); +$i=0; +while($mores=mysql_fetch_array($rogs)){ +$i++; +$nus=mysql_num_rows($rogs); + +if($vector == 0){$lac = $location+30;} +if($vector == 90){$lac = $location+3;} +if($vector == 180){$lac = $location-30;} +if($vector == 270){$lac = $location-3;} +if($step3['fwd'] and $lac==$mores['location'] and $nus>=2) { +if($nus==2){ +$l = '170'; +} +if($nus==3){ +if($i==1){$l = '140';} +if($i==2){$l = '170';} +if($i==3){$l = '200';} +} +if($nus==4){ +if($i==1){$l = '140';} +if($i==2){$l = '160';} +if($i==3){$l = '180';} +if($i==4){$l = '200';} +} +$s.='
    '; +} +} +if($step3['fwd'] and $repa["n$loc4"]>='1' and $repa["n$loc4"]<='10'){ +$s.='
    Решетка(нужен ключ №'.$repa[
    '; +} +///////////////////////////////////////////// +if($step2['fwd'] and ($repa["n$loc3"]=='13.1' or $repa["n$loc3"]=='13.0')){ +$s.='
    Сундук
    '; +} +if($step2['fwd'] and ($repa["n$loc3"]=='14.1' or $repa["n$loc3"]=='14.0')){ +$s.='
    Сундук
    '; +} +/////////////////////2/////////////////////// +if($step2['fwd'] and $rt["n$loc3"]!='') { + +if($k_b3=='1'){ +$s.='
    '; +} + +if($k_b3=='2'){ +$s.='
    '; +$s.='
    '; +} + +if($k_b3=='3'){ +$s.='
    '; +$s.='
    '; +$s.='
    '; +} +} +$rogs=mysql_query("SELECT login,location FROM `labirint` WHERE `glava`='$glava'"); +$i=0; +while($mores=mysql_fetch_array($rogs)){ +$i++; +$nus=mysql_num_rows($rogs); +if($vector == 0){$lac = $location+20;} +if($vector == 90){$lac = $location+2;} +if($vector == 180){$lac = $location-20;} +if($vector == 270){$lac = $location-2;} +if($step2['fwd'] and $lac==$mores['location'] and $nus>=2) { +if($nus==2){ +$l = '160'; +} +if($nus==3){ +if($i==1){$l = '130';} +if($i==2){$l = '160';} +if($i==3){$l = '190';} +} +if($nus==4){ +if($i==1){$l = '120';} +if($i==2){$l = '150';} +if($i==3){$l = '180';} +if($i==4){$l = '210';} +} +$s.='
    '; +} +} +if($step2['fwd'] and $repa["n$loc3"]>='1' and $repa["n$loc3"]<='10'){ +$s.='
    Решетка(нужен ключ №'.$repa[
    '; +$s.='
    Решетка(нужен ключ №'.$repa[
    '; +} +/////////////////////////////////////////// +if($step1['fwd'] and ($repa["n$loc2"]=='13.1' or $repa["n$loc2"]=='13.0')){ +$s.='
    Сундук
    '; +} +if($step1['fwd'] and ($repa["n$loc2"]=='14.1' or $repa["n$loc2"]=='14.0')){ +$s.='
    Сундук
    '; +} +/////////////////////1///////////////////// + +if($step1['fwd'] and $rt["n$loc2"]!='') { + +if($k_b2=='1'){ +if($rt["n$loc2"]=='8'){ +$s.='
    '; +}else{$s.='
    ';} + +} +if($k_b2=='2'){ +$s.='
    '; +$s.='
    '; +} +if($k_b2=='3'){ +$s.='
    '; +$s.='
    '; +$s.='
    '; +} + +} +$rogs=mysql_query("SELECT login,location FROM `labirint` WHERE `glava`='$glava'"); +$i=0; +while($mores=mysql_fetch_array($rogs)){ +$i++; +$nus=mysql_num_rows($rogs); +if($vector == 0){$lac = $location+10;} +if($vector == 90){$lac = $location+1;} +if($vector == 180){$lac = $location-10;} +if($vector == 270){$lac = $location-1;} +if($step1['fwd'] and $lac==$mores['location'] and $nus>=2) { +if($nus==2){ +$l = '150'; +} +if($nus==3){ +if($i==1){$l = '90';} +if($i==2){$l = '150';} +if($i==3){$l = '180';} +} +if($nus==4){ +if($i==1){$l = '100';} +if($i==2){$l = '140';} +if($i==3){$l = '180';} +if($i==4){$l = '210';} +} +$s.='
    '; +} + +} +//////////////////////////////////////// +if($step1['fwd'] and $repa["n$loc2"]>='1' and $repa["n$loc2"]<='10'){ +$s.='
    Решетка(нужен ключ №'.$repa[
    '; +$s.='
    Решетка(нужен ключ №'.$repa[
    '; +} + +$mesto = $location; +if($location == '01'){$mesto = '1';} +if($location == '02'){$mesto = '2';} +if($location == '03'){$mesto = '3';} +if($location == '04'){$mesto = '4';} +if($location == '05'){$mesto = '5';} +if($location == '06'){$mesto = '6';} +if($location == '07'){$mesto = '7';} +if($location == '08'){$mesto = '8';} +if($location == '09'){$mesto = '9';} +//////////////0-ja//////////////// +if($step1['fwd'] and $repa["n$mesto"]>='1' and $repa["n$mesto"]<='10'){ +$s.='
    Решетка(нужен ключ №'.$repa[
    '; +} + + +} + +?> + diff --git a/podzem_res.php b/podzem_res.php new file mode 100644 index 0000000..982e8bf --- /dev/null +++ b/podzem_res.php @@ -0,0 +1,112 @@ +   В комнате разбросаны вещи:
    '; +print' '; +print' '; +print' '; +} +if($stloc==502 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +} +if($stloc==501 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +} + + +if($stloc==506 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +print' '; +} +if($stloc==505 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +} +if($stloc==504 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +} + + +if($stloc==509 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +print' '; +} +if($stloc==508 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +} +if($stloc==507 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +} + + + +if($stloc==510 and $mir['name']=='Канализация 1 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +} +if($Location == '29' and $mir['name']=='Канализация 1 этаж'){ +mysql_query("UPDATE `users`,`online` SET `users`.`room` = '404',`online`.`room` = '404' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); +print ""; +exit; +} +////////////////////////2 etaz/////////////////////////// +if($stloc==508 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +print' '; +} +if($stloc==507 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +} +if($stloc==506 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +} + +if($stloc==511 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +print' '; +} +if($stloc==510 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +} +if($stloc==509 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +} + + +if($stloc==514 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +print' '; +} +if($stloc==513 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +print' '; +} +if($stloc==512 and $mir['name']=='Канализация 2 этаж'){echo'   В комнате разбросаны вещи:
    '; +print' '; +} +///////////////////////////////////////////////////////// +?> + diff --git a/pole.php b/pole.php new file mode 100644 index 0000000..51466bd --- /dev/null +++ b/pole.php @@ -0,0 +1,264 @@ + 0)) header("Location: index.php"); + include "config.php"; + $user = mysql_fetch_array(mysql_query("SELECT `id`,`level`,`login`,`money`,`room`,`weap`,`battle`,`zayavka`,`pole_kopka_kol_now`,`pole_kopka_kol_bonus`,`pole_kopka_update`,`pole_kopka_min`,`pole_kopka_max`,`pole_kopka_kol_all` FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); + $pole_time=mysql_fetch_array(mysql_query("SELECT * FROM `variables` WHERE var='pole_random';")); + $tp=time(); + include "functions.php"; + //if ($user['room'] != 1) { header("Location: main.php"); die(); } + //if ($user['level'] < 7) { header("Location: main.php"); die(); } + if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } + +?> + + + + + + + + + + + + + +
    +
    +
    + += 7){ +mysql_query("update `users` set `pole_kopka_kol_bonus`=`pole_kopka_kol_bonus`+'1',`pole_kopka_kol_now`=`pole_kopka_kol_now`+'1',`pole_kopka_kol_all`=`pole_kopka_kol_all`+'1',`money`=`money`-'7' where `id`='".$user['id']."'"); +$user['pole_kopka_kol_now'] += 1; +echo"Вы купили +1 доп. копку!"; +}else{echo"Не достаточно кр!";} +} + +if($_POST['x3']){ + if($user['money'] >= 45){ +mysql_query("update `users` set `pole_kopka_update`='3',`pole_kopka_min`=`pole_kopka_min`*'3',`pole_kopka_max`=`pole_kopka_max`*'3',`money`=`money`-'45' where `id`='".$user['id']."'"); +echo"Вы улучшили глубину х3!"; +}else{echo"Не достаточно кр!";} +} + +if($_POST['x5']){ + if($user['money'] >= 110){ +mysql_query("update `users` set `pole_kopka_update`='5',`pole_kopka_min`=`pole_kopka_min`*'5',`pole_kopka_max`=`pole_kopka_max`*'5',`money`=`money`-'110' where `id`='".$user['id']."'"); +echo"Вы улучшили глубину х5!"; +}else{echo"Не достаточно кр!";} +} + +if($_POST['x2']){ + if($user['money'] >= 20){ +mysql_query("update `users` set `pole_kopka_update`='2',`pole_kopka_min`=`pole_kopka_min`*'2',`pole_kopka_max`=`pole_kopka_max`*'2',`money`=`money`-'20' where `id`='".$user['id']."'"); +echo"Вы улучшили глубину х2!"; +}else{echo"Не достаточно кр!";} +} + +if($_POST['buy1']){ + if($user['money'] >= 30){ + $lopata = mysql_fetch_array(mysql_query("select `name` from `inventory` where `owner`='".$user['id']."' AND (`name`='Чугунная лопата' OR `name`='Медная лопата')")); + if(!$lopata){ +mysql_query("INSERT INTO `inventory` (`name`,`type`,`duration`,`maxdur`,`owner`,`img`,`present`,`isrep`) VALUES ('Чугунная лопата','3','0','20','".$user['id']."','lopata1.gif','Дух Магического Лабиринта','0')"); +mysql_query("UPDATE `users` set `money`=`money`-'30',`pole_kopka_kol_now`='7',`pole_kopka_kol_all`='7',`pole_kopka_min`='5',`pole_kopka_max`='14',`pole_kopka_kol_bonus`='0',`pole_kopka_update`='0' where `id`='".$user['id']."'"); +echo"Вы купили чугунную лопату!"; +mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','\"".$user['login']."\" купил Чугунную лопату за 30 кр',1,'".time()."');"); +}else{echo"У Вас уже есть лопата! Для начала необходимо выбросить старую!";} +}else{echo"У вас не хватает кр!";} +} + +if($_POST['buy2']){ + if($user['money'] >= 50){ + $lopata = mysql_fetch_array(mysql_query("select `name` from `inventory` where `owner`='".$user['id']."' AND (`name`='Чугунная лопата' OR `name`='Медная лопата')")); + if(!$lopata){ +mysql_query("INSERT INTO `inventory` (`name`,`type`,`duration`,`maxdur`,`owner`,`img`,`present`,`isrep`) VALUES ('Медная лопата','3','0','40','".$user['id']."','lopata2.gif','Дух Магического Лабиринта','0')"); +mysql_query("UPDATE `users` set `money`=`money`-'50',`pole_kopka_kol_now`='9',`pole_kopka_kol_all`='9',`pole_kopka_min`='8',`pole_kopka_max`='19',`pole_kopka_kol_bonus`='0',`pole_kopka_update`='0' where `id`='".$user['id']."'"); +echo"Вы купили медную лопату!"; +mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','\"".$user['login']."\" купил Медную лопату за 50 кр',1,'".time()."');"); +}else{echo"У Вас уже есть лопата! Для начала необходимо выбросить старую!";} +}else{echo"У вас не хватает кр!";} +} + + +if($_POST['sufle']){ +for($i=0; $i<41; $i++) { +$hrand = rand(1,11)/10; +$rand = rand(1,9); +$rekrr = 30/30; +$rekr = rand(1,$rekrr)/10; +$bonus = rand(1,13)/10; +$bonuss = $rekr * $bonus; +$rekrr = $rekr + $bonuss; +if($rand == 1){$h = 100;} +elseif($rand == 2){$h = 80;} +elseif($rand == 3){$h = 70;} +elseif($rand == 4){$h = 60;} +elseif($rand == 5){$h = 50;} +elseif($rand == 6){$h = 40;} +elseif($rand == 7 || $rand == 8 || $rand == 9){$h = 0;} + +$hh = $h * $hrand; +$h = $h + $hh; + +mysql_query("UPDATE `pole` set `type`='".$rand."',`heals`='".$h."',`ekr`='".$rekrr."' where `id`='".$i."'"); +} +} + + +if($_POST['view']){ + $id = mysql_real_escape_string($_POST['id']) ; +mysql_query("update `pole` set `type`='0' where `id`='".$id."'"); +$lopatas1 = mysql_fetch_array(mysql_query("SELECT `prototype`,`duration`,`id` FROM `inventory` WHERE `id`='".$user['weap']."' AND `owner` = '".$user['id']."' AND `dressed` = '1'")); +if($lopatas1['prototype']){ + +$randview = rand(1,5); +$randkr = rand(1,150)/10; +$randizn = rand(1,4); +if($randview == 1 || $randview == 2 || $randview == 3){ +mysql_query("update `users` set `money`=`money`+'".$randkr."' where `id`='".$user['id']."'"); +echo"Вы достали из воды ".$randkr." кр!"; +mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','\"".$user['login']."\" достал из воды на Поле Чудес ".$randkr." кр',1,'".time()."');"); +}else{echo"Возьмите лопату в руки, либо купите ее";} +} +else{ +$randizn = rand(1,4); +$lopatas = mysql_fetch_array(mysql_query("SELECT `prototype`,`duration`,`id` FROM `inventory` WHERE `id`='".$user['weap']."' AND `owner` = '".$user['id']."' AND `dressed` = '1'")); +mysql_query("UPDATE `inventory` set `duration`=`duration`+'".$randizn."' where `id`='".$lopatas['id']."'"); +echo"Вы наткнулись на камень! Ваша лопата поломалась на ".$randizn." ед."; +}} + +if($_POST['tik']){ + $lopata = mysql_fetch_array(mysql_query("select `name` from `inventory` where `owner`='".$user['id']."' AND `dressed`='1' AND `name`='Чугунная лопата' OR `name`='Медная лопата'")); + if($lopata['name']){ + if($user['pole_kopka_kol_now'] > 0){ + $id = mysql_real_escape_string($_POST['id']) ; + $randhp = rand($user['pole_kopka_min'],$user['pole_kopka_max']); + $shans = rand(1,3); + $iznos = rand(1,5); + $pole = mysql_fetch_array(mysql_query("select * from `pole` where `id`='".$id."'")); + +if($iznos == 1){ +$lopatas = mysql_fetch_array(mysql_query("SELECT `prototype`,`duration`,`id` FROM `inventory` WHERE `id`='".$user['weap']."' AND `owner` = '".$user['id']."' AND `dressed` = '1'")); +mysql_query("UPDATE `inventory` set `duration`=`duration`+'1' where `id`='".$lopatas['id']."'"); +echo"Ваша лопата поломалась на 1 ед!
    "; +} + + +if($shans == 1 || $shans == 2){$bon = $pole['ekr'];} +else{$bon = 0;} +$hp = $pole['heals'] - $randhp; +if($hp > 0){ +mysql_query("update `pole` set `heals`=`heals`-'".$randhp."' where `id`='".$id."'"); +mysql_query("update `users` set `pole_kopka_kol_now`=`pole_kopka_kol_now`-'1' where `id`='".$user['id']."'"); +$user['pole_kopka_kol_now'] -= 1; +echo"Вы уменьшили глубину сектора на ".$randhp." единиц!"; +} +else{ +mysql_query("update `pole` set `heals`='0',`type`='0' where `id`='".$id."'"); +mysql_query("update `users` set `pole_kopka_kol_now`=`pole_kopka_kol_now`-'1' where `id`='".$user['id']."'"); +mysql_query("update `bank` set `ekr`=`ekr`+'".$bon."' where `owner`='".$user['id']."' LIMIT 1;"); +$user['pole_kopka_kol_now'] -= 1; +echo"Вы выкопали ".$bon." екр! Ищите в Банке, если у Вас есть счет. Если счета нету, срочно откройте его. :)"; +mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','\"".$user['login']."\" выкопал на Поле Чудес ".$bon." екр',1,'".time()."');"); +} +}else{echo"У Вас больше не осталось свободных копок!";} +}else{echo"Необходимо купить и взять в руки лопату!";} +} + +?> + +
    + Поле Чудес
    + Правила Поля Чудес: + 1) Нужно купить лопату; + 2) Можно выкопать екры, если докопать до конца сектора; + 3) Если везде написано -Пусто-, значит более шустрые игроки до Вас уже все выкопали. + Ждите, когда на Поле прорастут следующие кредиты и еврокредиты, а скорость роста зависит от активности игроков в игре; + 4) Поле Чудес навсегда и не будет закрываться никогда - радуйтесь! +
    + +
    + + + +
    ">Лабиринт">Снаряжение
    +
    +Кол-во копок: ".$user['pole_kopka_kol_now'].""; + if($user['pole_kopka_kol_bonus'] > 0){echo" (".$user['pole_kopka_kol_bonus']." бонусные)";} + echo" | Глубина копки: -".$user['pole_kopka_min']." .. -".$user['pole_kopka_max'].""; + if($user['pole_kopka_update'] > 0){echo" (x".$user['pole_kopka_update'].")";} + echo""; + echo"

    Позволяет копнуть на 1 раз больше. Цена: 7 Кр
    "; +} +else{echo"
    У вас нет лопаты!
    ";} +echo" +
    "; +echo""; + $pole=mysql_query("SELECT * FROM `pole`"); + $chislo = mysql_num_rows($pole); + if ($chislo > 0) { + echo ""; + for($i=0; $i"; + echo ""; + } + echo "
    "; + echo"С-".$poles['id'].""; + if($poles['type'] >= 1 && $poles['type'] <= 6){ + echo"
    "; + } + elseif($poles['type'] == 7 || $poles['type'] == 8 || $poles['type'] == 9){echo"
    ";} + elseif($poles['type'] == 0){echo"

    ПУСТО

    ";} + echo"".$poles['heals'].""; + echo "

    "; + } + echo"
    "; +?> +
    +"; +} +if ($_GET['razdel']==1) { +echo"
    Внимание для копания вам необходима лопата!

    "; + $lopata = mysql_fetch_array(mysql_query("select `name`,`img`,`duration`,`maxdur` from `inventory` where `owner`='".$user['id']."' AND (`name`='Чугунная лопата' OR `name`='Медная лопата') AND `dressed`='1'")); +echo"У Вас в руках:
    "; +if($lopata){ +echo"".$lopata['name']." [".$lopata['duration']."/".$lopata['maxdur']."]

    + Позволяет копнуть на 1 раз больше. Цена: 7 Кр
    "; +if($user['pole_kopka_update'] == 0){ +echo"
    ВНИМАНИЕ! Улучшить глубину лопаты можно лиш один раз, выбирайте сразу насколько сильно вы хотите ее улучшить!
    + Увеличивает глубину копания лопатов в 2 раза! Цена: 20 Кр
    + Увеличивает глубину копания лопатов в 3 раза! Цена: 45 Кр
    + Увеличивает глубину копания лопатов в 5 раза! Цена: 110 Кр"; +}else{echo"Вы уже улучшили глубину для этой лопаты! Ваше улучшение x".$user['pole_kopka_update']."";} +echo"
    "; +} +else{echo"НЕТ ЛОПАТЫ!

    ";} +echo"Вы можете купить:
    ВНИМАНИЕ! Купив новую лопату вы теряете все доп. копки и улучшенную глубину прежней лопаты!"; +echo"
    Чугунная лопата
    Кол-во копаний: 7
    Глубина копки: -5 .. -14
    Стоимость: 30Кр
    Медная лопата
    Кол-во копаний: 9
    Глубина копки: -8 .. -19
    Стоимость: 50Кр
    "; +} + +echo '

    '; +?> + +
    + + + diff --git a/pole_cron.php b/pole_cron.php new file mode 100644 index 0000000..bb08c97 --- /dev/null +++ b/pole_cron.php @@ -0,0 +1,74 @@ + \ No newline at end of file diff --git a/post.php b/post.php new file mode 100644 index 0000000..d4e8b30 --- /dev/null +++ b/post.php @@ -0,0 +1,283 @@ + + + + + + + + + +
    +

    Почта

    + +
    +'; +?>
    + +
    + +
    +
    + + +
    + +
    + + + + + + + + + + + +
    + + + +
    +
    +
    + Передать кредиты +
    У вас на счету: кр.
    + Передать кредиты, минимально 1 кр. Комиссия составит 5%
    + Укажите передаваемую сумму:   +
    +
    +
    + Телеграф + Вы можете отправить короткое сообщение любому персонажу, даже если он находится в offline или другом городе.
    + Услуга платная: 0.1 кр.
    + Сообщение: (Максимум 100 символов) + +
    + + + +
    + + + + + + + + +
    + + + + +
    ">Обмундирование">Заклятия">Прочее
    +
    Рюкзак (масса: /)
    + + 12 ORDER by `update` DESC; "); + } + + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if (@$i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } + if (mysql_num_rows($data) == 0) { + echo ""; + } +?> + + + +
    "; + ?> +
    + передать за 1 кр.'; + //echo "
    подарить'; + // echo "
    продать';?> + +
    Пусто
    +
    + + +
    + + diff --git a/proba.php b/proba.php new file mode 100644 index 0000000..5aaab94 --- /dev/null +++ b/proba.php @@ -0,0 +1,39 @@ + "5", + "1" => "10", + "2" => "20", + "3" => "30", + "4" => "60", + "5" => "120", + "6" => "180", + "7" => "300", + "8" => "450", + "9" => "600", + "10" => "1200", + ); + $at = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '".$at_id."' LIMIT 1;")); + $at_cost = mysql_fetch_array(mysql_query("select sila+lovk+inta+vinos+intel+mudra+IFNULL((select SUM(cost) FROM inventory WHERE owner = users.id AND dressed=1),0), `align` FROM users WHERE id = ".$at_id." LIMIT 1;")); + + $def = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '".$def_id."' LIMIT 1;")); + $def_cost = mysql_fetch_array(mysql_query("select sila+lovk+inta+vinos+intel+mudra+IFNULL((select SUM(cost) FROM inventory WHERE owner = users.id AND dressed=1),0), `align` FROM users WHERE id = ".$def_id." LIMIT 1;")); + + // модификаторы опыта + $expmf = 1; + if($at['align']==4) { + $expmf = $expmf/2; + } + if((int)$at['align'] == 1 && $def['align'] == 3) { + $expmf = $expmf*2; + } + if((int)$def['align'] == 1 && $at['align'] == 3) { + $expmf = $expmf*2; + } + $expmf = $at_cost[0]/3000+1; + + return ($baseexp[$def['level']])*($def_cost[0]/(($at_cost[0]+$def_cost[0])/2))*($damage/$def['maxhp'])*$expmf; + } + #echo round(solve_exp (9543,8548,27)); +?> \ No newline at end of file diff --git a/quest_room.php b/quest_room.php new file mode 100644 index 0000000..7143e17 --- /dev/null +++ b/quest_room.php @@ -0,0 +1,166 @@ += "'.$user['level'].'" AND `id` = "'.mysql_real_escape_string($_GET['quid']).'" LIMIT 1')); + if(isset($pl['id']) && $q->testGood($pl, $user['id']) == 1) { + echo $q->startq($pl['id'], null, $user['id']); + } elseif($q->testGood($pl, $user['id']) == 2) { + $err = 'У вас уже есть такое задание ...'; + } elseif($q->testGood($pl, $user['id']) == 3) { + $err = 'Необходимо завершить квесты ...'; + } elseif($q->testGood($pl, $user['id']) == 4) { + $err = 'Задержка на выполнение задания ...'; + } elseif($q->testGood($pl, $user['id']) == 5) { + $err = 'Достигнут лимит выполнения заданий ...'; + } else { + $err = $q->testGood($pl, $user['id']); + } +} + +$qsee = ''; + +$sp = mysql_query('SELECT * FROM `quests` WHERE `delete` = 0 ORDER BY `id` DESC'); +while($pl = mysql_fetch_array($sp)) { + $qsee .= $q->list_quest($pl, $user['id']); +} + +if($qsee == '') { + $qsee = '
    К сожалению заданий сейчас нету ...
    '; +} + + +if($_GET['go_to']) { + mysql_query('UPDATE `users`,`online` SET `users`.`room` = 20, `online`.`room` = 20 WHERE `users`.`id` = "'.$user['id'].'" AND `online`.`id` = "'.$user['id'].'"'); + header('Location: city.php'); +} + +function info_quest($id) { + $sp = mysql_fetch_array(mysql_query('SELECT * FROM `quests` WHERE `id` = "'.$id.'" LIMIT 1')); + if(isset($sp['id'])) { + return $sp; + } else { + return null; + } +} + +if($_GET['hps']) { + if($user['hp'] == $user['maxhp']) { + $err = 'Ваше здоровье и так полное ...'; + } else { + $user['hp'] = $user['maxhp']; + mysql_query('UPDATE `users` SET `hp` = "'.$user['hp'].'" WHERE `id` = "'.$user['id'].'" LIMIT 1'); + $err = 'Ваше здоровье восстановлено ...'; + } +} + +if($_GET['quids']) { + #$err = add_quest($user['id'], (int)$_GET['quid']); +} + +if($q->error != '') { + $err = $q->error; +} +?> + + + 404 + + + + + + +
    +

    Памятник Архангелу

    + +
    + + + + + +
    + +
    + +
    + +
    +
    +
    + Приветствую тебя, воин! +
    +
    + На памятнике выгравированы опасные задания, за выполнение которых Вы получаете достойную награду!

    + P.S. Для каждого задания отводится определенный промежуток времени, если задание не сдано вовремя, то Архангел не выдаст Вам награду и придется начать все сначала! Да, тут Вам не ясли, все серьезно! +
    +
    +
    + '.$err.''; } ?> +
    +
    +
    + +
    + +
    + +
    + + \ No newline at end of file diff --git a/rating/index.php b/rating/index.php new file mode 100644 index 0000000..e4a6530 --- /dev/null +++ b/rating/index.php @@ -0,0 +1,370 @@ + + + +Рейтинг: Эпоха "Золотого Века" Бойцовского клуба + + + + + + + + + + + + + + + +
    +
    +
    + +
    +
    + +
    +
    +
    +

    + Лучший Боец. + +

    +

    +
    Хочешь увидеть свое имя тут,
    прокачай своего персонажа сильнее остальных! +

    +
    + + +
    +"; + + } +?> + +
    ПерсонажОпыт
    ".$nu++.". "; + nick2($row['id']); + echo"".$row['exp']."
    + +
    + + + + + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +Пользовательское соглашение

    old-dark.ru © 2015 - 2016

    +
    +
    + + + +
    Досье
    \ No newline at end of file diff --git a/rating/index_files/Thumbs.db b/rating/index_files/Thumbs.db new file mode 100644 index 0000000..a951dac Binary files /dev/null and b/rating/index_files/Thumbs.db differ diff --git a/rating/index_files/cigame-logo-ny.png b/rating/index_files/cigame-logo-ny.png new file mode 100644 index 0000000..63875d1 Binary files /dev/null and b/rating/index_files/cigame-logo-ny.png differ diff --git a/rating/index_files/css b/rating/index_files/css new file mode 100644 index 0000000..c29dd1d --- /dev/null +++ b/rating/index_files/css @@ -0,0 +1,224 @@ +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/Q47Ro23nlKqZrOLipd3-SyEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/qkE6YsKPRiYUugBb1_QwHCEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/N2U74xxQEyaTBF6QLZRr1CEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/1_daFS3X6gkNOcmGmHl7UiEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/G-mm5mDezDSs-RvEL7XAECEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/fVu1p3782bqS2z-CaJvp9iEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/eCpfeMZI7q4jLksXVRWPQ_k_vArhqVIZ0nv9q090hN8.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPede9INZm0R8ZMJUtfOsxrw.woff2) format('woff2'); + unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPbpHcMS0zZe4mIYvDKG2oeM.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPRquHyap-BLkxbFhcQRhghg.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPTyJJ3dJfU6-XWVNf-DPRbs.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPTh33M2A-6X0bdu871ruAGs.woff2) format('woff2'); + unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPRHJTnCUrjaAm2S9z52xC3Y.woff2) format('woff2'); + unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPYWiMMZ7xLd792ULpGE4W_Y.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz6-j2U0lmluP9RWlSytm3ho.woff2) format('woff2'); + unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz5X5f-9o1vgP2EXwfjgl7AY.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNzxWV49_lSm1NYrwo-zkhivY.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz6aRobkAwv3vxw3jMhVENGA.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz_8zf_FOSsgRmwsS7Aa9k2w.woff2) format('woff2'); + unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNzz0LW-43aMEzIO6XUTLjad8.woff2) format('woff2'); + unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz-gdm0LZdjqr5-oayXSOefg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvLPaLDTSXeXFRL0dx0NiHII.woff2) format('woff2'); + unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvNkZ6ofoXFVR94fBb90XSvU.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvO0TTzR8Cjc_q-rx2cfsDws.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvLY42KghHoOJT8APv0kV5JI.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvBleLRUdNWOtq4SldHKv7HI.woff2) format('woff2'); + unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvOIaMZP5eRGvEWe_CNIU_oY.woff2) format('woff2'); + unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvHNuWYKPzoeKl5tYj8yhly0.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; +} diff --git a/rating/index_files/dct.js b/rating/index_files/dct.js new file mode 100644 index 0000000..b04cefc --- /dev/null +++ b/rating/index_files/dct.js @@ -0,0 +1 @@ +!function(){function e(){}function n(e){var n="";if(n+=r(),n+=G,n+=L,n+=J,n+="/",n+=K,n+="?event="+e[1],n+="&time="+Q,n+="&__v="+Math.floor(1e5*Math.random()),d(e[2])){e[2]=g(e[2]);var t=_(e[2]);t&&(n+="&"+t)}return n}function r(){return w&&w.location&&"https:"===w.location.protocol?"https:":"http:"}function t(){for(var e=0,n=N.length;n>e;e++)if(N[e][0]===k){J=N[e][1],K=N[e][2],N[e][3]&&(G=N[e][3]),N.splice(e,1),i();break}}function o(r){r=v?u(r):f(r);var t=n(r),o=s(t);h instanceof e&&console.log(o)}function i(){if(J&&K){var e=N.length;if(e)for(var n=0;e>n;n++)a(N[n]);N=[]}else t()}function a(e){c(e)&&m(e[0])&&(e[0]===C?p(e[1],z)&&(L=e[1]):y(e[1])&&e[0]===D&&o(e))}function f(e){var n=e[2]||{};return w&&w.location&&(n.url=w.location.toString()),h.referrer&&(n.referrer=h.referrer),h.cookie&&(n.cookie=h.cookie),"undefined"!=typeof navigator&&(n.user_agent=navigator.userAgent),e[2]=n,e}function u(e){var n=e[2]||{};return h.referrer&&(n.url=h.referrer,n.referrer=""),h.cookie&&(n.cookie=h.cookie),"undefined"!=typeof navigator&&(n.user_agent=navigator.userAgent),e[2]=n,e}function c(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"length")}function d(e){return null!==e&&"object"==typeof e}function l(e){return"number"==typeof e&&13===e.toString().length}function p(e,n){if("string"==typeof e){if("undefined"!=typeof Array.prototype.indexOf)return-1!==n.indexOf(e);for(var r=0;r ww) { + var posLeft = e.pageX - (indent + boxWidth); + var cssArr = { + top: e.pageY - 150, + left: posLeft + } + } + else { + var cssArr = { + top: (e.pageY - 150), + left: (e.pageX + 35) + } + } + + thingWidget.css(cssArr); + } + }).mouseover(); + + + $('.thing-widget').hover( + function() { + var ww = $(window).width(); + var indent = 35; + var boxWidth = 300; + + if ((mouseX + indent + boxWidth) > ww) { + var posLeft = mouseX - (indent + boxWidth); + var cssArr = { + top: mouseY - 150, + left: posLeft + } + } + else { + var cssArr = { + top: (mouseY - 150), + left: (mouseX + 35) + } + } + + var that = $('div.tw[data-id="' + $(this).attr('data-target') +'"]'); + thingWidget = that; + that.stop(true).queue('fx', function(){ + that.css(cssArr).show('fast').dequeue('fx'); + }); + }, + function() { + var that = $('div.tw[data-id="' + $(this).attr('data-target') +'"]'); + that.stop(true).queue('fx', function(e){ + that.hide('fast').dequeue('fx'); + }); + } + ); + + + if ($('body').find('ul.admin-menu').size() > 0) + { + $('ul.admin-menu').children('li').click(function(){ + if ($(this).is('.exit')) + { + $('div.admin-data').hide('fast'); + $('ul.admin-menu').children('li').removeClass('active'); + $('div.admin-panel').removeClass('active'); + } + else if (!$(this).is('.active')) + { + $('ul.admin-menu').children('li').removeClass('active'); + $(this).addClass('active'); + $('div.admin-panel').addClass('active'); + + if (!$(this).children('a').is('.hierarchy')) + { + $('div.admin-content').addClass('rf'); + } + else + { + $('div.admin-content').removeClass('rf'); + } + + var that = $('div.admin-data[data-id="' + $(this).children('a').attr('data-target') +'"]'); + $('div.admin-data').hide('fast'); + that.show('fast'); + } + }); + } + + + /* GLOBAL DROPPED MENU */ + if ($('body').find('ul.dropped-down').size() > 0) + { + $('ul.dropped-down').click(function() + { + if($(this).is('.open')) + { + $(this).children('li').hide('fast', function(){ + $('ul.dropped-down').removeClass('open'); + }); + } + else + { + $(this).children('li').show('fast', function(){ + $('ul.dropped-down').addClass('open'); + }); + } + }); + } + + + /* GLOBAL SUB MENU */ + if ($('body').find('li.sub-menu').size() > 0) + { + $('li.sub-menu').hover( + function() { + $(this).children('ul.sub-menu').slideDown(300); + }, + function() { + $(this).children('ul.sub-menu').slideUp(300); + } + ); + } + + + /* GLOBAL USER SUB MENU */ + if ($('body').find('li.sub-menu-click').size() > 0) + { + $('li.sub-menu-click').click(function(){ + if(!$(this).children('ul.sub-menu-click').is(':visible')) { + $(this).children('ul.sub-menu-click').slideDown(300); + } + else { + $(this).children('ul.sub-menu-click').slideUp(300); + } + }); + + } + + + /* MAIN AUTH FORM */ + if ($('body').find('form.rand-auth').size() > 0) + { + $('div.checkbox').click(function(){ + if($(this).is('.active')) { + $(this).removeClass('active'); + $(this).children('input').removeAttr('checked'); + } + else { + $(this).addClass('active'); + $(this).children('input').attr('checked', 'checked'); + } + }); + } + /* + if ($('body').find('a.subscriber-auth').size() > 0) + { + $('a.subscriber-auth').click(function(e){ + $('li.subscriber').children('div.auth').slideDown(100); + rel = $('li.subscriber').children('div.auth').attr('data-rel'); + if (rel == 'right') { + $('div.right').css('padding-top', '155px'); + } + e.preventDefault(); + }); + } + */ + $(document).mouseup(function (e) { + var div = $("div.inmain-auth"); + if (!div.is(e.target) && div.has(e.target).length === 0) { + div.hide(); + if ($('div.inmain-auth').attr('data-rel') == 'right') { + $('div.right').removeAttr('style'); + } + } + }); + /* ******************* */ + + + /* FAQ QUESTIONS */ + if($('body').find('div.bfaq').size() > 0) + { + $('a.question').click(function(e){ + if($(this).is('.active')) { + $(this).removeClass('active'); + $(this).parent('.each').children('.answer').slideUp(400); + } + else { + $('.question').removeClass('active'); + $('.answer').slideUp(400); + $(this).addClass('active'); + $(this).parent('.each').children('.answer').slideDown(400); + } + e.preventDefault(); + }); + } + /* ******************* */ + + + if ($('body').find('textarea#content').size() > 0) + { + $('textarea#content').redactor({ + lang: 'ru', + air: false, + autoclear: false, + imageGetJson: false, + imageUpload: '/picture-upload/', + toolbar: 'mini' + }); + } + if ($('body').find('textarea#faq-content').size() > 0) + { + $('textarea#faq-content').redactor({ + lang: 'ru', + air: false, + autoclear: false, + toolbar: 'faq' + }); + } + + if ($('body').find('textarea#admin-content-plain').size() > 0) + { + $('textarea#admin-content-plain').redactor({ + lang: 'ru', + air: false, + autoclear: false, + imageGetJson: false, + imageUpload: '/picture-upload/', + toolbar: 'admincontent' + }); + } + + if ($('body').find('textarea#admin-content-plain-added').size() > 0) + { + $('textarea#admin-content-plain-added').redactor({ + lang: 'ru', + air: false, + autoclear: false, + imageGetJson: false, + imageUpload: '/picture-upload/', + toolbar: 'admincontent' + }); + } + + if ($('body').find('div#notice').size() > 0) + { + if ($('div#notice').is('.fly')) + { + setTimeout(function(){ + $('div#notice').animate({ + opacity: 0, + top: '-=100px' + }, 1000); + }, 3500); + } + } + + if ($('body').find('input.clean').size() > 0) + { + $('input.clean').val(''); + } + + if ($('body').find('.goods').size() > 0) { + $('.goods').children('.item').click(function(){ + var item_id = '.item-' + $(this).attr('data-id'); + if ($(this).is('.active')) { + $(this).removeClass('active'); + $(item_id).slideUp('fast'); + } + else { + $('.goods').children('.item').removeClass('active'); + $(this).addClass('active'); + $('.goods-pay').slideUp('fast', function(){ + setTimeout(function(){ + $(item_id).slideDown('slow'); + }, 400); + }); + } + }); + } + + + $('ul#switch').children('li').children('a').click(function(e){ + + if (!$(this).parent('li').is('active')) { + + $('ul#switch').children('li').removeClass('active'); + $(this).parent('li').addClass('active'); + var dataRel = $(this).attr('data-rel'); + + if($('.goods-pay').is(':visible')) { + $('.goods').children('.item').removeClass('active'); + $('.goods-pay').slideUp('fast'); + } + + if (dataRel == 0) { + $('.goods').children('.item').show(); + } + else if (dataRel == 1) { + $("div.item[data-target='2']").hide(); + } + else if (dataRel == 2) { + $("div.item[data-target='1']").hide(); + } + $("div.item[data-target='" + dataRel +"']").show(); + } + + e.preventDefault(); + }); + + + $('ul#switch-menu').children('li').children('a').click(function(e){ + if(!$(this).parent('li').is('.active')) { + $('ul#switch-menu').children('li').removeClass('active'); + $(this).parent('li').addClass('active'); + var dataRel = $(this).attr('data-rel'); + $('.switch-target').hide(); + $("div.switch-target[data-id='" + dataRel +"']").show(); + } + e.preventDefault(); + }); + + + $('input#shop-val-dimond').bind('keyup', function(){ + var value = $(this).val() * 1; + + if ($.isNumeric(value) && value >= 1) { + if ($(this).parent('div').is('.invalid')) { + $(this).parent('div').removeClass('invalid'); + } + + var newPrice = Math.ceil(value / (shop_price_amn * 1)); + $('a.shop-money-dimond').text('Купить за ' + newPrice + ' руб').attr('data-price', value); + + if($(this).is('.summa-bonus')) { + + var actual_summa = 0; + + if (value >= 5000) { + actual_summa = 5000; + actual_val = Math.ceil(value * 0.2); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 3000) { + actual_summa = 3000; + actual_val = Math.ceil(value * 0.17); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 1500) { + actual_summa = 1500; + actual_val = Math.ceil(value * 0.15); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 1000) { + actual_summa = 1000; + actual_val = Math.ceil(value * 0.12); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 500) { + actual_summa = 500; + actual_val = Math.ceil(value * 0.1); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 150) { + actual_summa = 150; + actual_val = Math.ceil(value * 0.05); + actual_text = '+' + actual_val + ' бесплатно'; + } + + var summa_bonus_name = 'span.summa-bonus-dimond-' + actual_summa; + + if (actual_summa >= 150) { + $(summa_bonus_name).text(actual_text).show(); + $(this).width(120); + } + if (actual_summa < 1) { + $('span.summa-bonus').hide(); + $(this).width(256); + } + } + } + else { + if (!$.isNumeric(value)) { + $(this).parent('div').addClass('invalid'); + } + $('a.shop-money-dimond').text($('a.shop-money-dimond').attr('data-default')).attr('data-price', 0); + } + }); + + + $('input#shop-val-gold').bind('keyup', function(){ + var value = $(this).val() * 1; + var amnVal = value / 10; + + if ($.isNumeric(value) && value > 1) { + if ($(this).parent('div').is('.invalid')) { + $(this).parent('div').removeClass('invalid'); + } + var newPrice = Math.ceil(value / (shop_price_zmn * 1)); + $('a.shop-money-gold').text('Купить за ' + newPrice + ' руб').attr('data-price', value / 10); + + if($(this).is('.summa-bonus')) { + + var actual_summa = 0; + + if (amnVal >= 5000) { + actual_summa = 5000; + actual_val = Math.ceil(amnVal * 0.2) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 3000) { + actual_summa = 3000; + actual_val = Math.ceil(amnVal * 0.17) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 1500) { + actual_summa = 1500; + actual_val = Math.ceil(amnVal * 0.15) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 1000) { + actual_summa = 1000; + actual_val = Math.ceil(amnVal * 0.12) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 500) { + actual_summa = 500; + actual_val = Math.ceil(amnVal * 0.1) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 150) { + actual_summa = 150; + actual_val = Math.ceil(amnVal * 0.05) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + + var summa_bonus_name = 'span.summa-bonus-gold-' + actual_summa; + + if (actual_summa >= 150) { + $(summa_bonus_name).text(actual_text).show(); + $(this).width(120); + } + if (actual_summa < 1) { + $('span.summa-bonus').hide(); + $(this).width(256); + } + } + } + else { + if (!$.isNumeric(value)) { + $(this).parent('div').addClass('invalid'); + } + $('a.shop-money-gold').text($('a.shop-money-gold').attr('data-default')).attr('data-price', 0); + } + }); + + + $('a.shop-pay').click(function(e){ + if (($(this).attr('data-price') * 1) < 1) { + if ($(this).is('.shop-money-dimond')) { + $('input#shop-val-dimond').parent('div').addClass('invalid'); + } + if ($(this).is('.shop-money-gold')) { + $('input#shop-val-dimond').parent('div').addClass('invalid'); + } + } + else if (!$(this).is('.shop-pay-block')) { + + $(this).addClass('shop-pay-block'); + + if ($(this).is('.shop-money-gold')) { + var callRequest = { + 'amount': $(this).attr('data-price'), + 'gold': $('input#shop-val-gold').val() + } + } else { + var callRequest = { + 'amount': $(this).attr('data-price') + } + } + + system.call(urlShopPay, callRequest, function(data){ + + if (data.error) { + if (data.error.code == 'INVALID_USER') { + window.location.href = '/sign/'; + } else if (data.error.code == 'INVALID_ERROR') { + $('div#fly-fail').fadeIn('fast'); + } + } else if (data.success) { + XPSLightBox.open('https://secure.xsolla.com/paystation2/?access_token=' + data.success.token, 750, 620); + } + }); + + setTimeout(function(button){ + $('a.shop-pay').removeClass('shop-pay-block'); + }, 3500); + } + e.preventDefault(); + }); + + $('.goods-close').click(function(){ + $(this).parent('div.goods-pay').slideUp('fast'); + $('.goods').children('.item').removeClass('active'); + }); + + $('#fly-fail').children('.close').click(function(){ + $(this).parent('div').fadeOut('fast'); + }); + $('#fly-result').children('.close').click(function(){ + $(this).parent('div').fadeOut('fast'); + }); + + $('.tooltip').tooltip({ + show: null, + position: { + my: "center bottom", + at: "center top-20" + }, + open: function( event, ui ) { + ui.tooltip.animate({ top: ui.tooltip.position().top + 10 }, "fast" ); + } + }); + + /* IGNORED EVENTS */ + $('a.ignore').click(function(e){ + e.preventDefault(); + }); + $('form.ignore').submit(function(e){ + e.preventDefault(); + }); + + + /* VIP ACCOUNT */ + if ($('body').find('div.vip-lib').size() > 0) + { + var cl = account_stat_vip*1; + var cr = account_stat_rub*1; + if (cr >= 1) vipLoad(); + + $('span.bnext').click(function(){ + var cb = $('div.lib-box-vi').attr('data-id'); + var cbn = (cb*1) + 1; + if (cbn <= 12) { + var next = 'div.lib-box-' + cbn; + var nextNM = ($(next).attr('data-next')*1) - cr; + var needM = $(next).attr('data-next')*1; + $('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){ + $(next).addClass('lib-box-vi').fadeIn('slow'); + $('div.vip-line').children('span.prefix').text('VIP ' + cl); + $('div.vip-line').children('span.suffix').text('VIP ' + (cbn + 1)); + + if (cbn == 12) { + $('span.vip-desc').text('Следующий уровень не доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text('> 22000'); + } else if (nextNM < 1) { + $('span.vip-desc').text('Этот уровень VIP вам доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text(needM); + vipLineLength(cr, needM); + } else { + $('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет'); + $('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled'); + $('div.line').children('span.need').text(nextNM); + vipLineLength(cr, needM); + } + }); + } + }); + + $('span.blast').click(function(){ + var cb = $('div.lib-box-vi').attr('data-id'); + var cbn = (cb*1) - 1; + if (cbn >= 0) { + var last = 'div.lib-box-' + cbn; + var nextNM = ($(last).attr('data-next')*1) - cr; + var needM = $(last).attr('data-next')*1; + $('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){ + $(last).addClass('lib-box-vi').fadeIn('slow'); + $('div.vip-line').children('span.prefix').text('VIP ' + cl); + $('div.vip-line').children('span.suffix').text('VIP ' + cb); + + if (nextNM < 1) { + $('span.vip-desc').text('Этот уровень VIP вам доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text(needM); + vipLineLength(cr, needM); + } else { + $('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет'); + $('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled'); + $('div.line').children('span.need').text(nextNM); + vipLineLength(cr, needM); + } + }); + } + }); + + $('a.vip-pay-disabled').live('click', function(e){ + e.preventDefault(); + }); + } + + + function vipLineLength (money, needMoney) + { + var min = 30; + if (money >= 10) min = 38; + if (money >= 100) min = 45; + if (money >= 1000) min = 55; + if (money >= 10000) min = 65; + + var max = 669; + var len = max * ((money*1) / (needMoney*1)); + var cw = $('div.inline').width()*1; + + cw = cw < min ? min : cw; + len = len < min ? min : len; + len = len > max ? max : len; + + if (len >= cw) { + var w = len - cw; + $('div.inline').animate({ + width: '+=' + w + 'px' + }, 500); + } else { + var w = cw - len; + $('div.inline').animate({ + width: '-=' + w + 'px' + }, 500); + } + } + + + function vipLoad (cl, cr) + { + var cl = account_stat_vip*1; + var cr = account_stat_rub*1; + + if (cl <= 12) { + var next = 'div.lib-box-' + cl; + var nextNM = ($(next).attr('data-next')*1) - cr; + var needM = $(next).attr('data-next')*1; + $('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){ + $(next).addClass('lib-box-vi').fadeIn('slow'); + $('div.vip-line').children('span.prefix').text('VIP ' + cl); + $('div.vip-line').children('span.suffix').text('VIP ' + (cl + 1)); + + if (cl == 12) { + $('span.vip-desc').text('Следующий уровень не доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text('> 22000'); + } else if (nextNM < 1) { + $('span.vip-desc').text('Этот уровень VIP вам доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text(needM); + vipLineLength(cr, needM); + } else { + $('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет'); + $('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled'); + $('div.line').children('span.need').text(nextNM); + vipLineLength(cr, needM); + } + }); + } + } + + if ($('body').find('a.lb1').size() > 0) { + jQuery('a.lb1').lightBox({ + overlayBgColor: '#000', + overlayOpacity: 0.8, + imageLoading: '/images/724.gif' + }); + } + if ($('body').find('a.lb2').size() > 0) { + jQuery('a.lb2').lightBox({ + overlayBgColor: '#1D2F35', + overlayOpacity: 0.6, + imageLoading: '/images/preloader_724_1.gif' + }); + } + if ($('body').find('a.lb3').size() > 0) { + jQuery('a.lb3').lightBox({ + overlayBgColor: '#1D2F35', + overlayOpacity: 0.6, + imageLoading: '/images/preloader_724_1.gif' + }); + } + if ($('body').find('a.lib-image').size() > 0) { + jQuery('a.lib-image').lightBox({ + overlayBgColor: '#1D2F35', + overlayOpacity: 0.6, + imageLoading: '/images/preloader_724_1.gif', + imageBtnClose: '/images/lightbox-btn-close.gif', + imageBtnPrev: '/images/lightbox-btn-prev.gif', + imageBtnNext: '/images/lightbox-btn-next.gif', + imageBlank: '/images/lightbox-blank.gif', + txtImage: 'Изображение', + txtOf: 'из' + }); + } + if ($('body').find('a.lv1').size() > 0) { + $('a.lv1').click(function(){ + $('body').append('
    '); + }); + $('#jquery-overlay').live('click', function(){ + $('#jquery-lightbox').remove(); + $('#jquery-overlay').fadeOut(function() { $('#jquery-overlay').remove(); }); + }); + $('#lightbox-secNav-btnClose').live('click', function(e){ + $('#jquery-lightbox').remove(); + $('#jquery-overlay').fadeOut(function() { $('#jquery-overlay').remove(); }); + e.preventDefault(); + }); + } + + $('.invite-select').change(function(){ + $(this).addClass('selected'); + }); + + + /* FORMS */ + $('input.alter').keyup(function() + { + if ($(this).parent('.field').is('.alarm')) + { + $(this).parent('.field').removeClass('alarm'); + $(this).parent('.field').parent('fieldset').children('p.note').slideUp(300); + } + }); + + $('ul.radio').children('li').click(function() + { + var dataTarget = 'input#' + $(this).parent('ul').attr('data-target'); + var dataRel = $(this).attr('data-rel'); + + $(this).parent('ul').parent('div.field').removeClass('alarm success'); + $(this).parent('ul').children('li').removeClass('active'); + $(this).addClass('active'); + $(dataTarget).val(dataRel); + }); + + }); + + + + diff --git a/rating/index_files/f_f_p1.jpg b/rating/index_files/f_f_p1.jpg new file mode 100644 index 0000000..88dac17 Binary files /dev/null and b/rating/index_files/f_f_p1.jpg differ diff --git a/rating/index_files/f_p1 b/rating/index_files/f_p1 new file mode 100644 index 0000000..d055bc6 Binary files /dev/null and b/rating/index_files/f_p1 differ diff --git a/rating/index_files/f_p1(1) b/rating/index_files/f_p1(1) new file mode 100644 index 0000000..88dac17 Binary files /dev/null and b/rating/index_files/f_p1(1) differ diff --git a/rating/index_files/f_p1(2).jpg b/rating/index_files/f_p1(2).jpg new file mode 100644 index 0000000..d055bc6 Binary files /dev/null and b/rating/index_files/f_p1(2).jpg differ diff --git a/rating/index_files/f_p1.jpg b/rating/index_files/f_p1.jpg new file mode 100644 index 0000000..88dac17 Binary files /dev/null and b/rating/index_files/f_p1.jpg differ diff --git a/rating/index_files/f_p2 b/rating/index_files/f_p2 new file mode 100644 index 0000000..5a6a2a5 Binary files /dev/null and b/rating/index_files/f_p2 differ diff --git a/rating/index_files/f_p3 b/rating/index_files/f_p3 new file mode 100644 index 0000000..17880f9 Binary files /dev/null and b/rating/index_files/f_p3 differ diff --git a/rating/index_files/form.css b/rating/index_files/form.css new file mode 100644 index 0000000..0922007 --- /dev/null +++ b/rating/index_files/form.css @@ -0,0 +1,657 @@ +input[type=text], +input[type=password], +button, +select, +textarea { + background: none repeat scroll 0 0 transparent; + font-size: 12px; + /*font-family: "PT Sans","Trebuchet MS",segoe ui,trebuchet ms,Verdana,Arial,Tahoma,sans-serif;*/ + font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif; + color: #888888; + border: 0 solid; + padding: 0px 6px; +} + +input[type=text], +input[type=password], +textarea { + -moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.1); + box-shadow: inset 0 0 1px rgba(0,0,0,0.1); +} + +button { + cursor: pointer; + color: #ffffff; +} + +input:placeholder { color: #9d9d9d } +input::-webkit-input-placeholder { color: #9d9d9d } +input:-moz-placeholder { color: #9d9d9d } +input.placeholder { color: #9d9d9d } +input:-ms-input-placeholder { color: #9d9d9d } + +input:focus:placeholder { color: #c2c2c2 } +input:focus::-webkit-input-placeholder { color: #c2c2c2 } +input:focus:-moz-placeholder { color: #c2c2c2 } +input.placeholder:focus { color: #c2c2c2 } +input:-ms-input-placeholder:focus { color: #c2c2c2 } + +form.default fieldset { + margin-bottom: 16px; +} + +form.default fieldset.textarea div.field { + min-height: 120px; +} + +form.default fieldset div.field { + border: 1px solid #d6d6d6; + height: 30px; + background-color: #f4f4f4; + position: relative; +} + +form.default fieldset div.field.radio { + +} + +form.default fieldset div.field.alarm { + border: 1px solid #D66060 !important; +} +form.default fieldset div.field.success { + border: 1px solid #458C44 !important; +} + +form.default fieldset div.field:hover, +form.default fieldset div.field:focus { + background-color: #ffffff; + border: 1px solid #bebebe; +} + +fieldset div.field input[type=text], +fieldset div.field input[type=password], +fieldset div.field select, +fieldset div.field textarea, +fieldset div.button button { + display: block; + font-size: 14px; +} + +fieldset div.field.radio ul { + list-style: none; + display: block; + width: 100%; + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + position: relative; + height: 30px; +} + +fieldset div.field.radio ul li { + display: block; + float: left; + color: #7C7C7C; + cursor: pointer; + text-align: center; + font-size: 14px; + height: 30px; + line-height: 30px; + position: relative; + background-color: #f4f4f4; +} + +fieldset div.field.radio ul li:hover { + backgroun-position: top left; + background-repeat: repeat-x; + background-image: url(/i/form/bg-ul-hover.png); + background-color: #ffffff; + color: #080c16; +} + +fieldset div.field.radio ul li.active { + backgroun-position: top left; + background-repeat: repeat-x; + background-image: url(/i/form/bg-ul-active.png); + background-color: #ffffff; + color: #080c16; +} + +fieldset div.field.radion ul li:first-child { + -webkit-border-radius: 3px 0px 0px 3px; + -moz-border-radius: 3px 0px 0px 3px; + border-radius: 3px 0px 0px 3px; +} + +fieldset div.field.radion ul li:last-child { + -webkit-border-radius: 0px 3px 3px 0px; + -moz-border-radius: 0px 3px 3px 0px; + border-radius: 0px 3px 3px 0px; +} + +fieldset div.field.radio ul li+li::before { + content: ""; + width: 0px; + height: 30px; + position: absolute; + top: 0px; + left: 0px; + border-left: 1px solid #eaeaea; + border-right: 1px solid #d6d6d6; +} + +fieldset div.field.radio ul.e2 li { + width: 50%; +} + +form.default fieldset > label { + font-size: 13px; + font-weight: bold; + display: block; + margin-bottom: 5px; + -moz-text-shadow: 0 0 1px rgba(0,0,0,0.4); + -webkit-text-shadow: 0 0 1px rgba(0,0,0,0.4); + text-shadow: 0 0 1px rgba(0,0,0,0.4); + font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif; +} + +form.default fieldset > label > span.explain { + display: inline-block; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + color: #ffffff; + background-color: #080c16; + width: 14px; + line-height: 14px; + font-size: 9px; + font-weight: bold; + text-align: center; +} + +form.default fieldset > p.desc { + font-size: 12px; + margin-top: 3px; + margin-bottom: 3px; + color: #858585; +} + +form.default fieldset div.button { + height: 32px; + -moz-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); + -webkit-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); + text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); +} + +form.default fieldset div.button button { + width: 220px !important; + font-size: 14px; + font-weight: bold; + margin-right: 8px; +} + +div.button button, +div.field input[type=text], +div.field input[type=password], +div.field select { + width: 100%; + height: 100%; + outline: 0 none; + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} + +div.field textarea { + display: block; + padding: 5px; + -moz-box-sizing: border-box; + box-sizing: border-box; + height: 100%; + outline: 0 none; + width: 100%; + resize: none; +} + +form.default fieldset div.field, +form.default fieldset div.button, +form.default button { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + outline: 0 none; +} + + + +/* FORM GLUE */ +form.glue fieldset div.field { + height: 38px; + background-color: #f4f4f4; + position: relative; +} + +form.glue > div.glue input[type=text] +form.glue > div.glue input[type=password] { + border-radius: 0px; +} + +form.glue > div.glue fieldset:first-child div.field { + -webkit-border-radius: 7px 7px 0px 0px; + -moz-border-radius: 7px 7px 0px 0px; + border-radius: 7px 7px 0px 0px; + border-top: 1px solid #2F2F2F; +} + +form.glue > div.glue fieldset div.field { + border-left: 1px solid #2F2F2F; + border-right: 1px solid #2F2F2F; +} + +form.glue > div.glue fieldset:last-child div.field { + -webkit-border-radius: 0px 0px 7px 7px; + -moz-border-radius: 0px 0px 7px 7px; + border-radius: 0px 0px 7px 7px; + border-bottom: 1px solid #2F2F2F; +} + +form.glue div.button { + margin-top: 18px; + height: 36px; + position: relative; +} + +form.glue div.button button { + -webkit-border-radius: 7px; + -moz-border-radius: 7px; + border-radius: 7px; + font-size: 14px; + font-weight: bold; + + -moz-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); + -webkit-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); + text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); +} + +form.glue fieldset div.field input[type=text], +form.glue fieldset div.field input[type=password] { + font-size: 15px; + font-weight: bold; + color: #414042; + padding: 0px 12px; + + -moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + box-shadow: inset 0 0 1px rgba(0,0,0,0.4); +} + +form.glue fieldset.radio div.field { + min-height: 38px; +} + +form.glue fieldset.radio div.field label { + display: block; + color: #939393; + font-size: 15px; + font-weight: bold; + padding: 0 2px 0 12px; + line-height: 36px; + float: left; + width: 50px; +} + +form.glue fieldset.radio div.field radio, +form.glue fieldset.radio div.field span { + line-height: 40px; +} + +form.glue fieldset.radio div.field label + input { + /*margin-left: 70px;*/ +} + +form.glue fieldset.radio div.field span { + font-size: 12px; + color: #939393; + padding: 0px 8px 0px 4px; +} + + +/******** INLINE ************/ +form#shop-dimond, +form#shop-gold { + margin-top: 14px; + margin-bottom: 14px; +} + + +form#shop-dimond div.field, +form#shop-gold div.field { + background-color: #150506; + border: 1px solid #43565c; + -webkit-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + -moz-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + + +form.inline fieldset { + position: relative; + margin-left: 20px; + margin-right: 20px; +} + +form.inline fieldset div.field { + height: 38px; + background-color: #f4f4f4; + position: relative; + -moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + border: 1px solid #ececec; +} + +form.inline fieldset div.field > input { + margin-left: 120px; + width: 256px; + font-size: 20px; + text-align: center; +} + +form.inline fieldset div.field.invalid { + border: 1px solid #a62220 !important; +} + +form.inline fieldset div.field.invalid input { + color: #a62220 !important; +} + +form.inline fieldset span.name { + position: absolute; + top: 4px; + left: 4px; + text-align: center; + display: block; + width: 120px; + line-height: 32px; + font-size: 15px; + font-weight: bold; + color: #f1e5d5; + -webkit-border-radius: 3px 1px 1px 3px; + -moz-border-radius: 3px 1px 1px 3px; + border-radius: 3px 1px 1px 3px; + background: rgba(95,0,0,1); + + /* + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0Y2Y2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMlIiBzdG9wLWNvbG9yPSIjYjRjZjYxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMyUiIHN0b3AtY29sb3I9IiM5NWJiMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNmU5MDEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); + background: -moz-linear-gradient(top, rgba(180,207,97,1) 0%, rgba(180,207,97,1) 3%, rgba(149,187,28,1) 3%, rgba(110,144,16,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(180,207,97,1)), color-stop(3%,rgba(180,207,97,1)), color-stop(3%,rgba(149,187,28,1)), color-stop(100%,rgba(110,144,16,1))); + background: -webkit-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: -o-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: -ms-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: linear-gradient(to bottom, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4cf61', endColorstr='#6e9010',GradientType=0 ); + -moz-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + -webkit-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + */ +} + +form.inline fieldset span.summa-bonus { + position: absolute; + top: 4px; + right: 4px; + text-align: center; + display: block; + width: 130px; + line-height: 32px; + font-size: 13px; + font-weight: bold; + color: #f1e5d5; + -webkit-border-radius: 1px 3px 3px 1px; + -moz-border-radius: 1px 3px 3px 1px; + border-radius: 1px 3px 3px 1px; + background: rgba(95,0,0,1); + + /* + background: #c60000; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #c60000 0%, #840000 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60000), color-stop(100%,#840000)); + background: -webkit-linear-gradient(top, #c60000 0%,#840000 100%); + background: -o-linear-gradient(top, #c60000 0%,#840000 100%); + background: -ms-linear-gradient(top, #c60000 0%,#840000 100%); + background: linear-gradient(to bottom, #c60000 0%,#840000 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); + -moz-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + -webkit-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + */ +} + + + +/************ NEW SIGN ************/ +form#sign label { + color: #080c16; + -moz-text-shadow: 0 0 1px rgba(255,255,255,0.4); + -webkit-text-shadow: 0 0 1px rgba(255,255,255,0.4); + text-shadow: 0 0 1px rgba(255,255,255,0.4); +} + +a.button { + display: inline-block; + font-size: 12px; + font-weight: bold; + padding: 3px 12px; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + color: #ffffff; + margin-top: 8px; +} + + + + + +/* ANY FORMS */ +div#form-registration { + position: absolute; + top: 40%; + left: 50%; + width: 350px; + height: 320px; + margin-top: -180px; + margin-left: -175px; +} + +div#form-auth { + position: absolute; + top: 40%; + left: 50%; + width: 350px; + height: 280px; + margin-top: -160px; + margin-left: -175px; +} + +div#form-auth > div.logo, +div#form-registration > div.logo { + font-size: 60px; + font-weight: bold; + color: #ffffff; + text-transfrom: uppercase; +} + +div#form-auth > p.slogan, +div#form-registration > p.slogan { + margin-top: 20px; + margin-bottom: 15px; + text-align: center; + font-size: 18px; + color: #ffffff; +} + +div#form-auth > a, +div#form-registration > a { + text-align: center; + display: block; + margin-top: 18px; + color: #ffffff !important; + font-size: 14px; +} + +div#form-auth > a:hover, +div#form-registration > a:hover { + text-decoration: underline; +} + +form#form-auth, +form#form-registration { + margin: 0 auto; + width: 250px; +} + +input:-webkit-autofill { + color: transparent !important; + background-color: transparent !important; +} + + +/*************** RANDOM FORM RAND-AUTH ****************/ +div.rand-auth { + padding: 12px 20px 20px 20px; +} +div.rand-auth h2 { + text-align: center; + font-weight: 600; + color: #870000; +} +div.rand-auth ul.menu { + list-style: none; + text-align: center; + margin-top: 10px; +} +div.rand-auth ul.menu li { + display: inline-block; + padding: 1px 6px; + line-height: 14px; +} +div.rand-auth ul.menu li+li { + border-left: 1px solid #010101; +} +div.rand-auth ul.menu li a { + display: block; + color: #010101; + font-size: 12px; + font-weight: 600; + padding-bottom: 1px; +} +div.rand-auth ul.menu li a:hover { + border-bottom: 1px dashed #010101; +} +div.rand-auth > form { + margin-top: 10px; +} +div.rand-auth > form div.field { + height: 25px; + margin-bottom: 6px; + background-color: #150506; + border: 1px solid #43565c; + -webkit-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + -moz-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); +} +div.rand-auth > form div.field > input { + -webkit-box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5); + -moz-box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5); + box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5); +} +form.rand-auth fieldset.checkbox { + height: 25px; + text-align: center; +} +form.rand-auth fieldset.checkbox label { + color: #010101; + font-size: 11px; + line-height: 25px; + font-weight: bold; +} +form.rand-auth fieldset.checkbox > div, +form.rand-auth fieldset.checkbox > label { + display: inline-block; +} +form.rand-auth fieldset.checkbox > div.checkbox { + top: 2px; + margin-right: 6px; + position: relative; + width: 14px; + height: 14px; + background: url(/pic/front/form/check_normal.jpg) center center no-repeat; +} +form.rand-auth fieldset.checkbox > div.checkbox.active { + background: url(/pic/front/form/check_pressed.jpg) center center no-repeat; +} +form.rand-auth fieldset.checkbox > div.checkbox.active:hover { + background: url(/pic/front/form/check_pressed_select.jpg) center center no-repeat !important; +} +form.rand-auth fieldset.checkbox > div.checkbox:hover { + background: url(/pic/front/form/check_select.jpg) center center no-repeat; +} +form.rand-auth fieldset.checkbox > div.checkbox input { + display: none; +} +form.rand-auth > fieldset > div.button { + text-align: center; + margin-top: 3px; +} +form.rand-auth button { + width: 165px; + height: 34px; + background: url(/pic/front/form/button_normal.jpg) center center no-repeat; + font-size: 16px; + color: #808588; + border: none; + display: inline-block !important; +} +form.rand-auth button:hover { + background: url(/pic/front/form/button_select.jpg) center center no-repeat; + color: #f2d38a; +} + + +/*************** RANDOM FORM QUESTION ****************/ +form#question label { + font-weight: normal !important; + color: #9b8f81 !important; +} + +form#question .redactor_box iframe { + height: 110px !important; +} + +form#question p.note { + color: #F59D9D; + font-size: 11px; + padding-top: 2px; + padding-bottom: 4px; +} + + + + + + + + + + + + + + + diff --git a/rating/index_files/jquery-ui.min.css b/rating/index_files/jquery-ui.min.css new file mode 100644 index 0000000..eb86e0c --- /dev/null +++ b/rating/index_files/jquery-ui.min.css @@ -0,0 +1,7 @@ +/*! jQuery UI - v1.11.2 - 2014-11-19 +* http://jqueryui.com +* Includes: core.css, datepicker.css, tooltip.css, theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-tooltip{padding:5px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px 1px #9b8f81;box-shadow:0 0 5px 1px #9b8f81; font-size: 12px !important; background-color: #000}body .ui-tooltip{border-width:1px;border-color: #000; background-color: #000; font-size: 12px}.ui-widget{font-family:'Noto Serif','PT Sans',Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #000;background-color: rgba(0,0,0,0.8); color:#9b8f81}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #fbcb09;background:#fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#c77405}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fed22f;background:#ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;color:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_228ef1_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_ffd27a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px} \ No newline at end of file diff --git a/rating/index_files/jquery-ui.min.js b/rating/index_files/jquery-ui.min.js new file mode 100644 index 0000000..9a9af35 --- /dev/null +++ b/rating/index_files/jquery-ui.min.js @@ -0,0 +1,8 @@ +/*! jQuery UI - v1.11.2 - 2014-11-19 +* http://jqueryui.com +* Includes: core.js, widget.js, mouse.js, position.js, datepicker.js, tooltip.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function t(t,s){var n,a,o,r=t.nodeName.toLowerCase();return"area"===r?(n=t.parentNode,a=n.name,t.href&&a&&"map"===n.nodeName.toLowerCase()?(o=e("img[usemap='#"+a+"']")[0],!!o&&i(o)):!1):(/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r?t.href||s:s)&&i(t)}function i(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}function s(e){for(var t,i;e.length&&e[0]!==document;){if(t=e.css("position"),("absolute"===t||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}function n(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=a(e("
    "))}function a(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(i,"mouseout",function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",o)}function o(){e.datepicker._isDisabledDatepicker(d.inline?d.dpDiv.parent()[0]:d.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function r(t,i){e.extend(t,i);for(var s in i)null==i[s]&&(t[s]=i[s]);return t}e.ui=e.ui||{},e.extend(e.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({scrollParent:function(t){var i=this.css("position"),s="absolute"===i,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter(function(){var t=e(this);return s&&"static"===t.css("position")?!1:n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==i&&a.length?a:e(this[0].ownerDocument||document)},uniqueId:function(){var e=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(i){return t(i,!isNaN(e.attr(i,"tabindex")))},tabbable:function(i){var s=e.attr(i,"tabindex"),n=isNaN(s);return(n||s>=0)&&t(i,!n)}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(t,i){function s(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],a=i.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+i]=function(t){return void 0===t?o["inner"+i].call(this):this.each(function(){e(this).css(a,s(this,t)+"px")})},e.fn["outer"+i]=function(t,n){return"number"!=typeof t?o["outer"+i].call(this,t):this.each(function(){e(this).css(a,s(this,t,!0,n)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableSelection",function(e){e.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(void 0!==t)return this.css("zIndex",t);if(this.length)for(var i,s,n=e(this[0]);n.length&&n[0]!==document;){if(i=n.css("position"),("absolute"===i||"relative"===i||"fixed"===i)&&(s=parseInt(n.css("zIndex"),10),!isNaN(s)&&0!==s))return s;n=n.parent()}return 0}}),e.ui.plugin={add:function(t,i,s){var n,a=e.ui[t].prototype;for(n in s)a.plugins[n]=a.plugins[n]||[],a.plugins[n].push([i,s[n]])},call:function(e,t,i,s){var n,a=e.plugins[t];if(a&&(s||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(n=0;a.length>n;n++)e.options[a[n][0]]&&a[n][1].apply(e.element,i)}};var h=0,l=Array.prototype.slice;e.cleanData=function(t){return function(i){var s,n,a;for(a=0;null!=(n=i[a]);a++)try{s=e._data(n,"events"),s&&s.remove&&e(n).triggerHandler("remove")}catch(o){}t(i)}}(e.cleanData),e.widget=function(t,i,s){var n,a,o,r,h={},l=t.split(".")[0];return t=t.split(".")[1],n=l+"-"+t,s||(s=i,i=e.Widget),e.expr[":"][n.toLowerCase()]=function(t){return!!e.data(t,n)},e[l]=e[l]||{},a=e[l][t],o=e[l][t]=function(e,t){return this._createWidget?(arguments.length&&this._createWidget(e,t),void 0):new o(e,t)},e.extend(o,a,{version:s.version,_proto:e.extend({},s),_childConstructors:[]}),r=new i,r.options=e.widget.extend({},r.options),e.each(s,function(t,s){return e.isFunction(s)?(h[t]=function(){var e=function(){return i.prototype[t].apply(this,arguments)},n=function(e){return i.prototype[t].apply(this,e)};return function(){var t,i=this._super,a=this._superApply;return this._super=e,this._superApply=n,t=s.apply(this,arguments),this._super=i,this._superApply=a,t}}(),void 0):(h[t]=s,void 0)}),o.prototype=e.widget.extend(r,{widgetEventPrefix:a?r.widgetEventPrefix||t:t},h,{constructor:o,namespace:l,widgetName:t,widgetFullName:n}),a?(e.each(a._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete a._childConstructors):i._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var i,s,n=l.call(arguments,1),a=0,o=n.length;o>a;a++)for(i in n[a])s=n[a][i],n[a].hasOwnProperty(i)&&void 0!==s&&(t[i]=e.isPlainObject(s)?e.isPlainObject(t[i])?e.widget.extend({},t[i],s):e.widget.extend({},s):s);return t},e.widget.bridge=function(t,i){var s=i.prototype.widgetFullName||t;e.fn[t]=function(n){var a="string"==typeof n,o=l.call(arguments,1),r=this;return n=!a&&o.length?e.widget.extend.apply(null,[n].concat(o)):n,a?this.each(function(){var i,a=e.data(this,s);return"instance"===n?(r=a,!1):a?e.isFunction(a[n])&&"_"!==n.charAt(0)?(i=a[n].apply(a,o),i!==a&&void 0!==i?(r=i&&i.jquery?r.pushStack(i.get()):i,!1):void 0):e.error("no such method '"+n+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; "+"attempted to call method '"+n+"'")}):this.each(function(){var t=e.data(this,s);t?(t.option(n||{}),t._init&&t._init()):e.data(this,s,new i(n,this))}),r}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
    ",options:{disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=h++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var s,n,a,o=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(o={},s=t.split("."),t=s.shift(),s.length){for(n=o[t]=e.widget.extend({},this.options[t]),a=0;s.length-1>a;a++)n[s[a]]=n[s[a]]||{},n=n[s[a]];if(t=s.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=i}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!t),t&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(t,i,s){var n,a=this;"boolean"!=typeof t&&(s=i,i=t,t=!1),s?(i=n=e(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),e.each(s,function(s,o){function r(){return t||a.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?a[o]:o).apply(a,arguments):void 0}"string"!=typeof o&&(r.guid=o.guid=o.guid||r.guid||e.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+a.eventNamespace,u=h[2];u?n.delegate(u,l,r):i.bind(l,r)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(i).undelegate(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,o=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(o)&&o.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var o,r=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),o=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),o&&e.effects&&e.effects.effect[r]?s[t](n):r!==t&&s[r]?s[r](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}}),e.widget;var u=!1;e(document).mouseup(function(){u=!1}),e.widget("ui.mouse",{version:"1.11.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!u){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var i=this,s=1===t.which,n="string"==typeof this.options.cancel&&t.target.nodeName?e(t.target).closest(this.options.cancel).length:!1;return s&&!n&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mouseStarted)?(t.preventDefault(),!0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return i._mouseMove(e)},this._mouseUpDelegate=function(e){return i._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),u=!0,!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button)return this._mouseUp(t);if(!t.which)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),u=!1,!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),function(){function t(e,t,i){return[parseFloat(e[0])*(p.test(e[0])?t/100:1),parseFloat(e[1])*(p.test(e[1])?i/100:1)]}function i(t,i){return parseInt(e.css(t,i),10)||0}function s(t){var i=t[0];return 9===i.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}e.ui=e.ui||{};var n,a,o=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,u=/top|center|bottom/,d=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,p=/%$/,f=e.fn.position;e.position={scrollbarWidth:function(){if(void 0!==n)return n;var t,i,s=e("
    "),a=s.children()[0];return e("body").append(s),t=a.offsetWidth,s.css("overflow","scroll"),i=a.offsetWidth,t===i&&(i=s[0].clientWidth),s.remove(),n=t-i},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),s=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),n="scroll"===i||"auto"===i&&t.widthi?"left":t>0?"right":"center",vertical:0>a?"top":s>0?"bottom":"middle"};d>m&&m>r(t+i)&&(h.horizontal="center"),c>g&&g>r(s+a)&&(h.vertical="middle"),h.important=o(r(t),r(i))>o(r(s),r(a))?"horizontal":"vertical",n.using.call(this,e,h)}),u.offset(e.extend(N,{using:l}))})},e.ui.position={fit:{left:function(e,t){var i,s=t.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=e.left-t.collisionPosition.marginLeft,h=n-r,l=r+t.collisionWidth-a-n;t.collisionWidth>a?h>0&&0>=l?(i=e.left+h+t.collisionWidth-a-n,e.left+=h-i):e.left=l>0&&0>=h?n:h>l?n+a-t.collisionWidth:n:h>0?e.left+=h:l>0?e.left-=l:e.left=o(e.left-r,e.left)},top:function(e,t){var i,s=t.within,n=s.isWindow?s.scrollTop:s.offset.top,a=t.within.height,r=e.top-t.collisionPosition.marginTop,h=n-r,l=r+t.collisionHeight-a-n;t.collisionHeight>a?h>0&&0>=l?(i=e.top+h+t.collisionHeight-a-n,e.top+=h-i):e.top=l>0&&0>=h?n:h>l?n+a-t.collisionHeight:n:h>0?e.top+=h:l>0?e.top-=l:e.top=o(e.top-r,e.top)}},flip:{left:function(e,t){var i,s,n=t.within,a=n.offset.left+n.scrollLeft,o=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=e.left-t.collisionPosition.marginLeft,u=l-h,d=l+t.collisionWidth-o-h,c="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];0>u?(i=e.left+c+p+f+t.collisionWidth-o-a,(0>i||r(u)>i)&&(e.left+=c+p+f)):d>0&&(s=e.left-t.collisionPosition.marginLeft+c+p+f-h,(s>0||d>r(s))&&(e.left+=c+p+f))},top:function(e,t){var i,s,n=t.within,a=n.offset.top+n.scrollTop,o=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=e.top-t.collisionPosition.marginTop,u=l-h,d=l+t.collisionHeight-o-h,c="top"===t.my[1],p=c?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,f="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,m=-2*t.offset[1];0>u?(s=e.top+p+f+m+t.collisionHeight-o-a,e.top+p+f+m>u&&(0>s||r(u)>s)&&(e.top+=p+f+m)):d>0&&(i=e.top-t.collisionPosition.marginTop+p+f+m-h,e.top+p+f+m>d&&(i>0||d>r(i))&&(e.top+=p+f+m))}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,s,n,o,r=document.getElementsByTagName("body")[0],h=document.createElement("div");t=document.createElement(r?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},r&&e.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in s)t.style[o]=s[o];t.appendChild(h),i=r||document.documentElement,i.insertBefore(t,i.firstChild),h.style.cssText="position: absolute; left: 10.7432222px;",n=e(h).offset().left,a=n>10&&11>n,t.innerHTML="",i.removeChild(t)}()}(),e.ui.position,e.extend(e.ui,{datepicker:{version:"1.11.2"}});var d;e.extend(n.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return r(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var s,n,a;s=t.nodeName.toLowerCase(),n="div"===s||"span"===s,t.id||(this.uuid+=1,t.id="dp"+this.uuid),a=this._newInst(e(t),n),a.settings=e.extend({},i||{}),"input"===s?this._connectDatepicker(t,a):n&&this._inlineDatepicker(t,a)},_newInst:function(t,i){var s=t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:s,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?a(e("
    ")):this.dpDiv}},_connectDatepicker:function(t,i){var s=e(t);i.append=e([]),i.trigger=e([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var s,n,a,o=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),o&&(i.append=e(""+o+""),t[r?"before":"after"](i.append)),t.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&t.focus(this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),a=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("").addClass(this._triggerClass).attr({src:a,alt:n,title:n}):e("").addClass(this._triggerClass).html(a?e("").attr({src:a,alt:n,title:n}):n)),t[r?"before":"after"](i.trigger),i.trigger.click(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,s,n,a=new Date(2009,11,20),o=this._get(e,"dateFormat");o.match(/[DM]/)&&(t=function(e){for(i=0,s=0,n=0;e.length>n;n++)e[n].length>i&&(i=e[n].length,s=n);return s},a.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(t,i){var s=e(t);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,s,n,a){var o,h,l,u,d,c=this._dialogInst;return c||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=e(""),this._dialogInput.keydown(this._doKeyDown),e("body").append(this._dialogInput),c=this._dialogInst=this._newInst(this._dialogInput,!1),c.settings={},e.data(this._dialogInput[0],"datepicker",c)),r(c.settings,n||{}),i=i&&i.constructor===Date?this._formatDate(c,i):i,this._dialogInput.val(i),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(h=document.documentElement.clientWidth,l=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[h/2-100+u,l/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",c),this},_destroyDatepicker:function(t){var i,s=e(t),n=e.data(t,"datepicker");s.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var i,s,n=e(t),a=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var i,s,n=e(t),a=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,i,s){var n,a,o,h,l=this._getInst(t);return 2===arguments.length&&"string"==typeof i?"defaults"===i?e.extend({},e.datepicker._defaults):l?"all"===i?e.extend({},l.settings):this._get(l,i):null:(n=i||{},"string"==typeof i&&(n={},n[i]=s),l&&(this._curInst===l&&this._hideDatepicker(),a=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(l,"min"),h=this._getMinMaxDate(l,"max"),r(l.settings,n),null!==o&&void 0!==n.dateFormat&&void 0===n.minDate&&(l.settings.minDate=this._formatDate(l,o)),null!==h&&void 0!==n.dateFormat&&void 0===n.maxDate&&(l.settings.maxDate=this._formatDate(l,h)),"disabled"in n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),l),this._autoSize(l),this._setDate(l,a),this._updateAlternate(l),this._updateDatepicker(l)),void 0)},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var i,s,n,a=e.datepicker._getInst(t.target),o=!0,r=a.dpDiv.is(".ui-datepicker-rtl");if(a._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),o=!1;break;case 13:return n=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",a.dpDiv),n[0]&&e.datepicker._selectDay(t.target,a.selectedMonth,a.selectedYear,n[0]),i=e.datepicker._get(a,"onSelect"),i?(s=e.datepicker._formatDate(a),i.apply(a.input?a.input[0]:null,[s,a])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),o=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),o=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,r?1:-1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),o=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,r?-1:1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),o=t.ctrlKey||t.metaKey;break;default:o=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):o=!1;o&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var i,s,n=e.datepicker._getInst(t.target);return e.datepicker._get(n,"constrainInput")?(i=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||" ">s||!i||i.indexOf(s)>-1):void 0},_doKeyUp:function(t){var i,s=e.datepicker._getInst(t.target);if(s.input.val()!==s.lastVal)try{i=e.datepicker.parseDate(e.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,e.datepicker._getFormatConfig(s)),i&&(e.datepicker._setDateFromField(s),e.datepicker._updateAlternate(s),e.datepicker._updateDatepicker(s)) +}catch(n){}return!0},_showDatepicker:function(t){if(t=t.target||t,"input"!==t.nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),!e.datepicker._isDisabledDatepicker(t)&&e.datepicker._lastInput!==t){var i,n,a,o,h,l,u;i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),n=e.datepicker._get(i,"beforeShow"),a=n?n.apply(t,[t,i]):{},a!==!1&&(r(i.settings,a),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),o=!1,e(t).parents().each(function(){return o|="fixed"===e(this).css("position"),!o}),h={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),h=e.datepicker._checkOffset(i,h,o),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":o?"fixed":"absolute",display:"none",left:h.left+"px",top:h.top+"px"}),i.inline||(l=e.datepicker._get(i,"showAnim"),u=e.datepicker._get(i,"duration"),i.dpDiv.css("z-index",s(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[l]?i.dpDiv.show(l,e.datepicker._get(i,"showOptions"),u):i.dpDiv[l||"show"](l?u:null),e.datepicker._shouldFocusInput(i)&&i.input.focus(),e.datepicker._curInst=i))}},_updateDatepicker:function(t){this.maxRows=4,d=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var i,s=this._getNumberOfMonths(t),n=s[1],a=17,r=t.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&o.apply(r.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&t.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",a*n+"em"),t.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.focus(),t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,s){var n=t.dpDiv.outerWidth(),a=t.dpDiv.outerHeight(),o=t.input?t.input.outerWidth():0,r=t.input?t.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:e(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?n-o:0,i.left-=s&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=s&&i.top===t.input.offset().top+r?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+a>l&&l>a?Math.abs(a+r):0),i},_findPos:function(t){for(var i,s=this._getInst(t),n=this._get(s,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[n?"previousSibling":"nextSibling"];return i=e(t).offset(),[i.left,i.top]},_hideDatepicker:function(t){var i,s,n,a,o=this._curInst;!o||t&&o!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(o,"showAnim"),s=this._get(o,"duration"),n=function(){e.datepicker._tidyDialog(o)},e.effects&&(e.effects.effect[i]||e.effects[i])?o.dpDiv.hide(i,e.datepicker._get(o,"showOptions"),s,n):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,a=this._get(o,"onClose"),a&&a.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),s=e.datepicker._getInst(i[0]);(i[0].id!==e.datepicker._mainDivId&&0===i.parents("#"+e.datepicker._mainDivId).length&&!i.hasClass(e.datepicker.markerClassName)&&!i.closest("."+e.datepicker._triggerClass).length&&e.datepicker._datepickerShowing&&(!e.datepicker._inDialog||!e.blockUI)||i.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==s)&&e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,s){var n=e(t),a=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(a,i+("M"===s?this._get(a,"showCurrentAtPos"):0),s),this._updateDatepicker(a))},_gotoToday:function(t){var i,s=e(t),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(t,i,s){var n=e(t),a=this._getInst(n[0]);a["selected"+("M"===s?"Month":"Year")]=a["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(n)},_selectDay:function(t,i,s,n){var a,o=e(t);e(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||(a=this._getInst(o[0]),a.selectedDay=a.currentDay=e("a",n).html(),a.selectedMonth=a.currentMonth=i,a.selectedYear=a.currentYear=s,this._selectDate(t,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var s,n=e(t),a=this._getInst(n[0]);i=null!=i?i:this._formatDate(a),a.input&&a.input.val(i),this._updateAlternate(a),s=this._get(a,"onSelect"),s?s.apply(a.input?a.input[0]:null,[i,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=typeof a.input[0]&&a.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var i,s,n,a=this._get(t,"altField");a&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),s=this._getDate(t),n=this.formatDate(i,s,this._getFormatConfig(t)),e(a).each(function(){e(this).val(n)}))},noWeekends:function(e){var t=e.getDay();return[t>0&&6>t,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(t,i,s){if(null==t||null==i)throw"Invalid arguments";if(i="object"==typeof i?""+i:i+"",""===i)return null;var n,a,o,r,h=0,l=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),d=(s?s.dayNamesShort:null)||this._defaults.dayNamesShort,c=(s?s.dayNames:null)||this._defaults.dayNames,p=(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,f=(s?s.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,y=-1,b=!1,_=function(e){var i=t.length>n+1&&t.charAt(n+1)===e;return i&&n++,i},x=function(e){var t=_(e),s="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,n="y"===e?s:1,a=RegExp("^\\d{"+n+","+s+"}"),o=i.substring(h).match(a);if(!o)throw"Missing number at position "+h;return h+=o[0].length,parseInt(o[0],10)},w=function(t,s,n){var a=-1,o=e.map(_(t)?n:s,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(e.each(o,function(e,t){var s=t[1];return i.substr(h,s.length).toLowerCase()===s.toLowerCase()?(a=t[0],h+=s.length,!1):void 0}),-1!==a)return a+1;throw"Unknown name at position "+h},k=function(){if(i.charAt(h)!==t.charAt(n))throw"Unexpected literal at position "+h;h++};for(n=0;t.length>n;n++)if(b)"'"!==t.charAt(n)||_("'")?k():b=!1;else switch(t.charAt(n)){case"d":v=x("d");break;case"D":w("D",d,c);break;case"o":y=x("o");break;case"m":g=x("m");break;case"M":g=w("M",p,f);break;case"y":m=x("y");break;case"@":r=new Date(x("@")),m=r.getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"!":r=new Date((x("!")-this._ticksTo1970)/1e4),m=r.getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"'":_("'")?k():b=!0;break;default:k()}if(i.length>h&&(o=i.substr(h),!/^\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o;if(-1===m?m=(new Date).getFullYear():100>m&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=m?0:-100)),y>-1)for(g=1,v=y;;){if(a=this._getDaysInMonth(m,g-1),a>=v)break;g++,v-=a}if(r=this._daylightSavingAdjust(new Date(m,g-1,v)),r.getFullYear()!==m||r.getMonth()+1!==g||r.getDate()!==v)throw"Invalid date";return r},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,i){if(!t)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,h=function(t){var i=e.length>s+1&&e.charAt(s+1)===t;return i&&s++,i},l=function(e,t,i){var s=""+t;if(h(e))for(;i>s.length;)s="0"+s;return s},u=function(e,t,i,s){return h(e)?s[t]:i[t]},d="",c=!1;if(t)for(s=0;e.length>s;s++)if(c)"'"!==e.charAt(s)||h("'")?d+=e.charAt(s):c=!1;else switch(e.charAt(s)){case"d":d+=l("d",t.getDate(),2);break;case"D":d+=u("D",t.getDay(),n,a);break;case"o":d+=l("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=l("m",t.getMonth()+1,2);break;case"M":d+=u("M",t.getMonth(),o,r);break;case"y":d+=h("y")?t.getFullYear():(10>t.getYear()%100?"0":"")+t.getYear()%100;break;case"@":d+=t.getTime();break;case"!":d+=1e4*t.getTime()+this._ticksTo1970;break;case"'":h("'")?d+="'":c=!0;break;default:d+=e.charAt(s)}return d},_possibleChars:function(e){var t,i="",s=!1,n=function(i){var s=e.length>t+1&&e.charAt(t+1)===i;return s&&t++,s};for(t=0;e.length>t;t++)if(s)"'"!==e.charAt(t)||n("'")?i+=e.charAt(t):s=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=e.charAt(t)}return i},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),s=e.lastVal=e.input?e.input.val():null,n=this._getDefaultDate(e),a=n,o=this._getFormatConfig(e);try{a=this.parseDate(i,s,o)||n}catch(r){s=t?"":s}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=s?a.getDate():0,e.currentMonth=s?a.getMonth():0,e.currentYear=s?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,s){var n=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},a=function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,a=n.getFullYear(),o=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":o+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMonth(a,o));break;case"y":case"Y":a+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMonth(a,o))}l=h.exec(i)}return new Date(a,o,r)},o=null==i||""===i?s:"string"==typeof i?a(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return o=o&&"Invalid Date"==""+o?s:o,o&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var s=!t,n=e.selectedMonth,a=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),n===e.selectedMonth&&a===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(s?"":this._formatDate(e))},_getDate:function(e){var t=!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),s="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){e.datepicker._adjustDate(s,-i,"M")},next:function(){e.datepicker._adjustDate(s,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(s)},selectDay:function(){return e.datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(s,this,"Y"),!1}};e(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,s,n,a,o,r,h,l,u,d,c,p,f,m,g,v,y,b,_,x,w,k,T,D,S,N,M,C,A,P,I,H,z,F,E,W,L,O,j=new Date,R=this._daylightSavingAdjust(new Date(j.getFullYear(),j.getMonth(),j.getDate())),Y=this._get(e,"isRTL"),J=this._get(e,"showButtonPanel"),B=this._get(e,"hideIfNoPrevNext"),K=this._get(e,"navigationAsDateFormat"),V=this._getNumberOfMonths(e),U=this._get(e,"showCurrentAtPos"),q=this._get(e,"stepMonths"),G=1!==V[0]||1!==V[1],X=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(e,"min"),$=this._getMinMaxDate(e,"max"),Z=e.drawMonth-U,et=e.drawYear;if(0>Z&&(Z+=12,et--),$)for(t=this._daylightSavingAdjust(new Date($.getFullYear(),$.getMonth()-V[0]*V[1]+1,$.getDate())),t=Q&&Q>t?Q:t;this._daylightSavingAdjust(new Date(et,Z,1))>t;)Z--,0>Z&&(Z=11,et--);for(e.drawMonth=Z,e.drawYear=et,i=this._get(e,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(et,Z-q,1)),this._getFormatConfig(e)):i,s=this._canAdjustMonth(e,-1,et,Z)?"
    "+i+"":B?"":""+i+"",n=this._get(e,"nextText"),n=K?this.formatDate(n,this._daylightSavingAdjust(new Date(et,Z+q,1)),this._getFormatConfig(e)):n,a=this._canAdjustMonth(e,1,et,Z)?""+n+"":B?"":""+n+"",o=this._get(e,"currentText"),r=this._get(e,"gotoCurrent")&&e.currentDay?X:R,o=K?this.formatDate(o,r,this._getFormatConfig(e)):o,h=e.inline?"":"",l=J?"
    "+(Y?h:"")+(this._isInRange(e,r)?"":"")+(Y?"":h)+"
    ":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,d=this._get(e,"showWeek"),c=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),y=this._get(e,"selectOtherMonths"),b=this._getDefaultDate(e),_="",w=0;V[0]>w;w++){for(k="",this.maxRows=4,T=0;V[1]>T;T++){if(D=this._daylightSavingAdjust(new Date(et,Z,e.selectedDay)),S=" ui-corner-all",N="",G){if(N+="
    "}for(N+="
    "+(/all|left/.test(S)&&0===w?Y?a:s:"")+(/all|right/.test(S)&&0===w?Y?s:a:"")+this._generateMonthYearHeader(e,Z,et,Q,$,w>0||T>0,f,m)+"
    "+"",M=d?"":"",x=0;7>x;x++)C=(x+u)%7,M+="";for(N+=M+"",A=this._getDaysInMonth(et,Z),et===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),P=(this._getFirstDayOfMonth(et,Z)-u+7)%7,I=Math.ceil((P+A)/7),H=G?this.maxRows>I?this.maxRows:I:I,this.maxRows=H,z=this._daylightSavingAdjust(new Date(et,Z,1-P)),F=0;H>F;F++){for(N+="",E=d?"":"",x=0;7>x;x++)W=g?g.apply(e.input?e.input[0]:null,[z]):[!0,""],L=z.getMonth()!==Z,O=L&&!y||!W[0]||Q&&Q>z||$&&z>$,E+="",z.setDate(z.getDate()+1),z=this._daylightSavingAdjust(z);N+=E+""}Z++,Z>11&&(Z=0,et++),N+="
    "+this._get(e,"weekHeader")+"=5?" class='ui-datepicker-week-end'":"")+">"+""+p[C]+"
    "+this._get(e,"calculateWeek")(z)+""+(L&&!v?" ":O?""+z.getDate()+"":""+z.getDate()+"")+"
    "+(G?"
    "+(V[0]>0&&T===V[1]-1?"
    ":""):""),k+=N}_+=k}return _+=l,e._keyEvent=!1,_},_generateMonthYearHeader:function(e,t,i,s,n,a,o,r){var h,l,u,d,c,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(e,"showMonthAfterYear"),b="
    ",_="";if(a||!g)_+=""+o[t]+"";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,_+=""}if(y||(b+=_+(!a&&g&&v?"":" ")),!e.yearshtml)if(e.yearshtml="",a||!v)b+=""+i+"";else{for(d=this._get(e,"yearRange").split(":"),c=(new Date).getFullYear(),p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?c+parseInt(e,10):parseInt(e,10);return isNaN(t)?c:t},f=p(d[0]),m=Math.max(f,p(d[1]||"")),f=s?Math.max(f,s.getFullYear()):f,m=n?Math.min(m,n.getFullYear()):m,e.yearshtml+="",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),y&&(b+=(!a&&g&&v?"":" ")+_),b+="
    "},_adjustInstDate:function(e,t,i){var s=e.drawYear+("Y"===i?t:0),n=e.drawMonth+("M"===i?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(s,n))+("D"===i?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(s,n,a)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),s=this._getMinMaxDate(e,"max"),n=i&&i>t?i:t;return s&&n>s?s:n},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,s){var n=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new Date(i,s+(0>t?t:n[0]*n[1]),1));return 0>t&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var i,s,n=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),o=null,r=null,h=this._get(e,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),o=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(o+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||t.getTime()>=n.getTime())&&(!a||t.getTime()<=a.getTime())&&(!o||t.getFullYear()>=o)&&(!r||r>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,s){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var n=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(s,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),n,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).mousedown(e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new n,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.11.2",e.datepicker,e.widget("ui.tooltip",{version:"1.11.2",options:{content:function(){var t=e(this).attr("title")||"";return e("").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_addDescribedBy:function(t,i){var s=(t.attr("aria-describedby")||"").split(/\s+/);s.push(i),t.data("ui-tooltip-id",i).attr("aria-describedby",e.trim(s.join(" ")))},_removeDescribedBy:function(t){var i=t.data("ui-tooltip-id"),s=(t.attr("aria-describedby")||"").split(/\s+/),n=e.inArray(i,s);-1!==n&&s.splice(n,1),t.removeData("ui-tooltip-id"),s=e.trim(s.join(" ")),s?t.attr("aria-describedby",s):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable(),this.liveRegion=e("
    ").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)},_setOption:function(t,i){var s=this;return"disabled"===t?(this[i?"_disable":"_enable"](),this.options[t]=i,void 0):(this._super(t,i),"content"===t&&e.each(this.tooltips,function(e,t){s._updateContent(t.element)}),void 0)},_disable:function(){var t=this;e.each(this.tooltips,function(i,s){var n=e.Event("blur");n.target=n.currentTarget=s.element[0],t.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var t=e(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).removeAttr("title")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var i=this,s=e(t?t.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&s.parents().each(function(){var t,s=e(this);s.data("ui-tooltip-open")&&(t=e.Event("blur"),t.target=t.currentTarget=this,i.close(t,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,t))},_updateContent:function(e,t){var i,s=this.options.content,n=this,a=t?t.type:null;return"string"==typeof s?this._open(t,e,s):(i=s.call(e[0],function(i){e.data("ui-tooltip-open")&&n._delay(function(){t&&(t.type=a),this._open(t,e,i)})}),i&&this._open(t,e,i),void 0)},_open:function(t,i,s){function n(e){u.of=e,o.is(":hidden")||o.position(u)}var a,o,r,h,l,u=e.extend({},this.options.position);if(s){if(a=this._find(i))return a.tooltip.find(".ui-tooltip-content").html(s),void 0;i.is("[title]")&&(t&&"mouseover"===t.type?i.attr("title",""):i.removeAttr("title")),a=this._tooltip(i),o=a.tooltip,this._addDescribedBy(i,o.attr("id")),o.find(".ui-tooltip-content").html(s),this.liveRegion.children().hide(),s.clone?(l=s.clone(),l.removeAttr("id").find("[id]").removeAttr("id")):l=s,e("
    ").html(l).appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:n}),n(t)):o.position(e.extend({of:i},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){o.is(":visible")&&(n(u.of),clearInterval(h))},e.fx.interval)),this._trigger("open",t,{tooltip:o}),r={keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var s=e.Event(t);s.currentTarget=i[0],this.close(s,!0)}}},i[0]!==this.element[0]&&(r.remove=function(){this._removeTooltip(o)}),t&&"mouseover"!==t.type||(r.mouseleave="close"),t&&"focusin"!==t.type||(r.focusout="close"),this._on(!0,i,r)}},close:function(t){var i,s=this,n=e(t?t.currentTarget:this.element),a=this._find(n);a&&(i=a.tooltip,a.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),a.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){s._removeTooltip(e(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&e.each(this.parents,function(t,i){e(i.element).attr("title",i.title),delete s.parents[t]}),a.closing=!0,this._trigger("close",t,{tooltip:i}),a.hiding||(a.closing=!1)))},_tooltip:function(t){var i=e("
    ").attr("role","tooltip").addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||"")),s=i.uniqueId().attr("id");return e("
    ").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),this.tooltips[s]={element:t,tooltip:i}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_destroy:function(){var t=this;e.each(this.tooltips,function(i,s){var n=e.Event("blur"),a=s.element;n.target=n.currentTarget=a[0],t.close(n,!0),e("#"+i).remove(),a.data("ui-tooltip-title")&&(a.attr("title")||a.attr("title",a.data("ui-tooltip-title")),a.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}});var c="ui-effects-",p=e;e.effects={effect:{}},function(e,t){function i(e,t,i){var s=d[t.type]||{};return null==e?i||!t.def?null:t.def:(e=s.floor?~~e:parseFloat(e),isNaN(e)?t.def:s.mod?(e+s.mod)%s.mod:0>e?0:e>s.max?s.max:e)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(e,a){var o,r=a.re.exec(i),h=r&&a.parse(r),l=a.space||"rgba";return h?(o=s[l](h),s[u[l].cache]=o[u[l].cache],n=s._rgba=o._rgba,!1):t}),n.length?("0,0,0,0"===n.join()&&e.extend(n,a.transparent),s):a[i]}function n(e,t,i){return i=(i+1)%1,1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var a,o="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,s,n){return new e.Color.fn.parse(t,i,s,n)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=l.support={},p=e("

    ")[0],f=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",c.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(n,o,r,h){if(n===t)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=e(n).css(o),o=t);var d=this,c=e.type(n),p=this._rgba=[];return o!==t&&(n=[n,o,r,h],c="array"),"string"===c?this.parse(s(n)||a._default):"array"===c?(f(u.rgba.props,function(e,t){p[t.idx]=i(n[t.idx],t)}),this):"object"===c?(n instanceof l?f(u,function(e,t){n[t.cache]&&(d[t.cache]=n[t.cache].slice())}):f(u,function(t,s){var a=s.cache;f(s.props,function(e,t){if(!d[a]&&s.to){if("alpha"===e||null==n[e])return;d[a]=s.to(d._rgba)}d[a][t.idx]=i(n[e],t,!0)}),d[a]&&0>e.inArray(null,d[a].slice(0,3))&&(d[a][3]=1,s.from&&(d._rgba=s.from(d[a])))}),this):t},is:function(e){var i=l(e),s=!0,n=this;return f(u,function(e,a){var o,r=i[a.cache];return r&&(o=n[a.cache]||a.to&&a.to(n._rgba)||[],f(a.props,function(e,i){return null!=r[i.idx]?s=r[i.idx]===o[i.idx]:t})),s}),s},_space:function(){var e=[],t=this;return f(u,function(i,s){t[s.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var s=l(e),n=s._space(),a=u[n],o=0===this.alpha()?l("transparent"):this,r=o[a.cache]||a.to(o._rgba),h=r.slice();return s=s[a.cache],f(a.props,function(e,n){var a=n.idx,o=r[a],l=s[a],u=d[n.type]||{};null!==l&&(null===o?h[a]=l:(u.mod&&(l-o>u.mod/2?o+=u.mod:o-l>u.mod/2&&(o-=u.mod)),h[a]=i((l-o)*t+o,n))) +}),this[n](h)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(t)._rgba;return l(e.map(i,function(e,t){return(1-s)*n[t]+s*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),s=i.pop();return t&&i.push(~~(255*s)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,s=e[0]/255,n=e[1]/255,a=e[2]/255,o=e[3],r=Math.max(s,n,a),h=Math.min(s,n,a),l=r-h,u=r+h,d=.5*u;return t=h===r?0:s===r?60*(n-a)/l+360:n===r?60*(a-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=d?l/u:l/(2-u),[Math.round(t)%360,i,d,null==o?1:o]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],s=e[2],a=e[3],o=.5>=s?s*(1+i):s+i-s*i,r=2*s-o;return[Math.round(255*n(r,o,t+1/3)),Math.round(255*n(r,o,t)),Math.round(255*n(r,o,t-1/3)),a]},f(u,function(s,n){var a=n.props,o=n.cache,h=n.to,u=n.from;l.fn[s]=function(s){if(h&&!this[o]&&(this[o]=h(this._rgba)),s===t)return this[o].slice();var n,r=e.type(s),d="array"===r||"object"===r?s:arguments,c=this[o].slice();return f(a,function(e,t){var s=d["object"===r?e:t.idx];null==s&&(s=c[t.idx]),c[t.idx]=i(s,t)}),u?(n=l(u(c)),n[o]=c,n):l(c)},f(a,function(t,i){l.fn[t]||(l.fn[t]=function(n){var a,o=e.type(n),h="alpha"===t?this._hsla?"hsla":"rgba":s,l=this[h](),u=l[i.idx];return"undefined"===o?u:("function"===o&&(n=n.call(this,u),o=e.type(n)),null==n&&i.empty?this:("string"===o&&(a=r.exec(n),a&&(n=u+parseFloat(a[2])*("+"===a[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(t){var i=t.split(" ");f(i,function(t,i){e.cssHooks[i]={set:function(t,n){var a,o,r="";if("transparent"!==n&&("string"!==e.type(n)||(a=s(n)))){if(n=l(a||n),!c.rgba&&1!==n._rgba[3]){for(o="backgroundColor"===i?t.parentNode:t;(""===r||"transparent"===r)&&o&&o.style;)try{r=e.css(o,"backgroundColor"),o=o.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{t.style[i]=n}catch(h){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook(o),e.cssHooks.borderColor={expand:function(e){var t={};return f(["Top","Right","Bottom","Left"],function(i,s){t["border"+s+"Color"]=e}),t}},a=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(p),function(){function t(t){var i,s,n=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,a={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(a[e.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(a[i]=n[i]);return a}function i(t,i){var s,a,o={};for(s in i)a=i[s],t[s]!==a&&(n[s]||(e.fx.step[s]||!isNaN(parseFloat(a)))&&(o[s]=a));return o}var s=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,i){e.fx.step[i]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(p.style(e.elem,i,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(n,a,o,r){var h=e.speed(a,o,r);return this.queue(function(){var a,o=e(this),r=o.attr("class")||"",l=h.children?o.find("*").addBack():o;l=l.map(function(){var i=e(this);return{el:i,start:t(this)}}),a=function(){e.each(s,function(e,t){n[t]&&o[t+"Class"](n[t])})},a(),l=l.map(function(){return this.end=t(this.el[0]),this.diff=i(this.start,this.end),this}),o.attr("class",r),l=l.map(function(){var t=this,i=e.Deferred(),s=e.extend({},h,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,s),i.promise()}),e.when.apply(e,l.get()).done(function(){a(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),h.complete.call(o[0])})})},e.fn.extend({addClass:function(t){return function(i,s,n,a){return s?e.effects.animateClass.call(this,{add:i},s,n,a):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(i,s,n,a){return arguments.length>1?e.effects.animateClass.call(this,{remove:i},s,n,a):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(i,s,n,a,o){return"boolean"==typeof s||void 0===s?n?e.effects.animateClass.call(this,s?{add:i}:{remove:i},n,a,o):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:i},s,n,a)}}(e.fn.toggleClass),switchClass:function(t,i,s,n,a){return e.effects.animateClass.call(this,{add:i,remove:t},s,n,a)}})}(),function(){function t(t,i,s,n){return e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||e.fx.speeds[i])&&(n=s,s=i,i={}),e.isFunction(s)&&(n=s,s=null),i&&e.extend(t,i),s=s||i.duration,t.duration=e.fx.off?0:"number"==typeof s?s:s in e.fx.speeds?e.fx.speeds[s]:e.fx.speeds._default,t.complete=n||i.complete,t}function i(t){return!t||"number"==typeof t||e.fx.speeds[t]?!0:"string"!=typeof t||e.effects.effect[t]?e.isFunction(t)?!0:"object"!=typeof t||t.effect?!1:!0:!0}e.extend(e.effects,{version:"1.11.2",save:function(e,t){for(var i=0;t.length>i;i++)null!==t[i]&&e.data(c+t[i],e[0].style[t[i]])},restore:function(e,t){var i,s;for(s=0;t.length>s;s++)null!==t[s]&&(i=e.data(c+t[s]),void 0===i&&(i=""),e.css(t[s],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var i,s;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=e[1]/t.width}return{x:s,y:i}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),"float":t.css("float")},s=e("

    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:t.width(),height:t.height()},a=document.activeElement;try{a.id}catch(o){a=document.body}return t.wrap(s),(t[0]===a||e.contains(t[0],a))&&e(a).focus(),s=t.parent(),"static"===t.css("position")?(s.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,s){i[s]=t.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(n),s.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).focus()),t},setTransition:function(t,i,s,n){return n=n||{},e.each(i,function(e,i){var a=t.cssUnit(i);a[0]>0&&(n[i]=a[0]*s+a[1])}),n}}),e.fn.extend({effect:function(){function i(t){function i(){e.isFunction(a)&&a.call(n[0]),e.isFunction(t)&&t()}var n=e(this),a=s.complete,r=s.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),i()):o.call(n[0],s,i)}var s=t.apply(this,arguments),n=s.mode,a=s.queue,o=e.effects.effect[s.effect];return e.fx.off||!o?n?this[n](s.duration,s.complete):this.each(function(){s.complete&&s.complete.call(this)}):a===!1?this.each(i):this.queue(a||"fx",i)},show:function(e){return function(s){if(i(s))return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(e.fn.show),hide:function(e){return function(s){if(i(s))return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(e.fn.hide),toggle:function(e){return function(s){if(i(s)||"boolean"==typeof s)return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(e.fn.toggle),cssUnit:function(t){var i=this.css(t),s=[];return e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(s=[parseFloat(i),t])}),s}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}(),e.effects,e.effects.effect.blind=function(t,i){var s,n,a,o=e(this),r=/up|down|vertical/,h=/up|left|vertical|horizontal/,l=["position","top","bottom","left","right","height","width"],u=e.effects.setMode(o,t.mode||"hide"),d=t.direction||"up",c=r.test(d),p=c?"height":"width",f=c?"top":"left",m=h.test(d),g={},v="show"===u;o.parent().is(".ui-effects-wrapper")?e.effects.save(o.parent(),l):e.effects.save(o,l),o.show(),s=e.effects.createWrapper(o).css({overflow:"hidden"}),n=s[p](),a=parseFloat(s.css(f))||0,g[p]=v?n:0,m||(o.css(c?"bottom":"right",0).css(c?"top":"left","auto").css({position:"absolute"}),g[f]=v?a:n+a),v&&(s.css(p,0),m||s.css(f,a+n)),s.animate(g,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){"hide"===u&&o.hide(),e.effects.restore(o,l),e.effects.removeWrapper(o),i()}})},e.effects.effect.bounce=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","height","width"],h=e.effects.setMode(o,t.mode||"effect"),l="hide"===h,u="show"===h,d=t.direction||"up",c=t.distance,p=t.times||5,f=2*p+(u||l?1:0),m=t.duration/f,g=t.easing,v="up"===d||"down"===d?"top":"left",y="up"===d||"left"===d,b=o.queue(),_=b.length;for((u||l)&&r.push("opacity"),e.effects.save(o,r),o.show(),e.effects.createWrapper(o),c||(c=o["top"===v?"outerHeight":"outerWidth"]()/3),u&&(a={opacity:1},a[v]=0,o.css("opacity",0).css(v,y?2*-c:2*c).animate(a,m,g)),l&&(c/=Math.pow(2,p-1)),a={},a[v]=0,s=0;p>s;s++)n={},n[v]=(y?"-=":"+=")+c,o.animate(n,m,g).animate(a,m,g),c=l?2*c:c/2;l&&(n={opacity:0},n[v]=(y?"-=":"+=")+c,o.animate(n,m,g)),o.queue(function(){l&&o.hide(),e.effects.restore(o,r),e.effects.removeWrapper(o),i()}),_>1&&b.splice.apply(b,[1,0].concat(b.splice(_,f+1))),o.dequeue()},e.effects.effect.clip=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","height","width"],h=e.effects.setMode(o,t.mode||"hide"),l="show"===h,u=t.direction||"vertical",d="vertical"===u,c=d?"height":"width",p=d?"top":"left",f={};e.effects.save(o,r),o.show(),s=e.effects.createWrapper(o).css({overflow:"hidden"}),n="IMG"===o[0].tagName?s:o,a=n[c](),l&&(n.css(c,0),n.css(p,a/2)),f[c]=l?a:0,f[p]=l?0:a/2,n.animate(f,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){l||o.hide(),e.effects.restore(o,r),e.effects.removeWrapper(o),i()}})},e.effects.effect.drop=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","opacity","height","width"],o=e.effects.setMode(n,t.mode||"hide"),r="show"===o,h=t.direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h?"pos":"neg",d={opacity:r?1:0};e.effects.save(n,a),n.show(),e.effects.createWrapper(n),s=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===u?-s:s),d[l]=(r?"pos"===u?"+=":"-=":"pos"===u?"-=":"+=")+s,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}})},e.effects.effect.explode=function(t,i){function s(){b.push(this),b.length===d*c&&n()}function n(){p.css({visibility:"visible"}),e(b).remove(),m||p.hide(),i()}var a,o,r,h,l,u,d=t.pieces?Math.round(Math.sqrt(t.pieces)):3,c=d,p=e(this),f=e.effects.setMode(p,t.mode||"hide"),m="show"===f,g=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/c),y=Math.ceil(p.outerHeight()/d),b=[];for(a=0;d>a;a++)for(h=g.top+a*y,u=a-(d-1)/2,o=0;c>o;o++)r=g.left+o*v,l=o-(c-1)/2,p.clone().appendTo("body").wrap("
    ").css({position:"absolute",visibility:"visible",left:-o*v,top:-a*y}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:y,left:r+(m?l*v:0),top:h+(m?u*y:0),opacity:m?0:1}).animate({left:r+(m?0:l*v),top:h+(m?0:u*y),opacity:m?1:0},t.duration||500,t.easing,s)},e.effects.effect.fade=function(t,i){var s=e(this),n=e.effects.setMode(s,t.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:t.duration,easing:t.easing,complete:i})},e.effects.effect.fold=function(t,i){var s,n,a=e(this),o=["position","top","bottom","left","right","height","width"],r=e.effects.setMode(a,t.mode||"hide"),h="show"===r,l="hide"===r,u=t.size||15,d=/([0-9]+)%/.exec(u),c=!!t.horizFirst,p=h!==c,f=p?["width","height"]:["height","width"],m=t.duration/2,g={},v={};e.effects.save(a,o),a.show(),s=e.effects.createWrapper(a).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],d&&(u=parseInt(d[1],10)/100*n[l?0:1]),h&&s.css(c?{height:0,width:u}:{height:u,width:0}),g[f[0]]=h?n[0]:u,v[f[1]]=h?n[1]:0,s.animate(g,m,t.easing).animate(v,m,t.easing,function(){l&&a.hide(),e.effects.restore(a,o),e.effects.removeWrapper(a),i()})},e.effects.effect.highlight=function(t,i){var s=e(this),n=["backgroundImage","backgroundColor","opacity"],a=e.effects.setMode(s,t.mode||"show"),o={backgroundColor:s.css("backgroundColor")};"hide"===a&&(o.opacity=0),e.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===a&&s.hide(),e.effects.restore(s,n),i()}})},e.effects.effect.size=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],u=["fontSize"],d=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=e.effects.setMode(o,t.mode||"effect"),f=t.restore||"effect"!==p,m=t.scale||"both",g=t.origin||["middle","center"],v=o.css("position"),y=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&o.show(),s={height:o.height(),width:o.width(),outerHeight:o.outerHeight(),outerWidth:o.outerWidth()},"toggle"===t.mode&&"show"===p?(o.from=t.to||b,o.to=t.from||s):(o.from=t.from||("show"===p?b:s),o.to=t.to||("hide"===p?b:s)),a={from:{y:o.from.height/s.height,x:o.from.width/s.width},to:{y:o.to.height/s.height,x:o.to.width/s.width}},("box"===m||"both"===m)&&(a.from.y!==a.to.y&&(y=y.concat(d),o.from=e.effects.setTransition(o,d,a.from.y,o.from),o.to=e.effects.setTransition(o,d,a.to.y,o.to)),a.from.x!==a.to.x&&(y=y.concat(c),o.from=e.effects.setTransition(o,c,a.from.x,o.from),o.to=e.effects.setTransition(o,c,a.to.x,o.to))),("content"===m||"both"===m)&&a.from.y!==a.to.y&&(y=y.concat(u).concat(l),o.from=e.effects.setTransition(o,u,a.from.y,o.from),o.to=e.effects.setTransition(o,u,a.to.y,o.to)),e.effects.save(o,y),o.show(),e.effects.createWrapper(o),o.css("overflow","hidden").css(o.from),g&&(n=e.effects.getBaseline(g,s),o.from.top=(s.outerHeight-o.outerHeight())*n.y,o.from.left=(s.outerWidth-o.outerWidth())*n.x,o.to.top=(s.outerHeight-o.to.outerHeight)*n.y,o.to.left=(s.outerWidth-o.to.outerWidth)*n.x),o.css(o.from),("content"===m||"both"===m)&&(d=d.concat(["marginTop","marginBottom"]).concat(u),c=c.concat(["marginLeft","marginRight"]),l=r.concat(d).concat(c),o.find("*[width]").each(function(){var i=e(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&e.effects.save(i,l),i.from={height:s.height*a.from.y,width:s.width*a.from.x,outerHeight:s.outerHeight*a.from.y,outerWidth:s.outerWidth*a.from.x},i.to={height:s.height*a.to.y,width:s.width*a.to.x,outerHeight:s.height*a.to.y,outerWidth:s.width*a.to.x},a.from.y!==a.to.y&&(i.from=e.effects.setTransition(i,d,a.from.y,i.from),i.to=e.effects.setTransition(i,d,a.to.y,i.to)),a.from.x!==a.to.x&&(i.from=e.effects.setTransition(i,c,a.from.x,i.from),i.to=e.effects.setTransition(i,c,a.to.x,i.to)),i.css(i.from),i.animate(i.to,t.duration,t.easing,function(){f&&e.effects.restore(i,l)})})),o.animate(o.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){0===o.to.opacity&&o.css("opacity",o.from.opacity),"hide"===p&&o.hide(),e.effects.restore(o,y),f||("static"===v?o.css({position:"relative",top:o.to.top,left:o.to.left}):e.each(["top","left"],function(e,t){o.css(t,function(t,i){var s=parseInt(i,10),n=e?o.to.left:o.to.top;return"auto"===i?n+"px":s+n+"px"})})),e.effects.removeWrapper(o),i()}})},e.effects.effect.scale=function(t,i){var s=e(this),n=e.extend(!0,{},t),a=e.effects.setMode(s,t.mode||"effect"),o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)?0:"hide"===a?0:100),r=t.direction||"both",h=t.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},u={y:"horizontal"!==r?o/100:1,x:"vertical"!==r?o/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==a&&(n.origin=h||["middle","center"],n.restore=!0),n.from=t.from||("show"===a?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*u.y,width:l.width*u.x,outerHeight:l.outerHeight*u.y,outerWidth:l.outerWidth*u.x},n.fade&&("show"===a&&(n.from.opacity=0,n.to.opacity=1),"hide"===a&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},e.effects.effect.puff=function(t,i){var s=e(this),n=e.effects.setMode(s,t.mode||"hide"),a="hide"===n,o=parseInt(t.percent,10)||150,r=o/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:a?o:100,from:a?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(t)},e.effects.effect.pulsate=function(t,i){var s,n=e(this),a=e.effects.setMode(n,t.mode||"show"),o="show"===a,r="hide"===a,h=o||"hide"===a,l=2*(t.times||5)+(h?1:0),u=t.duration/l,d=0,c=n.queue(),p=c.length;for((o||!n.is(":visible"))&&(n.css("opacity",0).show(),d=1),s=1;l>s;s++)n.animate({opacity:d},u,t.easing),d=1-d;n.animate({opacity:d},u,t.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&c.splice.apply(c,[1,0].concat(c.splice(p,l+1))),n.dequeue()},e.effects.effect.shake=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","height","width"],o=e.effects.setMode(n,t.mode||"effect"),r=t.direction||"left",h=t.distance||20,l=t.times||3,u=2*l+1,d=Math.round(t.duration/u),c="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},m={},g={},v=n.queue(),y=v.length;for(e.effects.save(n,a),n.show(),e.effects.createWrapper(n),f[c]=(p?"-=":"+=")+h,m[c]=(p?"+=":"-=")+2*h,g[c]=(p?"-=":"+=")+2*h,n.animate(f,d,t.easing),s=1;l>s;s++)n.animate(m,d,t.easing).animate(g,d,t.easing);n.animate(m,d,t.easing).animate(f,d/2,t.easing).queue(function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}),y>1&&v.splice.apply(v,[1,0].concat(v.splice(y,u+1))),n.dequeue()},e.effects.effect.slide=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","width","height"],o=e.effects.setMode(n,t.mode||"show"),r="show"===o,h=t.direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h,d={};e.effects.save(n,a),n.show(),s=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,u?isNaN(s)?"-"+s:-s:s),d[l]=(r?u?"+=":"-=":u?"-=":"+=")+s,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}})},e.effects.effect.transfer=function(t,i){var s=e(this),n=e(t.to),a="fixed"===n.css("position"),o=e("body"),r=a?o.scrollTop():0,h=a?o.scrollLeft():0,l=n.offset(),u={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},d=s.offset(),c=e("
    ").appendTo(document.body).addClass(t.className).css({top:d.top-r,left:d.left-h,height:s.innerHeight(),width:s.innerWidth(),position:a?"fixed":"absolute"}).animate(u,t.duration,t.easing,function(){c.remove(),i()})}}); \ No newline at end of file diff --git a/rating/index_files/jquery-ui.structure.min.css b/rating/index_files/jquery-ui.structure.min.css new file mode 100644 index 0000000..cc4742a --- /dev/null +++ b/rating/index_files/jquery-ui.structure.min.css @@ -0,0 +1,5 @@ +/*! jQuery UI - v1.11.2 - 2014-11-19 +* http://jqueryui.com +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px} \ No newline at end of file diff --git a/rating/index_files/jquery-ui.theme.min.css b/rating/index_files/jquery-ui.theme.min.css new file mode 100644 index 0000000..8bf2012 --- /dev/null +++ b/rating/index_files/jquery-ui.theme.min.css @@ -0,0 +1,5 @@ +/*! jQuery UI - v1.11.2 - 2014-11-19 +* http://jqueryui.com +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +.ui-widget{font-family:'Noto Serif', 'PT Sans',Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #9b8f81;background:#000; color:#9b8f81; font-size: 12px}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #fbcb09;background:#fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#c77405}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fed22f;background:#ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;color:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_228ef1_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_ffd27a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px} \ No newline at end of file diff --git a/rating/index_files/jquery.js b/rating/index_files/jquery.js new file mode 100644 index 0000000..b383717 --- /dev/null +++ b/rating/index_files/jquery.js @@ -0,0 +1,287 @@ +/*! jQuery v1.7.2 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"":"")+""),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;e=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
    a",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="
    "+""+"
    ",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="
    t
    ",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="
    ",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function( +a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

    ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
    ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
    ","
    "]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f +.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(;d1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]===""&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
    ").append(c.replace(bM,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bN.test(this.nodeName)||bH.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b);return a},ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?ca(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bG.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bW+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bZ(bT,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)b_(g,a[g],c,e);return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n);try{m.text=h.responseText}catch(a){}try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); + +jQuery.fn.createAppend = function(element, attrs, content) +{ + + if (attrs == undefined && element.constructor == Array) + { + for (var i = 0; i < element.length; i += 3) + { + jQuery(this).createAppend(element[i], element[i + 1] || {}, element[i + 2] || []); + } + return this; + } + + var parentElement = this[0]; + + if (jQuery.browser.msie && element == 'input' && attrs.type) + { + var element = document.createElement('<' + element + ' type="' + attrs.type + '" />'); + } + else + { + var element = document.createElement(element); + }; + + if (/*jQuery.browser.msie && */parentElement.nodeName.toLowerCase() == 'table' && element.nodeName.toLowerCase() == 'tr') + { + if (parentElement && parentElement.getElementsByTagName('tbody')[0]) + { + var tbody = parentElement.getElementsByTagName('tbody')[0]; + } + else + { + var tbody = parentElement.appendChild(document.createElement('tbody')); + }; + var element = tbody.appendChild(element); + } + else + { + var element = parentElement.appendChild(element); + }; + + element = __FlyDOM_parseAttrs(element, attrs); + + if (typeof content == 'object' && content != null) + { + for (var i = 0; i < content.length; i = i + 3) + { + jQuery(element).createAppend(content[i], content[i + 1] || {}, content[i + 2] || []); + }; + } + else if (content != null) + { + element = __FlyDOM_setText(element, content); + }; + return jQuery(element); +} + + +jQuery.fn.createPrepend = function(element, attrs, content) +{ + + if (attrs == undefined && element.constructor == Array) + { + for (var i = 0; i < element.length; i += 3) + { + jQuery(this).createPrepend(element[i], element[i + 1] || {}, element[i + 2] || []); + } + return this; + } + + // var element = document.createElement(element); + var element = document.createElement('<' + element + ' type="' + attrs.type + '"/>'); + + if (attrs.value) + inputValue = attrs.value != '' ? attrs.value : ''; + var element = document.createElement('<' + element + ' type="' + attrs.type + '" value="' + inputValue + '"/>'); + + if (this[0].hasChildNodes() == false) + { + var element = this[0].appendChild(element); + }; + + element = __FlyDOM_parseAttrs(element, attrs); + + if (typeof content == 'object' && content != null) + { + for (var i = 0; i < content.length; i = i + 3) + { + jQuery(element).createAppend(content[i], content[i + 1] || {}, content[i + 2] || []); + }; + } + else if (content != null) + { + element = __FlyDOM_setText(element, content); + }; + + if (this[0].hasChildNodes() == true) + { + var element = this[0].insertBefore(element, this[0].firstChild); + }; + return jQuery(element); +} + + +jQuery.fn.tplAppend = function(json, tpl) +{ + if (json.constructor != Array) { json = [ json ]; }; + if (json.length == 0) { return false; }; + + for (var i = 0; i < json.length; i++) + { + var results = tpl.apply(json[i]); + + for (var j = 0; j < results.length; j = j + 3) + { + jQuery(this).createAppend(results[j], results[j + 1], results[j + 2]); + }; + }; + return this; +} + + +jQuery.fn.tplPrepend = function(json, tpl) +{ + var self = this[0]; + + if (json.constructor != Array) { json = [ json ]; }; + if (json.length == 0) { return false; }; + + var div = document.createElement('div'); + + for (var i = 0; i < json.length; i++) + { + var results = tpl.apply(json[i]); + + for (var j = 0; j < results.length; j = j + 3) + { + jQuery(div).createAppend(results[j], results[j + 1], results[j + 2]); + }; + }; + + for (i = div.childNodes.length - 1; i >= 0; i--) + { + if (jQuery.browser.msie && self.nodeName.toLowerCase() == 'table' && div.childNodes[i].nodeName.toLowerCase() == 'tr') + { + if (self.getElementsByTagName('tbody')[0]) + { + var tbodyElement = self.getElementsByTagName('tbody')[0]; + tbodyElement.insertBefore(div.childNodes[i], tbodyElement.firstChild); + } + else + { + var tbodyElement = self.insertBefore(document.createElement('tbody'), self.firstChild); + tbodyElement.appendChild(tbodyElement.appendChild(div.childNodes[i])); + }; + } else + { + self.insertBefore(div.childNodes[i], self.firstChild); + }; + }; + return this; +}; + + +String.prototype.toCamelCase = function() +{ + var self = this; + var special = { 'class': 'className', 'colspan': 'colSpan', 'rowspan': 'rowSpan', 'for': 'htmlFor', 'httpequiv': 'httpEquiv', + 'alink': 'aLink', 'vlink': 'vLink', 'bgcolor': 'bgColor', 'acceptcharset': 'acceptCharset', + 'selectedindex': 'selectedIndex', 'tabindex': 'tabIndex', 'selected': 'defaultSelected', 'checked': 'defaultChecked', + 'value': 'defaultValue', 'accesskey': 'accessKey', 'noshade': 'noShade', 'datetime': 'dateTime', 'usemap': 'useMap', + 'lowsrc': 'lowSrc', 'longdesc': 'longDesc', 'ismap': 'isMap', 'codebase': 'codeBase', 'codetype': 'codeType', + 'valuetype': 'valueType', 'nohref': 'noHref', 'thead': 'tHead', 'tfoot': 'tFoot', 'cellpadding': 'cellPadding', + 'cellspacing': 'cellSpacing', 'charoff': 'chOff', 'valign': 'vAlign', 'frameborder': 'frameBorder', + 'marginheight': 'marginHeight', 'marginwidth': 'marginWidth', 'noresize': 'noResize' }; + + if (special[self] != '' && typeof special[self] != 'undefined') + { + return special[self]; + } + + if (self.indexOf('-') > 0) + { + var parts = self.split('-'); + self = parts[0]; + + for (i = 1; i < parts.length; i++) + { + self += parts[i].substr(0, 1).toUpperCase() + parts[i].substr(1).toLowerCase(); + }; + }; + return self; +}; + + +String.prototype.trim = function() +{ + return this.replace(/^\s+|\s+$/g, ''); +}; + + +__FlyDOM_parseAttrs = function(element, attrs) +{ + for (attr in attrs) + { + var attrName = attr; + var attrValue = attrs[attr]; + + switch (attrName) + { + case 'style': + + if (typeof attrValue == 'string') + { + var params = attrValue.split(';'); + for (var i = 0; i < params.length; i++) + { + if (params[i].trim() != '') + { + var styleName = params[i].split(':')[0].trim(); + var styleValue = params[i].split(':')[1].trim(); + styleName = styleName.toCamelCase(); + if (styleName != '') + { + element.style[styleName] = styleValue; + }; + }; + }; + + } + else if (typeof attrValue == 'object') + { + for (styleName in attrValue) + { + var styleNameCamel = styleName.toCamelCase(); + if (styleName.trim() != '') + { + element.style[styleNameCamel] = attrValue[styleName]; + }; + }; + }; + + break; + + default: + + if (attrName.substr(0, 2) == 'on') + { + var event = attrName.substr(2); + attrValue = (typeof attrValue != 'function') ? eval('f = function() { ' + attrValue + '}') : attrValue; + jQuery(element).bind(event, attrValue); + } + else + { + element[attrName.toCamelCase()] = attrValue; + } + }; + }; + + return element; + +}; + + +__FlyDOM_setText = function(element, content) +{ + var isHtml = /(<\S[^><]*>)|(&.+;)/g; + + if (content.match(isHtml) != null && element.tagName.toUpperCase() != 'TEXTAREA') + { + var nDiv = document.createElement('div'); + nDiv.innerHTML = content; + element.appendChild(nDiv); + } + else + { + var textNode = document.createTextNode(content); + element.appendChild(textNode); + }; + + return element; + +}; \ No newline at end of file diff --git a/rating/index_files/kb.js b/rating/index_files/kb.js new file mode 100644 index 0000000..25a5fd6 --- /dev/null +++ b/rating/index_files/kb.js @@ -0,0 +1 @@ +(function(){function getImg(url){var img;try{img=new Image}catch(ignore){img=document.createElement("img")}img.src=url}(function(i,s,o,g,r,a,m){i["DataCloudObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date;a=s.createElement("script"),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.type="text/javascript";if(m)m.appendChild(a)})(window,document,"head","//t.insigit.com/assets/dct.js","_dct");_dct("create","8fe1a90e434004cb9823641ceb64b783","3696d9c5412d7dbcbaf1f52aba44c40f","//t.insigit.com");_dct("send","info");getImg("//kitbit.net/h.gif?r="+escape(document.referrer)+(typeof screen=="undefined"?"":"&s="+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+"&u="+escape(document.URL)+"&h="+escape(document.title.substring(0,80))+"&kbuid=5EFC831F08E7385619FA5848021354F8")})(); diff --git a/rating/index_files/main.css b/rating/index_files/main.css new file mode 100644 index 0000000..7e230c0 --- /dev/null +++ b/rating/index_files/main.css @@ -0,0 +1,2051 @@ +* { + padding: 0px; + margin: 0px; + border: 0px; + font-size: 0px; +} + +html { + overflow-y: scroll; + background-color: #000000; +} + +html, body { + height: 100%; +} + +html > body { + min-height: 100%; +} + +h1, h2, h3, h4, p, span, li, a { + font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif; + color: #252525; +} +h1, h2 { font-weight: bold } +h1 { font-size: 20px } +h2 { font-size: 18px } +h3 { font-size: 16px } +h4 { font-size: 14px } +p { font-size: 13px } +b { font-size: 13px } +i { font-size: 13px } +strong { font-size: 13px } +a { font-size: 13px } +span { font-size: 13px } +a { text-decoration: none } + +div.cc { + width: 980px; + margin: 0 auto; +} + +header { + position: fixed; + top: 0px; + left: 0px; + width: 100%; + z-index: 100; +} + +#wrap { + position: relative; + margin: 0 auto; + width: 100%; + height: auto !important; + min-height: 100%; + height: 100%; + background-image: url(/pic/front/global-back.jpg); + background-position: center top; + background-repeat: no-repeat; +} + +#wrap-light { + width: 100%; + height: auto !important; + min-height: 100%; + height: 100%; + background: url(/pic/front/back-pattern.jpg) left top; +} + +#content { + width: 100%; + margin: 0 auto; + min-height: 400px; + padding-bottom: 100px; + overflow: hidden; +} +#content-light { + position: relative; + width: 430px; + margin: 0 auto 0px auto; + min-height: 500px; + padding-bottom: 100px; +} +#content.rel { + position: relative; +} + +/********** GLOBAL HEADER MENU *********/ +header div.global-menu { + height: 36px; + background: rgba(0,0,0,0.7); +} +header div.global-menu:hover { + background: rgba(0,0,0,1); +} +header div.global-menu ul.external { + list-style: none; + display: inline-block; +} +header div.global-menu ul.external li { + position: relative; + display: inline-block; + line-height: 36px; + padding: 0px 14px; +} +header div.global-menu ul.external > li:first-child { + margin-left: 20px; +} +header div.global-menu ul.external li a { + color: #999999; + display: block; +} +header div.global-menu ul.external li a.shop { + color: #ac7a25; +} +header div.global-menu ul.external li:hover a.shop { + color: #e4b361 !important; +} +header div.global-menu ul.external li:hover { + background: #222222; +} +header div.global-menu ul.external li:hover a { + color: #eaeaea; +} + +/********** GLOBAL HEADER SUB MENU *********/ +header div.global-menu ul.external li > ul.sub-menu { + display: none; + position: absolute; + top: 36px; + left: 0px; + list-style: none; + background: #000000; +} +header div.global-menu ul.external li > ul.sub-menu li { + display: block; + line-height: 36px; + background: #000000; +} +header div.global-menu ul.external li > ul.sub-menu li a { + display: block; + color: #999999; +} +header div.global-menu ul.external li > ul.sub-menu li+li { + border-top: 1px solid #222222; +} +header div.global-menu ul.external li > ul.sub-menu li:hover a { + color: #eaeaea; +} +header div.global-menu ul.external li > ul.sub-menu li:hover { + background: #222222; +} + + +/************* GLOBAL HEADER SUBSCRIBER *************/ +header div.global-menu ul.subscriber { + float: right; + list-style: none; + display: inline-block; +} +header div.global-menu ul.subscriber li { + position: relative; + display: inline-block; + line-height: 36px; + padding: 0px 14px; +} +header div.global-menu ul.subscriber li a { + color: #999999; + display: block; +} +header div.global-menu ul.subscriber li a.nick { + font-size: 15px; + color: #f1e5d5; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); +} +header div.global-menu ul.subscriber li a.nick img { + position: relative; + width: 18px; + height: 18px; + top: 4px; + margin-left: 4px; +} +header div.global-menu ul.subscriber li:hover { + background: #222222; +} +header div.global-menu ul.subscriber li:hover a { + color: #eaeaea; +} + +/********** GLOBAL HEADER SUBSCRIBER SUB MENU *********/ +header div.global-menu ul.subscriber li > ul.sub-menu-click { + min-width: 145px; + display: none; + position: absolute; + top: 45px; + right: 0px; + list-style: none; + background-color: #101e27; + border: 1px solid #374246; + -webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,1), inset 0px 0px 1px 2px rgba(0,0,0,1); + -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,1), inset 0px 0px 1px 2px rgba(0,0,0,1); + box-shadow: 0px 0px 1px 1px rgba(0,0,0,1), inset 0px 0px 1px 2px rgba(0,0,0,1); +} +header div.global-menu ul.subscriber li > ul.sub-menu-click::after { + content: " "; + position: absolute; + z-index: 10; + width: 21px; + height: 13px; + top: -10px; + right: 24px; + background: url(/pic/front/drop/drop_window_arrow.png) center center no-repeat; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li { + display: block; + line-height: 36px; + background: #101e28; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li:first-child:hover { + background: #101e28 !important; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li a { + display: block; + color: #999999; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li+li { + border-top: 1px solid #222222; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li:hover a { + color: #bcbdbf; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li:hover { + background: #28363f; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li.about { + line-height: 20px; + padding-top: 6px; + padding-bottom: 6px; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li.about span { + display: block; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li.about span.nick { + color: #2b98f5; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li.about span.email { + font-size: 11px; + color: #9f907d; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li span.ico { + float: left; + display: inline-block; + width: 26px; + height: 26px; + margin-right: 10px; + position: relative; + top: 5px; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li span.ico.settings { + background: url(/pic/front/drop/ICO_settings.png) center center no-repeat; + background-size: 25px; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li span.ico.exit { + background: url(/pic/front/drop/ICO_exit.png) center center no-repeat; + background-size: 25px; +} + + +/************* GLOBAL HEADER SIGN *************/ +header div.global-menu div.sign { + float: right; + height: 36px; +} +header div.global-menu div.sign a, +header div.global-menu div.sign span { + display: inline-block; + line-height: 36px; +} +header div.global-menu div.sign a { + color: #999999; + padding: 0px 8px; +} +header div.global-menu div.sign a:hover { + color: #eaeaea; + background: #222222; +} +header div.global-menu div.sign a:last-child { + margin-right: 20px; +} +header div.global-menu div.sign span { + color: #6c6c6c; + padding: 0px 5px; +} + +/*************** HEADE LOGO ****************/ +body div.head { + width: 680px; + margin: 0 auto; + height: 280px; + padding-top: 36px; +} +body div.head img { + width: 600px; + margin: 12px 0px 0px 36px; +} +body #content-light a.logo { + padding: 20px 0px; + margin: 0 auto; + display: block; + text-align: center; +} +body #content-light a.logo img { + width: 600px; +} + +/*************** MAIN FRAME MENU **************/ +div.frame-menu { + position: absolute; + width: 100%; + z-index: 10; +} +div.frame-menu div.data { + position: relative; + margin: 0 auto; + width: 980px; + height: 120px; + background-image: url(/pic/front/top_panel.png); + background-position: center top; + background-repeat: no-repeat; + overflow: visible; +} +div.frame-menu div.data::before { + position: absolute; + top: 0px; + left: -22px; + content: ' '; + width: 47px; + height: 214px; + background-image: url(/pic/front/left_panel.png); + background-position: left top; + background-repeat: no-repeat; +} +div.frame-menu div.data::after { + position: absolute; + top: 0px; + right: -28px; + content: ' '; + width: 55px; + height: 214px; + background-image: url(/pic/front/right_panel.png); + background-position: left top; + background-repeat: no-repeat; +} +div.frame-menu div.data > ul.menu { + list-style: none; + position: absolute; + top: 42px; + left: 24px; + z-index: 15; + width: 940px; +} +div.frame-menu div.data > ul.menu > li { + display: inline-block; + float: left; + width: 136px; + height: 73px; +} +div.frame-menu div.data > ul.menu li.subscriber { + width: 259px; + height: 86px; + position: relative; + background: url(/pic/front/menu/subscriber-back.png) left top no-repeat; +} +div.frame-menu div.data ul.menu li.main { background: url(/pic/front/menu/main.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.library { background: url(/pic/front/menu/library.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.media { background: url(/pic/front/menu/media.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.faq { background: url(/pic/front/menu/faq.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.social { background: url(/pic/front/menu/social.jpg) center center no-repeat } + +div.frame-menu div.data ul.menu li.main:hover { background: url(/pic/front/menu/main_hover.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.library:hover { background: url(/pic/front/menu/library_hover.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.media:hover { background: url(/pic/front/menu/media_hover.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.faq:hover { background: url(/pic/front/menu/faq_hover.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.social:hover { background: url(/pic/front/menu/social_hover.jpg) center center no-repeat } + +div.frame-menu div.data ul.menu li.main.active { background: url(/pic/front/menu/main_active.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.library.active { background: url(/pic/front/menu/library_active.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.media.active { background: url(/pic/front/menu/media_active.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.faq.active { background: url(/pic/front/menu/faq_active.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.social.active { background: url(/pic/front/menu/social_active.jpg) center center no-repeat } + +div.frame-menu div.data > ul.menu > li > a { + display: block; + height: 73px; + position: relative; + text-align: center; +} +div.frame-menu div.data > ul.menu > li > a span { + display: block; + color: #ffb961; + padding-top: 45px; + font-weight: bold; + font-size: 14px; +} +div.frame-menu div.data ul.menu li.main:hover a span, +div.frame-menu div.data ul.menu li.media:hover a span, +div.frame-menu div.data ul.menu li.library:hover a span, +div.frame-menu div.data ul.menu li.faq:hover a span, +div.frame-menu div.data ul.menu li.social:hover a span, +div.frame-menu div.data ul.menu li.main.active a span, +div.frame-menu div.data ul.menu li.media.active a span, +div.frame-menu div.data ul.menu li.library.active a span, +div.frame-menu div.data ul.menu li.faq.active a span, +div.frame-menu div.data ul.menu li.social.active a span { + color: #ffcf94; + text-shadow: 0px 0px 2px rgba(0, 0, 0, 1); +} +div.frame-menu div.data ul.menu li.subscriber a { + text-align: left; +} +div.frame-menu div.data ul.menu li.subscriber a span.ico { + background: url(http://store.palgame.ru/resources/portrait/male/f_p1.jpg) center center no-repeat; + background-size: 66px; + display: block; + width: 60px; + height: 60px; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + position: absolute; + top: 6px; + left: 15px; + padding: 0px !important; +} +div.frame-menu div.data ul.menu li.subscriber a span.title { + padding: 8px 0px 0px 86px; + color: #850100; + font-size: 14px; +} +div.frame-menu div.data ul.menu li.subscriber a span.desc { + padding: 1px 0px 0px 86px; + color: #2f2929; + font-size: 12px; +} +div.frame-menu div.data ul.menu li.subscriber div.auth { + position: absolute; + top: 0px; + left: 0px; + background: url(/pic/front/menu/subscriber-back-big.png) left top no-repeat; + width: 259px; + height: 225px; + z-index: 10; + display: none; +} + +/*************** IS AUTH ****************/ +div.subscriber-is-auth div.avatar { + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + display: block; + width: 60px; + height: 60px; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + position: absolute; + top: 6px; + left: 15px; + padding: 0px !important; + -webkit-box-shadow: inset 0px 0px 10px 3px rgba(0,0,0,0.7); + -moz-box-shadow: inset 0px 0px 10px 3px rgba(0,0,0,0.7); + box-shadow: inset 0px 0px 10px 3px rgba(0,0,0,0.7); +} + +div.subscriber-is-auth div.avatar a.exit { + position: absolute; + display: block; + width: 17px; + height: 17px; + top: 4px; + right: -3px; + background-image: url(/i/user-close.png); + background-position: center; + background-repeat: no-repeat; +} + +div.subscriber-is-auth div.avatar a.go-account { + display: block; + height: 60px; +} + +div.subscriber-is-auth a.account, +div.subscriber-is-auth a.flash { + margin-left: 86px; + display: inline-block; + clear: both; +} + +div.subscriber-is-auth a.account { + color: #850100; + font-size: 13px; + padding-bottom: 1px; + margin-bottom: 4px; + margin-top: 8px; + font-weight: bold; + border-bottom: 1px dashed transparent; + overflow: hidden; + max-width: 155px; + height: 20px; +} + +div.subscriber-is-auth a.account:hover { + border-bottom: 1px dashed #850100; +} + +div.subscriber-is-auth a.flash { + padding-top: 4px; + line-height: 22px; + height: 26px; + width: 145px; + color: #f1e5d5; + font-size: 15px; + font-weight: bold; + text-align: center !important; + background: url(/pic/shop/button_n.jpg) center center no-repeat; + background-size: cover; + margin-top: 22px; +} + +div.subscriber-is-auth a.flash:hover { + background: url(/pic/shop/button_s.jpg) center center no-repeat; + background-size: cover; +} + + + + +/*************** FRAME LIGHT **************/ +div.frame-light-head { + position: absolute; + top: 150px; + width: 100%; + height: 42px; + z-index: 10; + background: url(/pic/front/top_panel_small.png) center top no-repeat; +} +div.frame-light-head::before { + position: absolute; + top: 7px; + left: -47px; + content: ' '; + width: 47px; + height: 214px; + background: url(/pic/front/left_panel_small.png) left top no-repeat; +} +div.frame-light-head::after { + position: absolute; + top: 1px; + right: -55px; + content: ' '; + width: 55px; + height: 214px; + background: url(/pic/front/right_panel_small.png) left top no-repeat; +} +div.frame-light-content { + width: 430px; + /*min-height: 500px;*/ + margin: 30px auto -1px auto; + position: relative; + background-color: rgba(0,0,0,0.5); + background: url(/pic/front/back-pattern.jpg) left top; +} +div.frame-light-content > .light-data { + background-image: url(/pic/store/right-back.png); + background-position: -190px top; + background-repeat: no-repeat; + background-size: 165%; + /*min-height: 300px;*/ +} +div.frame-light-content::before { + content: ' '; + position: absolute; + top: 0px; + left: -34px; + bottom: 0px; + z-index: 1; + background: url(/pic/front/border/l.png) top left; + width: 34px; +} +div.frame-light-content::after { + content: ' '; + position: absolute; + top: 0px; + right: -34px; + bottom: 0px; + z-index: 1; + background: url(/pic/front/border/r.png) top right; + width: 34px; +} +div.frame-light-bottom { + position: absolute; + width: 430px; + height: 34px; + left: 0px; + bottom: -33px; + background-image: url(/pic/front/border/b.png); + background-repeat: repeat-x; + background-position: left bottom; +} +div.frame-light-bottom::before { + content: ' '; + position: absolute; + bottom: -1px; + left: -34px; + width: 34px; + height: 34px; + background-image: url(/pic/front/border/lb.png); + background-repeat: repeat-x; + background-position: left bottom; +} +div.frame-light-bottom::after { + content: ' '; + position: absolute; + bottom: -1px; + right: -34px; + width: 34px; + height: 34px; + background-image: url(/pic/front/border/br.png); + background-repeat: repeat-x; + background-position: left bottom; +} + + + + +/*************** MAIN FRAME CONTENT **************/ +div.frame-border { + position: relative; + width: 998px; + margin: 15px auto 0px auto; + background-image: url(/pic/front/border/period-left.png), + url(/pic/front/border/period-right.png), + url(/pic/front/border/l.png), + url(/pic/front/border/r.png); + background-repeat: repeat-y, repeat-y, repeat-y, repeat-y; + background-position: left 40px, right 40px, left top, right top; +} +div.frame-border-b { + position: absolute; + height: 34px; + left: 34px; + right: 34px; + bottom: -10px; + background-image: url(/pic/front/border/b.png); + background-repeat: repeat-x; + background-position: left bottom; +} +div.frame-border-lb { + position: absolute; + width: 34px; + height: 34px; + left: 0px; + bottom: -11px; + background-image: url(/pic/front/border/lb.png); + background-repeat: no-repeat; + background-position: left bottom; +} +div.frame-border-br { + position: absolute; + width: 34px; + height: 34px; + right: 0px; + bottom: -11px; + background-image: url(/pic/front/border/br.png); + background-repeat: no-repeat; + background-position: right bottom; +} + +div.frame-border > div.frame { + min-height: 500px; + padding-top: 100px; + margin: 0px 32px 0px 32px; + background: url(/pic/front/back-pattern.jpg) left top repeat; + color: #ffffff; +} + +div.frame > div.left, +div.frame > div.right { + float: left; + min-height: 120px; +} +div.frame.main > div.left { + width: 680px; + position: relative; +} +div.frame.main > div.right { + width: 240px; + padding-top: 30px; + margin-left: 8px; +} + +div.frame.main > div.right > ul.important { + width: 240px; +} + +div.frame.main > div.right > ul.important li+li { + margin-top: -2px; +} + +div.frame.main > div.right > ul.important li a { + display: block; + width: 230px; + margin-left: 5px; +} + +div.frame.main > div.right > ul.important li a span.title { + font-size: 15px; + color: #f2d38a; + display: block; + margin: 6px 0px 5px 0px; + text-shadow: 0px 0px 5px rgba(240, 210, 140, 1); +} + +div.frame.main > div.right > ul.important li a span.img { + display: block; + height: 100px; + background: url(/pic/main/temp/imp-news.jpg) center center no-repeat; + margin-bottom: 6px; + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=75); + -moz-opacity: 0.75; + -khtml-opacity: 0.75; + opacity: 0.75; +} + +div.frame.main > div.right > ul.important li.client a span.img { + background: url(/pic/main/imp-link/client.jpg) center center no-repeat; +} +div.frame.main > div.right > ul.important li.rating a span.img { + background: url(/pic/main/imp-link/rating.jpg) center center no-repeat; +} +div.frame.main > div.right > ul.important li.shop a span.img { + background: url(/pic/main/imp-link/shop.jpg) center center no-repeat; +} +div.frame.main > div.right > ul.important li.support a span.img { + background: url(/pic/main/imp-link/support.jpg) center center no-repeat; +} + +div.frame.main > div.right > ul.important li:hover a span.img { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); + -moz-opacity: 1; + -khtml-opacity: 1; + opacity: 1; +} + +div.frame.main > div.right > ul.important li div.sep { + width: 100%; + border-top: 1px solid #0b0f12; + border-bottom: 1px solid #26353a; +} + + +/* LAST FROM FORUM */ +div.frame.main > div.right > div.forum { + width: 240px; + min-height: 200px; + margin: 20px 0px 20px 0px; + padding-bottom: 175px; + background-image: url(/pic/main/flag/flag_top.png), url(/pic/main/flag/flag_bot.png); + background-position: center top, center bottom; + background-repeat: no-repeat, no-repeat; +} +div.frame.main > div.right > div.forum p.name { + text-transform: uppercase; + font-size: 15px; + text-align: center; + color: #f2d38a; + text-shadow: 0px 0px 5px rgba(240, 210, 140, 1); + padding: 55px 10px 0px 10px; +} +div.frame.main > div.right > div.forum ul { + list-style: none; + min-height: 100px; + width: 240px; + padding-top: 10px; + background: url(/pic/main/flag/flag_middle.png) center center repeat-y; +} +div.frame.main > div.right > div.forum ul li { + display: block; + width: 200px; + padding: 10px 20px; +} +div.frame.main > div.right > div.forum ul li:hover span.title { + text-shadow: 0px 0px 5px rgba(240, 228, 212, 1); +} +div.frame.main > div.right > div.forum ul li span { + display: block; +} +div.frame.main > div.right > div.forum ul li span.title { + color: #f0e4d4; + font-size: 13px; + text-shadow: 0px 0px 5px rgba(240, 228, 212, 0); +} +div.frame.main > div.right > div.forum ul li span.category { + color: #664848; + font-size: 11px; +} +div.frame.main > div.right > div.forum ul li span.date { + color: #664848; + font-size: 10px; + padding-bottom: 1px; +} + +/* CRUMBS */ +div.crumb { + position: absolute; + top: 4px; + left: 0px; + height: 28px; + z-index: 10; +} +div.crumb ul { + list-style: none; + padding-right: 40px; +} +div.crumb ul li { + display: inline-block; + line-height: 20px; + padding: 4px 10px; + position: relative; +} +div.crumb ul li+li::before { + content: '•'; + font-size: 12px; + color: #8b8c87; +} +div.crumb ul li+li { + padding-left: 0px !important +} +div.crumb ul li+li a { + margin-left: 7px; +} +div.crumb ul li a, +div.crumb ul li span { + font-size: 12px; + color: #8b8c87; +} + +/* ANONS */ +div.anons { + width: 675px; + height: 290px; + margin-top: 30px; +} +div.anons > div.slider { + position: relative; + width: 675px; + height: 290px; + -webkit-border-radius: 0px 3px 3px 0px; + -moz-border-radius: 0px 3px 3px 0px; + border-radius: 0px 3px 3px 0px; + overflow: hidden; + border: 1px solid #282d30; +} +div.anons > div.slider > div.slide { + position: relative; + width: 675px; + height: 290px; + background: url(/pic/main/news/img_news_1.jpg) center center no-repeat; + -webkit-box-shadow: inset 0px 0px 8px 6px rgba(0,0,0,0.75); + -moz-box-shadow: inset 0px 0px 8px 6px rgba(0,0,0,0.75); + box-shadow: inset 0px 0px 8px 6px rgba(0,0,0,0.75); +} +div.anons > div.slider > div.slide h1, +div.anons > div.slider > div.slide a { + position: absolute; + left: 30px; + bottom: 30px; + font-size: 30px; + color: #f1e6b9; + text-shadow: 1px 1px 7px rgba(0,0,0,1); +} + +div.anons > div.slider > div.slide-but { + position: absolute; + z-index: 10; + bottom: 20px; + right: 20px; +} +div.anons > div.slider > div.slide-but a { + display: inline-block; + width: 6px; + height: 6px; + border: 1px solid rgba(241, 230, 185, 0.5); + float: right; + margin-left: 3px; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; +} +div.anons > div.slider > div.slide-but a.active, +div.anons > div.slider > div.slide-but a:hover { + background-color: rgba(241, 230, 185, 0.5); +} + +/* NEWS */ +div.main-news { + +} + +div.main-news > div.sep { + margin-top: 1px; + margin-left: 16px; + margin-right: 16px; + margin-bottom: 4px; + border-top: 1px solid #0b0f12; + border-bottom: 1px solid #26353a; +} + +div.main-news > ul.menu { + list-style: none; + margin-top: 8px; +} +div.main-news > ul.menu li { + display: inline-block; + height: 28px; + margin-left: 8px; + margin-right: 8px; +} +div.main-news > ul.menu li a { + display: block; + color: #f1e6b9; + text-shadow: 0px 0px 5px rgba(240, 228, 212, 1); + line-height: 28px; +} +div.main-news > ul.menu li a:hover { + text-shadow: 0px 0px 10px rgba(255, 248, 239, 1); +} +div.main-news > ul.menu li.allnews { + margin-left: 16px; +} +div.main-news > ul.menu li.rss { + float: right; + margin-right: 16px; + padding-right: 24px; + background: url(/pic/main/news/rss.png) right 4px no-repeat; +} +div.main-news > div.item { + height: 135px; + background: url(/pic/main/news/news-item.png) -2px top no-repeat; + margin-bottom: 5px; + padding: 10px; + position: relative; +} +div.main-news > div.item > div.img { + position: absolute; + top: 11px; + left: 14px; + width: 210px; + height: 130px; + background: url(/pic/main/news/temp-news.jpg) center center no-repeat; + background-size: cover; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + border-radius: 2px; + border: 1px solid #100901; +} +div.main-news > div.item > div.img > a { + display: block; + height: 130px; +} +div.main-news > div.item > a, +div.main-news > div.item > p { + padding-left: 230px; +} +div.main-news > div.item > a { + padding-right: 130px; + display: block; + color: #252324; + font-size: 16px; + text-shadow: 0px 0px 1px rgba(37,35,36,1); + font-weight: bold; +} +div.main-news > div.item > a:hover { + color: #000000; +} +div.main-news > div.item > p { + font-size: 13px; +} +div.main-news > div.item > span.comment, +div.main-news > div.item > span.date { + position: absolute; +} +div.main-news > div.item > span.comment { + top: 15px; + right: 86px; + font-size: 11px; + font-weight: bold; + color: #5b4c37; + padding-left: 16px; + background: url(/pic/main/news/comment_normal.png) left top no-repeat; + background-position: left 2px; +} +div.main-news > div.item > span.date { + top: 15px; + right: 22px; + font-size: 11px; + font-weight: bold; + color: #5b4c37; +} + + + + + +/*************** ANIMATION & RADIUS & SHADOW ****************/ +.trans { + -webkit-transition: all .3s linear; + -moz-transition: all .3s linear; + -o-transition: all .3s linear; + transition: all .3s linear; +} +.ftrans { + -webkit-transition: all .2s linear; + -moz-transition: all .2s linear; + -o-transition: all .2s linear; + transition: all .2s linear; +} +.r5 { + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +.fs { + -webkit-box-shadow: inset 0px 0px 24px 0px rgba(11,15,18,1); + -moz-box-shadow: inset 0px 0px 24px 0px rgba(11,15,18,1); + box-shadow: inset 0px 0px 24px 0px rgba(11,15,18,1); +} + + +/*************** CLEAN ****************/ +div.clean { + height: 1px; + clear: both; +} +div.clean-frame { + height: 30px; + clear: both; +} +input#redactor_file { + font-size: 12px; +} +input#redactor_file_link { + width: 99%; + font-size: 16px; + padding: 4px; + border: 1px solid #E7E7E7; + color: #888C96; +} + + + + + + + + + + + + + + + + + + + + +footer { + position: relative; + margin-top: -100px; + height: 100px; + width: 100%; +} + + + +div#cnt { + width: 100%; + margin: 0 auto; + min-height: 400px; + padding-bottom: 100px; +} + +div#content.inn { + padding-top: 220px !important; +} + +div#content.bg-lines { + background-image: url('../i/line-left.png'), url('../i/line-right.png'); + background-position: left 200px, right 200px; + background-repeat: no-repeat; +} + +div.content-center { + width: 900px !important; + margin: 0 auto; + min-height: 400px; +} + +header > .data { + position: relative; + width: 930px; + margin: 0 auto; + height: 155px; +} + +div.logo { + text-align: center; +} +img.logo { + /* + margin-top: 28px; + width: 210px; + */ + margin-left: 230px; + margin-top: 10px; + width: 480px; +} + +header div.menu { + width: 100%; + height: 38px; + background: #335356; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMzNTM1NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwODBjMTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #335356 0%, #080c16 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#335356), color-stop(100%,#080c16)); + background: -webkit-linear-gradient(top, #335356 0%,#080c16 100%); + background: -o-linear-gradient(top, #335356 0%,#080c16 100%); + background: -ms-linear-gradient(top, #335356 0%,#080c16 100%); + background: linear-gradient(to bottom, #335356 0%,#080c16 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#335356', endColorstr='#080c16',GradientType=0 ); +} + +header div.menu div.bx > a { + display: inline-block; + text-align: center; + line-height: 38px; + padding: 0px 28px; + border-right: 1px solid #1A3A36; + text-transform: uppercase; + color: #D2D9D9; + font-stretch: condensed; + font-size: 14px; +} + +header div.menu div.bx > a:hover { + background-color: rgba(255,255,255,0.2); + text-shadow: 0px -1px 0px black; + -o-text-shadow: 0px -1px 0px black; + -moz-text-shadow: 0px -1px 0px black; + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.menu div.bx > a.active { + /* + background: #c60000; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #c60000 0%, #840000 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60000), color-stop(100%,#840000)); + background: -webkit-linear-gradient(top, #c60000 0%,#840000 100%); + background: -o-linear-gradient(top, #c60000 0%,#840000 100%); + background: -ms-linear-gradient(top, #c60000 0%,#840000 100%); + background: linear-gradient(to bottom, #c60000 0%,#840000 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); + */ + + background: #c60000; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY1JSIgc3RvcC1jb2xvcj0iIzg0MDAwMCIgc3RvcC1vcGFjaXR5PSIwLjYiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzg0MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); + background: -moz-linear-gradient(top, rgba(198,0,0,1) 0%, rgba(132,0,0,0.6) 65%, rgba(132,0,0,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(198,0,0,1)), color-stop(65%,rgba(132,0,0,0.6)), color-stop(100%,rgba(132,0,0,1))); + background: -webkit-linear-gradient(top, rgba(198,0,0,1) 0%,rgba(132,0,0,0.6) 65%,rgba(132,0,0,1) 100%); + background: -o-linear-gradient(top, rgba(198,0,0,1) 0%,rgba(132,0,0,0.6) 65%,rgba(132,0,0,1) 100%); + background: -ms-linear-gradient(top, rgba(198,0,0,1) 0%,rgba(132,0,0,0.6) 65%,rgba(132,0,0,1) 100%); + background: linear-gradient(to bottom, rgba(198,0,0,1) 0%,rgba(132,0,0,0.6) 65%,rgba(132,0,0,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); + + text-shadow: 0px -1px 0px black; + -o-text-shadow: 0px -1px 0px black; + -moz-text-shadow: 0px -1px 0px black; +} + +header div.menu div.bx > a:first-child { + border-left: 1px solid #1A3A36; +} + + +/************ USER MINI BOX ***********/ +header > div.sign, +header > div.user { + display: block; + position: absolute; + width: 171px; + height: 184px; + background-image: url('../i/play-head.png'); + background-position: center center; + background-repeat: no-repeat; + top: 0px; + left: 50%; + margin-left: 300px; +} + +header > div.sign > a { + position: relative; + width: 90px; + top: 60px; + left: 55px; + text-align: center; + font-size: 18px; + color: #D2D9D9; + padding-botton: 2px; + border-bottom: 1px dashed #D2D9D9; + font-stretch: condensed; +} + +header div.user { + width: 171px; + height: 184px; +} + +header div.user > a.init-play { + display: block; + position: absolute; + width: 123px; + height: 71px; + background-image: url(/i/b-play.png); + background-position: center; + background-repeat: no-repeat; + bottom: 24px; + left: 24px; + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.user > a.init-play:hover { + background-image: url(/i/b-play-active.png); + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.user div.avatar { + position: relative; + text-align: center; +} + +header div.user div.avatar > a.close { + position: absolute; + display: block; + width: 17px; + height: 17px; + top: 11px; + right: 53px; + background-image: url(/i/user-close.png); + background-position: center; + background-repeat: no-repeat; +} + +header div.user-hidden div.avatar img, +header div.user div.avatar img { + width: 60px; + height: 60px; + margin-top: 6px; +} + +div.avatar img { + overflow: hidden; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; +} + +header div.avatar img { + border: 3px solid rgba(250,110,110,0.0); + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.avatar img:hover { + border: 3px solid rgba(250,110,110,0.8); + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.user > div.data { + width: 120px; + margin-top: 1px; + margin-left: 25px; +} + +header div.user > div.data span { + display: block; + text-align: center; + font-size: 11px; + font-weight: bold; + font-stretch: condensed; +} + +/********************************************/ + + +h1 { + font-size: 18px; + font-weight: normal; +} + +h1.main, +div#block > div.in > h1 { + padding-top: 30px; + padding-right: 40px; + padding-left: 40px; +} + +p { + font-size: 14px; +} + +p.main, +div#block > div.in > p { + padding-top: 10px; + padding-left: 40px; + padding-right: 40px; +} + +a.img { + position: absolute; + z-index: 5; + top: 210px; + left: 15px; + cursor: pointer; +} + +img.lbc { + display: none; +} + +div.bx { + width: 900px; + margin: 0 auto; +} + +img.icon { + position: absolute; + z-index: 10; + top: 360px; +} +div#block:nth-child(1) > div.in:nth-child(1) img.icon { + left: 0px; +} +div#block:nth-child(1) > div.in:nth-child(2) img.icon { + right: 0px; +} +div#block:nth-child(3) > div.in:nth-child(1) img.icon { + right: 0px; +} +div#block:nth-child(3) > div.in:nth-child(2) img.icon { + left: 0px; +} + +div#content div#block { + position: relative; + width: 930px; + min-height: 500px; + clear: both; +} + +div#content div#block > div.in { + position: relative; + width: 440px; + min-height: 500px; + float: left; + background-position: center top; + background-repeat: no-repeat; +} + +div#content div#block:nth-child(1), +div#content div#block:nth-child(3) { + width: 930px; + margin: 0 auto; +} + +div#content div#block:nth-child(3) { + min-height: 560px; +} + +div#content div#block:nth-child(2) { + width: 1120px; + height: 540px; + margin: 15px auto 2px auto; +} + +div#content div#block:nth-child(4) { + width: 1120px; + height: 500px; + margin: 5px auto 2px auto; +} + +div#content div#block:nth-child(4) { + margin-top: -30px !important; +} + +div#content div#block:nth-child(2) img, +div#content div#block:nth-child(4) img.person-3 { + position: absolute; +} + +div#content div#block:nth-child(2) img.back { + top: 60px; + left: 185px; +} + +div#content div#block:nth-child(2) img.person-1 { + top: 0px; + right: 745px; +} + +div#content div#block:nth-child(2) img.person-2 { + top: 0px; + left: 845px; +} + +div#content div#block:nth-child(4) img.person-3 { + top: 0px; + left: 0px; +} + +div#content div#block:nth-child(2) h1, +div#content div#block:nth-child(2) p { + z-index: 20; + position: absolute; + width: 390px; +} + +div#content div#block:nth-child(2) h1 { + top: 80px; + left: 350px; +} + +div#content div#block:nth-child(2) p.txt1 { + top: 145px; + left: 390px; +} + +div#content div#block:nth-child(2) p.txt2 { + top: 250px; + left: 430px; +} + +div#content div#block:nth-child(4) h1 { + position: absolute; + top: 50px; + left: 250px; +} + +div#content div#block:nth-child(4) p { + position: absolute; + top: 115px; + left: 250px; + width: 220px; +} + +div#content div#block:nth-child(1) > div.in:nth-child(1) { + background-image: url('../i/block-back-1-n.png'); +} + +div#content div#block:nth-child(1) > div.in:nth-child(2) { + margin-left: 50px; + background-image: url('../i/block-back-2.png'); +} + +div#content div#block:nth-child(3) > div.in:nth-child(1) { + background-image: url('../i/block-back-4.png'); +} + +div#content div#block:nth-child(3) > div.in:nth-child(2) { + margin-left: 50px; + background-image: url('../i/block-back-5.png'); +} + +div#content div#block:nth-child(4) { + background-image: url('../i/block-back-6.png'); + background-position: 130px 50px; + background-repeat: no-repeat; +} + +div#media { + position: absolute; + width: 470px; + height: 330px; + top: 70px; + right: 116px; + background-image: url(../i/img-5.png); +} + + +div#reg { + width: 930px; + height: 160px; + margin: 0 auto; + position: relative; + margin-bottom: 15px; +} + +div#reg > a.play { + position: absolute; + top: 20px; + left: 100px; + background-image: url('../i/play-footer.png'); + background-repeat: no-repeat; + display: block; + width: 296px; + padding-top: 32px; + padding-bottom: 32px; + min-height: 90px; + font-size: 25px; + text-align: center; + color: #ffffff; + font-weight: bold; +} + +img.txt-kubic, +img.img-kubic { + position: absolute; +} + +img.txt-kubic { + left: 500px; + top: 15px; +} + +img.img-kubic { + left: 690px; + top: 0px; +} + +footer div.fbox { + width: 930px; + height: 100px; + margin: 0 auto; + position: relative; + /*top: 180px;*/ +} + +footer img.cigame, +footer p.copy, +footer a.offer { + position: absolute; + color: #ffffff; +} + +footer .fbox img.cigame { + top: 40px; + left: 20px; +} + +footer p.copy { + top: 55px; + right: 20px; + font-size: 11px; +} + +footer a.offer { + top: 54px; + right: 180px; + color: #ffffff; + border-bottom: 1px dashed #ffffff; +} + +.fbox .pluso { + position: absolute !important; + top: 50px !important; + left: 160px !important; +} + +div.overplay { + position: fixed; + top: 0px; + left: 0px; + bottom: 0px; + width: 100%; + height: 100%; + opacity: 0.8; + filter: alpha(opacity=80); + background-color: #000000; + z-index: 40; +} + +.slogan { + text-shadow: 1px 1px 1px black; + -o-text-shadow: 1px 1px 1px black; + -moz-text-shadow: 1px 1px 1px black; +} +.sdw { + width: 248px; + -webkit-border-radius: 7px; + -moz-border-radius: 7px; + border-radius: 7px; + line-height: 36px; + font-size: 16px !important; + text-shadow: inset 1px 1px 2px black; + -o-text-shadow: inset 1px 1px 2px black; + -moz-text-shadow: inset 1px 1px 2px black; + margin-left: 50px; + font-weight: bold; + text-decoration: none !important; +} + + + + + +/******** NOTICE **********/ +#notice.fly { + position: absolute; + top: 15px; + left: 50%; + width: 800px; + margin-left: -400px; + z-index: 999; + opacity: 0.9; +} + +#notice.fly > .each.false { + background-color: #700000; +} + +#notice.fly > .each.true { + background-color: #166000; +} + +#notice.fly > .each + .each { + margin-top: 1px; +} + +#notice.fly > .each.false > span { + color: #FFDDDD !important; +} + +#notice.fly > .each.true > span { + color: #EAFFC4 !important; +} + +#notice.fly > .each:nth-child(1) { + -webkit-border-radius: 8px 8px 0px 0px; + -moz-border-radius: 8px 8px 0px 0px; + border-radius: 8px 8px 0px 0px; +} + +#notice.fly > .each:last-child { + -webkit-border-radius: 0px 0px 8px 8px; + -moz-border-radius: 0px 0px 8px 8px; + border-radius: 0px 0px 8px 8px; +} + +#notice.fly .each span { + font-size: 15px; + color: #ffffff; + padding: 5px 12px; + display: block; +} + + +/********* INNER **********/ +div.box { + position: relative; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + padding: 20px 20px 20px 224px; + min-height: 320px; + background-image: url(/i/inner-bg.jpg); + margin-bottom: 40px; +} + +div.plain { + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + padding: 30px; + min-height: 320px; + background-image: url(/i/inner-bg.jpg); + margin-bottom: 40px; +} + +div.box h1 { + padding: 0px 0px 12px 0px !important; + color: #121212; + border-bottom: 1px dashed #C4C4C4; + margin-bottom: 22px; + margin-left: 26px; + font-size: 22px; +} + +div.plain h1 { + padding: 0px 0px 8px 0px !important; + color: #121212; + border-bottom: 1px dashed #C4C4C4; + font-size: 22px; + margin-bottom: 18px; +} + +div.plain h3 { + font-size: 15px; + color: #121212; + margin-top: 14px; + margin-bottom: 6px; +} + +div.plain p { + color: #121212; + padding-left: 0px !important; + padding-right: 0px !important; + padding-top: 0px !important; + padding-bottom: 6px; +} + +div.inner-bg { + background-image: url(/i/inner-bg.jpg); +} + +ul.inner-menu { + position: relative; + width: 170px; + display: block; + list-style: none; + float: left; + margin-top: 80px; + margin-left: 20px; + border: 1px solid #fff; + background-color: rgba(255,255,255,0.2); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + box-shadow: 0px 0px 5px rgba(0,0,0,0.2); + -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.2); + -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.2); + padding: 12px; + z-index: 5; +} + +ul.inner-menu li { + list-style: none; + width: 170px; + border-bottom: 1px solid #D3D3D3; +} + +ul.inner-menu li:nth-child(1) { + border-top: 1px solid #D3D3D3; +} + +ul.inner-menu li a { + font-size: 14px; + line-height: 32px; + display: block; + padding: 4px 8px; + cursor: pointer; + color: #121212 !important; +} + +ul.inner-menu li a.active { + color: #999999 !important; + font-weight: bold !important; + background-color: rgba(255,255,255,0.4) !important; + background-image: url(/i/arrow-right.png); + background-position: 158px 16px; + background-repeat: no-repeat; +} + +ul.inner-menu li a.down { + font-weight: bold !important; +} + +ul.inner-menu li a:hover { + background-color: rgba(255,255,255,0.3); + color: #999999 !important; + -webkit-transition: color 1s; + -moz-transition: color 1s; + -o-transition: color 1s; + transition: color 1s; + -webkit-transition: background-color 1s; + -moz-transition: background-color 1s; + -o-transition: background-color 1s; + transition: background-color 1s; +} + + + +/*************************************/ +div#fly-fail, +div#fly-result { + position: absolute; + top: 50%; + left: 50%; + margin-left: -60px; + margin-top: -75px; + z-index: 99; + width: 320px; + height: 140px; + background-color: rgba(210, 210, 210, 0.9); + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + border: 1px solid #ffffff; + padding: 10px; + box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); +} + +div#fly-fail > div.img, +div#fly-result > div.img { + width: 140px; + height: 140px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + background-image: url(/i/shop/pay.png); + background-size: cover; + float: left; + position: relative; + z-index: 100; +} + +div#fly-fail > span.desc, +div#fly-result > span.desc { + display: block; + padding-left: 160px; + padding-right: 20px; + padding-top: 30px; + color: #121212; + font-size: 15px; + text-align: center; +} + +div#fly-fail > span.close, +div#fly-result > span.close { + background-image: url("/i/minus.png"); + background-size: cover; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + cursor: pointer; + display: block; + height: 16px; + position: absolute; + right: 8px; + top: 8px; + width: 16px; +} + +/*************************************/ +div.center { + text-align: center; +} + +div#wrap.maintenance { + background-attachment: fixed; + background-color: #000000; + background-image: url(/i/maintenance.jpg); + background-position: center center; + background-size: cover; +} + +div#wrap.maintenance h1, +div#wrap.maintenance form, +div#wrap.maintenance img { + position: absolute; +} + +div#wrap.maintenance img.logo { + left: 50%; + margin-left: -300px; + margin-top: -140px; + top: 40%; + width: 600px; +} + +div#wrap.maintenance h1 { + color: #fff; + font-size: 26px; + left: 50%; + margin-left: -357px; + margin-top: 50px; + padding: 0 !important; + text-align: center; + top: 50%; + width: 700px; + text-shadow: 0px 0px 8px rgba(0,0,0,1); + -moz-text-shadow: 0px 0px 8px rgba(0,0,0,1); + -webkit-text-shadow: 0px 0px 8px rgba(0,0,0,1); +} + +div#wrap.maintenance form { + bottom: 20px; + right: 20px; +} + +div#wrap.maintenance form div.field { + -webkit-border-radius: 7px !important; + -moz-border-radius: 7px !important; + border-radius: 7px !important; + border-color: #CCCA64 !important; +} + +div#wrap.maintenance form div.field input { + -webkit-border-radius: 7px !important; + -moz-border-radius: 7px !important; + border-radius: 7px !important; +} + + + +/************ maintenance **************/ +a.go-maintenance { + display: block; + position: absolute; + text-align: center; + top: 0px; + right: 30px; + width: 171px; + height: 184px; + background-image: url('../i/play-head.png'); + background-position: center center; + background-repeat: no-repeat; +} +a.go-maintenance > span { + position: relative; + color: #ececec; + font-size: 17px; + border-bottom: 1px dashed #ececec; + top: 60px; +} + + +/************ REWRITE ************/ +.ui-tooltip { + border: 1px solid #9b8f81 !important; +} +.ui-tooltip > div.ui-tooltip-content { + font-size: 13px; + color: #9b8f81; +} + + +/************ LIGHT VIDEO ***********/ + + + +/************* BUTTONS *************/ +a.bb { + font-size: 16px; + line-height: 36px; + padding-left: 17px; + padding-right: 17px; + color: #f1e5d5; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + background-image: url(/img/button/button_big_n_001.jpg), + url(/img/button/button_big_n_003.jpg), + url(/img/button/button_big_n_002.jpg); + background-position: top left, + top right, + top center; + background-repeat: no-repeat, + no-repeat, + repeat-x; +} + +a.bb:hover { + background-image: url(/img/button/button_big_s_001.jpg), + url(/img/button/button_big_s_003.jpg), + url(/img/button/button_big_s_002.jpg); + background-position: top left, + top right, + top center; + background-repeat: no-repeat, + no-repeat, + repeat-x; +} + +a.bl { + display: inline-block; + font-size: 12px; + line-height: 25px; + padding-left: 14px; + padding-right: 14px; + color: #f1e5d5; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + background-image: url(/img/button/button_s_n_001.jpg), + url(/img/button/button_s_n_003.jpg), + url(/img/button/button_s_n_002.jpg); + background-position: top left, + top right, + top center; + background-repeat: no-repeat, + no-repeat, + repeat-x; +} + +a.bl:hover { + background-image: url(/img/button/button_s_s_001.jpg), + url(/img/button/button_s_s_003.jpg), + url(/img/button/button_s_s_002.jpg); + background-position: top left, + top right, + top center; + background-repeat: no-repeat, + no-repeat, + repeat-x; +} + + + + + + + + + + + + + + diff --git a/rating/index_files/palgame-logo.gif b/rating/index_files/palgame-logo.gif new file mode 100644 index 0000000..fdce352 Binary files /dev/null and b/rating/index_files/palgame-logo.gif differ diff --git a/rating/index_files/palgame-logo.png b/rating/index_files/palgame-logo.png new file mode 100644 index 0000000..7fd0847 Binary files /dev/null and b/rating/index_files/palgame-logo.png differ diff --git a/rating/index_files/pic.css b/rating/index_files/pic.css new file mode 100644 index 0000000..5e9f97a --- /dev/null +++ b/rating/index_files/pic.css @@ -0,0 +1,181 @@ +body.registration, +body.auth { + background: #1e5799; + background: -moz-radial-gradient(center, ellipse cover, #1e5799 0%, #003060 100%); + background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#1e5799), color-stop(100%,#003060)); + background: -webkit-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%); + background: -o-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%); + background: -ms-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%); + background: radial-gradient(ellipse at center, #1e5799 0%,#003060 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#003060',GradientType=1 ); +} + +button, +.green { + background: rgb(180,207,97); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0Y2Y2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMlIiBzdG9wLWNvbG9yPSIjYjRjZjYxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMyUiIHN0b3AtY29sb3I9IiM5NWJiMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNmU5MDEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); + background: -moz-linear-gradient(top, rgba(180,207,97,1) 0%, rgba(180,207,97,1) 3%, rgba(149,187,28,1) 3%, rgba(110,144,16,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(180,207,97,1)), color-stop(3%,rgba(180,207,97,1)), color-stop(3%,rgba(149,187,28,1)), color-stop(100%,rgba(110,144,16,1))); + background: -webkit-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: -o-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: -ms-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: linear-gradient(to bottom, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4cf61', endColorstr='#6e9010',GradientType=0 ); + border: 1px solid #5b7a13; +} + +.red { + background: #c60000; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #c60000 0%, #840000 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60000), color-stop(100%,#840000)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #c60000 0%,#840000 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #c60000 0%,#840000 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #c60000 0%,#840000 100%); /* IE10+ */ + background: linear-gradient(to bottom, #c60000 0%,#840000 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); /* IE6-8 */ + border: 1px solid #600000; +} + +.gray { + background: rgb(191,191,191); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JmYmZiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3YzdjN2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(191,191,191,1) 0%, rgba(124,124,124,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(191,191,191,1)), color-stop(100%,rgba(124,124,124,1))); + background: -webkit-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: -o-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: -ms-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: linear-gradient(to bottom, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#7c7c7c',GradientType=0 ); + border: 1px solid #6f6f6f; + + /* + text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2); + -moz-text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2); + -webkit-text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2); + box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5); + -moz-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5); + -webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5); + */ +} + +.shop-pay-block, +.bg-gray { + background: rgb(191,191,191); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JmYmZiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3YzdjN2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(191,191,191,1) 0%, rgba(124,124,124,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(191,191,191,1)), color-stop(100%,rgba(124,124,124,1))); + background: -webkit-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: -o-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: -ms-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: linear-gradient(to bottom, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#7c7c7c',GradientType=0 ); + border: 1px solid #6f6f6f; +} + +.black { + background: rgb(21,22,24); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE1MTYxOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1MTUzNTIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(21,22,24,1) 0%, rgba(81,83,82,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(21,22,24,1)), color-stop(100%,rgba(81,83,82,1))); + background: -webkit-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%); + background: -o-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%); + background: -ms-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%); + background: linear-gradient(to bottom, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#151618', endColorstr='#515352',GradientType=0 ); +} + + +.light-gray { + background: rgb(250,250,250); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZhZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(250,250,250,1) 0%, rgba(245,245,245,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(250,250,250,1)), color-stop(100%,rgba(245,245,245,1))); + background: -webkit-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%); + background: -o-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%); + background: -ms-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%); + background: linear-gradient(to bottom, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#f5f5f5',GradientType=0 ); +} + + +.min-gray { + background: rgb(211,211,211); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2QzZDNkMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjM2MzYzMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(211,211,211,1) 0%, rgba(195,195,195,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(211,211,211,1)), color-stop(100%,rgba(195,195,195,1))); + background: -webkit-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%); + background: -o-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%); + background: -ms-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%); + background: linear-gradient(to bottom, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3d3d3', endColorstr='#c3c3c3',GradientType=0 ); +} + +.light-green { + background: rgb(185,208,100); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I5ZDA2NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3Njk2MTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(185,208,100,1) 0%, rgba(118,150,25,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(185,208,100,1)), color-stop(100%,rgba(118,150,25,1))); + background: -webkit-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%); + background: -o-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%); + background: -ms-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%); + background: linear-gradient(to bottom, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9d064', endColorstr='#769619',GradientType=0 ); +} + +.in-black { + background-color: #3d3d3d; + box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5); + -moz-box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5); + -webkit-box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5); +} + +.bg-blue { + background: #6788bf; /* Old browsers */ + /* IE9 SVG, needs conditional override of 'filter' to 'none' */ + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY3ODhiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxNzI0NzciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #6788bf 0%, #172477 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6788bf), color-stop(100%,#172477)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #6788bf 0%,#172477 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #6788bf 0%,#172477 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #6788bf 0%,#172477 100%); /* IE10+ */ + background: linear-gradient(to bottom, #6788bf 0%,#172477 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6788bf', endColorstr='#172477',GradientType=0 ); /* IE6-8 */ +} + +.bg-blue-rev { + background: #172477; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE3MjQ3NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2Nzg4YmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #172477 0%, #6788bf 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#172477), color-stop(100%,#6788bf)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #172477 0%,#6788bf 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #172477 0%,#6788bf 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #172477 0%,#6788bf 100%); /* IE10+ */ + background: linear-gradient(to bottom, #172477 0%,#6788bf 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#172477', endColorstr='#6788bf',GradientType=0 ); /* IE6-8 */ +} + +.bg-desc { + background: #0b4b6b; /* Old browsers */ + /* IE9 SVG, needs conditional override of 'filter' to 'none' */ + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBiNGI2YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1Njg0YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #0b4b6b 0%, #5684a0 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0b4b6b), color-stop(100%,#5684a0)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* IE10+ */ + background: linear-gradient(to bottom, #0b4b6b 0%,#5684a0 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b4b6b', endColorstr='#5684a0',GradientType=0 ); /* IE6-8 */ +} + +.bg-desc-rev { + background: #5684a0; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzU2ODRhMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwYjRiNmIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #5684a0 0%, #0b4b6b 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5684a0), color-stop(100%,#0b4b6b)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* IE10+ */ + background: linear-gradient(to bottom, #5684a0 0%,#0b4b6b 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5684a0', endColorstr='#0b4b6b',GradientType=0 ); /* IE6-8 */ +} \ No newline at end of file diff --git a/rating/index_files/pluso-like.js b/rating/index_files/pluso-like.js new file mode 100644 index 0000000..a4828e8 --- /dev/null +++ b/rating/index_files/pluso-like.js @@ -0,0 +1,2 @@ +(function(w,d){var prot=/^((https|chrome-extension):)/i.test(w.location.protocol)?"https":"http",u=prot+"://share.pluso.ru",uid="3399122215491600259",tags="getElementsByTagName",h=d[tags]("body")[0],b=d.documentElement,db=d.body,compat=0;function js(url,id,callback){if(typeof id=="function"){callback=id;id=null}if(id&&d.getElementById(id))return;if(url.charAt(0)=="+")url=u+"/"+url.substring(1);s=d.createElement("script");s.type="text/javascript";s.charset="UTF-8";s.async=true;if(typeof id=="string")s.id=id;s.src=url;if(typeof callback=="function"){var called=false;s.onreadystatechange=function(){if(this.readyState=="complete"&&!called){called=true;callback()}};s.onload=function(){if(!called){called=true;callback()}}}h.appendChild(s)}function styled(rules){var s=d.createElement("style");s.setAttribute("type","text/css");h.appendChild(s);if(s.styleSheet){s.styleSheet.cssText=rules}else{s.appendChild(d.createTextNode(rules))}}function pointed(event){return{pageX:typeof event.pageX!="undefined"?event.pageX:event.clientX+d.body.scrollLeft+b.scrollLeft,pageY:typeof event.pageY!="undefined"?event.pageY:event.clientY+d.body.scrollTop+b.scrollTop}}function dimensions(){return{width:w.innerWidth||b.clientWidth||db&&db.clientWidth,height:Math.max(db&&db.scrollHeight,db&&db.offsetHeight,b.clientHeight,b.scrollHeight,b.offsetHeight)}}function numk(num,mini){var d=typeof mini!="undefined"?0:1;if(num>=1e9){return(num/1e9).toFixed(d).replace(/\.0$/,"")+"G"}if(num>=1e6){return(num/1e6).toFixed(d).replace(/\.0$/,"")+"M"}if(num>=1e3){return(num/1e3).toFixed(d).replace(/\.0$/,"")+"K"}return num}function osize(opt){return opt.small==1?"small":opt.medium==1?"medium":"big"}function getImg(url){var img;try {img = new Image();} catch (ignore) {img = document.createElement("img");}img.src = url;}function rnd(min,max){if(!max){max=min;min=0}return Math.floor(Math.random()*(max-min+1))+min}if(!Array.indexOf){Array.prototype.indexOf=function(obj){for(var i=0,l=this.length;i-1)list.push(e[i])}return list};var encode=encodeURIComponent;var cloned=function(obj){if(typeof obj.length!="undefined")return obj.slice(0);var clone={};for(var i in obj){if(typeof obj[i]=="object")clone[i]=cloned(obj[i]);else clone[i]=obj[i]}return clone};var arrayed=function(obj){return Object.prototype.toString.call(obj)==="[object Array]"};var lang=function(elem,service,title){var language=elem.pluso.params.lang;if(title){return pluso.lang[language]&&pluso.lang[language].titles&&pluso.lang[language].titles[service]||title}else return pluso.lang[language]&&pluso.lang[language][service]||pluso.lang["ru"]&&pluso.lang["ru"][service]||service};var ready=function(w,d){var inited=false,loaded=false,queue=[],done,old;function go(){if(!inited){if(!d.body)return setTimeout(go,13);inited=true;if(queue){var j,k=0;while(j=queue[k++])j.call(null);queue=null}}}function check(){if(loaded)return;loaded=true;if(d.readyState==="complete")return go();if(d.addEventListener){d.addEventListener("DOMContentLoaded",done,false);w.addEventListener("load",go,false)}else{if(d.attachEvent){d.attachEvent("onreadystatechange",done);w.attachEvent("onload",go);var k=false;try{k=w.frameElement==null}catch(j){}if(b.doScroll&&k)ie()}else{old=w.onload;w.onload=function(e){old(e);go()}}}}if(d.addEventListener){done=function(){d.removeEventListener("DOMContentLoaded",done,false);go()}}else{if(d.attachEvent){done=function(){if(d.readyState==="complete"){d.detachEvent("onreadystatechange",done);go()}}}}function ie(){if(inited)return;try{b.doScroll("left")}catch(j){setTimeout(ie,1);return}go()}return function(callback){check();if(inited){callback.call(null)}else{queue.push(callback)}}}(w,d);if(w.pluso&&typeof w.pluso.start=="function")return;if(!w.pluso)w.pluso={};pluso.cnt=0;pluso.uid=uid;if(!w.pluso.lang)w.pluso.lang={};pluso.lang["ru"]={close:"Закрыть",get:"РљРЅРѕРїРєРё увеличивают трафик",share:"Поделитесь СЃ РґСЂСѓР·СЊСЏРјРё!",bookmark:"Скопируйте Рё добавьте эту ссылку РІ Закладки",buy:"Купить"};pluso.lang["ua"]={close:"Закрити",get:"Отримаєте СЃРІРѕС— РєРЅРѕРїРєРё",share:"Поділитеся Р· РґСЂСѓР·СЏРјРё!",bookmark:"Скопіюйте та додайте цю посилання РІ Закладки",buy:"Купити"};pluso.lang["by"]={close:"Зачыніць",get:"Атрымаеце свае РєРЅРѕРїРєС–",share:"Падзяліцеся Р· сябрамі!",bookmark:"Скапіюйце С– дадайце гэтую спасылку Сћ Закладкі",buy:"Купіць"};pluso.lang["en"]={close:"Close",get:"Get Your Buttons",share:"Share With Friends!",bookmark:"Copy the link and paste to your Bookmarks",buy:"Buy",titles:{vkontakte:"VKontakte",odnoklassniki:"Odnoklassniki",moimir:"MoiMir@Mail.Ru",bobrdobr:"BobrDobr",vkrugu:"VKruguDruzei",yandex:"ya.ru",yazakladki:"Yandex.Bookmarks",moikrug:"MoiKrug",googlebookmark:"Google Bookmarks",yahoo:"Yahoo Bookmarks",moemesto:"MoeMesto",bookmark:"Add to Favorite",email:"Send by E-mail",print:"Print"}};pluso.css=[[["",".pluso"],"position:relative;z-index:1;display:inline-block;padding:0;-webkit-border-radius:22px;-moz-border-radius:22px;border-radius:22px;background:transparent;text-align:left;font-size:0;line-height:0;*display:inline;*zoom:1;"],[["",".pluso span"],"float:none;"],[["0","a:active"]," opacity:.6; "],[[32,".pluso-wrap a"],"display:inline-block;vertical-align:inherit;margin:5px 0 0 5px;padding:0;width:40px;height:40px;background:url({i}/img/pluso-like/round/big/04.png) 0 0 transparent no-repeat;"],[[64,".pluso-wrap a"],"display:inline-block;vertical-align:inherit;margin:3px 0 0 3px;padding:0;width:20px;height:20px;background:url({i}/img/pluso-like/round/small/04.png) 0 0 transparent no-repeat;"],[[16,".pluso-wrap a"],"display:inline-block;vertical-align:inherit;margin:3px 0 0 3px;padding:0;width:30px;height:30px;background:url({i}/img/pluso-like/round/medium/04.png) 0 0 transparent no-repeat;"],[["",".pluso-wrap"],"margin:0px !important;"],[["0",".pluso-wrap"],"position:relative;z-index:1;display:inline-block;padding:0 5px 5px 0;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;background:{bb};text-align:left;font-size:0;line-height:0;*display:inline;*zoom:1;"],[[64,".pluso-wrap"],"padding:0 3px 3px 0px;"],[[66,".pluso-wrap"],"-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;"],[[16,".pluso-wrap"],"padding:0 3px 3px 0px;"],[[18,".pluso-wrap"],"-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;"],[[34,".pluso-wrap"],"-webkit-border-radius:22px;-moz-border-radius:22px;border-radius:22px;"],[[544,""],"width:50px;"],[[800,""],"width:95px;"],[[576,""],"width:26px;"],[[528,""],"width:36px;"],[[832,""],"width:49px;"],[[784,""],"width:69px;"],[[32,"a.pluso-more"],"width:40px;height:40px;background:url({i}/img/plus.png) 0 -60px no-repeat!important;position:relative;"],[[64,"a.pluso-more"],"width:20px;height:20px;background:url({i}/img/plus.png) 0 0 no-repeat!important;position:relative;"],[[16,"a.pluso-more"],"width:30px;height:30px;background:url({i}/img/plus.png) 0 -25px no-repeat!important;position:relative;"],[[1280,".pluso-wrap a"],"float:left;text-align:middle;"],[[2048,".pluso-wrap > div"],"cursor:default;display:inline-block;text-decoration:none !important;color:white;"],[[2048,".pluso-wrap a"],"margin:0px;"],[[2048,".pluso-wrap div b"],"float:right;font-weight:normal;color:white;"],[[2080,".pluso-wrap > div"],"border-radius:6px;margin-right:4px;"],[[2080,".pluso-wrap a"],"width:40px;"],[[2080,".pluso-wrap div b"],"padding-left:5px;padding-right:10px;font-size:16px;line-height:40px;"],[[2064,".pluso-wrap >div"],"border-radius:4px;margin-right:3px;height:30px;"],[[2064,".pluso-wrap a"],"margin:2px;"],[[2064,".pluso-wrap div b"],"padding-right:3px;font-size:12px;line-height:30px;"],[[2112,".pluso-wrap >div"],"border-radius:3px;margin-right:3px;height:20px;"],[[2112,".pluso-wrap a"],"margin:1px;"],[[2112,".pluso-wrap div b"],"padding-right:3px;font-size:11px;line-height:20px;"],[[576,"a.pluso-more"],"margin-bottom:-12px;*left:5px;"],[[832,"a.pluso-more"],"margin-left:13px;*left:13px;"],[[832,".pluso-wrap a:nth-child(even).pluso-more"],"margin-left:3px;margin-bottom:0px"],[[1216,"a.pluso-more"],"margin-right:-12px;*left:5px;"],[[1344,"a.pluso-more"],"margin-right:-12px;top:-12px;*left:auto;"],[[528,"a.pluso-more"],"margin-bottom:-12px;*left:5px;"],[[784,"a.pluso-more"],"margin-left:18px;*left:18px;"],[[784,".pluso-wrap a:nth-child(even).pluso-more"],"margin-left:3px;margin-bottom:0px;"],[[1280,".pluso-wrap a:nth-child(even).pluso-more"],"top: 0px;"],[[1168,"a.pluso-more"],"margin-right:-12px;*left:5px;"],[[1296,"a.pluso-more"],"margin-right:-18px;top:-17px;*left:auto;"],[[1296,".pluso-wrap a:nth-child(even).pluso-more"],"top:inherit;"],[[544,"a.pluso-more"],"margin-bottom:-22px;*left:5px;"],[[800,"a.pluso-more"],"margin-left:27px;*left:27px;"],[[800,".pluso-wrap a:nth-child(even).pluso-more"],"margin-left:5px;margin-bottom:0px;"],[[1056,"a.pluso-more"],"margin-right:-22px;*left:5px;"],[[1312,"a.pluso-more"],"top:-22px;*left:auto;"],[[1312,".pluso-wrap a:nth-child(even).pluso-more"],"top:inherit;"],[[64,".pluso-counter b"],"position:relative;padding:2px 4px;-webkit-border-radius: 22px;-moz-border-radius: 22px;border-radius: 22px;background:{bc};box-shadow:0 0 3px rgba(0,0,0,.3);color:{bt};white-space: nowrap;font:11px/12px Tahoma, Geneva, sans-serif!important;"],[[1088,".pluso-counter"],"position:relative;padding-right:18px;"],[[1088,".pluso-counter b"],"top:-6px;left:18px;"],[[1344,".pluso-counter b"],"top:-16px;left:18px;"],[[1088,".pluso-counter b:after"],"position: absolute;top: 5px;left: -6px;z-index: 0;display: block;width: 0;border-width: 4px 8px 4px 0;border-style: solid;border-color: transparent {bc};content: '';"],[[576,".pluso-counter"],"position:relative;display:block;margin-top:20px;width:100%;text-align:center;"],[[576,".pluso-counter:after"],"position: absolute;top: -5px;left: 50%;margin-left:-4px;z-index: 10;display: block;width: 0;border-width: 0 4px 8px;border-style: solid;border-color: {bc} transparent;content: '';"],[[16,".pluso-counter b"],"position:relative;padding:6px 8px;-webkit-border-radius: 30px;-moz-border-radius: 22px;border-radius: 30px;background:{bc};box-shadow:0 0 3px rgba(0,0,0,.3);color:{bt};white-space: nowrap;font:12px/14px Tahoma, Geneva, sans-serif!important;"],[[1040,".pluso-counter"],"position:relative;padding-right:18px;"],[[1040,".pluso-counter b"],"top:-10px;left:18px;"],[[1296,".pluso-counter b"],"top:-27px;left:23px;"],[[1040,".pluso-counter b:after"],"position: absolute;top: 9px;left: -6px;z-index: 0;display: block;width: 0;border-width: 4px 8px 4px 0;border-style: solid;border-color: transparent {bc};content: '';"],[[528,".pluso-counter"],"position:relative;display:block;margin-top:20px;width:100%;text-align:center;"],[[528,".pluso-counter:after"],"position: absolute;top: -10px;left: 50%;margin-left:-4px;z-index: 10;display: block;width: 0;border-width: 0 4px 8px;border-style: solid;border-color: {bc} transparent;content: '';"],[[32,".pluso-counter b"],"position:relative;padding:8px 12px;-webkit-border-radius: 22px;-moz-border-radius: 22px;border-radius: 122px;background:{bc};box-shadow:0 0 3px rgba(0,0,0,.3);color:{bt};white-space:nowrap;font:16px/40px Tahoma, Geneva, sans-serif!important;"],[[1056,".pluso-counter"],"position:relative;padding-right:28px;"],[[1056,".pluso-counter b"],"top:-14px;left:28px;"],[[1312,".pluso-counter b"],"top:-35px;left:28px;"],[[1056,".pluso-counter b:after"],"position: absolute;top: 13px;left: -8px;z-index: 0;display: block;width: 0;border-width: 5px 9px 5px 0;border-style: solid;border-color: transparent {bc};content: '';"],[[544,".pluso-counter"],"position:relative;display:block;margin-top:30px;width:100%;text-align:center;"],[[544,".pluso-counter:after"],"position: absolute;top: -8px;left: 50%;margin-left:-4px;z-index: 10;display: block;width: 0;border-width: 0 5px 11px;border-style: solid;border-color: {bc} transparent;content: '';"],[[128,"br"]," display:none; "],[[4,".pluso-counter"]," display:none; "],[["",".pluso-box"],"position:absolute;border:4px solid #eaebea;width:310px;height:225px;overflow:hidden;z-index: 777;background:#f2f2f2;font:normal normal 12px/25px Tahoma, Geneva, sans-serif;box-shadow:0 4px 10px rgba(0, 0, 0, 0.4);text-align:left;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;"],[["",".pluso-box a b"],"width:20px;height:20px;position:absolute;left:0;top:2px;"],[["",".pluso-box a:visited,.pluso-box a:hover,.pluso-box a"],"font:normal normal 12px/25px Tahoma, Geneva, sans-serif;color:#7f7f7f;text-decoration:none;white-space:nowrap;padding:0 0 0 25px;margin:0 0 0 5px;border:0;position:relative;width:115px;float:left;"],[["",".pluso-box .pluso-list"],"background:#ffffff;border-radius:14px;width:100%;height:200px;overflow:auto;position:absolute;left:0;top:25px;"],[["",".pluso-box a.pluso-logo"],"background:url({i}/img/pluso-like/logo-mini.png) 0 5px no-repeat;width:66px;height:19px;border:0;text-indent:-600em;padding:0 0 0 12px;margin:0 0 0 9px;"],[["",".pluso-box a.pluso-go"],"color:#4c4c4c;text-decoration:underline;padding-left:0;"],[["",".pluso-box a.pluso-close,.pluso-box a.pluso-close:hover,.pluso-box a.pluso-close:visited"],"float:right;width:20px;text-align:center;font-size:12px;line-height:20px;width:20px;margin:1px 1px 0 0;padding:0;font-weight:bold;color:#4c4c4c;text-decoration:none;background:#ffffff;border-radius:15px;border:1px solid #eaebea;"],[["",".pluso-box a.pluso-close:hover"],"background:#7f7f7f;color:#ffffff;border-color:transparent"],[["",".pluso-tip"],"cursor:pointer;position:absolute;padding:10px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;white-space:nowrap;font:bold 14px/12px Tahoma, Geneva, sans-serif!important;color:#fff;background:#f78d1d;background:-webkit-gradient(linear, left top, left bottom, from(#7ed263), to(#3d9530));background:-webkit-linear-gradient(top,#7ed263,#3d9530);background:-moz-linear-gradient(top,#7ed263,#3d9530);background:-ms-linear-gradient(top,#7ed263,#3d9530);background:-o-linear-gradient(top,#7ed263,#3d9530);background:linear-gradient(top,#7ed263,#3d9530);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#7ed263, endColorstr=#3d9530);box-shadow:0 0 5px rgba(0,0,0,.5), inset 0 0 0px 1px rgba(0,0,0,.3)"],[["",".pluso-tip:after"],"position:absolute;z-index:0;display:block;width:0;height:0;border-style: solid;content:''"],[["",".pluso-tip.pluso-left-arrow:after"],"top:40%;right:-6px;border-color:transparent #447b36;border-width:6px 0px 6px 6px"],[["",".pluso-tip.pluso-top-arrow:after"],"bottom:-6px;border-color:#27601f transparent;border-width:6px 6px 0px 6px"],[["",".pluso-tip.pluso-bottom-arrow:after"],"top:-6px;border-color:#447b36 transparent;border-width:0px 6px 6px 6px"],[["","@keyframes pluso-market-animate"],"0% { opacity:1 } 50%{ opacity:.3} 100% { opacity:1}"],[["","@-webkit-keyframes pluso-market-animate"],"0% { opacity:1 } 50%{ opacity:.3} 100% { opacity:1}"],[["",".pluso-overlay-background"],'height:100%;width:100%;position:fixed;left:0;top:0;z-index:999999999;background-color: rgb(0, 0, 0);background-color: rgba(0, 0, 0, 0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";padding:0;margin:0;'],[["",".pluso-overlay-box"],"width:910px;margin: 50px auto 0;overflow:hidden;height:85%;background-color: #f5f5f5;border:1px solid #c4c4c4;padding:0!important;text-align:left;box-shadow:0 4px 12px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.5) inset;border-radius:10px;"],[["","a.pluso-overlay-close,a.pluso-overlay-close:hover,a.pluso-overlay-close:visited"],"position:absolute;left:50%;margin:0 0 0 442px;top:38px;width:26px;height:26px;text-align:center;font:normal 20px/22px Arial;padding:0;color:#878787;text-decoration:none;background:#ffffff;border-radius:26px;border:2px solid #c4c4c4;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;"],[["","a.pluso-overlay-close:hover"],"background:#7f7f7f;color:#ffffff;border-color:transparent"],[["",".pluso-overlay-box div"],"margin:20px 0 0 0;padding:0 0 12px 0;border-bottom:1px solid #c4c4c4;"],[["",".pluso-overlay-box ul"],"list-style:none;margin:10px 0 10px 0px;padding:0;height:85%;overflow:auto;"],[["",".pluso-overlay-box li"],"width:210px;height:260px;background:#ffffff;border-radius:10px;border:none;float:left;padding:0;margin:0 0px 10px 10px;"],[["",".pluso-overlay-box li a"],"display:block;text-decoration:none;margin:0;padding:0;height:100%;overflow:hidden;position:relative;"],[["",".pluso-overlay-box li a span, .pluso-overlay-box li a:hover span"],"position: relative;width: 190px;height:150px;border:1px solid #c4c4c4;overflow:hidden;margin:10px auto 5px auto;padding:0;text-align:center;display:block;"],[["",".pluso-overlay-box li a:hover span"],"box-shadow:0 0 5px #c4c4c4;-webkit-box-shadow:0 0 5px #c4c4c4;border:1px solid #c4c4c4"],[["",".pluso-overlay-box li a em"],"font:normal bold 15px/20px Arial;float:left;color:#e86340;padding:0px 0 0 10px;margin:0;"],[["",".pluso-overlay-box li a em u"],"font:normal normal 12px/12px Arial;text-decoration:none;display:block;color:#eb6338;padding:0;margin:0;"],[["",".pluso-overlay-box li a strong"],"font:normal 11px/14px Arial;display:block;padding:0 10px;color:#454545;position:relative;bottom:auto;height:42px;width:180px;overflow:hidden;margin:0 0 5px 0;border:0;"],[["",".pluso-overlay-box li a:hover strong"],"height:42px;overflow:auto;padding:0 10px;border:0;"],[["",".pluso-overlay-box li a b, .pluso-overlay-box li a b:hover, .pluso-overlay-box li a b:active"],"font:bold normal 15px/18px Arial, sans-serif;color: #ffffff;padding-top: 7px;padding-right: 12px;padding-bottom: 7px;padding-left: 12px;text-decoration: none;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;-webkit-box-shadow: inset 0px -1px 2px rgba(255,255,255,.5);-moz-box-shadow: inset 0px -1px 2px rgba(255,255,255,.5);box-shadow: inset 0px -1px 2px rgba(255,255,255,.5);text-shadow: 0px 1px 2px #3d8a33;border:solid #4bb543 1px;background:-webkit-gradient(linear, 0 0, 0 100%, from(#95e488), to(#20a517));background: -moz-linear-gradient(top, #95e488, #20a517);background: -o-linear-gradient(top, #95e488, #20a517);-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#95e488, endColorStr=#20a517);filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#95e488, endColorStr=#20a517);display:inline-block;float:right;bottom:auto;right:10px;position:relative;"],[["",".pluso-overlay-box li a b:hover"],"background:-webkit-gradient(linear, 0 0, 0 100%, from(#b1f4a3), to(#27c21c));background: -moz-linear-gradient(top, #b1f4a3, #27c21c);background:-o-linear-gradient(top, #b1f4a3, #27c21c);-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#b1f4a3, endColorStr=#27c21c);filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#b1f4a3, endColorStr=#27c21c);"],[["",".pluso-overlay-box li a b:active"],"background:-webkit-gradient(linear, 0 0, 0 100%, from(#20a517), to(#95e488));background: -moz-linear-gradient(top, #20a517, #95e488);background:-o-linear-gradient(top, #20a517, #95e488);-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#20a517, endColorStr=#95e488);filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#20a517, endColorStr=#95e488);"]];pluso.tree=[["sepcounter","horizontal","vertical","multiline","line","small","big","medium","counter","nocounter","round","square"],{horizontal:"vertical",multiline:"line",small:["big","medium"],counter:"nocounter",round:"square",vertical:"horizontal",line:"multiline",big:["small","medium"],nocounter:"counter",square:"round",medium:["small","big"]},[["round","square"],["small","big","medium"]]];pluso.titles=[["vkontakte","ВКонтакте",5,3,"#41658b"],["odnoklassniki","Одноклассники",4,4,"#f4960f"],["facebook","Facebook",1,1,"#39579a"],["twitter","Twitter",2,2,"#00abf0"],["google","Google+",7,5,"#be3308"],["moimir","РњРѕР№ РњРёСЂ@Mail.Ru",8,7,"#2f69a1"],["pinterest","Pinterest",6,17,"#ce1d1f"],["livejournal","LiveJournal",9,6,"#6899c4"],["tumblr","Tumblr",3,22,"#2e4e67"],["liveinternet","LiveInternet",10,8,"#27819b"],["springpad","Springpad",11,19,"#f7b42f"],["stumbleupon","StumbleUpon",12,20,"#ed4713"],["myspace","mySpace",13,15,"#1d1d1d"],["formspring","Formspring.me",14,13,"#4693d7"],["blogger","Blogger",15,9,"#f58220"],["digg","Digg",16,11,"#165495"],["surfingbird","Surfingbird",17,21,"#14aef8"],["bobrdobr","БобрДобр",18,24,"#763c34"],["readability","Readability",19,18,"#9d0000"],["instapaper","Instapaper",20,14,"#6b6b6b"],["evernote","Evernote",21,12,"#75bb1e"],["delicious","Delicious",26,10,"#003bd8"],["vkrugu","Р’ РљСЂСѓРіСѓ Друзей",25,25,"#e95e12"],["pinme","Pinme",27,16,"#f47a24"],["yandex","РЇ.СЂСѓ",28,23,"#e70505"],["yazakladki","Яндекс.Закладки",29,29,"#ff0000"],["moikrug","РњРѕР№РљСЂСѓРі",30,30,"#c71b1a"],["googlebookmark","Google закладки",31,31,"#0e41f4"],["yahoo","Yahoo закладки",32,32,"#7b0099"],["moemesto","МоёМесто",33,33,"#3a5d82"],["memori","Memori.ru",34,34,"#fd2668"],["juick","Juick",36,35,"#b98337"],["linkedin","LinkedIn",37,36,"#0072ab"],["webdiscover","WebDiscover",39,37,"#8bc514"],["bookmark","Р’ закладки",22,26,"#de157d"],["email","Отправить РЅР° email",23,27,"#5f32b0"],["print","Печатать",24,28,"#0fae96"],["webmoney","Webmoney события",45,39,"#007dc6"],["misterwong","Мистер Р’РѕРЅРі",44,40,"#ab0315"],["friendfeed","Friend Feed",43,41,"#5e92d1"],["market","Pluso Маркет",false,38]];pluso.buy=["cart","dollar","bulb","quest","tag"];pluso.tips=[["Распродажа!","Это может быть Вам интересно!","Лучшие товары СЃРѕ СЃРєРёРґРєРѕР№!","Спецпредложения РѕС‚ интернет-магазинов!","Самые продаваемые товары!","Любые товары РїРѕ лучшим ценам!","Популярные товары РїРѕ лучшим ценам!","Популярные товары СЃРѕ СЃРєРёРґРєРѕР№!","Товары для комфортной жизни СЃРѕ СЃРєРёРґРєРѕР№!","Самые востребованные товары СЃРѕ СЃРєРёРґРєРѕР№!","РќРѕРІРёРЅРєРё РѕС‚ интернет-магазинов!","Лучшие цены РѕС‚ интернет-магазинов!","Бестселлеры РѕС‚ интернет-магазинов!","Бестселлеры РїРѕ лучшим ценам!","РќРѕРІРёРЅРєРё РїРѕ лучшим ценам!"],{big:{top:"top:-38px;left:10px",left:"top:9px;right:5px",bottom:"top:57px;left:10px"},medium:{top:"top:-38px;left:2px",left:"top:0px;right:5px",bottom:"top:42px;left:2px"},small:{top:"top:-38px;left:-3px",left:"top:-5px;right:5px",bottom:"top:32px;left:-3px"}}];pluso.services=false;pluso.sets={};pluso.counter={};pluso.counters={};pluso.sepcounters={};pluso.advs=false;pluso.user=false;pluso.offsets={small:21,medium:31,big:42};pluso.tabbed=["livejournal","liveinternet","stumbleupon","bobrdobr","evernote","instapaper","digg"];pluso.defaults={options:{horizontal:1,line:1,small:1,counter:1,round:1,theme:"04",sepcounter:0},services:[],params:{background:"#eaeaea",baloon:"#eaeaeb",text:"#707070",url:w.location.href.split("#")[0],title:d.title,image:"",description:d.getElementsByName("description")[0]?d.getElementsByName("description")[0].content:"",user:0,lang:"ru"}};pluso.html=function(elem,debug){if(elem.pluso)return false;if(elem.className.split(" ").indexOf("pluso-skip")>-1)return false;var ep=elem.pluso=cloned(pluso.defaults);function unset(key){if(!key)return;if(arrayed(key)){for(var i=0;i1){if(k[1]=="0"){var i=pluso.tree[1][k[0]];if(arrayed(i))i=i[0];k=[i,1]}}else{k=[k[0],1]}unset(pluso.tree[1][k[0]]);return ep.options[k[0]]=k[1]});var services=elem.getAttribute("data-services");if(services)ep.services=services.split(",");iterate(ep.params,function(key,obj){var value=elem.getAttribute("data-"+key);if(value)obj[key]=value});if(ep.params.url.split("://").length<2)ep.params.url=prot+"://"+ep.params.url;if(ep.params.url.indexOf("#")==-1&&ep.params.url.split("/").length<4)ep.params.url+="/";var opt=[],uniq=[],o=ep.options,j,num;pluso.tree[0].map(function(key){j=typeof o[key]!="undefined"&&o[key]=="1"?"1":"0";if(j>0)opt.push(key);uniq.push(j)});uniq=uniq.join("");num=parseInt(uniq,2);uniq="pluso-"+uniq+"-"+o.theme;opt.push("t"+o.theme);var reps={u:u,i:u,bb:ep.params.background,bc:ep.params.baloon,bt:ep.params.text};var html=['
    '],css=[],p,m;var replacer=function(p){return p.replace(/\{(\w+)\}/g,function(s,key){return reps[key]||s})};var x=pluso.offsets[osize(o)];if(typeof pluso.sets[uniq]=="undefined"){for(var i=0;i');for(var i=0,l=ep.services.length,q=l/2;i0&&o.multiline>0&&o.multiline!=2&&i>=q){o.multiline=2;st="clear:both;"}var serv='";if(o.sepcounter==1){var servWrapper=d.createElement("div");servWrapper.style.background=p[4];var sc=pluso.sepcounters[p[0]]||0;servWrapper.innerHTML=serv+''+sc+"";serv=servWrapper.outerHTML}html.push(serv);if(!pluso.sets[uniq]||pluso.sets[uniq].indexOf(p[0]<0)){css.push("."+uniq+" .pluso-wrap a.pluso-"+p[0]+"{ background-position: -"+(p[2]-1)*x+"px 0}");if(!pluso.sets[uniq])pluso.sets[uniq]=[];pluso.sets[uniq].push(p[0])}}html.push('');html.push("");if(o.counter>0)html.push(''+(pluso.counter[ep.params.url]||"0")+"");html.push("
    ");if(!pluso.sets[uniq])pluso.sets[uniq]=[];return{html:html.join(""),css:css.join("")}};pluso.styles=function(r){var ret=[];["small","big","medium"].map(function(sze){["round","square"].map(function(frm){for(var j=1;j<15;j++){var thm=(j<10?"0":"")+j;ret.push(".pluso ."+sze+"."+frm+".t"+thm+" .pluso-wrap a{ background-image:url("+u+"/img/pluso-like/"+[frm,sze,thm].join("/")+".png) }");for(var i=0,l=pluso.titles.length;iPluso МаркетЛучшие товары по самым выгодным ценам!
    ');html.push('
      ');box.innerHTML=html.join("");o.appendChild(box);o.onclick=function(e){if(!e)var e=window.event;var t=e.target||e.srcElement;if(t.className=="pluso-overlay-background")o.parentNode.removeChild(o)};document.body.insertBefore(o,document.body.childNodes[0]);if(!t.clicked){t.clicked=1;var ou="http://offers.pluso.ru/offers/"+elem.pluso.params.user+"/"+uid+"?callback=pluso.market&"+Math.random();js(ou,function(){t.clicked=0})}}else switch(t.className){case"pluso-more":pluso.more(pointed(e),elem);break;case"pluso-promo":case"pluso-logo":case"pluso-go":pluso.process(t.className.substring(6),elem);return true;break;case"pluso-close":elem.box.style.display="none";break;default:return pluso.share(t,elem,menu);break}}return false}};pluso.build=function(elem,debug){var tt=pluso.html(elem,debug);if(!tt)return false;if(tt.css)styled(tt.css);elem.innerHTML=tt.html;if(!((elem.counter=elements("pluso-counter",elem)).length&&(elem.counter=elem.counter[0][tags]("b")).length&&(elem.counter=elem.counter[0]))){elem.counter=d.createElement("b")}if(elem.pluso.options.sepcounter=="1"){for(var i in elem.pluso.services){if(pluso.sepcounters[elem.pluso.services[i]]){var serviceEl=elements("pluso-"+s,elem)[0];if(serviceEl){var serviceCounter=serviceEl.parentNode.getElementsByTagName("b")[0];serviceCounter.title=pluso.sepcounters[s];serviceCounter.inner=numk(pluso.sepcounters[s])}}else{pluso.process("counter",elem,"&soc=1");break}}}if(!pluso.counter[elem.pluso.params.url])pluso.counter[elem.pluso.params.url]=0;elem.counter.title=pluso.counter[elem.pluso.params.url];elem.counter.innerHTML=numk(pluso.counter[elem.pluso.params.url]);if(!pluso.counters[elem.pluso.params.url])pluso.counters[elem.pluso.params.url]=[];pluso.counters[elem.pluso.params.url].push(elem.counter);elem.onclick=pluso.click(elem,0);var more=elements("pluso-more",elem)[0];more.onmouseover=function(e){if(!e)var e=window.event;var xy=pointed(e);more.timer=setTimeout(function(){pluso.more(xy,elem)},500)};more.onmouseout=function(){clearTimeout(more.timer)};return elem};pluso.start=function(el){pluso.screenWidth=null;pluso.screenHeight=null;if(parseInt(navigator.appVersion)>3){pluso.screenWidth=screen.width;pluso.screenHeight=screen.height}else if(navigator.appName=="Netscape"&&parseInt(navigator.appVersion)==3&&navigator.javaEnabled()){var jToolkit=java.awt.Toolkit.getDefaultToolkit();var jScreenSize=jToolkit.getScreenSize();pluso.screenWidth=jScreenSize.width;pluso.screenHeight=jScreenSize.height}var el=el||elements("pluso");for(var ei=0,ll=el.length;ei0?"&user="+encode(elem.pluso.params.user):"")+"&uid="+uid+"&k="+pluso.randomString(16)};pluso.share=function(t,elem,menu){var sharer=t.className.substring(6),share=pluso["share_"+sharer],sharelink=pluso.sharelink(sharer,elem,menu);pluso.counter[elem.pluso.params.url]+=1;elem.counter.title=pluso.counter[elem.pluso.params.url];elem.counter.innerHTML=numk(pluso.counter[elem.pluso.params.url]);if(elem.pluso.options.sepcounter=="1"){var serviceClass=t.className;if(!pluso.sepcounters[sharer])pluso.sepcounters[sharer]=0;pluso.sepcounters[sharer]=parseInt(pluso.sepcounters[sharer])+1;var serviceCounter=t.parentNode.getElementsByTagName("b")[0];serviceCounter.title=pluso.sepcounters[sharer];serviceCounter.innerHTML=numk(pluso.sepcounters[sharer])}if(typeof share=="function"){js(sharelink);if(window.opera&&sharer=="bookmark"){t.href=elem.pluso.params.url;return true}else{share(elem.pluso)}}else{if(!window.open(sharelink,sharer,pluso.tabbed.indexOf(sharer)==-1?"toolbar=0,status=0,resizable=1,width=626,height=436":"")){w.location.href=sharelink}}return false};pluso.more=function(xy,elem){if(elem.box){var div=elem.box}else{var div=d.createElement("div"),html=[];div.className="pluso-box";html.push('');html.push(''+lang(elem,"get")+"");html.push('×');html.push('
      ');for(var i=0,l=pluso.titles.length;i"+pt+"")}var bn=Math.random()>.5?"1":"2";html.push('');html.push("
      ");div.innerHTML=html.join("");div.onmouseover=function(ev){if(div.timer)clearTimeout(div.timer)};div.onmouseout=function(ev){var ev=ev||w.event,e=ev.toElement||ev.relatedTarget,t=ev.target||ev.srcElement;if(e&&e.tagName&&e.tagName.toUpperCase()=="B")e=e.parentNode;if(!e||e==div||e.parentNode==div||e.parentNode.parentNode==div){return false}div.timer=setTimeout(function(){div.style.display="none"},777)};div.onclick=pluso.click(elem,1)}if(elem.box&&elem.box.style.display=="block")return;var z=pluso.offsets[osize(elem.pluso.options)]/2,x=xy.pageX-z,y=xy.pageY-z,ws=dimensions();if(x<0)x=10;else if(x+310>ws.width)x=ws.width-350;if(y<0)y=5;else if(y+265>ws.height)y=ws.height-265;div.style.left=x+"px";div.style.top=y+"px";if(elem.box){elem.box.style.display="block"}else{elem.box=div;d[tags]("body")[0].appendChild(div)}pluso.process("menu",elem)};pluso.sharelink=function(sharer,elem,menu){var k=d.getSelection,y=w.getSelection,x=d.selection;var s=y?y():k?k():x?x.createRange().text:0;return u+"/process?act=share&"+pluso.params(elem)+"&type="+encode(sharer)+"&t="+encode(elem.pluso.params.title)+"&s="+encode(s||elem.pluso.params.description)+(elem.pluso.params.image?"&img="+encode(elem.pluso.params.image):"")+(menu?"&menu=1":"")};pluso.process=function(action,elem,params){js("+process?act="+action+"&"+pluso.params(elem)+(params||""))};pluso.setCounter=function(c,url,buy,counters,advType){var el=elements("pluso");if(typeof buy!="undefined"){for(var i=0,l=el.length;i'+pluso.tips[0][rnd(pluso.tips[0].length-1)]+"";t.onclick=function(){m.click();return false};el[i].insertBefore(t,el[i].firstChild)}}}}if(typeof counters!="undefined"){pluso.sepcounters=counters;for(var i=0,l=el.length;i';document.getElementsByTagName("body")[0].appendChild(divForScript);iframe=document.getElementById("pluso-ads-iframe");if(iframeDocument=iframe.contentDocument){iframe.style.width="240px";iframe.style.height="400px";iframe.style.margin=0;iframe.style.padding=0;iframe.style.position="fixed";iframe.style.bottom=0;iframe.style.right=0;iframe.style.zIndex="999999";var closeButton=document.createElement("div");closeButton.setAttribute("id","ads_close");closeButton.style.fontFamily="Arial, sans-serif";closeButton.style.fontSize="10px";closeButton.style.textAlign="right";closeButton.style.position="fixed";closeButton.style.zIndex="999999";closeButton.style.right="0px";closeButton.style.bottom="400px";closeButton.style.width="240px";closeButton.style.color="#bbb";closeButton.style.cursor="pointer";closeButton.style.zIndex="999999";closeButton.innerHTML="ЗАКРЫТЬ [Х] ";closeButton.addEventListener("click",function(){divForScript.style.display="none"});divForScript.appendChild(closeButton);iframeDocument.write('')}}}};pluso.market=function(items){var html=[];for(var i=0,l=items.length;i'+it.title+""+(it.price*1).toString()+" СЂСѓР±.Из СЂСѓРє РІ рукиКупить!")}document.getElementById("pluso-market-placeholder").innerHTML=html.join("")};pluso.randomString=function(length){var chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".split("");if(!length){length=rnd(chars.length)}var str="";for(var i=0;i div.left { + width: 270px; + padding-top: 140px; + padding-bottom: 0px; + position: absolute; + top: 0px; + left: 35px; + bottom: 0px; + background-color: rgba(0,0,0,0.2); + background-image: url(/pic/store/left-gradient.png); + background-repeat: repeat-y; + background-position: right top; +} +div.frame.rating > div.right { + position: relative; + width: 664px; + margin-left: 274px; + background: url(/pic/store/right-back.png) top right no-repeat; +} +div.frame.rating > div.right div.rating-stat { + padding: 32px 0px; +} + + + +/* ЛЕВОЕ МЕНЮ БИБЛИОТЕКИ */ +div.frame.rating > div.left > ul.menu { + list-style: none; +} +div.frame.rating > div.left > ul.menu + ul.menu { + margin-top: 16px; +} +div.frame.rating > div.left > ul.menu li { + display: block; + position: relative; +} +div.frame.rating > div.left > ul.menu li:nth-child(3n+2) { + background: url(/pic/store/menu/button1_n.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li:nth-child(2n+1) { + background: url(/pic/store/menu/button2_n.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li:nth-child(2n+2) { + background: url(/pic/store/menu/button3_n.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li:hover:nth-child(3n+2) { + background: url(/pic/store/menu/button1_s.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li:hover:nth-child(2n+1) { + background: url(/pic/store/menu/button2_s.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li:hover:nth-child(2n+2) { + background: url(/pic/store/menu/button3_s.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li.active:nth-child(3n+2) { + background: url(/pic/store/menu/button1_p.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li.active:nth-child(2n+1) { + background: url(/pic/store/menu/button2_p.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li.active:nth-child(2n+2) { + background: url(/pic/store/menu/button3_p.jpg) top left no-repeat; +} +div.frame.rating > div.left > ul.menu li:hover a { + color: #43b1ec; + -moz-text-shadow: 0 0 2px rgba(0,0,0,1); + -webkit-text-shadow: 0 0 2px rgba(0,0,0,1); + text-shadow: 0 0 2px rgba(0,0,0,1); +} +div.frame.rating > div.left > ul.menu li.active a { + color: #43b1ec; + -moz-text-shadow: 0 0 3px rgba(0,0,0,1); + -webkit-text-shadow: 0 0 3px rgba(0,0,0,1); + text-shadow: 0 0 3px rgba(0,0,0,1); + background-image: url(/pic/store/menu/line_button_select.jpg), url(/pic/store/menu/line_button_select.jpg); + background-position: 70px top, 70px bottom; + background-repeat: no-repeat; +} +div.frame.rating > div.left > ul.menu li.active::before { + content: " "; + position: absolute; + top: -200px; + right: 0px; + width: 1px; + height: 200px; + background: url(/pic/store/menu/line_gradient_t.jpg) center bottom no-repeat; +} +div.frame.rating > div.left > ul.menu li.active::after { + content: " "; + position: absolute; + bottom: -200px; + right: 0px; + width: 1px; + height: 200px; + background: url(/pic/store/menu/line_gradient_b.jpg) center top no-repeat; +} +div.frame.rating > div.left > ul.menu li a { + font-size: 14px; + color: #3a74a6; + padding-left: 20px; + display: block; + line-height: 30px; +} +div.frame.rating > div.left > ul.menu li:first-child { + line-height: 36px !important; + background: none !important; + margin-bottom: 8px; +} +div.frame.rating > div.left > ul.menu li span { + display: block; + color: #f1e5d5; + padding-left: 20px; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-transform: uppercase; + font-size: 17px; + font-weight: bold; +} + + + +/* ПРАВЫЙ ФРЕЙМ СТАТИСТИКИ */ +div.switch-target > div.desc { + position: absolute; + top: 20px; + z-index: 2; + color: #121212; + padding: 0px 20px; +} +div.switch-target div.desc > h3 { + color: #f1e5d5; + padding-top: 10px; + padding-bottom: 6px; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-transform: uppercase; +} +div.switch-target div.desc > h3 a, +div.switch-target > table a.profile { + display: inline-block; + width: 22px; + height: 22px; + position: relative; + top: 5px; + background: url(/pic/rating/q_n.png) center center no-repeat; +} +div.switch-target > table a.profile { + top: 7px !important; +} +div.switch-target div.desc > h3 a:hover, +div.switch-target > table a.profile:hover { + background: url(/pic/rating/q_s.png) center center no-repeat; +} +div.switch-target div.desc > p { + color: #9b8f81; + font-size: 15px; + padding-top: 5px; + line-height: 20px; +} + +div.switch-target > table.ladder, +div.switch-target > table.all { + margin-top: 100px; + width: 100%; +} +div.switch-target > table > thead::after { + content: ' '; + position: absolute; + top: 158px; + left: 0px; + width: 653px; + height: 2px; + background: url(/pic/rating/th-bottom.jpg) center center no-repeat;; +} +div.switch-target > table > thead tr th { + font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif; + font-size: 14px; + font-weight: normal !importatnt; + line-height: 30px; + color: #f1e5d5; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); +} +div.switch-target > table > thead tr th:nth-child(1), +div.switch-target > table > thead tr th:nth-child(3), +div.switch-target > table > thead tr th:nth-child(4) { + text-align: center; +} +div.switch-target > table > thead tr th:nth-child(2) { + text-align: left; + padding-left: 70px; +} + +div.switch-target > table > tbody tr td { + border-top: 1px solid #0b0f12; + border-bottom: 1px solid #26353a; + line-height: 50px; + font-size: 15px; + color: #9b8f81; +} +div.switch-target > table> tbody div.avatar { + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + float: left; + margin-left: 8px; + margin-right: 8px; + margin-top: 3px; + width: 44px; + height: 44px; +} +div.switch-target > table> tbody div.avatar img { + width: 44px; + height: 44px; +} + +div.switch-target > table > tbody tr th, +div.switch-target > table > tbody tr td { + padding: 2px 8px; +} +div.switch-target > table.all > tbody tr th:nth-child(1), +div.switch-target > table.all > tbody tr td:nth-child(1), +div.switch-target > table.all > tbody tr th:nth-child(3), +div.switch-target > table.all > tbody tr td:nth-child(3) { + width: 60px; + text-align: center !important; +} +div.switch-target > table.ladder > tbody tr th:nth-child(1), +div.switch-target > table.ladder > tbody tr td:nth-child(1), +div.switch-target > table.ladder > tbody tr th:nth-child(3), +div.switch-target > table.ladder > tbody tr td:nth-child(3), +div.switch-target > table.ladder > tbody tr th:nth-child(4), +div.switch-target > table.ladder > tbody tr td:nth-child(4) { + width: 35px; + text-align: center !important; +} +div.switch-target > table > thead tr th:nth-child(2), +div.switch-target > table > tbody tr td:nth-child(2) { + width: 220px; +} +div.switch-target > table > tbody tr td:nth-child(1) span { + display: inline-block; + width: 20px; + line-height: 20px; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + color: #121212; + text-align: center; + font-weight: bold; +} +div.switch-target > table > tbody tr td:nth-child(1) span.gold { + background-color: #d7cc36; + border: 1px solid #000; +} +div.switch-target > table > tbody tr td:nth-child(1) span.silver { + background-color: #CFCFCF; + border: 1px solid #000; +} +div.switch-target > table > tbody tr td:nth-child(1) span.bronze { + background-color: rgba(201, 178, 116, 0.82); + border: 1px solid #000; +} +div.switch-target > table > tbody tr:nth-child(even) { + background-color: rgba(38,65,90,0.15); +} +div.switch-target > table > tbody tr.self { + background-color: #251616 !important; + cursor: default; +} + + + + + + + + + + + + + + + + + diff --git a/rating/index_files/static.js b/rating/index_files/static.js new file mode 100644 index 0000000..9dd87ee --- /dev/null +++ b/rating/index_files/static.js @@ -0,0 +1,21 @@ + + var urlShopPay = '/shop/pay/'; + var mouseX, mouseY; + + $(function(){}); + + + var system = { + + call: function (callUrl, callRequest, cb) { + $.ajax({ + type: 'POST', + url: callUrl, + data: callRequest, + dataType: 'json' + }).always(function(data) { + cb(data); + }); + } + + } diff --git a/rating/index_files/watch.js b/rating/index_files/watch.js new file mode 100644 index 0000000..59a77c4 --- /dev/null +++ b/rating/index_files/watch.js @@ -0,0 +1,126 @@ +(function(h,f,ca){function q(a,b){return function(){try{return a.apply(this,arguments)}catch(c){na(c,b)}}}function na(a,b){if(.01>Math.random())try{(new Q).log("jserrs",V,a.message,b,A.href,O,"string"==typeof a.stack&&a.stack.replace(/\n/g,"\\n"))}catch(e){var c=["cp: "+b,a.name+": "+a.message,"debug: "+O,"code: "+V,"stack: "+a.stack];(new Image).src="//an.yandex.ru/jserr/101500?cnt-class=100&errmsg="+encodeURIComponent(c.join("; ").replace(/\r?\n/g,"\\n"))}}function B(){for(var a={},b="hash host hostname href pathname port protocol search".split(" "), +c=b.length,e=c;e--;)a[b[e]]="";try{for(var d=h.location,e=c;e--;){var g=b[e];a[g]=""+d[g]}}catch(f){A&&(a=A)}return a}function Ga(a){return a?(""+a).replace(/^\s+/,"").replace(/\s+$/,""):""}function ha(a){return-1!==(""+h.navigator.userAgent).toLowerCase().search(a)}function qa(a,b){if(!a||!b)return!1;for(var c=[],e=0;ec||36E5b||0>c||0>d||0>g)return null;e=b<<18|c<<12|d<<6|g;b=e>>16&255;c=e>>8&255;e&=255;f=64==d?f+String.fromCharCode(b):64==g?f+String.fromCharCode(b,c):f+String.fromCharCode(b,c,e)}while(hh?(d+=String.fromCharCode(h),g++):191h?(f=a.charCodeAt(g+ +1),d+=String.fromCharCode((h&31)<<6|f&63),g+=2):(f=a.charCodeAt(g+1),b=a.charCodeAt(g+2),d+=String.fromCharCode((h&15)<<12|(f&63)<<6|b&63),g+=3);return d}function Ka(a){try{delete h[a]}catch(b){h[a]=ca}}function La(a){var b=f.createElement("script");b.type="text/javascript";b.async=!0;b.src=a;try{var c=f.getElementsByTagName("html")[0];f.getElementsByTagName("head")[0]||c.appendChild(f.createElement("head"));var e=f.getElementsByTagName("head")[0];e.insertBefore(b,e.firstChild)}catch(d){}}function hb(a, +b,c,e,d,W){function t(a){var b=(new Date).getTime();a&&b>8,b&255])}function y(a,b){g.mergeArrays(a,[b&255])}function m(a,b){for(b=Math.max(0,b|0);127>=7;g.mergeArrays(a,[b])}function w(a,b){255h)return null;var f={mousemove:2,click:32,dblclick:33,mousedown:4,mouseup:30,touch:12}[b];if(!f)return null;var n=l.getElementXY(c);c=[];y(c,f);m(c,a);m(c,h);m(c,Math.max(0,d[0]-n[0]));m(c,Math.max(0,d[1]-n[1])); +/^mouse(up|down)|click$/.test(b)&&(a=e||g,y(c,2>a?1:a==(e?2:4)?4:2));return c}function E(a,b,c,d){b=b[C];if(!b||0>b)return null;var e=[];y(e,31);m(e,a);m(e,b);m(e,c[0]);m(e,c[1]);y(e,0);y(e,0);y(e,d);return e}function I(a,b){var c=[];y(c,3);m(c,a);m(c,b[0]);m(c,b[1]);return c}function H(a,b,c){var d=[];c=c[C];if(!c||0>c)return null;y(d,16);m(d,a);m(d,b[0]);m(d,b[1]);m(d,c);return d}function N(a,b,c){var d=[];y(d,28);m(d,a);m(d,b[0]);m(d,b[1]);m(d,c[0]);m(d,c[1]);return d}function K(a,b,c,d){var e= +[];y(e,5);m(e,a);p(e,b);y(e,c);a=d[C];if(!a||0>a)a=0;m(e,a);return e}function z(a,b){var c,d;0==b.length?d=c="":100>=b.length?(c=b,d=""):200>=b.length?(c=b.substr(0,100),d=b.substr(100)):(c=b.substr(0,97),d=b.substr(b.length-97));var e=[];y(e,29);m(e,a);v(e,c);v(e,d);return e}function J(a){var b=[];y(b,27);m(b,a);return b}function Y(a){var b=[];y(b,14);m(b,a);return b}function T(a){var b=[];y(b,15);m(b,a);return b}function ib(a,b){var c=[];y(c,17);m(c,a);m(c,b[C]);return c}function jb(a,b){var c= +[];y(c,18);m(c,a);m(c,b[C]);return c}function ca(a,b,c){var d=[];y(d,19);m(d,a);m(d,b[C]);w(d,String(c));return d}function X(a){var b=a[C];if(!b||0>b||!/^INPUT|SELECT|TEXTAREA$/.test(a.nodeName)||!a.form||D(a.form))return null;var c=l.getFormNumber(a.form);if(0>c)return null;var d;d="INPUT"==a.nodeName?{text:0,color:0,date:0,datetime:0,"datetime-local":0,email:0,number:0,range:0,search:0,tel:0,time:0,url:0,month:0,week:0,password:2,radio:3,checkbox:4,file:6,image:7}[a.type]:{SELECT:1,TEXTAREA:5}[a.nodeName]; +if("number"!=typeof d)return null;for(var e=-1,g=a.form.elements,h=g.length,f=0,n=0;fe)return null;g=[];y(g,7);m(g,b);m(g,c);m(g,d);v(g,a.name||"");m(g,e);return g}function ea(a,b){var c=l.getFormNumber(b);if(0>c)return null;for(var d=b.elements,e=d.length,h=[],f=0;f=c)b=null;else{var d=64,e=0,f=l.getElementParent(a), +g=f&&f[C]?f[C]:0;0>g&&(g=0);var h=a.nodeName.toUpperCase(),r=la[h];r||(d|=2);var W=l.getElementNeighborPosition(a);W||(d|=4);var t=l.getElementRegion(a);(f=f?l.getElementRegion(f):null)&&t[0]==f[0]&&t[1]==f[1]&&t[2]==f[2]&&t[3]==f[3]&&(d|=8);sa[c].pos=t[0]+"x"+t[1];sa[c].size=t[2]+"x"+t[3];a.id&&"string"==typeof a.id&&(d|=32);(f=l.calcTextChecksum(a))&&(d|=16);var k=l.calcAttribChecksum(a);k&&(e|=2);var u;b:{u=l.getElementChildren(l.getElementParent(a),a.tagName);for(var D=0;Dc)){var d=G.getPos(a),e=ia[0]-d[0],g=ia[1]-d[1],e=e*e+g*g;0>=e||16>e&&100>c||20>c&&256>e||(Z=b,ia=d,L(a))}}function ta(){var a=l.getDocumentScroll(),b=ra();10>b-ma|| +10>Math.abs(a[0]-ja[0])&&10>Math.abs(a[1]-ja[1])||(ma=b,ja=a,r(I,[x(),a]))}function Oa(a){a=G.getTarget(a);var b=Math.random(),c=[a.scrollLeft,a.scrollTop];if(a.localId){if(b=ba[a.localId],!b||10>Math.abs(c[0]-b[0])&&10>Math.abs(c[1]-b[1]))return}else{for(;ba[b];)b=Math.random();a.localId=b}ba[a.localId]=c;a!==f&&(n(a),r(H,[x(),c,a]))}function Aa(){r(N,[x(),l.getViewportSize(),l.getDocumentSize()])}function ua(){r(P,[],!0)}function Pa(a){return(a.shiftKey?2:0)|(a.ctrlKey?4:0)|(a.altKey?1:0)|(a.metaKey? +8:0)|(a.ctrlKey||a.altKey?16:0)}function ya(a){return"INPUT"==a.tagName?"password"==a.type||a.name&&na.test(a.name)||a.id&&na.test(a.id):!1}function Qa(a,b,c){a=G.getTarget(a);ya(a)||u(a)||(n(a),r(K,[x(),b,c,a]))}function Ra(a){var b=a.keyCode,c=Pa(a);if({3:1,8:1,9:1,13:1,16:1,17:1,18:1,19:1,20:1,27:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,45:1,46:1,91:1,92:1,93:1,106:1,110:1,111:1,144:1,145:1}[b]||112<=b&&123>=b||96<=b&&105>=b||c&16)19==b&&4==(c&-17)&&(b=144),Qa(a,b,c|16),Ba=!1,g.setTimeout(function(){Ba= +!0},1),!(67==b&&c&4)||c&1||c&2||Ca()}function Sa(a){Ba&&!Da&&0!==a.which&&(Qa(a,a.charCode||a.keyCode,Pa(a)),Da=!0,g.setTimeout(function(){Da=!1},1))}function Ca(){Ea||(Ea=!0,za&&r(J,[x()]),g.setTimeout(function(){Ea=!1},1))}function Fa(){oa||(oa=!0,r(Y,[x()]))}function pa(){oa&&(oa=!1,r(T,[x()]))}function aa(a){(!oa||a&&!a.fromElement)&&Fa()}function da(a){a&&!a.toElement&&pa()}function R(a){if((a=G.getTarget(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)){if(a[C])n(a);else{var b=a.form;if(b)for(var b= +b.elements,c=b.length,d=0;da.deltaY?2:0:"mousewheel"==a.type&&(c=0a.wheelDelta?1:0);c&&(n(b),r(E,[x(),b,G.getPos(a),c]))}}function Q(a){(a=G.getTarget(a))&&"BODY"==a.tagName&&ka.append([], +!0)}var ka=new Ta({protocol:a,counterId:b,counterType:c,meta:{url:B().href,hitId:d,timezone:va,timestamp:wa}}),la={A:1,ABBR:2,ACRONYM:3,ADDRESS:4,APPLET:5,AREA:6,B:7,BASE:8,BASEFONT:9,BDO:10,BIG:11,BLOCKQUOTE:12,BODY:13,BR:14,BUTTON:15,CAPTION:16,CENTER:17,CITE:18,CODE:19,COL:20,COLGROUP:21,DD:22,DEL:23,DFN:24,DIR:25,DIV:26,DL:27,DT:28,EM:29,FIELDSET:30,FONT:31,FORM:32,FRAME:33,FRAMESET:34,H1:35,H2:36,H3:37,H4:38,H5:39,H6:40,HEAD:41,HR:42,HTML:43,I:44,IFRAME:45,IMG:46,INPUT:47,INS:48,ISINDEX:49,KBD:50, +LABEL:51,LEGEND:52,LI:53,LINK:54,MAP:55,MENU:56,META:57,NOFRAMES:58,NOSCRIPT:59,OBJECT:60,OL:61,OPTGROUP:62,OPTION:63,P:64,PARAM:65,PRE:66,Q:67,S:68,SAMP:69,SCRIPT:70,SELECT:71,SMALL:72,SPAN:73,STRIKE:74,STRONG:75,STYLE:76,SUB:77,SUP:78,TABLE:79,TBODY:80,TD:81,TEXTAREA:82,TFOOT:83,TH:84,THEAD:85,TITLE:86,TR:87,TT:88,U:89,UL:90,VAR:91,NOINDEX:100},ga=0;t(0);var V=0,ha=1,Z=0,ia=[0,0],ma=0,ja=[0,0],ba={},na=/^(password|passwd|pswd)$/,Ba=!0,Da=!1,za="",Ea=!1,oa=!0,qa=ra(),C="metrikaId_"+Math.random(), +sa={},xa=":submit"+Math.random();if("MetrikaPlayer"!=h.name){k.on(f,"mousemove",Na);k.on(f,"click,dblclick,mousedown",L);k.on(f,"mouseup",Ma);k.on(h,"scroll",ta);if("onmousewheel"in f)k.on(f,"mousewheel",U);else k.on(f,"wheel",U);k.on(h,"beforeunload",ua);if(!kb)k.on(h,"unload",ua);k.on(h,"resize",Aa);k.on(f,"keydown",Ra);k.on(f,"keypress",Sa);k.on(f,"copy",Ca);k.on(f,"touchmove,touchstart",fa);if(f.body)k.on(f,"mouseleave",Q);f.attachEvent&&!h.opera?(k.on(f,"focusin",aa),k.on(f,"focusout",da)):(k.on(h, +"focus",Fa),k.on(h,"blur",pa),k.on(f,"blur",pa));f.addEventListener?(k.on(f,"scroll",Oa),k.on(f,"focus",R),k.on(f,"blur",S),k.on(f,"change",M),k.on(f,"submit",F)):f.attachEvent&&(k.on(f,"focusin",R),k.on(f,"focusout",S),function(){for(var a=f.getElementsByTagName("form"),b=0;b]*?//mc\\.yandex\\.ru/watch/.*?\x3c/script>","gi"),u.sendContent(l.getDocumentHTML().replace(e,""),t,d,va,wa),!0;n&&(n.open("get",B().href,!0),n.onreadystatechange=q(function(){if(4==n.readyState){var a=n.getResponseHeader("content-type")||"";r&&-1===a.indexOf("charset=")&&(a=t);u.sendContent(n.responseText,a,d,va,wa)}},"updatePage.1"),n.overrideMimeType&& +r&&n.overrideMimeType(t),n.send(null));return!0},"uploadPage")}return{start:function(){ka.activate()},stop:function(){ka.clear();k.un(f,"mousemove",Na);k.un(f,"click,dblclick,mousedown",L);k.un(f,"mouseup",Ma);k.un(f,"mousewheel,wheel",U);k.un(h,"scroll",ta);k.un(h,"beforeunload",ua);k.un(h,"unload",ua);k.un(h,"resize",Aa);k.un(f,"keydown",Ra);k.un(f,"keypress",Sa);k.un(f,"copy",Ca);k.un(f,"touchmove,touchstart",fa);f.body&&k.un(f,"mouseleave",Q);k.un(f,"focusin",aa);k.un(f,"focusout",da);k.un(h, +"focus",Fa);k.un(h,"blur",pa);k.un(f,"blur",pa);f.removeEventListener?(k.un(f,"scroll",Oa),k.un(f,"focus",R),k.un(f,"blur",S),k.un(f,"change",M),k.un(f,"submit",F)):f.detachEvent&&(k.un(f,"focusin",R),k.un(f,"focusout",S),function(){for(var a=f.getElementsByTagName("form"),b=0;b"+a.innerHTML+""}(c=f.doctype)&&(b="\n");return b+a},getRootElement:function(){var a=f.documentElement; +return"CSS1Compat"==f.compatMode?a:f.body||a},getViewportSize:function(){var a=l.getRootElement();return[a.clientWidth,a.clientHeight]},getDocumentSize:function(){var a=l.getRootElement(),b=l.getViewportSize();return[Math.max(a.scrollWidth,b[0]),Math.max(a.scrollHeight,b[1])]},getDocumentScroll:function(){return[h.pageXOffset||f.documentElement&&f.documentElement.scrollLeft||f.body&&f.body.scrollLeft||0,h.pageYOffset||f.documentElement&&f.documentElement.scrollTop||f.body&&f.body.scrollTop||0]},getElementXY:function(a){if(!a.ownerDocument|| +"PARAM"==a.tagName||a==f.body||a==f.documentElement)return[0,0];if(a.getBoundingClientRect){a=a.getBoundingClientRect();var b=l.getDocumentScroll();return[Math.round(a.left+b[0]),Math.round(a.top+b[1])]}for(var c=b=0;a;)b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent;return[b,c]},getElementParent:function(a){return a==f.documentElement?null:a==f.body?f.documentElement:a.parentNode}},g={isArray:function(a){return"function"==typeof Array.isArray?Array.isArray(a):"[object Array]"==Object.prototype.toString.call(a)}, +mergeArrays:function(a){for(var b=1;b>8,h=h&255,h=h^f;e+=h;d+= +e}while(--g);e=(e&255)+(e>>8);d=(d&255)+(d>>8)}a=(e&255)+(e>>8)<<8|(d&255)+(d>>8);return 65535==a?0:a};l.calcTextChecksum=function(a){var b="";a=a.childNodes;for(var c=0,e=a.length;c]*>|[\u0000-\u0020])/g,""))};l.getFormNumber=function(a){for(var b=f.getElementsByTagName("form"),c=0,e=b.length;ca.selectedIndex:!0};l.getElementsByClassName=function(a,b){b=b||f;for(var c=b.getElementsByTagName("*"),e=[],d=0;darguments.length?!0:!!d;for(var g=b.split(","),f=0;farguments.length?!0:!!d;for(var g=b.split(","),h=0;harguments.length&&(b=a,a=0);1>arguments.length&& +(b=1073741824);return Math.floor(Math.random()*(b-a))+a};var S=E.inherit({id:"form",enctype:"application/x-www-form-urlencoded",htmlfileOnly:!1,_initComponent:function(){S.superclass._initComponent.apply(this,arguments);"_htmlfile"in S.prototype||(S.prototype._htmlfile=this._createHtmlfile());this._doc=this._htmlfile||(this.htmlfileOnly?null:f)},request:function(a,b,c,e){var d=this._doc;if(!d)return c.call(e,!1);b=this._splitParams(b);var f="ifr"+g.random(),h=d.createElement("div");h.style.position= +"absolute";h.style.left="-99999px";h.style.top="-99999px";var k=['','
      '];g.forEachKey(b.post,function(a){g.mergeArrays(k,[''])});g.mergeArrays(k,[""]);h.innerHTML=k.join("");d.body.appendChild(h);var l=h.getElementsByTagName("form")[0];g.forEachKey(b.post, +function(a,b){l[a].value=b});l.submit();g.setTimeout(function(){d.body.removeChild(h)},1E4,"TransportForm.request.2");return c.call(e,!0)},_createHtmlfile:function(){try{if(h.ActiveXObject){var a=new ActiveXObject("htmlfile");a.open();a.write("");a.close();return a}}catch(b){}return null}}),M=S.inherit({id:"htmlfile",htmlfileOnly:!0}),K=E.inherit({id:"img",request:function(a,b,c,e){a=this._buildUrl(a,b);b=f.createElement("img");b.onload=q(function(){c.call(e,!0)},"TransportImage.request"); +b.onerror=q(function(){c.call(e,!1)},"TransportImage.request");b.src=a}});g.defer=function(a,b,c,e,d){return g.setTimeout(function(){a.apply(c,e||[])},b,d)};var N=v.inherit({protocol:"",host:"mc.yandex.ru",resource:"",counterId:"",counterType:0,retry:!1,transports:[J,K,M],_initComponent:function(){N.superclass._initComponent.apply(this,arguments);this.retry&&(this._storage=new ea)},send:function(a,b,c,e){var d=this._registerRequest(a,b);this._sendSavedRequest(d,a,b,c,e)},_sendSavedRequest:function(a, +b,c,e,d){var f=h.Ya._metrika.firstReqStatus;if("process"==f)h.Ya._metrika.firstReqCallbacks=g.mergeArrays(h.Ya._metrika.firstReqCallbacks||[],[[this,arguments]]);else{f||(h.Ya._metrika.firstReqStatus="process");f={};this.counterType&&(f["cnt-class"]=this.counterType);g.mixin(f,b);c.st=Math.round((new Date).getTime()/1E3);c.u=N._userID;var k=[this.protocol,"//",this.host,"/"+this.resource+"/"+this.counterId].join(""),l=[];c&&(g.forEachKey(c,function(a,b){"t"!=a&&g.mergeArrays(l,[a,b])}),c.t&&g.mergeArrays(l, +["t",c.t]));l.length&&(f["browser-info"]=l.join(":"));return N.superclass.send.call(this,k,f,function(){h.Ya._metrika.firstReqStatus="complete";this._unregisterRequest(a);var b=h.Ya._metrika.firstReqCallbacks;h.Ya._metrika.firstReqCallbacks=null;if(b)for(var c=0;c+new Date&&2>=b.browserInfo.rqnl&&(new N({protocol:b.protocol,host:b.host,resource:b.resource,counterId:b.counterId, +counterType:b.counterType,postParams:b.postParams||[],retry:!0})).send(b.params,b.browserInfo)})};var F={abc:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",tail:"+/=",tailSafe:"*-_",encode:function(a,b){for(var c=(F.abc+(b?F.tailSafe:F.tail)).split(""),e=a.length,d=[],f=e-e%3,h,k=0;k>18&63],c[h>>12&63],c[h>>6&63],c[h&63]]);switch(e-f){case 1:h=a[f]<<4;g.mergeArrays(d,[c[h>>6&63],c[h&63],c[64],c[64]]);break;case 2:h=(a[f]<< +10)+(a[f+1]<<2),g.mergeArrays(d,[c[h>>12&63],c[h>>6&63],c[h&63],c[64]])}return d.join("")}},mb={encode:function(a){for(var b=[],c=0,e=a.length;cd?b.push(d):(127d?b.push(d>>6|192):(b.push(d>>12|224),b.push(d>>6&63|128)),b.push(d&63|128))}return b}},lb=N.inherit({resource:"webvisor",transports:[J,S],postParams:["wv-data"],sendContent:function(a,b,c,e,d,g,h){if(!a)return!1;-1+new Date&&this.onFlush.call(this.onFlushCtx||this,a.data,a.meta,a.pnum);this.clear()}},append:function(a,b){g.mergeArrays(this._data,a);this._saveToStorageThrottled();this.active&&((b||this._data.length>=this.maxBufferSize)&& +this._flush(),this._flushTID||(this._flushTID=g.defer(this._flush,this.flushTimeout,this,[],"DataBuffer._flush")))},activate:function(){this.active||(this.active=!0,this.append([]))},clear:function(){this._data.length=0;this._flushTID=null;this.storage&&this.storage.remove(this.storageKey)},_flush:function(){this.onFlush.call(this.onFlushCtx||this,this._data,this.meta,this._packetNumber);this._packetNumber++;this.clear()},_saveToStorage:function(){this.storage&&this._data.length&&this.storage.set(this.storageKey, +{data:this._data,meta:this.meta,pnum:this._packetNumber,time:+new Date})}});g.trim=function(a,b){a=String(a).replace(/^\s+|\s+$/g,"");b&&a.length>b&&(a=a.substr(0,b));return a};g.isString=function(a){return"[object String]"==Object.prototype.toString.call(a)};g.arrayIndexOf=function(a,b){for(var c=0;c>>0};w.getFingerPrint=function(){var a=[];if(I.plugins&&I.plugins.length)for(var b=0;bob)var l=!0;else b("site-info",f);c.saveRef&&(la=d);g.mixin(e,this._getTechInfo(a.title,c,this.counterId,a.ts,a.tz,this._trackHash,this.hitId,this.webvisor,this.counter));this.send(k,e,function(){l&&(new fa({protocol:this.protocol,counterType:this.counterType, +counterId:this.counterId,hitId:this.hitId,trackHash:this.trackHash,webvisor:this.webvisor,counterNum:this.counterNum,counter:this.counter})).sendParams(a.userParams);g.isFunction(a.callback)&&a.callback.apply(a.ctx,arguments)},this)}},_prepareHitUrl:function(a){var b=B(),c=b.host,b=b.href,e;if(!g.isString(a))return b;if(-1!=a.search(/^\w+:\/\//))return a;e=a.charAt(0);if("?"==e)return e=b.search(/\?/),-1==e?b+a:b.substr(0,e)+a;if("#"==e)return e=b.search(/#/),-1==e?b+a:b.substr(0,e)+a;if("/"==e){if(e= +b.search(c),-1!=e)return b.substr(0,e+c.length)+a}else return c=b.split("/"),c[c.length-1]=a,c.join("/");return a},_getTechInfo:function(a,b,c,e,d,f,k,v,x){function p(a,b){a&&b&&(m[a]=b)}function y(a){b[a]&&p(a,"1")}b=b||{};var m={};e=e||P.getTimestamp();d=d||P.getTimezone();p("j",w.getJavaEnabled()?"1":"");U&&p("s",U.width+"x"+U.height+"x"+(U.colorDepth||U.pixelDepth));h.devicePixelRatio&&p("sk",h.devicePixelRatio);p("f",w.getFlashVersion());p("l",w.getSilverlightVersion());p("fpr",w.getFingerPrint()); +p("cn",this.counterNum);if(!b.pa){var q=l.getViewportSize();p("w",q[0]+"x"+q[1])}p("z",d);p("i",e);p("et",Math.round((new Date).getTime()/1E3));p("en",l.getDocumentCharset());p("v",V);p("c",I.cookieEnabled?"1":"");p("jv",w.getJScriptVersion());p("la",w.getLanguage());p("ntf",w.getNotificationPermission());f&&p("wh","1");d="ar ln dl ad nb pa pq".split(" ");for(e=0;ek&&(k*=-1),k%=65535;p("wn",k||g.fletcher(h.name));try{h.history&&p("hl",String(h.history.length))}catch(A){}}k="";this.sendTitle&&(k=this._getTitle(a)); +p("t",k);return m},_getTitle:function(a){var b="";b="undefined"==typeof a?(b=l.getDocumentTitle())?g.trim(b,Va):"":g.trim(a,Va);return b}});g.array2Props=function(a){for(var b=a.length,c={},e=c,d=0;d=w.getJScriptVersion()};var aa={};aa._cookie=new Y({onlyCurrentDomain:!0});aa.log=q(function(){var a=-1a?"0":"")+a};P.getTimestamp=function(){for(var a=new Date,a=[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()],b="",c=0;cn||1]+>/gi,""));T.sendClickLink({url:c,title:c==d?"":d,modes:a})};if(Za.test(d)||Za.test(c)||qa(c,Q)||qa(d,Q))a=!0;var f=l.classNameExists(b,"ym-disable-tracklink"),d=l.classNameExists(b,"ym-external-link");f||(f={ln:!0,dl:a},d?e(f):(d=b.hostname||g.parseUrl(b.href).hostname||"",ab(B().hostname,d)?a&&(f.ln=!1,e(f)):c&&-1!=c.search(/^ *(data|javascript):/i)||(f.ut=ia,e(f))))}}function p(b){"undefined"== +typeof b&&(b=!0);!0===b&&(b={});d._clickmap&&d._clickmap.destroy();b&&(d._clickmap=new rb({filter:b.filter,ignoreTags:b.ignoreTags,quota:b.quota,isTrackHash:b.isTrackHash,protocol:"https:",counterId:a,counterType:c,startTime:tb}))}function y(a,b){function c(){if(!z){y&&g.clearTimeout(y);var d;d=t?v:v+ +new Date-x;d=b-d;0>d&&(d=0);y=g.setTimeout(function(){z=!0;m(!1);a()},d,"trackUserTime")}}function d(){t=p=q=!0;v+=+new Date-x;x=+new Date;c()}function e(){p||q||(v=0);x=+new Date;p=q=!0;t=!1;c()}function l(){q|| +(p=!0,t=!1,q=!0,c())}function m(a){for(var b=0;bMath.random())&&y(function(){d.notBounce()},b)}}function I(a){function b(){var a=B().hash.split("#")[1];if("undefined"==typeof a)return!1;var c=a.indexOf("?");0 + + + +Бойцовский Клуб Возрождение - Рейтинг + + + + + + + + + +
      +
      +
      + + + +
      + + + +
      + + + + + + + + + + + + + + +
      + +


      +
      + + +      
      Рейтинги
      + + + + + + +
      +
      +      Опыт
      +
      +      Победы
      +
      +      Поражения
      +
      +      Ничьи
      +
      +
      + + + + + + +
      +
       
      + + + +
      +
      + + + + + + + +
      Бойцовский Клуб Возрождение ©
      + + + \ No newline at end of file diff --git a/ratio.php b/ratio.php new file mode 100644 index 0000000..ec57d22 --- /dev/null +++ b/ratio.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/ref.php b/ref.php new file mode 100644 index 0000000..fa83dae --- /dev/null +++ b/ref.php @@ -0,0 +1,337 @@ + + + + + + + + + + + + + + +
      + + +
      + + + + \ No newline at end of file diff --git a/refreshed.html b/refreshed.html new file mode 100644 index 0000000..9049ef0 --- /dev/null +++ b/refreshed.html @@ -0,0 +1,41 @@ + + + + + + +
      +
      + + + + + +
      + + +
      + Добавить текст в чат + Очистить строку ввода + (выключено) Показывать в чате только сообщения адресованные мне + (выключено) Показывать в чате системные сообщения + (выключено) Медленное обновление чата (раз в минуту) + (выключено) Преобразовывать транслит в русский текст (правила перевода см. в энциклопедии) + Смайлики + + Настройки/Инвентарь + Форум + Выход из игры +
      +
      +
      + + \ No newline at end of file diff --git a/register.php b/register.php new file mode 100644 index 0000000..c958035 --- /dev/null +++ b/register.php @@ -0,0 +1,73 @@ +query('SELECT 1 FROM `users` WHERE `login` = "?s" OR `email` = "?s"', $login, $email)->getNumRows(); + if ($check > 0) { + $error = "В системе уже есть такие данные!"; + } else { + db::c()->query('INSERT INTO `users` (`login`,`pass`,`email`,`borndate`,`ip`,`money`,`sid`) + VALUES ("?s", "?s", "?s", "?s", "?s", "?s", "?s")', $login, $password, $email, $birthday, $ip, '5', session_id()); + $nid = db::c()->getLastInsertId(); + db::c()->query('INSERT INTO `online` (`id`, `date`, `room`) VALUES (?i, ?i, ?i)', $nid, time(), 1); + //db::c()->query('UPDATE `users` SET `sid` = "?s" WHERE `id` = ?i', session_id(), $nid); + setcookie(GAMEDOMAIN, $nid, time() + 3600); + setcookie("battle", time()); + $_SESSION['uid'] = $nid; + $_SESSION['sid'] = session_id(); + header('Location: fight.php'); + die(); + } + } +} +//******************************************************************************************** +// Вот этого куска я не понял. Если что-то пойдёт не так, я буду отталкиваться от него. +//session_start(); +//setcookie("battle", time()); +//$_SESSION['uid'] = $i; +//mysql_query("UPDATE `users` SET `sid` = '" . session_id() . "' WHERE `id` = {$i} LIMIT 1"); +// +//$_SESSION['sid'] = session_id(); +//header("Location: fight.php"); +//die(); +//*********************************************************************************************** +?> + + + + + + Регистрация персонажа + + + ← на главную + +

      + +

      Регистрация

      + +
      +
      +
      +
      +
      +
      +
      + +
      + + + \ No newline at end of file diff --git a/relikt.php b/relikt.php new file mode 100644 index 0000000..00de9d8 --- /dev/null +++ b/relikt.php @@ -0,0 +1,559 @@ +купить 1 шт.
      '; + } else { + $r = ''; + } + } else { + $r = ''; + } + return $r; +} + +$is_ = mysql_fetch_array(mysql_query('SELECT `id` FROM `abils_user` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +if(!isset($is_['id'])) { + mysql_query('INSERT INTO `abils_user` (`uid`) VALUES ("'.$user['id'].'")'); +} + +$is_ = mysql_fetch_array(mysql_query('SELECT `id` FROM `abils_vip` WHERE `uid` = "'.$user['id'].'" LIMIT 1')); +if(!isset($is_['id'])) { + mysql_query('INSERT INTO `abils_vip` (`uid`) VALUES ("'.$user['id'].'")'); +} + +if($user['klan'] != '') { + $is_ = mysql_fetch_array(mysql_query('SELECT `id` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1')); + if(!isset($is_['id'])) { + mysql_query('INSERT INTO `abils_klan` (`klan`) VALUES ("'.$user['klan'].'")'); + } +} + +?> + + + + 404 + + + + + + + + + + + + + + + + +
      +
      Реликты
      +
      + + +
      +
      +
      + Персональные : + +
      +
      +
      +
      + Клановые : + +
      +
      +
      +
      + Vip : + +
      +
      +
      + +
      +
      + +
      +
      +
      Заклятие молчания
      +
      +
      + Цена: 1.00 екр. + +
      +
      + +
      +
      Заклятие молчания
      +
      +
      + Цена: 2.00 екр. + +
      +
      + +
      +
      Закрыть бой
      +
      +
      + Цена: 10.00 екр. + +
      +
      +
      +
      Исцеление +20%
      +
      +
      + Цена: 0.50 екр. + +
      +
      + +
      +
      Исцеление +35%
      +
      +
      + Цена: 0.80 екр. + +
      +
      + +
      +
      Исцеление +50%
      +
      +
      + Цена: 1.00 екр. + +
      +
      +
      +
      Лечение тяжелой травмы
      +
      +
      + Цена: 1.00 екр. + +
      +
      + +
      +
      Нападение
      +
      +
      + Цена: 0.10 екр. + +
      +
      + +
      +
      Нападение (кровавое)
      +
      +
      + Цена: 0.20 екр. + +
      +
      + +
      +
      Оставить запись в логе боя
      +
      +
      + Цена: 0.02 екр. + +
      +
      +
      +
      Открыть бой
      +
      +
      + Цена: 20.00 екр. + +
      +
      + +
      +
      Порождение клона
      +
      +
      + Цена: 1.00 екр. + +
      +
      +
      +
      Эфирное воздействие
      +
      +
      + Цена: 1.00 екр. + +
      +
      +
      + +
      +
      +
      Заклятие молчания
      +
      +
      + Цена: 1.00 екр. + +
      +
      + +
      +
      Заклятие молчания
      +
      +
      + Цена: 2.00 екр. + +
      +
      + +
      +
      Закрыть бой
      +
      +
      + Цена: 10.00 екр. + +
      +
      +
      +
      Исцеление +20%
      +
      +
      + Цена: 0.50 екр. + +
      +
      + +
      +
      Исцеление +35%
      +
      +
      + Цена: 0.80 екр. + +
      +
      + +
      +
      Исцеление +50%
      +
      +
      + Цена: 1.00 екр. + +
      +
      +
      +
      Лечение тяжелой травмы
      +
      +
      + Цена: 1.00 екр. + +
      +
      + +
      +
      Нападение
      +
      +
      + Цена: 0.10 екр. + +
      +
      + +
      +
      Нападение (кровавое)
      +
      +
      + Цена: 0.20 екр. + +
      +
      + +
      +
      Оставить запись в логе боя
      +
      +
      + Цена: 0.02 екр. + +
      +
      +
      +
      Открыть бой
      +
      +
      + Цена: 20.00 екр. + +
      +
      + +
      +
      Порождение клона
      +
      +
      + Цена: 1.00 екр. + +
      +
      +
      +
      Эфирное воздействие
      +
      +
      + Цена: 1.00 екр. + +
      +
      +
      + + + + \ No newline at end of file diff --git a/rememberpassword.php b/rememberpassword.php new file mode 100644 index 0000000..c7904d5 --- /dev/null +++ b/rememberpassword.php @@ -0,0 +1,117 @@ +\r\n". + "MIME-Version: 1.0" . "\r\n" . + "Content-type: text/html; charset=UTF-8" . "\r\n"; + + return mail($to, $subject, $message, $headers); +} + +$login = filter_input(INPUT_POST, 'loginid', FILTER_SANITIZE_SPECIAL_CHARS); +//TODO Сделать всё нормальным человеческим способом, как у белых людей. Сброс пароля генерирует ссылку на почту, ссылка на почте разрешает одноразовую смену пароля. +if ($login) { +// $sql = mysql_query("SELECT `id`, `login`, `realname`, `email` FROM `users` WHERE LOWER(`login`) = '" . $_POST['loginid'] . "' LIMIT 1"); +// $sql = mysql_fetch_array($sql, MYSQL_ASSOC); + $sql = db::c()->query('SELECT `id`, `login`, `email` FROM `users` WHERE `login` = "?s" LIMIT 1', $login)->fetch_assoc(); + $newpass = random_password(); + $lasttime = date('Y-m-d', strtotime($Date. ' + 1 days')); + $ip = $_SERVER['REMOTE_ADDR']; + + if ($sql['login'] && db::c()->query('INSERT INTO `confirmpasswd` (`login`, `passwd`, `date`, `ip`, `active`) VALUES ("?s", "?s", "?s", "?s", "?s")', $sql['login'], $newpass, $lasttime, $ip)) { + + $message = "Здравствуйте!

      + Кто-то запросил восстановление пароля к вашему персонажу".$sql['login'].".
      + Ваш новый пароль:".$newpass.".

      + Для подтверждения нового пароля пройдите по + данной ссылке.

      + Ссылка будет действовать до ".date('d-M-Y', $lasttime).". + "; + if (mail_send($sql['email'],"Noreply", "noreply@".GAMEDOMAIN, "Восстановление забытого пароля", $message)) { + echo "

      Письмо отправлено.

      "; + } else { + echo "

      Ошибка: письмо не отправлено!

      "; + } + } else { + echo "

      Сегодня пароль уже высылался или такой login отсутствует.

      "; + } +} +?> + + + + + + Восстановление пароля + + + + + + +', $error); + ?> +
      +

      Ошибка при регистрации

      + + 1): ?> +
        + +
      • + +
      + + + +
      + + +
      +

      Забыли пароль?

      + +
      +
      + +
      +
      + ' id='loginid' + name='loginid'/> +
      +
      + Для восстановления пароля введите свой login и нажмите кнопку «Отправить письмо».
      + Письмо будет выслано на email адрес, указанный вами при регистрации.
      + Восстанавливать пароль можно только раз в сутки.
      +
      +
      + +
      +
      + +
      +
      +
      + + + \ No newline at end of file diff --git a/rep_shop.php b/rep_shop.php new file mode 100644 index 0000000..3ebb0ab --- /dev/null +++ b/rep_shop.php @@ -0,0 +1,487 @@ +Неправильно введено количество"; + } elseif(($dress['massa']*$_POST['count']+$d[0]) > (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + } elseif($count_ok == 1 && ($user['doblest'] >= ($dress['point']*$_POST['count'])) && ($dress['count'] >= $_POST['count'])) { + for($k = 1; $k <= $_POST['count']; $k++) { + if($dress['for_me'] == 1) { + $pressent = 'Мироздатель'; + } else { + $pressent = ''; + } + if(mysql_query("INSERT INTO `inventory` + (`opisan`, `prototype`,`owner`,`name`,`type`,`massa`,`point`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`, `koll`, `present` + , `add_proc_mf`, `add_proc_uron`, `add_proc_bron`) + VALUES + ('{$dress['opisan']}','{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['point']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress['koll']}' + , '$pressent', '{$dress['add_proc_mf']}', '{$dress['add_proc_uron']}', '{$dress['add_proc_bron']}')")) { + $good = 1; + } else { + $good = 0; + } + } + + if($good) { + mysql_query("UPDATE `shop` SET `count` = `count`-{$_POST['count']} WHERE `id` = '{$set}' LIMIT 1"); + echo "Вы купили {$_POST['count']} шт. \"{$dress['name']}\"."; + mysql_query("UPDATE `users` SET `doblest` = `doblest`- '".($_POST['count']*$dress['point'])."' WHERE id = {$user['id']} ;"); + $user['money'] -= $_POST['count']*$dress['point']; + $limit=$_POST['count']; + $invdb = mysql_query("SELECT `id` FROM `inventory` WHERE `name` = '".$dress['name']."' ORDER by `id` DESC LIMIT ".$limit." ;" ); + //$invdb = mysql_query("SELECT id FROM `inventory` WHERE `name` = '".{$dress['name']}."' ORDER by `id` DESC LIMIT $limit ;" ); + if ($limit == 1) { + $dressinv = mysql_fetch_array($invdb); + $dressid = "cap".$dressinv['id']; + $dresscount=" "; + } + else { + $dressid=""; + while ($dressinv = mysql_fetch_array($invdb)) { + $dressid .= "cap".$dressinv['id'].","; + } + $dresscount="(x".$_POST['count'].") "; + } + $allcost=$_POST['count']*$dress['point']; + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0','{$user['id']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."] за ".$allcost." реп. ',1,'".time()."')"); + } else { + + } + } + else { + echo "Недостаточно репутации или нет вещей в наличии."; + } + } +?> + + + + + + + + + + + + + + + + + +

      Храмовая лавка

      + +
      + + + + + + + + + +
      + + + + + + +
      Отдел "" + +
      + + 0 AND `razdel` = '{$otdel}' ORDER by `point` ASC"); +if(mysql_num_rows($data) == 0) { echo '
      Пусто
      '; } +while($row = mysql_fetch_array($data)) { + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " +"; + showitem ($row, 11); + echo ""; +} + +if($_GET['do'] == 'up') { + echo ' + + + + + + + + + + + + + + + + + + + + + + + + + '; +} + +if($_GET['do'] == 'down') { + echo ' + + + + + + + + + + + + + + + + + + + + + + + + + '; + +} +//} +?> +
      "; +?> +
      купить

      Использовать
      Улучшение артефакта на 8
      Стоимость: 1500 реп.
      Описание: При использовании позволяет поднять уровень Храмового артефакта до 8-го уровня

      Использовать
      Улучшение артефакта на 9
      Стоимость: 3500 реп.
      Описание: При использовании позволяет поднять уровень Храмового артефакта до 9-го уровня

      Использовать
      Улучшение артефакта на 10
      Стоимость: 5000 реп.
      Описание: При использовании позволяет поднять уровень Храмового артефакта до 10-го уровня

      Использовать
      Улучшение артефакта на 11
      Стоимость: 7500 реп.
      Описание: При использовании позволяет поднять уровень Храмового артефакта до 11-го уровня

      Использовать
      Улучшение артефакта на 12
      Стоимость: 9000 реп.
      Описание: При использовании позволяет поднять уровень Храмового артефакта до 12-го уровня

      Использовать
      Улучшение артефакта на 13
      Стоимость: 18000 реп.
      Описание: При использовании позволяет поднять уровень Храмового артефакта до 13-го уровня

      Использовать
      Понижение артефакта на 12
      Стоимость: 36000 реп.
      Описание: При использовании позволяет понизить уровень Храмового артефакта до 12-го уровня

      Использовать
      Понижение артефакта на 11
      Стоимость: 15000 реп.
      Описание: При использовании позволяет понизить уровень Храмового артефакта до 11-го уровня

      Использовать
      Понижение артефакта на 10
      Стоимость: 10000 реп.
      Описание: При использовании позволяет понизить уровень Храмового артефакта до 10-го уровня

      Использовать
      Понижение артефакта на 9
      Стоимость: 7000 реп.
      Описание: При использовании позволяет понизить уровень Храмового артефакта до 9-го уровня

      Использовать
      Понижение артефакта на 8
      Стоимость: 3000 реп.
      Описание: При использовании позволяет понизить уровень Храмового артефакта до 8-го уровня

      Использовать
      Понижение артефакта на 7
      Стоимость: 2000 реп.
      Описание: При использовании позволяет понизить уровень Храмового артефакта до 7-го уровня
      +
      + +
      + + +
      + +
      +Масса всех ваших вещей: /
      +У вас в наличии: кр.
      +Ваша репутация: ед.
      +Репутация для покупок: ед.
      + +Приобрести дополнительную репутацию можно у любого дилера.
      +
      +

      + +
      Отделы магазина
      +Оружие:
      + +  топоры
      +  дубины,булавы
      +  мечи
      +Одежда:
      +  шлемы
      +  тяжелая броня
      +  легкая броня
      + +  щиты
      + +  сапоги
      + +Магия:
      +  боевые
      +  разные
      +Прочее:
      + +  молитвеные предметы
      >--> +  руны
      --> +  еда
      + +
      +
      +
      + +
      + + \ No newline at end of file diff --git a/repair.php b/repair.php new file mode 100644 index 0000000..d7f7cd2 --- /dev/null +++ b/repair.php @@ -0,0 +1,540 @@ += 30)) { + if(mysql_query("UPDATE `inventory` SET `text` = '".mysql_real_escape_string($_POST['count'])."' WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `id` = '".(int)$_POST['set']."' AND `setsale` = 0 LIMIT 1")) { + $user['money'] -= 30; + mysql_query("UPDATE `users` SET `money` = '".$user['money']."' WHERE id = {$user['id']} LIMIT 1"); + } +} + +if($_GET['rep'] && ($_GET['sid'] == 2)) { + mysql_query("UPDATE `inventory` SET `text` = '' WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `id` = '".(int)$_GET['rep']."' LIMIT 1"); +} + +if($_GET['sid'] && $_GET['rep']) { + switch($_GET['sid']) { + case 1: + $row = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `type` < 12 AND `isrep` = 1 AND `owner` = '{$user['id']}' AND `dressed` = 0 AND `id` = '".(int)$_GET['rep']."' LIMIT 1")); + if($row['duration'] > 0) { + $onecost = 0.1; + if($onecost <= $user['money']) { + if(mysql_query("UPDATE `inventory` SET `duration` = `duration`-1 WHERE `id` = '".(int)$_GET['rep']."' LIMIT 1")) { + $err = "Произведен ремонт предмета \"{$row['name']}\" за ".round($onecost, 2)." кр. "; + $user['money'] -= round($onecost, 2); + mysql_query("UPDATE `users` SET `money` = '".$user['money']."' WHERE `id` = {$user['id']} LIMIT 1"); + $newduration = $row['duration']-1; + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', 'Отремонтирован предмет \"".$row['name']."\" id:(cap".$row['id'].") [".$newduration."/".$row['maxdur']."] у \"".$user['login']."\" за ".round($onecost,2)." кр. ',1,'".time()."')"); + if(rand(1, 10) == 1) { + $err .= "К сожалению максимальная долговечность предмета из-за ремонта уменьшилась."; + mysql_query("UPDATE `inventory` SET `maxdur` = `maxdur`-1 WHERE `id` = '".(int)$_GET['rep']."' LIMIT 1"); + } + } + } else { + $err = "Недостаточно денег."; + } + } + break; + case 10: + $row = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `isrep` = 1 AND `owner` = '{$user['id']}' AND `dressed` = 0 AND `id` = '{$_GET['rep']}' LIMIT 1;")); + if($row['duration'] >= 10) { + //$onecost=$row['cost']/($row['maxdur']*10); + //if($onecost < 0.1) {$onecost=0.1;} + $onecost=0.1; + if(($onecost*10) <= $user['money']) { + + if(mysql_query("UPDATE `inventory` SET `duration` = `duration`-10 WHERE `id` = {$_GET['rep']}")) + { + $err = "Произведен ремонт предмета \"{$row['name']}\" за ".(round($onecost,2)*10)." кр. "; + mysql_query("UPDATE `users` set `money` = `money`- '".(round($onecost,2)*10)."' WHERE id = {$user['id']}"); + $newduration=$row['duration']-10; + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','Отремонтирован предмет \"".$row['name']."\" id:(cap".$row['id'].") [".$newduration."/".$row['maxdur']."] у \"".$user['login']."\" за ".(round($onecost,2)*10)." кр. ',1,'".time()."');"); + $user['money']=$user['money'] - (round($onecost,2)*10); + if(rand(1,7)==1) { + $err .= "К сожалению максимальная долговечность предмета из-за ремонта уменьшилась."; + mysql_query("UPDATE `inventory` SET `maxdur` = `maxdur`-1 WHERE `id` = {$_GET['rep']}"); + } + } + } else { + $err = "Недостаточно денег."; + } + } + break; + case 'full': + $row = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `isrep` = 1 AND `owner` = '{$user['id']}' AND `dressed` = 0 AND `id` = '{$_GET['rep']}' AND `setsale`=0 LIMIT 1;")); + $full = $row['duration']; + if($row['duration'] >1) { + //$onecost=$row['cost']/($row['maxdur']*10); + //if($onecost < 0.1) {$onecost=0.1;} + $onecost=0.1; + if(round($onecost*$full) <= $user['money']) { + if(mysql_query("UPDATE `inventory` SET `duration` = '0' WHERE `id` = {$_GET['rep']}")) + { + $err = "Произведен ремонт предмета \"{$row['name']}\" за ".(round($onecost,2)*$full)." кр. "; + mysql_query("UPDATE `users` set `money` = `money`- '".(round($onecost,2)*$full)."' WHERE id = {$user['id']}"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','Отремонтирован предмет \"".$row['name']."\" id:(cap".$row['id'].") [0/".$row['maxdur']."] у \"".$user['login']."\" за ".(round($onecost,2)*$full)." кр. ',1,'".time()."');"); + $user['money']=$user['money'] - (round($onecost,2)*$full); + if(rand(1,5)==1) { + $err .= "К сожалению максимальная долговечность предмета из-за ремонта уменьшилась."; + mysql_query("UPDATE `inventory` SET `maxdur` = `maxdur`-1 WHERE `id` = {$_GET['rep']}"); + } + } + } + else { + $err = "Недостаточно денег."; + } + } + break; + } + } + +?> + + + + + + + + + + + + + + +

      Ремонтная мастерская

      + +
      + + + + + + + + + + + +
      + + + +
      + + + + + + + + + + + + +
      Залы:">Ремонт">Гравировка">Перезарядка магии">Модифицирование">Улучшение Рун
      +

      Если в предмет встроена магия, мы поможем ее перезарядить за умеренную плату. Учтите, ничто не вечно под луной, в том числе и магия, рано или поздно встроенный свиток исчерпает все свои ресурсы, и мы уже не сможем его перезарядить."; break; + case 3: echo "Модификация предметов

      Наши мастера помогут вам модифицировать ваши доспехи. К сожалению, технология не позволяет повторно модифицировать вещи. Чем выше у вас интеллект, тем яснее вы сможете объяснить мастерам желаемый результат. Результат может быть непредсказуем!"; break; + case 4: echo "Подгонка вещей
      Наши мастера помогут подогнать уже подифицированные вещи под себя по лучшей цене!"; break; + case 5: echo "Улучшение Рун
      Наши мастера помогут повысить уровень Ваших рун."; break; + } + ?>
      +
      +
      + + "; + showitem ($row); + echo ""; + } +} + +if($_GET['razdel'] == 5) { + + if($_GET['update_rune']) { + upgrade_rune((int)$_GET['update_rune'], $user['id']); + } + + $data = mysql_query("SELECT * FROM `inventory` WHERE `type` = 24 AND `owner` = '{$user['id']}' AND `dressed` = 0 AND `isrep` = 1 AND `setsale`=0 ORDER by `update` DESC"); + + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if($i == 0) { $i = 1; $color = '#C7C7C7'; } else { $i = 0; $color = '#D5D5D5'; } + echo "'; + echo ""; + } +} + +if ($_GET['razdel']==1) { + $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `type` = 3 AND `name` NOT LIKE '%Букет%' AND `setsale`=0 ORDER by `update` DESC; "); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } +} + +if ($_GET['razdel']==2) { + if($_GET['it']) { + $row = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `includemagicmax` > 0 AND `id` = '{$_GET['it']}' LIMIT 1;")); + if($user['money'] < $row['includemagiccost'] && $row['includemagicdex'] ==0) + { + $err= "У вас не хватает денег на перезарядку."; + } + else { + if($row['includemagicuses'] <=1) { + $onecost=$row['includemagiccost']; + $err= "Мы сожалеем, свиток исчерпал все свои ресурсы, и мы уже не можем его перезарядить."; + mysql_query("UPDATE `users` set `money` = `money`- '".($row['includemagiccost'])."' WHERE id = {$user['id']}"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','Перезаряжена магия \"".$row['name']."\" id:(cap".$row['id'].") [".$newduration."/".$row['maxdur']."] у \"".$user['login']."\" за ".round($onecost,2)." кр. ',1,'".time()."');"); + mysql_query("UPDATE `inventory` SET `includemagic` = '', `includemagicdex` = '', `includemagicmax` = '', `includemagicname` = '', `includemagicuses` = '', `includemagiccost` = '' WHERE `id` = '{$_GET['it']}' LIMIT 1;"); + } else { + $onecost=$row['includemagiccost']; + $err= "Магия успешно перезаряжена."; + mysql_query("UPDATE `users` set `money` = `money`- '".($row['includemagiccost'])."' WHERE id = {$user['id']}"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$user['id']}','Перезаряжена магия \"".$row['name']."\" id:(cap".$row['id'].") [".$newduration."/".$row['maxdur']."] у \"".$user['login']."\" за ".round($onecost,2)." кр. ',1,'".time()."');"); + mysql_query("UPDATE `inventory` SET `includemagicdex` = `includemagicmax`, `includemagicuses` = `includemagicuses`-1 WHERE `id` = '{$_GET['it']}' LIMIT 1;"); + } + } + } + + + $data = mysql_query("SELECT * FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `includemagicmax` > 0 AND `setsale`=0 ORDER by `update` DESC; "); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } +} +if ($_GET['razdel']==3) { + + if($_GET['mf']) { + $row = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `type` < 12 AND `type` != 3 AND `owner` = '{$_SESSION['uid']}' AND `dressed` = 0 AND `id` = '{$_GET['mf']}' AND `name` NOT LIKE '% (мф)%' LIMIT 1;")); + if($user['money'] < $row['cost'] OR !$row) { + $err= "У вас не хватает денег на модификацию."; + } + else { + srand(make_seed()); + $type = rand(1,4); + $mfintel=round($user['intel']/5-10); + if ($mfintel > -1) {$mfintel = -1;} + $statintel=round($user['intel']/25-2); + if ($statintel > -1) {$statintel = -1;} + $nstatintel=round(2-$user['intel']/25); + if ($nstatintel < 1) {$statintel = 1;} + srand(make_seed()); + $mf1=rand($mfintel,10); + srand(make_seed()); + $mf2=rand($mfintel,10); + srand(make_seed()); + $st1=rand($statintel,2); + srand(make_seed()); + $st2=rand(-2,$nstatintel); + srand(make_seed()); + $min=rand($statintel,2); + srand(make_seed()); + $max=rand($statintel,4); + + + switch ($type) { + case 1: + // крит + $mfkrit = $mf1; + $mfantiuvorot = $mf2; + $inta = $st1; + $hp = rand(0,15); + $ninta = $st2; + break; + case 2: + // ловкость + $mfuvorot = $mf1; + $mfantikrit = $mf2; + $lovk = $st1; + $hp = rand(1,15); + $nlovk = $st2; + break; + case 3: + // сила + $mfminu = $min; + $mfmaxu = $max; + $sila = $st1; + $hp = rand(6,20); + $nsila = $st2; + $mfantikrit = $mf2; + break; + case 4: + // вынос + $nvinos = $st2; + $mfantikrit = $mf1; + $bron1 = rand(0,3); + $bron2 = rand(0,3); + $bron3 = rand(0,3); + $bron4 = rand(0,3); + $hp = rand(0,15); + break; + } + + + if(mysql_query("UPDATE `inventory` SET + `ghp` = `ghp`+'".(int)$hp."', + `bron1` = `bron1`+'".(int)$bron1."', + `bron2` = `bron2`+'".(int)$bron2."', + `bron3` = `bron3`+'".(int)$bron3."', + `bron4` = `bron4`+'".(int)$bron4."', + `mfkrit` = `mfkrit`+'".(int)$mfkrit."', + `mfakrit` = `mfakrit`+'".(int)$mfantikrit."', + `mfuvorot` = `mfuvorot`+'".(int)$mfuvorot."', + `mfauvorot` = `mfauvorot`+'".(int)$mfantiuvorot."', + `gsila` = `gsila`+'".(int)$sila."', + `glovk` = `glovk`+'".(int)$lovk."', + `ginta` = `ginta`+'".(int)$inta."', + `nsila` = `nsila`+'".(int)$nsila."', + `nlovk` = `nlovk`+'".(int)$nlovk."', + `ninta` = `ninta`+'".(int)$ninta."', + `nvinos` = `nvinos`+'".(int)$nvinos."', + `cost` = `cost` + '".round($row['cost']/2)."', + `name` = CONCAT(`name`, ' (мф)') + WHERE `id` = '{$_GET['mf']}' LIMIT 1;")) { + //echo $row['cost']; + mysql_query("UPDATE `users` set `money` = `money`- '".($row['cost'])."' WHERE id = {$_SESSION['uid']}"); + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','Моцифицирована вещь \"".$row['name']."\" id:(cap".$row['id'].") [".$newduration."/".$row['maxdur']."] у \"".$user['login']."\" за ".round($onecost,2)." кр. ',1,'".time()."');"); + $err= "Вещь модифицирована."; + } + + } + } + + + $data = mysql_query("SELECT * FROM `inventory` WHERE `type` < 12 AND `type` != 3 AND `owner` = '{$_SESSION['uid']}' AND `dressed` = 0 AND `name` NOT LIKE '% (мф)%' AND `name` NOT LIKE '%Букет%' AND `setsale`=0 ORDER by `update` DESC; "); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } +} + + +if ($_GET['razdel']==4) { + + if($_GET['podgon']) { + $row = mysql_fetch_array(mysql_query("SELECT * FROM `inventory` WHERE `type` < 12 AND `type` != 3 AND `owner` = '{$user['id']}' AND `dressed` = 0 AND `id` = '{$_GET['podgon']}' AND `modif`='1' AND `podgon`<'5' LIMIT 1;")); + if($row['point'] > 0) { + $cost = round(($row['point'] / 2),0); + } else { + $cost = round(($row['cost'] / 2),0); + } + + if($user['money'] < $cost || !$row) { + $err= "У вас не хватает денег на подгонку."; + } + else { + + $kol_mf = round($row['mfkrit'] + $row['mfakrit'] + $row['mfuvorot'] + $row['mfauvorot'],0); + + if($row['podgon'] == 0){ + if($row['point'] > 0) { + $new_cena = round(($row['point'] * 20)/100,0); $sql = '`point` = `point`+'.$new_cena; + $user['doblest'] -= $cost; $usql = '`doblest` = "'.$user['doblest'].'"'; $cost_t = 'реп'; + } else { + $new_cena = round(($row['cost'] * 20)/100,0); $sql = '`cost` = `cost`+'.$new_cena; + $user['money'] -= $cost; $usql = '`money` = "'.$user['money'].'"'; $cost_t = 'кр'; + } + $gmf = 2; + }elseif($row['podgon'] == 1){ + if($row['point'] > 0) { + $new_cena = round(($row['point'] * 20)/100,0); $sql = '`point` = `point`+'.$new_cena; + $user['doblest'] -= $cost; $usql = '`doblest` = "'.$user['doblest'].'"'; $cost_t = 'реп'; + } else { + $new_cena = round(($row['cost'] * 20)/100,0); $sql = '`cost` = `cost`+'.$new_cena; + $user['money'] -= $cost; $usql = '`money` = "'.$user['money'].'"'; $cost_t = 'кр'; + } + $gmf = 3; + }elseif($row['podgon'] == 2){ + if($row['point'] > 0) { + $new_cena = round(($row['point'] * 40)/100,0); $sql = '`point` = `point`+'.$new_cena; + $user['doblest'] -= $cost; $usql = '`doblest` = "'.$user['doblest'].'"'; $cost_t = 'реп'; + } else { + $new_cena = round(($row['cost'] * 40)/100,0); $sql = '`cost` = `cost`+'.$new_cena; + $user['money'] -= $cost; $usql = '`money` = "'.$user['money'].'"'; $cost_t = 'кр'; + } + $gmf = 4; + }elseif($row['podgon'] == 3){ + if($row['point'] > 0) { + $new_cena = round(($row['point'] * 70)/100,0); $sql = '`point` = `point`+'.$new_cena; + $user['doblest'] -= $cost; $usql = '`doblest` = "'.$user['doblest'].'"'; $cost_t = 'реп'; + } else { + $new_cena = round(($row['cost'] * 70)/100,0); $sql = '`cost` = `cost`+'.$new_cena; + $user['money'] -= $cost; $usql = '`money` = "'.$user['money'].'"'; $cost_t = 'кр'; + } + $gmf = 6; + }elseif($row['podgon'] == 4){ + if($row['point'] > 0) { + $new_cena = round(($row['point'] * 100)/100,0); $sql = '`point` = `point`+'.$new_cena; + $user['doblest'] -= $cost; $usql = '`doblest` = "'.$user['doblest'].'"'; $cost_t = 'реп'; + } else { + $new_cena = round(($row['cost'] * 100)/100,0); $sql = '`cost` = `cost`+'.$new_cena; + $user['money'] -= $cost; $usql = '`money` = "'.$user['money'].'"'; $cost_t = 'кр'; + } + $gmf = 10; + } + + + + + if($row['mfkrit'] == 0 && $row['mfakrit'] == 0 && $row['mfuvorot'] == 0 && $row['mfauvorot'] == 0){ + $gmf = 0; + } + + if(mysql_query("UPDATE `inventory` SET + `free_mf` = `free_mf`+'".(int)$gmf."', + $sql, + `podgon`=`podgon`+'1' + WHERE `id` = '{$_GET['podgon']}' LIMIT 1")) { + mysql_query("UPDATE `users` set $usql WHERE id = {$user['id']}"); + + mysql_query("INSERT INTO `delo` (`author` ,`pers`, `text`, `type`, `date`) VALUES ('0','{$user['id']}','Подогнана вещь \"".$row['name']."\" id:(cap".$row['id'].") [".$newduration."/".$row['maxdur']."] у \"".$user['login']."\" за ".round($cost, 2)." ".$cost_t.". ',1,'".time()."');"); + $err= "Вещь подогнана."; + } + + } + } + + + $data = mysql_query("SELECT * FROM `inventory` WHERE `type` < 12 AND `type` != 3 AND `owner` = '{$user['id']}' AND `dressed` = 0 AND `modif`='1' AND `podgon`<'5' AND `name` NOT LIKE '%Букет%' AND `setsale`=0 ORDER by `update` DESC; "); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + showitem ($row); + echo ""; + } +} + + + + + + + +$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); +?> +
      "; + $onecost=0.1; + ?> +
      + 0){?>Ремонт 1 ед. за кр.
      + =10){?>Ремонт 10 ед. за кр.
      + 1){?>Полный ремонт за кр. +
      +
      "; + if($row['rune_exp'] >= $runes_exp[$row['rune_level']+1] && $row['rune_level'] < 10) { + echo '
      Повысить уровень руны
      '; + } elseif($row['rune_level'] >= 10) { + echo '
      Максимальный уровень
      '; + } else { + echo '
      '.$row['rune_exp'].'/'.$runes_exp[$row['rune_level']+1].'
      '; + } + echo '
      "; + showitem ($row); + echo "
      "; + ?> +
      + Нанести надпись за 30 кр.
      Стереть надпись
      +
      +
      "; + ?> +
      + + Перезарядить за кр.
      +
      +
      "; + ?> +
      + Модифицировать за кр.
      +
      +
      "; + ?> +
      + 0) { + $babki = round(($row['point'] / 2),0); $cost_t = 'Реп'; + } else { + $babki = round(($row['cost'] / 2),0); $cost_t = 'Кр'; + } + ?> + Подогнать за .
      +
      +
      + +
      +
      +
      Масса всех ваших вещей: + + /
      + У вас в наличии: кр.
      +
      + +
      + +
      + +
      + \ No newline at end of file diff --git a/right.html b/right.html new file mode 100644 index 0000000..8d089c3 --- /dev/null +++ b/right.html @@ -0,0 +1,8 @@ + + + + + +
      + + \ No newline at end of file diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..00ee83d --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +# vestacp autogenerated robots.txt +User-agent: * +Crawl-delay: 10 diff --git a/sec1.php b/sec1.php new file mode 100644 index 0000000..320a3df --- /dev/null +++ b/sec1.php @@ -0,0 +1,86 @@ +100 && $_GET['width']<500) $SECURITY_WIDTH = $_GET['width']; + if(is_numeric($_GET['height']) && $_GET['height']>100 && $_GET['height']<500) $SECURITY_HEIGHT = $_GET['height']; + if(is_numeric($_GET['qty']) && $_GET['qty']>2 && $_GET['qty']<10) $SECURITY_NUM_GENSIGN = $_GET['qty']; + +// Ядро + + //session_register('securityCode'); + + $SECURITY_FONT_SIZE = intval($SECURITY_HEIGHT/(($SECURITY_HEIGHT/$SECURITY_WIDTH)*7)); + $SECURITY_NUM_SIGN = intval(($SECURITY_WIDTH*$SECURITY_HEIGHT)/150); + $CODE = array(); + $LETTERS = array('0','1','2','3','4','5','6','7','8','9'); + $FIGURES = array('50','70','90','110','130','150','170','190','210'); + +// Создаем полотно + + $src = imagecreatetruecolor($SECURITY_WIDTH,$SECURITY_HEIGHT); + +// Заливаем фон + + $fon = imagecolorallocate($src,255,255,255); + imagefill($src,0,0,$fon); + + + + +// Если папка шрифтов пуста + + for($i = 0; $i<$SECURITY_NUM_GENSIGN; $i++) + { + + // Ориентир + + $h = 1; + + // Рисуем + + $color = imagecolorallocatealpha($src,$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],rand(10,30)); + $letter = $LETTERS[rand(0,sizeof($LETTERS)-1)]; + $x = (empty($x)) ? $SECURITY_WIDTH*0.1 : $x + ($SECURITY_WIDTH*0.8)/$SECURITY_NUM_GENSIGN+rand(0,$SECURITY_WIDTH*0.01); + $y = ($h == rand(1,2)) ? (($SECURITY_HEIGHT*1)/4) + rand(0,$SECURITY_HEIGHT*0.1) : (($SECURITY_HEIGHT*1)/4) - rand(0,$SECURITY_HEIGHT*0.1); + + // Запоминаем + + $CODE[] = $letter; + if($h == rand(0,10)) $letter = strtoupper($letter); + + // Пишем + + imagestring($src,9,$x,$y,$letter,$color); + } + +// Получаем код + + $_SESSION['securityCode'] = implode('',$CODE); + +// Печать + + if($SECURITY_IMAGE_TYPE == 'PNG') + { + header ("Content-type: image/png"); + imagepng($src); + } + elseif($SECURITY_IMAGE_TYPE == 'JPEG') + { + header ("Content-type: image/jpeg"); + imagejpeg($src); + } + else + { + header ("Content-type: image/gif"); + imagegif($src); + } + + imagedestroy($src); +?> \ No newline at end of file diff --git a/section0/law.txt b/section0/law.txt new file mode 100644 index 0000000..4fbf56d --- /dev/null +++ b/section0/law.txt @@ -0,0 +1,94 @@ +Законы в old-dark абсолютны, не подвергаются обсуждению и должны безусловно выполнятся. За их выполнением следят Законники, которые являются носителями закона. Законники могут принять решения о наличии того или иного состава преступления.
      +Незнание законов не освобождает от ответственности.
      +
      +
      +Нарушения связанные с заведением нескольких персонажей. +
      +- Регистрация нескольких персонажей одним человеком.
      +- Предоставление ложной информации о персонажах, заходивших с одного компьютера.
      +- Прокачка на "ботах", т.е. специально заведенных персонажах.
      +
      +
      +Нарушения связанные с прокачкой
      +- Прокачка на других игроках за кредиты или взаимная прокачка.
      +- Прокачка младшего уровня старшим.
      +- Предложение в чате взаимной прокачки, заведомого проигрыша\выигрыша боя за кредиты.
      +
      +
      +Использование ненормативной лексики (в том числе завуалированного мата).
      +- Использование ненормативной лексики в чате.
      +- Использование ненормативной лексики на форуме.
      +- Использование ненормативной лексики в описании заявки для боя.
      +- Использование ненормативной лексики в анкете.
      +- Использование ненормативной лексики в нике.
      +- Использование ненормативной лексики в комментариях в боях (в записках комментатора).
      +- Использование ненормативной лексики при гравировке.
      +- Использование ненормативной лексики в комментариях к подарку.
      +- Сексуальные домогательства.
      +
      +
      +Нарушения связанные с обманом игроков.
      +- Обман игроков (в т.ч. мошенничество при проведении торговых, арендных и кредитных сделок, невыполнение условий сделки, хищение чужого имущества ).
      +- Осуществление определенной коммерческой деятельности без лицензии.
      +- Вымогательство/Шантаж - принуждение к совершения сделки посредством угроз распространения сведений, позорящих потерпевшего, либо иных сведений, которые могут причинить существенный вред правам или законным интересам потерпевшего.
      +
      + +Нарушения связанные с некорректной регистрацией
      +- Неверная дата рождения.
      +- Неверно указанный пол персонажа (пол персонажа должен соответствовать реальному полу игрока).
      +- Указывание несуществующего или принадлежащего другому человеку адреса почтового ящика.
      +
      +
      +Нарушения, мешающие судопроизводству.
      +- Обман Законника/ дача ложных показаний/предоставление сфабрикованных свидетельств/доказательств.
      +- Умышленный ввод в заблуждение представителей власти, отказ в предоставлении необходимой информации представителям власти.
      +- Попытка подкупа Законника.
      +- Флуд в рабочем топике Законников.
      +- Оскорбление Законника и/или Ордена Света, обсуждение действий Законника вне специально созданных топиков на Форуме в разделе Жалобы.
      +- Клевета, в том числе обвинение в оскорблении и предоставление Законнику заведомо ложной информации об оскорблении (модификация цитаты) или иная подделка информации.
      +- Попытка принуждения Законника к разглашению информации/превышению служебных полномочий в том числе посредством угроз.
      +
      +
      +Диверсионная деятельность, в том числе использование ошибок программного обеспечения сервера
      +- Диверсия - ДОС-атаки, использование ошибок программного обеспечения.
      +- Взлом/похищение персонажей.
      +- Распространение ссылок на веб-сайты, содержание которых вызывает сбои в работе компьютера, а равно на веб-сайты, содержание которых направлено на незаконное получение паролей доступа к персонажам old-dark.
      +- Накрутка рейтингов клановых сайтов, использование игровых багов и утаивание наличие данных от Администрации old-dark.
      +
      +
      +Прочие нарушения.
      +- Оскорбительные высказывания в адрес Администрации, игрока/игроков, Законников, Ордена Света, унижение их чести и достоинства, выраженное в неприличной форме.
      +- Публичные призывы к изменению законодательной и исполнительной власти.
      +- Покупки/продажи (равно как и попытки это сделать) персонажа/кредитов/екр./вещей за реал в обход официальных дилеров old-dark.
      +- Покупки/продажи (равно как и попытки это сделать) кредитов/вещей за екр. В обход официальных дилеров old-dark.
      +- Покупка/продажа предметов/услуг, не имеющих отношения к old-dark, за кредиты/предметы мира old-dark.
      +- Пропаганда наркотиков и реклама ресурсов, содержащих данную рекламу.
      +- Флуд/спам в чате/форуме, в том числе публичное предложение торговых сделок вне торгового зала, помехи при проведении свадебной церемонии.
      +- Прямая и косвенная реклама клановых сайтов (за исключением форума "кланы").
      +- Реклама порно-сайтов, распространение ссылок на веб-сайты, содержание которых не относится к old-dark.
      +- Пропаганда расизма, националистические высказывания.
      +- Дискриминация любого рода (по расовой, религиозной, половой принадлежности etc)
      +- Попрошайничество.
      +- Угрозы насилием и/или физической расправой в реале.
      +
      +
      +Нарушения связанные с превышением Законником своих полномочий.
      +- Вымогательство взятки.
      +- Получение взятки (получение Законником лично или через посредника взятки в виде денег (как игровых: кредитов или еврокредитов, так и реальных денег), вещей, иного имущества или выгод имущественного характера за действия (бездействие) в пользу взяткодателя или представляемых им лиц).
      +- Разглашение служебной информации.
      +- Шпионаж (передача, собирание, похищение, хранение, в целях передачи другим представителям склонностей (темной, нейтральной или серой) сведений, составляющих секретную информацию, для использования ее в ущерб белому братству, для собственной выгоды, а так же во вред всему игровому миру old-dark).
      +- Злоупотребление должностными полномочиями (использование должностным лицом (Законником) своих служебных полномочий вопреки интересам ордена, если это деяние совершено из корыстной или личной заинтересованности).
      +- Превышение должностных полномочий (совершение Законником действий, явно выходящих за пределы его полномочий).
      +- Халатность (неисполнение или ненадлежащее исполнение Законником своих обязанностей вследствие недобросовестного или небрежного отношения к службе).
      +
      +
      +Наказания могут применятся в комплексе и не сразу, а в последствии на более старших уровнях.

      +Возможные наказания за деяния, описанные выше:
      +- Заклятие молчания.
      +- Обезличивание.
      +- Присваивание склонности Хаос.
      +- Блокировка персонажа.
      +
      +
      +Свод законов может быть дополнен и изменен.
      +Следите за новостями на официальном сайте Ордена Законников paladins.g.capitalcity.old-dark.ru
      \ No newline at end of file diff --git a/section0/preamble.txt b/section0/preamble.txt new file mode 100644 index 0000000..fcfac7e --- /dev/null +++ b/section0/preamble.txt @@ -0,0 +1,34 @@ +ВОЗВРАЩЕНИЕ + + + +

      Он долго уже шел по дороге и, истоптав все ноги, подошел к городу, в котором, как было слышно по громким крикам, кипела жизнь.

      +- Ну, чего ты встал столбом?! Дай пройти! Стоят тут всякие, а ты обходи их..

      +Сразу было видно, что именно здесь и есть центр этого небольшого городка.

      +Он оглянулся и увидел еле разборчивые таблички на зданиях: магазин, комиссионный магазин, ремонтная мастерская. «Интересно, чем же здесь занимаются люди?» - подумал он, когда наткнулся на что-то высокое и упал...

      +-Ой! - сказал он, потирая лоб. Поднял голову и увидел памятник, который стоял прямо посреди площади.

      +-А кому это памятник то? – спросил он у первого встречного.
      +-А ты, видно, не местный, раз спрашиваешь. Это мэр наш, великий человек! Сам всё построил... Представляешь? Все эти здания, да-да. Великий человек! - ответил человек в белой рубахе и какими-то синяками по телу.
      +- А что это вообще за место?
      +- Это наша гордость – Главная площадь. Именно здесь находятся все самые важные объекты повседневной жизни людей этого города.
      +- А где я могу купить себе новые сапоги? А то мои совсем истрепались.
      +- Ну, это тебе в магазин надо, если деньги, конечно есть. Там столько всего, что глаза разбегаются, а руки сами тянутся ко всему подряд. Только будь осторожен, а то будешь тут же, возле памятника, подаяния, как я, просить, а тут итак места мало. Если денег не так много– через дом от магазина находится комиссионка, там цены поменьше, но и товар уже не новый.
      +- Расскажи мне о городе - попросил путник.
      +- Хорошо. Пошли, пройдемся по городу. Чинить-точить, лудить-паять – это сюда, ведь это Ремонтная Мастерская. А заодно можно и гравировочку интересную сделать или даже любимую рубаху модифицировать. Любой каприз за ваши деньги. Можно даже магию перезарядить, если есть желание, но только поосторожнее с этим, а то тут один молнией полыхнул, да так, что у мэра караоке три дня не включалось... А тут - почта. Вот, всё просто – заполняешь конверт, кому отправляешь и что. А потом кидаешь во-о-он в тот дальний ящик, а почтальон потом всё доставит. Очень удобно! А вот и Лотерея, тут, купив билет и выбрав 5 цифр наугад, можешь выиграть немного денег. Пошли дальше... Свернем правее – там торговая улица. Вот это улица, так улица, не то, что площадь там какая-то. Тихая, спокойная, никакой тебе суеты, сутолоки, такую только быстрыми деловыми шагами проходить. Почему, спрашиваешь? А потому что здания тут такие, на официальный лад настраивающие. Вон Регистратура Кланов стоит, а через дом от неё – Банк, тут не пошумишь, палицей не поразмахиваешь. Хотя, конечно, если ты уж совсем отчаянный – в Башню Смерти милости просим. Поджилки не затряслись ещё, коленки ходуном не ходят? Ну, тогда давай, дерзай. Если уж совсем туго придется –тебе, может, кто пару цветков пришлет, благо вон и Цветочный Магазин рядом.
      +- Расскажи поподробнее, что и как. Что в этих зданиях делать то?
      +- Какой же ты любопытный. Устал я с тобой ходить..иди сам узнай!

      +И зашел путник в банк..Там его встретил очень миловидный клерк. «Здесь вы можете проводить операции со своим счетом, такие как: открытие, закрытие, перевод средств, обмен еврокредитов на кредиты, оплата некоторых коммерческих услуг.» - рассказал он ему. Ну, а если вас не интересует ничего из вышеперечисленного, то можете просто зайти погреться и перекинуться парой слов с весьма миловидным клерком, который всегда готов помочь.

      +Выходя из банка он услышал крик глашатаего: "Ищите испытания для настоящих бойцов? Хотите проверить свой характер? Готовы испытать удачу? Башня Смерти – это для вас. В кровавом и беспощадном турнире победит и сорвет банк только один. Остальным же достанется только горечь поражения и утешительный приз в виде тяжелой травмы. Все ещё не передумали? Тогда смело бросайтесь в омут безбашенного по своей кошмарности аттракциона. Входной билет от 3 кредитов. Вход с 4-го уровня!"

      +Он оглядел себя и понял, что туда ему еще рановато… Пошел дальше и увидел весьма интересное здание. Табличка гласила «Регистратура кланов», он зашел и огляделся. На доске объявлений было прикреплено несколько бумажек: «Стоимость регистрации кланов: светлый - 1200 кр., темный - 1200 кр., истинно нейтральный - 1200 кр.» И список документов...

      +- Да-а-а уж, это мне не по карману, пойду я отсюда пока...

      +Чуть поодаль стоял магазинчик с разноцветными клумбами, а в самом магазине стояли симпатичные продавщицы... Он зашел и одна из них, улыбаясь, подошла к нему:

      +- Ну что ты запечалился, воин? Доспех жмет? Меч затупился? Нет? А, ну понятно тогда, в этом замешана женщина, я права? О, можешь не рассказывать, знаю-знаю, ты вот, а она... Да-а, тут тебе только букеты из нашего магазина помогут. Только будь готов, цветы – это штука не дешевая, так что думай, что выбирать... Тут недалеко еще сувернирный магазинчик есть, левее от нас. Может там что-то найдешь. Удачи тебе, путник.
      +- Спасибо.

      +Немного опечалив он вышел на улицу..а вот и магазинчик, про который продавщица говорила. Подойдя к нему, он увидел табличку: «Добро пожаловать в наш Сувенирный Магазин, самые лучшие сувениры Клуба, только у нас, только сейчас, только здесь, только сегодня. Игрушку даме сердца? Открытку другу на юбилей? Предупредительный костыль в праздничной упаковке для врага? Выбирайте, не стесняйтесь, огромный выбор товаров.»

      +«А что там за здание на площади то было? Большое такое..» - подумал путник и решил посмотреть, что он там упустил...

      +Войдя в замок, расположенный на Центральной Площади, он попадал в длинный коридор, полный дверей с разными непонятными табличками. Большинство из них закрыты, и вид имеют неиспользуемый, из под некоторых слышится негромкий разговор (Зал Тьмы) и только в одном проеме двери нет никакой, а внутри не продохнуть от дыма, запаха пота и крови, а при входе сразу же закладывает уши от стоящего гвалта, криков и звона оружия. Он зашел в комнату и увидел мол, заляпанный кровью, который оттирал горбатый старичок.

      +- А что здесь происходит? Почему они дерутся?
      +- О, ты новичок! Добро пожаловать. Тут все просто – заявляешь о том, что хочешь подраться, выбирается противник и идет бой. Выиграешь – набираешься опыта, зарабатываешь деньги, на деньги можешь приобрести себе новые вещи. Ты уже прошелся по Главной площади? Вот там всё и находится. Не испугался еще? Иди, попробуй, это интересно.
      +- А, знаешь, ты, наверное прав, я останусь…

      +

      (c) Marquise des anges
      +
      \ No newline at end of file diff --git a/section0/start.txt b/section0/start.txt new file mode 100644 index 0000000..d1f1087 --- /dev/null +++ b/section0/start.txt @@ -0,0 +1,53 @@ +

      Итак, ты все-таки вступил в клуб. Поступок, который уже достоин поощрения. Давай разберемся, что здесь надо делать.

      +

      Первым делом - осмотримся. Экран поделен на три области, две нижние отвечают за чат.
      + Я думаю, ты сам знаешь, что обычно делают в чатах ;) В правом фрейме список игроков, которые сейчас в этой комнате. Вот пример имени:

      +Wounderer [0]

      +

      Слева от имени - склонность игрока.
      + В данном случае это знак темных сил. Возможен и крест - значит этот человек Законник, защитник порядка, попросту модератор этого сайта. Череп - это Хаос, эту склонность можно получить, за неприличное поведение на сайте (матерится и подобные штучки), а так же нарушение правил Бойцовского Клуба (если ты при регистрации просто поставил галочку "согласен с правилами", не заглянув туда, то настоятельно рекомендую все же прочесть их, во избежание дальнейших недоразумений!) Получить Хаос я бы не торопился, так как это может сильно замедлить твое продвижение.

      +

      Правее от значка склонности может присутствовать еще какое-либо изображение, это означает, что игрок состоит в каком-то клане.
      + Справа от имени игрока число в квадратных скобках [0] - это уровень игрока. Нажав на , ты можешь узнать всю доступную информацию из анкеты игрока.
      + В нижней части экрана поле для ввода сообщения в чат и дополнительные настройки чата:
      + - Очистить окно чата. Когда в чате накапливается большщое кол-во сообщений за длительное время, то ваш браузер может начать порядочно "тормозить", а то и вовсе "зависнуть", советуем раз в час/два очищать окно чата.
      + - Показывать только сообщений адресованные мне. Поставив эту галочку вы отключите показ в чате всех сообщений, кроме тех, которые были адресованы именно вам. Если вас напрягает большой поток болтовни в чате, или у вас проблемы с трафиком, то советую использовать эту галочку.
      + - Обновление чата - Это частота обновления чата. При увеличении периода сообщения в чат будут дописываться реже, но большими порциями.
      + Итак, с чатом более-менее все понятно, пойдем дальше, в верхнею часть (Это основной экран который постоянно меняется по ходу игры):
      + В верхней половине экрана твое личное окно. Слева твой образ и твоя экипировка. Правее твоя статистика. Справа кнопки навигации по игре.

      +

      Пока остановлюсь на них:
      + "Поединки" - Здесь ты можешь повесить свою заявку на бой или выбрать чью-то заявку для боя, так же можешь увидеть список активных боев и заглянуть в логи уже оконченных поединков. Поединки бывают трех видов, но тебя пока интересует только один (об остальных видах, ты узнаешь, когда придет время:
      + 1. Бои Новичков - здесь бьются только игроки нулевого уровня. Можно использовать только грубую силу. Магию использовать невозможно.
      + "Настройки/Инвентарь" - здесь ты можешь посмотреть, какие вещи у тебя есть с собой, одеть или снять их. Изначально тебе дадут лишь рубашку. Если по ней щелкнуть мышью, то рубашка будет надета (находится в рюкзаке). Рядом с параметрами игрока есть красные плюсики, нажимая на которые вы можете увеличить параметры своего персонажа (если есть такая возможность).
      + Нажав на кнопку - "Редак-ть анкету", которая находиться в правом верхнем углу ты сможешь изменить информацию, которую вводил при регистрации.
      + Там же есть кнопка выбора картинки персонажа, внимание! образ выбирается один раз, потом сменить его невозможно.
      + "Передать предметы" - Здесь ты можешь передать предметы или кредиты любому из участников проекта. Если вы хотите передать предмет или деньги кому либо из участников проекта, то нажмите на кнопку Передать Предметы. После этого появиться окно в котором нужно написать ник/логин бойца которому вы хотите передать предметы/кредиты и нажать ОК. После этого вы увидите количество денег на вашем счету (кредитов и еврокредитов) и предложение передать некоторую сумму. Для этого нужно написать количество передаваемых денег в редактируемом окне и кликнуть на ОК. Справа будет содержимое вашего рюкзака. Чтобы передать предмет необходимо нажать на кнопку под ним. Но, к сожалению, на нулевом уровне любые передачи запрещены...
      + "Магазин" - Здесь ты можешь купить разнообразное оружие, броню, украшения и заклинания. Так же ты здесь можешь продать ненужные предметы.
      + "Карта миров" - отсюда вы можете зайти в разнообразные миры, доступ ко многим из них ограничен вашим уровнем, а к некоторым вашей склонностью.
      + "Обновить экран" и "Выход" по-моему, в объяснении не нуждаются.

      +

      Теперь перейдем к параметрам:
      + Сила - физическая мощь героя, развитая сила повышает силу удара в рукопашном бое, а также позволяет использовать более тяжелое оружие и доспехи.
      + Ловкость - изворотливость, мера ловкости и проворности героя, определяющая вашу подвижность в бое.
      + Интуиция - ваш внутренний дар позволяющий предугадывать действия противника.
      + Выносливость - мера здоровья персонажа (Влияет на хитпоинты: HP), также определяет способность нести определенную массу вещей в рюкзаке.
      +Это не все параметры, а только основные об остальных ты узнаешь позже. При создании героя все способности равны трем, вы имеете возможность еще на три увеличения любых способностей, в зависимости от стратегии развития персонажа, которую вы выбрали.

      +

      Дополнительные параметры:
      + HP - определяет здоровье персонажа (это цветная полоска над головой вашего персонажа), при достижении значение этого параметра равного нулю - вы проигрываете бой. Полоска жизни восстанавливается, из расчета 1% каждые 18 секунд, или 10% за три минуты.
      + Так же вы можете улучшить одно из умений (пока что это только умение обращаться с оружием разных видов).
      + Мастерство владения:
      + ножами и кастетами: 0
      + мечами: 0
      + дубинами, булавами: 0
      + топорами и секирами: 0
      + Умение обращаться с оружием (4 вида оружия).
      +
      + Опыт - твой жизненный опыт, за повышение опыта даются все возможные улучшения, первое свое улучшение ты получишь, когда достигнешь 20 очков опыта, второе улучшение 45. Опыт зависит также от соперника, если соперник тебя сильней, за победу над ним ты получаешь больше опыта, если слабее, то - меньше.

      +

      Уровень: 0 - У тебя он равен пока нулю, но по достижении определенного опыта уровень меняется. Всего уровней 21. Новички с нулевым уровнем, могут драться с только себе подобными, дальше никаких ограничений по уровню соперника нет.

      +

      Деньги - пока их у тебя ноль и о них рано говорить, почитаешь позже соответствующий раздел, одно скажу, деньги даются вместе с повышением, за 45 опыта, ты получишь свой первый кредит.
      + Как только вы оденетесь и распределите все параметры, нажмите на кнопку поединки и повесьте заявку. Если кто-либо нападет вам придет запрос на подтверждение поединка.

      +

      После подтверждения на верхней половине окна появится меню боя.
      + Вы одновременно выбираете и удар, и блок.
      + Ударить противника вы можете в одну из четырех точек: голову, корпус, пояс (пах) и ноги.
      + Блок можно поставить на: голову и корпус, корпус и пояс, пояс и ноги, голова и ноги.
      + Так же возможно выпадение критического удара или приема. Если этот удар попадает в блок, то блок пробивается и наноситься нормальное повреждение, если же не в блок - то нанесенное повреждение удваивается, основной параметр, влияющий на это - Интуиция.
      + Еще вы можете, увернутся от удара, основной параметр, влияющий на это - Ловкость.
      + Если ваш удар или соперника прошел, то рассчитывается повреждение в HP, снимаемых с пропустившего удар.
      + Ну, вот вроде бы и все что тебе изначально необходимо знать для удачной игры. И удачи тебе в Клубе!

      +

      P.S. Не ленись читать логи битв. Получишь огромное удовольствие, а смех к тому же продлевает жизнь :-). \ No newline at end of file diff --git a/section0/vocabilory.txt b/section0/vocabilory.txt new file mode 100644 index 0000000..44158ff --- /dev/null +++ b/section0/vocabilory.txt @@ -0,0 +1,334 @@ +

      Словарь сленга old-dark, используемого игроками.

      +

      A

      +

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

      +

      Представитель Высшего Советаы
      + представители Администрации old-dark, которые принимают участие в игровом процессе.

      +

      Ап
      + 1. Повышение одной из характеристик персонажа.
      + 2. Поднятие топика в форуме вверх.
      +3. Улучшение на уровне.

      +

      Артефакт, Арт
      + Уникальный предмет превышающий характеристики обыкновенных предметов.

      +

      Б

      +

      Баг
      + ошибка, допущенная программистами в игре.

      +

      Блок (Бан)
      + смерть персонажа в old-dark.

      +

      БО
      + аббревиатура Боевой Отдел, характерно для кланов.

      +

      Бомж, Нищенка
      + Персонаж, клянчащий материальную помощь.

      +

      Бот
      + 1. Искуственный персонаж для прокачки младших уровней.
      + 2. Экспрессивно-оценочное слово, характеризующее человека, который абсолютно не соображает головой.

      +

      В

      +

      Вамп
      + 1.Персонаж имеющий темную склонность и использующий способность вампиризма.
      + 2.Сокращение от слова Вампир.

      +

      Варежки
      + Перчатки.

      +

      Вихрь
      + Топор Вихря.

      +

      ВЦ
      + <Вырезано цензурой>, заменяет нецензурные ругательства.

      +

      Вынос
      + Выносливость.

      +

      Г

      +

      Готика
      + Готическая секира.

      +

      Групповуха
      + Групповой бой.

      +

      Грязная майка
      + Роба земли.

      +

      Гос
      + 1. Государственный Магазин;
      + 2. цена предмета, указанная в его описании.

      +

      Д

      +

      Дубинщик
      + Персонаж использующий в боях дубины.

      +

      Драконы
      + Кулон Драконы-близнецы.

      +

      Е

      +

      Екр
      + Игровая валюта в old-dark, покупаемая за реальные деньги.

      +

      Еда, Ужин
      + Персонаж выбранный вампиром для пополнения жизни.

      +

      Ж

      +

      Желтые, Желтая сторона
      + Команда обороняющихся в поединке.

      +

      З

      +

      Забанить
      + Наложить заклинание смерти (заблокировать).

      +

      Заткнуть
      + Наложить заклятие молчания.

      +

      Заточить (заточка)
      + Использование магического свитка для поднятия урона у оружия.

      +

      Злость
      + Панцирь Злости.

      +

      И

      +

      Инта
      + Интуиция одна из базовых характеристик.

      +

      Изумруды
      + Изумрудные серьги.

      +

      ИМХО (IMHO)
      + По моему скромному мнению (In My Humble Opinion)

      +

      Инта
      + Интуиция.

      +

      Инк
      + Инквизитор, сотрудник боевого отдела ОС

      +

      К

      +

      Клановик, Кланер
      + Персонаж, состоящий в обществе единомышленников, называемое кланом.

      +

      Клон, Клоун
      + 1.Копия персонажа созданая при помощи магии.
      + 2.Второй персонаж игрока используемый для прокачки.

      +

      Коляска
      + Инвалидность.

      +

      Комната ужасов
      + Комнаты новичков.

      +

      Консерва
      + Тяжелая Законникская броня.

      +

      Красная бронька, красный напузник
      + Тяжелый нагрудник.

      +

      Крест, Крестопуз
      + Законник.

      +

      Крит
      + Критический удар.

      +

      Критовик
      + Персонаж с очень большим мф. критического удара.

      +

      Каст (кастовать)
      + Использование заклинания или свитка.

      +

      Кастун
      + 1. Персонаж, который накладывает заклинания на других за деньги;
      + 2. Любой маг.

      +

      Качок, Крыса
      + Человек, постоянно получающий опыт при помощи нападений на ЦП или на слабых/раздетых персонажей

      +

      Кидала
      + Персонаж, который обманывает других игроков, недобросовестный торговец.

      +

      Кинжи (кенжи)
      + Кинжалы любого вида.

      +

      Комок
      + Комиссионный Магазин.

      +

      Коммент (комментарий)
      + Пожелание игрока, подавшего заявку.

      +

      Креды, кредиты
      +Игровая валюта.

      +

      Крит
      + Персонаж с оружием и экипировкой, основными модификаторами которых являются модификатор критического удара и сопутствующие ему модификаторы (мощность крита, антиуворот…)

      +

      Кровь (кровавить)
      + Использование свитка кровавого нападения на персонажа.

      +

      Кромус
      + Меч Кромуса.

      +

      Кулачка
      + Форматный групповой или хаотический бой на кулаках только со статовым эликсиром.

      +

      Л

      +

      Лапа
      + Кастет.

      +

      Лев, левел (от англ. level )
      + Уровень бойца.

      +

      Лифчик
      + То же, что Напузник.

      +

      Лаг
      + Зависание игры.

      +

      Левел (лвл)
      + Уровень.

      +

      Ловка
      + Ловкость.

      +

      М

      +

      Моб
      + Монстр

      +

      Маги
      + Башня рыцарей-магов.

      +

      Майка
      + Рубашка, один из видов.

      +

      Мечники
      + Персонаж использующий в боях мечи.

      +

      Молчанка, Молча
      + Заклинание молчания накладываемое либо свитком, либо Законником.

      +

      Мультиник, Мультовод
      + Игрок имеющий несколько персонажей.

      +

      Мясо, месилово
      + То же, что Групповуха.

      +

      Маринад
      +Искусственное затягивание боев, часто применяется при несоблюдении противниками комментариев к бою.

      +

      Модификатор, МФ
      + Особенность вещей добавлять крит, антикрит, уворот, антиуворот, мощность магии стихий, подавление в зависимости от класса бойца и т.п.

      +

      Мульт
      + Второй, третий, четвертый, двадцать пятый чар одного человека.

      +

      Н

      +

      Набалдашник
      + Шлем.

      +

      Напузник
      + Нагрудник.

      +

      Наушники
      + Серьги.

      +

      Ньюб, Нуб, Новис
      + Новичок, персонаж недавно находящийся в клубе.человек, не знающий прописные истины в old-dark.

      +

      Нападалка
      + Свиток нападения, бывают трех видов: обычный, кровавый и нелечимый кровавый.

      +

      Невидимка
      + Персонаж, использовавший магию "Невидимости".

      +

      Невидимость
      + Магия, при которой в бою и в чате не отображается ник персонажа, также не видно экипировку игрока и статы, урон получаемый им в бою.

      +

      Нелечимка (нелеч)
      + Свиток нелечимого кровавого нападения.

      +

      НКД
      + Аббревиатура "незаконная коммерческая деятельность".

      +

      О

      +

      Ошейник
      + Кулон, ожерелье.

      +

      old-dark
      + Собственно название игры, основанной на прошлом Бойцовского клуба

      +

      old-darkшник
      + Персонаж играющий в old-dark.

      +

      ОС
      +Аббревиатура "Законники".

      +

      П

      +

      Пал
      + Законник.сотрудник Ордена Света.

      +

      Переманка
      + Свиток переманивания враждебного клона.

      +

      Перс
      + Персонаж.

      +

      Перчи
      + Перчатки.

      +

      Песочница
      + Комнаты новичков.

      +

      Прокачка
      + Набор опыта при помощи своих вторых ников,подставные бои с заранее известным исходом.

      +

      Плюшка
      + Игровой бонус

      +

      Повесить рога
      + Отправить в хаос.

      +

      Приватное сообщение (приват)
      + Личное сообщение, не отображающееся в общем чате.

      +

      ПСЖ
      + Аббревиатура по собственному желанию.

      +

      Пушка
      + Оружие.

      +

      Р

      +

      Раскачка
      + Набор опыта при помощи своих двойных персонажей.

      +

      Рубильник
      + Топор.

      +

      РВС
      + Аббревиатура "распространение вредоносных ссылок."

      +

      С

      +

      Синяя бронька
      + Кираса

      +

      Скилл
      + Мастерство владения каким-либо видом оружия.

      +

      СЛИВ
      + Характеристики бойца: Сила, Ловкость, Интуиция, Выносливость.

      +

      Страшилки
      + Колье и серьги страшилки.

      +

      Стат
      + Одна из характеристик СЛИВы.

      +

      Статы
      + Базовые характеристики персонажа.

      +

      Сусел
      + Смайлик.

      +

      Секретка
      + Секретная комната.

      +

      Слиться
      + Преднамеренно (или глупо, бесславно) проиграть в бою.

      +

      Статовые кольца
      + Кольца, поднимающие статы (Сила, Ловкость, Интуиция…)

      +

      Страш
      + Торговая улица.

      +

      Т

      +

      Тарелка
      + Щит.

      +

      Танк
      + 1.Персонаж, одетый не по средствам.
      + 2.персонаж, обладающий ключевыми характеристиками – сила и выносливость, одевающийся в доспехи с большой защитой и владеющий тяжелыми видами оружия – молоты, дубины и т.д.

      +

      ТЗ
      + Торговый Зал. Располагается на 2-м этаже в здании Бойцовского Клуба.

      +

      Тапки
      + Сапоги.

      +

      Тело
      + То же что и бот.

      +

      Топик
      + Тема в форуме old-dark.

      +

      Топорист, Топорщик
      + Персонаж использующий в боях топоры.

      +

      Тайм, тайм аут
      + Максимально возможный перерыв между разменами с противниками в бою.

      +

      У

      +

      УК old-dark
      + Уголовный Кодекс old-dark.

      +

      Уворот
      + 1. Персонаж с оружием, обладающий основной характеристикой – ловкость, владеющий в основном кастетами и ножами;
      + 2. Модификатор увертывания.

      +

      Ужас
      + Кольцо ужаса.

      +

      Умелки
      + Мастерство владения оружием или магией.

      +

      Ф

      +

      Флуд
      + Многократное повторение одного и того же сообщения в чате, форуме.

      +

      Флудер
      + Персонаж целенаправленно засоряющий чат (или форум) одинаковыми сообщениями.

      +

      Физ
      + Поединок 1 на 1.

      +

      Фулл
      + Полное обмундирование.

      +

      Ц

      +

      Централка, ЦП
      + Центральная Площадь.

      +

      Х

      +

      Халявщик
      + Персонаж, заходящий за заведомо более сильную сторону в поисках халявной экспы.

      +

      Хамелеон
      + Персонаж, подающий заявку на бой без одежды, но одевающийся сразу после получения подтверждения заявки.

      +

      Хаус, Хаос.
      + Наказание, при котором чар не имеет возможности обмениваться деньгами и предметами, пользоваться телепортами, получает опыт в два раза меньше, не может использовать некоторые свитки.

      +

      Хелсы, Хиты
      + Уровень Жизней (Уровень HP).

      +

      Хаот
      + Хаотичный бой.

      +

      Хил
      + Комплект для востановления уровня ХП

      +

      Хилка
      + Свиток восстановления энергии (здоровья) или маны.

      +

      Ч

      +

      Чар, перс
      + Персонаж (жаргон РПГ'ешников).

      +

      Челноки
      + Торговцы, перевозящие товар из одного города в другой.

      +

      Читер
      + 1.Персонаж, нарушающий правила УК old-dark.
      + 2.Игрок развивающий своего персонажа за счёт персонажей которые создал он сам или договорных боёв с другими игроками.

      +

      ЧС
      + Аббревиатура "черный список".

      +

      Ш

      +

      Шакал
      + 1.Тоже, что халявщик.персонаж, зашедший в бой с нарушением установленного подающим заявки на сражение формата или комментария; 2. персонаж, заходящий в бой или инициирующий новый с заведомо более слабой стороной противника.
      + 2.кинжал -Jackal-

      +

      Шмотки, Шмот
      + Вещи, предметы. Когда говорят, что шмот ломаный, значит, его прочность ниже стандартной (например, 0/50 - стандарт, ломаная - 24/38); когда говорят, шмот юзаный - значит, что его прочность чуть ниже стандартной, но это не говорит о том, чинится он или нет, этот вопрос нужно уточнять отдельно (например, 0/20 - стандарт, 1/20 - юзаный).

      +

      Шапка
      + Шлем.

      +

      Э

      +

      Экспа (от англ. experience)
      + Опыт, получаемый персонажами за выигранные бои.

      +

      Эммигрант
      + Персонаж, покинувший родной город и живущий в другом.

      +

      Эротический напузник
      + Экзотический нагрудник.

      +

      Экспаруб
      + Человек, который всеми способами старается получить опыт.

      +

      Элик
      + Эликсир.

      +

      Ю

      +

      Юва (ювелирка)
      + 1. Ювелирные украшения (серьги, ожерелья, кольца).
      + 2. Формат поединка.

      +

      A-Z,1-9

      +

      Down (всегда англ.)
      + 1. Заклинание, полностью противоположное Ап в форуме.
      + 2. Характеристика собеседнику в чате.

      \ No newline at end of file diff --git a/shop.php b/shop.php new file mode 100644 index 0000000..cfa8a78 --- /dev/null +++ b/shop.php @@ -0,0 +1,360 @@ +Вы продали \"{$dress['name']}\" $kols за ".$allcost." кр."; +} + + +if(($_GET['set'] || $_POST['set'])) { + if($_GET['set']) { $set = $_GET['set']; } + if($_POST['set']) { $set = $_POST['set']; } + if(!$_GET['count']) { $_GET['count'] = 1; } + if(!is_numeric($_GET['count']) || $_GET['count'] != ((int)$_GET['count'])) { + $_GET['count'] = 0; + $count_ok = 0; + } elseif($_GET['count'] < 1) { + $_GET['count'] = 0; $count_ok = 0; + } else { + $count_ok = 1; + } + $dress = mysql_fetch_array(mysql_query("SELECT * FROM `shop` WHERE `id` = '".(int)$set."' LIMIT 1")); + if($count_ok == 0) { + echo "Неправильно введено количество"; + } elseif(($dress['massa']*$_GET['count']+$d[0]) > (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + } elseif($count_ok == 1 && ($user['money'] >= ($dress['cost']*$_GET['count'])) && ($dress['count'] >= $_GET['count'])) { + if($user['first'] == 7 && ($dress['name'] == 'Короткий Готический Меч' || $dress['name'] == 'Дубина' || $dress['name'] == 'Церемониальный Топор')) { + mysql_query("UPDATE `users` SET `kwest_shop_buy` = `kwest_shop_buy`+'1' WHERE `id` = '".$user['id']."' LIMIT 1"); + } + + for($k = 1; $k <= $_GET['count']; $k++) { + if(mysql_query("INSERT INTO `inventory` (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`,`gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`,`mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`encicl`,`artefact`,`koll`) VALUES ('{$dress['id']}','{$user['id']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}','{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron2']}','{$dress['bron3']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','{$dress['encicl']}','{$dress['artefact']}','{$dress[koll]}')")) { + $good = 1; + } else { + $good = 0; + } + } + + if($good) { + mysql_query("UPDATE `shop` SET `count` = (`count`-'".(int)$_GET['count']."') WHERE `id` = '{$set}' LIMIT 1"); + echo "Вы купили {$_GET['count']} шт. \"{$dress['name']}\"."; + $user['money'] -= (int)$_GET['count']*$dress['cost']; + mysql_query("UPDATE `users` set `money` = '".$user['money']."' WHERE `id` = {$user['id']} LIMIT 1"); + $limit = (int)$_GET['count']; + $invdb = mysql_query("SELECT `id` FROM `inventory` WHERE `name` = '".$dress['name']."' ORDER BY `id` DESC LIMIT ".$limit.""); + if($limit == 1) { + $dressinv = mysql_fetch_array($invdb); + $dressid = "cap".$dressinv['id']; + $dresscount = " "; + } else { + $dressid = ""; + while($dressinv = mysql_fetch_array($invdb)) { + $dressid .= "cap".$dressinv['id'].","; + } + $dresscount = "(x".$_GET['count'].") "; + } + $allcost = (int)$_GET['count']*$dress['cost']; + mysql_query("INSERT INTO `delo` (`author`, `pers`, `text`, `type`, `date`) VALUES ('0', '{$user['id']}', '\"".$user['login']."\" купил товар : \"".$dress['name']."\" ".$dresscount." id:(".$dressid.") [0/".$dress['maxdur']."] за ".$allcost." кр.', '1', '".time()."')"); + } + } else { + echo "Недостаточно денег или нет вещей в наличии."; + } +} +?> + + + + + + + + + + + + + + + + + + + + + +

      Государственный магазин Capital City

      + +
      + + + + + + + + + +
      + + + + + + + + + +
      Отдел "" +
      +
      + + 0 AND `present` = '' AND `tradesale` = 0 AND `podzem` = 0 ORDER BY `update` DESC"); + while($row = mysql_fetch_array($data)) { + $row['count'] = 1; + if($i == 0) { + $i = 1; $color = '#C7C7C7'; + } else { + $i = 0; $color = '#D5D5D5'; + } + echo " +"; + showitem ($row); + echo ""; + } +} else { + + + +if(!isset($_SESSION['type_sort'])) { + $_SESSION['type_sort'] = 1; + $where = ''; +} elseif($_SESSION['type_sort'] == 1) { + $where = ''; +} elseif($_SESSION['type_sort'] == 2) { + $where = ' AND `nlevel` = "'.$user['level'].'"'; +} + + +$arr_sort = array(11, 13, 12); #$item +$data = mysql_query("SELECT `id`, `img`, `name` FROM `shop` WHERE `count` > 0 AND `razdel` = '{$_GET['otdel']}' $where ORDER by `nlevel` ASC, `id` ASC"); + while($row = mysql_fetch_array($data)) { + if ($i==0) { $i = 1; $color = '#C7C7C7';} else { $i = 0; $color = '#D5D5D5'; } + echo " + "; + echo show_shop_items($row['id']); + //showitem ($row); + echo ""; + } +} +?> +
      "; + $price = $row['cost']*1; + if($data['koll']) { + $price*$data['koll']; + } + if($row['type'] == 12) { + $allcost = round($price*(1-$row['duration']/$row['maxdur']), 2); + } else { + $allcost = round($price-$row['duration']*($row['cost']/($row['maxdur']*10)), 2); + } + if($row['goden'] != 0) { + $goden_max = $row['goden']*24*60; + $goden_left = ($row['dategoden']-time())/60; + $per = $goden_left/$goden_max; + $allcost = round(($allcost*$per), 2); + } +?> +
      продать за +
      "; + ?> +
      купить + Купить несколько штук
      +
      + +
      + + + +
      + +
      + + \ No newline at end of file diff --git a/shop/index.php b/shop/index.php new file mode 100644 index 0000000..d356601 --- /dev/null +++ b/shop/index.php @@ -0,0 +1,402 @@ + + + + +Эпоха "Золотого века"Бойцовского клуба. + + + + + + + + + + + + + +
      +
      +
      + +
      +
      +
      +
      +
      +

      Коммерческий отдел old-dark поможет Вашему персонажу или клану усилиться и обрести уникальность, +а также, окажет посильную помощь в решении некоторых проблемных ситуаций. + +Оставьте заявку на любую из услуг Коммерческого отдела и в течение 3-5 дней Ваша заявка будет рассмотрена.

      + +
      + +
      + + +СОЗДАНИЕ ЛИЧНОГО АРТЕФАКТА. + + +
      +

      +Здесь Вы можете подать заявку на создание личного артефакта загрузив свое изображение и распределив доступные параметры.

      + +Требования к изображению артефакта:
      +- формат: GIF файл размером - кольцо 20х20, серьги и кулон 60х20, оружие и щит и шлем 60х60, броня и плащ 60х80, перчи и сапоги 60х40.
      +- фон: прозрачный, либо фоновое изображение (в случае "полного образа", т.е. когда образ вместе с вещами создают одну картину).
      +- вес: не более 100Кб
      +- рамка: шириной 1px - справа и снизу черная, слева и сверху белая (в случае "полного образа" рамка требуется только вокруг общей картины)


      +Запрещены к установке:
      +- картинки низкого качества; алкогольно-порно-нарко-содержания; уникальные и стандартные картинки из ББК;
      +- не подходящие к тематике игры (исключение может быть сделано в случае, если картинка по смыслу сочетается с ником или образом персонажа);
      +- артефакты содержащие спец. символы в названии


      +При оплате репутацией: сотрудники Ком.отдела проводят проверку баланса переводов Вашего персонажа, что означает необходимость свести баланс со всеми персонажами, в т.ч. кланом, супругом и не иметь открытых сделок. В противном случае в
      покупке Вам может быть отказано.
      +Оплата репутацией производится в момент подачи заявки. В случае отказа по заявке, репутация будет Вам полностью возвращена.


      +После одобрения Администрацией, артефакт появится в Вашем инвентаре и надеть его сможете только Вы.
      +Стоимость личного артефакта – На разработке. + +

      + +
      +
      + +
      + + +ОБМЕН РУН. + + +
      +

      +Здесь Вы можете обменять свои руны на другие, но только если Ваши руны не ниже 5 уровня.


      +Требования для обмена руны:
      +- руна должна быть 5го уровня или выше
      +- руна должны быть не одета


      +При обмене руны вы получаете:
      +- другую руну того же уровня и с тем же количеством рунного опыта, что и старая


      +Стоимость обмена: зависит от уровня руны. – На разработке. + +

      + +
      +
      + +
      + + +ЛИЧНЫЕ ОБРАЗЫ. + + +
      +

      +Здесь Вы можете подать заявку на установку личного образа своему или другому персонажу.

      + +Требования к изображению:
      +- формат: GIF файл размером 76х209
      +- фон: прозрачный или серый в цвет инфы (#e2e0e0), либо фоновое изображение.
      +- вес: статичного файла не более 40Кб, анимированного файла не более 80Кб


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

      +После одобрения Администрацией, образ появится в Инвентаре >> вкладка Образ >> раздел Личные образы

      +Оплата с банковского счета происходит в момент подачи заявки. В случае отказа по заявке, все средства будут полностью возвращены на счет.

      +Примечание: при установке личных образов Коммерческий отдел не несет ответственности за установку "дубликатов" (т.е. картинок, которые уже установлены в игре другими персонажами или кланами). Если жалоба в Коммерческий отдел на установку "дубликата" будет удовлетворена, то с персонажа установившего "дубликат" картинка будет снята и ему будут возвращены екры, потраченные на установку за вычетом 25% комиссионных. – На разработке. + +

      + +
      +
      + +
      + + +ЛИЧНЫЕ ИЗОБРАЖЕНИЯ ВЕЩЕЙ. + + +
      +

      +Здесь Вы можете подать заявку на установку личных изображений вещей своему или другому персонажу.

      + +Требования к изображениям:
      +- формат: GIF файл размером - кольцо 20х20, серьги и кулон 60х20, оружие и щит и шлем 60х60, броня и плащ
      60х80, перчи и сапоги 60х40.
      +- фон: прозрачный или серый в цвет инфы (#e2e0e0), либо фоновое изображение (в случае "полного образа", т.е. когда образ вместе с вещами создают одну картину).
      +- вес: статичного файла не более 20Кб, анимированного файла не более 40Кб
      +- рамка: шириной 1px - справа и снизу черная, слева и сверху белая (в случае "полного образа" рамка требуется только вокруг общей картины)


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

      +После одобрения Администрацией, изображения вещей появится в Инвентаре >> вкладка Галерея

      +Оплата с банковского счета происходит в момент подачи заявки. В случае отказа по заявке, все средства будут полностью возвращены на счет.

      +Примечание: при установке личных изображений вещей Коммерческий отдел не несет ответственности за установку "дубликатов" (т.е. картинок, которые уже установлены в игре другими персонажами или кланами).
      Если жалоба в Коммерческий отдел на установку "дубликата" будет удовлетворена, то с персонажа установившего "дубликат" картинка будет снята и ему будут возвращены екры, потраченные на установку за вычетом 25% комиссионных. – На разработке. + + +

      + +
      +
      + +
      + + +ЛИЧНЫЕ РЕЛИКТЫ. + + +
      +

      +Здесь Вы можете установить себе личные реликты.
      + +Правила покупки: После покупки одного или нескольких пакетов личных реликтов, они появятся в Вашей панели склонностей +в разделе личных реликтов.

      +Личные реликты доступны Вам, как между боями, так и во время боя (если это боевые реликты). +Использование личных реликтов экономит Вам слоты в бою и сокращает время на поиски необходимых встроек и свитков в Инвентаре.

      +Личные реликты не имеют требований и срока годности и ограничены только купленным количеством.- На разработке. + +

      , + +
      +
      + +
      + + +ЛИЧНЫЕ ПОДАРКИ. + + +
      +

      +Здесь Вы можете подать заявку на установку уникального подарка своему или другому персонажу.

      + +Требования к изображению:
      +- формат: GIF файл размером 60х60.
      +- фон: любой цвет либо фоновое изображение
      +- вес: статичного файла не более 20Кб, анимированного файла не более 40Кб
      +- рамка: шириной 1px - справа и снизу черная, слева и сверху белая

      +Запрещены к установке: картинки низкого качества; порно-нарко-пошло-оскорбительного содержания; подарки содержащие спец. символы в названии

      +После одобрения Администрацией, обладатель подарка сможет купить его в Цветочном магазине в разделе "Уникальные подарки" +по цене - 10кр за статичный подарок и 20кр за анимированный подарок. Уникальный подарок невозможно подарить анонимно или от имени клана. Подаренный уникальный подарок отображается в инфе получателя в разделе "Уникальные подарки" и не имеет срока годности.

      +Оплата с банковского счета происходит в момент подачи заявки. В случае отказа по заявке, все средства будут полностью возвращены на счет.

      +Примечание: при установке личных подарков Коммерческий отдел не несет ответственности за установку "дубликатов" (т.е. картинок, которые уже установлены в игре другими персонажами или кланами). Если жалоба в Коммерческий отдел на установку "дубликата" будет удовлетворена, то с персонажа установившего "дубликат" картинка будет снята и ему будут возвращены екры, потраченные на установку за вычетом 25% комиссионных. – На разработке. + + +

      + + +
      +
      + +
      + + +КЛАНОВЫЕ ОБРАЗЫ. + + +
      +

      + +Здесь Вы можете подать заявку на установку КЛАНОГО образа.

      +Требования к изображению:
      + +- формат: GIF файл размером 120х220
      + +- фон: прозрачный.
      + +- вес: статичного файла не более 80Кб, анимированного файла не более 160Кб
      + +Запрещены к установке: образы низкого качества; алкогольно-порно-нарко-содержания; не подходящие к тематике игры (исключение может быть сделано в случае, если образ по смыслу сочетается с ником или названием клана) + +После одобрения Администрацией, образ появится в Инвентаре >> вкладка Образ
      + +Примечание: при установке личных образов Коммерческий отдел не несет ответственности за установку "Клонов" (т.е. картинок, которые уже установлены в игре другими персонажами или кланами). Если жалоба в Коммерческий отдел на установку "Клона" будет удовлетворена, +то с персонажа установившего "клон" картинка будет снята и ему будут возвращены екры, потраченные на установку за вычетом 25% комиссионных.- На разработке. + + + +

      + +
      +
      + +
      + + +ПОКУПКА ЕВРОКРЕДИТА. + + +
      +

      +Вы можете приобрести ЕвроКредиты у наших Дилеров,Субдилеров - На разработке. + +

      + +
      +
      + +
      + + +ПРОЧИЕ УСЛУГИ. + + +
      +

      +Покупка: Голд аккаунта, Силвер аккаунта, VIP акаунта.
      +Покупка: Склоности Темного Братства,Светлого Братства,
      Нейтрального Братства, +Братства Хаоса
      +Смена:ника персонажа.
      +Смена:Даты рождения персонажа.
      +Смена:е-маила персонажа.
      +Смена:пола персонажа.
      +Смена:пароля на счет Банка персонажа.
      +Сброса:второго пароля персонажа.
      +Востановление пароля.
      +Выход с пожизненного тюремного заключения/блока (после одобрения Админимстрации).- На разработке. +

      + + +
      + +
      + +
      + + +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +Пользовательское соглашение

      old-dark © 2015 - 2016

      +
      +
      + + + + \ No newline at end of file diff --git a/shop/index_files/337e6049a4c1cedb4f0a6501e6e047eb.jpg b/shop/index_files/337e6049a4c1cedb4f0a6501e6e047eb.jpg new file mode 100644 index 0000000..0d8c3cb Binary files /dev/null and b/shop/index_files/337e6049a4c1cedb4f0a6501e6e047eb.jpg differ diff --git a/shop/index_files/3ac2b40d5d219f97b1d6ea890955cdfc.jpg b/shop/index_files/3ac2b40d5d219f97b1d6ea890955cdfc.jpg new file mode 100644 index 0000000..f069bff Binary files /dev/null and b/shop/index_files/3ac2b40d5d219f97b1d6ea890955cdfc.jpg differ diff --git a/shop/index_files/4f40b2d950a4f71a3027b255d6612e77.jpg b/shop/index_files/4f40b2d950a4f71a3027b255d6612e77.jpg new file mode 100644 index 0000000..e475530 Binary files /dev/null and b/shop/index_files/4f40b2d950a4f71a3027b255d6612e77.jpg differ diff --git a/shop/index_files/655076a6081b4751529a17a1423de9b5.jpg b/shop/index_files/655076a6081b4751529a17a1423de9b5.jpg new file mode 100644 index 0000000..ecddad1 Binary files /dev/null and b/shop/index_files/655076a6081b4751529a17a1423de9b5.jpg differ diff --git a/shop/index_files/674a09e06a92d8594c1cf128c56d885a.jpg b/shop/index_files/674a09e06a92d8594c1cf128c56d885a.jpg new file mode 100644 index 0000000..5ea9c97 --- /dev/null +++ b/shop/index_files/674a09e06a92d8594c1cf128c56d885a.jpg @@ -0,0 +1,7 @@ + + +404 Not Found + +

      Not Found

      +

      The requested URL /pics/674a09e06a92d8594c1cf128c56d885a.jpg was not found on this server.

      + diff --git a/shop/index_files/Thumbs.db b/shop/index_files/Thumbs.db new file mode 100644 index 0000000..d5c0da1 Binary files /dev/null and b/shop/index_files/Thumbs.db differ diff --git a/shop/index_files/b36577996e80254b6a4feda27f63703d.jpg b/shop/index_files/b36577996e80254b6a4feda27f63703d.jpg new file mode 100644 index 0000000..7d4e0f4 Binary files /dev/null and b/shop/index_files/b36577996e80254b6a4feda27f63703d.jpg differ diff --git a/shop/index_files/beee5222c8127081c0bc441264090884.jpg b/shop/index_files/beee5222c8127081c0bc441264090884.jpg new file mode 100644 index 0000000..6738122 Binary files /dev/null and b/shop/index_files/beee5222c8127081c0bc441264090884.jpg differ diff --git a/shop/index_files/cigame-logo-ny.png b/shop/index_files/cigame-logo-ny.png new file mode 100644 index 0000000..63875d1 Binary files /dev/null and b/shop/index_files/cigame-logo-ny.png differ diff --git a/shop/index_files/css b/shop/index_files/css new file mode 100644 index 0000000..c29dd1d --- /dev/null +++ b/shop/index_files/css @@ -0,0 +1,224 @@ +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/Q47Ro23nlKqZrOLipd3-SyEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/qkE6YsKPRiYUugBb1_QwHCEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/N2U74xxQEyaTBF6QLZRr1CEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/1_daFS3X6gkNOcmGmHl7UiEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/G-mm5mDezDSs-RvEL7XAECEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/fVu1p3782bqS2z-CaJvp9iEAvth_LlrfE80CYdSH47w.woff2) format('woff2'); + unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/eCpfeMZI7q4jLksXVRWPQ_k_vArhqVIZ0nv9q090hN8.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPede9INZm0R8ZMJUtfOsxrw.woff2) format('woff2'); + unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPbpHcMS0zZe4mIYvDKG2oeM.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPRquHyap-BLkxbFhcQRhghg.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPTyJJ3dJfU6-XWVNf-DPRbs.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPTh33M2A-6X0bdu871ruAGs.woff2) format('woff2'); + unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPRHJTnCUrjaAm2S9z52xC3Y.woff2) format('woff2'); + unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPYWiMMZ7xLd792ULpGE4W_Y.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz6-j2U0lmluP9RWlSytm3ho.woff2) format('woff2'); + unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz5X5f-9o1vgP2EXwfjgl7AY.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNzxWV49_lSm1NYrwo-zkhivY.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz6aRobkAwv3vxw3jMhVENGA.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz_8zf_FOSsgRmwsS7Aa9k2w.woff2) format('woff2'); + unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNzz0LW-43aMEzIO6XUTLjad8.woff2) format('woff2'); + unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz-gdm0LZdjqr5-oayXSOefg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvLPaLDTSXeXFRL0dx0NiHII.woff2) format('woff2'); + unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvNkZ6ofoXFVR94fBb90XSvU.woff2) format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvO0TTzR8Cjc_q-rx2cfsDws.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvLY42KghHoOJT8APv0kV5JI.woff2) format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvBleLRUdNWOtq4SldHKv7HI.woff2) format('woff2'); + unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvOIaMZP5eRGvEWe_CNIU_oY.woff2) format('woff2'); + unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvHNuWYKPzoeKl5tYj8yhly0.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; +} diff --git a/shop/index_files/dct.js b/shop/index_files/dct.js new file mode 100644 index 0000000..b04cefc --- /dev/null +++ b/shop/index_files/dct.js @@ -0,0 +1 @@ +!function(){function e(){}function n(e){var n="";if(n+=r(),n+=G,n+=L,n+=J,n+="/",n+=K,n+="?event="+e[1],n+="&time="+Q,n+="&__v="+Math.floor(1e5*Math.random()),d(e[2])){e[2]=g(e[2]);var t=_(e[2]);t&&(n+="&"+t)}return n}function r(){return w&&w.location&&"https:"===w.location.protocol?"https:":"http:"}function t(){for(var e=0,n=N.length;n>e;e++)if(N[e][0]===k){J=N[e][1],K=N[e][2],N[e][3]&&(G=N[e][3]),N.splice(e,1),i();break}}function o(r){r=v?u(r):f(r);var t=n(r),o=s(t);h instanceof e&&console.log(o)}function i(){if(J&&K){var e=N.length;if(e)for(var n=0;e>n;n++)a(N[n]);N=[]}else t()}function a(e){c(e)&&m(e[0])&&(e[0]===C?p(e[1],z)&&(L=e[1]):y(e[1])&&e[0]===D&&o(e))}function f(e){var n=e[2]||{};return w&&w.location&&(n.url=w.location.toString()),h.referrer&&(n.referrer=h.referrer),h.cookie&&(n.cookie=h.cookie),"undefined"!=typeof navigator&&(n.user_agent=navigator.userAgent),e[2]=n,e}function u(e){var n=e[2]||{};return h.referrer&&(n.url=h.referrer,n.referrer=""),h.cookie&&(n.cookie=h.cookie),"undefined"!=typeof navigator&&(n.user_agent=navigator.userAgent),e[2]=n,e}function c(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"length")}function d(e){return null!==e&&"object"==typeof e}function l(e){return"number"==typeof e&&13===e.toString().length}function p(e,n){if("string"==typeof e){if("undefined"!=typeof Array.prototype.indexOf)return-1!==n.indexOf(e);for(var r=0;r ww) { + var posLeft = e.pageX - (indent + boxWidth); + var cssArr = { + top: e.pageY - 150, + left: posLeft + } + } + else { + var cssArr = { + top: (e.pageY - 150), + left: (e.pageX + 35) + } + } + + thingWidget.css(cssArr); + } + }).mouseover(); + + + $('.thing-widget').hover( + function() { + var ww = $(window).width(); + var indent = 35; + var boxWidth = 300; + + if ((mouseX + indent + boxWidth) > ww) { + var posLeft = mouseX - (indent + boxWidth); + var cssArr = { + top: mouseY - 150, + left: posLeft + } + } + else { + var cssArr = { + top: (mouseY - 150), + left: (mouseX + 35) + } + } + + var that = $('div.tw[data-id="' + $(this).attr('data-target') +'"]'); + thingWidget = that; + that.stop(true).queue('fx', function(){ + that.css(cssArr).show('fast').dequeue('fx'); + }); + }, + function() { + var that = $('div.tw[data-id="' + $(this).attr('data-target') +'"]'); + that.stop(true).queue('fx', function(e){ + that.hide('fast').dequeue('fx'); + }); + } + ); + + + if ($('body').find('ul.admin-menu').size() > 0) + { + $('ul.admin-menu').children('li').click(function(){ + if ($(this).is('.exit')) + { + $('div.admin-data').hide('fast'); + $('ul.admin-menu').children('li').removeClass('active'); + $('div.admin-panel').removeClass('active'); + } + else if (!$(this).is('.active')) + { + $('ul.admin-menu').children('li').removeClass('active'); + $(this).addClass('active'); + $('div.admin-panel').addClass('active'); + + if (!$(this).children('a').is('.hierarchy')) + { + $('div.admin-content').addClass('rf'); + } + else + { + $('div.admin-content').removeClass('rf'); + } + + var that = $('div.admin-data[data-id="' + $(this).children('a').attr('data-target') +'"]'); + $('div.admin-data').hide('fast'); + that.show('fast'); + } + }); + } + + + /* GLOBAL DROPPED MENU */ + if ($('body').find('ul.dropped-down').size() > 0) + { + $('ul.dropped-down').click(function() + { + if($(this).is('.open')) + { + $(this).children('li').hide('fast', function(){ + $('ul.dropped-down').removeClass('open'); + }); + } + else + { + $(this).children('li').show('fast', function(){ + $('ul.dropped-down').addClass('open'); + }); + } + }); + } + + + /* GLOBAL SUB MENU */ + if ($('body').find('li.sub-menu').size() > 0) + { + $('li.sub-menu').hover( + function() { + $(this).children('ul.sub-menu').slideDown(300); + }, + function() { + $(this).children('ul.sub-menu').slideUp(300); + } + ); + } + + + /* GLOBAL USER SUB MENU */ + if ($('body').find('li.sub-menu-click').size() > 0) + { + $('li.sub-menu-click').click(function(){ + if(!$(this).children('ul.sub-menu-click').is(':visible')) { + $(this).children('ul.sub-menu-click').slideDown(300); + } + else { + $(this).children('ul.sub-menu-click').slideUp(300); + } + }); + + } + + + /* MAIN AUTH FORM */ + if ($('body').find('form.rand-auth').size() > 0) + { + $('div.checkbox').click(function(){ + if($(this).is('.active')) { + $(this).removeClass('active'); + $(this).children('input').removeAttr('checked'); + } + else { + $(this).addClass('active'); + $(this).children('input').attr('checked', 'checked'); + } + }); + } + /* + if ($('body').find('a.subscriber-auth').size() > 0) + { + $('a.subscriber-auth').click(function(e){ + $('li.subscriber').children('div.auth').slideDown(100); + rel = $('li.subscriber').children('div.auth').attr('data-rel'); + if (rel == 'right') { + $('div.right').css('padding-top', '155px'); + } + e.preventDefault(); + }); + } + */ + $(document).mouseup(function (e) { + var div = $("div.inmain-auth"); + if (!div.is(e.target) && div.has(e.target).length === 0) { + div.hide(); + if ($('div.inmain-auth').attr('data-rel') == 'right') { + $('div.right').removeAttr('style'); + } + } + }); + /* ******************* */ + + + /* FAQ QUESTIONS */ + if($('body').find('div.bfaq').size() > 0) + { + $('a.question').click(function(e){ + if($(this).is('.active')) { + $(this).removeClass('active'); + $(this).parent('.each').children('.answer').slideUp(400); + } + else { + $('.question').removeClass('active'); + $('.answer').slideUp(400); + $(this).addClass('active'); + $(this).parent('.each').children('.answer').slideDown(400); + } + e.preventDefault(); + }); + } + /* ******************* */ + + + if ($('body').find('textarea#content').size() > 0) + { + $('textarea#content').redactor({ + lang: 'ru', + air: false, + autoclear: false, + imageGetJson: false, + imageUpload: '/picture-upload/', + toolbar: 'mini' + }); + } + if ($('body').find('textarea#faq-content').size() > 0) + { + $('textarea#faq-content').redactor({ + lang: 'ru', + air: false, + autoclear: false, + toolbar: 'faq' + }); + } + + if ($('body').find('textarea#admin-content-plain').size() > 0) + { + $('textarea#admin-content-plain').redactor({ + lang: 'ru', + air: false, + autoclear: false, + imageGetJson: false, + imageUpload: '/picture-upload/', + toolbar: 'admincontent' + }); + } + + if ($('body').find('textarea#admin-content-plain-added').size() > 0) + { + $('textarea#admin-content-plain-added').redactor({ + lang: 'ru', + air: false, + autoclear: false, + imageGetJson: false, + imageUpload: '/picture-upload/', + toolbar: 'admincontent' + }); + } + + if ($('body').find('div#notice').size() > 0) + { + if ($('div#notice').is('.fly')) + { + setTimeout(function(){ + $('div#notice').animate({ + opacity: 0, + top: '-=100px' + }, 1000); + }, 3500); + } + } + + if ($('body').find('input.clean').size() > 0) + { + $('input.clean').val(''); + } + + if ($('body').find('.goods').size() > 0) { + $('.goods').children('.item').click(function(){ + var item_id = '.item-' + $(this).attr('data-id'); + if ($(this).is('.active')) { + $(this).removeClass('active'); + $(item_id).slideUp('fast'); + } + else { + $('.goods').children('.item').removeClass('active'); + $(this).addClass('active'); + $('.goods-pay').slideUp('fast', function(){ + setTimeout(function(){ + $(item_id).slideDown('slow'); + }, 400); + }); + } + }); + } + + + $('ul#switch').children('li').children('a').click(function(e){ + + if (!$(this).parent('li').is('active')) { + + $('ul#switch').children('li').removeClass('active'); + $(this).parent('li').addClass('active'); + var dataRel = $(this).attr('data-rel'); + + if($('.goods-pay').is(':visible')) { + $('.goods').children('.item').removeClass('active'); + $('.goods-pay').slideUp('fast'); + } + + if (dataRel == 0) { + $('.goods').children('.item').show(); + } + else if (dataRel == 1) { + $("div.item[data-target='2']").hide(); + } + else if (dataRel == 2) { + $("div.item[data-target='1']").hide(); + } + $("div.item[data-target='" + dataRel +"']").show(); + } + + e.preventDefault(); + }); + + + $('ul#switch-menu').children('li').children('a').click(function(e){ + if(!$(this).parent('li').is('.active')) { + $('ul#switch-menu').children('li').removeClass('active'); + $(this).parent('li').addClass('active'); + var dataRel = $(this).attr('data-rel'); + $('.switch-target').hide(); + $("div.switch-target[data-id='" + dataRel +"']").show(); + } + e.preventDefault(); + }); + + + $('input#shop-val-dimond').bind('keyup', function(){ + var value = $(this).val() * 1; + + if ($.isNumeric(value) && value >= 1) { + if ($(this).parent('div').is('.invalid')) { + $(this).parent('div').removeClass('invalid'); + } + + var newPrice = Math.ceil(value / (shop_price_amn * 1)); + $('a.shop-money-dimond').text('Купить за ' + newPrice + ' руб').attr('data-price', value); + + if($(this).is('.summa-bonus')) { + + var actual_summa = 0; + + if (value >= 5000) { + actual_summa = 5000; + actual_val = Math.ceil(value * 0.2); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 3000) { + actual_summa = 3000; + actual_val = Math.ceil(value * 0.17); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 1500) { + actual_summa = 1500; + actual_val = Math.ceil(value * 0.15); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 1000) { + actual_summa = 1000; + actual_val = Math.ceil(value * 0.12); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 500) { + actual_summa = 500; + actual_val = Math.ceil(value * 0.1); + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (value >= 150) { + actual_summa = 150; + actual_val = Math.ceil(value * 0.05); + actual_text = '+' + actual_val + ' бесплатно'; + } + + var summa_bonus_name = 'span.summa-bonus-dimond-' + actual_summa; + + if (actual_summa >= 150) { + $(summa_bonus_name).text(actual_text).show(); + $(this).width(120); + } + if (actual_summa < 1) { + $('span.summa-bonus').hide(); + $(this).width(256); + } + } + } + else { + if (!$.isNumeric(value)) { + $(this).parent('div').addClass('invalid'); + } + $('a.shop-money-dimond').text($('a.shop-money-dimond').attr('data-default')).attr('data-price', 0); + } + }); + + + $('input#shop-val-gold').bind('keyup', function(){ + var value = $(this).val() * 1; + var amnVal = value / 10; + + if ($.isNumeric(value) && value > 1) { + if ($(this).parent('div').is('.invalid')) { + $(this).parent('div').removeClass('invalid'); + } + var newPrice = Math.ceil(value / (shop_price_zmn * 1)); + $('a.shop-money-gold').text('Купить за ' + newPrice + ' руб').attr('data-price', value / 10); + + if($(this).is('.summa-bonus')) { + + var actual_summa = 0; + + if (amnVal >= 5000) { + actual_summa = 5000; + actual_val = Math.ceil(amnVal * 0.2) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 3000) { + actual_summa = 3000; + actual_val = Math.ceil(amnVal * 0.17) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 1500) { + actual_summa = 1500; + actual_val = Math.ceil(amnVal * 0.15) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 1000) { + actual_summa = 1000; + actual_val = Math.ceil(amnVal * 0.12) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 500) { + actual_summa = 500; + actual_val = Math.ceil(amnVal * 0.1) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + else if (amnVal >= 150) { + actual_summa = 150; + actual_val = Math.ceil(amnVal * 0.05) * 10; + actual_text = '+' + actual_val + ' бесплатно'; + } + + var summa_bonus_name = 'span.summa-bonus-gold-' + actual_summa; + + if (actual_summa >= 150) { + $(summa_bonus_name).text(actual_text).show(); + $(this).width(120); + } + if (actual_summa < 1) { + $('span.summa-bonus').hide(); + $(this).width(256); + } + } + } + else { + if (!$.isNumeric(value)) { + $(this).parent('div').addClass('invalid'); + } + $('a.shop-money-gold').text($('a.shop-money-gold').attr('data-default')).attr('data-price', 0); + } + }); + + + $('a.shop-pay').click(function(e){ + if (($(this).attr('data-price') * 1) < 1) { + if ($(this).is('.shop-money-dimond')) { + $('input#shop-val-dimond').parent('div').addClass('invalid'); + } + if ($(this).is('.shop-money-gold')) { + $('input#shop-val-dimond').parent('div').addClass('invalid'); + } + } + else if (!$(this).is('.shop-pay-block')) { + + $(this).addClass('shop-pay-block'); + + if ($(this).is('.shop-money-gold')) { + var callRequest = { + 'amount': $(this).attr('data-price'), + 'gold': $('input#shop-val-gold').val() + } + } else { + var callRequest = { + 'amount': $(this).attr('data-price') + } + } + + system.call(urlShopPay, callRequest, function(data){ + + if (data.error) { + if (data.error.code == 'INVALID_USER') { + window.location.href = '/sign/'; + } else if (data.error.code == 'INVALID_ERROR') { + $('div#fly-fail').fadeIn('fast'); + } + } else if (data.success) { + XPSLightBox.open('https://secure.xsolla.com/paystation2/?access_token=' + data.success.token, 750, 620); + } + }); + + setTimeout(function(button){ + $('a.shop-pay').removeClass('shop-pay-block'); + }, 3500); + } + e.preventDefault(); + }); + + $('.goods-close').click(function(){ + $(this).parent('div.goods-pay').slideUp('fast'); + $('.goods').children('.item').removeClass('active'); + }); + + $('#fly-fail').children('.close').click(function(){ + $(this).parent('div').fadeOut('fast'); + }); + $('#fly-result').children('.close').click(function(){ + $(this).parent('div').fadeOut('fast'); + }); + + $('.tooltip').tooltip({ + show: null, + position: { + my: "center bottom", + at: "center top-20" + }, + open: function( event, ui ) { + ui.tooltip.animate({ top: ui.tooltip.position().top + 10 }, "fast" ); + } + }); + + /* IGNORED EVENTS */ + $('a.ignore').click(function(e){ + e.preventDefault(); + }); + $('form.ignore').submit(function(e){ + e.preventDefault(); + }); + + + /* VIP ACCOUNT */ + if ($('body').find('div.vip-lib').size() > 0) + { + var cl = account_stat_vip*1; + var cr = account_stat_rub*1; + if (cr >= 1) vipLoad(); + + $('span.bnext').click(function(){ + var cb = $('div.lib-box-vi').attr('data-id'); + var cbn = (cb*1) + 1; + if (cbn <= 12) { + var next = 'div.lib-box-' + cbn; + var nextNM = ($(next).attr('data-next')*1) - cr; + var needM = $(next).attr('data-next')*1; + $('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){ + $(next).addClass('lib-box-vi').fadeIn('slow'); + $('div.vip-line').children('span.prefix').text('VIP ' + cl); + $('div.vip-line').children('span.suffix').text('VIP ' + (cbn + 1)); + + if (cbn == 12) { + $('span.vip-desc').text('Следующий уровень не доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text('> 22000'); + } else if (nextNM < 1) { + $('span.vip-desc').text('Этот уровень VIP вам доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text(needM); + vipLineLength(cr, needM); + } else { + $('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет'); + $('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled'); + $('div.line').children('span.need').text(nextNM); + vipLineLength(cr, needM); + } + }); + } + }); + + $('span.blast').click(function(){ + var cb = $('div.lib-box-vi').attr('data-id'); + var cbn = (cb*1) - 1; + if (cbn >= 0) { + var last = 'div.lib-box-' + cbn; + var nextNM = ($(last).attr('data-next')*1) - cr; + var needM = $(last).attr('data-next')*1; + $('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){ + $(last).addClass('lib-box-vi').fadeIn('slow'); + $('div.vip-line').children('span.prefix').text('VIP ' + cl); + $('div.vip-line').children('span.suffix').text('VIP ' + cb); + + if (nextNM < 1) { + $('span.vip-desc').text('Этот уровень VIP вам доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text(needM); + vipLineLength(cr, needM); + } else { + $('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет'); + $('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled'); + $('div.line').children('span.need').text(nextNM); + vipLineLength(cr, needM); + } + }); + } + }); + + $('a.vip-pay-disabled').live('click', function(e){ + e.preventDefault(); + }); + } + + + function vipLineLength (money, needMoney) + { + var min = 30; + if (money >= 10) min = 38; + if (money >= 100) min = 45; + if (money >= 1000) min = 55; + if (money >= 10000) min = 65; + + var max = 669; + var len = max * ((money*1) / (needMoney*1)); + var cw = $('div.inline').width()*1; + + cw = cw < min ? min : cw; + len = len < min ? min : len; + len = len > max ? max : len; + + if (len >= cw) { + var w = len - cw; + $('div.inline').animate({ + width: '+=' + w + 'px' + }, 500); + } else { + var w = cw - len; + $('div.inline').animate({ + width: '-=' + w + 'px' + }, 500); + } + } + + + function vipLoad (cl, cr) + { + var cl = account_stat_vip*1; + var cr = account_stat_rub*1; + + if (cl <= 12) { + var next = 'div.lib-box-' + cl; + var nextNM = ($(next).attr('data-next')*1) - cr; + var needM = $(next).attr('data-next')*1; + $('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){ + $(next).addClass('lib-box-vi').fadeIn('slow'); + $('div.vip-line').children('span.prefix').text('VIP ' + cl); + $('div.vip-line').children('span.suffix').text('VIP ' + (cl + 1)); + + if (cl == 12) { + $('span.vip-desc').text('Следующий уровень не доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text('> 22000'); + } else if (nextNM < 1) { + $('span.vip-desc').text('Этот уровень VIP вам доступен'); + $('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay'); + $('div.line').children('span.need').text(needM); + vipLineLength(cr, needM); + } else { + $('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет'); + $('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled'); + $('div.line').children('span.need').text(nextNM); + vipLineLength(cr, needM); + } + }); + } + } + + if ($('body').find('a.lb1').size() > 0) { + jQuery('a.lb1').lightBox({ + overlayBgColor: '#000', + overlayOpacity: 0.8, + imageLoading: '/images/724.gif' + }); + } + if ($('body').find('a.lb2').size() > 0) { + jQuery('a.lb2').lightBox({ + overlayBgColor: '#1D2F35', + overlayOpacity: 0.6, + imageLoading: '/images/preloader_724_1.gif' + }); + } + if ($('body').find('a.lb3').size() > 0) { + jQuery('a.lb3').lightBox({ + overlayBgColor: '#1D2F35', + overlayOpacity: 0.6, + imageLoading: '/images/preloader_724_1.gif' + }); + } + if ($('body').find('a.lib-image').size() > 0) { + jQuery('a.lib-image').lightBox({ + overlayBgColor: '#1D2F35', + overlayOpacity: 0.6, + imageLoading: '/images/preloader_724_1.gif', + imageBtnClose: '/images/lightbox-btn-close.gif', + imageBtnPrev: '/images/lightbox-btn-prev.gif', + imageBtnNext: '/images/lightbox-btn-next.gif', + imageBlank: '/images/lightbox-blank.gif', + txtImage: 'Изображение', + txtOf: 'из' + }); + } + if ($('body').find('a.lv1').size() > 0) { + $('a.lv1').click(function(){ + $('body').append('
      '); + }); + $('#jquery-overlay').live('click', function(){ + $('#jquery-lightbox').remove(); + $('#jquery-overlay').fadeOut(function() { $('#jquery-overlay').remove(); }); + }); + $('#lightbox-secNav-btnClose').live('click', function(e){ + $('#jquery-lightbox').remove(); + $('#jquery-overlay').fadeOut(function() { $('#jquery-overlay').remove(); }); + e.preventDefault(); + }); + } + + $('.invite-select').change(function(){ + $(this).addClass('selected'); + }); + + + /* FORMS */ + $('input.alter').keyup(function() + { + if ($(this).parent('.field').is('.alarm')) + { + $(this).parent('.field').removeClass('alarm'); + $(this).parent('.field').parent('fieldset').children('p.note').slideUp(300); + } + }); + + $('ul.radio').children('li').click(function() + { + var dataTarget = 'input#' + $(this).parent('ul').attr('data-target'); + var dataRel = $(this).attr('data-rel'); + + $(this).parent('ul').parent('div.field').removeClass('alarm success'); + $(this).parent('ul').children('li').removeClass('active'); + $(this).addClass('active'); + $(dataTarget).val(dataRel); + }); + + }); + + + + diff --git a/shop/index_files/f2072cc76b5735960e01fd0f4471596d.jpg b/shop/index_files/f2072cc76b5735960e01fd0f4471596d.jpg new file mode 100644 index 0000000..0ac562e Binary files /dev/null and b/shop/index_files/f2072cc76b5735960e01fd0f4471596d.jpg differ diff --git a/shop/index_files/faq.css b/shop/index_files/faq.css new file mode 100644 index 0000000..d0b1f56 --- /dev/null +++ b/shop/index_files/faq.css @@ -0,0 +1,203 @@ +/* Часто задаваемые вопросы */ +div.frame.faq > div.left { + width: 270px; + padding-top: 140px; + padding-bottom: 0px; + position: absolute; + top: 0px; + left: 35px; + bottom: 0px; + background-color: rgba(0,0,0,0.2); + background-image: url(/pic/store/left-gradient.png); + background-repeat: repeat-y; + background-position: right top; +} +div.frame.faq > div.right { + position: relative; + width: 656px; + margin-left: 278px; + background: url(/pic/store/right-back.png) top right no-repeat; +} +div.frame.faq > div.right div.bfaq, +div.frame.faq > div.right div.faq-form { + padding: 32px 28px; +} +div.frame.faq > div.right div.category { + margin-bottom: 14px; +} +div.frame.faq > div.right div.category h1, +div.frame.faq > div.right div.faq-form h1 { + font-size: 20px; + font-weight: normal; + text-align: left; + color: #f1e5d5; + padding-top: 10px; + padding-bottom: 6px; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-transform: uppercase; +} +div.frame.faq > div.right div.category div.sep, +div.frame.faq > div.right div.faq-form div.sep { + border-top: 1px solid #0b0f12; + border-bottom: 1px solid #26353a; + margin-bottom: 12px; +} +div.frame.faq > div.right div.category div.each { + margin-bottom: 12px; +} +div.frame.faq > div.right div.category div.each a.question { + display: block; +} +div.frame.faq > div.right div.category div.each a.question span { + font-size: 14px; + padding: 0px 1px 2px 1px; + border-bottom: 1px dashed #988f80; + color: #988f80; + display: inline-block; +} +div.frame.faq > div.right div.category div.each a.question:hover span, +div.frame.faq > div.right div.category div.each a.question.active span { + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + color: #D8D6D2; + border-bottom: 1px dashed #D8D6D2; +} +div.frame.faq > div.right div.each div.answer { + display: none; + padding: 6px 6px 6px 20px; + margin-top: 8px; + margin-bottom: 8px; +} +div.frame.faq > div.right div.each div.answer p { + font-size: 13px; + color: #988f80; +} + +div.frame.faq > div.right div.each div.answer a { + font-size: 13px; + color: #988f80; + border-bottom: 1px dashed #988f80; +} + +div.frame.faq > div.right div.each div.answer a:hover { + color: #E0DFDD; + border-bottom: 1px dashed #E0DFDD; +} + +div.frame.faq > div.right div.faq-form div.send { + position: absolute; + top: 78px; + left: -4px; + right: 0px; + bottom: -8px; + background-color: rgba(0,0,0,0.9); + z-index: 1100; + display: none; +} + +div.frame.faq > div.right div.faq-form div.send p { + text-align: center; + color: #f1e5d5; + font-size: 18px; + font-style: italic; + padding-top: 160px; +} + + +/* ЛЕВОЕ МЕНЮ БИБЛИОТЕКИ */ +div.frame.faq > div.left > ul.menu { + list-style: none; +} +div.frame.faq > div.left > ul.menu + ul.menu { + margin-top: 16px; +} +div.frame.faq > div.left > ul.menu li { + display: block; + position: relative; +} +div.frame.faq > div.left > ul.menu li:nth-child(3n+2) { + background: url(/pic/store/menu/button1_n.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li:nth-child(2n+1) { + background: url(/pic/store/menu/button2_n.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li:nth-child(2n+2) { + background: url(/pic/store/menu/button3_n.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li:hover:nth-child(3n+2) { + background: url(/pic/store/menu/button1_s.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li:hover:nth-child(2n+1) { + background: url(/pic/store/menu/button2_s.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li:hover:nth-child(2n+2) { + background: url(/pic/store/menu/button3_s.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li.active:nth-child(3n+2) { + background: url(/pic/store/menu/button1_p.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li.active:nth-child(2n+1) { + background: url(/pic/store/menu/button2_p.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li.active:nth-child(2n+2) { + background: url(/pic/store/menu/button3_p.jpg) top left no-repeat; +} +div.frame.faq > div.left > ul.menu li:hover a { + color: #43b1ec; + -moz-text-shadow: 0 0 2px rgba(0,0,0,1); + -webkit-text-shadow: 0 0 2px rgba(0,0,0,1); + text-shadow: 0 0 2px rgba(0,0,0,1); +} +div.frame.faq > div.left > ul.menu li.active a { + color: #43b1ec; + -moz-text-shadow: 0 0 3px rgba(0,0,0,1); + -webkit-text-shadow: 0 0 3px rgba(0,0,0,1); + text-shadow: 0 0 3px rgba(0,0,0,1); + background-image: url(/pic/store/menu/line_button_select.jpg), url(/pic/store/menu/line_button_select.jpg); + background-position: 70px top, 70px bottom; + background-repeat: no-repeat; +} +div.frame.faq > div.left > ul.menu li.active::before { + content: " "; + position: absolute; + top: -200px; + right: 0px; + width: 1px; + height: 200px; + background: url(/pic/store/menu/line_gradient_t.jpg) center bottom no-repeat; +} +div.frame.faq > div.left > ul.menu li.active::after { + content: " "; + position: absolute; + bottom: -200px; + right: 0px; + width: 1px; + height: 200px; + background: url(/pic/store/menu/line_gradient_b.jpg) center top no-repeat; +} +div.frame.faq > div.left > ul.menu li a { + font-size: 14px; + color: #3a74a6; + padding-left: 20px; + display: block; + line-height: 30px; +} +div.frame.faq > div.left > ul.menu li:first-child { + line-height: 36px !important; + background: none !important; + margin-bottom: 8px; +} +div.frame.faq > div.left > ul.menu li span { + display: block; + color: #f1e5d5; + padding-left: 20px; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-transform: uppercase; + font-size: 17px; + font-weight: bold; +} \ No newline at end of file diff --git a/shop/index_files/form.css b/shop/index_files/form.css new file mode 100644 index 0000000..0922007 --- /dev/null +++ b/shop/index_files/form.css @@ -0,0 +1,657 @@ +input[type=text], +input[type=password], +button, +select, +textarea { + background: none repeat scroll 0 0 transparent; + font-size: 12px; + /*font-family: "PT Sans","Trebuchet MS",segoe ui,trebuchet ms,Verdana,Arial,Tahoma,sans-serif;*/ + font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif; + color: #888888; + border: 0 solid; + padding: 0px 6px; +} + +input[type=text], +input[type=password], +textarea { + -moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.1); + box-shadow: inset 0 0 1px rgba(0,0,0,0.1); +} + +button { + cursor: pointer; + color: #ffffff; +} + +input:placeholder { color: #9d9d9d } +input::-webkit-input-placeholder { color: #9d9d9d } +input:-moz-placeholder { color: #9d9d9d } +input.placeholder { color: #9d9d9d } +input:-ms-input-placeholder { color: #9d9d9d } + +input:focus:placeholder { color: #c2c2c2 } +input:focus::-webkit-input-placeholder { color: #c2c2c2 } +input:focus:-moz-placeholder { color: #c2c2c2 } +input.placeholder:focus { color: #c2c2c2 } +input:-ms-input-placeholder:focus { color: #c2c2c2 } + +form.default fieldset { + margin-bottom: 16px; +} + +form.default fieldset.textarea div.field { + min-height: 120px; +} + +form.default fieldset div.field { + border: 1px solid #d6d6d6; + height: 30px; + background-color: #f4f4f4; + position: relative; +} + +form.default fieldset div.field.radio { + +} + +form.default fieldset div.field.alarm { + border: 1px solid #D66060 !important; +} +form.default fieldset div.field.success { + border: 1px solid #458C44 !important; +} + +form.default fieldset div.field:hover, +form.default fieldset div.field:focus { + background-color: #ffffff; + border: 1px solid #bebebe; +} + +fieldset div.field input[type=text], +fieldset div.field input[type=password], +fieldset div.field select, +fieldset div.field textarea, +fieldset div.button button { + display: block; + font-size: 14px; +} + +fieldset div.field.radio ul { + list-style: none; + display: block; + width: 100%; + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + position: relative; + height: 30px; +} + +fieldset div.field.radio ul li { + display: block; + float: left; + color: #7C7C7C; + cursor: pointer; + text-align: center; + font-size: 14px; + height: 30px; + line-height: 30px; + position: relative; + background-color: #f4f4f4; +} + +fieldset div.field.radio ul li:hover { + backgroun-position: top left; + background-repeat: repeat-x; + background-image: url(/i/form/bg-ul-hover.png); + background-color: #ffffff; + color: #080c16; +} + +fieldset div.field.radio ul li.active { + backgroun-position: top left; + background-repeat: repeat-x; + background-image: url(/i/form/bg-ul-active.png); + background-color: #ffffff; + color: #080c16; +} + +fieldset div.field.radion ul li:first-child { + -webkit-border-radius: 3px 0px 0px 3px; + -moz-border-radius: 3px 0px 0px 3px; + border-radius: 3px 0px 0px 3px; +} + +fieldset div.field.radion ul li:last-child { + -webkit-border-radius: 0px 3px 3px 0px; + -moz-border-radius: 0px 3px 3px 0px; + border-radius: 0px 3px 3px 0px; +} + +fieldset div.field.radio ul li+li::before { + content: ""; + width: 0px; + height: 30px; + position: absolute; + top: 0px; + left: 0px; + border-left: 1px solid #eaeaea; + border-right: 1px solid #d6d6d6; +} + +fieldset div.field.radio ul.e2 li { + width: 50%; +} + +form.default fieldset > label { + font-size: 13px; + font-weight: bold; + display: block; + margin-bottom: 5px; + -moz-text-shadow: 0 0 1px rgba(0,0,0,0.4); + -webkit-text-shadow: 0 0 1px rgba(0,0,0,0.4); + text-shadow: 0 0 1px rgba(0,0,0,0.4); + font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif; +} + +form.default fieldset > label > span.explain { + display: inline-block; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + color: #ffffff; + background-color: #080c16; + width: 14px; + line-height: 14px; + font-size: 9px; + font-weight: bold; + text-align: center; +} + +form.default fieldset > p.desc { + font-size: 12px; + margin-top: 3px; + margin-bottom: 3px; + color: #858585; +} + +form.default fieldset div.button { + height: 32px; + -moz-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); + -webkit-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); + text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); +} + +form.default fieldset div.button button { + width: 220px !important; + font-size: 14px; + font-weight: bold; + margin-right: 8px; +} + +div.button button, +div.field input[type=text], +div.field input[type=password], +div.field select { + width: 100%; + height: 100%; + outline: 0 none; + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} + +div.field textarea { + display: block; + padding: 5px; + -moz-box-sizing: border-box; + box-sizing: border-box; + height: 100%; + outline: 0 none; + width: 100%; + resize: none; +} + +form.default fieldset div.field, +form.default fieldset div.button, +form.default button { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + outline: 0 none; +} + + + +/* FORM GLUE */ +form.glue fieldset div.field { + height: 38px; + background-color: #f4f4f4; + position: relative; +} + +form.glue > div.glue input[type=text] +form.glue > div.glue input[type=password] { + border-radius: 0px; +} + +form.glue > div.glue fieldset:first-child div.field { + -webkit-border-radius: 7px 7px 0px 0px; + -moz-border-radius: 7px 7px 0px 0px; + border-radius: 7px 7px 0px 0px; + border-top: 1px solid #2F2F2F; +} + +form.glue > div.glue fieldset div.field { + border-left: 1px solid #2F2F2F; + border-right: 1px solid #2F2F2F; +} + +form.glue > div.glue fieldset:last-child div.field { + -webkit-border-radius: 0px 0px 7px 7px; + -moz-border-radius: 0px 0px 7px 7px; + border-radius: 0px 0px 7px 7px; + border-bottom: 1px solid #2F2F2F; +} + +form.glue div.button { + margin-top: 18px; + height: 36px; + position: relative; +} + +form.glue div.button button { + -webkit-border-radius: 7px; + -moz-border-radius: 7px; + border-radius: 7px; + font-size: 14px; + font-weight: bold; + + -moz-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); + -webkit-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); + text-shadow: inset 1px 0 2px rgba(0,0,0,0.9); +} + +form.glue fieldset div.field input[type=text], +form.glue fieldset div.field input[type=password] { + font-size: 15px; + font-weight: bold; + color: #414042; + padding: 0px 12px; + + -moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + box-shadow: inset 0 0 1px rgba(0,0,0,0.4); +} + +form.glue fieldset.radio div.field { + min-height: 38px; +} + +form.glue fieldset.radio div.field label { + display: block; + color: #939393; + font-size: 15px; + font-weight: bold; + padding: 0 2px 0 12px; + line-height: 36px; + float: left; + width: 50px; +} + +form.glue fieldset.radio div.field radio, +form.glue fieldset.radio div.field span { + line-height: 40px; +} + +form.glue fieldset.radio div.field label + input { + /*margin-left: 70px;*/ +} + +form.glue fieldset.radio div.field span { + font-size: 12px; + color: #939393; + padding: 0px 8px 0px 4px; +} + + +/******** INLINE ************/ +form#shop-dimond, +form#shop-gold { + margin-top: 14px; + margin-bottom: 14px; +} + + +form#shop-dimond div.field, +form#shop-gold div.field { + background-color: #150506; + border: 1px solid #43565c; + -webkit-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + -moz-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + + +form.inline fieldset { + position: relative; + margin-left: 20px; + margin-right: 20px; +} + +form.inline fieldset div.field { + height: 38px; + background-color: #f4f4f4; + position: relative; + -moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + box-shadow: inset 0 0 1px rgba(0,0,0,0.4); + border: 1px solid #ececec; +} + +form.inline fieldset div.field > input { + margin-left: 120px; + width: 256px; + font-size: 20px; + text-align: center; +} + +form.inline fieldset div.field.invalid { + border: 1px solid #a62220 !important; +} + +form.inline fieldset div.field.invalid input { + color: #a62220 !important; +} + +form.inline fieldset span.name { + position: absolute; + top: 4px; + left: 4px; + text-align: center; + display: block; + width: 120px; + line-height: 32px; + font-size: 15px; + font-weight: bold; + color: #f1e5d5; + -webkit-border-radius: 3px 1px 1px 3px; + -moz-border-radius: 3px 1px 1px 3px; + border-radius: 3px 1px 1px 3px; + background: rgba(95,0,0,1); + + /* + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0Y2Y2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMlIiBzdG9wLWNvbG9yPSIjYjRjZjYxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMyUiIHN0b3AtY29sb3I9IiM5NWJiMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNmU5MDEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); + background: -moz-linear-gradient(top, rgba(180,207,97,1) 0%, rgba(180,207,97,1) 3%, rgba(149,187,28,1) 3%, rgba(110,144,16,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(180,207,97,1)), color-stop(3%,rgba(180,207,97,1)), color-stop(3%,rgba(149,187,28,1)), color-stop(100%,rgba(110,144,16,1))); + background: -webkit-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: -o-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: -ms-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: linear-gradient(to bottom, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4cf61', endColorstr='#6e9010',GradientType=0 ); + -moz-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + -webkit-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + */ +} + +form.inline fieldset span.summa-bonus { + position: absolute; + top: 4px; + right: 4px; + text-align: center; + display: block; + width: 130px; + line-height: 32px; + font-size: 13px; + font-weight: bold; + color: #f1e5d5; + -webkit-border-radius: 1px 3px 3px 1px; + -moz-border-radius: 1px 3px 3px 1px; + border-radius: 1px 3px 3px 1px; + background: rgba(95,0,0,1); + + /* + background: #c60000; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #c60000 0%, #840000 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60000), color-stop(100%,#840000)); + background: -webkit-linear-gradient(top, #c60000 0%,#840000 100%); + background: -o-linear-gradient(top, #c60000 0%,#840000 100%); + background: -ms-linear-gradient(top, #c60000 0%,#840000 100%); + background: linear-gradient(to bottom, #c60000 0%,#840000 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); + -moz-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + -webkit-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9); + */ +} + + + +/************ NEW SIGN ************/ +form#sign label { + color: #080c16; + -moz-text-shadow: 0 0 1px rgba(255,255,255,0.4); + -webkit-text-shadow: 0 0 1px rgba(255,255,255,0.4); + text-shadow: 0 0 1px rgba(255,255,255,0.4); +} + +a.button { + display: inline-block; + font-size: 12px; + font-weight: bold; + padding: 3px 12px; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + color: #ffffff; + margin-top: 8px; +} + + + + + +/* ANY FORMS */ +div#form-registration { + position: absolute; + top: 40%; + left: 50%; + width: 350px; + height: 320px; + margin-top: -180px; + margin-left: -175px; +} + +div#form-auth { + position: absolute; + top: 40%; + left: 50%; + width: 350px; + height: 280px; + margin-top: -160px; + margin-left: -175px; +} + +div#form-auth > div.logo, +div#form-registration > div.logo { + font-size: 60px; + font-weight: bold; + color: #ffffff; + text-transfrom: uppercase; +} + +div#form-auth > p.slogan, +div#form-registration > p.slogan { + margin-top: 20px; + margin-bottom: 15px; + text-align: center; + font-size: 18px; + color: #ffffff; +} + +div#form-auth > a, +div#form-registration > a { + text-align: center; + display: block; + margin-top: 18px; + color: #ffffff !important; + font-size: 14px; +} + +div#form-auth > a:hover, +div#form-registration > a:hover { + text-decoration: underline; +} + +form#form-auth, +form#form-registration { + margin: 0 auto; + width: 250px; +} + +input:-webkit-autofill { + color: transparent !important; + background-color: transparent !important; +} + + +/*************** RANDOM FORM RAND-AUTH ****************/ +div.rand-auth { + padding: 12px 20px 20px 20px; +} +div.rand-auth h2 { + text-align: center; + font-weight: 600; + color: #870000; +} +div.rand-auth ul.menu { + list-style: none; + text-align: center; + margin-top: 10px; +} +div.rand-auth ul.menu li { + display: inline-block; + padding: 1px 6px; + line-height: 14px; +} +div.rand-auth ul.menu li+li { + border-left: 1px solid #010101; +} +div.rand-auth ul.menu li a { + display: block; + color: #010101; + font-size: 12px; + font-weight: 600; + padding-bottom: 1px; +} +div.rand-auth ul.menu li a:hover { + border-bottom: 1px dashed #010101; +} +div.rand-auth > form { + margin-top: 10px; +} +div.rand-auth > form div.field { + height: 25px; + margin-bottom: 6px; + background-color: #150506; + border: 1px solid #43565c; + -webkit-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + -moz-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); + box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6); +} +div.rand-auth > form div.field > input { + -webkit-box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5); + -moz-box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5); + box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5); +} +form.rand-auth fieldset.checkbox { + height: 25px; + text-align: center; +} +form.rand-auth fieldset.checkbox label { + color: #010101; + font-size: 11px; + line-height: 25px; + font-weight: bold; +} +form.rand-auth fieldset.checkbox > div, +form.rand-auth fieldset.checkbox > label { + display: inline-block; +} +form.rand-auth fieldset.checkbox > div.checkbox { + top: 2px; + margin-right: 6px; + position: relative; + width: 14px; + height: 14px; + background: url(/pic/front/form/check_normal.jpg) center center no-repeat; +} +form.rand-auth fieldset.checkbox > div.checkbox.active { + background: url(/pic/front/form/check_pressed.jpg) center center no-repeat; +} +form.rand-auth fieldset.checkbox > div.checkbox.active:hover { + background: url(/pic/front/form/check_pressed_select.jpg) center center no-repeat !important; +} +form.rand-auth fieldset.checkbox > div.checkbox:hover { + background: url(/pic/front/form/check_select.jpg) center center no-repeat; +} +form.rand-auth fieldset.checkbox > div.checkbox input { + display: none; +} +form.rand-auth > fieldset > div.button { + text-align: center; + margin-top: 3px; +} +form.rand-auth button { + width: 165px; + height: 34px; + background: url(/pic/front/form/button_normal.jpg) center center no-repeat; + font-size: 16px; + color: #808588; + border: none; + display: inline-block !important; +} +form.rand-auth button:hover { + background: url(/pic/front/form/button_select.jpg) center center no-repeat; + color: #f2d38a; +} + + +/*************** RANDOM FORM QUESTION ****************/ +form#question label { + font-weight: normal !important; + color: #9b8f81 !important; +} + +form#question .redactor_box iframe { + height: 110px !important; +} + +form#question p.note { + color: #F59D9D; + font-size: 11px; + padding-top: 2px; + padding-bottom: 4px; +} + + + + + + + + + + + + + + + diff --git a/shop/index_files/jquery-ui.min.css b/shop/index_files/jquery-ui.min.css new file mode 100644 index 0000000..eb86e0c --- /dev/null +++ b/shop/index_files/jquery-ui.min.css @@ -0,0 +1,7 @@ +/*! jQuery UI - v1.11.2 - 2014-11-19 +* http://jqueryui.com +* Includes: core.css, datepicker.css, tooltip.css, theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-tooltip{padding:5px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px 1px #9b8f81;box-shadow:0 0 5px 1px #9b8f81; font-size: 12px !important; background-color: #000}body .ui-tooltip{border-width:1px;border-color: #000; background-color: #000; font-size: 12px}.ui-widget{font-family:'Noto Serif','PT Sans',Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #000;background-color: rgba(0,0,0,0.8); color:#9b8f81}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #fbcb09;background:#fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#c77405}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fed22f;background:#ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;color:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_228ef1_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_ffd27a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px} \ No newline at end of file diff --git a/shop/index_files/jquery-ui.min.js b/shop/index_files/jquery-ui.min.js new file mode 100644 index 0000000..9a9af35 --- /dev/null +++ b/shop/index_files/jquery-ui.min.js @@ -0,0 +1,8 @@ +/*! jQuery UI - v1.11.2 - 2014-11-19 +* http://jqueryui.com +* Includes: core.js, widget.js, mouse.js, position.js, datepicker.js, tooltip.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function t(t,s){var n,a,o,r=t.nodeName.toLowerCase();return"area"===r?(n=t.parentNode,a=n.name,t.href&&a&&"map"===n.nodeName.toLowerCase()?(o=e("img[usemap='#"+a+"']")[0],!!o&&i(o)):!1):(/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r?t.href||s:s)&&i(t)}function i(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}function s(e){for(var t,i;e.length&&e[0]!==document;){if(t=e.css("position"),("absolute"===t||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}function n(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=a(e("
      "))}function a(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(i,"mouseout",function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",o)}function o(){e.datepicker._isDisabledDatepicker(d.inline?d.dpDiv.parent()[0]:d.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function r(t,i){e.extend(t,i);for(var s in i)null==i[s]&&(t[s]=i[s]);return t}e.ui=e.ui||{},e.extend(e.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({scrollParent:function(t){var i=this.css("position"),s="absolute"===i,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter(function(){var t=e(this);return s&&"static"===t.css("position")?!1:n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==i&&a.length?a:e(this[0].ownerDocument||document)},uniqueId:function(){var e=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(i){return t(i,!isNaN(e.attr(i,"tabindex")))},tabbable:function(i){var s=e.attr(i,"tabindex"),n=isNaN(s);return(n||s>=0)&&t(i,!n)}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(t,i){function s(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],a=i.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+i]=function(t){return void 0===t?o["inner"+i].call(this):this.each(function(){e(this).css(a,s(this,t)+"px")})},e.fn["outer"+i]=function(t,n){return"number"!=typeof t?o["outer"+i].call(this,t):this.each(function(){e(this).css(a,s(this,t,!0,n)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableSelection",function(e){e.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(void 0!==t)return this.css("zIndex",t);if(this.length)for(var i,s,n=e(this[0]);n.length&&n[0]!==document;){if(i=n.css("position"),("absolute"===i||"relative"===i||"fixed"===i)&&(s=parseInt(n.css("zIndex"),10),!isNaN(s)&&0!==s))return s;n=n.parent()}return 0}}),e.ui.plugin={add:function(t,i,s){var n,a=e.ui[t].prototype;for(n in s)a.plugins[n]=a.plugins[n]||[],a.plugins[n].push([i,s[n]])},call:function(e,t,i,s){var n,a=e.plugins[t];if(a&&(s||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(n=0;a.length>n;n++)e.options[a[n][0]]&&a[n][1].apply(e.element,i)}};var h=0,l=Array.prototype.slice;e.cleanData=function(t){return function(i){var s,n,a;for(a=0;null!=(n=i[a]);a++)try{s=e._data(n,"events"),s&&s.remove&&e(n).triggerHandler("remove")}catch(o){}t(i)}}(e.cleanData),e.widget=function(t,i,s){var n,a,o,r,h={},l=t.split(".")[0];return t=t.split(".")[1],n=l+"-"+t,s||(s=i,i=e.Widget),e.expr[":"][n.toLowerCase()]=function(t){return!!e.data(t,n)},e[l]=e[l]||{},a=e[l][t],o=e[l][t]=function(e,t){return this._createWidget?(arguments.length&&this._createWidget(e,t),void 0):new o(e,t)},e.extend(o,a,{version:s.version,_proto:e.extend({},s),_childConstructors:[]}),r=new i,r.options=e.widget.extend({},r.options),e.each(s,function(t,s){return e.isFunction(s)?(h[t]=function(){var e=function(){return i.prototype[t].apply(this,arguments)},n=function(e){return i.prototype[t].apply(this,e)};return function(){var t,i=this._super,a=this._superApply;return this._super=e,this._superApply=n,t=s.apply(this,arguments),this._super=i,this._superApply=a,t}}(),void 0):(h[t]=s,void 0)}),o.prototype=e.widget.extend(r,{widgetEventPrefix:a?r.widgetEventPrefix||t:t},h,{constructor:o,namespace:l,widgetName:t,widgetFullName:n}),a?(e.each(a._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete a._childConstructors):i._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var i,s,n=l.call(arguments,1),a=0,o=n.length;o>a;a++)for(i in n[a])s=n[a][i],n[a].hasOwnProperty(i)&&void 0!==s&&(t[i]=e.isPlainObject(s)?e.isPlainObject(t[i])?e.widget.extend({},t[i],s):e.widget.extend({},s):s);return t},e.widget.bridge=function(t,i){var s=i.prototype.widgetFullName||t;e.fn[t]=function(n){var a="string"==typeof n,o=l.call(arguments,1),r=this;return n=!a&&o.length?e.widget.extend.apply(null,[n].concat(o)):n,a?this.each(function(){var i,a=e.data(this,s);return"instance"===n?(r=a,!1):a?e.isFunction(a[n])&&"_"!==n.charAt(0)?(i=a[n].apply(a,o),i!==a&&void 0!==i?(r=i&&i.jquery?r.pushStack(i.get()):i,!1):void 0):e.error("no such method '"+n+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; "+"attempted to call method '"+n+"'")}):this.each(function(){var t=e.data(this,s);t?(t.option(n||{}),t._init&&t._init()):e.data(this,s,new i(n,this))}),r}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
      ",options:{disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=h++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var s,n,a,o=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(o={},s=t.split("."),t=s.shift(),s.length){for(n=o[t]=e.widget.extend({},this.options[t]),a=0;s.length-1>a;a++)n[s[a]]=n[s[a]]||{},n=n[s[a]];if(t=s.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=i}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!t),t&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(t,i,s){var n,a=this;"boolean"!=typeof t&&(s=i,i=t,t=!1),s?(i=n=e(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),e.each(s,function(s,o){function r(){return t||a.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?a[o]:o).apply(a,arguments):void 0}"string"!=typeof o&&(r.guid=o.guid=o.guid||r.guid||e.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+a.eventNamespace,u=h[2];u?n.delegate(u,l,r):i.bind(l,r)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(i).undelegate(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,o=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(o)&&o.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var o,r=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),o=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),o&&e.effects&&e.effects.effect[r]?s[t](n):r!==t&&s[r]?s[r](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}}),e.widget;var u=!1;e(document).mouseup(function(){u=!1}),e.widget("ui.mouse",{version:"1.11.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!u){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var i=this,s=1===t.which,n="string"==typeof this.options.cancel&&t.target.nodeName?e(t.target).closest(this.options.cancel).length:!1;return s&&!n&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(t)!==!1,!this._mouseStarted)?(t.preventDefault(),!0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return i._mouseMove(e)},this._mouseUpDelegate=function(e){return i._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),u=!0,!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button)return this._mouseUp(t);if(!t.which)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),u=!1,!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),function(){function t(e,t,i){return[parseFloat(e[0])*(p.test(e[0])?t/100:1),parseFloat(e[1])*(p.test(e[1])?i/100:1)]}function i(t,i){return parseInt(e.css(t,i),10)||0}function s(t){var i=t[0];return 9===i.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}e.ui=e.ui||{};var n,a,o=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,u=/top|center|bottom/,d=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,p=/%$/,f=e.fn.position;e.position={scrollbarWidth:function(){if(void 0!==n)return n;var t,i,s=e("
      "),a=s.children()[0];return e("body").append(s),t=a.offsetWidth,s.css("overflow","scroll"),i=a.offsetWidth,t===i&&(i=s[0].clientWidth),s.remove(),n=t-i},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),s=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),n="scroll"===i||"auto"===i&&t.widthi?"left":t>0?"right":"center",vertical:0>a?"top":s>0?"bottom":"middle"};d>m&&m>r(t+i)&&(h.horizontal="center"),c>g&&g>r(s+a)&&(h.vertical="middle"),h.important=o(r(t),r(i))>o(r(s),r(a))?"horizontal":"vertical",n.using.call(this,e,h)}),u.offset(e.extend(N,{using:l}))})},e.ui.position={fit:{left:function(e,t){var i,s=t.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=e.left-t.collisionPosition.marginLeft,h=n-r,l=r+t.collisionWidth-a-n;t.collisionWidth>a?h>0&&0>=l?(i=e.left+h+t.collisionWidth-a-n,e.left+=h-i):e.left=l>0&&0>=h?n:h>l?n+a-t.collisionWidth:n:h>0?e.left+=h:l>0?e.left-=l:e.left=o(e.left-r,e.left)},top:function(e,t){var i,s=t.within,n=s.isWindow?s.scrollTop:s.offset.top,a=t.within.height,r=e.top-t.collisionPosition.marginTop,h=n-r,l=r+t.collisionHeight-a-n;t.collisionHeight>a?h>0&&0>=l?(i=e.top+h+t.collisionHeight-a-n,e.top+=h-i):e.top=l>0&&0>=h?n:h>l?n+a-t.collisionHeight:n:h>0?e.top+=h:l>0?e.top-=l:e.top=o(e.top-r,e.top)}},flip:{left:function(e,t){var i,s,n=t.within,a=n.offset.left+n.scrollLeft,o=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=e.left-t.collisionPosition.marginLeft,u=l-h,d=l+t.collisionWidth-o-h,c="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,f=-2*t.offset[0];0>u?(i=e.left+c+p+f+t.collisionWidth-o-a,(0>i||r(u)>i)&&(e.left+=c+p+f)):d>0&&(s=e.left-t.collisionPosition.marginLeft+c+p+f-h,(s>0||d>r(s))&&(e.left+=c+p+f))},top:function(e,t){var i,s,n=t.within,a=n.offset.top+n.scrollTop,o=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=e.top-t.collisionPosition.marginTop,u=l-h,d=l+t.collisionHeight-o-h,c="top"===t.my[1],p=c?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,f="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,m=-2*t.offset[1];0>u?(s=e.top+p+f+m+t.collisionHeight-o-a,e.top+p+f+m>u&&(0>s||r(u)>s)&&(e.top+=p+f+m)):d>0&&(i=e.top-t.collisionPosition.marginTop+p+f+m-h,e.top+p+f+m>d&&(i>0||d>r(i))&&(e.top+=p+f+m))}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}},function(){var t,i,s,n,o,r=document.getElementsByTagName("body")[0],h=document.createElement("div");t=document.createElement(r?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},r&&e.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in s)t.style[o]=s[o];t.appendChild(h),i=r||document.documentElement,i.insertBefore(t,i.firstChild),h.style.cssText="position: absolute; left: 10.7432222px;",n=e(h).offset().left,a=n>10&&11>n,t.innerHTML="",i.removeChild(t)}()}(),e.ui.position,e.extend(e.ui,{datepicker:{version:"1.11.2"}});var d;e.extend(n.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return r(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var s,n,a;s=t.nodeName.toLowerCase(),n="div"===s||"span"===s,t.id||(this.uuid+=1,t.id="dp"+this.uuid),a=this._newInst(e(t),n),a.settings=e.extend({},i||{}),"input"===s?this._connectDatepicker(t,a):n&&this._inlineDatepicker(t,a)},_newInst:function(t,i){var s=t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:s,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?a(e("
      ")):this.dpDiv}},_connectDatepicker:function(t,i){var s=e(t);i.append=e([]),i.trigger=e([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var s,n,a,o=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),o&&(i.append=e(""+o+""),t[r?"before":"after"](i.append)),t.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&t.focus(this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),a=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("").addClass(this._triggerClass).attr({src:a,alt:n,title:n}):e("").addClass(this._triggerClass).html(a?e("").attr({src:a,alt:n,title:n}):n)),t[r?"before":"after"](i.trigger),i.trigger.click(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,s,n,a=new Date(2009,11,20),o=this._get(e,"dateFormat");o.match(/[DM]/)&&(t=function(e){for(i=0,s=0,n=0;e.length>n;n++)e[n].length>i&&(i=e[n].length,s=n);return s},a.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(t,i){var s=e(t);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,s,n,a){var o,h,l,u,d,c=this._dialogInst;return c||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=e(""),this._dialogInput.keydown(this._doKeyDown),e("body").append(this._dialogInput),c=this._dialogInst=this._newInst(this._dialogInput,!1),c.settings={},e.data(this._dialogInput[0],"datepicker",c)),r(c.settings,n||{}),i=i&&i.constructor===Date?this._formatDate(c,i):i,this._dialogInput.val(i),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(h=document.documentElement.clientWidth,l=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[h/2-100+u,l/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",c),this},_destroyDatepicker:function(t){var i,s=e(t),n=e.data(t,"datepicker");s.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var i,s,n=e(t),a=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var i,s,n=e(t),a=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,i,s){var n,a,o,h,l=this._getInst(t);return 2===arguments.length&&"string"==typeof i?"defaults"===i?e.extend({},e.datepicker._defaults):l?"all"===i?e.extend({},l.settings):this._get(l,i):null:(n=i||{},"string"==typeof i&&(n={},n[i]=s),l&&(this._curInst===l&&this._hideDatepicker(),a=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(l,"min"),h=this._getMinMaxDate(l,"max"),r(l.settings,n),null!==o&&void 0!==n.dateFormat&&void 0===n.minDate&&(l.settings.minDate=this._formatDate(l,o)),null!==h&&void 0!==n.dateFormat&&void 0===n.maxDate&&(l.settings.maxDate=this._formatDate(l,h)),"disabled"in n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),l),this._autoSize(l),this._setDate(l,a),this._updateAlternate(l),this._updateDatepicker(l)),void 0)},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var i,s,n,a=e.datepicker._getInst(t.target),o=!0,r=a.dpDiv.is(".ui-datepicker-rtl");if(a._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),o=!1;break;case 13:return n=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",a.dpDiv),n[0]&&e.datepicker._selectDay(t.target,a.selectedMonth,a.selectedYear,n[0]),i=e.datepicker._get(a,"onSelect"),i?(s=e.datepicker._formatDate(a),i.apply(a.input?a.input[0]:null,[s,a])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),o=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),o=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,r?1:-1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),o=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,r?-1:1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),o=t.ctrlKey||t.metaKey;break;default:o=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):o=!1;o&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var i,s,n=e.datepicker._getInst(t.target);return e.datepicker._get(n,"constrainInput")?(i=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||" ">s||!i||i.indexOf(s)>-1):void 0},_doKeyUp:function(t){var i,s=e.datepicker._getInst(t.target);if(s.input.val()!==s.lastVal)try{i=e.datepicker.parseDate(e.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,e.datepicker._getFormatConfig(s)),i&&(e.datepicker._setDateFromField(s),e.datepicker._updateAlternate(s),e.datepicker._updateDatepicker(s)) +}catch(n){}return!0},_showDatepicker:function(t){if(t=t.target||t,"input"!==t.nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),!e.datepicker._isDisabledDatepicker(t)&&e.datepicker._lastInput!==t){var i,n,a,o,h,l,u;i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),n=e.datepicker._get(i,"beforeShow"),a=n?n.apply(t,[t,i]):{},a!==!1&&(r(i.settings,a),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),o=!1,e(t).parents().each(function(){return o|="fixed"===e(this).css("position"),!o}),h={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),h=e.datepicker._checkOffset(i,h,o),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":o?"fixed":"absolute",display:"none",left:h.left+"px",top:h.top+"px"}),i.inline||(l=e.datepicker._get(i,"showAnim"),u=e.datepicker._get(i,"duration"),i.dpDiv.css("z-index",s(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[l]?i.dpDiv.show(l,e.datepicker._get(i,"showOptions"),u):i.dpDiv[l||"show"](l?u:null),e.datepicker._shouldFocusInput(i)&&i.input.focus(),e.datepicker._curInst=i))}},_updateDatepicker:function(t){this.maxRows=4,d=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var i,s=this._getNumberOfMonths(t),n=s[1],a=17,r=t.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&o.apply(r.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&t.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",a*n+"em"),t.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.focus(),t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,s){var n=t.dpDiv.outerWidth(),a=t.dpDiv.outerHeight(),o=t.input?t.input.outerWidth():0,r=t.input?t.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:e(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?n-o:0,i.left-=s&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=s&&i.top===t.input.offset().top+r?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+a>l&&l>a?Math.abs(a+r):0),i},_findPos:function(t){for(var i,s=this._getInst(t),n=this._get(s,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[n?"previousSibling":"nextSibling"];return i=e(t).offset(),[i.left,i.top]},_hideDatepicker:function(t){var i,s,n,a,o=this._curInst;!o||t&&o!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(o,"showAnim"),s=this._get(o,"duration"),n=function(){e.datepicker._tidyDialog(o)},e.effects&&(e.effects.effect[i]||e.effects[i])?o.dpDiv.hide(i,e.datepicker._get(o,"showOptions"),s,n):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,a=this._get(o,"onClose"),a&&a.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),s=e.datepicker._getInst(i[0]);(i[0].id!==e.datepicker._mainDivId&&0===i.parents("#"+e.datepicker._mainDivId).length&&!i.hasClass(e.datepicker.markerClassName)&&!i.closest("."+e.datepicker._triggerClass).length&&e.datepicker._datepickerShowing&&(!e.datepicker._inDialog||!e.blockUI)||i.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==s)&&e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,s){var n=e(t),a=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(a,i+("M"===s?this._get(a,"showCurrentAtPos"):0),s),this._updateDatepicker(a))},_gotoToday:function(t){var i,s=e(t),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(t,i,s){var n=e(t),a=this._getInst(n[0]);a["selected"+("M"===s?"Month":"Year")]=a["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(n)},_selectDay:function(t,i,s,n){var a,o=e(t);e(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||(a=this._getInst(o[0]),a.selectedDay=a.currentDay=e("a",n).html(),a.selectedMonth=a.currentMonth=i,a.selectedYear=a.currentYear=s,this._selectDate(t,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var s,n=e(t),a=this._getInst(n[0]);i=null!=i?i:this._formatDate(a),a.input&&a.input.val(i),this._updateAlternate(a),s=this._get(a,"onSelect"),s?s.apply(a.input?a.input[0]:null,[i,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=typeof a.input[0]&&a.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var i,s,n,a=this._get(t,"altField");a&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),s=this._getDate(t),n=this.formatDate(i,s,this._getFormatConfig(t)),e(a).each(function(){e(this).val(n)}))},noWeekends:function(e){var t=e.getDay();return[t>0&&6>t,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(t,i,s){if(null==t||null==i)throw"Invalid arguments";if(i="object"==typeof i?""+i:i+"",""===i)return null;var n,a,o,r,h=0,l=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),d=(s?s.dayNamesShort:null)||this._defaults.dayNamesShort,c=(s?s.dayNames:null)||this._defaults.dayNames,p=(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,f=(s?s.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,y=-1,b=!1,_=function(e){var i=t.length>n+1&&t.charAt(n+1)===e;return i&&n++,i},x=function(e){var t=_(e),s="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,n="y"===e?s:1,a=RegExp("^\\d{"+n+","+s+"}"),o=i.substring(h).match(a);if(!o)throw"Missing number at position "+h;return h+=o[0].length,parseInt(o[0],10)},w=function(t,s,n){var a=-1,o=e.map(_(t)?n:s,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(e.each(o,function(e,t){var s=t[1];return i.substr(h,s.length).toLowerCase()===s.toLowerCase()?(a=t[0],h+=s.length,!1):void 0}),-1!==a)return a+1;throw"Unknown name at position "+h},k=function(){if(i.charAt(h)!==t.charAt(n))throw"Unexpected literal at position "+h;h++};for(n=0;t.length>n;n++)if(b)"'"!==t.charAt(n)||_("'")?k():b=!1;else switch(t.charAt(n)){case"d":v=x("d");break;case"D":w("D",d,c);break;case"o":y=x("o");break;case"m":g=x("m");break;case"M":g=w("M",p,f);break;case"y":m=x("y");break;case"@":r=new Date(x("@")),m=r.getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"!":r=new Date((x("!")-this._ticksTo1970)/1e4),m=r.getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"'":_("'")?k():b=!0;break;default:k()}if(i.length>h&&(o=i.substr(h),!/^\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o;if(-1===m?m=(new Date).getFullYear():100>m&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=m?0:-100)),y>-1)for(g=1,v=y;;){if(a=this._getDaysInMonth(m,g-1),a>=v)break;g++,v-=a}if(r=this._daylightSavingAdjust(new Date(m,g-1,v)),r.getFullYear()!==m||r.getMonth()+1!==g||r.getDate()!==v)throw"Invalid date";return r},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,i){if(!t)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,h=function(t){var i=e.length>s+1&&e.charAt(s+1)===t;return i&&s++,i},l=function(e,t,i){var s=""+t;if(h(e))for(;i>s.length;)s="0"+s;return s},u=function(e,t,i,s){return h(e)?s[t]:i[t]},d="",c=!1;if(t)for(s=0;e.length>s;s++)if(c)"'"!==e.charAt(s)||h("'")?d+=e.charAt(s):c=!1;else switch(e.charAt(s)){case"d":d+=l("d",t.getDate(),2);break;case"D":d+=u("D",t.getDay(),n,a);break;case"o":d+=l("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=l("m",t.getMonth()+1,2);break;case"M":d+=u("M",t.getMonth(),o,r);break;case"y":d+=h("y")?t.getFullYear():(10>t.getYear()%100?"0":"")+t.getYear()%100;break;case"@":d+=t.getTime();break;case"!":d+=1e4*t.getTime()+this._ticksTo1970;break;case"'":h("'")?d+="'":c=!0;break;default:d+=e.charAt(s)}return d},_possibleChars:function(e){var t,i="",s=!1,n=function(i){var s=e.length>t+1&&e.charAt(t+1)===i;return s&&t++,s};for(t=0;e.length>t;t++)if(s)"'"!==e.charAt(t)||n("'")?i+=e.charAt(t):s=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=e.charAt(t)}return i},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),s=e.lastVal=e.input?e.input.val():null,n=this._getDefaultDate(e),a=n,o=this._getFormatConfig(e);try{a=this.parseDate(i,s,o)||n}catch(r){s=t?"":s}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=s?a.getDate():0,e.currentMonth=s?a.getMonth():0,e.currentYear=s?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,s){var n=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},a=function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,a=n.getFullYear(),o=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":o+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMonth(a,o));break;case"y":case"Y":a+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMonth(a,o))}l=h.exec(i)}return new Date(a,o,r)},o=null==i||""===i?s:"string"==typeof i?a(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return o=o&&"Invalid Date"==""+o?s:o,o&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var s=!t,n=e.selectedMonth,a=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),n===e.selectedMonth&&a===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(s?"":this._formatDate(e))},_getDate:function(e){var t=!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),s="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){e.datepicker._adjustDate(s,-i,"M")},next:function(){e.datepicker._adjustDate(s,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(s)},selectDay:function(){return e.datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(s,this,"Y"),!1}};e(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,s,n,a,o,r,h,l,u,d,c,p,f,m,g,v,y,b,_,x,w,k,T,D,S,N,M,C,A,P,I,H,z,F,E,W,L,O,j=new Date,R=this._daylightSavingAdjust(new Date(j.getFullYear(),j.getMonth(),j.getDate())),Y=this._get(e,"isRTL"),J=this._get(e,"showButtonPanel"),B=this._get(e,"hideIfNoPrevNext"),K=this._get(e,"navigationAsDateFormat"),V=this._getNumberOfMonths(e),U=this._get(e,"showCurrentAtPos"),q=this._get(e,"stepMonths"),G=1!==V[0]||1!==V[1],X=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(e,"min"),$=this._getMinMaxDate(e,"max"),Z=e.drawMonth-U,et=e.drawYear;if(0>Z&&(Z+=12,et--),$)for(t=this._daylightSavingAdjust(new Date($.getFullYear(),$.getMonth()-V[0]*V[1]+1,$.getDate())),t=Q&&Q>t?Q:t;this._daylightSavingAdjust(new Date(et,Z,1))>t;)Z--,0>Z&&(Z=11,et--);for(e.drawMonth=Z,e.drawYear=et,i=this._get(e,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(et,Z-q,1)),this._getFormatConfig(e)):i,s=this._canAdjustMonth(e,-1,et,Z)?"
      "+i+"":B?"":""+i+"",n=this._get(e,"nextText"),n=K?this.formatDate(n,this._daylightSavingAdjust(new Date(et,Z+q,1)),this._getFormatConfig(e)):n,a=this._canAdjustMonth(e,1,et,Z)?""+n+"":B?"":""+n+"",o=this._get(e,"currentText"),r=this._get(e,"gotoCurrent")&&e.currentDay?X:R,o=K?this.formatDate(o,r,this._getFormatConfig(e)):o,h=e.inline?"":"",l=J?"
      "+(Y?h:"")+(this._isInRange(e,r)?"":"")+(Y?"":h)+"
      ":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,d=this._get(e,"showWeek"),c=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),y=this._get(e,"selectOtherMonths"),b=this._getDefaultDate(e),_="",w=0;V[0]>w;w++){for(k="",this.maxRows=4,T=0;V[1]>T;T++){if(D=this._daylightSavingAdjust(new Date(et,Z,e.selectedDay)),S=" ui-corner-all",N="",G){if(N+="
      "}for(N+="
      "+(/all|left/.test(S)&&0===w?Y?a:s:"")+(/all|right/.test(S)&&0===w?Y?s:a:"")+this._generateMonthYearHeader(e,Z,et,Q,$,w>0||T>0,f,m)+"
      "+"",M=d?"":"",x=0;7>x;x++)C=(x+u)%7,M+="";for(N+=M+"",A=this._getDaysInMonth(et,Z),et===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),P=(this._getFirstDayOfMonth(et,Z)-u+7)%7,I=Math.ceil((P+A)/7),H=G?this.maxRows>I?this.maxRows:I:I,this.maxRows=H,z=this._daylightSavingAdjust(new Date(et,Z,1-P)),F=0;H>F;F++){for(N+="",E=d?"":"",x=0;7>x;x++)W=g?g.apply(e.input?e.input[0]:null,[z]):[!0,""],L=z.getMonth()!==Z,O=L&&!y||!W[0]||Q&&Q>z||$&&z>$,E+="",z.setDate(z.getDate()+1),z=this._daylightSavingAdjust(z);N+=E+""}Z++,Z>11&&(Z=0,et++),N+="
      "+this._get(e,"weekHeader")+"=5?" class='ui-datepicker-week-end'":"")+">"+""+p[C]+"
      "+this._get(e,"calculateWeek")(z)+""+(L&&!v?" ":O?""+z.getDate()+"":""+z.getDate()+"")+"
      "+(G?"
      "+(V[0]>0&&T===V[1]-1?"
      ":""):""),k+=N}_+=k}return _+=l,e._keyEvent=!1,_},_generateMonthYearHeader:function(e,t,i,s,n,a,o,r){var h,l,u,d,c,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(e,"showMonthAfterYear"),b="
      ",_="";if(a||!g)_+=""+o[t]+"";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,_+=""}if(y||(b+=_+(!a&&g&&v?"":" ")),!e.yearshtml)if(e.yearshtml="",a||!v)b+=""+i+"";else{for(d=this._get(e,"yearRange").split(":"),c=(new Date).getFullYear(),p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?c+parseInt(e,10):parseInt(e,10);return isNaN(t)?c:t},f=p(d[0]),m=Math.max(f,p(d[1]||"")),f=s?Math.max(f,s.getFullYear()):f,m=n?Math.min(m,n.getFullYear()):m,e.yearshtml+="",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),y&&(b+=(!a&&g&&v?"":" ")+_),b+="
      "},_adjustInstDate:function(e,t,i){var s=e.drawYear+("Y"===i?t:0),n=e.drawMonth+("M"===i?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(s,n))+("D"===i?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(s,n,a)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),s=this._getMinMaxDate(e,"max"),n=i&&i>t?i:t;return s&&n>s?s:n},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,s){var n=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new Date(i,s+(0>t?t:n[0]*n[1]),1));return 0>t&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var i,s,n=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),o=null,r=null,h=this._get(e,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),o=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(o+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||t.getTime()>=n.getTime())&&(!a||t.getTime()<=a.getTime())&&(!o||t.getFullYear()>=o)&&(!r||r>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,s){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var n=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(s,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),n,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).mousedown(e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new n,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.11.2",e.datepicker,e.widget("ui.tooltip",{version:"1.11.2",options:{content:function(){var t=e(this).attr("title")||"";return e("").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_addDescribedBy:function(t,i){var s=(t.attr("aria-describedby")||"").split(/\s+/);s.push(i),t.data("ui-tooltip-id",i).attr("aria-describedby",e.trim(s.join(" ")))},_removeDescribedBy:function(t){var i=t.data("ui-tooltip-id"),s=(t.attr("aria-describedby")||"").split(/\s+/),n=e.inArray(i,s);-1!==n&&s.splice(n,1),t.removeData("ui-tooltip-id"),s=e.trim(s.join(" ")),s?t.attr("aria-describedby",s):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable(),this.liveRegion=e("
      ").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)},_setOption:function(t,i){var s=this;return"disabled"===t?(this[i?"_disable":"_enable"](),this.options[t]=i,void 0):(this._super(t,i),"content"===t&&e.each(this.tooltips,function(e,t){s._updateContent(t.element)}),void 0)},_disable:function(){var t=this;e.each(this.tooltips,function(i,s){var n=e.Event("blur");n.target=n.currentTarget=s.element[0],t.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var t=e(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).removeAttr("title")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var i=this,s=e(t?t.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&s.parents().each(function(){var t,s=e(this);s.data("ui-tooltip-open")&&(t=e.Event("blur"),t.target=t.currentTarget=this,i.close(t,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,t))},_updateContent:function(e,t){var i,s=this.options.content,n=this,a=t?t.type:null;return"string"==typeof s?this._open(t,e,s):(i=s.call(e[0],function(i){e.data("ui-tooltip-open")&&n._delay(function(){t&&(t.type=a),this._open(t,e,i)})}),i&&this._open(t,e,i),void 0)},_open:function(t,i,s){function n(e){u.of=e,o.is(":hidden")||o.position(u)}var a,o,r,h,l,u=e.extend({},this.options.position);if(s){if(a=this._find(i))return a.tooltip.find(".ui-tooltip-content").html(s),void 0;i.is("[title]")&&(t&&"mouseover"===t.type?i.attr("title",""):i.removeAttr("title")),a=this._tooltip(i),o=a.tooltip,this._addDescribedBy(i,o.attr("id")),o.find(".ui-tooltip-content").html(s),this.liveRegion.children().hide(),s.clone?(l=s.clone(),l.removeAttr("id").find("[id]").removeAttr("id")):l=s,e("
      ").html(l).appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:n}),n(t)):o.position(e.extend({of:i},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){o.is(":visible")&&(n(u.of),clearInterval(h))},e.fx.interval)),this._trigger("open",t,{tooltip:o}),r={keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var s=e.Event(t);s.currentTarget=i[0],this.close(s,!0)}}},i[0]!==this.element[0]&&(r.remove=function(){this._removeTooltip(o)}),t&&"mouseover"!==t.type||(r.mouseleave="close"),t&&"focusin"!==t.type||(r.focusout="close"),this._on(!0,i,r)}},close:function(t){var i,s=this,n=e(t?t.currentTarget:this.element),a=this._find(n);a&&(i=a.tooltip,a.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),a.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){s._removeTooltip(e(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&e.each(this.parents,function(t,i){e(i.element).attr("title",i.title),delete s.parents[t]}),a.closing=!0,this._trigger("close",t,{tooltip:i}),a.hiding||(a.closing=!1)))},_tooltip:function(t){var i=e("
      ").attr("role","tooltip").addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||"")),s=i.uniqueId().attr("id");return e("
      ").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),this.tooltips[s]={element:t,tooltip:i}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_destroy:function(){var t=this;e.each(this.tooltips,function(i,s){var n=e.Event("blur"),a=s.element;n.target=n.currentTarget=a[0],t.close(n,!0),e("#"+i).remove(),a.data("ui-tooltip-title")&&(a.attr("title")||a.attr("title",a.data("ui-tooltip-title")),a.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}});var c="ui-effects-",p=e;e.effects={effect:{}},function(e,t){function i(e,t,i){var s=d[t.type]||{};return null==e?i||!t.def?null:t.def:(e=s.floor?~~e:parseFloat(e),isNaN(e)?t.def:s.mod?(e+s.mod)%s.mod:0>e?0:e>s.max?s.max:e)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(e,a){var o,r=a.re.exec(i),h=r&&a.parse(r),l=a.space||"rgba";return h?(o=s[l](h),s[u[l].cache]=o[u[l].cache],n=s._rgba=o._rgba,!1):t}),n.length?("0,0,0,0"===n.join()&&e.extend(n,a.transparent),s):a[i]}function n(e,t,i){return i=(i+1)%1,1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var a,o="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,s,n){return new e.Color.fn.parse(t,i,s,n)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=l.support={},p=e("

      ")[0],f=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",c.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(n,o,r,h){if(n===t)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=e(n).css(o),o=t);var d=this,c=e.type(n),p=this._rgba=[];return o!==t&&(n=[n,o,r,h],c="array"),"string"===c?this.parse(s(n)||a._default):"array"===c?(f(u.rgba.props,function(e,t){p[t.idx]=i(n[t.idx],t)}),this):"object"===c?(n instanceof l?f(u,function(e,t){n[t.cache]&&(d[t.cache]=n[t.cache].slice())}):f(u,function(t,s){var a=s.cache;f(s.props,function(e,t){if(!d[a]&&s.to){if("alpha"===e||null==n[e])return;d[a]=s.to(d._rgba)}d[a][t.idx]=i(n[e],t,!0)}),d[a]&&0>e.inArray(null,d[a].slice(0,3))&&(d[a][3]=1,s.from&&(d._rgba=s.from(d[a])))}),this):t},is:function(e){var i=l(e),s=!0,n=this;return f(u,function(e,a){var o,r=i[a.cache];return r&&(o=n[a.cache]||a.to&&a.to(n._rgba)||[],f(a.props,function(e,i){return null!=r[i.idx]?s=r[i.idx]===o[i.idx]:t})),s}),s},_space:function(){var e=[],t=this;return f(u,function(i,s){t[s.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var s=l(e),n=s._space(),a=u[n],o=0===this.alpha()?l("transparent"):this,r=o[a.cache]||a.to(o._rgba),h=r.slice();return s=s[a.cache],f(a.props,function(e,n){var a=n.idx,o=r[a],l=s[a],u=d[n.type]||{};null!==l&&(null===o?h[a]=l:(u.mod&&(l-o>u.mod/2?o+=u.mod:o-l>u.mod/2&&(o-=u.mod)),h[a]=i((l-o)*t+o,n))) +}),this[n](h)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(t)._rgba;return l(e.map(i,function(e,t){return(1-s)*n[t]+s*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),s=i.pop();return t&&i.push(~~(255*s)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,s=e[0]/255,n=e[1]/255,a=e[2]/255,o=e[3],r=Math.max(s,n,a),h=Math.min(s,n,a),l=r-h,u=r+h,d=.5*u;return t=h===r?0:s===r?60*(n-a)/l+360:n===r?60*(a-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=d?l/u:l/(2-u),[Math.round(t)%360,i,d,null==o?1:o]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],s=e[2],a=e[3],o=.5>=s?s*(1+i):s+i-s*i,r=2*s-o;return[Math.round(255*n(r,o,t+1/3)),Math.round(255*n(r,o,t)),Math.round(255*n(r,o,t-1/3)),a]},f(u,function(s,n){var a=n.props,o=n.cache,h=n.to,u=n.from;l.fn[s]=function(s){if(h&&!this[o]&&(this[o]=h(this._rgba)),s===t)return this[o].slice();var n,r=e.type(s),d="array"===r||"object"===r?s:arguments,c=this[o].slice();return f(a,function(e,t){var s=d["object"===r?e:t.idx];null==s&&(s=c[t.idx]),c[t.idx]=i(s,t)}),u?(n=l(u(c)),n[o]=c,n):l(c)},f(a,function(t,i){l.fn[t]||(l.fn[t]=function(n){var a,o=e.type(n),h="alpha"===t?this._hsla?"hsla":"rgba":s,l=this[h](),u=l[i.idx];return"undefined"===o?u:("function"===o&&(n=n.call(this,u),o=e.type(n)),null==n&&i.empty?this:("string"===o&&(a=r.exec(n),a&&(n=u+parseFloat(a[2])*("+"===a[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(t){var i=t.split(" ");f(i,function(t,i){e.cssHooks[i]={set:function(t,n){var a,o,r="";if("transparent"!==n&&("string"!==e.type(n)||(a=s(n)))){if(n=l(a||n),!c.rgba&&1!==n._rgba[3]){for(o="backgroundColor"===i?t.parentNode:t;(""===r||"transparent"===r)&&o&&o.style;)try{r=e.css(o,"backgroundColor"),o=o.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{t.style[i]=n}catch(h){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook(o),e.cssHooks.borderColor={expand:function(e){var t={};return f(["Top","Right","Bottom","Left"],function(i,s){t["border"+s+"Color"]=e}),t}},a=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(p),function(){function t(t){var i,s,n=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,a={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(a[e.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(a[i]=n[i]);return a}function i(t,i){var s,a,o={};for(s in i)a=i[s],t[s]!==a&&(n[s]||(e.fx.step[s]||!isNaN(parseFloat(a)))&&(o[s]=a));return o}var s=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,i){e.fx.step[i]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(p.style(e.elem,i,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(n,a,o,r){var h=e.speed(a,o,r);return this.queue(function(){var a,o=e(this),r=o.attr("class")||"",l=h.children?o.find("*").addBack():o;l=l.map(function(){var i=e(this);return{el:i,start:t(this)}}),a=function(){e.each(s,function(e,t){n[t]&&o[t+"Class"](n[t])})},a(),l=l.map(function(){return this.end=t(this.el[0]),this.diff=i(this.start,this.end),this}),o.attr("class",r),l=l.map(function(){var t=this,i=e.Deferred(),s=e.extend({},h,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,s),i.promise()}),e.when.apply(e,l.get()).done(function(){a(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),h.complete.call(o[0])})})},e.fn.extend({addClass:function(t){return function(i,s,n,a){return s?e.effects.animateClass.call(this,{add:i},s,n,a):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(i,s,n,a){return arguments.length>1?e.effects.animateClass.call(this,{remove:i},s,n,a):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(i,s,n,a,o){return"boolean"==typeof s||void 0===s?n?e.effects.animateClass.call(this,s?{add:i}:{remove:i},n,a,o):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:i},s,n,a)}}(e.fn.toggleClass),switchClass:function(t,i,s,n,a){return e.effects.animateClass.call(this,{add:i,remove:t},s,n,a)}})}(),function(){function t(t,i,s,n){return e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||e.fx.speeds[i])&&(n=s,s=i,i={}),e.isFunction(s)&&(n=s,s=null),i&&e.extend(t,i),s=s||i.duration,t.duration=e.fx.off?0:"number"==typeof s?s:s in e.fx.speeds?e.fx.speeds[s]:e.fx.speeds._default,t.complete=n||i.complete,t}function i(t){return!t||"number"==typeof t||e.fx.speeds[t]?!0:"string"!=typeof t||e.effects.effect[t]?e.isFunction(t)?!0:"object"!=typeof t||t.effect?!1:!0:!0}e.extend(e.effects,{version:"1.11.2",save:function(e,t){for(var i=0;t.length>i;i++)null!==t[i]&&e.data(c+t[i],e[0].style[t[i]])},restore:function(e,t){var i,s;for(s=0;t.length>s;s++)null!==t[s]&&(i=e.data(c+t[s]),void 0===i&&(i=""),e.css(t[s],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var i,s;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=e[1]/t.width}return{x:s,y:i}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),"float":t.css("float")},s=e("

      ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:t.width(),height:t.height()},a=document.activeElement;try{a.id}catch(o){a=document.body}return t.wrap(s),(t[0]===a||e.contains(t[0],a))&&e(a).focus(),s=t.parent(),"static"===t.css("position")?(s.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,s){i[s]=t.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(n),s.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).focus()),t},setTransition:function(t,i,s,n){return n=n||{},e.each(i,function(e,i){var a=t.cssUnit(i);a[0]>0&&(n[i]=a[0]*s+a[1])}),n}}),e.fn.extend({effect:function(){function i(t){function i(){e.isFunction(a)&&a.call(n[0]),e.isFunction(t)&&t()}var n=e(this),a=s.complete,r=s.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),i()):o.call(n[0],s,i)}var s=t.apply(this,arguments),n=s.mode,a=s.queue,o=e.effects.effect[s.effect];return e.fx.off||!o?n?this[n](s.duration,s.complete):this.each(function(){s.complete&&s.complete.call(this)}):a===!1?this.each(i):this.queue(a||"fx",i)},show:function(e){return function(s){if(i(s))return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(e.fn.show),hide:function(e){return function(s){if(i(s))return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(e.fn.hide),toggle:function(e){return function(s){if(i(s)||"boolean"==typeof s)return e.apply(this,arguments);var n=t.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(e.fn.toggle),cssUnit:function(t){var i=this.css(t),s=[];return e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(s=[parseFloat(i),t])}),s}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}(),e.effects,e.effects.effect.blind=function(t,i){var s,n,a,o=e(this),r=/up|down|vertical/,h=/up|left|vertical|horizontal/,l=["position","top","bottom","left","right","height","width"],u=e.effects.setMode(o,t.mode||"hide"),d=t.direction||"up",c=r.test(d),p=c?"height":"width",f=c?"top":"left",m=h.test(d),g={},v="show"===u;o.parent().is(".ui-effects-wrapper")?e.effects.save(o.parent(),l):e.effects.save(o,l),o.show(),s=e.effects.createWrapper(o).css({overflow:"hidden"}),n=s[p](),a=parseFloat(s.css(f))||0,g[p]=v?n:0,m||(o.css(c?"bottom":"right",0).css(c?"top":"left","auto").css({position:"absolute"}),g[f]=v?a:n+a),v&&(s.css(p,0),m||s.css(f,a+n)),s.animate(g,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){"hide"===u&&o.hide(),e.effects.restore(o,l),e.effects.removeWrapper(o),i()}})},e.effects.effect.bounce=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","height","width"],h=e.effects.setMode(o,t.mode||"effect"),l="hide"===h,u="show"===h,d=t.direction||"up",c=t.distance,p=t.times||5,f=2*p+(u||l?1:0),m=t.duration/f,g=t.easing,v="up"===d||"down"===d?"top":"left",y="up"===d||"left"===d,b=o.queue(),_=b.length;for((u||l)&&r.push("opacity"),e.effects.save(o,r),o.show(),e.effects.createWrapper(o),c||(c=o["top"===v?"outerHeight":"outerWidth"]()/3),u&&(a={opacity:1},a[v]=0,o.css("opacity",0).css(v,y?2*-c:2*c).animate(a,m,g)),l&&(c/=Math.pow(2,p-1)),a={},a[v]=0,s=0;p>s;s++)n={},n[v]=(y?"-=":"+=")+c,o.animate(n,m,g).animate(a,m,g),c=l?2*c:c/2;l&&(n={opacity:0},n[v]=(y?"-=":"+=")+c,o.animate(n,m,g)),o.queue(function(){l&&o.hide(),e.effects.restore(o,r),e.effects.removeWrapper(o),i()}),_>1&&b.splice.apply(b,[1,0].concat(b.splice(_,f+1))),o.dequeue()},e.effects.effect.clip=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","height","width"],h=e.effects.setMode(o,t.mode||"hide"),l="show"===h,u=t.direction||"vertical",d="vertical"===u,c=d?"height":"width",p=d?"top":"left",f={};e.effects.save(o,r),o.show(),s=e.effects.createWrapper(o).css({overflow:"hidden"}),n="IMG"===o[0].tagName?s:o,a=n[c](),l&&(n.css(c,0),n.css(p,a/2)),f[c]=l?a:0,f[p]=l?0:a/2,n.animate(f,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){l||o.hide(),e.effects.restore(o,r),e.effects.removeWrapper(o),i()}})},e.effects.effect.drop=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","opacity","height","width"],o=e.effects.setMode(n,t.mode||"hide"),r="show"===o,h=t.direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h?"pos":"neg",d={opacity:r?1:0};e.effects.save(n,a),n.show(),e.effects.createWrapper(n),s=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===u?-s:s),d[l]=(r?"pos"===u?"+=":"-=":"pos"===u?"-=":"+=")+s,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}})},e.effects.effect.explode=function(t,i){function s(){b.push(this),b.length===d*c&&n()}function n(){p.css({visibility:"visible"}),e(b).remove(),m||p.hide(),i()}var a,o,r,h,l,u,d=t.pieces?Math.round(Math.sqrt(t.pieces)):3,c=d,p=e(this),f=e.effects.setMode(p,t.mode||"hide"),m="show"===f,g=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/c),y=Math.ceil(p.outerHeight()/d),b=[];for(a=0;d>a;a++)for(h=g.top+a*y,u=a-(d-1)/2,o=0;c>o;o++)r=g.left+o*v,l=o-(c-1)/2,p.clone().appendTo("body").wrap("
      ").css({position:"absolute",visibility:"visible",left:-o*v,top:-a*y}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:y,left:r+(m?l*v:0),top:h+(m?u*y:0),opacity:m?0:1}).animate({left:r+(m?0:l*v),top:h+(m?0:u*y),opacity:m?1:0},t.duration||500,t.easing,s)},e.effects.effect.fade=function(t,i){var s=e(this),n=e.effects.setMode(s,t.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:t.duration,easing:t.easing,complete:i})},e.effects.effect.fold=function(t,i){var s,n,a=e(this),o=["position","top","bottom","left","right","height","width"],r=e.effects.setMode(a,t.mode||"hide"),h="show"===r,l="hide"===r,u=t.size||15,d=/([0-9]+)%/.exec(u),c=!!t.horizFirst,p=h!==c,f=p?["width","height"]:["height","width"],m=t.duration/2,g={},v={};e.effects.save(a,o),a.show(),s=e.effects.createWrapper(a).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],d&&(u=parseInt(d[1],10)/100*n[l?0:1]),h&&s.css(c?{height:0,width:u}:{height:u,width:0}),g[f[0]]=h?n[0]:u,v[f[1]]=h?n[1]:0,s.animate(g,m,t.easing).animate(v,m,t.easing,function(){l&&a.hide(),e.effects.restore(a,o),e.effects.removeWrapper(a),i()})},e.effects.effect.highlight=function(t,i){var s=e(this),n=["backgroundImage","backgroundColor","opacity"],a=e.effects.setMode(s,t.mode||"show"),o={backgroundColor:s.css("backgroundColor")};"hide"===a&&(o.opacity=0),e.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===a&&s.hide(),e.effects.restore(s,n),i()}})},e.effects.effect.size=function(t,i){var s,n,a,o=e(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],u=["fontSize"],d=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=e.effects.setMode(o,t.mode||"effect"),f=t.restore||"effect"!==p,m=t.scale||"both",g=t.origin||["middle","center"],v=o.css("position"),y=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&o.show(),s={height:o.height(),width:o.width(),outerHeight:o.outerHeight(),outerWidth:o.outerWidth()},"toggle"===t.mode&&"show"===p?(o.from=t.to||b,o.to=t.from||s):(o.from=t.from||("show"===p?b:s),o.to=t.to||("hide"===p?b:s)),a={from:{y:o.from.height/s.height,x:o.from.width/s.width},to:{y:o.to.height/s.height,x:o.to.width/s.width}},("box"===m||"both"===m)&&(a.from.y!==a.to.y&&(y=y.concat(d),o.from=e.effects.setTransition(o,d,a.from.y,o.from),o.to=e.effects.setTransition(o,d,a.to.y,o.to)),a.from.x!==a.to.x&&(y=y.concat(c),o.from=e.effects.setTransition(o,c,a.from.x,o.from),o.to=e.effects.setTransition(o,c,a.to.x,o.to))),("content"===m||"both"===m)&&a.from.y!==a.to.y&&(y=y.concat(u).concat(l),o.from=e.effects.setTransition(o,u,a.from.y,o.from),o.to=e.effects.setTransition(o,u,a.to.y,o.to)),e.effects.save(o,y),o.show(),e.effects.createWrapper(o),o.css("overflow","hidden").css(o.from),g&&(n=e.effects.getBaseline(g,s),o.from.top=(s.outerHeight-o.outerHeight())*n.y,o.from.left=(s.outerWidth-o.outerWidth())*n.x,o.to.top=(s.outerHeight-o.to.outerHeight)*n.y,o.to.left=(s.outerWidth-o.to.outerWidth)*n.x),o.css(o.from),("content"===m||"both"===m)&&(d=d.concat(["marginTop","marginBottom"]).concat(u),c=c.concat(["marginLeft","marginRight"]),l=r.concat(d).concat(c),o.find("*[width]").each(function(){var i=e(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&e.effects.save(i,l),i.from={height:s.height*a.from.y,width:s.width*a.from.x,outerHeight:s.outerHeight*a.from.y,outerWidth:s.outerWidth*a.from.x},i.to={height:s.height*a.to.y,width:s.width*a.to.x,outerHeight:s.height*a.to.y,outerWidth:s.width*a.to.x},a.from.y!==a.to.y&&(i.from=e.effects.setTransition(i,d,a.from.y,i.from),i.to=e.effects.setTransition(i,d,a.to.y,i.to)),a.from.x!==a.to.x&&(i.from=e.effects.setTransition(i,c,a.from.x,i.from),i.to=e.effects.setTransition(i,c,a.to.x,i.to)),i.css(i.from),i.animate(i.to,t.duration,t.easing,function(){f&&e.effects.restore(i,l)})})),o.animate(o.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){0===o.to.opacity&&o.css("opacity",o.from.opacity),"hide"===p&&o.hide(),e.effects.restore(o,y),f||("static"===v?o.css({position:"relative",top:o.to.top,left:o.to.left}):e.each(["top","left"],function(e,t){o.css(t,function(t,i){var s=parseInt(i,10),n=e?o.to.left:o.to.top;return"auto"===i?n+"px":s+n+"px"})})),e.effects.removeWrapper(o),i()}})},e.effects.effect.scale=function(t,i){var s=e(this),n=e.extend(!0,{},t),a=e.effects.setMode(s,t.mode||"effect"),o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)?0:"hide"===a?0:100),r=t.direction||"both",h=t.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},u={y:"horizontal"!==r?o/100:1,x:"vertical"!==r?o/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==a&&(n.origin=h||["middle","center"],n.restore=!0),n.from=t.from||("show"===a?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*u.y,width:l.width*u.x,outerHeight:l.outerHeight*u.y,outerWidth:l.outerWidth*u.x},n.fade&&("show"===a&&(n.from.opacity=0,n.to.opacity=1),"hide"===a&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},e.effects.effect.puff=function(t,i){var s=e(this),n=e.effects.setMode(s,t.mode||"hide"),a="hide"===n,o=parseInt(t.percent,10)||150,r=o/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:a?o:100,from:a?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(t)},e.effects.effect.pulsate=function(t,i){var s,n=e(this),a=e.effects.setMode(n,t.mode||"show"),o="show"===a,r="hide"===a,h=o||"hide"===a,l=2*(t.times||5)+(h?1:0),u=t.duration/l,d=0,c=n.queue(),p=c.length;for((o||!n.is(":visible"))&&(n.css("opacity",0).show(),d=1),s=1;l>s;s++)n.animate({opacity:d},u,t.easing),d=1-d;n.animate({opacity:d},u,t.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&c.splice.apply(c,[1,0].concat(c.splice(p,l+1))),n.dequeue()},e.effects.effect.shake=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","height","width"],o=e.effects.setMode(n,t.mode||"effect"),r=t.direction||"left",h=t.distance||20,l=t.times||3,u=2*l+1,d=Math.round(t.duration/u),c="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},m={},g={},v=n.queue(),y=v.length;for(e.effects.save(n,a),n.show(),e.effects.createWrapper(n),f[c]=(p?"-=":"+=")+h,m[c]=(p?"+=":"-=")+2*h,g[c]=(p?"-=":"+=")+2*h,n.animate(f,d,t.easing),s=1;l>s;s++)n.animate(m,d,t.easing).animate(g,d,t.easing);n.animate(m,d,t.easing).animate(f,d/2,t.easing).queue(function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}),y>1&&v.splice.apply(v,[1,0].concat(v.splice(y,u+1))),n.dequeue()},e.effects.effect.slide=function(t,i){var s,n=e(this),a=["position","top","bottom","left","right","width","height"],o=e.effects.setMode(n,t.mode||"show"),r="show"===o,h=t.direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h,d={};e.effects.save(n,a),n.show(),s=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,u?isNaN(s)?"-"+s:-s:s),d[l]=(r?u?"+=":"-=":u?"-=":"+=")+s,n.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),e.effects.restore(n,a),e.effects.removeWrapper(n),i()}})},e.effects.effect.transfer=function(t,i){var s=e(this),n=e(t.to),a="fixed"===n.css("position"),o=e("body"),r=a?o.scrollTop():0,h=a?o.scrollLeft():0,l=n.offset(),u={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},d=s.offset(),c=e("
      ").appendTo(document.body).addClass(t.className).css({top:d.top-r,left:d.left-h,height:s.innerHeight(),width:s.innerWidth(),position:a?"fixed":"absolute"}).animate(u,t.duration,t.easing,function(){c.remove(),i()})}}); \ No newline at end of file diff --git a/shop/index_files/jquery-ui.structure.min.css b/shop/index_files/jquery-ui.structure.min.css new file mode 100644 index 0000000..cc4742a --- /dev/null +++ b/shop/index_files/jquery-ui.structure.min.css @@ -0,0 +1,5 @@ +/*! jQuery UI - v1.11.2 - 2014-11-19 +* http://jqueryui.com +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px} \ No newline at end of file diff --git a/shop/index_files/jquery-ui.theme.min.css b/shop/index_files/jquery-ui.theme.min.css new file mode 100644 index 0000000..8bf2012 --- /dev/null +++ b/shop/index_files/jquery-ui.theme.min.css @@ -0,0 +1,5 @@ +/*! jQuery UI - v1.11.2 - 2014-11-19 +* http://jqueryui.com +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +.ui-widget{font-family:'Noto Serif', 'PT Sans',Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #9b8f81;background:#000; color:#9b8f81; font-size: 12px}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #fbcb09;background:#fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#c77405}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fed22f;background:#ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;color:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_228ef1_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_ffd27a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px} \ No newline at end of file diff --git a/shop/index_files/jquery.js b/shop/index_files/jquery.js new file mode 100644 index 0000000..b383717 --- /dev/null +++ b/shop/index_files/jquery.js @@ -0,0 +1,287 @@ +/*! jQuery v1.7.2 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"":"")+""),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;e=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
      a",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="
      "+""+"
      ",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="
      t
      ",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="
      ",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function( +a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

      ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
      ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*",""],legend:[1,"
      ","
      "],thead:[1,"","
      "],tr:[2,"","
      "],td:[3,"","
      "],col:[2,"","
      "],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
      ","
      "]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f +.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(;d1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]===""&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
      ").append(c.replace(bM,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bN.test(this.nodeName)||bH.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b);return a},ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?ca(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bG.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bW+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bZ(bT,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)b_(g,a[g],c,e);return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n);try{m.text=h.responseText}catch(a){}try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); + +jQuery.fn.createAppend = function(element, attrs, content) +{ + + if (attrs == undefined && element.constructor == Array) + { + for (var i = 0; i < element.length; i += 3) + { + jQuery(this).createAppend(element[i], element[i + 1] || {}, element[i + 2] || []); + } + return this; + } + + var parentElement = this[0]; + + if (jQuery.browser.msie && element == 'input' && attrs.type) + { + var element = document.createElement('<' + element + ' type="' + attrs.type + '" />'); + } + else + { + var element = document.createElement(element); + }; + + if (/*jQuery.browser.msie && */parentElement.nodeName.toLowerCase() == 'table' && element.nodeName.toLowerCase() == 'tr') + { + if (parentElement && parentElement.getElementsByTagName('tbody')[0]) + { + var tbody = parentElement.getElementsByTagName('tbody')[0]; + } + else + { + var tbody = parentElement.appendChild(document.createElement('tbody')); + }; + var element = tbody.appendChild(element); + } + else + { + var element = parentElement.appendChild(element); + }; + + element = __FlyDOM_parseAttrs(element, attrs); + + if (typeof content == 'object' && content != null) + { + for (var i = 0; i < content.length; i = i + 3) + { + jQuery(element).createAppend(content[i], content[i + 1] || {}, content[i + 2] || []); + }; + } + else if (content != null) + { + element = __FlyDOM_setText(element, content); + }; + return jQuery(element); +} + + +jQuery.fn.createPrepend = function(element, attrs, content) +{ + + if (attrs == undefined && element.constructor == Array) + { + for (var i = 0; i < element.length; i += 3) + { + jQuery(this).createPrepend(element[i], element[i + 1] || {}, element[i + 2] || []); + } + return this; + } + + // var element = document.createElement(element); + var element = document.createElement('<' + element + ' type="' + attrs.type + '"/>'); + + if (attrs.value) + inputValue = attrs.value != '' ? attrs.value : ''; + var element = document.createElement('<' + element + ' type="' + attrs.type + '" value="' + inputValue + '"/>'); + + if (this[0].hasChildNodes() == false) + { + var element = this[0].appendChild(element); + }; + + element = __FlyDOM_parseAttrs(element, attrs); + + if (typeof content == 'object' && content != null) + { + for (var i = 0; i < content.length; i = i + 3) + { + jQuery(element).createAppend(content[i], content[i + 1] || {}, content[i + 2] || []); + }; + } + else if (content != null) + { + element = __FlyDOM_setText(element, content); + }; + + if (this[0].hasChildNodes() == true) + { + var element = this[0].insertBefore(element, this[0].firstChild); + }; + return jQuery(element); +} + + +jQuery.fn.tplAppend = function(json, tpl) +{ + if (json.constructor != Array) { json = [ json ]; }; + if (json.length == 0) { return false; }; + + for (var i = 0; i < json.length; i++) + { + var results = tpl.apply(json[i]); + + for (var j = 0; j < results.length; j = j + 3) + { + jQuery(this).createAppend(results[j], results[j + 1], results[j + 2]); + }; + }; + return this; +} + + +jQuery.fn.tplPrepend = function(json, tpl) +{ + var self = this[0]; + + if (json.constructor != Array) { json = [ json ]; }; + if (json.length == 0) { return false; }; + + var div = document.createElement('div'); + + for (var i = 0; i < json.length; i++) + { + var results = tpl.apply(json[i]); + + for (var j = 0; j < results.length; j = j + 3) + { + jQuery(div).createAppend(results[j], results[j + 1], results[j + 2]); + }; + }; + + for (i = div.childNodes.length - 1; i >= 0; i--) + { + if (jQuery.browser.msie && self.nodeName.toLowerCase() == 'table' && div.childNodes[i].nodeName.toLowerCase() == 'tr') + { + if (self.getElementsByTagName('tbody')[0]) + { + var tbodyElement = self.getElementsByTagName('tbody')[0]; + tbodyElement.insertBefore(div.childNodes[i], tbodyElement.firstChild); + } + else + { + var tbodyElement = self.insertBefore(document.createElement('tbody'), self.firstChild); + tbodyElement.appendChild(tbodyElement.appendChild(div.childNodes[i])); + }; + } else + { + self.insertBefore(div.childNodes[i], self.firstChild); + }; + }; + return this; +}; + + +String.prototype.toCamelCase = function() +{ + var self = this; + var special = { 'class': 'className', 'colspan': 'colSpan', 'rowspan': 'rowSpan', 'for': 'htmlFor', 'httpequiv': 'httpEquiv', + 'alink': 'aLink', 'vlink': 'vLink', 'bgcolor': 'bgColor', 'acceptcharset': 'acceptCharset', + 'selectedindex': 'selectedIndex', 'tabindex': 'tabIndex', 'selected': 'defaultSelected', 'checked': 'defaultChecked', + 'value': 'defaultValue', 'accesskey': 'accessKey', 'noshade': 'noShade', 'datetime': 'dateTime', 'usemap': 'useMap', + 'lowsrc': 'lowSrc', 'longdesc': 'longDesc', 'ismap': 'isMap', 'codebase': 'codeBase', 'codetype': 'codeType', + 'valuetype': 'valueType', 'nohref': 'noHref', 'thead': 'tHead', 'tfoot': 'tFoot', 'cellpadding': 'cellPadding', + 'cellspacing': 'cellSpacing', 'charoff': 'chOff', 'valign': 'vAlign', 'frameborder': 'frameBorder', + 'marginheight': 'marginHeight', 'marginwidth': 'marginWidth', 'noresize': 'noResize' }; + + if (special[self] != '' && typeof special[self] != 'undefined') + { + return special[self]; + } + + if (self.indexOf('-') > 0) + { + var parts = self.split('-'); + self = parts[0]; + + for (i = 1; i < parts.length; i++) + { + self += parts[i].substr(0, 1).toUpperCase() + parts[i].substr(1).toLowerCase(); + }; + }; + return self; +}; + + +String.prototype.trim = function() +{ + return this.replace(/^\s+|\s+$/g, ''); +}; + + +__FlyDOM_parseAttrs = function(element, attrs) +{ + for (attr in attrs) + { + var attrName = attr; + var attrValue = attrs[attr]; + + switch (attrName) + { + case 'style': + + if (typeof attrValue == 'string') + { + var params = attrValue.split(';'); + for (var i = 0; i < params.length; i++) + { + if (params[i].trim() != '') + { + var styleName = params[i].split(':')[0].trim(); + var styleValue = params[i].split(':')[1].trim(); + styleName = styleName.toCamelCase(); + if (styleName != '') + { + element.style[styleName] = styleValue; + }; + }; + }; + + } + else if (typeof attrValue == 'object') + { + for (styleName in attrValue) + { + var styleNameCamel = styleName.toCamelCase(); + if (styleName.trim() != '') + { + element.style[styleNameCamel] = attrValue[styleName]; + }; + }; + }; + + break; + + default: + + if (attrName.substr(0, 2) == 'on') + { + var event = attrName.substr(2); + attrValue = (typeof attrValue != 'function') ? eval('f = function() { ' + attrValue + '}') : attrValue; + jQuery(element).bind(event, attrValue); + } + else + { + element[attrName.toCamelCase()] = attrValue; + } + }; + }; + + return element; + +}; + + +__FlyDOM_setText = function(element, content) +{ + var isHtml = /(<\S[^><]*>)|(&.+;)/g; + + if (content.match(isHtml) != null && element.tagName.toUpperCase() != 'TEXTAREA') + { + var nDiv = document.createElement('div'); + nDiv.innerHTML = content; + element.appendChild(nDiv); + } + else + { + var textNode = document.createTextNode(content); + element.appendChild(textNode); + }; + + return element; + +}; \ No newline at end of file diff --git a/shop/index_files/kb.js b/shop/index_files/kb.js new file mode 100644 index 0000000..5559506 --- /dev/null +++ b/shop/index_files/kb.js @@ -0,0 +1 @@ +(function(){function getImg(url){var img;try{img=new Image}catch(ignore){img=document.createElement("img")}img.src=url}(function(i,s,o,g,r,a,m){i["DataCloudObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date;a=s.createElement("script"),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.type="text/javascript";if(m)m.appendChild(a)})(window,document,"head","//t.insigit.com/assets/dct.js","_dct");_dct("create","8fe1a90e434004cb9823641ceb64b783","3696d9c5412d7dbcbaf1f52aba44c40f","//t.insigit.com");_dct("send","info");getImg("//kitbit.net/h.gif?r="+escape(document.referrer)+(typeof screen=="undefined"?"":"&s="+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+"&u="+escape(document.URL)+"&h="+escape(document.title.substring(0,80))+"&kbuid=5EFC831F39DF385619FA584802B0C1F7")})(); diff --git a/shop/index_files/main.css b/shop/index_files/main.css new file mode 100644 index 0000000..0148def --- /dev/null +++ b/shop/index_files/main.css @@ -0,0 +1,2053 @@ +* { + padding: 0px; + margin: 0px; + border: 0px; + font-size: 0px; +} + +html { + overflow-y: scroll; + background-color: #000000; +} + +html, body { + height: 100%; +} + +html > body { + min-height: 100%; +} + +h1, h2, h3, h4, p, span, li, a { + font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif; + color: #252525; +} +h1, h2 { font-weight: bold } +h1 { font-size: 20px } +h2 { font-size: 18px } +h3 { font-size: 16px } +h4 { font-size: 14px } +p { font-size: 13px } +b { font-size: 13px } +i { font-size: 13px } +strong { font-size: 13px } +a { font-size: 13px } +span { font-size: 13px } +a { text-decoration: none } + +div.cc { + width: 980px; + margin: 0 auto; +} + +header { + position: fixed; + top: 0px; + left: 0px; + width: 100%; + z-index: 100; +} + +#wrap { + position: relative; + margin: 0 auto; + width: 100%; + height: auto !important; + min-height: 100%; + height: 100%; + background-image: url(/pic/front/global-back.jpg); + background-position: center top; + background-repeat: no-repeat; +} + +#wrap-light { + width: 100%; + height: auto !important; + min-height: 100%; + height: 100%; + background: url(/pic/front/back-pattern.jpg) left top; +} + +#content { + width: 100%; + margin: 0 auto; + min-height: 400px; + padding-bottom: 100px; + overflow: hidden; +} +#content-light { + position: relative; + width: 430px; + margin: 0 auto 0px auto; + min-height: 500px; + padding-bottom: 100px; +} +#content.rel { + position: relative; +} + +/********** GLOBAL HEADER MENU *********/ +header div.global-menu { + height: 36px; + background: rgba(0,0,0,0.7); +} +header div.global-menu:hover { + background: rgba(0,0,0,1); +} +header div.global-menu ul.external { + list-style: none; + display: inline-block; +} +header div.global-menu ul.external li { + position: relative; + display: inline-block; + line-height: 36px; + padding: 0px 14px; +} +header div.global-menu ul.external > li:first-child { + margin-left: 20px; +} +header div.global-menu ul.external li a { + color: #999999; + display: block; +} +header div.global-menu ul.external li a.shop { + color: #ac7a25; +} +header div.global-menu ul.external li:hover a.shop { + color: #e4b361 !important; +} +header div.global-menu ul.external li:hover { + background: #222222; +} +header div.global-menu ul.external li:hover a { + color: #eaeaea; +} + +/********** GLOBAL HEADER SUB MENU *********/ +header div.global-menu ul.external li > ul.sub-menu { + display: none; + position: absolute; + top: 36px; + left: 0px; + list-style: none; + background: #000000; +} +header div.global-menu ul.external li > ul.sub-menu li { + display: block; + line-height: 36px; + background: #000000; +} +header div.global-menu ul.external li > ul.sub-menu li a { + display: block; + color: #999999; +} +header div.global-menu ul.external li > ul.sub-menu li+li { + border-top: 1px solid #222222; +} +header div.global-menu ul.external li > ul.sub-menu li:hover a { + color: #eaeaea; +} +header div.global-menu ul.external li > ul.sub-menu li:hover { + background: #222222; +} + + +/************* GLOBAL HEADER SUBSCRIBER *************/ +header div.global-menu ul.subscriber { + float: right; + list-style: none; + display: inline-block; +} +header div.global-menu ul.subscriber li { + position: relative; + display: inline-block; + line-height: 36px; + padding: 0px 14px; +} +header div.global-menu ul.subscriber li a { + color: #999999; + display: block; +} +header div.global-menu ul.subscriber li a.nick { + font-size: 15px; + color: #f1e5d5; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); +} +header div.global-menu ul.subscriber li a.nick img { + position: relative; + width: 18px; + height: 18px; + top: 4px; + margin-left: 4px; +} +header div.global-menu ul.subscriber li:hover { + background: #222222; +} +header div.global-menu ul.subscriber li:hover a { + color: #eaeaea; +} + +/********** GLOBAL HEADER SUBSCRIBER SUB MENU *********/ +header div.global-menu ul.subscriber li > ul.sub-menu-click { + min-width: 145px; + display: none; + position: absolute; + top: 45px; + right: 0px; + list-style: none; + background-color: #101e27; + border: 1px solid #374246; + -webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,1), inset 0px 0px 1px 2px rgba(0,0,0,1); + -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,1), inset 0px 0px 1px 2px rgba(0,0,0,1); + box-shadow: 0px 0px 1px 1px rgba(0,0,0,1), inset 0px 0px 1px 2px rgba(0,0,0,1); +} +header div.global-menu ul.subscriber li > ul.sub-menu-click::after { + content: " "; + position: absolute; + z-index: 10; + width: 21px; + height: 13px; + top: -10px; + right: 24px; + background: url(/pic/front/drop/drop_window_arrow.png) center center no-repeat; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li { + display: block; + line-height: 36px; + background: #101e28; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li:first-child:hover { + background: #101e28 !important; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li a { + display: block; + color: #999999; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li+li { + border-top: 1px solid #222222; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li:hover a { + color: #bcbdbf; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li:hover { + background: #28363f; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li.about { + line-height: 20px; + padding-top: 6px; + padding-bottom: 6px; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li.about span { + display: block; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li.about span.nick { + color: #2b98f5; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li.about span.email { + font-size: 11px; + color: #9f907d; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li span.ico { + float: left; + display: inline-block; + width: 26px; + height: 26px; + margin-right: 10px; + position: relative; + top: 5px; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li span.ico.settings { + background: url(/pic/front/drop/ICO_settings.png) center center no-repeat; + background-size: 25px; +} +header div.global-menu ul.subscriber li > ul.sub-menu-click li span.ico.exit { + background: url(/pic/front/drop/ICO_exit.png) center center no-repeat; + background-size: 25px; +} + + +/************* GLOBAL HEADER SIGN *************/ +header div.global-menu div.sign { + float: right; + height: 36px; +} +header div.global-menu div.sign a, +header div.global-menu div.sign span { + display: inline-block; + line-height: 36px; +} +header div.global-menu div.sign a { + color: #999999; + padding: 0px 8px; +} +header div.global-menu div.sign a:hover { + color: #eaeaea; + background: #222222; +} +header div.global-menu div.sign a:last-child { + margin-right: 20px; +} +header div.global-menu div.sign span { + color: #6c6c6c; + padding: 0px 5px; +} + +/*************** HEADE LOGO ****************/ +body div.head { + width: 680px; + margin: 0 auto; + height: 280px; + padding-top: 36px; +} +body div.head img { + width: 600px; + margin: 12px 0px 0px 36px; +} +body #content-light a.logo { + padding: 20px 0px; + margin: 0 auto; + display: block; + text-align: center; +} +body #content-light a.logo img { + width: 600px; +} + + + +/*************** MAIN FRAME MENU **************/ +div.frame-menu { + position: absolute; + width: 100%; + z-index: 10; +} +div.frame-menu div.data { + position: relative; + margin: 0 auto; + width: 980px; + height: 120px; + background-image: url(/pic/front/top_panel.png); + background-position: center top; + background-repeat: no-repeat; + overflow: visible; +} +div.frame-menu div.data::before { + position: absolute; + top: 0px; + left: -22px; + content: ' '; + width: 47px; + height: 214px; + background-image: url(/pic/front/left_panel.png); + background-position: left top; + background-repeat: no-repeat; +} +div.frame-menu div.data::after { + position: absolute; + top: 0px; + right: -28px; + content: ' '; + width: 55px; + height: 214px; + background-image: url(/pic/front/right_panel.png); + background-position: left top; + background-repeat: no-repeat; +} +div.frame-menu div.data > ul.menu { + list-style: none; + position: absolute; + top: 42px; + left: 24px; + z-index: 15; + width: 940px; +} +div.frame-menu div.data > ul.menu > li { + display: inline-block; + float: left; + width: 136px; + height: 73px; +} +div.frame-menu div.data > ul.menu li.subscriber { + width: 259px; + height: 86px; + position: relative; + background: url(/pic/front/menu/subscriber-back.png) left top no-repeat; +} +div.frame-menu div.data ul.menu li.main { background: url(/pic/front/menu/main.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.library { background: url(/pic/front/menu/library.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.media { background: url(/pic/front/menu/media.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.faq { background: url(/pic/front/menu/faq.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.social { background: url(/pic/front/menu/social.jpg) center center no-repeat } + +div.frame-menu div.data ul.menu li.main:hover { background: url(/pic/front/menu/main_hover.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.library:hover { background: url(/pic/front/menu/library_hover.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.media:hover { background: url(/pic/front/menu/media_hover.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.faq:hover { background: url(/pic/front/menu/faq_hover.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.social:hover { background: url(/pic/front/menu/social_hover.jpg) center center no-repeat } + +div.frame-menu div.data ul.menu li.main.active { background: url(/pic/front/menu/main_active.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.library.active { background: url(/pic/front/menu/library_active.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.media.active { background: url(/pic/front/menu/media_active.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.faq.active { background: url(/pic/front/menu/faq_active.jpg) center center no-repeat } +div.frame-menu div.data ul.menu li.social.active { background: url(/pic/front/menu/social_active.jpg) center center no-repeat } + +div.frame-menu div.data > ul.menu > li > a { + display: block; + height: 73px; + position: relative; + text-align: center; +} +div.frame-menu div.data > ul.menu > li > a span { + display: block; + color: #ffb961; + padding-top: 45px; + font-weight: bold; + font-size: 14px; +} +div.frame-menu div.data ul.menu li.main:hover a span, +div.frame-menu div.data ul.menu li.media:hover a span, +div.frame-menu div.data ul.menu li.library:hover a span, +div.frame-menu div.data ul.menu li.faq:hover a span, +div.frame-menu div.data ul.menu li.social:hover a span, +div.frame-menu div.data ul.menu li.main.active a span, +div.frame-menu div.data ul.menu li.media.active a span, +div.frame-menu div.data ul.menu li.library.active a span, +div.frame-menu div.data ul.menu li.faq.active a span, +div.frame-menu div.data ul.menu li.social.active a span { + color: #ffcf94; + text-shadow: 0px 0px 2px rgba(0, 0, 0, 1); +} +div.frame-menu div.data ul.menu li.subscriber a { + text-align: left; +} +div.frame-menu div.data ul.menu li.subscriber a span.ico { + background: url(http://store.palgame.ru/resources/portrait/male/f_p1.jpg) center center no-repeat; + background-size: 66px; + display: block; + width: 60px; + height: 60px; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + position: absolute; + top: 6px; + left: 15px; + padding: 0px !important; +} +div.frame-menu div.data ul.menu li.subscriber a span.title { + padding: 8px 0px 0px 86px; + color: #850100; + font-size: 14px; +} +div.frame-menu div.data ul.menu li.subscriber a span.desc { + padding: 1px 0px 0px 86px; + color: #2f2929; + font-size: 12px; +} +div.frame-menu div.data ul.menu li.subscriber div.auth { + position: absolute; + top: 0px; + left: 0px; + background: url(/pic/front/menu/subscriber-back-big.png) left top no-repeat; + width: 259px; + height: 225px; + z-index: 10; + display: none; +} + +/*************** IS AUTH ****************/ +div.subscriber-is-auth div.avatar { + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + display: block; + width: 60px; + height: 60px; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + position: absolute; + top: 6px; + left: 15px; + padding: 0px !important; + -webkit-box-shadow: inset 0px 0px 10px 3px rgba(0,0,0,0.7); + -moz-box-shadow: inset 0px 0px 10px 3px rgba(0,0,0,0.7); + box-shadow: inset 0px 0px 10px 3px rgba(0,0,0,0.7); +} + +div.subscriber-is-auth div.avatar a.exit { + position: absolute; + display: block; + width: 17px; + height: 17px; + top: 4px; + right: -3px; + background-image: url(/i/user-close.png); + background-position: center; + background-repeat: no-repeat; +} + +div.subscriber-is-auth div.avatar a.go-account { + display: block; + height: 60px; +} + +div.subscriber-is-auth a.account, +div.subscriber-is-auth a.flash { + margin-left: 86px; + display: inline-block; + clear: both; +} + +div.subscriber-is-auth a.account { + color: #850100; + font-size: 13px; + padding-bottom: 1px; + margin-bottom: 4px; + margin-top: 8px; + font-weight: bold; + border-bottom: 1px dashed transparent; + overflow: hidden; + max-width: 155px; + height: 20px; +} + +div.subscriber-is-auth a.account:hover { + border-bottom: 1px dashed #850100; +} + +div.subscriber-is-auth a.flash { + padding-top: 4px; + line-height: 22px; + height: 26px; + width: 145px; + color: #f1e5d5; + font-size: 15px; + font-weight: bold; + text-align: center !important; + background: url(/pic/shop/button_n.jpg) center center no-repeat; + background-size: cover; + margin-top: 22px; +} + +div.subscriber-is-auth a.flash:hover { + background: url(/pic/shop/button_s.jpg) center center no-repeat; + background-size: cover; +} + + + + +/*************** FRAME LIGHT **************/ +div.frame-light-head { + position: absolute; + top: 150px; + width: 100%; + height: 42px; + z-index: 10; + background: url(/pic/front/top_panel_small.png) center top no-repeat; +} +div.frame-light-head::before { + position: absolute; + top: 7px; + left: -47px; + content: ' '; + width: 47px; + height: 214px; + background: url(/pic/front/left_panel_small.png) left top no-repeat; +} +div.frame-light-head::after { + position: absolute; + top: 1px; + right: -55px; + content: ' '; + width: 55px; + height: 214px; + background: url(/pic/front/right_panel_small.png) left top no-repeat; +} +div.frame-light-content { + width: 430px; + /*min-height: 500px;*/ + margin: 30px auto -1px auto; + position: relative; + background-color: rgba(0,0,0,0.5); + background: url(/pic/front/back-pattern.jpg) left top; +} +div.frame-light-content > .light-data { + background-image: url(/pic/store/right-back.png); + background-position: -190px top; + background-repeat: no-repeat; + background-size: 165%; + /*min-height: 300px;*/ +} +div.frame-light-content::before { + content: ' '; + position: absolute; + top: 0px; + left: -34px; + bottom: 0px; + z-index: 1; + background: url(/pic/front/border/l.png) top left; + width: 34px; +} +div.frame-light-content::after { + content: ' '; + position: absolute; + top: 0px; + right: -34px; + bottom: 0px; + z-index: 1; + background: url(/pic/front/border/r.png) top right; + width: 34px; +} +div.frame-light-bottom { + position: absolute; + width: 430px; + height: 34px; + left: 0px; + bottom: -33px; + background-image: url(/pic/front/border/b.png); + background-repeat: repeat-x; + background-position: left bottom; +} +div.frame-light-bottom::before { + content: ' '; + position: absolute; + bottom: -1px; + left: -34px; + width: 34px; + height: 34px; + background-image: url(/pic/front/border/lb.png); + background-repeat: repeat-x; + background-position: left bottom; +} +div.frame-light-bottom::after { + content: ' '; + position: absolute; + bottom: -1px; + right: -34px; + width: 34px; + height: 34px; + background-image: url(/pic/front/border/br.png); + background-repeat: repeat-x; + background-position: left bottom; +} + + + + +/*************** MAIN FRAME CONTENT **************/ +div.frame-border { + position: relative; + width: 998px; + margin: 15px auto 0px auto; + background-image: url(/pic/front/border/period-left.png), + url(/pic/front/border/period-right.png), + url(/pic/front/border/l.png), + url(/pic/front/border/r.png); + background-repeat: repeat-y, repeat-y, repeat-y, repeat-y; + background-position: left 40px, right 40px, left top, right top; +} +div.frame-border-b { + position: absolute; + height: 34px; + left: 34px; + right: 34px; + bottom: -10px; + background-image: url(/pic/front/border/b.png); + background-repeat: repeat-x; + background-position: left bottom; +} +div.frame-border-lb { + position: absolute; + width: 34px; + height: 34px; + left: 0px; + bottom: -11px; + background-image: url(/pic/front/border/lb.png); + background-repeat: no-repeat; + background-position: left bottom; +} +div.frame-border-br { + position: absolute; + width: 34px; + height: 34px; + right: 0px; + bottom: -11px; + background-image: url(/pic/front/border/br.png); + background-repeat: no-repeat; + background-position: right bottom; +} + +div.frame-border > div.frame { + min-height: 500px; + padding-top: 100px; + margin: 0px 32px 0px 32px; + background: url(/pic/front/back-pattern.jpg) left top repeat; + color: #ffffff; +} + +div.frame > div.left, +div.frame > div.right { + float: left; + min-height: 120px; +} +div.frame.main > div.left { + width: 680px; + position: relative; +} +div.frame.main > div.right { + width: 240px; + padding-top: 30px; + margin-left: 8px; +} + +div.frame.main > div.right > ul.important { + width: 240px; +} + +div.frame.main > div.right > ul.important li+li { + margin-top: -2px; +} + +div.frame.main > div.right > ul.important li a { + display: block; + width: 230px; + margin-left: 5px; +} + +div.frame.main > div.right > ul.important li a span.title { + font-size: 15px; + color: #f2d38a; + display: block; + margin: 6px 0px 5px 0px; + text-shadow: 0px 0px 5px rgba(240, 210, 140, 1); +} + +div.frame.main > div.right > ul.important li a span.img { + display: block; + height: 100px; + background: url(/pic/main/temp/imp-news.jpg) center center no-repeat; + margin-bottom: 6px; + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=75); + -moz-opacity: 0.75; + -khtml-opacity: 0.75; + opacity: 0.75; +} + +div.frame.main > div.right > ul.important li.client a span.img { + background: url(/pic/main/imp-link/client.jpg) center center no-repeat; +} +div.frame.main > div.right > ul.important li.rating a span.img { + background: url(/pic/main/imp-link/rating.jpg) center center no-repeat; +} +div.frame.main > div.right > ul.important li.shop a span.img { + background: url(/pic/main/imp-link/shop.jpg) center center no-repeat; +} +div.frame.main > div.right > ul.important li.support a span.img { + background: url(/pic/main/imp-link/support.jpg) center center no-repeat; +} + +div.frame.main > div.right > ul.important li:hover a span.img { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); + -moz-opacity: 1; + -khtml-opacity: 1; + opacity: 1; +} + +div.frame.main > div.right > ul.important li div.sep { + width: 100%; + border-top: 1px solid #0b0f12; + border-bottom: 1px solid #26353a; +} + + +/* LAST FROM FORUM */ +div.frame.main > div.right > div.forum { + width: 240px; + min-height: 200px; + margin: 20px 0px 20px 0px; + padding-bottom: 175px; + background-image: url(/pic/main/flag/flag_top.png), url(/pic/main/flag/flag_bot.png); + background-position: center top, center bottom; + background-repeat: no-repeat, no-repeat; +} +div.frame.main > div.right > div.forum p.name { + text-transform: uppercase; + font-size: 15px; + text-align: center; + color: #f2d38a; + text-shadow: 0px 0px 5px rgba(240, 210, 140, 1); + padding: 55px 10px 0px 10px; +} +div.frame.main > div.right > div.forum ul { + list-style: none; + min-height: 100px; + width: 240px; + padding-top: 10px; + background: url(/pic/main/flag/flag_middle.png) center center repeat-y; +} +div.frame.main > div.right > div.forum ul li { + display: block; + width: 200px; + padding: 10px 20px; +} +div.frame.main > div.right > div.forum ul li:hover span.title { + text-shadow: 0px 0px 5px rgba(240, 228, 212, 1); +} +div.frame.main > div.right > div.forum ul li span { + display: block; +} +div.frame.main > div.right > div.forum ul li span.title { + color: #f0e4d4; + font-size: 13px; + text-shadow: 0px 0px 5px rgba(240, 228, 212, 0); +} +div.frame.main > div.right > div.forum ul li span.category { + color: #664848; + font-size: 11px; +} +div.frame.main > div.right > div.forum ul li span.date { + color: #664848; + font-size: 10px; + padding-bottom: 1px; +} + +/* CRUMBS */ +div.crumb { + position: absolute; + top: 4px; + left: 0px; + height: 28px; + z-index: 10; +} +div.crumb ul { + list-style: none; + padding-right: 40px; +} +div.crumb ul li { + display: inline-block; + line-height: 20px; + padding: 4px 10px; + position: relative; +} +div.crumb ul li+li::before { + content: '•'; + font-size: 12px; + color: #8b8c87; +} +div.crumb ul li+li { + padding-left: 0px !important +} +div.crumb ul li+li a { + margin-left: 7px; +} +div.crumb ul li a, +div.crumb ul li span { + font-size: 12px; + color: #8b8c87; +} + +/* ANONS */ +div.anons { + width: 675px; + height: 290px; + margin-top: 30px; +} +div.anons > div.slider { + position: relative; + width: 675px; + height: 290px; + -webkit-border-radius: 0px 3px 3px 0px; + -moz-border-radius: 0px 3px 3px 0px; + border-radius: 0px 3px 3px 0px; + overflow: hidden; + border: 1px solid #282d30; +} +div.anons > div.slider > div.slide { + position: relative; + width: 675px; + height: 290px; + background: url(/pic/main/news/img_news_1.jpg) center center no-repeat; + -webkit-box-shadow: inset 0px 0px 8px 6px rgba(0,0,0,0.75); + -moz-box-shadow: inset 0px 0px 8px 6px rgba(0,0,0,0.75); + box-shadow: inset 0px 0px 8px 6px rgba(0,0,0,0.75); +} +div.anons > div.slider > div.slide h1, +div.anons > div.slider > div.slide a { + position: absolute; + left: 30px; + bottom: 30px; + font-size: 30px; + color: #f1e6b9; + text-shadow: 1px 1px 7px rgba(0,0,0,1); +} + +div.anons > div.slider > div.slide-but { + position: absolute; + z-index: 10; + bottom: 20px; + right: 20px; +} +div.anons > div.slider > div.slide-but a { + display: inline-block; + width: 6px; + height: 6px; + border: 1px solid rgba(241, 230, 185, 0.5); + float: right; + margin-left: 3px; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; +} +div.anons > div.slider > div.slide-but a.active, +div.anons > div.slider > div.slide-but a:hover { + background-color: rgba(241, 230, 185, 0.5); +} + +/* NEWS */ +div.main-news { + +} + +div.main-news > div.sep { + margin-top: 1px; + margin-left: 16px; + margin-right: 16px; + margin-bottom: 4px; + border-top: 1px solid #0b0f12; + border-bottom: 1px solid #26353a; +} + +div.main-news > ul.menu { + list-style: none; + margin-top: 8px; +} +div.main-news > ul.menu li { + display: inline-block; + height: 28px; + margin-left: 8px; + margin-right: 8px; +} +div.main-news > ul.menu li a { + display: block; + color: #f1e6b9; + text-shadow: 0px 0px 5px rgba(240, 228, 212, 1); + line-height: 28px; +} +div.main-news > ul.menu li a:hover { + text-shadow: 0px 0px 10px rgba(255, 248, 239, 1); +} +div.main-news > ul.menu li.allnews { + margin-left: 16px; +} +div.main-news > ul.menu li.rss { + float: right; + margin-right: 16px; + padding-right: 24px; + background: url(/pic/main/news/rss.png) right 4px no-repeat; +} +div.main-news > div.item { + height: 135px; + background: url(/pic/main/news/news-item.png) -2px top no-repeat; + margin-bottom: 5px; + padding: 10px; + position: relative; +} +div.main-news > div.item > div.img { + position: absolute; + top: 11px; + left: 14px; + width: 210px; + height: 130px; + background: url(/pic/main/news/temp-news.jpg) center center no-repeat; + background-size: cover; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + border-radius: 2px; + border: 1px solid #100901; +} +div.main-news > div.item > div.img > a { + display: block; + height: 130px; +} +div.main-news > div.item > a, +div.main-news > div.item > p { + padding-left: 230px; +} +div.main-news > div.item > a { + padding-right: 130px; + display: block; + color: #252324; + font-size: 16px; + text-shadow: 0px 0px 1px rgba(37,35,36,1); + font-weight: bold; +} +div.main-news > div.item > a:hover { + color: #000000; +} +div.main-news > div.item > p { + font-size: 13px; +} +div.main-news > div.item > span.comment, +div.main-news > div.item > span.date { + position: absolute; +} +div.main-news > div.item > span.comment { + top: 15px; + right: 86px; + font-size: 11px; + font-weight: bold; + color: #5b4c37; + padding-left: 16px; + background: url(/pic/main/news/comment_normal.png) left top no-repeat; + background-position: left 2px; +} +div.main-news > div.item > span.date { + top: 15px; + right: 22px; + font-size: 11px; + font-weight: bold; + color: #5b4c37; +} + + + + + +/*************** ANIMATION & RADIUS & SHADOW ****************/ +.trans { + -webkit-transition: all .3s linear; + -moz-transition: all .3s linear; + -o-transition: all .3s linear; + transition: all .3s linear; +} +.ftrans { + -webkit-transition: all .2s linear; + -moz-transition: all .2s linear; + -o-transition: all .2s linear; + transition: all .2s linear; +} +.r5 { + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +.fs { + -webkit-box-shadow: inset 0px 0px 24px 0px rgba(11,15,18,1); + -moz-box-shadow: inset 0px 0px 24px 0px rgba(11,15,18,1); + box-shadow: inset 0px 0px 24px 0px rgba(11,15,18,1); +} + + +/*************** CLEAN ****************/ +div.clean { + height: 1px; + clear: both; +} +div.clean-frame { + height: 30px; + clear: both; +} +input#redactor_file { + font-size: 12px; +} +input#redactor_file_link { + width: 99%; + font-size: 16px; + padding: 4px; + border: 1px solid #E7E7E7; + color: #888C96; +} + + + + + + + + + + + + + + + + + + + + +footer { + position: relative; + margin-top: -100px; + height: 100px; + width: 100%; +} + + + +div#cnt { + width: 100%; + margin: 0 auto; + min-height: 400px; + padding-bottom: 100px; +} + +div#content.inn { + padding-top: 220px !important; +} + +div#content.bg-lines { + background-image: url('../i/line-left.png'), url('../i/line-right.png'); + background-position: left 200px, right 200px; + background-repeat: no-repeat; +} + +div.content-center { + width: 900px !important; + margin: 0 auto; + min-height: 400px; +} + +header > .data { + position: relative; + width: 930px; + margin: 0 auto; + height: 155px; +} + +div.logo { + text-align: center; +} +img.logo { + /* + margin-top: 28px; + width: 210px; + */ + margin-left: 230px; + margin-top: 10px; + width: 480px; +} + +header div.menu { + width: 100%; + height: 38px; + background: #335356; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMzNTM1NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwODBjMTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #335356 0%, #080c16 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#335356), color-stop(100%,#080c16)); + background: -webkit-linear-gradient(top, #335356 0%,#080c16 100%); + background: -o-linear-gradient(top, #335356 0%,#080c16 100%); + background: -ms-linear-gradient(top, #335356 0%,#080c16 100%); + background: linear-gradient(to bottom, #335356 0%,#080c16 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#335356', endColorstr='#080c16',GradientType=0 ); +} + +header div.menu div.bx > a { + display: inline-block; + text-align: center; + line-height: 38px; + padding: 0px 28px; + border-right: 1px solid #1A3A36; + text-transform: uppercase; + color: #D2D9D9; + font-stretch: condensed; + font-size: 14px; +} + +header div.menu div.bx > a:hover { + background-color: rgba(255,255,255,0.2); + text-shadow: 0px -1px 0px black; + -o-text-shadow: 0px -1px 0px black; + -moz-text-shadow: 0px -1px 0px black; + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.menu div.bx > a.active { + /* + background: #c60000; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #c60000 0%, #840000 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60000), color-stop(100%,#840000)); + background: -webkit-linear-gradient(top, #c60000 0%,#840000 100%); + background: -o-linear-gradient(top, #c60000 0%,#840000 100%); + background: -ms-linear-gradient(top, #c60000 0%,#840000 100%); + background: linear-gradient(to bottom, #c60000 0%,#840000 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); + */ + + background: #c60000; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY1JSIgc3RvcC1jb2xvcj0iIzg0MDAwMCIgc3RvcC1vcGFjaXR5PSIwLjYiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzg0MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); + background: -moz-linear-gradient(top, rgba(198,0,0,1) 0%, rgba(132,0,0,0.6) 65%, rgba(132,0,0,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(198,0,0,1)), color-stop(65%,rgba(132,0,0,0.6)), color-stop(100%,rgba(132,0,0,1))); + background: -webkit-linear-gradient(top, rgba(198,0,0,1) 0%,rgba(132,0,0,0.6) 65%,rgba(132,0,0,1) 100%); + background: -o-linear-gradient(top, rgba(198,0,0,1) 0%,rgba(132,0,0,0.6) 65%,rgba(132,0,0,1) 100%); + background: -ms-linear-gradient(top, rgba(198,0,0,1) 0%,rgba(132,0,0,0.6) 65%,rgba(132,0,0,1) 100%); + background: linear-gradient(to bottom, rgba(198,0,0,1) 0%,rgba(132,0,0,0.6) 65%,rgba(132,0,0,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); + + text-shadow: 0px -1px 0px black; + -o-text-shadow: 0px -1px 0px black; + -moz-text-shadow: 0px -1px 0px black; +} + +header div.menu div.bx > a:first-child { + border-left: 1px solid #1A3A36; +} + + +/************ USER MINI BOX ***********/ +header > div.sign, +header > div.user { + display: block; + position: absolute; + width: 171px; + height: 184px; + background-image: url('../i/play-head.png'); + background-position: center center; + background-repeat: no-repeat; + top: 0px; + left: 50%; + margin-left: 300px; +} + +header > div.sign > a { + position: relative; + width: 90px; + top: 60px; + left: 55px; + text-align: center; + font-size: 18px; + color: #D2D9D9; + padding-botton: 2px; + border-bottom: 1px dashed #D2D9D9; + font-stretch: condensed; +} + +header div.user { + width: 171px; + height: 184px; +} + +header div.user > a.init-play { + display: block; + position: absolute; + width: 123px; + height: 71px; + background-image: url(/i/b-play.png); + background-position: center; + background-repeat: no-repeat; + bottom: 24px; + left: 24px; + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.user > a.init-play:hover { + background-image: url(/i/b-play-active.png); + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.user div.avatar { + position: relative; + text-align: center; +} + +header div.user div.avatar > a.close { + position: absolute; + display: block; + width: 17px; + height: 17px; + top: 11px; + right: 53px; + background-image: url(/i/user-close.png); + background-position: center; + background-repeat: no-repeat; +} + +header div.user-hidden div.avatar img, +header div.user div.avatar img { + width: 60px; + height: 60px; + margin-top: 6px; +} + +div.avatar img { + overflow: hidden; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; +} + +header div.avatar img { + border: 3px solid rgba(250,110,110,0.0); + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.avatar img:hover { + border: 3px solid rgba(250,110,110,0.8); + -webkit-transition: all 1s; + -moz-transition: all 1s; + -o-transition: all 1s; + transition: all 1s; +} + +header div.user > div.data { + width: 120px; + margin-top: 1px; + margin-left: 25px; +} + +header div.user > div.data span { + display: block; + text-align: center; + font-size: 11px; + font-weight: bold; + font-stretch: condensed; +} + +/********************************************/ + + +h1 { + font-size: 18px; + font-weight: normal; +} + +h1.main, +div#block > div.in > h1 { + padding-top: 30px; + padding-right: 40px; + padding-left: 40px; +} + +p { + font-size: 14px; +} + +p.main, +div#block > div.in > p { + padding-top: 10px; + padding-left: 40px; + padding-right: 40px; +} + +a.img { + position: absolute; + z-index: 5; + top: 210px; + left: 15px; + cursor: pointer; +} + +img.lbc { + display: none; +} + +div.bx { + width: 900px; + margin: 0 auto; +} + +img.icon { + position: absolute; + z-index: 10; + top: 360px; +} +div#block:nth-child(1) > div.in:nth-child(1) img.icon { + left: 0px; +} +div#block:nth-child(1) > div.in:nth-child(2) img.icon { + right: 0px; +} +div#block:nth-child(3) > div.in:nth-child(1) img.icon { + right: 0px; +} +div#block:nth-child(3) > div.in:nth-child(2) img.icon { + left: 0px; +} + +div#content div#block { + position: relative; + width: 930px; + min-height: 500px; + clear: both; +} + +div#content div#block > div.in { + position: relative; + width: 440px; + min-height: 500px; + float: left; + background-position: center top; + background-repeat: no-repeat; +} + +div#content div#block:nth-child(1), +div#content div#block:nth-child(3) { + width: 930px; + margin: 0 auto; +} + +div#content div#block:nth-child(3) { + min-height: 560px; +} + +div#content div#block:nth-child(2) { + width: 1120px; + height: 540px; + margin: 15px auto 2px auto; +} + +div#content div#block:nth-child(4) { + width: 1120px; + height: 500px; + margin: 5px auto 2px auto; +} + +div#content div#block:nth-child(4) { + margin-top: -30px !important; +} + +div#content div#block:nth-child(2) img, +div#content div#block:nth-child(4) img.person-3 { + position: absolute; +} + +div#content div#block:nth-child(2) img.back { + top: 60px; + left: 185px; +} + +div#content div#block:nth-child(2) img.person-1 { + top: 0px; + right: 745px; +} + +div#content div#block:nth-child(2) img.person-2 { + top: 0px; + left: 845px; +} + +div#content div#block:nth-child(4) img.person-3 { + top: 0px; + left: 0px; +} + +div#content div#block:nth-child(2) h1, +div#content div#block:nth-child(2) p { + z-index: 20; + position: absolute; + width: 390px; +} + +div#content div#block:nth-child(2) h1 { + top: 80px; + left: 350px; +} + +div#content div#block:nth-child(2) p.txt1 { + top: 145px; + left: 390px; +} + +div#content div#block:nth-child(2) p.txt2 { + top: 250px; + left: 430px; +} + +div#content div#block:nth-child(4) h1 { + position: absolute; + top: 50px; + left: 250px; +} + +div#content div#block:nth-child(4) p { + position: absolute; + top: 115px; + left: 250px; + width: 220px; +} + +div#content div#block:nth-child(1) > div.in:nth-child(1) { + background-image: url('../i/block-back-1-n.png'); +} + +div#content div#block:nth-child(1) > div.in:nth-child(2) { + margin-left: 50px; + background-image: url('../i/block-back-2.png'); +} + +div#content div#block:nth-child(3) > div.in:nth-child(1) { + background-image: url('../i/block-back-4.png'); +} + +div#content div#block:nth-child(3) > div.in:nth-child(2) { + margin-left: 50px; + background-image: url('../i/block-back-5.png'); +} + +div#content div#block:nth-child(4) { + background-image: url('../i/block-back-6.png'); + background-position: 130px 50px; + background-repeat: no-repeat; +} + +div#media { + position: absolute; + width: 470px; + height: 330px; + top: 70px; + right: 116px; + background-image: url(../i/img-5.png); +} + + +div#reg { + width: 930px; + height: 160px; + margin: 0 auto; + position: relative; + margin-bottom: 15px; +} + +div#reg > a.play { + position: absolute; + top: 20px; + left: 100px; + background-image: url('../i/play-footer.png'); + background-repeat: no-repeat; + display: block; + width: 296px; + padding-top: 32px; + padding-bottom: 32px; + min-height: 90px; + font-size: 25px; + text-align: center; + color: #ffffff; + font-weight: bold; +} + +img.txt-kubic, +img.img-kubic { + position: absolute; +} + +img.txt-kubic { + left: 500px; + top: 15px; +} + +img.img-kubic { + left: 690px; + top: 0px; +} + +footer div.fbox { + width: 930px; + height: 100px; + margin: 0 auto; + position: relative; + /*top: 180px;*/ +} + +footer img.cigame, +footer p.copy, +footer a.offer { + position: absolute; + color: #ffffff; +} + +footer .fbox img.cigame { + top: 40px; + left: 20px; +} + +footer p.copy { + top: 55px; + right: 20px; + font-size: 11px; +} + +footer a.offer { + top: 54px; + right: 180px; + color: #ffffff; + border-bottom: 1px dashed #ffffff; +} + +.fbox .pluso { + position: absolute !important; + top: 50px !important; + left: 160px !important; +} + +div.overplay { + position: fixed; + top: 0px; + left: 0px; + bottom: 0px; + width: 100%; + height: 100%; + opacity: 0.8; + filter: alpha(opacity=80); + background-color: #000000; + z-index: 40; +} + +.slogan { + text-shadow: 1px 1px 1px black; + -o-text-shadow: 1px 1px 1px black; + -moz-text-shadow: 1px 1px 1px black; +} +.sdw { + width: 248px; + -webkit-border-radius: 7px; + -moz-border-radius: 7px; + border-radius: 7px; + line-height: 36px; + font-size: 16px !important; + text-shadow: inset 1px 1px 2px black; + -o-text-shadow: inset 1px 1px 2px black; + -moz-text-shadow: inset 1px 1px 2px black; + margin-left: 50px; + font-weight: bold; + text-decoration: none !important; +} + + + + + +/******** NOTICE **********/ +#notice.fly { + position: absolute; + top: 15px; + left: 50%; + width: 800px; + margin-left: -400px; + z-index: 999; + opacity: 0.9; +} + +#notice.fly > .each.false { + background-color: #700000; +} + +#notice.fly > .each.true { + background-color: #166000; +} + +#notice.fly > .each + .each { + margin-top: 1px; +} + +#notice.fly > .each.false > span { + color: #FFDDDD !important; +} + +#notice.fly > .each.true > span { + color: #EAFFC4 !important; +} + +#notice.fly > .each:nth-child(1) { + -webkit-border-radius: 8px 8px 0px 0px; + -moz-border-radius: 8px 8px 0px 0px; + border-radius: 8px 8px 0px 0px; +} + +#notice.fly > .each:last-child { + -webkit-border-radius: 0px 0px 8px 8px; + -moz-border-radius: 0px 0px 8px 8px; + border-radius: 0px 0px 8px 8px; +} + +#notice.fly .each span { + font-size: 15px; + color: #ffffff; + padding: 5px 12px; + display: block; +} + + +/********* INNER **********/ +div.box { + position: relative; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + padding: 20px 20px 20px 224px; + min-height: 320px; + background-image: url(/i/inner-bg.jpg); + margin-bottom: 40px; +} + +div.plain { + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + padding: 30px; + min-height: 320px; + background-image: url(/i/inner-bg.jpg); + margin-bottom: 40px; +} + +div.box h1 { + padding: 0px 0px 12px 0px !important; + color: #121212; + border-bottom: 1px dashed #C4C4C4; + margin-bottom: 22px; + margin-left: 26px; + font-size: 22px; +} + +div.plain h1 { + padding: 0px 0px 8px 0px !important; + color: #121212; + border-bottom: 1px dashed #C4C4C4; + font-size: 22px; + margin-bottom: 18px; +} + +div.plain h3 { + font-size: 15px; + color: #121212; + margin-top: 14px; + margin-bottom: 6px; +} + +div.plain p { + color: #121212; + padding-left: 0px !important; + padding-right: 0px !important; + padding-top: 0px !important; + padding-bottom: 6px; +} + +div.inner-bg { + background-image: url(/i/inner-bg.jpg); +} + +ul.inner-menu { + position: relative; + width: 170px; + display: block; + list-style: none; + float: left; + margin-top: 80px; + margin-left: 20px; + border: 1px solid #fff; + background-color: rgba(255,255,255,0.2); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + box-shadow: 0px 0px 5px rgba(0,0,0,0.2); + -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.2); + -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.2); + padding: 12px; + z-index: 5; +} + +ul.inner-menu li { + list-style: none; + width: 170px; + border-bottom: 1px solid #D3D3D3; +} + +ul.inner-menu li:nth-child(1) { + border-top: 1px solid #D3D3D3; +} + +ul.inner-menu li a { + font-size: 14px; + line-height: 32px; + display: block; + padding: 4px 8px; + cursor: pointer; + color: #121212 !important; +} + +ul.inner-menu li a.active { + color: #999999 !important; + font-weight: bold !important; + background-color: rgba(255,255,255,0.4) !important; + background-image: url(/i/arrow-right.png); + background-position: 158px 16px; + background-repeat: no-repeat; +} + +ul.inner-menu li a.down { + font-weight: bold !important; +} + +ul.inner-menu li a:hover { + background-color: rgba(255,255,255,0.3); + color: #999999 !important; + -webkit-transition: color 1s; + -moz-transition: color 1s; + -o-transition: color 1s; + transition: color 1s; + -webkit-transition: background-color 1s; + -moz-transition: background-color 1s; + -o-transition: background-color 1s; + transition: background-color 1s; +} + + + +/*************************************/ +div#fly-fail, +div#fly-result { + position: absolute; + top: 50%; + left: 50%; + margin-left: -60px; + margin-top: -75px; + z-index: 99; + width: 320px; + height: 140px; + background-color: rgba(210, 210, 210, 0.9); + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + border: 1px solid #ffffff; + padding: 10px; + box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + -moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); + -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5); +} + +div#fly-fail > div.img, +div#fly-result > div.img { + width: 140px; + height: 140px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + background-image: url(/i/shop/pay.png); + background-size: cover; + float: left; + position: relative; + z-index: 100; +} + +div#fly-fail > span.desc, +div#fly-result > span.desc { + display: block; + padding-left: 160px; + padding-right: 20px; + padding-top: 30px; + color: #121212; + font-size: 15px; + text-align: center; +} + +div#fly-fail > span.close, +div#fly-result > span.close { + background-image: url("/i/minus.png"); + background-size: cover; + -webkit-border-radius: 99px; + -moz-border-radius: 99px; + border-radius: 99px; + cursor: pointer; + display: block; + height: 16px; + position: absolute; + right: 8px; + top: 8px; + width: 16px; +} + +/*************************************/ +div.center { + text-align: center; +} + +div#wrap.maintenance { + background-attachment: fixed; + background-color: #000000; + background-image: url(/i/maintenance.jpg); + background-position: center center; + background-size: cover; +} + +div#wrap.maintenance h1, +div#wrap.maintenance form, +div#wrap.maintenance img { + position: absolute; +} + +div#wrap.maintenance img.logo { + left: 50%; + margin-left: -300px; + margin-top: -140px; + top: 40%; + width: 600px; +} + +div#wrap.maintenance h1 { + color: #fff; + font-size: 26px; + left: 50%; + margin-left: -357px; + margin-top: 50px; + padding: 0 !important; + text-align: center; + top: 50%; + width: 700px; + text-shadow: 0px 0px 8px rgba(0,0,0,1); + -moz-text-shadow: 0px 0px 8px rgba(0,0,0,1); + -webkit-text-shadow: 0px 0px 8px rgba(0,0,0,1); +} + +div#wrap.maintenance form { + bottom: 20px; + right: 20px; +} + +div#wrap.maintenance form div.field { + -webkit-border-radius: 7px !important; + -moz-border-radius: 7px !important; + border-radius: 7px !important; + border-color: #CCCA64 !important; +} + +div#wrap.maintenance form div.field input { + -webkit-border-radius: 7px !important; + -moz-border-radius: 7px !important; + border-radius: 7px !important; +} + + + +/************ maintenance **************/ +a.go-maintenance { + display: block; + position: absolute; + text-align: center; + top: 0px; + right: 30px; + width: 171px; + height: 184px; + background-image: url('../i/play-head.png'); + background-position: center center; + background-repeat: no-repeat; +} +a.go-maintenance > span { + position: relative; + color: #ececec; + font-size: 17px; + border-bottom: 1px dashed #ececec; + top: 60px; +} + + +/************ REWRITE ************/ +.ui-tooltip { + border: 1px solid #9b8f81 !important; +} +.ui-tooltip > div.ui-tooltip-content { + font-size: 13px; + color: #9b8f81; +} + + +/************ LIGHT VIDEO ***********/ + + + +/************* BUTTONS *************/ +a.bb { + font-size: 16px; + line-height: 36px; + padding-left: 17px; + padding-right: 17px; + color: #f1e5d5; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + background-image: url(/img/button/button_big_n_001.jpg), + url(/img/button/button_big_n_003.jpg), + url(/img/button/button_big_n_002.jpg); + background-position: top left, + top right, + top center; + background-repeat: no-repeat, + no-repeat, + repeat-x; +} + +a.bb:hover { + background-image: url(/img/button/button_big_s_001.jpg), + url(/img/button/button_big_s_003.jpg), + url(/img/button/button_big_s_002.jpg); + background-position: top left, + top right, + top center; + background-repeat: no-repeat, + no-repeat, + repeat-x; +} + +a.bl { + display: inline-block; + font-size: 12px; + line-height: 25px; + padding-left: 14px; + padding-right: 14px; + color: #f1e5d5; + -moz-text-shadow: 0 0 5px rgba(240,230,212,0.6); + -webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6); + text-shadow: 0 0 5px rgba(240,230,212,0.6); + background-image: url(/img/button/button_s_n_001.jpg), + url(/img/button/button_s_n_003.jpg), + url(/img/button/button_s_n_002.jpg); + background-position: top left, + top right, + top center; + background-repeat: no-repeat, + no-repeat, + repeat-x; +} + +a.bl:hover { + background-image: url(/img/button/button_s_s_001.jpg), + url(/img/button/button_s_s_003.jpg), + url(/img/button/button_s_s_002.jpg); + background-position: top left, + top right, + top center; + background-repeat: no-repeat, + no-repeat, + repeat-x; +} + + + + + + + + + + + + + + diff --git a/shop/index_files/palgame-logo.gif b/shop/index_files/palgame-logo.gif new file mode 100644 index 0000000..fdce352 Binary files /dev/null and b/shop/index_files/palgame-logo.gif differ diff --git a/shop/index_files/palgame-logo.png b/shop/index_files/palgame-logo.png new file mode 100644 index 0000000..7fd0847 Binary files /dev/null and b/shop/index_files/palgame-logo.png differ diff --git a/shop/index_files/pic.css b/shop/index_files/pic.css new file mode 100644 index 0000000..5e9f97a --- /dev/null +++ b/shop/index_files/pic.css @@ -0,0 +1,181 @@ +body.registration, +body.auth { + background: #1e5799; + background: -moz-radial-gradient(center, ellipse cover, #1e5799 0%, #003060 100%); + background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#1e5799), color-stop(100%,#003060)); + background: -webkit-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%); + background: -o-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%); + background: -ms-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%); + background: radial-gradient(ellipse at center, #1e5799 0%,#003060 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#003060',GradientType=1 ); +} + +button, +.green { + background: rgb(180,207,97); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0Y2Y2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMlIiBzdG9wLWNvbG9yPSIjYjRjZjYxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMyUiIHN0b3AtY29sb3I9IiM5NWJiMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNmU5MDEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); + background: -moz-linear-gradient(top, rgba(180,207,97,1) 0%, rgba(180,207,97,1) 3%, rgba(149,187,28,1) 3%, rgba(110,144,16,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(180,207,97,1)), color-stop(3%,rgba(180,207,97,1)), color-stop(3%,rgba(149,187,28,1)), color-stop(100%,rgba(110,144,16,1))); + background: -webkit-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: -o-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: -ms-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + background: linear-gradient(to bottom, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4cf61', endColorstr='#6e9010',GradientType=0 ); + border: 1px solid #5b7a13; +} + +.red { + background: #c60000; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #c60000 0%, #840000 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60000), color-stop(100%,#840000)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #c60000 0%,#840000 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #c60000 0%,#840000 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #c60000 0%,#840000 100%); /* IE10+ */ + background: linear-gradient(to bottom, #c60000 0%,#840000 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); /* IE6-8 */ + border: 1px solid #600000; +} + +.gray { + background: rgb(191,191,191); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JmYmZiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3YzdjN2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(191,191,191,1) 0%, rgba(124,124,124,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(191,191,191,1)), color-stop(100%,rgba(124,124,124,1))); + background: -webkit-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: -o-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: -ms-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: linear-gradient(to bottom, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#7c7c7c',GradientType=0 ); + border: 1px solid #6f6f6f; + + /* + text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2); + -moz-text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2); + -webkit-text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2); + box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5); + -moz-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5); + -webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5); + */ +} + +.shop-pay-block, +.bg-gray { + background: rgb(191,191,191); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JmYmZiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3YzdjN2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(191,191,191,1) 0%, rgba(124,124,124,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(191,191,191,1)), color-stop(100%,rgba(124,124,124,1))); + background: -webkit-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: -o-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: -ms-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + background: linear-gradient(to bottom, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#7c7c7c',GradientType=0 ); + border: 1px solid #6f6f6f; +} + +.black { + background: rgb(21,22,24); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE1MTYxOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1MTUzNTIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(21,22,24,1) 0%, rgba(81,83,82,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(21,22,24,1)), color-stop(100%,rgba(81,83,82,1))); + background: -webkit-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%); + background: -o-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%); + background: -ms-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%); + background: linear-gradient(to bottom, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#151618', endColorstr='#515352',GradientType=0 ); +} + + +.light-gray { + background: rgb(250,250,250); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZhZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(250,250,250,1) 0%, rgba(245,245,245,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(250,250,250,1)), color-stop(100%,rgba(245,245,245,1))); + background: -webkit-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%); + background: -o-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%); + background: -ms-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%); + background: linear-gradient(to bottom, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#f5f5f5',GradientType=0 ); +} + + +.min-gray { + background: rgb(211,211,211); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2QzZDNkMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjM2MzYzMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(211,211,211,1) 0%, rgba(195,195,195,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(211,211,211,1)), color-stop(100%,rgba(195,195,195,1))); + background: -webkit-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%); + background: -o-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%); + background: -ms-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%); + background: linear-gradient(to bottom, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3d3d3', endColorstr='#c3c3c3',GradientType=0 ); +} + +.light-green { + background: rgb(185,208,100); + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I5ZDA2NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3Njk2MTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, rgba(185,208,100,1) 0%, rgba(118,150,25,1) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(185,208,100,1)), color-stop(100%,rgba(118,150,25,1))); + background: -webkit-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%); + background: -o-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%); + background: -ms-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%); + background: linear-gradient(to bottom, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9d064', endColorstr='#769619',GradientType=0 ); +} + +.in-black { + background-color: #3d3d3d; + box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5); + -moz-box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5); + -webkit-box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5); +} + +.bg-blue { + background: #6788bf; /* Old browsers */ + /* IE9 SVG, needs conditional override of 'filter' to 'none' */ + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY3ODhiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxNzI0NzciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #6788bf 0%, #172477 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6788bf), color-stop(100%,#172477)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #6788bf 0%,#172477 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #6788bf 0%,#172477 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #6788bf 0%,#172477 100%); /* IE10+ */ + background: linear-gradient(to bottom, #6788bf 0%,#172477 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6788bf', endColorstr='#172477',GradientType=0 ); /* IE6-8 */ +} + +.bg-blue-rev { + background: #172477; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE3MjQ3NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2Nzg4YmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #172477 0%, #6788bf 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#172477), color-stop(100%,#6788bf)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #172477 0%,#6788bf 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #172477 0%,#6788bf 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #172477 0%,#6788bf 100%); /* IE10+ */ + background: linear-gradient(to bottom, #172477 0%,#6788bf 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#172477', endColorstr='#6788bf',GradientType=0 ); /* IE6-8 */ +} + +.bg-desc { + background: #0b4b6b; /* Old browsers */ + /* IE9 SVG, needs conditional override of 'filter' to 'none' */ + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBiNGI2YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1Njg0YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #0b4b6b 0%, #5684a0 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0b4b6b), color-stop(100%,#5684a0)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* IE10+ */ + background: linear-gradient(to bottom, #0b4b6b 0%,#5684a0 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b4b6b', endColorstr='#5684a0',GradientType=0 ); /* IE6-8 */ +} + +.bg-desc-rev { + background: #5684a0; + background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzU2ODRhMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwYjRiNmIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); + background: -moz-linear-gradient(top, #5684a0 0%, #0b4b6b 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5684a0), color-stop(100%,#0b4b6b)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* IE10+ */ + background: linear-gradient(to bottom, #5684a0 0%,#0b4b6b 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5684a0', endColorstr='#0b4b6b',GradientType=0 ); /* IE6-8 */ +} \ No newline at end of file diff --git a/shop/index_files/pluso-like.js b/shop/index_files/pluso-like.js new file mode 100644 index 0000000..a4828e8 --- /dev/null +++ b/shop/index_files/pluso-like.js @@ -0,0 +1,2 @@ +(function(w,d){var prot=/^((https|chrome-extension):)/i.test(w.location.protocol)?"https":"http",u=prot+"://share.pluso.ru",uid="3399122215491600259",tags="getElementsByTagName",h=d[tags]("body")[0],b=d.documentElement,db=d.body,compat=0;function js(url,id,callback){if(typeof id=="function"){callback=id;id=null}if(id&&d.getElementById(id))return;if(url.charAt(0)=="+")url=u+"/"+url.substring(1);s=d.createElement("script");s.type="text/javascript";s.charset="UTF-8";s.async=true;if(typeof id=="string")s.id=id;s.src=url;if(typeof callback=="function"){var called=false;s.onreadystatechange=function(){if(this.readyState=="complete"&&!called){called=true;callback()}};s.onload=function(){if(!called){called=true;callback()}}}h.appendChild(s)}function styled(rules){var s=d.createElement("style");s.setAttribute("type","text/css");h.appendChild(s);if(s.styleSheet){s.styleSheet.cssText=rules}else{s.appendChild(d.createTextNode(rules))}}function pointed(event){return{pageX:typeof event.pageX!="undefined"?event.pageX:event.clientX+d.body.scrollLeft+b.scrollLeft,pageY:typeof event.pageY!="undefined"?event.pageY:event.clientY+d.body.scrollTop+b.scrollTop}}function dimensions(){return{width:w.innerWidth||b.clientWidth||db&&db.clientWidth,height:Math.max(db&&db.scrollHeight,db&&db.offsetHeight,b.clientHeight,b.scrollHeight,b.offsetHeight)}}function numk(num,mini){var d=typeof mini!="undefined"?0:1;if(num>=1e9){return(num/1e9).toFixed(d).replace(/\.0$/,"")+"G"}if(num>=1e6){return(num/1e6).toFixed(d).replace(/\.0$/,"")+"M"}if(num>=1e3){return(num/1e3).toFixed(d).replace(/\.0$/,"")+"K"}return num}function osize(opt){return opt.small==1?"small":opt.medium==1?"medium":"big"}function getImg(url){var img;try {img = new Image();} catch (ignore) {img = document.createElement("img");}img.src = url;}function rnd(min,max){if(!max){max=min;min=0}return Math.floor(Math.random()*(max-min+1))+min}if(!Array.indexOf){Array.prototype.indexOf=function(obj){for(var i=0,l=this.length;i-1)list.push(e[i])}return list};var encode=encodeURIComponent;var cloned=function(obj){if(typeof obj.length!="undefined")return obj.slice(0);var clone={};for(var i in obj){if(typeof obj[i]=="object")clone[i]=cloned(obj[i]);else clone[i]=obj[i]}return clone};var arrayed=function(obj){return Object.prototype.toString.call(obj)==="[object Array]"};var lang=function(elem,service,title){var language=elem.pluso.params.lang;if(title){return pluso.lang[language]&&pluso.lang[language].titles&&pluso.lang[language].titles[service]||title}else return pluso.lang[language]&&pluso.lang[language][service]||pluso.lang["ru"]&&pluso.lang["ru"][service]||service};var ready=function(w,d){var inited=false,loaded=false,queue=[],done,old;function go(){if(!inited){if(!d.body)return setTimeout(go,13);inited=true;if(queue){var j,k=0;while(j=queue[k++])j.call(null);queue=null}}}function check(){if(loaded)return;loaded=true;if(d.readyState==="complete")return go();if(d.addEventListener){d.addEventListener("DOMContentLoaded",done,false);w.addEventListener("load",go,false)}else{if(d.attachEvent){d.attachEvent("onreadystatechange",done);w.attachEvent("onload",go);var k=false;try{k=w.frameElement==null}catch(j){}if(b.doScroll&&k)ie()}else{old=w.onload;w.onload=function(e){old(e);go()}}}}if(d.addEventListener){done=function(){d.removeEventListener("DOMContentLoaded",done,false);go()}}else{if(d.attachEvent){done=function(){if(d.readyState==="complete"){d.detachEvent("onreadystatechange",done);go()}}}}function ie(){if(inited)return;try{b.doScroll("left")}catch(j){setTimeout(ie,1);return}go()}return function(callback){check();if(inited){callback.call(null)}else{queue.push(callback)}}}(w,d);if(w.pluso&&typeof w.pluso.start=="function")return;if(!w.pluso)w.pluso={};pluso.cnt=0;pluso.uid=uid;if(!w.pluso.lang)w.pluso.lang={};pluso.lang["ru"]={close:"Закрыть",get:"РљРЅРѕРїРєРё увеличивают трафик",share:"Поделитесь СЃ РґСЂСѓР·СЊСЏРјРё!",bookmark:"Скопируйте Рё добавьте эту ссылку РІ Закладки",buy:"Купить"};pluso.lang["ua"]={close:"Закрити",get:"Отримаєте СЃРІРѕС— РєРЅРѕРїРєРё",share:"Поділитеся Р· РґСЂСѓР·СЏРјРё!",bookmark:"Скопіюйте та додайте цю посилання РІ Закладки",buy:"Купити"};pluso.lang["by"]={close:"Зачыніць",get:"Атрымаеце свае РєРЅРѕРїРєС–",share:"Падзяліцеся Р· сябрамі!",bookmark:"Скапіюйце С– дадайце гэтую спасылку Сћ Закладкі",buy:"Купіць"};pluso.lang["en"]={close:"Close",get:"Get Your Buttons",share:"Share With Friends!",bookmark:"Copy the link and paste to your Bookmarks",buy:"Buy",titles:{vkontakte:"VKontakte",odnoklassniki:"Odnoklassniki",moimir:"MoiMir@Mail.Ru",bobrdobr:"BobrDobr",vkrugu:"VKruguDruzei",yandex:"ya.ru",yazakladki:"Yandex.Bookmarks",moikrug:"MoiKrug",googlebookmark:"Google Bookmarks",yahoo:"Yahoo Bookmarks",moemesto:"MoeMesto",bookmark:"Add to Favorite",email:"Send by E-mail",print:"Print"}};pluso.css=[[["",".pluso"],"position:relative;z-index:1;display:inline-block;padding:0;-webkit-border-radius:22px;-moz-border-radius:22px;border-radius:22px;background:transparent;text-align:left;font-size:0;line-height:0;*display:inline;*zoom:1;"],[["",".pluso span"],"float:none;"],[["0","a:active"]," opacity:.6; "],[[32,".pluso-wrap a"],"display:inline-block;vertical-align:inherit;margin:5px 0 0 5px;padding:0;width:40px;height:40px;background:url({i}/img/pluso-like/round/big/04.png) 0 0 transparent no-repeat;"],[[64,".pluso-wrap a"],"display:inline-block;vertical-align:inherit;margin:3px 0 0 3px;padding:0;width:20px;height:20px;background:url({i}/img/pluso-like/round/small/04.png) 0 0 transparent no-repeat;"],[[16,".pluso-wrap a"],"display:inline-block;vertical-align:inherit;margin:3px 0 0 3px;padding:0;width:30px;height:30px;background:url({i}/img/pluso-like/round/medium/04.png) 0 0 transparent no-repeat;"],[["",".pluso-wrap"],"margin:0px !important;"],[["0",".pluso-wrap"],"position:relative;z-index:1;display:inline-block;padding:0 5px 5px 0;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;background:{bb};text-align:left;font-size:0;line-height:0;*display:inline;*zoom:1;"],[[64,".pluso-wrap"],"padding:0 3px 3px 0px;"],[[66,".pluso-wrap"],"-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;"],[[16,".pluso-wrap"],"padding:0 3px 3px 0px;"],[[18,".pluso-wrap"],"-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;"],[[34,".pluso-wrap"],"-webkit-border-radius:22px;-moz-border-radius:22px;border-radius:22px;"],[[544,""],"width:50px;"],[[800,""],"width:95px;"],[[576,""],"width:26px;"],[[528,""],"width:36px;"],[[832,""],"width:49px;"],[[784,""],"width:69px;"],[[32,"a.pluso-more"],"width:40px;height:40px;background:url({i}/img/plus.png) 0 -60px no-repeat!important;position:relative;"],[[64,"a.pluso-more"],"width:20px;height:20px;background:url({i}/img/plus.png) 0 0 no-repeat!important;position:relative;"],[[16,"a.pluso-more"],"width:30px;height:30px;background:url({i}/img/plus.png) 0 -25px no-repeat!important;position:relative;"],[[1280,".pluso-wrap a"],"float:left;text-align:middle;"],[[2048,".pluso-wrap > div"],"cursor:default;display:inline-block;text-decoration:none !important;color:white;"],[[2048,".pluso-wrap a"],"margin:0px;"],[[2048,".pluso-wrap div b"],"float:right;font-weight:normal;color:white;"],[[2080,".pluso-wrap > div"],"border-radius:6px;margin-right:4px;"],[[2080,".pluso-wrap a"],"width:40px;"],[[2080,".pluso-wrap div b"],"padding-left:5px;padding-right:10px;font-size:16px;line-height:40px;"],[[2064,".pluso-wrap >div"],"border-radius:4px;margin-right:3px;height:30px;"],[[2064,".pluso-wrap a"],"margin:2px;"],[[2064,".pluso-wrap div b"],"padding-right:3px;font-size:12px;line-height:30px;"],[[2112,".pluso-wrap >div"],"border-radius:3px;margin-right:3px;height:20px;"],[[2112,".pluso-wrap a"],"margin:1px;"],[[2112,".pluso-wrap div b"],"padding-right:3px;font-size:11px;line-height:20px;"],[[576,"a.pluso-more"],"margin-bottom:-12px;*left:5px;"],[[832,"a.pluso-more"],"margin-left:13px;*left:13px;"],[[832,".pluso-wrap a:nth-child(even).pluso-more"],"margin-left:3px;margin-bottom:0px"],[[1216,"a.pluso-more"],"margin-right:-12px;*left:5px;"],[[1344,"a.pluso-more"],"margin-right:-12px;top:-12px;*left:auto;"],[[528,"a.pluso-more"],"margin-bottom:-12px;*left:5px;"],[[784,"a.pluso-more"],"margin-left:18px;*left:18px;"],[[784,".pluso-wrap a:nth-child(even).pluso-more"],"margin-left:3px;margin-bottom:0px;"],[[1280,".pluso-wrap a:nth-child(even).pluso-more"],"top: 0px;"],[[1168,"a.pluso-more"],"margin-right:-12px;*left:5px;"],[[1296,"a.pluso-more"],"margin-right:-18px;top:-17px;*left:auto;"],[[1296,".pluso-wrap a:nth-child(even).pluso-more"],"top:inherit;"],[[544,"a.pluso-more"],"margin-bottom:-22px;*left:5px;"],[[800,"a.pluso-more"],"margin-left:27px;*left:27px;"],[[800,".pluso-wrap a:nth-child(even).pluso-more"],"margin-left:5px;margin-bottom:0px;"],[[1056,"a.pluso-more"],"margin-right:-22px;*left:5px;"],[[1312,"a.pluso-more"],"top:-22px;*left:auto;"],[[1312,".pluso-wrap a:nth-child(even).pluso-more"],"top:inherit;"],[[64,".pluso-counter b"],"position:relative;padding:2px 4px;-webkit-border-radius: 22px;-moz-border-radius: 22px;border-radius: 22px;background:{bc};box-shadow:0 0 3px rgba(0,0,0,.3);color:{bt};white-space: nowrap;font:11px/12px Tahoma, Geneva, sans-serif!important;"],[[1088,".pluso-counter"],"position:relative;padding-right:18px;"],[[1088,".pluso-counter b"],"top:-6px;left:18px;"],[[1344,".pluso-counter b"],"top:-16px;left:18px;"],[[1088,".pluso-counter b:after"],"position: absolute;top: 5px;left: -6px;z-index: 0;display: block;width: 0;border-width: 4px 8px 4px 0;border-style: solid;border-color: transparent {bc};content: '';"],[[576,".pluso-counter"],"position:relative;display:block;margin-top:20px;width:100%;text-align:center;"],[[576,".pluso-counter:after"],"position: absolute;top: -5px;left: 50%;margin-left:-4px;z-index: 10;display: block;width: 0;border-width: 0 4px 8px;border-style: solid;border-color: {bc} transparent;content: '';"],[[16,".pluso-counter b"],"position:relative;padding:6px 8px;-webkit-border-radius: 30px;-moz-border-radius: 22px;border-radius: 30px;background:{bc};box-shadow:0 0 3px rgba(0,0,0,.3);color:{bt};white-space: nowrap;font:12px/14px Tahoma, Geneva, sans-serif!important;"],[[1040,".pluso-counter"],"position:relative;padding-right:18px;"],[[1040,".pluso-counter b"],"top:-10px;left:18px;"],[[1296,".pluso-counter b"],"top:-27px;left:23px;"],[[1040,".pluso-counter b:after"],"position: absolute;top: 9px;left: -6px;z-index: 0;display: block;width: 0;border-width: 4px 8px 4px 0;border-style: solid;border-color: transparent {bc};content: '';"],[[528,".pluso-counter"],"position:relative;display:block;margin-top:20px;width:100%;text-align:center;"],[[528,".pluso-counter:after"],"position: absolute;top: -10px;left: 50%;margin-left:-4px;z-index: 10;display: block;width: 0;border-width: 0 4px 8px;border-style: solid;border-color: {bc} transparent;content: '';"],[[32,".pluso-counter b"],"position:relative;padding:8px 12px;-webkit-border-radius: 22px;-moz-border-radius: 22px;border-radius: 122px;background:{bc};box-shadow:0 0 3px rgba(0,0,0,.3);color:{bt};white-space:nowrap;font:16px/40px Tahoma, Geneva, sans-serif!important;"],[[1056,".pluso-counter"],"position:relative;padding-right:28px;"],[[1056,".pluso-counter b"],"top:-14px;left:28px;"],[[1312,".pluso-counter b"],"top:-35px;left:28px;"],[[1056,".pluso-counter b:after"],"position: absolute;top: 13px;left: -8px;z-index: 0;display: block;width: 0;border-width: 5px 9px 5px 0;border-style: solid;border-color: transparent {bc};content: '';"],[[544,".pluso-counter"],"position:relative;display:block;margin-top:30px;width:100%;text-align:center;"],[[544,".pluso-counter:after"],"position: absolute;top: -8px;left: 50%;margin-left:-4px;z-index: 10;display: block;width: 0;border-width: 0 5px 11px;border-style: solid;border-color: {bc} transparent;content: '';"],[[128,"br"]," display:none; "],[[4,".pluso-counter"]," display:none; "],[["",".pluso-box"],"position:absolute;border:4px solid #eaebea;width:310px;height:225px;overflow:hidden;z-index: 777;background:#f2f2f2;font:normal normal 12px/25px Tahoma, Geneva, sans-serif;box-shadow:0 4px 10px rgba(0, 0, 0, 0.4);text-align:left;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;"],[["",".pluso-box a b"],"width:20px;height:20px;position:absolute;left:0;top:2px;"],[["",".pluso-box a:visited,.pluso-box a:hover,.pluso-box a"],"font:normal normal 12px/25px Tahoma, Geneva, sans-serif;color:#7f7f7f;text-decoration:none;white-space:nowrap;padding:0 0 0 25px;margin:0 0 0 5px;border:0;position:relative;width:115px;float:left;"],[["",".pluso-box .pluso-list"],"background:#ffffff;border-radius:14px;width:100%;height:200px;overflow:auto;position:absolute;left:0;top:25px;"],[["",".pluso-box a.pluso-logo"],"background:url({i}/img/pluso-like/logo-mini.png) 0 5px no-repeat;width:66px;height:19px;border:0;text-indent:-600em;padding:0 0 0 12px;margin:0 0 0 9px;"],[["",".pluso-box a.pluso-go"],"color:#4c4c4c;text-decoration:underline;padding-left:0;"],[["",".pluso-box a.pluso-close,.pluso-box a.pluso-close:hover,.pluso-box a.pluso-close:visited"],"float:right;width:20px;text-align:center;font-size:12px;line-height:20px;width:20px;margin:1px 1px 0 0;padding:0;font-weight:bold;color:#4c4c4c;text-decoration:none;background:#ffffff;border-radius:15px;border:1px solid #eaebea;"],[["",".pluso-box a.pluso-close:hover"],"background:#7f7f7f;color:#ffffff;border-color:transparent"],[["",".pluso-tip"],"cursor:pointer;position:absolute;padding:10px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;white-space:nowrap;font:bold 14px/12px Tahoma, Geneva, sans-serif!important;color:#fff;background:#f78d1d;background:-webkit-gradient(linear, left top, left bottom, from(#7ed263), to(#3d9530));background:-webkit-linear-gradient(top,#7ed263,#3d9530);background:-moz-linear-gradient(top,#7ed263,#3d9530);background:-ms-linear-gradient(top,#7ed263,#3d9530);background:-o-linear-gradient(top,#7ed263,#3d9530);background:linear-gradient(top,#7ed263,#3d9530);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#7ed263, endColorstr=#3d9530);box-shadow:0 0 5px rgba(0,0,0,.5), inset 0 0 0px 1px rgba(0,0,0,.3)"],[["",".pluso-tip:after"],"position:absolute;z-index:0;display:block;width:0;height:0;border-style: solid;content:''"],[["",".pluso-tip.pluso-left-arrow:after"],"top:40%;right:-6px;border-color:transparent #447b36;border-width:6px 0px 6px 6px"],[["",".pluso-tip.pluso-top-arrow:after"],"bottom:-6px;border-color:#27601f transparent;border-width:6px 6px 0px 6px"],[["",".pluso-tip.pluso-bottom-arrow:after"],"top:-6px;border-color:#447b36 transparent;border-width:0px 6px 6px 6px"],[["","@keyframes pluso-market-animate"],"0% { opacity:1 } 50%{ opacity:.3} 100% { opacity:1}"],[["","@-webkit-keyframes pluso-market-animate"],"0% { opacity:1 } 50%{ opacity:.3} 100% { opacity:1}"],[["",".pluso-overlay-background"],'height:100%;width:100%;position:fixed;left:0;top:0;z-index:999999999;background-color: rgb(0, 0, 0);background-color: rgba(0, 0, 0, 0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";padding:0;margin:0;'],[["",".pluso-overlay-box"],"width:910px;margin: 50px auto 0;overflow:hidden;height:85%;background-color: #f5f5f5;border:1px solid #c4c4c4;padding:0!important;text-align:left;box-shadow:0 4px 12px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.5) inset;border-radius:10px;"],[["","a.pluso-overlay-close,a.pluso-overlay-close:hover,a.pluso-overlay-close:visited"],"position:absolute;left:50%;margin:0 0 0 442px;top:38px;width:26px;height:26px;text-align:center;font:normal 20px/22px Arial;padding:0;color:#878787;text-decoration:none;background:#ffffff;border-radius:26px;border:2px solid #c4c4c4;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;"],[["","a.pluso-overlay-close:hover"],"background:#7f7f7f;color:#ffffff;border-color:transparent"],[["",".pluso-overlay-box div"],"margin:20px 0 0 0;padding:0 0 12px 0;border-bottom:1px solid #c4c4c4;"],[["",".pluso-overlay-box ul"],"list-style:none;margin:10px 0 10px 0px;padding:0;height:85%;overflow:auto;"],[["",".pluso-overlay-box li"],"width:210px;height:260px;background:#ffffff;border-radius:10px;border:none;float:left;padding:0;margin:0 0px 10px 10px;"],[["",".pluso-overlay-box li a"],"display:block;text-decoration:none;margin:0;padding:0;height:100%;overflow:hidden;position:relative;"],[["",".pluso-overlay-box li a span, .pluso-overlay-box li a:hover span"],"position: relative;width: 190px;height:150px;border:1px solid #c4c4c4;overflow:hidden;margin:10px auto 5px auto;padding:0;text-align:center;display:block;"],[["",".pluso-overlay-box li a:hover span"],"box-shadow:0 0 5px #c4c4c4;-webkit-box-shadow:0 0 5px #c4c4c4;border:1px solid #c4c4c4"],[["",".pluso-overlay-box li a em"],"font:normal bold 15px/20px Arial;float:left;color:#e86340;padding:0px 0 0 10px;margin:0;"],[["",".pluso-overlay-box li a em u"],"font:normal normal 12px/12px Arial;text-decoration:none;display:block;color:#eb6338;padding:0;margin:0;"],[["",".pluso-overlay-box li a strong"],"font:normal 11px/14px Arial;display:block;padding:0 10px;color:#454545;position:relative;bottom:auto;height:42px;width:180px;overflow:hidden;margin:0 0 5px 0;border:0;"],[["",".pluso-overlay-box li a:hover strong"],"height:42px;overflow:auto;padding:0 10px;border:0;"],[["",".pluso-overlay-box li a b, .pluso-overlay-box li a b:hover, .pluso-overlay-box li a b:active"],"font:bold normal 15px/18px Arial, sans-serif;color: #ffffff;padding-top: 7px;padding-right: 12px;padding-bottom: 7px;padding-left: 12px;text-decoration: none;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;-webkit-box-shadow: inset 0px -1px 2px rgba(255,255,255,.5);-moz-box-shadow: inset 0px -1px 2px rgba(255,255,255,.5);box-shadow: inset 0px -1px 2px rgba(255,255,255,.5);text-shadow: 0px 1px 2px #3d8a33;border:solid #4bb543 1px;background:-webkit-gradient(linear, 0 0, 0 100%, from(#95e488), to(#20a517));background: -moz-linear-gradient(top, #95e488, #20a517);background: -o-linear-gradient(top, #95e488, #20a517);-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#95e488, endColorStr=#20a517);filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#95e488, endColorStr=#20a517);display:inline-block;float:right;bottom:auto;right:10px;position:relative;"],[["",".pluso-overlay-box li a b:hover"],"background:-webkit-gradient(linear, 0 0, 0 100%, from(#b1f4a3), to(#27c21c));background: -moz-linear-gradient(top, #b1f4a3, #27c21c);background:-o-linear-gradient(top, #b1f4a3, #27c21c);-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#b1f4a3, endColorStr=#27c21c);filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#b1f4a3, endColorStr=#27c21c);"],[["",".pluso-overlay-box li a b:active"],"background:-webkit-gradient(linear, 0 0, 0 100%, from(#20a517), to(#95e488));background: -moz-linear-gradient(top, #20a517, #95e488);background:-o-linear-gradient(top, #20a517, #95e488);-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#20a517, endColorStr=#95e488);filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#20a517, endColorStr=#95e488);"]];pluso.tree=[["sepcounter","horizontal","vertical","multiline","line","small","big","medium","counter","nocounter","round","square"],{horizontal:"vertical",multiline:"line",small:["big","medium"],counter:"nocounter",round:"square",vertical:"horizontal",line:"multiline",big:["small","medium"],nocounter:"counter",square:"round",medium:["small","big"]},[["round","square"],["small","big","medium"]]];pluso.titles=[["vkontakte","ВКонтакте",5,3,"#41658b"],["odnoklassniki","Одноклассники",4,4,"#f4960f"],["facebook","Facebook",1,1,"#39579a"],["twitter","Twitter",2,2,"#00abf0"],["google","Google+",7,5,"#be3308"],["moimir","РњРѕР№ РњРёСЂ@Mail.Ru",8,7,"#2f69a1"],["pinterest","Pinterest",6,17,"#ce1d1f"],["livejournal","LiveJournal",9,6,"#6899c4"],["tumblr","Tumblr",3,22,"#2e4e67"],["liveinternet","LiveInternet",10,8,"#27819b"],["springpad","Springpad",11,19,"#f7b42f"],["stumbleupon","StumbleUpon",12,20,"#ed4713"],["myspace","mySpace",13,15,"#1d1d1d"],["formspring","Formspring.me",14,13,"#4693d7"],["blogger","Blogger",15,9,"#f58220"],["digg","Digg",16,11,"#165495"],["surfingbird","Surfingbird",17,21,"#14aef8"],["bobrdobr","БобрДобр",18,24,"#763c34"],["readability","Readability",19,18,"#9d0000"],["instapaper","Instapaper",20,14,"#6b6b6b"],["evernote","Evernote",21,12,"#75bb1e"],["delicious","Delicious",26,10,"#003bd8"],["vkrugu","Р’ РљСЂСѓРіСѓ Друзей",25,25,"#e95e12"],["pinme","Pinme",27,16,"#f47a24"],["yandex","РЇ.СЂСѓ",28,23,"#e70505"],["yazakladki","Яндекс.Закладки",29,29,"#ff0000"],["moikrug","РњРѕР№РљСЂСѓРі",30,30,"#c71b1a"],["googlebookmark","Google закладки",31,31,"#0e41f4"],["yahoo","Yahoo закладки",32,32,"#7b0099"],["moemesto","МоёМесто",33,33,"#3a5d82"],["memori","Memori.ru",34,34,"#fd2668"],["juick","Juick",36,35,"#b98337"],["linkedin","LinkedIn",37,36,"#0072ab"],["webdiscover","WebDiscover",39,37,"#8bc514"],["bookmark","Р’ закладки",22,26,"#de157d"],["email","Отправить РЅР° email",23,27,"#5f32b0"],["print","Печатать",24,28,"#0fae96"],["webmoney","Webmoney события",45,39,"#007dc6"],["misterwong","Мистер Р’РѕРЅРі",44,40,"#ab0315"],["friendfeed","Friend Feed",43,41,"#5e92d1"],["market","Pluso Маркет",false,38]];pluso.buy=["cart","dollar","bulb","quest","tag"];pluso.tips=[["Распродажа!","Это может быть Вам интересно!","Лучшие товары СЃРѕ СЃРєРёРґРєРѕР№!","Спецпредложения РѕС‚ интернет-магазинов!","Самые продаваемые товары!","Любые товары РїРѕ лучшим ценам!","Популярные товары РїРѕ лучшим ценам!","Популярные товары СЃРѕ СЃРєРёРґРєРѕР№!","Товары для комфортной жизни СЃРѕ СЃРєРёРґРєРѕР№!","Самые востребованные товары СЃРѕ СЃРєРёРґРєРѕР№!","РќРѕРІРёРЅРєРё РѕС‚ интернет-магазинов!","Лучшие цены РѕС‚ интернет-магазинов!","Бестселлеры РѕС‚ интернет-магазинов!","Бестселлеры РїРѕ лучшим ценам!","РќРѕРІРёРЅРєРё РїРѕ лучшим ценам!"],{big:{top:"top:-38px;left:10px",left:"top:9px;right:5px",bottom:"top:57px;left:10px"},medium:{top:"top:-38px;left:2px",left:"top:0px;right:5px",bottom:"top:42px;left:2px"},small:{top:"top:-38px;left:-3px",left:"top:-5px;right:5px",bottom:"top:32px;left:-3px"}}];pluso.services=false;pluso.sets={};pluso.counter={};pluso.counters={};pluso.sepcounters={};pluso.advs=false;pluso.user=false;pluso.offsets={small:21,medium:31,big:42};pluso.tabbed=["livejournal","liveinternet","stumbleupon","bobrdobr","evernote","instapaper","digg"];pluso.defaults={options:{horizontal:1,line:1,small:1,counter:1,round:1,theme:"04",sepcounter:0},services:[],params:{background:"#eaeaea",baloon:"#eaeaeb",text:"#707070",url:w.location.href.split("#")[0],title:d.title,image:"",description:d.getElementsByName("description")[0]?d.getElementsByName("description")[0].content:"",user:0,lang:"ru"}};pluso.html=function(elem,debug){if(elem.pluso)return false;if(elem.className.split(" ").indexOf("pluso-skip")>-1)return false;var ep=elem.pluso=cloned(pluso.defaults);function unset(key){if(!key)return;if(arrayed(key)){for(var i=0;i1){if(k[1]=="0"){var i=pluso.tree[1][k[0]];if(arrayed(i))i=i[0];k=[i,1]}}else{k=[k[0],1]}unset(pluso.tree[1][k[0]]);return ep.options[k[0]]=k[1]});var services=elem.getAttribute("data-services");if(services)ep.services=services.split(",");iterate(ep.params,function(key,obj){var value=elem.getAttribute("data-"+key);if(value)obj[key]=value});if(ep.params.url.split("://").length<2)ep.params.url=prot+"://"+ep.params.url;if(ep.params.url.indexOf("#")==-1&&ep.params.url.split("/").length<4)ep.params.url+="/";var opt=[],uniq=[],o=ep.options,j,num;pluso.tree[0].map(function(key){j=typeof o[key]!="undefined"&&o[key]=="1"?"1":"0";if(j>0)opt.push(key);uniq.push(j)});uniq=uniq.join("");num=parseInt(uniq,2);uniq="pluso-"+uniq+"-"+o.theme;opt.push("t"+o.theme);var reps={u:u,i:u,bb:ep.params.background,bc:ep.params.baloon,bt:ep.params.text};var html=['
      '],css=[],p,m;var replacer=function(p){return p.replace(/\{(\w+)\}/g,function(s,key){return reps[key]||s})};var x=pluso.offsets[osize(o)];if(typeof pluso.sets[uniq]=="undefined"){for(var i=0;i');for(var i=0,l=ep.services.length,q=l/2;i0&&o.multiline>0&&o.multiline!=2&&i>=q){o.multiline=2;st="clear:both;"}var serv='";if(o.sepcounter==1){var servWrapper=d.createElement("div");servWrapper.style.background=p[4];var sc=pluso.sepcounters[p[0]]||0;servWrapper.innerHTML=serv+''+sc+"";serv=servWrapper.outerHTML}html.push(serv);if(!pluso.sets[uniq]||pluso.sets[uniq].indexOf(p[0]<0)){css.push("."+uniq+" .pluso-wrap a.pluso-"+p[0]+"{ background-position: -"+(p[2]-1)*x+"px 0}");if(!pluso.sets[uniq])pluso.sets[uniq]=[];pluso.sets[uniq].push(p[0])}}html.push('');html.push("");if(o.counter>0)html.push(''+(pluso.counter[ep.params.url]||"0")+"");html.push("
      ");if(!pluso.sets[uniq])pluso.sets[uniq]=[];return{html:html.join(""),css:css.join("")}};pluso.styles=function(r){var ret=[];["small","big","medium"].map(function(sze){["round","square"].map(function(frm){for(var j=1;j<15;j++){var thm=(j<10?"0":"")+j;ret.push(".pluso ."+sze+"."+frm+".t"+thm+" .pluso-wrap a{ background-image:url("+u+"/img/pluso-like/"+[frm,sze,thm].join("/")+".png) }");for(var i=0,l=pluso.titles.length;iPluso МаркетЛучшие товары по самым выгодным ценам!
      ');html.push('
        ');box.innerHTML=html.join("");o.appendChild(box);o.onclick=function(e){if(!e)var e=window.event;var t=e.target||e.srcElement;if(t.className=="pluso-overlay-background")o.parentNode.removeChild(o)};document.body.insertBefore(o,document.body.childNodes[0]);if(!t.clicked){t.clicked=1;var ou="http://offers.pluso.ru/offers/"+elem.pluso.params.user+"/"+uid+"?callback=pluso.market&"+Math.random();js(ou,function(){t.clicked=0})}}else switch(t.className){case"pluso-more":pluso.more(pointed(e),elem);break;case"pluso-promo":case"pluso-logo":case"pluso-go":pluso.process(t.className.substring(6),elem);return true;break;case"pluso-close":elem.box.style.display="none";break;default:return pluso.share(t,elem,menu);break}}return false}};pluso.build=function(elem,debug){var tt=pluso.html(elem,debug);if(!tt)return false;if(tt.css)styled(tt.css);elem.innerHTML=tt.html;if(!((elem.counter=elements("pluso-counter",elem)).length&&(elem.counter=elem.counter[0][tags]("b")).length&&(elem.counter=elem.counter[0]))){elem.counter=d.createElement("b")}if(elem.pluso.options.sepcounter=="1"){for(var i in elem.pluso.services){if(pluso.sepcounters[elem.pluso.services[i]]){var serviceEl=elements("pluso-"+s,elem)[0];if(serviceEl){var serviceCounter=serviceEl.parentNode.getElementsByTagName("b")[0];serviceCounter.title=pluso.sepcounters[s];serviceCounter.inner=numk(pluso.sepcounters[s])}}else{pluso.process("counter",elem,"&soc=1");break}}}if(!pluso.counter[elem.pluso.params.url])pluso.counter[elem.pluso.params.url]=0;elem.counter.title=pluso.counter[elem.pluso.params.url];elem.counter.innerHTML=numk(pluso.counter[elem.pluso.params.url]);if(!pluso.counters[elem.pluso.params.url])pluso.counters[elem.pluso.params.url]=[];pluso.counters[elem.pluso.params.url].push(elem.counter);elem.onclick=pluso.click(elem,0);var more=elements("pluso-more",elem)[0];more.onmouseover=function(e){if(!e)var e=window.event;var xy=pointed(e);more.timer=setTimeout(function(){pluso.more(xy,elem)},500)};more.onmouseout=function(){clearTimeout(more.timer)};return elem};pluso.start=function(el){pluso.screenWidth=null;pluso.screenHeight=null;if(parseInt(navigator.appVersion)>3){pluso.screenWidth=screen.width;pluso.screenHeight=screen.height}else if(navigator.appName=="Netscape"&&parseInt(navigator.appVersion)==3&&navigator.javaEnabled()){var jToolkit=java.awt.Toolkit.getDefaultToolkit();var jScreenSize=jToolkit.getScreenSize();pluso.screenWidth=jScreenSize.width;pluso.screenHeight=jScreenSize.height}var el=el||elements("pluso");for(var ei=0,ll=el.length;ei0?"&user="+encode(elem.pluso.params.user):"")+"&uid="+uid+"&k="+pluso.randomString(16)};pluso.share=function(t,elem,menu){var sharer=t.className.substring(6),share=pluso["share_"+sharer],sharelink=pluso.sharelink(sharer,elem,menu);pluso.counter[elem.pluso.params.url]+=1;elem.counter.title=pluso.counter[elem.pluso.params.url];elem.counter.innerHTML=numk(pluso.counter[elem.pluso.params.url]);if(elem.pluso.options.sepcounter=="1"){var serviceClass=t.className;if(!pluso.sepcounters[sharer])pluso.sepcounters[sharer]=0;pluso.sepcounters[sharer]=parseInt(pluso.sepcounters[sharer])+1;var serviceCounter=t.parentNode.getElementsByTagName("b")[0];serviceCounter.title=pluso.sepcounters[sharer];serviceCounter.innerHTML=numk(pluso.sepcounters[sharer])}if(typeof share=="function"){js(sharelink);if(window.opera&&sharer=="bookmark"){t.href=elem.pluso.params.url;return true}else{share(elem.pluso)}}else{if(!window.open(sharelink,sharer,pluso.tabbed.indexOf(sharer)==-1?"toolbar=0,status=0,resizable=1,width=626,height=436":"")){w.location.href=sharelink}}return false};pluso.more=function(xy,elem){if(elem.box){var div=elem.box}else{var div=d.createElement("div"),html=[];div.className="pluso-box";html.push('');html.push(''+lang(elem,"get")+"");html.push('×');html.push('
        ');for(var i=0,l=pluso.titles.length;i"+pt+"")}var bn=Math.random()>.5?"1":"2";html.push('');html.push("
        ");div.innerHTML=html.join("");div.onmouseover=function(ev){if(div.timer)clearTimeout(div.timer)};div.onmouseout=function(ev){var ev=ev||w.event,e=ev.toElement||ev.relatedTarget,t=ev.target||ev.srcElement;if(e&&e.tagName&&e.tagName.toUpperCase()=="B")e=e.parentNode;if(!e||e==div||e.parentNode==div||e.parentNode.parentNode==div){return false}div.timer=setTimeout(function(){div.style.display="none"},777)};div.onclick=pluso.click(elem,1)}if(elem.box&&elem.box.style.display=="block")return;var z=pluso.offsets[osize(elem.pluso.options)]/2,x=xy.pageX-z,y=xy.pageY-z,ws=dimensions();if(x<0)x=10;else if(x+310>ws.width)x=ws.width-350;if(y<0)y=5;else if(y+265>ws.height)y=ws.height-265;div.style.left=x+"px";div.style.top=y+"px";if(elem.box){elem.box.style.display="block"}else{elem.box=div;d[tags]("body")[0].appendChild(div)}pluso.process("menu",elem)};pluso.sharelink=function(sharer,elem,menu){var k=d.getSelection,y=w.getSelection,x=d.selection;var s=y?y():k?k():x?x.createRange().text:0;return u+"/process?act=share&"+pluso.params(elem)+"&type="+encode(sharer)+"&t="+encode(elem.pluso.params.title)+"&s="+encode(s||elem.pluso.params.description)+(elem.pluso.params.image?"&img="+encode(elem.pluso.params.image):"")+(menu?"&menu=1":"")};pluso.process=function(action,elem,params){js("+process?act="+action+"&"+pluso.params(elem)+(params||""))};pluso.setCounter=function(c,url,buy,counters,advType){var el=elements("pluso");if(typeof buy!="undefined"){for(var i=0,l=el.length;i'+pluso.tips[0][rnd(pluso.tips[0].length-1)]+"";t.onclick=function(){m.click();return false};el[i].insertBefore(t,el[i].firstChild)}}}}if(typeof counters!="undefined"){pluso.sepcounters=counters;for(var i=0,l=el.length;i';document.getElementsByTagName("body")[0].appendChild(divForScript);iframe=document.getElementById("pluso-ads-iframe");if(iframeDocument=iframe.contentDocument){iframe.style.width="240px";iframe.style.height="400px";iframe.style.margin=0;iframe.style.padding=0;iframe.style.position="fixed";iframe.style.bottom=0;iframe.style.right=0;iframe.style.zIndex="999999";var closeButton=document.createElement("div");closeButton.setAttribute("id","ads_close");closeButton.style.fontFamily="Arial, sans-serif";closeButton.style.fontSize="10px";closeButton.style.textAlign="right";closeButton.style.position="fixed";closeButton.style.zIndex="999999";closeButton.style.right="0px";closeButton.style.bottom="400px";closeButton.style.width="240px";closeButton.style.color="#bbb";closeButton.style.cursor="pointer";closeButton.style.zIndex="999999";closeButton.innerHTML="ЗАКРЫТЬ [Х] ";closeButton.addEventListener("click",function(){divForScript.style.display="none"});divForScript.appendChild(closeButton);iframeDocument.write('')}}}};pluso.market=function(items){var html=[];for(var i=0,l=items.length;i'+it.title+""+(it.price*1).toString()+" СЂСѓР±.Из СЂСѓРє РІ рукиКупить!")}document.getElementById("pluso-market-placeholder").innerHTML=html.join("")};pluso.randomString=function(length){var chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".split("");if(!length){length=rnd(chars.length)}var str="";for(var i=0;iMath.random())try{(new Q).log("jserrs",V,a.message,b,A.href,O,"string"==typeof a.stack&&a.stack.replace(/\n/g,"\\n"))}catch(e){var c=["cp: "+b,a.name+": "+a.message,"debug: "+O,"code: "+V,"stack: "+a.stack];(new Image).src="//an.yandex.ru/jserr/101500?cnt-class=100&errmsg="+encodeURIComponent(c.join("; ").replace(/\r?\n/g,"\\n"))}}function B(){for(var a={},b="hash host hostname href pathname port protocol search".split(" "), +c=b.length,e=c;e--;)a[b[e]]="";try{for(var d=h.location,e=c;e--;){var g=b[e];a[g]=""+d[g]}}catch(f){A&&(a=A)}return a}function Ga(a){return a?(""+a).replace(/^\s+/,"").replace(/\s+$/,""):""}function ha(a){return-1!==(""+h.navigator.userAgent).toLowerCase().search(a)}function qa(a,b){if(!a||!b)return!1;for(var c=[],e=0;ec||36E5b||0>c||0>d||0>g)return null;e=b<<18|c<<12|d<<6|g;b=e>>16&255;c=e>>8&255;e&=255;f=64==d?f+String.fromCharCode(b):64==g?f+String.fromCharCode(b,c):f+String.fromCharCode(b,c,e)}while(hh?(d+=String.fromCharCode(h),g++):191h?(f=a.charCodeAt(g+ +1),d+=String.fromCharCode((h&31)<<6|f&63),g+=2):(f=a.charCodeAt(g+1),b=a.charCodeAt(g+2),d+=String.fromCharCode((h&15)<<12|(f&63)<<6|b&63),g+=3);return d}function Ka(a){try{delete h[a]}catch(b){h[a]=ca}}function La(a){var b=f.createElement("script");b.type="text/javascript";b.async=!0;b.src=a;try{var c=f.getElementsByTagName("html")[0];f.getElementsByTagName("head")[0]||c.appendChild(f.createElement("head"));var e=f.getElementsByTagName("head")[0];e.insertBefore(b,e.firstChild)}catch(d){}}function hb(a, +b,c,e,d,W){function t(a){var b=(new Date).getTime();a&&b>8,b&255])}function y(a,b){g.mergeArrays(a,[b&255])}function m(a,b){for(b=Math.max(0,b|0);127>=7;g.mergeArrays(a,[b])}function w(a,b){255h)return null;var f={mousemove:2,click:32,dblclick:33,mousedown:4,mouseup:30,touch:12}[b];if(!f)return null;var n=l.getElementXY(c);c=[];y(c,f);m(c,a);m(c,h);m(c,Math.max(0,d[0]-n[0]));m(c,Math.max(0,d[1]-n[1])); +/^mouse(up|down)|click$/.test(b)&&(a=e||g,y(c,2>a?1:a==(e?2:4)?4:2));return c}function E(a,b,c,d){b=b[C];if(!b||0>b)return null;var e=[];y(e,31);m(e,a);m(e,b);m(e,c[0]);m(e,c[1]);y(e,0);y(e,0);y(e,d);return e}function I(a,b){var c=[];y(c,3);m(c,a);m(c,b[0]);m(c,b[1]);return c}function H(a,b,c){var d=[];c=c[C];if(!c||0>c)return null;y(d,16);m(d,a);m(d,b[0]);m(d,b[1]);m(d,c);return d}function N(a,b,c){var d=[];y(d,28);m(d,a);m(d,b[0]);m(d,b[1]);m(d,c[0]);m(d,c[1]);return d}function K(a,b,c,d){var e= +[];y(e,5);m(e,a);p(e,b);y(e,c);a=d[C];if(!a||0>a)a=0;m(e,a);return e}function z(a,b){var c,d;0==b.length?d=c="":100>=b.length?(c=b,d=""):200>=b.length?(c=b.substr(0,100),d=b.substr(100)):(c=b.substr(0,97),d=b.substr(b.length-97));var e=[];y(e,29);m(e,a);v(e,c);v(e,d);return e}function J(a){var b=[];y(b,27);m(b,a);return b}function Y(a){var b=[];y(b,14);m(b,a);return b}function T(a){var b=[];y(b,15);m(b,a);return b}function ib(a,b){var c=[];y(c,17);m(c,a);m(c,b[C]);return c}function jb(a,b){var c= +[];y(c,18);m(c,a);m(c,b[C]);return c}function ca(a,b,c){var d=[];y(d,19);m(d,a);m(d,b[C]);w(d,String(c));return d}function X(a){var b=a[C];if(!b||0>b||!/^INPUT|SELECT|TEXTAREA$/.test(a.nodeName)||!a.form||D(a.form))return null;var c=l.getFormNumber(a.form);if(0>c)return null;var d;d="INPUT"==a.nodeName?{text:0,color:0,date:0,datetime:0,"datetime-local":0,email:0,number:0,range:0,search:0,tel:0,time:0,url:0,month:0,week:0,password:2,radio:3,checkbox:4,file:6,image:7}[a.type]:{SELECT:1,TEXTAREA:5}[a.nodeName]; +if("number"!=typeof d)return null;for(var e=-1,g=a.form.elements,h=g.length,f=0,n=0;fe)return null;g=[];y(g,7);m(g,b);m(g,c);m(g,d);v(g,a.name||"");m(g,e);return g}function ea(a,b){var c=l.getFormNumber(b);if(0>c)return null;for(var d=b.elements,e=d.length,h=[],f=0;f=c)b=null;else{var d=64,e=0,f=l.getElementParent(a), +g=f&&f[C]?f[C]:0;0>g&&(g=0);var h=a.nodeName.toUpperCase(),r=la[h];r||(d|=2);var W=l.getElementNeighborPosition(a);W||(d|=4);var t=l.getElementRegion(a);(f=f?l.getElementRegion(f):null)&&t[0]==f[0]&&t[1]==f[1]&&t[2]==f[2]&&t[3]==f[3]&&(d|=8);sa[c].pos=t[0]+"x"+t[1];sa[c].size=t[2]+"x"+t[3];a.id&&"string"==typeof a.id&&(d|=32);(f=l.calcTextChecksum(a))&&(d|=16);var k=l.calcAttribChecksum(a);k&&(e|=2);var u;b:{u=l.getElementChildren(l.getElementParent(a),a.tagName);for(var D=0;Dc)){var d=G.getPos(a),e=ia[0]-d[0],g=ia[1]-d[1],e=e*e+g*g;0>=e||16>e&&100>c||20>c&&256>e||(Z=b,ia=d,L(a))}}function ta(){var a=l.getDocumentScroll(),b=ra();10>b-ma|| +10>Math.abs(a[0]-ja[0])&&10>Math.abs(a[1]-ja[1])||(ma=b,ja=a,r(I,[x(),a]))}function Oa(a){a=G.getTarget(a);var b=Math.random(),c=[a.scrollLeft,a.scrollTop];if(a.localId){if(b=ba[a.localId],!b||10>Math.abs(c[0]-b[0])&&10>Math.abs(c[1]-b[1]))return}else{for(;ba[b];)b=Math.random();a.localId=b}ba[a.localId]=c;a!==f&&(n(a),r(H,[x(),c,a]))}function Aa(){r(N,[x(),l.getViewportSize(),l.getDocumentSize()])}function ua(){r(P,[],!0)}function Pa(a){return(a.shiftKey?2:0)|(a.ctrlKey?4:0)|(a.altKey?1:0)|(a.metaKey? +8:0)|(a.ctrlKey||a.altKey?16:0)}function ya(a){return"INPUT"==a.tagName?"password"==a.type||a.name&&na.test(a.name)||a.id&&na.test(a.id):!1}function Qa(a,b,c){a=G.getTarget(a);ya(a)||u(a)||(n(a),r(K,[x(),b,c,a]))}function Ra(a){var b=a.keyCode,c=Pa(a);if({3:1,8:1,9:1,13:1,16:1,17:1,18:1,19:1,20:1,27:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,45:1,46:1,91:1,92:1,93:1,106:1,110:1,111:1,144:1,145:1}[b]||112<=b&&123>=b||96<=b&&105>=b||c&16)19==b&&4==(c&-17)&&(b=144),Qa(a,b,c|16),Ba=!1,g.setTimeout(function(){Ba= +!0},1),!(67==b&&c&4)||c&1||c&2||Ca()}function Sa(a){Ba&&!Da&&0!==a.which&&(Qa(a,a.charCode||a.keyCode,Pa(a)),Da=!0,g.setTimeout(function(){Da=!1},1))}function Ca(){Ea||(Ea=!0,za&&r(J,[x()]),g.setTimeout(function(){Ea=!1},1))}function Fa(){oa||(oa=!0,r(Y,[x()]))}function pa(){oa&&(oa=!1,r(T,[x()]))}function aa(a){(!oa||a&&!a.fromElement)&&Fa()}function da(a){a&&!a.toElement&&pa()}function R(a){if((a=G.getTarget(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)){if(a[C])n(a);else{var b=a.form;if(b)for(var b= +b.elements,c=b.length,d=0;da.deltaY?2:0:"mousewheel"==a.type&&(c=0a.wheelDelta?1:0);c&&(n(b),r(E,[x(),b,G.getPos(a),c]))}}function Q(a){(a=G.getTarget(a))&&"BODY"==a.tagName&&ka.append([], +!0)}var ka=new Ta({protocol:a,counterId:b,counterType:c,meta:{url:B().href,hitId:d,timezone:va,timestamp:wa}}),la={A:1,ABBR:2,ACRONYM:3,ADDRESS:4,APPLET:5,AREA:6,B:7,BASE:8,BASEFONT:9,BDO:10,BIG:11,BLOCKQUOTE:12,BODY:13,BR:14,BUTTON:15,CAPTION:16,CENTER:17,CITE:18,CODE:19,COL:20,COLGROUP:21,DD:22,DEL:23,DFN:24,DIR:25,DIV:26,DL:27,DT:28,EM:29,FIELDSET:30,FONT:31,FORM:32,FRAME:33,FRAMESET:34,H1:35,H2:36,H3:37,H4:38,H5:39,H6:40,HEAD:41,HR:42,HTML:43,I:44,IFRAME:45,IMG:46,INPUT:47,INS:48,ISINDEX:49,KBD:50, +LABEL:51,LEGEND:52,LI:53,LINK:54,MAP:55,MENU:56,META:57,NOFRAMES:58,NOSCRIPT:59,OBJECT:60,OL:61,OPTGROUP:62,OPTION:63,P:64,PARAM:65,PRE:66,Q:67,S:68,SAMP:69,SCRIPT:70,SELECT:71,SMALL:72,SPAN:73,STRIKE:74,STRONG:75,STYLE:76,SUB:77,SUP:78,TABLE:79,TBODY:80,TD:81,TEXTAREA:82,TFOOT:83,TH:84,THEAD:85,TITLE:86,TR:87,TT:88,U:89,UL:90,VAR:91,NOINDEX:100},ga=0;t(0);var V=0,ha=1,Z=0,ia=[0,0],ma=0,ja=[0,0],ba={},na=/^(password|passwd|pswd)$/,Ba=!0,Da=!1,za="",Ea=!1,oa=!0,qa=ra(),C="metrikaId_"+Math.random(), +sa={},xa=":submit"+Math.random();if("MetrikaPlayer"!=h.name){k.on(f,"mousemove",Na);k.on(f,"click,dblclick,mousedown",L);k.on(f,"mouseup",Ma);k.on(h,"scroll",ta);if("onmousewheel"in f)k.on(f,"mousewheel",U);else k.on(f,"wheel",U);k.on(h,"beforeunload",ua);if(!kb)k.on(h,"unload",ua);k.on(h,"resize",Aa);k.on(f,"keydown",Ra);k.on(f,"keypress",Sa);k.on(f,"copy",Ca);k.on(f,"touchmove,touchstart",fa);if(f.body)k.on(f,"mouseleave",Q);f.attachEvent&&!h.opera?(k.on(f,"focusin",aa),k.on(f,"focusout",da)):(k.on(h, +"focus",Fa),k.on(h,"blur",pa),k.on(f,"blur",pa));f.addEventListener?(k.on(f,"scroll",Oa),k.on(f,"focus",R),k.on(f,"blur",S),k.on(f,"change",M),k.on(f,"submit",F)):f.attachEvent&&(k.on(f,"focusin",R),k.on(f,"focusout",S),function(){for(var a=f.getElementsByTagName("form"),b=0;b]*?//mc\\.yandex\\.ru/watch/.*?\x3c/script>","gi"),u.sendContent(l.getDocumentHTML().replace(e,""),t,d,va,wa),!0;n&&(n.open("get",B().href,!0),n.onreadystatechange=q(function(){if(4==n.readyState){var a=n.getResponseHeader("content-type")||"";r&&-1===a.indexOf("charset=")&&(a=t);u.sendContent(n.responseText,a,d,va,wa)}},"updatePage.1"),n.overrideMimeType&& +r&&n.overrideMimeType(t),n.send(null));return!0},"uploadPage")}return{start:function(){ka.activate()},stop:function(){ka.clear();k.un(f,"mousemove",Na);k.un(f,"click,dblclick,mousedown",L);k.un(f,"mouseup",Ma);k.un(f,"mousewheel,wheel",U);k.un(h,"scroll",ta);k.un(h,"beforeunload",ua);k.un(h,"unload",ua);k.un(h,"resize",Aa);k.un(f,"keydown",Ra);k.un(f,"keypress",Sa);k.un(f,"copy",Ca);k.un(f,"touchmove,touchstart",fa);f.body&&k.un(f,"mouseleave",Q);k.un(f,"focusin",aa);k.un(f,"focusout",da);k.un(h, +"focus",Fa);k.un(h,"blur",pa);k.un(f,"blur",pa);f.removeEventListener?(k.un(f,"scroll",Oa),k.un(f,"focus",R),k.un(f,"blur",S),k.un(f,"change",M),k.un(f,"submit",F)):f.detachEvent&&(k.un(f,"focusin",R),k.un(f,"focusout",S),function(){for(var a=f.getElementsByTagName("form"),b=0;b"+a.innerHTML+""}(c=f.doctype)&&(b="\n");return b+a},getRootElement:function(){var a=f.documentElement; +return"CSS1Compat"==f.compatMode?a:f.body||a},getViewportSize:function(){var a=l.getRootElement();return[a.clientWidth,a.clientHeight]},getDocumentSize:function(){var a=l.getRootElement(),b=l.getViewportSize();return[Math.max(a.scrollWidth,b[0]),Math.max(a.scrollHeight,b[1])]},getDocumentScroll:function(){return[h.pageXOffset||f.documentElement&&f.documentElement.scrollLeft||f.body&&f.body.scrollLeft||0,h.pageYOffset||f.documentElement&&f.documentElement.scrollTop||f.body&&f.body.scrollTop||0]},getElementXY:function(a){if(!a.ownerDocument|| +"PARAM"==a.tagName||a==f.body||a==f.documentElement)return[0,0];if(a.getBoundingClientRect){a=a.getBoundingClientRect();var b=l.getDocumentScroll();return[Math.round(a.left+b[0]),Math.round(a.top+b[1])]}for(var c=b=0;a;)b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent;return[b,c]},getElementParent:function(a){return a==f.documentElement?null:a==f.body?f.documentElement:a.parentNode}},g={isArray:function(a){return"function"==typeof Array.isArray?Array.isArray(a):"[object Array]"==Object.prototype.toString.call(a)}, +mergeArrays:function(a){for(var b=1;b>8,h=h&255,h=h^f;e+=h;d+= +e}while(--g);e=(e&255)+(e>>8);d=(d&255)+(d>>8)}a=(e&255)+(e>>8)<<8|(d&255)+(d>>8);return 65535==a?0:a};l.calcTextChecksum=function(a){var b="";a=a.childNodes;for(var c=0,e=a.length;c]*>|[\u0000-\u0020])/g,""))};l.getFormNumber=function(a){for(var b=f.getElementsByTagName("form"),c=0,e=b.length;ca.selectedIndex:!0};l.getElementsByClassName=function(a,b){b=b||f;for(var c=b.getElementsByTagName("*"),e=[],d=0;darguments.length?!0:!!d;for(var g=b.split(","),f=0;farguments.length?!0:!!d;for(var g=b.split(","),h=0;harguments.length&&(b=a,a=0);1>arguments.length&& +(b=1073741824);return Math.floor(Math.random()*(b-a))+a};var S=E.inherit({id:"form",enctype:"application/x-www-form-urlencoded",htmlfileOnly:!1,_initComponent:function(){S.superclass._initComponent.apply(this,arguments);"_htmlfile"in S.prototype||(S.prototype._htmlfile=this._createHtmlfile());this._doc=this._htmlfile||(this.htmlfileOnly?null:f)},request:function(a,b,c,e){var d=this._doc;if(!d)return c.call(e,!1);b=this._splitParams(b);var f="ifr"+g.random(),h=d.createElement("div");h.style.position= +"absolute";h.style.left="-99999px";h.style.top="-99999px";var k=['','
        '];g.forEachKey(b.post,function(a){g.mergeArrays(k,[''])});g.mergeArrays(k,[""]);h.innerHTML=k.join("");d.body.appendChild(h);var l=h.getElementsByTagName("form")[0];g.forEachKey(b.post, +function(a,b){l[a].value=b});l.submit();g.setTimeout(function(){d.body.removeChild(h)},1E4,"TransportForm.request.2");return c.call(e,!0)},_createHtmlfile:function(){try{if(h.ActiveXObject){var a=new ActiveXObject("htmlfile");a.open();a.write("");a.close();return a}}catch(b){}return null}}),M=S.inherit({id:"htmlfile",htmlfileOnly:!0}),K=E.inherit({id:"img",request:function(a,b,c,e){a=this._buildUrl(a,b);b=f.createElement("img");b.onload=q(function(){c.call(e,!0)},"TransportImage.request"); +b.onerror=q(function(){c.call(e,!1)},"TransportImage.request");b.src=a}});g.defer=function(a,b,c,e,d){return g.setTimeout(function(){a.apply(c,e||[])},b,d)};var N=v.inherit({protocol:"",host:"mc.yandex.ru",resource:"",counterId:"",counterType:0,retry:!1,transports:[J,K,M],_initComponent:function(){N.superclass._initComponent.apply(this,arguments);this.retry&&(this._storage=new ea)},send:function(a,b,c,e){var d=this._registerRequest(a,b);this._sendSavedRequest(d,a,b,c,e)},_sendSavedRequest:function(a, +b,c,e,d){var f=h.Ya._metrika.firstReqStatus;if("process"==f)h.Ya._metrika.firstReqCallbacks=g.mergeArrays(h.Ya._metrika.firstReqCallbacks||[],[[this,arguments]]);else{f||(h.Ya._metrika.firstReqStatus="process");f={};this.counterType&&(f["cnt-class"]=this.counterType);g.mixin(f,b);c.st=Math.round((new Date).getTime()/1E3);c.u=N._userID;var k=[this.protocol,"//",this.host,"/"+this.resource+"/"+this.counterId].join(""),l=[];c&&(g.forEachKey(c,function(a,b){"t"!=a&&g.mergeArrays(l,[a,b])}),c.t&&g.mergeArrays(l, +["t",c.t]));l.length&&(f["browser-info"]=l.join(":"));return N.superclass.send.call(this,k,f,function(){h.Ya._metrika.firstReqStatus="complete";this._unregisterRequest(a);var b=h.Ya._metrika.firstReqCallbacks;h.Ya._metrika.firstReqCallbacks=null;if(b)for(var c=0;c+new Date&&2>=b.browserInfo.rqnl&&(new N({protocol:b.protocol,host:b.host,resource:b.resource,counterId:b.counterId, +counterType:b.counterType,postParams:b.postParams||[],retry:!0})).send(b.params,b.browserInfo)})};var F={abc:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",tail:"+/=",tailSafe:"*-_",encode:function(a,b){for(var c=(F.abc+(b?F.tailSafe:F.tail)).split(""),e=a.length,d=[],f=e-e%3,h,k=0;k>18&63],c[h>>12&63],c[h>>6&63],c[h&63]]);switch(e-f){case 1:h=a[f]<<4;g.mergeArrays(d,[c[h>>6&63],c[h&63],c[64],c[64]]);break;case 2:h=(a[f]<< +10)+(a[f+1]<<2),g.mergeArrays(d,[c[h>>12&63],c[h>>6&63],c[h&63],c[64]])}return d.join("")}},mb={encode:function(a){for(var b=[],c=0,e=a.length;cd?b.push(d):(127d?b.push(d>>6|192):(b.push(d>>12|224),b.push(d>>6&63|128)),b.push(d&63|128))}return b}},lb=N.inherit({resource:"webvisor",transports:[J,S],postParams:["wv-data"],sendContent:function(a,b,c,e,d,g,h){if(!a)return!1;-1+new Date&&this.onFlush.call(this.onFlushCtx||this,a.data,a.meta,a.pnum);this.clear()}},append:function(a,b){g.mergeArrays(this._data,a);this._saveToStorageThrottled();this.active&&((b||this._data.length>=this.maxBufferSize)&& +this._flush(),this._flushTID||(this._flushTID=g.defer(this._flush,this.flushTimeout,this,[],"DataBuffer._flush")))},activate:function(){this.active||(this.active=!0,this.append([]))},clear:function(){this._data.length=0;this._flushTID=null;this.storage&&this.storage.remove(this.storageKey)},_flush:function(){this.onFlush.call(this.onFlushCtx||this,this._data,this.meta,this._packetNumber);this._packetNumber++;this.clear()},_saveToStorage:function(){this.storage&&this._data.length&&this.storage.set(this.storageKey, +{data:this._data,meta:this.meta,pnum:this._packetNumber,time:+new Date})}});g.trim=function(a,b){a=String(a).replace(/^\s+|\s+$/g,"");b&&a.length>b&&(a=a.substr(0,b));return a};g.isString=function(a){return"[object String]"==Object.prototype.toString.call(a)};g.arrayIndexOf=function(a,b){for(var c=0;c>>0};w.getFingerPrint=function(){var a=[];if(I.plugins&&I.plugins.length)for(var b=0;bob)var l=!0;else b("site-info",f);c.saveRef&&(la=d);g.mixin(e,this._getTechInfo(a.title,c,this.counterId,a.ts,a.tz,this._trackHash,this.hitId,this.webvisor,this.counter));this.send(k,e,function(){l&&(new fa({protocol:this.protocol,counterType:this.counterType, +counterId:this.counterId,hitId:this.hitId,trackHash:this.trackHash,webvisor:this.webvisor,counterNum:this.counterNum,counter:this.counter})).sendParams(a.userParams);g.isFunction(a.callback)&&a.callback.apply(a.ctx,arguments)},this)}},_prepareHitUrl:function(a){var b=B(),c=b.host,b=b.href,e;if(!g.isString(a))return b;if(-1!=a.search(/^\w+:\/\//))return a;e=a.charAt(0);if("?"==e)return e=b.search(/\?/),-1==e?b+a:b.substr(0,e)+a;if("#"==e)return e=b.search(/#/),-1==e?b+a:b.substr(0,e)+a;if("/"==e){if(e= +b.search(c),-1!=e)return b.substr(0,e+c.length)+a}else return c=b.split("/"),c[c.length-1]=a,c.join("/");return a},_getTechInfo:function(a,b,c,e,d,f,k,v,x){function p(a,b){a&&b&&(m[a]=b)}function y(a){b[a]&&p(a,"1")}b=b||{};var m={};e=e||P.getTimestamp();d=d||P.getTimezone();p("j",w.getJavaEnabled()?"1":"");U&&p("s",U.width+"x"+U.height+"x"+(U.colorDepth||U.pixelDepth));h.devicePixelRatio&&p("sk",h.devicePixelRatio);p("f",w.getFlashVersion());p("l",w.getSilverlightVersion());p("fpr",w.getFingerPrint()); +p("cn",this.counterNum);if(!b.pa){var q=l.getViewportSize();p("w",q[0]+"x"+q[1])}p("z",d);p("i",e);p("et",Math.round((new Date).getTime()/1E3));p("en",l.getDocumentCharset());p("v",V);p("c",I.cookieEnabled?"1":"");p("jv",w.getJScriptVersion());p("la",w.getLanguage());p("ntf",w.getNotificationPermission());f&&p("wh","1");d="ar ln dl ad nb pa pq".split(" ");for(e=0;ek&&(k*=-1),k%=65535;p("wn",k||g.fletcher(h.name));try{h.history&&p("hl",String(h.history.length))}catch(A){}}k="";this.sendTitle&&(k=this._getTitle(a)); +p("t",k);return m},_getTitle:function(a){var b="";b="undefined"==typeof a?(b=l.getDocumentTitle())?g.trim(b,Va):"":g.trim(a,Va);return b}});g.array2Props=function(a){for(var b=a.length,c={},e=c,d=0;d=w.getJScriptVersion()};var aa={};aa._cookie=new Y({onlyCurrentDomain:!0});aa.log=q(function(){var a=-1a?"0":"")+a};P.getTimestamp=function(){for(var a=new Date,a=[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()],b="",c=0;cn||1]+>/gi,""));T.sendClickLink({url:c,title:c==d?"":d,modes:a})};if(Za.test(d)||Za.test(c)||qa(c,Q)||qa(d,Q))a=!0;var f=l.classNameExists(b,"ym-disable-tracklink"),d=l.classNameExists(b,"ym-external-link");f||(f={ln:!0,dl:a},d?e(f):(d=b.hostname||g.parseUrl(b.href).hostname||"",ab(B().hostname,d)?a&&(f.ln=!1,e(f)):c&&-1!=c.search(/^ *(data|javascript):/i)||(f.ut=ia,e(f))))}}function p(b){"undefined"== +typeof b&&(b=!0);!0===b&&(b={});d._clickmap&&d._clickmap.destroy();b&&(d._clickmap=new rb({filter:b.filter,ignoreTags:b.ignoreTags,quota:b.quota,isTrackHash:b.isTrackHash,protocol:"https:",counterId:a,counterType:c,startTime:tb}))}function y(a,b){function c(){if(!z){y&&g.clearTimeout(y);var d;d=t?v:v+ +new Date-x;d=b-d;0>d&&(d=0);y=g.setTimeout(function(){z=!0;m(!1);a()},d,"trackUserTime")}}function d(){t=p=q=!0;v+=+new Date-x;x=+new Date;c()}function e(){p||q||(v=0);x=+new Date;p=q=!0;t=!1;c()}function l(){q|| +(p=!0,t=!1,q=!0,c())}function m(a){for(var b=0;bMath.random())&&y(function(){d.notBounce()},b)}}function I(a){function b(){var a=B().hash.split("#")[1];if("undefined"==typeof a)return!1;var c=a.indexOf("?");0location.href='canalizaciya.php'"; +exit; + } +?> + + (get_meshok())) { + echo "Недостаточно места в рюкзаке."; + } + elseif(($zetons >= ($dress['zeton']*$_POST['count'])) && ($dress['count'] >= $_POST['count'])) { + + for($k=1;$k<=$_POST['count'];$k++) { + if(mysql_query("INSERT INTO `inventory` + (`prototype`,`owner`,`name`,`type`,`massa`,`cost`,`img`,`maxdur`,`isrep`, + `gsila`,`glovk`,`ginta`,`gintel`,`ghp`,`gnoj`,`gtopor`,`gdubina`,`gmech`,`gfire`,`gwater`,`gair`,`gearth`,`glight`,`ggray`,`gdark`,`needident`,`nsila`,`nlovk`,`ninta`,`nintel`,`nmudra`,`nvinos`,`nnoj`,`ntopor`,`ndubina`,`nmech`,`nfire`,`nwater`,`nair`,`nearth`,`nlight`,`ngray`,`ndark`, + `mfkrit`,`mfakrit`,`mfuvorot`,`mfauvorot`,`bron1`,`bron2`,`bron3`,`bron4`,`maxu`,`minu`,`magic`,`nlevel`,`nalign`,`dategoden`,`goden`,`otdel`,`gmp`,`gmeshok`,`podzem` + ) + VALUES + ('{$dress['id']}','{$_SESSION['uid']}','{$dress['name']}','{$dress['type']}',{$dress['massa']},{$dress['cost']},'{$dress['img']}',{$dress['maxdur']},{$dress['isrep']},'{$dress['gsila']}','{$dress['glovk']}','{$dress['ginta']}','{$dress['gintel']}','{$dress['ghp']}','{$dress['gnoj']}','{$dress['gtopor']}','{$dress['gdubina']}','{$dress['gmech']}','{$dress['gfire']}','{$dress['gwater']}','{$dress['gair']}','{$dress['gearth']}','{$dress['glight']}','{$dress['ggray']}','{$dress['gdark']}','{$dress['needident']}','{$dress['nsila']}','{$dress['nlovk']}','{$dress['ninta']}','{$dress['nintel']}','{$dress['nmudra']}','{$dress['nvinos']}','{$dress['nnoj']}','{$dress['ntopor']}','{$dress['ndubina']}','{$dress['nmech']}','{$dress['nfire']}','{$dress['nwater']}','{$dress['nair']}','{$dress['nearth']}','{$dress['nlight']}','{$dress['ngray']}','{$dress['ndark']}', + '{$dress['mfkrit']}','{$dress['mfakrit']}','{$dress['mfuvorot']}','{$dress['mfauvorot']}','{$dress['bron1']}','{$dress['bron3']}','{$dress['bron2']}','{$dress['bron4']}','{$dress['maxu']}','{$dress['minu']}','{$dress['magic']}','{$dress['nlevel']}','{$dress['nalign']}','".(($dress['goden'])?($dress['goden']*24*60*60+time()):"")."','{$dress['goden']}','{$dress['razdel']}','{$dress['gmp']}','{$dress['gmeshok']}','1' + ) ;")) + { + $good = 1; + } + else { + $good = 0; + } + } + if ($good) { + mysql_query("UPDATE `shop` SET `count`=`count`-{$_POST['count']} WHERE `id` = '{$set}' LIMIT 1;"); + echo "Вы купили {$_POST['count']} шт. \"{$dress['name']}\"."; + $vsego = $zetons-$_POST['count']*$dress['zeton']; +if($vsego<='0'){ +mysql_query("DELETE FROM `inventory` WHERE `type`='200' and `name`='Жетон' and owner='".$user["id"]."'"); +}else{mysql_query("UPDATE `inventory` set `maxdur` = '$vsego' WHERE `type`='200' and `name`='Жетон' and owner='".$user["id"]."'");} + + + $zetons -= $_POST['count']*$dress['zeton']; + $limit=$_POST['count']; + $invdb = mysql_query("SELECT `id` FROM `inventory` WHERE `name` = '".$dress['name']."' ORDER by `id` DESC LIMIT ".$limit." ;" ); + //$invdb = mysql_query("SELECT id FROM `inventory` WHERE `name` = '".{$dress['name']}."' ORDER by `id` DESC LIMIT $limit ;" ); + if ($limit == 1) { + $dressinv = mysql_fetch_array($invdb); + $dressid = "cap".$dressinv['id']; + $dresscount=" "; + } + else { + $dressid=""; + while ($dressinv = mysql_fetch_array($invdb)) { + $dressid .= "cap".$dressinv['id'].","; + } + $dresscount="(x".$_POST['count'].") "; + } + $allcost=$_POST['count']*$dress['zeton']; + mysql_query("INSERT INTO `delo` (`id` , `author` ,`pers`, `text`, `type`, `date`) VALUES ('','0','{$_SESSION['uid']}','\"".$user['login']."\" купил товар: \"".$dress['name']."\" ".$dresscount."id:(".$dressid.") [0/".$dress['maxdur']."] за ".$allcost." жетон. ',1,'".time()."');"); + } + } + else { + echo "Недостаточно жетонов"; + } + } + +?> + + + + + + + + + + +
        + + + +

        Магазин Луки

        + +
        + + + + + + + + + +
        + + + + + + +
        Отдел "" + +
        + + 0 AND `razdel` = '{$_GET['otdel']}' AND `zeton` != '0' ORDER by `cost` ASC"); + while($row = mysql_fetch_array($data)) { + if ($i==0) { $i = 1; $color = '';} else { $i = 0; $color = ''; } + echo " + "; + showitem ($row); + echo ""; + } + +?> +
        "; + ?> +
        купить + Купить несколько штук
        +
        + +
        + +
        Масса всех ваших вещей: /
        +
        + +
        +
        + + + diff --git a/smiles.html b/smiles.html new file mode 100644 index 0000000..8c5882b --- /dev/null +++ b/smiles.html @@ -0,0 +1,23 @@ + + + + +
        + + +
        +
        + \ No newline at end of file diff --git a/sound/sound.swf b/sound/sound.swf new file mode 100644 index 0000000..0be6313 Binary files /dev/null and b/sound/sound.swf differ diff --git a/spambase.txt b/spambase.txt new file mode 100644 index 0000000..377a528 --- /dev/null +++ b/spambase.txt @@ -0,0 +1 @@ +sebkru|oldbknet|welcombats|mycombats|vipbk|old-dark|recombats|legbk|febk|skycombats|cambats|zagad \ No newline at end of file diff --git a/startpodzemel.php b/startpodzemel.php new file mode 100644 index 0000000..626c0ce --- /dev/null +++ b/startpodzemel.php @@ -0,0 +1,128 @@ +".nick3($user['id'])." и ".nick3($bot).""; +addlog($id,"Часы показывали ".date("Y.m.d H.i").", когда ".$rr." бросили вызов друг другу.
        "); +mysql_query("UPDATE users SET `battle` ={$id},`zayavka`=0 WHERE `id`= {$user['id']};"); + +if($name2!=''){ +$sex2 = mysql_query("SELECT maxhp,id FROM users WHERE login='$name2'"); +$dded2=mysql_fetch_array($sex2); +mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$d2."','".$dded2["id"]."','{$id}','".$dded2["maxhp"]."');"); +$bot2 = mysql_insert_id(); + +$bd2 = mysql_fetch_array(mysql_query ("SELECT * FROM `battle` WHERE `id` = '{$id}' LIMIT 1;")); +$battle2 = unserialize($bd2['teams']); +$battle2[$bot2] = $battle2[$bot]; +foreach($battle2[$bot2] as $k2 => $v2) { +$battle2[$k2][$bot2] = array(0,0,time()); +} +$t12 = explode(";",$bd2['t1']); +// проставляем кто-где +if (in_array ($user['id'],$t12)) {$ttt2 = 2;} else { $ttt2 = 1;} + +$sdds2 = mysql_query("UPDATE `battle` SET `teams` = '".serialize($battle2)."', `t".$ttt2."`=CONCAT(`t".$ttt2."`,';".$bot2."') WHERE `id` = '{$id}'"); +mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '{$id}' LIMIT 1;"); +} + +if($name3!=''){ +$sex3 = mysql_query("SELECT maxhp,id FROM users WHERE login='$name3'"); +$dded3=mysql_fetch_array($sex3); +mysql_query("INSERT INTO `bots` (`name`,`prototype`,`battle`,`hp`) values ('".$d3."','".$dded3["id"]."','{$id}','".$dded3["maxhp"]."');"); +$bot3 = mysql_insert_id(); + +$bd3 = mysql_fetch_array(mysql_query ("SELECT * FROM `battle` WHERE `id` = '{$id}' LIMIT 1;")); +$battle3 = unserialize($bd3['teams']); +$battle3[$bot3] = $battle3[$bot]; +foreach($battle3[$bot3] as $k3 => $v3) { +$battle3[$k3][$bot3] = array(0,0,time()); +} +$t13 = explode(";",$bd3['t1']); +// проставляем кто-где +if (in_array ($user['id'],$t13)) {$ttt3 = 2;} else { $ttt3 = 1;} + +$sdds3 = mysql_query("UPDATE `battle` SET `teams` = '".serialize($battle3)."', `t".$ttt3."`=CONCAT(`t".$ttt3."`,';".$bot3."') WHERE `id` = '{$id}'"); + +mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '{$id}' LIMIT 1;"); +} + +////////////////////////////////////////////////////// +die(""); +////////////////////////////////////////////////////// +} + +?> \ No newline at end of file diff --git a/stat_battle.php b/stat_battle.php new file mode 100644 index 0000000..9e4ebdf --- /dev/null +++ b/stat_battle.php @@ -0,0 +1,218 @@ + + + + + + + + + + + +

        Статистика боя

        + + Тип боя: + Продолжительность боя: мин. +
        + + +
        + +

        Последовательность ударов

        + + + "; + $an2=""; + asort($unique); + foreach($unique as $u){ + echo ""; + } + ?> + + +
        ЛогинУдар вПоследовательность ударов
        ".$u."голову
        грудь
        живот
        пояс
        ноги
        "; + $c=count($hits); + $excl=array(2,3,4,5); + for($i=0; $i<=$c; $i++){ + if(!$hits[$i][$u]['hits']){$i++;} + if($hits[$i][$u]['hits']==1){echo "X";}elseif($hits[$i][$u]['hits']==665){echo "X";}elseif(in_array($hits[$i][$u]['hits'],$excl)){echo "$anX$an2";} + } + echo "
        "; + $excl=array(1,3,4,5,665); + for($i=0; $i<$c; $i++){ + if(!$hits[$i][$u]['hits']){$i++;} + if($hits[$i][$u]['hits']==2){echo "X";}elseif(in_array($hits[$i][$u]['hits'],$excl)){echo "$anX$an2";} + } + echo "
        "; + $excl=array(1,2,4,5,665); + for($i=0; $i<$c; $i++){ + if(!$hits[$i][$u]['hits']){$i++;} + if($hits[$i][$u]['hits']==3){echo "X";}elseif(in_array($hits[$i][$u]['hits'],$excl)){echo "$anX$an2";} + } + echo "
        "; + $excl=array(1,3,2,5,665); + for($i=0; $i<$c; $i++){ + if(!$hits[$i][$u]['hits']){$i++;} + if($hits[$i][$u]['hits']==4){echo "X";}elseif(in_array($hits[$i][$u]['hits'],$excl)){echo "$anX$an2";} + } + echo "
        "; + $excl=array(1,3,4,2,665); + for($i=0; $i<$c; $i++){ + if(!$hits[$i][$u]['hits']){$i++;} + if($hits[$i][$u]['hits']==5){echo "X";}elseif(in_array($hits[$i][$u]['hits'],$excl)){echo "$anX$an2";} + } + echo "
        "; + echo "
        + (X - удачный удар, X - критический удар, Ξ - крит + инвалидность, X - доп. магический удар,
        + +   - противник блокировал удар,  - увернулся,  - парировал,  - отбил удар щитом) + +

        Последовательность блоков

        + + + $dd){ + $hits[][$r[0]]['defs'][$k]=$dd; + } + if(!in_array($r[0],$unique)){$unique[]=$r[0];} + } + + $an=""; + $an2=""; + asort($unique); + foreach($unique as $u){ + echo ""; + } + ?> + + +
        ЛогинБлокПоследовательность блоков
        ".$u."голова
        грудь
        живот
        пояс
        ноги
        "; + $c=count($hits)-1; + $excl=array("00","01","10","11"); + for($i=0; $i<=$c; $i++){ + if(!in_array($hits[$i][$u]['defs'][0],$excl)){$i++;} + if($hits[$i][$u]['defs'][0]=="11"){echo "X";}elseif($hits[$i][$u]['defs'][0]=="10"){echo "";}else{echo "$anX$an2";}//} + } + echo "
        "; + for($i=0; $i<=$c; $i++){ + if(!in_array($hits[$i][$u]['defs'][1],$excl)){$i++;} + if($hits[$i][$u]['defs'][1]=="11"){echo "X";}elseif($hits[$i][$u]['defs'][1]=="10"){echo "";}else{echo "$anX$an2";}//} + } + echo "
        "; + for($i=0; $i<=$c; $i++){ + if(!in_array($hits[$i][$u]['defs'][2],$excl)){$i++;} + if($hits[$i][$u]['defs'][2]=="11"){echo "X";}elseif($hits[$i][$u]['defs'][2]=="10"){echo "";}else{echo "$anX$an2";}//} + } + echo "
        "; + for($i=0; $i<=$c; $i++){ + if(!in_array($hits[$i][$u]['defs'][3],$excl)){$i++;} + if($hits[$i][$u]['defs'][3]=="11"){echo "X";} + elseif($hits[$i][$u]['defs'][3]=="10"){echo "";} + else{echo "$anX$an2";}//} + } + echo "
        "; + for($i=0; $i<=$c; $i++){ + if(!in_array($hits[$i][$u]['defs'][4],$excl)){$i++;} + if($hits[$i][$u]['defs'][4]=="11"){echo "X";}elseif($hits[$i][$u]['defs'][4]=="10"){echo "";}else{echo "$anX$an2";}//} + } + echo "
        + (X - удачный блок, X - пробили блок критом,  - пропустил удар, +  - увернулся +  - парировал +  - отбил щитом) + +

        "; + foreach($summary as $k){ + //echo $k.'
        '; + $r=explode("|",$k); + + If ($r[5]=='udar'){$hit[$r[0]]+=$r[6];} + If ($r[0]=='user_team1'){$team1_users[$r[1]]=$r[2];} + If ($r[0]=='user_team2'){$team2_users[$r[1]]=$r[2];} + If ($r[1]=='B1' or $r[1]=='B2'){$where_hit[$r[0]][$r[4]]+=1;} + } + + ?> + + +

        Суммарно

        + + + + "; + } + echo ""; + + If (strpos($data['t2'],';')){$team2=explode(";",$data['t2']);}else{$team2[0]=$data['t2'];} + for ($i=0;$i"; + } + echo ""; + ?> + +
        ЛогинУдарыБлокиПопаданияЗащитаУронПотериВылечено
        ".$team1_users[$team1[$i]]."".(!empty($where_hit[$team1[$i]][1])?$where_hit[$team1[$i]][1]:0)."/".(!empty($where_hit[$team1[$i]][2])?$where_hit[$team1[$i]][2]:0)."/".(!empty($where_hit[$team1[$i]][3])?$where_hit[$team1[$i]][3]:0)."/".(!empty($where_hit[$team1[$i]][4])?$where_hit[$team1[$i]][4]:0)."/".(!empty($where_hit[$team1[$i]][5])?$where_hit[$team1[$i]][5]:0)."0/0/0/0/00(0)00/0/00/000
        Всего[".$sum_hp1[1]."/".$sum_hp1[2]."]00000
        ".$team2_users[$team2[$i]]."".(!empty($where_hit[$team2[$i]][1])?$where_hit[$team2[$i]][1]:0)."/".(!empty($where_hit[$team2[$i]][2])?$where_hit[$team2[$i]][2]:0)."/".(!empty($where_hit[$team2[$i]][3])?$where_hit[$team2[$i]][3]:0)."/".(!empty($where_hit[$team2[$i]][4])?$where_hit[$team2[$i]][4]:0)."/".(!empty($where_hit[$team2[$i]][5])?$where_hit[$team2[$i]][5]:0)."0/0/0/0/00(0)00/0/00/000
        Всего[".$sum_hp2[1]."/".$sum_hp2[2]."]00000
        + + Логин - имя персонажа и уровень жизни: [сейчас/всего]
        + Удары - статистика ударов по областям: голова/грудь/живот/пояс/ноги
        + + Блоки - статистика блоков по областям: голова/грудь/живот/пояс/ноги
        + Попадания - удачных попаданий (из них критов) / всего ударов
        + Защита - ударов заблокировано / уворотов / пропущено ударов
        + Урон - выбито HP из противников / из них критами
        + Потери - получено повреждений
        + Вылечено - восстановлено HP
        + + + \ No newline at end of file diff --git a/static/flash/Sound.0.0.4.swf b/static/flash/Sound.0.0.4.swf new file mode 100644 index 0000000..95bf622 Binary files /dev/null and b/static/flash/Sound.0.0.4.swf differ diff --git a/static/flash/Sound.0.0.5.swf b/static/flash/Sound.0.0.5.swf new file mode 100644 index 0000000..3fedc81 Binary files /dev/null and b/static/flash/Sound.0.0.5.swf differ diff --git a/static/flash/Sound.0.0.6.swf b/static/flash/Sound.0.0.6.swf new file mode 100644 index 0000000..486b4db Binary files /dev/null and b/static/flash/Sound.0.0.6.swf differ diff --git a/static/flash/Sound.0.0.7.swf b/static/flash/Sound.0.0.7.swf new file mode 100644 index 0000000..eb65db8 Binary files /dev/null and b/static/flash/Sound.0.0.7.swf differ diff --git a/static/flash/Sound.fla b/static/flash/Sound.fla new file mode 100644 index 0000000..e9f9e5b Binary files /dev/null and b/static/flash/Sound.fla differ diff --git a/static/flash/ZeroClipboard.fla b/static/flash/ZeroClipboard.fla new file mode 100644 index 0000000..007dc94 Binary files /dev/null and b/static/flash/ZeroClipboard.fla differ diff --git a/static/flash/ZeroClipboard.swf b/static/flash/ZeroClipboard.swf new file mode 100644 index 0000000..3d7df22 --- /dev/null +++ b/static/flash/ZeroClipboard.swf @@ -0,0 +1,18 @@ +CWSю +ффЅиKя@џ‹юЂќ и{}м/Ё;‡T|Щ.JHГ™o.<уНP:$т? щ#!WЂФуW !їя+ІXцТVЅQ<мє^ё„Ц“йNх–КеѓѓѓЩѓ…Y?Ш+П-..–+уещщЊ˜ Џј€ОxбќйjR ОC3pz‘г{Eaі¶ЯЏћLOЄZжiС^?p“’–Yж.пr/ +ЛsіsXИ2—l?иІЁКz=Ч1™(W>њ ;ѕщцЂнуЫeag№|(r"'ryuЕтЫјШpщaсaqе,?‰NCD°uvРк№6™Ић5эn№шVЯД3ЩX*I>џ"JфъmЧ ;<ЁцЅ·ћђ>в 1fАYд_Њш€ їЛјЅ>ЫгХХНДwj'gdЇѕ`^qоq©8_™[HЏ!РетЏШ 8А*©зю•Y&5йддд•‘Б «ш•Х?ј"Йхыяnm'ю7гьљлфЪ> ,т—‰?SBРAмЂuщЙ‘Y"ЅыПџT"‘БµKд}Я±†“Мт}15cГп‡|Uиjіэ=7#u; +oЏ>у}—3OЭмwЫ<И^x\6-a9aПeGкv/p"®¶ыQд{љ‰Q;ь02єў4ж˜oхDmоу@Kµ~”Buд•&ЪnOлт€ХYДhИ#Q ‹чзМіjэ фЃn;ївJ!ЗТОєВ\gПЈћїm2—лЎђѕЕЌuџYѕjЋЗѓ[ѓЦ<< +3#gџ§ЃЧюO‘лз綔ЊLшYdвВ†aO]m››}<УјV°ЂIЇ_ЛЯыШs]я mЩHЗ%Л"яgDk{лu3ФЫ|ПсЋл зЯ9VФJФзЬЩлDљ°ѓ-<ЋўЧaі¬ZЗq-Ґ¶ѕV{™C39еєѓ‡ВжЌЌжоцк/љЯ®nйuwg +UiD•j’.CГЩ‘СU +•d + +E(Ќ‚N3CT¦J–*#TҐJЋ*yЄЊQeњВ…K +.SёJбН\§pѓВM +·ф"РЬgъРgЂВ,…2… +…9 +у(<¤р9…GSш‚В"…% +_RX¦р„жїўр”BЌжкV©цЂj34ч‚ВK +лъ:ЬР7Pnк›p +пM +ЯPйg4іE3Ы4і3ьсЗ @ъi!e¤ С¤4FBATхc"Хt™АђN€F ь-" +ЙdЃИ#@”Q jНСЖЂиг 1ЊК@†±ў¦gвКЧ)’nь \ No newline at end of file diff --git a/static/flash/clock.swf b/static/flash/clock.swf new file mode 100644 index 0000000..daf40e7 Binary files /dev/null and b/static/flash/clock.swf differ diff --git a/static/fonts/ARDESTINE.ttf b/static/fonts/ARDESTINE.ttf new file mode 100644 index 0000000..20937d0 Binary files /dev/null and b/static/fonts/ARDESTINE.ttf differ diff --git a/static/fonts/ARESSENCE.ttf b/static/fonts/ARESSENCE.ttf new file mode 100644 index 0000000..cd9e7d3 Binary files /dev/null and b/static/fonts/ARESSENCE.ttf differ diff --git a/static/fonts/Bradley Hand ITC.ttf b/static/fonts/Bradley Hand ITC.ttf new file mode 100644 index 0000000..2b3c309 Binary files /dev/null and b/static/fonts/Bradley Hand ITC.ttf differ diff --git a/static/fonts/CHILLER.ttf b/static/fonts/CHILLER.ttf new file mode 100644 index 0000000..3ebfa84 Binary files /dev/null and b/static/fonts/CHILLER.ttf differ diff --git a/static/fonts/Edgar_da_cool_Regular.ttf b/static/fonts/Edgar_da_cool_Regular.ttf new file mode 100644 index 0000000..782443e Binary files /dev/null and b/static/fonts/Edgar_da_cool_Regular.ttf differ diff --git a/static/fonts/FRSCRIPT.ttf b/static/fonts/FRSCRIPT.ttf new file mode 100644 index 0000000..ae18af3 Binary files /dev/null and b/static/fonts/FRSCRIPT.ttf differ diff --git a/static/fonts/Fh_Script_Regular.ttf b/static/fonts/Fh_Script_Regular.ttf new file mode 100644 index 0000000..04d5cb4 Binary files /dev/null and b/static/fonts/Fh_Script_Regular.ttf differ diff --git a/static/fonts/Gabo4_Gabo4.ttf b/static/fonts/Gabo4_Gabo4.ttf new file mode 100644 index 0000000..e88a8db Binary files /dev/null and b/static/fonts/Gabo4_Gabo4.ttf differ diff --git a/static/fonts/Hurryup_Hurryup.ttf b/static/fonts/Hurryup_Hurryup.ttf new file mode 100644 index 0000000..5782791 Binary files /dev/null and b/static/fonts/Hurryup_Hurryup.ttf differ diff --git a/static/fonts/JAMI_Regular.ttf b/static/fonts/JAMI_Regular.ttf new file mode 100644 index 0000000..3e445b9 Binary files /dev/null and b/static/fonts/JAMI_Regular.ttf differ diff --git a/static/fonts/Justy1_Regular.ttf b/static/fonts/Justy1_Regular.ttf new file mode 100644 index 0000000..b6f9115 Binary files /dev/null and b/static/fonts/Justy1_Regular.ttf differ diff --git a/static/fonts/cour.ttf b/static/fonts/cour.ttf new file mode 100644 index 0000000..ab127b5 Binary files /dev/null and b/static/fonts/cour.ttf differ diff --git a/static/fonts/courbd.ttf b/static/fonts/courbd.ttf new file mode 100644 index 0000000..7ab4417 Binary files /dev/null and b/static/fonts/courbd.ttf differ diff --git a/static/fonts/courbi.ttf b/static/fonts/courbi.ttf new file mode 100644 index 0000000..f7d6c87 Binary files /dev/null and b/static/fonts/courbi.ttf differ diff --git a/static/fonts/couri.ttf b/static/fonts/couri.ttf new file mode 100644 index 0000000..9ef3637 Binary files /dev/null and b/static/fonts/couri.ttf differ diff --git a/static/fonts/de_Manu_2_Regular.ttf b/static/fonts/de_Manu_2_Regular.ttf new file mode 100644 index 0000000..a22428e Binary files /dev/null and b/static/fonts/de_Manu_2_Regular.ttf differ diff --git a/static/image.php b/static/image.php new file mode 100644 index 0000000..f61e55a --- /dev/null +++ b/static/image.php @@ -0,0 +1,57 @@ + \ No newline at end of file diff --git a/static/images/1.gif b/static/images/1.gif new file mode 100644 index 0000000..89dbaf6 Binary files /dev/null and b/static/images/1.gif differ diff --git a/static/images/18.gif b/static/images/18.gif new file mode 100644 index 0000000..dafcc2d Binary files /dev/null and b/static/images/18.gif differ diff --git a/static/images/19.gif b/static/images/19.gif new file mode 100644 index 0000000..eaba7b5 Binary files /dev/null and b/static/images/19.gif differ diff --git a/static/images/1blue.gif b/static/images/1blue.gif new file mode 100644 index 0000000..02f423a Binary files /dev/null and b/static/images/1blue.gif differ diff --git a/static/images/1down-grey.gif b/static/images/1down-grey.gif new file mode 100644 index 0000000..3d6ba99 Binary files /dev/null and b/static/images/1down-grey.gif differ diff --git a/static/images/1green.gif b/static/images/1green.gif new file mode 100644 index 0000000..28933d4 Binary files /dev/null and b/static/images/1green.gif differ diff --git a/static/images/1red.gif b/static/images/1red.gif new file mode 100644 index 0000000..48df510 Binary files /dev/null and b/static/images/1red.gif differ diff --git a/static/images/1silver.gif b/static/images/1silver.gif new file mode 100644 index 0000000..bfcfe98 Binary files /dev/null and b/static/images/1silver.gif differ diff --git a/static/images/1up-grey.gif b/static/images/1up-grey.gif new file mode 100644 index 0000000..f4a84f0 Binary files /dev/null and b/static/images/1up-grey.gif differ diff --git a/static/images/1x1.gif b/static/images/1x1.gif new file mode 100644 index 0000000..75b945d Binary files /dev/null and b/static/images/1x1.gif differ diff --git a/static/images/1yellow.gif b/static/images/1yellow.gif new file mode 100644 index 0000000..1e28456 Binary files /dev/null and b/static/images/1yellow.gif differ diff --git a/static/images/2.gif b/static/images/2.gif new file mode 100644 index 0000000..3d6ba99 Binary files /dev/null and b/static/images/2.gif differ diff --git a/static/images/20.gif b/static/images/20.gif new file mode 100644 index 0000000..75a3508 Binary files /dev/null and b/static/images/20.gif differ diff --git a/static/images/3.gif b/static/images/3.gif new file mode 100644 index 0000000..777c4ab Binary files /dev/null and b/static/images/3.gif differ diff --git a/static/images/30.gif b/static/images/30.gif new file mode 100644 index 0000000..07b83ae Binary files /dev/null and b/static/images/30.gif differ diff --git a/static/images/33.gif b/static/images/33.gif new file mode 100644 index 0000000..3beaf9c Binary files /dev/null and b/static/images/33.gif differ diff --git a/static/images/4.gif b/static/images/4.gif new file mode 100644 index 0000000..f4a84f0 Binary files /dev/null and b/static/images/4.gif differ diff --git a/static/images/40.gif b/static/images/40.gif new file mode 100644 index 0000000..b7048e9 Binary files /dev/null and b/static/images/40.gif differ diff --git a/static/images/50.gif b/static/images/50.gif new file mode 100644 index 0000000..5881c74 Binary files /dev/null and b/static/images/50.gif differ diff --git a/static/images/8.gif b/static/images/8.gif new file mode 100644 index 0000000..15c061e Binary files /dev/null and b/static/images/8.gif differ diff --git a/static/images/Mherz.gif b/static/images/Mherz.gif new file mode 100644 index 0000000..29d3ac6 Binary files /dev/null and b/static/images/Mherz.gif differ diff --git a/static/images/anpx.psd b/static/images/anpx.psd new file mode 100644 index 0000000..af7b57a Binary files /dev/null and b/static/images/anpx.psd differ diff --git a/static/images/apple-touch-icon1.png b/static/images/apple-touch-icon1.png new file mode 100644 index 0000000..c244755 Binary files /dev/null and b/static/images/apple-touch-icon1.png differ diff --git a/static/images/apple-touch-icon2.png b/static/images/apple-touch-icon2.png new file mode 100644 index 0000000..c04f62a Binary files /dev/null and b/static/images/apple-touch-icon2.png differ diff --git a/static/images/apple-touch-icon3.png b/static/images/apple-touch-icon3.png new file mode 100644 index 0000000..c04f62a Binary files /dev/null and b/static/images/apple-touch-icon3.png differ diff --git a/static/images/apx_d4d4d4.psd b/static/images/apx_d4d4d4.psd new file mode 100644 index 0000000..f5edf32 Binary files /dev/null and b/static/images/apx_d4d4d4.psd differ diff --git a/static/images/apxb_c8c8c8.gif b/static/images/apxb_c8c8c8.gif new file mode 100644 index 0000000..d9b27ab Binary files /dev/null and b/static/images/apxb_c8c8c8.gif differ diff --git a/static/images/apxb_d4d4d4.gif b/static/images/apxb_d4d4d4.gif new file mode 100644 index 0000000..cd317a9 Binary files /dev/null and b/static/images/apxb_d4d4d4.gif differ diff --git a/static/images/apxr_c8c8c8.gif b/static/images/apxr_c8c8c8.gif new file mode 100644 index 0000000..2338504 Binary files /dev/null and b/static/images/apxr_c8c8c8.gif differ diff --git a/static/images/apxr_d4d4d4.gif b/static/images/apxr_d4d4d4.gif new file mode 100644 index 0000000..3928596 Binary files /dev/null and b/static/images/apxr_d4d4d4.gif differ diff --git a/static/images/artefact.gif b/static/images/artefact.gif new file mode 100644 index 0000000..fa2742c Binary files /dev/null and b/static/images/artefact.gif differ diff --git a/static/images/b__cancel.jpg b/static/images/b__cancel.jpg new file mode 100644 index 0000000..6df1e2e Binary files /dev/null and b/static/images/b__cancel.jpg differ diff --git a/static/images/b__ok.gif b/static/images/b__ok.gif new file mode 100644 index 0000000..15799d0 Binary files /dev/null and b/static/images/b__ok.gif differ diff --git a/static/images/bgc0.jpg b/static/images/bgc0.jpg new file mode 100644 index 0000000..d622712 Binary files /dev/null and b/static/images/bgc0.jpg differ diff --git a/static/images/bgc1.jpg b/static/images/bgc1.jpg new file mode 100644 index 0000000..881894f Binary files /dev/null and b/static/images/bgc1.jpg differ diff --git a/static/images/bgc2.jpg b/static/images/bgc2.jpg new file mode 100644 index 0000000..30fb89d Binary files /dev/null and b/static/images/bgc2.jpg differ diff --git a/static/images/blink.gif b/static/images/blink.gif new file mode 100644 index 0000000..0328ce5 Binary files /dev/null and b/static/images/blink.gif differ diff --git a/static/images/chatmenu.jpg b/static/images/chatmenu.jpg new file mode 100644 index 0000000..77450d0 Binary files /dev/null and b/static/images/chatmenu.jpg differ diff --git a/static/images/chatmenu.png b/static/images/chatmenu.png new file mode 100644 index 0000000..e7e0687 Binary files /dev/null and b/static/images/chatmenu.png differ diff --git a/static/images/chatmenu.psd b/static/images/chatmenu.psd new file mode 100644 index 0000000..33493f7 Binary files /dev/null and b/static/images/chatmenu.psd differ diff --git a/static/images/chatmenu2.psd b/static/images/chatmenu2.psd new file mode 100644 index 0000000..034dcbf Binary files /dev/null and b/static/images/chatmenu2.psd differ diff --git a/static/images/chatmenu3.psd b/static/images/chatmenu3.psd new file mode 100644 index 0000000..d943ba1 Binary files /dev/null and b/static/images/chatmenu3.psd differ diff --git a/static/images/clear.gif b/static/images/clear.gif new file mode 100644 index 0000000..65de654 Binary files /dev/null and b/static/images/clear.gif differ diff --git a/static/images/clock.psd b/static/images/clock.psd new file mode 100644 index 0000000..c2b3d67 Binary files /dev/null and b/static/images/clock.psd differ diff --git a/static/images/clock0.png b/static/images/clock0.png new file mode 100644 index 0000000..637d5b0 Binary files /dev/null and b/static/images/clock0.png differ diff --git a/static/images/clock1.png b/static/images/clock1.png new file mode 100644 index 0000000..ab42e05 Binary files /dev/null and b/static/images/clock1.png differ diff --git a/static/images/clock2.png b/static/images/clock2.png new file mode 100644 index 0000000..97f2ba0 Binary files /dev/null and b/static/images/clock2.png differ diff --git a/static/images/clock3.png b/static/images/clock3.png new file mode 100644 index 0000000..7759499 Binary files /dev/null and b/static/images/clock3.png differ diff --git a/static/images/clock4.png b/static/images/clock4.png new file mode 100644 index 0000000..18fcc08 Binary files /dev/null and b/static/images/clock4.png differ diff --git a/static/images/clock5.png b/static/images/clock5.png new file mode 100644 index 0000000..c4a9e1f Binary files /dev/null and b/static/images/clock5.png differ diff --git a/static/images/clock6.png b/static/images/clock6.png new file mode 100644 index 0000000..a98610b Binary files /dev/null and b/static/images/clock6.png differ diff --git a/static/images/clock7.png b/static/images/clock7.png new file mode 100644 index 0000000..899a622 Binary files /dev/null and b/static/images/clock7.png differ diff --git a/static/images/clock8.png b/static/images/clock8.png new file mode 100644 index 0000000..418645e Binary files /dev/null and b/static/images/clock8.png differ diff --git a/static/images/clock9.png b/static/images/clock9.png new file mode 100644 index 0000000..c10fe39 Binary files /dev/null and b/static/images/clock9.png differ diff --git a/static/images/clockrz.png b/static/images/clockrz.png new file mode 100644 index 0000000..62f1e90 Binary files /dev/null and b/static/images/clockrz.png differ diff --git a/static/images/clok3_2.png b/static/images/clok3_2.png new file mode 100644 index 0000000..32dace5 Binary files /dev/null and b/static/images/clok3_2.png differ diff --git a/static/images/close2.gif b/static/images/close2.gif new file mode 100644 index 0000000..a21898c Binary files /dev/null and b/static/images/close2.gif differ diff --git a/static/images/close_bank.gif b/static/images/close_bank.gif new file mode 100644 index 0000000..eca4e31 Binary files /dev/null and b/static/images/close_bank.gif differ diff --git a/static/images/combats.png b/static/images/combats.png new file mode 100644 index 0000000..6754196 Binary files /dev/null and b/static/images/combats.png differ diff --git a/static/images/copy.png b/static/images/copy.png new file mode 100644 index 0000000..a8d8a9d Binary files /dev/null and b/static/images/copy.png differ diff --git a/static/images/copy.psd b/static/images/copy.psd new file mode 100644 index 0000000..c4c24eb Binary files /dev/null and b/static/images/copy.psd differ diff --git a/static/images/curse_attack.gif b/static/images/curse_attack.gif new file mode 100644 index 0000000..adae816 Binary files /dev/null and b/static/images/curse_attack.gif differ diff --git a/static/images/damage.gif b/static/images/damage.gif new file mode 100644 index 0000000..9205e19 Binary files /dev/null and b/static/images/damage.gif differ diff --git a/static/images/dealer1.gif b/static/images/dealer1.gif new file mode 100644 index 0000000..c477f8c Binary files /dev/null and b/static/images/dealer1.gif differ diff --git a/static/images/defender.gif b/static/images/defender.gif new file mode 100644 index 0000000..41262f3 Binary files /dev/null and b/static/images/defender.gif differ diff --git a/static/images/design/b___.gif b/static/images/design/b___.gif new file mode 100644 index 0000000..9bd0427 Binary files /dev/null and b/static/images/design/b___.gif differ diff --git a/static/images/design/b_notepad.gif b/static/images/design/b_notepad.gif new file mode 100644 index 0000000..882f322 Binary files /dev/null and b/static/images/design/b_notepad.gif differ diff --git a/static/images/design/chatBtn1.gif b/static/images/design/chatBtn1.gif new file mode 100644 index 0000000..a5c0cb0 Binary files /dev/null and b/static/images/design/chatBtn1.gif differ diff --git a/static/images/design/chatBtn10.gif b/static/images/design/chatBtn10.gif new file mode 100644 index 0000000..46813eb Binary files /dev/null and b/static/images/design/chatBtn10.gif differ diff --git a/static/images/design/chatBtn11.gif b/static/images/design/chatBtn11.gif new file mode 100644 index 0000000..39035e7 Binary files /dev/null and b/static/images/design/chatBtn11.gif differ diff --git a/static/images/design/chatBtn12.gif b/static/images/design/chatBtn12.gif new file mode 100644 index 0000000..c8d1df0 Binary files /dev/null and b/static/images/design/chatBtn12.gif differ diff --git a/static/images/design/chatBtn13.gif b/static/images/design/chatBtn13.gif new file mode 100644 index 0000000..24c5f86 Binary files /dev/null and b/static/images/design/chatBtn13.gif differ diff --git a/static/images/design/chatBtn14.gif b/static/images/design/chatBtn14.gif new file mode 100644 index 0000000..a6a931d Binary files /dev/null and b/static/images/design/chatBtn14.gif differ diff --git a/static/images/design/chatBtn15.gif b/static/images/design/chatBtn15.gif new file mode 100644 index 0000000..4720fce Binary files /dev/null and b/static/images/design/chatBtn15.gif differ diff --git a/static/images/design/chatBtn16.gif b/static/images/design/chatBtn16.gif new file mode 100644 index 0000000..a3bbb09 Binary files /dev/null and b/static/images/design/chatBtn16.gif differ diff --git a/static/images/design/chatBtn17.gif b/static/images/design/chatBtn17.gif new file mode 100644 index 0000000..51e989e Binary files /dev/null and b/static/images/design/chatBtn17.gif differ diff --git a/static/images/design/chatBtn18.gif b/static/images/design/chatBtn18.gif new file mode 100644 index 0000000..b18b272 Binary files /dev/null and b/static/images/design/chatBtn18.gif differ diff --git a/static/images/design/chatBtn19.gif b/static/images/design/chatBtn19.gif new file mode 100644 index 0000000..500579b Binary files /dev/null and b/static/images/design/chatBtn19.gif differ diff --git a/static/images/design/chatBtn2.gif b/static/images/design/chatBtn2.gif new file mode 100644 index 0000000..41c085c Binary files /dev/null and b/static/images/design/chatBtn2.gif differ diff --git a/static/images/design/chatBtn20.gif b/static/images/design/chatBtn20.gif new file mode 100644 index 0000000..6307bff Binary files /dev/null and b/static/images/design/chatBtn20.gif differ diff --git a/static/images/design/chatBtn21.gif b/static/images/design/chatBtn21.gif new file mode 100644 index 0000000..daea2ed Binary files /dev/null and b/static/images/design/chatBtn21.gif differ diff --git a/static/images/design/chatBtn3.gif b/static/images/design/chatBtn3.gif new file mode 100644 index 0000000..1e5c314 Binary files /dev/null and b/static/images/design/chatBtn3.gif differ diff --git a/static/images/design/chatBtn4.gif b/static/images/design/chatBtn4.gif new file mode 100644 index 0000000..66c1bee Binary files /dev/null and b/static/images/design/chatBtn4.gif differ diff --git a/static/images/design/chatBtn5.gif b/static/images/design/chatBtn5.gif new file mode 100644 index 0000000..4539b86 Binary files /dev/null and b/static/images/design/chatBtn5.gif differ diff --git a/static/images/design/chatBtn6.gif b/static/images/design/chatBtn6.gif new file mode 100644 index 0000000..b56d9bd Binary files /dev/null and b/static/images/design/chatBtn6.gif differ diff --git a/static/images/design/chatBtn7.gif b/static/images/design/chatBtn7.gif new file mode 100644 index 0000000..e6bd371 Binary files /dev/null and b/static/images/design/chatBtn7.gif differ diff --git a/static/images/design/chatBtn8.gif b/static/images/design/chatBtn8.gif new file mode 100644 index 0000000..f17a687 Binary files /dev/null and b/static/images/design/chatBtn8.gif differ diff --git a/static/images/design/chatBtn80.gif b/static/images/design/chatBtn80.gif new file mode 100644 index 0000000..9163e2c Binary files /dev/null and b/static/images/design/chatBtn80.gif differ diff --git a/static/images/design/chatBtn9.gif b/static/images/design/chatBtn9.gif new file mode 100644 index 0000000..ca8c7f2 Binary files /dev/null and b/static/images/design/chatBtn9.gif differ diff --git a/static/images/design/chat_bg.gif b/static/images/design/chat_bg.gif new file mode 100644 index 0000000..ab9a138 Binary files /dev/null and b/static/images/design/chat_bg.gif differ diff --git a/static/images/design/chat_bg_2.jpg b/static/images/design/chat_bg_2.jpg new file mode 100644 index 0000000..c699bbf Binary files /dev/null and b/static/images/design/chat_bg_2.jpg differ diff --git a/static/images/design/chat_explode.gif b/static/images/design/chat_explode.gif new file mode 100644 index 0000000..3b08b51 Binary files /dev/null and b/static/images/design/chat_explode.gif differ diff --git a/static/images/design/lite/1/cap_lit_21.gif b/static/images/design/lite/1/cap_lit_21.gif new file mode 100644 index 0000000..6dd3a01 Binary files /dev/null and b/static/images/design/lite/1/cap_lit_21.gif differ diff --git a/static/images/design/lite/1/top_lite_cap_01.gif b/static/images/design/lite/1/top_lite_cap_01.gif new file mode 100644 index 0000000..e31f30c Binary files /dev/null and b/static/images/design/lite/1/top_lite_cap_01.gif differ diff --git a/static/images/design/lite/1/top_lite_cap_08.gif b/static/images/design/lite/1/top_lite_cap_08.gif new file mode 100644 index 0000000..08db25b Binary files /dev/null and b/static/images/design/lite/1/top_lite_cap_08.gif differ diff --git a/static/images/design/lite/1/top_lite_cap_11.gif b/static/images/design/lite/1/top_lite_cap_11.gif new file mode 100644 index 0000000..1f79f88 Binary files /dev/null and b/static/images/design/lite/1/top_lite_cap_11.gif differ diff --git a/static/images/design/lite/_lit_20.gif b/static/images/design/lite/_lit_20.gif new file mode 100644 index 0000000..ebea33d Binary files /dev/null and b/static/images/design/lite/_lit_20.gif differ diff --git a/static/images/design/lite/_lit_27.gif b/static/images/design/lite/_lit_27.gif new file mode 100644 index 0000000..de92f34 Binary files /dev/null and b/static/images/design/lite/_lit_27.gif differ diff --git a/static/images/design/lite/_mid_31.png b/static/images/design/lite/_mid_31.png new file mode 100644 index 0000000..4a1d942 Binary files /dev/null and b/static/images/design/lite/_mid_31.png differ diff --git a/static/images/design/lite/_top_20s.gif b/static/images/design/lite/_top_20s.gif new file mode 100644 index 0000000..af01272 Binary files /dev/null and b/static/images/design/lite/_top_20s.gif differ diff --git a/static/images/design/lite/_top_24.gif b/static/images/design/lite/_top_24.gif new file mode 100644 index 0000000..77a0cb2 Binary files /dev/null and b/static/images/design/lite/_top_24.gif differ diff --git a/static/images/design/lite/_top_28.gif b/static/images/design/lite/_top_28.gif new file mode 100644 index 0000000..5913953 Binary files /dev/null and b/static/images/design/lite/_top_28.gif differ diff --git a/static/images/design/lite/abandonedplain/cap_lit_21.gif b/static/images/design/lite/abandonedplain/cap_lit_21.gif new file mode 100644 index 0000000..ddb3cf4 Binary files /dev/null and b/static/images/design/lite/abandonedplain/cap_lit_21.gif differ diff --git a/static/images/design/lite/abandonedplain/top_lite_cap_01.gif b/static/images/design/lite/abandonedplain/top_lite_cap_01.gif new file mode 100644 index 0000000..0c4172c Binary files /dev/null and b/static/images/design/lite/abandonedplain/top_lite_cap_01.gif differ diff --git a/static/images/design/lite/abandonedplain/top_lite_cap_08.gif b/static/images/design/lite/abandonedplain/top_lite_cap_08.gif new file mode 100644 index 0000000..4efc494 Binary files /dev/null and b/static/images/design/lite/abandonedplain/top_lite_cap_08.gif differ diff --git a/static/images/design/lite/abandonedplain/top_lite_cap_11.gif b/static/images/design/lite/abandonedplain/top_lite_cap_11.gif new file mode 100644 index 0000000..e6b34a6 Binary files /dev/null and b/static/images/design/lite/abandonedplain/top_lite_cap_11.gif differ diff --git a/static/images/design/lite/angelscity/top_lite_cap_01.gif b/static/images/design/lite/angelscity/top_lite_cap_01.gif new file mode 100644 index 0000000..6709364 Binary files /dev/null and b/static/images/design/lite/angelscity/top_lite_cap_01.gif differ diff --git a/static/images/design/lite/angelscity/top_lite_cap_03.gif b/static/images/design/lite/angelscity/top_lite_cap_03.gif new file mode 100644 index 0000000..baac046 Binary files /dev/null and b/static/images/design/lite/angelscity/top_lite_cap_03.gif differ diff --git a/static/images/design/lite/angelscity/top_lite_cap_07.gif b/static/images/design/lite/angelscity/top_lite_cap_07.gif new file mode 100644 index 0000000..631aca1 Binary files /dev/null and b/static/images/design/lite/angelscity/top_lite_cap_07.gif differ diff --git a/static/images/design/lite/angelscity/top_lite_cap_08.gif b/static/images/design/lite/angelscity/top_lite_cap_08.gif new file mode 100644 index 0000000..edca432 Binary files /dev/null and b/static/images/design/lite/angelscity/top_lite_cap_08.gif differ diff --git a/static/images/design/lite/angelscity/top_lite_cap_11.gif b/static/images/design/lite/angelscity/top_lite_cap_11.gif new file mode 100644 index 0000000..0d43c58 Binary files /dev/null and b/static/images/design/lite/angelscity/top_lite_cap_11.gif differ diff --git a/static/images/design/lite/angelscity/top_lite_cap_21.gif b/static/images/design/lite/angelscity/top_lite_cap_21.gif new file mode 100644 index 0000000..f8d0610 Binary files /dev/null and b/static/images/design/lite/angelscity/top_lite_cap_21.gif differ diff --git a/static/images/design/lite/bkf_l_r1_02.gif b/static/images/design/lite/bkf_l_r1_02.gif new file mode 100644 index 0000000..d7e68eb Binary files /dev/null and b/static/images/design/lite/bkf_l_r1_02.gif differ diff --git a/static/images/design/lite/bkf_l_r1_06.gif b/static/images/design/lite/bkf_l_r1_06.gif new file mode 100644 index 0000000..a83002f Binary files /dev/null and b/static/images/design/lite/bkf_l_r1_06.gif differ diff --git a/static/images/design/lite/dungeon/top_lite_cap_08.gif b/static/images/design/lite/dungeon/top_lite_cap_08.gif new file mode 100644 index 0000000..4efc494 Binary files /dev/null and b/static/images/design/lite/dungeon/top_lite_cap_08.gif differ diff --git a/static/images/design/lite/mennu112_04_lite.gif b/static/images/design/lite/mennu112_04_lite.gif new file mode 100644 index 0000000..abc1be0 Binary files /dev/null and b/static/images/design/lite/mennu112_04_lite.gif differ diff --git a/static/images/design/lite/mennu112_06.gif b/static/images/design/lite/mennu112_06.gif new file mode 100644 index 0000000..7d3623d Binary files /dev/null and b/static/images/design/lite/mennu112_06.gif differ diff --git a/static/images/design/lite/mennu112_06_lite.gif b/static/images/design/lite/mennu112_06_lite.gif new file mode 100644 index 0000000..7727875 Binary files /dev/null and b/static/images/design/lite/mennu112_06_lite.gif differ diff --git a/static/images/design/lite/mennu112_09.gif b/static/images/design/lite/mennu112_09.gif new file mode 100644 index 0000000..a1c95cf Binary files /dev/null and b/static/images/design/lite/mennu112_09.gif differ diff --git a/static/images/design/lite/newcapitalcity/cap_lit_21.gif b/static/images/design/lite/newcapitalcity/cap_lit_21.gif new file mode 100644 index 0000000..c115412 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/cap_lit_21.gif differ diff --git a/static/images/design/lite/newcapitalcity/mennu112_04_lite.gif b/static/images/design/lite/newcapitalcity/mennu112_04_lite.gif new file mode 100644 index 0000000..abc1be0 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/mennu112_04_lite.gif differ diff --git a/static/images/design/lite/newcapitalcity/mennu112_06_lite.gif b/static/images/design/lite/newcapitalcity/mennu112_06_lite.gif new file mode 100644 index 0000000..7727875 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/mennu112_06_lite.gif differ diff --git a/static/images/design/lite/newcapitalcity/nwc_lit_21.gif b/static/images/design/lite/newcapitalcity/nwc_lit_21.gif new file mode 100644 index 0000000..c115412 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/nwc_lit_21.gif differ diff --git a/static/images/design/lite/newcapitalcity/sand_lit_20.gif b/static/images/design/lite/newcapitalcity/sand_lit_20.gif new file mode 100644 index 0000000..ebea33d Binary files /dev/null and b/static/images/design/lite/newcapitalcity/sand_lit_20.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_cap_01.gif b/static/images/design/lite/newcapitalcity/top_lite_cap_01.gif new file mode 100644 index 0000000..879a237 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_cap_01.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_cap_07.gif b/static/images/design/lite/newcapitalcity/top_lite_cap_07.gif new file mode 100644 index 0000000..89f354a Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_cap_07.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_cap_08.gif b/static/images/design/lite/newcapitalcity/top_lite_cap_08.gif new file mode 100644 index 0000000..195fd68 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_cap_08.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_cap_11.gif b/static/images/design/lite/newcapitalcity/top_lite_cap_11.gif new file mode 100644 index 0000000..1f79f88 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_cap_11.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_devils_13.gif b/static/images/design/lite/newcapitalcity/top_lite_devils_13.gif new file mode 100644 index 0000000..e3ea060 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_devils_13.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_devils_15.gif b/static/images/design/lite/newcapitalcity/top_lite_devils_15.gif new file mode 100644 index 0000000..16c56f0 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_devils_15.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_dream_13.gif b/static/images/design/lite/newcapitalcity/top_lite_dream_13.gif new file mode 100644 index 0000000..e3ea060 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_dream_13.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_dream_15.gif b/static/images/design/lite/newcapitalcity/top_lite_dream_15.gif new file mode 100644 index 0000000..16c56f0 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_dream_15.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_dream_18.gif b/static/images/design/lite/newcapitalcity/top_lite_dream_18.gif new file mode 100644 index 0000000..a9b1357 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_dream_18.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_newcap_03.gif b/static/images/design/lite/newcapitalcity/top_lite_newcap_03.gif new file mode 100644 index 0000000..b0a7f5a Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_newcap_03.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_newcap_07.gif b/static/images/design/lite/newcapitalcity/top_lite_newcap_07.gif new file mode 100644 index 0000000..3bcab97 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_newcap_07.gif differ diff --git a/static/images/design/lite/newcapitalcity/top_lite_newcap_08.gif b/static/images/design/lite/newcapitalcity/top_lite_newcap_08.gif new file mode 100644 index 0000000..195fd68 Binary files /dev/null and b/static/images/design/lite/newcapitalcity/top_lite_newcap_08.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_cap_01.gif b/static/images/design/lite/oldcity/top_lite_cap_01.gif new file mode 100644 index 0000000..158c921 Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_cap_01.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_cap_03.gif b/static/images/design/lite/oldcity/top_lite_cap_03.gif new file mode 100644 index 0000000..ac098ac Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_cap_03.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_cap_07.gif b/static/images/design/lite/oldcity/top_lite_cap_07.gif new file mode 100644 index 0000000..88cf959 Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_cap_07.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_cap_08.gif b/static/images/design/lite/oldcity/top_lite_cap_08.gif new file mode 100644 index 0000000..04a8375 Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_cap_08.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_cap_11.gif b/static/images/design/lite/oldcity/top_lite_cap_11.gif new file mode 100644 index 0000000..3037288 Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_cap_11.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_dream_03.gif b/static/images/design/lite/oldcity/top_lite_dream_03.gif new file mode 100644 index 0000000..ac098ac Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_dream_03.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_dream_11.gif b/static/images/design/lite/oldcity/top_lite_dream_11.gif new file mode 100644 index 0000000..3037288 Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_dream_11.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_old_01.gif b/static/images/design/lite/oldcity/top_lite_old_01.gif new file mode 100644 index 0000000..158c921 Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_old_01.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_old_07.gif b/static/images/design/lite/oldcity/top_lite_old_07.gif new file mode 100644 index 0000000..88cf959 Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_old_07.gif differ diff --git a/static/images/design/lite/oldcity/top_lite_old_08.gif b/static/images/design/lite/oldcity/top_lite_old_08.gif new file mode 100644 index 0000000..04a8375 Binary files /dev/null and b/static/images/design/lite/oldcity/top_lite_old_08.gif differ diff --git a/static/images/design/lite/sand_top_24.gif b/static/images/design/lite/sand_top_24.gif new file mode 100644 index 0000000..77a0cb2 Binary files /dev/null and b/static/images/design/lite/sand_top_24.gif differ diff --git a/static/images/design/lite/top_lite_13.gif b/static/images/design/lite/top_lite_13.gif new file mode 100644 index 0000000..e3ea060 Binary files /dev/null and b/static/images/design/lite/top_lite_13.gif differ diff --git a/static/images/design/lite/top_lite_18.gif b/static/images/design/lite/top_lite_18.gif new file mode 100644 index 0000000..a9b1357 Binary files /dev/null and b/static/images/design/lite/top_lite_18.gif differ diff --git a/static/images/design/lite/top_lite_cap_03.gif b/static/images/design/lite/top_lite_cap_03.gif new file mode 100644 index 0000000..2a5819d Binary files /dev/null and b/static/images/design/lite/top_lite_cap_03.gif differ diff --git a/static/images/design/lite/top_lite_cap_07.gif b/static/images/design/lite/top_lite_cap_07.gif new file mode 100644 index 0000000..89f354a Binary files /dev/null and b/static/images/design/lite/top_lite_cap_07.gif differ diff --git a/static/images/design/lite/top_lite_cap_15.gif b/static/images/design/lite/top_lite_cap_15.gif new file mode 100644 index 0000000..16c56f0 Binary files /dev/null and b/static/images/design/lite/top_lite_cap_15.gif differ diff --git a/static/images/design/lite/top_lite_low_15.gif b/static/images/design/lite/top_lite_low_15.gif new file mode 100644 index 0000000..16c56f0 Binary files /dev/null and b/static/images/design/lite/top_lite_low_15.gif differ diff --git a/static/images/design/lite/top_lite_old_07.gif b/static/images/design/lite/top_lite_old_07.gif new file mode 100644 index 0000000..88cf959 Binary files /dev/null and b/static/images/design/lite/top_lite_old_07.gif differ diff --git a/static/images/desteny.gif b/static/images/desteny.gif new file mode 100644 index 0000000..14a7f37 Binary files /dev/null and b/static/images/desteny.gif differ diff --git a/static/images/desteny0.gif b/static/images/desteny0.gif new file mode 100644 index 0000000..00fbfff Binary files /dev/null and b/static/images/desteny0.gif differ diff --git a/static/images/draw.gif b/static/images/draw.gif new file mode 100644 index 0000000..520962b Binary files /dev/null and b/static/images/draw.gif differ diff --git a/static/images/favicon.ico b/static/images/favicon.ico new file mode 100644 index 0000000..80aa082 Binary files /dev/null and b/static/images/favicon.ico differ diff --git a/static/images/fighttype0.gif b/static/images/fighttype0.gif new file mode 100644 index 0000000..efe2863 Binary files /dev/null and b/static/images/fighttype0.gif differ diff --git a/static/images/fighttype1.gif b/static/images/fighttype1.gif new file mode 100644 index 0000000..f5f5f6e Binary files /dev/null and b/static/images/fighttype1.gif differ diff --git a/static/images/fighttype10.gif b/static/images/fighttype10.gif new file mode 100644 index 0000000..a3521d8 Binary files /dev/null and b/static/images/fighttype10.gif differ diff --git a/static/images/fighttype11.gif b/static/images/fighttype11.gif new file mode 100644 index 0000000..b41a90a Binary files /dev/null and b/static/images/fighttype11.gif differ diff --git a/static/images/fighttype2.gif b/static/images/fighttype2.gif new file mode 100644 index 0000000..3bc6324 Binary files /dev/null and b/static/images/fighttype2.gif differ diff --git a/static/images/fighttype20.gif b/static/images/fighttype20.gif new file mode 100644 index 0000000..3f281f6 Binary files /dev/null and b/static/images/fighttype20.gif differ diff --git a/static/images/fighttype2_.gif b/static/images/fighttype2_.gif new file mode 100644 index 0000000..a02f1ae Binary files /dev/null and b/static/images/fighttype2_.gif differ diff --git a/static/images/fighttype3.gif b/static/images/fighttype3.gif new file mode 100644 index 0000000..f5f5f6e Binary files /dev/null and b/static/images/fighttype3.gif differ diff --git a/static/images/fighttype4.gif b/static/images/fighttype4.gif new file mode 100644 index 0000000..b41a90a Binary files /dev/null and b/static/images/fighttype4.gif differ diff --git a/static/images/fighttype6.gif b/static/images/fighttype6.gif new file mode 100644 index 0000000..87552d8 Binary files /dev/null and b/static/images/fighttype6.gif differ diff --git a/static/images/fighttype7.gif b/static/images/fighttype7.gif new file mode 100644 index 0000000..b41a90a Binary files /dev/null and b/static/images/fighttype7.gif differ diff --git a/static/images/fighttype9.gif b/static/images/fighttype9.gif new file mode 100644 index 0000000..58d9086 Binary files /dev/null and b/static/images/fighttype9.gif differ diff --git a/static/images/fighttypehidden0.gif b/static/images/fighttypehidden0.gif new file mode 100644 index 0000000..86f6ecc Binary files /dev/null and b/static/images/fighttypehidden0.gif differ diff --git a/static/images/fightype1_.gif b/static/images/fightype1_.gif new file mode 100644 index 0000000..1f460cf Binary files /dev/null and b/static/images/fightype1_.gif differ diff --git a/static/images/flag.gif b/static/images/flag.gif new file mode 100644 index 0000000..e42bc9d Binary files /dev/null and b/static/images/flag.gif differ diff --git a/static/images/forgot-password/background.png b/static/images/forgot-password/background.png new file mode 100644 index 0000000..7c7877c Binary files /dev/null and b/static/images/forgot-password/background.png differ diff --git a/static/images/fsleeps0.gif b/static/images/fsleeps0.gif new file mode 100644 index 0000000..446956f Binary files /dev/null and b/static/images/fsleeps0.gif differ diff --git a/static/images/fsleeps1.gif b/static/images/fsleeps1.gif new file mode 100644 index 0000000..c8ac29a Binary files /dev/null and b/static/images/fsleeps1.gif differ diff --git a/static/images/g0.gif b/static/images/g0.gif new file mode 100644 index 0000000..49ab12d Binary files /dev/null and b/static/images/g0.gif differ diff --git a/static/images/g1.gif b/static/images/g1.gif new file mode 100644 index 0000000..bf275a3 Binary files /dev/null and b/static/images/g1.gif differ diff --git a/static/images/glow_pink.gif b/static/images/glow_pink.gif new file mode 100644 index 0000000..5fb7ec7 Binary files /dev/null and b/static/images/glow_pink.gif differ diff --git a/static/images/herz.gif b/static/images/herz.gif new file mode 100644 index 0000000..237dd8f Binary files /dev/null and b/static/images/herz.gif differ diff --git a/static/images/hidden.gif b/static/images/hidden.gif new file mode 100644 index 0000000..86f6ecc Binary files /dev/null and b/static/images/hidden.gif differ diff --git a/static/images/hp.jpg b/static/images/hp.jpg new file mode 100644 index 0000000..52eefa9 Binary files /dev/null and b/static/images/hp.jpg differ diff --git a/static/images/hp2.jpg b/static/images/hp2.jpg new file mode 100644 index 0000000..5902b59 Binary files /dev/null and b/static/images/hp2.jpg differ diff --git a/static/images/i_marry.gif b/static/images/i_marry.gif new file mode 100644 index 0000000..3545830 Binary files /dev/null and b/static/images/i_marry.gif differ diff --git a/static/images/ico_change.gif b/static/images/ico_change.gif new file mode 100644 index 0000000..5cab184 Binary files /dev/null and b/static/images/ico_change.gif differ diff --git a/static/images/ico_clear_log.gif b/static/images/ico_clear_log.gif new file mode 100644 index 0000000..938291d Binary files /dev/null and b/static/images/ico_clear_log.gif differ diff --git a/static/images/ico_refresh.gif b/static/images/ico_refresh.gif new file mode 100644 index 0000000..d319b9e Binary files /dev/null and b/static/images/ico_refresh.gif differ diff --git a/static/images/index_page/18+.png b/static/images/index_page/18+.png new file mode 100644 index 0000000..c8db207 Binary files /dev/null and b/static/images/index_page/18+.png differ diff --git a/static/images/index_page/bottom_menu.png b/static/images/index_page/bottom_menu.png new file mode 100644 index 0000000..6fd1ac0 Binary files /dev/null and b/static/images/index_page/bottom_menu.png differ diff --git a/static/images/index_page/button.png b/static/images/index_page/button.png new file mode 100644 index 0000000..906657d Binary files /dev/null and b/static/images/index_page/button.png differ diff --git a/static/images/index_page/button_blank.gif b/static/images/index_page/button_blank.gif new file mode 100644 index 0000000..aca4454 Binary files /dev/null and b/static/images/index_page/button_blank.gif differ diff --git a/static/images/index_page/button_hover.png b/static/images/index_page/button_hover.png new file mode 100644 index 0000000..9611568 Binary files /dev/null and b/static/images/index_page/button_hover.png differ diff --git a/static/images/index_page/button_pressed.png b/static/images/index_page/button_pressed.png new file mode 100644 index 0000000..dd8b907 Binary files /dev/null and b/static/images/index_page/button_pressed.png differ diff --git a/static/images/index_page/login_background.png b/static/images/index_page/login_background.png new file mode 100644 index 0000000..30a5859 Binary files /dev/null and b/static/images/index_page/login_background.png differ diff --git a/static/images/index_page/logo.png b/static/images/index_page/logo.png new file mode 100644 index 0000000..6b63c59 Binary files /dev/null and b/static/images/index_page/logo.png differ diff --git a/static/images/index_page/top_button.png b/static/images/index_page/top_button.png new file mode 100644 index 0000000..12f8f01 Binary files /dev/null and b/static/images/index_page/top_button.png differ diff --git a/static/images/index_page/top_button_hover.png b/static/images/index_page/top_button_hover.png new file mode 100644 index 0000000..7cc912b Binary files /dev/null and b/static/images/index_page/top_button_hover.png differ diff --git a/static/images/index_page/top_button_pressed.png b/static/images/index_page/top_button_pressed.png new file mode 100644 index 0000000..6578862 Binary files /dev/null and b/static/images/index_page/top_button_pressed.png differ diff --git a/static/images/index_page/top_menu.png b/static/images/index_page/top_menu.png new file mode 100644 index 0000000..67abc28 Binary files /dev/null and b/static/images/index_page/top_menu.png differ diff --git a/static/images/inf.gif b/static/images/inf.gif new file mode 100644 index 0000000..fa49405 Binary files /dev/null and b/static/images/inf.gif differ diff --git a/static/images/inf.psd b/static/images/inf.psd new file mode 100644 index 0000000..0952517 Binary files /dev/null and b/static/images/inf.psd differ diff --git a/static/images/itm_ico.psd b/static/images/itm_ico.psd new file mode 100644 index 0000000..83f99e8 Binary files /dev/null and b/static/images/itm_ico.psd differ diff --git a/static/images/klav_transparent.gif b/static/images/klav_transparent.gif new file mode 100644 index 0000000..bde9b6a Binary files /dev/null and b/static/images/klav_transparent.gif differ diff --git a/static/images/lead1.gif b/static/images/lead1.gif new file mode 100644 index 0000000..97a7f2f Binary files /dev/null and b/static/images/lead1.gif differ diff --git a/static/images/links.gif b/static/images/links.gif new file mode 100644 index 0000000..17e9170 Binary files /dev/null and b/static/images/links.gif differ diff --git a/static/images/loader.gif b/static/images/loader.gif new file mode 100644 index 0000000..356b0c8 Binary files /dev/null and b/static/images/loader.gif differ diff --git a/static/images/lock.gif b/static/images/lock.gif new file mode 100644 index 0000000..9f1ee40 Binary files /dev/null and b/static/images/lock.gif differ diff --git a/static/images/lock.psd b/static/images/lock.psd new file mode 100644 index 0000000..be92944 Binary files /dev/null and b/static/images/lock.psd differ diff --git a/static/images/lock1.gif b/static/images/lock1.gif new file mode 100644 index 0000000..a0ca8c6 Binary files /dev/null and b/static/images/lock1.gif differ diff --git a/static/images/lock2.gif b/static/images/lock2.gif new file mode 100644 index 0000000..a0ca8c6 Binary files /dev/null and b/static/images/lock2.gif differ diff --git a/static/images/lock3.gif b/static/images/lock3.gif new file mode 100644 index 0000000..6007c95 Binary files /dev/null and b/static/images/lock3.gif differ diff --git a/static/images/lock4.gif b/static/images/lock4.gif new file mode 100644 index 0000000..ec1b287 Binary files /dev/null and b/static/images/lock4.gif differ diff --git a/static/images/logo/290x187.png b/static/images/logo/290x187.png new file mode 100644 index 0000000..6239506 Binary files /dev/null and b/static/images/logo/290x187.png differ diff --git a/static/images/logome1.png b/static/images/logome1.png new file mode 100644 index 0000000..daf5947 Binary files /dev/null and b/static/images/logome1.png differ diff --git a/static/images/logome1.psd b/static/images/logome1.psd new file mode 100644 index 0000000..2bcc1af Binary files /dev/null and b/static/images/logome1.psd differ diff --git a/static/images/looses.gif b/static/images/looses.gif new file mode 100644 index 0000000..afe6c17 Binary files /dev/null and b/static/images/looses.gif differ diff --git a/static/images/mail1.gif b/static/images/mail1.gif new file mode 100644 index 0000000..9976e3c Binary files /dev/null and b/static/images/mail1.gif differ diff --git a/static/images/mail2.gif b/static/images/mail2.gif new file mode 100644 index 0000000..7e386b4 Binary files /dev/null and b/static/images/mail2.gif differ diff --git a/static/images/minus.gif b/static/images/minus.gif new file mode 100644 index 0000000..13ff187 Binary files /dev/null and b/static/images/minus.gif differ diff --git a/static/images/mlch.gif b/static/images/mlch.gif new file mode 100644 index 0000000..e10570a Binary files /dev/null and b/static/images/mlch.gif differ diff --git a/static/images/new_msg100.png b/static/images/new_msg100.png new file mode 100644 index 0000000..687300c Binary files /dev/null and b/static/images/new_msg100.png differ diff --git a/static/images/offline.gif b/static/images/offline.gif new file mode 100644 index 0000000..d25db82 Binary files /dev/null and b/static/images/offline.gif differ diff --git a/static/images/oico1.png b/static/images/oico1.png new file mode 100644 index 0000000..6a7ec53 Binary files /dev/null and b/static/images/oico1.png differ diff --git a/static/images/oico2.png b/static/images/oico2.png new file mode 100644 index 0000000..d0b2f0b Binary files /dev/null and b/static/images/oico2.png differ diff --git a/static/images/oico3.png b/static/images/oico3.png new file mode 100644 index 0000000..3e30476 Binary files /dev/null and b/static/images/oico3.png differ diff --git a/static/images/oico4.png b/static/images/oico4.png new file mode 100644 index 0000000..b29d13e Binary files /dev/null and b/static/images/oico4.png differ diff --git a/static/images/plus.gif b/static/images/plus.gif new file mode 100644 index 0000000..4725ba4 Binary files /dev/null and b/static/images/plus.gif differ diff --git a/static/images/podarok.gif b/static/images/podarok.gif new file mode 100644 index 0000000..4d424b4 Binary files /dev/null and b/static/images/podarok.gif differ diff --git a/static/images/ready.gif b/static/images/ready.gif new file mode 100644 index 0000000..c1a754e Binary files /dev/null and b/static/images/ready.gif differ diff --git a/static/images/register/18.png b/static/images/register/18.png new file mode 100644 index 0000000..0bbe8c5 Binary files /dev/null and b/static/images/register/18.png differ diff --git a/static/images/register/background.png b/static/images/register/background.png new file mode 100644 index 0000000..7845822 Binary files /dev/null and b/static/images/register/background.png differ diff --git a/static/images/register/border.png b/static/images/register/border.png new file mode 100644 index 0000000..c2dabae Binary files /dev/null and b/static/images/register/border.png differ diff --git a/static/images/register/bottom_menu.png b/static/images/register/bottom_menu.png new file mode 100644 index 0000000..e1f782f Binary files /dev/null and b/static/images/register/bottom_menu.png differ diff --git a/static/images/register/button.png b/static/images/register/button.png new file mode 100644 index 0000000..db8b2a5 Binary files /dev/null and b/static/images/register/button.png differ diff --git a/static/images/register/button_hover.png b/static/images/register/button_hover.png new file mode 100644 index 0000000..5a22dbc Binary files /dev/null and b/static/images/register/button_hover.png differ diff --git a/static/images/register/button_pressed.png b/static/images/register/button_pressed.png new file mode 100644 index 0000000..2758dfa Binary files /dev/null and b/static/images/register/button_pressed.png differ diff --git a/static/images/register/gear.png b/static/images/register/gear.png new file mode 100644 index 0000000..a92f696 Binary files /dev/null and b/static/images/register/gear.png differ diff --git a/static/images/sleep2.gif b/static/images/sleep2.gif new file mode 100644 index 0000000..d491bec Binary files /dev/null and b/static/images/sleep2.gif differ diff --git a/static/images/sleeps0.gif b/static/images/sleeps0.gif new file mode 100644 index 0000000..e10570a Binary files /dev/null and b/static/images/sleeps0.gif differ diff --git a/static/images/stack.gif b/static/images/stack.gif new file mode 100644 index 0000000..fc70a54 Binary files /dev/null and b/static/images/stack.gif differ diff --git a/static/images/travma11.gif b/static/images/travma11.gif new file mode 100644 index 0000000..5391183 Binary files /dev/null and b/static/images/travma11.gif differ diff --git a/static/images/travma2.gif b/static/images/travma2.gif new file mode 100644 index 0000000..0226e02 Binary files /dev/null and b/static/images/travma2.gif differ diff --git a/static/images/undrhpmp.jpg b/static/images/undrhpmp.jpg new file mode 100644 index 0000000..1be156b Binary files /dev/null and b/static/images/undrhpmp.jpg differ diff --git a/static/images/unstack.gif b/static/images/unstack.gif new file mode 100644 index 0000000..f51914c Binary files /dev/null and b/static/images/unstack.gif differ diff --git a/static/images/up.gif b/static/images/up.gif new file mode 100644 index 0000000..d1ebd7a Binary files /dev/null and b/static/images/up.gif differ diff --git a/static/images/vip2.gif b/static/images/vip2.gif new file mode 100644 index 0000000..e25f56e Binary files /dev/null and b/static/images/vip2.gif differ diff --git a/static/images/wins.gif b/static/images/wins.gif new file mode 100644 index 0000000..7626518 Binary files /dev/null and b/static/images/wins.gif differ diff --git a/static/scripts/ZeroClipboard.js b/static/scripts/ZeroClipboard.js new file mode 100644 index 0000000..150d57f --- /dev/null +++ b/static/scripts/ZeroClipboard.js @@ -0,0 +1,361 @@ +/*! + * zeroclipboard + * The Zero Clipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie, and a JavaScript interface. + * Copyright 2012 Jon Rohan, James M. Greene, . + * Released under the MIT license + * http://jonrohan.github.com/ZeroClipboard/ + * v1.1.7 + */(function() { + "use strict"; + var _getStyle = function(el, prop) { + var y = el.style[prop]; + if (el.currentStyle) y = el.currentStyle[prop]; else if (window.getComputedStyle) y = document.defaultView.getComputedStyle(el, null).getPropertyValue(prop); + if (y == "auto" && prop == "cursor") { + var possiblePointers = [ "a" ]; + for (var i = 0; i < possiblePointers.length; i++) { + if (el.tagName.toLowerCase() == possiblePointers[i]) { + return "pointer"; + } + } + } + return y; + }; + var _elementMouseOver = function(event) { + if (!ZeroClipboard.prototype._singleton) return; + if (!event) { + event = window.event; + } + var target; + if (this !== window) { + target = this; + } else if (event.target) { + target = event.target; + } else if (event.srcElement) { + target = event.srcElement; + } + ZeroClipboard.prototype._singleton.setCurrent(target); + }; + var _addEventHandler = function(element, method, func) { + if (element.addEventListener) { + element.addEventListener(method, func, false); + } else if (element.attachEvent) { + element.attachEvent("on" + method, func); + } + }; + var _removeEventHandler = function(element, method, func) { + if (element.removeEventListener) { + element.removeEventListener(method, func, false); + } else if (element.detachEvent) { + element.detachEvent("on" + method, func); + } + }; + var _addClass = function(element, value) { + if (element.addClass) { + element.addClass(value); + return element; + } + if (value && typeof value === "string") { + var classNames = (value || "").split(/\s+/); + if (element.nodeType === 1) { + if (!element.className) { + element.className = value; + } else { + var className = " " + element.className + " ", setClass = element.className; + for (var c = 0, cl = classNames.length; c < cl; c++) { + if (className.indexOf(" " + classNames[c] + " ") < 0) { + setClass += " " + classNames[c]; + } + } + element.className = setClass.replace(/^\s+|\s+$/g, ""); + } + } + } + return element; + }; + var _removeClass = function(element, value) { + if (element.removeClass) { + element.removeClass(value); + return element; + } + if (value && typeof value === "string" || value === undefined) { + var classNames = (value || "").split(/\s+/); + if (element.nodeType === 1 && element.className) { + if (value) { + var className = (" " + element.className + " ").replace(/[\n\t]/g, " "); + for (var c = 0, cl = classNames.length; c < cl; c++) { + className = className.replace(" " + classNames[c] + " ", " "); + } + element.className = className.replace(/^\s+|\s+$/g, ""); + } else { + element.className = ""; + } + } + } + return element; + }; + var _getDOMObjectPosition = function(obj) { + var info = { + left: 0, + top: 0, + width: obj.width || obj.offsetWidth || 0, + height: obj.height || obj.offsetHeight || 0, + zIndex: 9999999 + }; + var zi = _getStyle(obj, "zIndex"); + if (zi && zi != "auto") { + info.zIndex = parseInt(zi, 10); + } + + while (obj) { + var borderLeftWidth = parseInt(_getStyle(obj, "borderLeftWidth"), 10); + var borderTopWidth = parseInt(_getStyle(obj, "borderTopWidth"), 10); + info.left += isNaN(obj.offsetLeft) ? 0 : obj.offsetLeft; + info.left += isNaN(borderLeftWidth) ? 0 : borderLeftWidth; + info.top += isNaN(obj.offsetTop) ? 0 : obj.offsetTop; + info.top += isNaN(borderTopWidth) ? 0 : borderTopWidth; + obj = obj.offsetParent; + } + + return info; + }; + var _noCache = function(path) { + return (path.indexOf("?") >= 0 ? "&" : "?") + "nocache=" + (new Date).getTime(); + }; + var _vars = function(options) { + var str = []; + if (options.trustedDomains) { + if (typeof options.trustedDomains === "string") { + str.push("trustedDomain=" + options.trustedDomains); + } else { + str.push("trustedDomain=" + options.trustedDomains.join(",")); + } + } + return str.join("&"); + }; + var _inArray = function(elem, array) { + if (array.indexOf) { + return array.indexOf(elem); + } + for (var i = 0, length = array.length; i < length; i++) { + if (array[i] === elem) { + return i; + } + } + return -1; + }; + var _prepGlue = function(elements) { + if (typeof elements === "string") throw new TypeError("ZeroClipboard doesn't accept query strings."); + if (!elements.length) return [ elements ]; + return elements; + }; + var ZeroClipboard = function(elements, options) { + if (elements) (ZeroClipboard.prototype._singleton || this).glue(elements); + if (ZeroClipboard.prototype._singleton) return ZeroClipboard.prototype._singleton; + ZeroClipboard.prototype._singleton = this; + this.options = {}; + for (var kd in _defaults) this.options[kd] = _defaults[kd]; + for (var ko in options) this.options[ko] = options[ko]; + this.handlers = {}; + if (ZeroClipboard.detectFlashSupport()) _bridge(); + }; + var currentElement, gluedElements = []; + ZeroClipboard.prototype.setCurrent = function(element) { + currentElement = element; + this.reposition(); + if (element.getAttribute("title")) { + this.setTitle(element.getAttribute("title")); + } + this.setHandCursor(_getStyle(element, "cursor") == "pointer"); + }; + ZeroClipboard.prototype.setText = function(newText) { + if (newText && newText !== "") { + this.options.text = newText; + if (this.ready()) this.flashBridge.setText(newText); + } + }; + ZeroClipboard.prototype.setTitle = function(newTitle) { + if (newTitle && newTitle !== "") this.htmlBridge.setAttribute("title", newTitle); + }; + ZeroClipboard.prototype.setSize = function(width, height) { + if (this.ready()) this.flashBridge.setSize(width, height); + }; + ZeroClipboard.prototype.setHandCursor = function(enabled) { + if (this.ready()) this.flashBridge.setHandCursor(enabled); + }; + ZeroClipboard.version = "1.1.7"; + var _defaults = { + moviePath: "ZeroClipboard.swf", + trustedDomains: null, + text: null, + hoverClass: "zeroclipboard-is-hover", + activeClass: "zeroclipboard-is-active", + allowScriptAccess: "sameDomain" + }; + ZeroClipboard.setDefaults = function(options) { + for (var ko in options) _defaults[ko] = options[ko]; + }; + ZeroClipboard.destroy = function() { + ZeroClipboard.prototype._singleton.unglue(gluedElements); + var bridge = ZeroClipboard.prototype._singleton.htmlBridge; + bridge.parentNode.removeChild(bridge); + delete ZeroClipboard.prototype._singleton; + }; + ZeroClipboard.detectFlashSupport = function() { + var hasFlash = false; + try { + if (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) { + hasFlash = true; + } + } catch (error) { + if (navigator.mimeTypes["application/x-shockwave-flash"]) { + hasFlash = true; + } + } + return hasFlash; + }; + var _bridge = function() { + var client = ZeroClipboard.prototype._singleton; + var container = document.getElementById("global-zeroclipboard-html-bridge"); + if (!container) { + var html = ' '; + container = document.createElement("div"); + container.id = "global-zeroclipboard-html-bridge"; + container.setAttribute("class", "global-zeroclipboard-container"); + container.setAttribute("data-clipboard-ready", false); + container.style.position = "absolute"; + container.style.left = "-9999px"; + container.style.top = "-9999px"; + container.style.width = "15px"; + container.style.height = "15px"; + container.style.zIndex = "9999"; + container.innerHTML = html; + document.body.appendChild(container); + } + client.htmlBridge = container; + client.flashBridge = document["global-zeroclipboard-flash-bridge"] || container.children[0].lastElementChild; + }; + ZeroClipboard.prototype.resetBridge = function() { + this.htmlBridge.style.left = "-9999px"; + this.htmlBridge.style.top = "-9999px"; + this.htmlBridge.removeAttribute("title"); + this.htmlBridge.removeAttribute("data-clipboard-text"); + _removeClass(currentElement, this.options.activeClass); + currentElement = null; + this.options.text = null; + }; + ZeroClipboard.prototype.ready = function() { + var ready = this.htmlBridge.getAttribute("data-clipboard-ready"); + return ready === "true" || ready === true; + }; + ZeroClipboard.prototype.reposition = function() { + if (!currentElement) return false; + var pos = _getDOMObjectPosition(currentElement); + this.htmlBridge.style.top = pos.top + "px"; + this.htmlBridge.style.left = pos.left + "px"; + this.htmlBridge.style.width = pos.width + "px"; + this.htmlBridge.style.height = pos.height + "px"; + this.htmlBridge.style.zIndex = pos.zIndex + 1; + this.setSize(pos.width, pos.height); + }; + ZeroClipboard.dispatch = function(eventName, args) { + ZeroClipboard.prototype._singleton.receiveEvent(eventName, args); + }; + ZeroClipboard.prototype.on = function(eventName, func) { + var events = eventName.toString().split(/\s/g); + for (var i = 0; i < events.length; i++) { + eventName = events[i].toLowerCase().replace(/^on/, ""); + if (!this.handlers[eventName]) this.handlers[eventName] = func; + } + if (this.handlers.noflash && !ZeroClipboard.detectFlashSupport()) { + this.receiveEvent("onNoFlash", null); + } + }; + ZeroClipboard.prototype.addEventListener = ZeroClipboard.prototype.on; + ZeroClipboard.prototype.off = function(eventName, func) { + var events = eventName.toString().split(/\s/g); + for (var i = 0; i < events.length; i++) { + eventName = events[i].toLowerCase().replace(/^on/, ""); + for (var event in this.handlers) { + if (event === eventName && this.handlers[event] === func) { + delete this.handlers[event]; + } + } + } + }; + ZeroClipboard.prototype.removeEventListener = ZeroClipboard.prototype.off; + ZeroClipboard.prototype.receiveEvent = function(eventName, args) { + eventName = eventName.toString().toLowerCase().replace(/^on/, ""); + var element = currentElement; + switch (eventName) { + case "load": + if (args && parseFloat(args.flashVersion.replace(",", ".").replace(/[^0-9\.]/gi, "")) < 10) { + this.receiveEvent("onWrongFlash", { + flashVersion: args.flashVersion + }); + return; + } + this.htmlBridge.setAttribute("data-clipboard-ready", true); + break; + case "mouseover": + _addClass(element, this.options.hoverClass); + break; + case "mouseout": + _removeClass(element, this.options.hoverClass); + this.resetBridge(); + break; + case "mousedown": + _addClass(element, this.options.activeClass); + break; + case "mouseup": + _removeClass(element, this.options.activeClass); + break; + case "datarequested": + var targetId = element.getAttribute("data-clipboard-target"), targetEl = !targetId ? null : document.getElementById(targetId); + if (targetEl) { + var textContent = targetEl.value || targetEl.textContent || targetEl.innerText; + if (textContent) this.setText(textContent); + } else { + var defaultText = element.getAttribute("data-clipboard-text"); + if (defaultText) this.setText(defaultText); + } + break; + case "complete": + this.options.text = null; + break; + } + if (this.handlers[eventName]) { + var func = this.handlers[eventName]; + if (typeof func == "function") { + func.call(element, this, args); + } else if (typeof func == "string") { + window[func].call(element, this, args); + } + } + }; + ZeroClipboard.prototype.glue = function(elements) { + elements = _prepGlue(elements); + for (var i = 0; i < elements.length; i++) { + if (_inArray(elements[i], gluedElements) == -1) { + gluedElements.push(elements[i]); + _addEventHandler(elements[i], "mouseover", _elementMouseOver); + } + } + }; + ZeroClipboard.prototype.unglue = function(elements) { + elements = _prepGlue(elements); + for (var i = 0; i < elements.length; i++) { + _removeEventHandler(elements[i], "mouseover", _elementMouseOver); + var arrayIndex = _inArray(elements[i], gluedElements); + if (arrayIndex != -1) gluedElements.splice(arrayIndex, 1); + } + }; + if (typeof module !== "undefined") { + module.exports = ZeroClipboard; + } else if (typeof define === "function" && define.amd) { + define(function() { + return ZeroClipboard; + }); + } else { + window.ZeroClipboard = ZeroClipboard; + } +})(); \ No newline at end of file diff --git a/static/scripts/base.js b/static/scripts/base.js new file mode 100644 index 0000000..232d990 --- /dev/null +++ b/static/scripts/base.js @@ -0,0 +1,75 @@ +var base = { + + /* Конфигурации */ + config: { + 'type':'none' + }, + + /* Хранилище данных */ + init:function( p, v) { + if( v == null ) { + delete this.config[p]; + }else{ + this.config[p] = v; + } + }, + + /* Хранилище данных , NONE */ + storage: { }, + + /* Получение данных */ + out:function( q ) { + var obj = false; + if( this.config['type'] == 'none' ) { + if( !this.storage[q] ) { + obj = false; + }else{ + obj = this.storage[q]; + } + }else if( this.config['type'] == 'flash' ) { + + }else if( this.config['type'] == 'html5' ) { + + } + return obj; + }, + + /* Сохранение данных */ + inc:function( q, obj , type ) { + if( this.config['type'] == 'none' ) { + if( type != true ) { + obj = $.parseJSON( obj ); + } + if( !this.storage[q] ) { + //Сохраняем + this.storage[q] = obj; + }else{ + //Перезаписываем + this.storage[q] = obj; + } + }else if( this.config['type'] == 'flash' ) { + + }else if( this.config['type'] == 'html5' ) { + + } + }, + + /* Удаление данных */ + deleted:function( q ) { + if( this.config['type'] == 'none' ) { + if( !this.storage[q] ) { + //Удаляем + + }else{ + //Перезаписываем + delete this.storage[q]; + } + + }else if( this.config['type'] == 'flash' ) { + + }else if( this.config['type'] == 'html5' ) { + + } + } + +}; \ No newline at end of file diff --git a/static/scripts/buttons-engine.js b/static/scripts/buttons-engine.js new file mode 100644 index 0000000..eb34008 --- /dev/null +++ b/static/scripts/buttons-engine.js @@ -0,0 +1,496 @@ +var cfg = { + 'host':'new.capitalcity.old-dark.ru', + 'img':'new.capitalcity.old-dark.ru/static/' +}; + +var GameEngine = { + + start:function() { + ReLine.start(); + ReLine.rebase(); + + chat.refleshChat(false); + chat.refleshSmiles(); + + this.actionSecondStart(); + + this.timeStempReflesh(); + + /* онлайн меню */ + this.onlinebtn('Локация'); + this.onlinebtn('Друзья'); + this.onlinebtn('Модераторы'); + this.onlinebtn('Дилеры'); + + //mod.start(); + + $('#preloader').remove(); + }, + hasFlashVar:'none', + hasFlash:function() { + if(this.hasFlashVar == 'none') { + this.hasFlashVar = (typeof navigator.plugins == "undefined" || navigator.plugins.length == 0) ? !!(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) : navigator.plugins["Shockwave Flash"]; + } + return this.hasFlashVar; + }, + ch10:function(v) { + if( v == 'checked' ) { + return 1; + }else{ + return 0; + } + }, + timeStempReflesh:function() { + + if( this.hasFlash() ) { + $('#timeStemp').html( + ''+ + ''+ + ''+ + ''+ + '' + ); + }else{ + $('#timeStemp').html('').css('display','none'); + } + }, + onlinebtnsel:function(id) { + var i = 1; + while(i <= this.onbtn_id) { + $('#onbtn_'+i).removeClass('onbtn_1'); + $('#onbtn_'+i).removeClass('onbtn_2'); + $('#onbtn_'+i).removeClass('onbtn_3'); + $('#onbtn_'+i).addClass('onbtn_2'); + i++; + } + $('#onbtn_'+id).removeClass('onbtn_2'); + $('#onbtn_'+id).addClass('onbtn_1'); + }, + onbtn_id:0, + onlinebtn:function(title) { + this.onbtn_id++; + var stl = 1; + if(this.onbtn_id > 1) { + stl = 2; + } + var html = ''+ + '' + + ''; + $('#omnav').html( $('#omnav').html() + html ); + }, + actSec:[false, 0, 'stop', 0, {}], + addAction:function( name, value, timeDelete ) { + this.actSec[4][name] = value; + + if(timeDelete > 0) { + setTimeout(function(){ GameEngine.deleteAction(name); },1000*timeDelete); + } + }, + deleteAction:function( name ) { + delete this.actSec[4][name]; + }, + tnln:function(n,t) { + if(t == true) { + return ''; + }else{ + return '' + n + ''; + } + }, + timeNowLook:function() { + var html = '', rstime = '', rsmenu = '', rsh = '', rsm = '', rss = ''; + + rsh = this.data('H'); + if(rsh < 10) { + //rsh = [0,rsh]; + } + + rsm = this.data('i'); + if(rsm < 10) { + //rsm = [0,rsm]; + } + + rss = this.data('s'); + if(rss < 10) { + //rss = [0,rss]; + } + + rsh = this.tnln(rsh[0],true) + '' + this.tnln(rsh[1],true); + rsm = this.tnln(rsm[0],true) + '' + this.tnln(rsm[1],true); + rss = this.tnln(rss[0],false) + '' + this.tnln(rss[1],false); + + rstime = '' + rsh + '' + rsm + '' + rss + ''; + + rsmenu = '
        server time
        '; + + html = ''+ + ''+ + ''+ + ''+ + '
        '+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
        '+ + rstime+ + '
        '+ + rsmenu+ + '
        '+ + '
        '; + $('#timeNowLook').html( html ); + setTimeout('GameEngine.timeNowLook()',500); + }, + actSecTimer:null, + actionSecondStart:function() { + //window.ref = setInterval(function(){ GameEngine.actionSecond('second'); },1000); + /*$(window).everyTime(1000, 'timerAction', function(i) { + GameEngine.actionSecond('second'); + });*/ + }, + actionSecond:function(type) { + //clearInterval(window.ref); + if( type != 'stop' && type != 'pause' ) { + + //Выполняем действия каждую секунду + var i = 0; + var widthRange = {'test':'test2','test3':4}; //массив + for (var key in this.actSec[4]) { + if (key === 'length' || !this.actSec[4].hasOwnProperty(key)) continue; + + var value = this.actSec[4][key]; + value(); + //eval( value ); + + } + + delete key; + delete value; + + } + if( ( type == 'stop' || type == 'start' || type == 'pause' ) && this.actSec[2] != type ) { + this.actSec[2] = type; + } + //this.actionSecondStart(); + }, + error:function(v) { + /* + Функция вывода ошибок + */ + alert(v); + }, + c:function(v) { + /* + мини-вариант функции this.console + */ + this.console(v); + }, + console:function(v) { + /* + Добавление данных в консоль + */ + date = new Date(); + console.log("["+date.getHours()+':'+date.getMinutes()+':'+date.getSeconds()+"] "+v); + }, + fm:function( v , e) { + + if (!e) e = window.event; + + if( v == 'onclick' ) { + + if( chat.context_open == true ) { + chat.contextmenu_close(); + } + + if( chat.context_global_open == true ) { + chat.contextmenu_global_close(); + } + + }else if( v == 'contextmenu' ) { + + if( chat.context_open == true ) { + //chat.contextmenu_close(); + } + if( chat.context_global_open == true ) { + //chat.contextmenu_global_close(); + } + + }else if( v == 'contextmenu_main' || v == 'contextmenu_chat' || v == 'contextmenu_online' ) { + v = v.replace('contextmenu_',''); + chat.contextMenuGlobal( v , e); + } + }, + merge_arrays:function(arr) { + var merged_array = arr; + for (var i = 1; i < arguments.length; i++) { + merged_array = merged_array.concat(arguments[i]); + } + return merged_array; + }, + post_date:['',{},0], + post:function(date, only) { + //Какое-то обновление информации :) + if( only == null ) { + var arr = [ + '', + $.extend(date[1],this.post_date[1]), + function(data) { + if(typeof(date[2])=='string') { + //eval(date[2]+'(data)'); + eval('GameEngine.post_back(data,"'+date[2]+'",false)'); + if( GameEngine.post_date[2] != 0 ) { + //eval(GameEngine.post_date[2]+'(data)'); + eval('GameEngine.post_back(data,"'+GameEngine.post_date[2]+'",false)'); + } + }else{ + //eval(date[2][0]); + eval('GameEngine.post_back(data,\''+date[2][0]+'\',true)'); + } + } + ]; + }else{ + var arr = ['',date[1],date[2]]; + } + + //Параметры версий + if( !arr[1]['version'] ) { + arr[1]['version'] = this.version(); + }else if( arr[1]['version'] == 'delete' ) { + delete arr[1]['version']; + } + + $.post(date[0],arr[1],arr[2]); + this.post_date = ['',{},0]; + }, + core:function(data) { + //Обработка событий ядра + }, + post_back:function(data,fx,cl) { + + if( typeof(data) == 'string' ) { + da = $.parseJSON( data ); + //Проводим операции + if( da['core'] != undefined) { + this.core(da['core']); + if( da['core']['back_arr'] == true ) { + //Возвращаем массив + data = '[' + this.to_array( da ) + ']'; + } + } + delete da; + } + if( cl == false ) { + eval(fx+'(data)'); + }else{ + eval(fx); + } + }, + to_array:function (obj) { + var arr = []; + + var i = 0; + while( i > -1 ) { + if(obj[i] == undefined) { + i = -2; + }else{ + //arr += '['+obj[i]+'],'; + if(typeof(obj[i]) == 'number') { + arr[i] = obj[i]; + }else{ + arr[i] = '['+obj[i]+']'; + } + } + i++; + } + + //arr = arr.substring(0, arr.length - 1); + + return arr; + }, + trim:function(s) { + return this.rtrim(this.ltrim(s)); + }, + ltrim:function(s) { + return s.replace(/^\s+/, ''); + }, + rtrim:function(s) { + return s.replace(/\s+$/, ''); + }, + str_replace:function ( search, replace, subject ) { + if(!(replace instanceof Array)){ + replace=new Array(replace); + if(search instanceof Array){ + while(search.length>replace.length){ + replace[replace.length]=replace[0]; + } + } + } + if(!(search instanceof Array))search=new Array(search); + while(search.length>replace.length){ + replace[replace.length]=''; + } + if(subject instanceof Array){ + for(k in subject){ + subject[k]=str_replace(search,replace,subject[k]); + } + return subject; + } + for(var k=0; k-1){ + subject = subject.replace(search[k], replace[k]); + i = subject.indexOf(search[k],i); + } + } + return subject; + }, + timeSdvig:0, + timeReson:0, + timeSd:function( time ) { + this.timeSdvig = this.timenow(); + this.timeReson = time; + }, + timenow:function(){ + //return ( parseInt(new Date().getTime()/1000)); + return parseInt( this.timeReson + ( parseInt(new Date().getTime()/1000) - this.timeSdvig ) ); + }, + px:function( v ) { + return parseInt( ( v ).replace( "px", "" ) ); + }, + divxyBanned:function( obj ) { + //Блокировка элемента, если он выходит за пределы окна обзора + var obj = $(obj); + var bnpx = [25,33,3,1]; + //var win = this.getPageSize(); + + //По Y + if( obj.height() + this.px( obj.css('top') ) + bnpx[1] > $('#fm').height() ) { + obj.css({'top':( $('#fm').height() - bnpx[1] - obj.height() )+'px'}); + }else if( this.px( obj.css('top') ) - bnpx[0] < 0 ) { + obj.css({'top':( bnpx[0] )+'px'}); + } + + //По X + if( obj.width() + this.px( obj.css('left') ) + bnpx[2] > $('#fm').width() ) { + obj.css({'left':( $('#fm').width() - bnpx[2] - obj.width() )+'px'}); + }else if( this.px( obj.css('left') ) - bnpx[3] < 0 ) { + obj.css({'left':( bnpx[3] )+'px'}); + } + }, + getPageSize:function(){ + var xScroll, yScroll; + + if (window.innerHeight && window.scrollMaxY) { + xScroll = document.body.scrollWidth; + yScroll = window.innerHeight + window.scrollMaxY; + } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac + xScroll = document.body.scrollWidth; + yScroll = document.body.scrollHeight; + } else if (document.documentElement && document.documentElement.scrollHeight > document.documentElement.offsetHeight){ // Explorer 6 strict mode + xScroll = document.documentElement.scrollWidth; + yScroll = document.documentElement.scrollHeight; + } else { // Explorer Mac...would also work in Mozilla and Safari + xScroll = document.body.offsetWidth; + yScroll = document.body.offsetHeight; + } + + var windowWidth, windowHeight; + if (self.innerHeight) { // all except Explorer + windowWidth = self.innerWidth; + windowHeight = self.innerHeight; + } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode + windowWidth = document.documentElement.clientWidth; + windowHeight = document.documentElement.clientHeight; + } else if (document.body) { // other Explorers + windowWidth = document.body.clientWidth; + windowHeight = document.body.clientHeight; + } + + // for small pages with total height less then height of the viewport + if(yScroll < windowHeight){ + pageHeight = windowHeight; + } else { + pageHeight = yScroll; + } + + // for small pages with total width less then width of the viewport + if(xScroll < windowWidth){ + pageWidth = windowWidth; + } else { + pageWidth = xScroll; + } + + return [pageWidth,pageHeight,windowWidth,windowHeight]; + }, + data:function(format,UNIX_timestamp){ + if(UNIX_timestamp == null) { + UNIX_timestamp = this.timenow(); + } + var a = new Date(UNIX_timestamp*1000); + var months = ['Январь','Февраль','Март','Апрель','Май','Июнь','Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь']; + var year = a.getFullYear(); + var month = a.getMonth(); + var date = a.getDay(); + var hour = a.getHours(); + var min = a.getMinutes(); + var sec = a.getSeconds(); + var time = format; + month += 1; + if(date < 10) { + date = '0'+date; + } + if(month < 10) { + month = '0'+month; + } + if(hour < 10) { + hour = '0'+hour; + } + if(min < 10) { + min = '0'+min; + } + if(sec < 10) { + sec = '0'+sec; + } + time = this.str_replace('d',''+date,time); + time = this.str_replace('m',''+month,time); + time = this.str_replace('Y',''+year,time); + time = this.str_replace('H',''+hour,time); + time = this.str_replace('i',''+min,time); + time = this.str_replace('s',''+sec,time); + return time; + }, + loginLook:function(id,login,level,clan,align,type) { + var html = ''; + + if( type == 1 ) { + html = '' + login + ''; + }else if( type == 2 ) { + html = '' + login + ''; + } + + html += ' [' + level + ']'; + html += ''; + + return html; + } +}; + +function showtable(id) { + hidesel(id); + hidemenu(0); + document.getElementById('menu'+id).style.display = ''; +} + +function hidemenu (time) { + for (var i=1;i<=4;i++) { + document.getElementById('menu'+i).style.display = 'none'; + } +} + +function hidesel (id) { + for (var i=1;i<=5;i++) { + if (i!=id) {document.getElementById('el'+i).style.backgroundColor='';document.getElementById('el'+i).style.color='';} + } +} \ No newline at end of file diff --git a/static/scripts/buttons-reline.js b/static/scripts/buttons-reline.js new file mode 100644 index 0000000..b38583f --- /dev/null +++ b/static/scripts/buttons-reline.js @@ -0,0 +1,256 @@ + var ReLine = { + v:[0,0], + start:function() { + + $('#elements').html('
        '); + + $('#hline').bind('mousedown',function() { + top.ReLine.startHline(); + }); + + $('#vline').bind('mousedown',function() { + top.ReLine.startVline(); + }); + + $('#bline').mouseup(function() { + top.ReLine.stopVline(); + top.ReLine.stopHline(); + }); + + $(window).resize(function(){top.ReLine.resetHVLine()}); + + this.resetHVLine(); + }, + resetHVLine:function(e) { + $('#hline').css({ + 'top':($('#chat_online').offset().top)+'px' + }); + $('#vline').css({ + 'left':($('#online').offset().left)+'px', + 'top':($('#online').offset().top)+'px', + 'height':($('#online').height())+'px' + }); + $('#fm_main').height( ($(window).height()-$('#online').height()-55-18) + 'px' ); + $('#main').height( ($(window).height()-$('#online').height()-55-18) + 'px' ); + }, + goHVLine:function(e) { + if(this.v[0] == 1) { + chat.testScrollMessages(); + //hline + var hp = Math.floor(($(window).height()-$('#hline').offset().top+25)/$(window).height()*100); + + $('#fm_main').height('0%'); + $('#fmain').height('0%'); + $('#fm_chat_online').height('0%'); + $('#chat_list').height('1px'); + $('#canals').height('1px'); + $('#online_list').height('1px'); + if(hp > 97) { + if($('#fm_main').css('display') != 'none') { + $('#fm_main').css({'display':'none'}); + $('#fm_main_l').css({'display':'none'}); + $('#fm_main_r').css({'display':'none'}); + } + if($('#chat').css('display') == 'none'){ + $('#chat').css({'display':''}); + $('#online').css({'display':''}); + $('#vline').css({'display':''}); + $('#send_btns_h').css({'display':''}); + $('#send_btns_h2').css({'display':'none'}); + } + hp = 100; + }else if($('#fm_main').css('display') == 'none'){ + $('#fm_main').css({'display':''}); + $('#fm_main_l').css({'display':''}); + $('#fm_main_r').css({'display':''}); + } if(hp < 8) { + hp = 8; + if($('#chat').css('display') != 'none') { + $('#chat').css({'display':'none'}); + $('#send_btns_h').css({'display':'none'}); + $('#send_btns_h2').css({'display':''}); + $('#online').css({'display':'none'}); + $('#vline').css({'display':'none'}); + GameEngine.timeStempReflesh(); + } + if($('#fm_main').css('display') == 'none'){ + $('#fm_main').css({'display':'none'}); + $('#fm_main_l').css({'display':'none'}); + $('#fm_main_r').css({'display':'none'}); + } + $('#fm_chat_online').height('1px'); + }else if($('#chat').css('display') == 'none'){ + $('#chat').css({'display':''}); + $('#online').css({'display':''}); + $('#vline').css({'display':''}); + $('#send_btns_h').css({'display':''}); + $('#send_btns_h2').css({'display':'none'}); + } + + if($('#chat').css('display') != 'none'){ + $('#fm_main').height((100-hp)+'%'); + $('#fmain').height(($('#fm_main').height()-13)+'px'); + }else{ + $('#fm_main').height((100-hp)+'%'); + $('#fmain').height(($('#fm_main').height()+13)+'px'); + } + + if($('#chat').css('display') != 'none'){ + if($.browser.msie) { + //Этот неловкий момент РєРѕРіРґР° понимаешь что пользователь СЃРёРґРёС‚ СЃ IE + var ie_h = 0; + if($('#fm_main').css('display') == 'none'){ + ie_h = 16; + } + $('#fm_chat_online').height(( (100-($('#fm_main').height()+55+ie_h)/$(window).height()*100) )+'%'); + }else{ + $('#fm_chat_online').height(( Math.ceil(100-($('#fm_main').height()+55+4)/$(window).height()*100) )+'%'); + } + $('#online_list').height(($('#fm_chat_online').height()-0)+'px'); + $('#chat_list').height(($('#fm_chat_online').height()-0)+'px'); + } + delete hp; + } + + if(this.v[1] == 1) { + //vline + var vp = Math.floor(($('#chat_online').width()-$('#vline').offset().left+15)/$('#chat_online').width()*100); + if(vp < 99 && vp > 1) { + $('#online').width('0%'); + $('#chat').width('0%'); + $('#chat_list').width('1px'); + $('#online_list').width('1px'); + $('#chat').width((100-vp)+'%'); + $('#online_list').width(($('#online').width()-0)+'px'); + $('#chat_list').width(($('#chat').width()-0)+'px'); + } + delete vp; + } + + this.resetHVLine(); + }, + startHline:function() { + if(this.v[0] == 0) { + //включаем подставной блок + $('#bline').css({'display':'block'}); + $('#bline').unbind('mousemove'); + $('#bline').mousemove(function(e) { + $('#hline').css({ + 'top':(e.pageY - $('#bline').offset().top)+'px' + }); + top.ReLine.goHVLine(e); + }); + this.v[0] = 1; + }else{ + this.stopHline(); + } + chat.testScrollMessages(); + }, + stopHline:function(e) { + //выключаем подставной блок + $('#bline').css({'display':'none'}); + $('#bline').unbind('mousemove'); + this.goHVLine(e); + this.v[0] = 0; + chat.testScrollMessages(); + }, + startVline:function() { + if(this.v[1] == 0) { + //включаем подставной блок + $('#bline').css({'display':'block'}); + $('#bline').unbind('mousemove'); + $('#bline').mousemove(function(e) { + $('#vline').css({ + 'left':(e.pageX - $('#bline').offset().left)+'px' + }); + top.ReLine.goHVLine(e); + }); + this.v[1] = 1; + }else{ + this.stopVline(); + } + }, + stopVline:function(e) { + //выключаем подставной блок + $('#bline').css({'display':'none'}); + $('#bline').unbind('mousemove'); + this.goHVLine(e); + this.v[1] = 0; + }, + rebase:function() { + chat.testScrollMessages(); + //СЃР±СЂРѕСЃ фреймов + var hp = Math.floor(($(window).height()-$('#hline').offset().top+25)/$(window).height()*100); + + $('#fm_main').height('0%'); + $('#fmain').height('0%'); + $('#fm_chat_online').height('0%'); + $('#chat_list').height('1px'); + $('#canals').height('1px'); + $('#online_list').height('1px'); + if(hp > 97) { + if($('#fm_main').css('display') != 'none') { + $('#fm_main').css({'display':'none'}); + $('#fm_main_l').css({'display':'none'}); + $('#fm_main_r').css({'display':'none'}); + } + if($('#chat').css('display') == 'none'){ + $('#chat').css({'display':''}); + $('#online').css({'display':''}); + $('#vline').css({'display':''}); + $('#send_btns_h').css({'display':''}); + $('#send_btns_h2').css({'display':'none'}); + } + hp = 100; + }else if($('#fm_main').css('display') == 'none'){ + $('#fm_main').css({'display':''}); + $('#fm_main_l').css({'display':''}); + $('#fm_main_r').css({'display':''}); + } if(hp < 8) { + hp = 8; + if($('#chat').css('display') != 'none') { + $('#chat').css({'display':'none'}); + $('#send_btns_h').css({'display':'none'}); + $('#send_btns_h2').css({'display':''}); + $('#online').css({'display':'none'}); + $('#vline').css({'display':'none'}); + GameEngine.timeStempReflesh(); + } + if($('#fm_main').css('display') == 'none'){ + $('#fm_main').css({'display':'none'}); + $('#fm_main_l').css({'display':'none'}); + $('#fm_main_r').css({'display':'none'}); + } + $('#fm_chat_online').height('1px'); + }else if($('#chat').css('display') == 'none'){ + $('#chat').css({'display':''}); + $('#online').css({'display':''}); + $('#vline').css({'display':''}); + $('#send_btns_h').css({'display':''}); + $('#send_btns_h2').css({'display':'none'}); + } + + if($('#chat').css('display') != 'none'){ + $('#fm_main').height((100-hp)+'%'); + $('#fmain').height(($('#fm_main').height()-13)+'px'); + }else{ + $('#fm_main').height((100-hp)+'%'); + $('#fmain').height(($('#fm_main').height()+13)+'px'); + } + + if($('#chat').css('display') != 'none'){ + if($.browser.msie) { + //Этот неловкий момент РєРѕРіРґР° понимаешь что пользователь СЃРёРґРёС‚ СЃ IE + var ie_h = 0; + if($('#fm_main').css('display') == 'none'){ + ie_h = 16; + } + $('#fm_chat_online').height(( (100-($('#fm_main').height()+55+ie_h+6)/$(window).height()*100) )+'%'); + }else{ + $('#fm_chat_online').height(( Math.ceil(100-($('#fm_main').height()+55+4)/$(window).height()*100) )+'%'); + } + $('#online_list').height(($('#fm_chat_online').height()-0)+'px'); + $('#chat_list').height(($('#fm_chat_online').height()-0)+'px'); + } + } + }; \ No newline at end of file diff --git a/static/scripts/chat-engine.js b/static/scripts/chat-engine.js new file mode 100644 index 0000000..7a0892f --- /dev/null +++ b/static/scripts/chat-engine.js @@ -0,0 +1,1051 @@ + var chat = { + + sml:new Array("smile",18,18, "laugh",15,15, "fingal",22,15, "eek",15,15, "smoke",20,20, "hi",31,28, "bye",15,15, + "king",21,22, "king2",28,24, "smile",18,18, "boks2",28,21, "boks",62,28, "gent",15,21, "lady",15,19, "tongue",15,15, "smil",16,16, "rotate",15,15, + "ponder",21,15, "bow",15,21, "angel",42,23, "angel2",26,25, "hello",25,27, "dont",26,26, "idea",26,27, "mol",27,22, "super",26,28, + "beer",15,15, "drink",19,17, "baby",15,18, "tongue2",15,15, "sword",49,18, "agree",37,15, + "loveya",27,15, "kiss",15,15, "kiss2",15,15, "kiss3",15,15, "kiss4",37,15, "rose",15,15, "love",27,28, + "love2", 55,24, + "confused",15,22, "yes",15,15, "no",15,15, "shuffle",15,20, "nono",22,19, "maniac",70,25, "privet",27,29, "ok",22,16, "ninja",15,15, + "pif",46,26, "smash",30,26, "alien",13,15, "pirate",23,19, "gun",40,18, "trup",20,20, + "mdr",56,15, "sneeze",15,20, "mad",15,15, "friday",57,28, "cry",16,16, "grust",15,15, "rupor",38,18, + "fie",15,15, "nnn",82,16, "row",36,15, "red",15,15, "lick",15,15, + "help",23,15, "wink",15,15, "jeer",26,16, "tease",33,19, "nunu",43,19, + "inv",80,20, "duel",100,34, "susel",70,34, "nun",40,28, "kruger",34,27, "flowers",28,29, "horse",60,40, "hug",48,20, "str",35,25, + "alch",39,26, "pal", 25, 21, "mag", 37, 37, "sniper", 37,37, "vamp", 27,27, "doc", 37,37, "doc2", 37,37, "sharp", 37,37, + "naem", 37,37, "naem2", 37,37, "naem3", 37,37, "invis", 32,23, "chtoza", 33, 37, + "beggar", 33,27, "sorry", 25,25, "sorry2", 25,25, + "creator", 39, 25, "grace", 39, 25, "dustman", 30, 21, "carreat", 40, 21, "lordhaos", 30, 21, + "ura", 31, 36, "elix", 30, 35, "dedmoroz", 32,32, "snegur", 45,45, "showng", 50, 35, "superng", 45,41, + "podz", 31,27, "sten", 44, 30, "devil", 29, 20, "cat", 29, 27, "owl", 29,20, "lightfly", 29,20, "snowfight", 51, 24, + "rocket", 43,35, "dance1", 45,23, "radio1", 36, 24, "victory", 51, 35, "dance2", 41, 31, "radio2", 29, 29, + "nail", 32, 26, "rev", 40, 25, "obm", 37, 22, "yar", 40, 36, "rom", 38, 33, "sad", 23, 23), + + timers:[], + timers0:'noTimer', + chat_r:30, + locks:[0,0], + inObj:false, + lmid:0, + cid:[0], + mxlm:100, + canal_open:0, + + + refleshData:{}, + refleshChat:function( auto ) { + if(this.chat_r < 30) { + this.chat_r = 30; + } + if(this.locks[0] == 0) { + delete this.refleshData.message; + this.refleshData.lmid = this.lmid; + this.refleshData.auto = auto; + this.refleshData.sys = this.system; + this.refleshData.ftr = this.filter; + this.refleshData.pgo = this.onlinePageSelect; + this.refleshData.r2 = $('#online_r2').attr('checked'); + + if( auto == true ) { + this.refleshData.r1 = $('#online_r1').attr('checked'); + }else{ + this.refleshData.r1 = 'checked'; + $(window).stopTime('tmchon'); + } + $.ajax({ + url: 'http://'+cfg.host+'/chat/', + type: 'POST', + dataType: 'json', + data: this.refleshData, + success: function(data){ chat.readData(data); } + }); + } + $(window).oneTime( ( 1000 * this.chat_r ), 'tmchon', function(i) { + $(window).stopTime('tmchon'); + chat.refleshChat(true); + }); + }, + + tmrMsg:null, + formSendMessage:function() { + if( $('#msg_text').val() == '' ) { + alert( 'Нельзя отправлять пустое сообщение!' ); + }else if(this.locks[1] == 0) { + //clearTimeout(this.tmrMsg); + this.locks[1] = 1; + + //this.tmrMsg = setTimeout(function(){chat.locks[1] = 0;},850); + + if( this.translit == true ) { + $('#msg_text').val( this.convert2( $('#msg_text').val() ) ); + } + + this.refleshData.message = $('#msg_text').val(); + this.refleshData.lmid = this.lmid; + this.refleshData.auto = false; + this.refleshData.sys = this.system; + //this.refleshData.pgo = this.onlinePageSelect; + //this.refleshData.r2 = $('#online_r2').attr('checked'); + //this.refleshData.r1 = $('#online_r1').attr('checked'); + + $.ajax({ + url: 'http://'+cfg.host+'/chat/', + type: 'POST', + dataType: 'json', + data: this.refleshData, + success: function(data){ chat.locks[1]=0; $('#msg_text').val(""); chat.readData(data); } + }); + }else{ + alert('Внимание! Нельзя отправлять сообщения так часто!'); + } + }, + + testKeyPress:function(event) { + if(event.keyCode==10 || event.keyCode==13) { + chat.formSendMessage(); + } + }, + + /* Очистить чат */ + clearChatline:function( type ) { + if( $('#msg_text').val() == '' && type == false) { + if( confirm('Очистить весь чат?') ) { + this.clearChat(); + } + }else{ + $('#msg_text').val(''); + $('#msg_text').focus(); + } + }, + + /* включить фильтр чата */ + filter:false, + filterChatLine:function() { + if( this.filter == false ) { + $('#btn3c').attr('class','btn3c2'); + $('#btn3c').attr('title','(Включено) Показывать в чате только сообщения адресованные мне'); + this.filter = true; + }else{ + $('#btn3c').attr('class','btn3c'); + $('#btn3c').attr('title','(Выключено) Показывать в чате только сообщения адресованные мне'); + this.filter = false; + } + }, + + /* включить системные сообщения чата */ + system:false, + systemChatLine:function() { + if( this.system == false ) { + $('#btn4c').attr('class','btn4c2'); + $('#btn4c').attr('title','(Включено) Показывать в чате системные сообщения'); + this.system = true; + }else{ + $('#btn4c').attr('class','btn4c'); + $('#btn4c').attr('title','(Выключено) Показывать в чате системные сообщения'); + this.system = false; + } + }, + + /* включить медленное обновление чата */ + speedchat:1, + speedChatLine:function() { + if( this.speedchat == 3 ) { + $('#btn5c').attr('class','btn5c2'); + $('#btn5c').attr('title','Обновление чата выключено!'); + this.chat_r = 31536000; + clearTimeout(this.timers[0]); + this.speedchat = 2; + }else if( this.speedchat == 2 ) { + $('#btn5c').attr('class','btn5c'); + $('#btn5c').attr('title','(Выключено) Медленное обновление чата (раз в минуту)'); + this.chat_r = 30; + clearTimeout(this.timers[0]); + this.timers[0] = setTimeout('chat.refleshChat(true)',1000 * this.chat_r); + this.speedchat = 1; + }else{ + $('#btn5c').attr('class','btn5c3'); + $('#btn5c').attr('title','(Включено) Медленное обновление чата (раз в минуту)'); + this.chat_r = 60; + clearTimeout(this.timers[0]); + this.timers[0] = setTimeout('chat.refleshChat(true)',1000 * this.chat_r); + this.speedchat = 3; + } + }, + + /* включить транслит чата */ + translit:false, + translitChatLine:function() { + if( this.translit == false ) { + $('#btn6c').attr('class','btn6c2'); + $('#btn6c').attr('title','(Включено) Преобразовать транслит в русский текст (правила перевода см. в энциклопедии)'); + this.translit = true; + }else{ + $('#btn6c').attr('class','btn6c'); + $('#btn6c').attr('title','(Выключено) Преобразовать транслит в русский текст (правила перевода см. в энциклопедии)'); + this.translit = false; + } + }, + + convert2:function(txt) + { + var trn = new Array(); + trn = txt.split(' '); + for(var i=0;i=0) str = str.replace(this.map_en[i],this.map_ru[i]); + newstr += str; + return newstr; + }, + + /* смайлики */ + smileschat:false, + smilesChatLine:function() { + if( this.smileschat == false ) { + $('#ttSmiles').css('display',''); + $('#btn7c').attr('class','btn7c2'); + $('#btn7c').attr('title','(Включено) Смайлики'); + this.smileschat = true; + }else{ + $('#ttSmiles').css('display','none'); + $('#btn7c').attr('class','btn7c'); + $('#btn7c').attr('title','Смайлики'); + this.smileschat = false; + } + }, + addSmile:function(id) + { + if( top.mob_version != undefined ) { + $('#chat_message').val($('#chat_message').val()+' :'+id+': '); + //$('#chat_message').focus(); + }else{ + $('#msg_text').val($('#msg_text').val()+' :'+id+': '); + $('#msg_text').focus(); + } + }, + refleshSmiles:function() { + //генерируем смайлики + var i = 0, j = ''; + while(i!=-1) + { + if(this.sml[i]!=undefined) + { + j += ' '; + }else{ + i = -4; + } + i += 3; + } + $('#smilesDiv').html(j); + delete i; + delete j; + }, + + testKey:function(m,v) + { + var i = 0, r = v; + v = false; + while(i!=-1) + { + if(m != undefined && m[i]!=undefined) + { + if(m[i]==r) + { + v = i; + i = -2; + } + }else{ + i = -2; + } + i++; + } + delete r,m; + return v; + }, + isNumber:function(s) + { + if(!isNaN(s)) + { + s = true; + }else{ + s = false; + } + return s; + }, + + testSmile:function(txt) + { + txr = txt.split(':'); + var i = 1, j = 0, smid = 0; + while(i <= txr.length) { + if( txr[i] != undefined) { + smid = this.testKey(this.sml,txr[i]); + imsml = txr[i].split('-'); + if(((smid != false || smid == 0) && this.isNumber(txr[i]) != true) || (imsml != undefined && imsml[0] == '%usersmile%')) { + if(j < 3 && this.isNumber(this.sml[smid]) != true && (this.sml[smid] != undefined || imsml[0] == '%usersmile%')) { + if(imsml[0] == '%usersmile%') { + txt = txt.replace("\:%usersmile%-"+imsml[1]+"\:",''); + }else{ + txt = txt.replace("\:"+txr[i]+"\:",''); + } + j++; + } + } + } + i++; + } + return txt; + }, + + /* звук */ + soundchat:0, + soundChatLine:function() { + if(pluginlist.indexOf("Flash") != -1) { + if( this.soundchat == 0 ) { + $('#btn8c').attr('class','btn8c2'); + $('#btn8c').attr('title','(Включено \'тихо\') Звуковые уведомления'); + this.soundchat = 1; + }else if( this.soundchat == 1 ){ + $('#btn8c').attr('class','btn8c3'); + $('#btn8c').attr('title','(Включено \'громко\') Звуковые уведомления'); + this.soundchat = 2; + }else{ + $('#btn8c').attr('class','btn8c'); + $('#btn8c').attr('title','(Выключено) Звуковые уведомления'); + this.soundchat = 0; + } + }else{ + if(!! document.createElement('video').canPlayType ) { + //html5 уведомления + alert('Поддержка звуковых уведомлений временно заблокировано на стороне сервера.'); + /* + $('').appendTo('body'); + $('#chatAudio')[0].play(); + */ + }else{ + alert("Ваш браузер не поддерживает Flash-ролики, а так-же HTML5\nДля звуковых уведомлений установите плагин Adobe Flash Player, либо обновите браузер (Подробнее см. в энциклопедии)"); + } + //$('#soundTableTd').css({'display':'none'}); + } + }, + + getSwf:function(val) { + var M$ = navigator.appName.indexOf("Microsoft")!=-1 + return (M$ ? window : document)[val] + }, + sendSound:function(s) + { + var svolm = 100; + if(this.soundchat == 0) { + svolm = 0; + }else if(this.soundchat == 1) { + svolm = 25; + }else if(this.soundchat == 2) { + svolm = 100; + } + + /*if(window.Sound) { + window.document["Sound"].SetVariable("Volume", svolm); + window.document["Sound"].SetVariable("Sndplay", s); + }else if(document.Sound) { + document.Sound.SetVariable("Volume", svolm); + document.Sound.SetVariable("Sndplay", s); + }*/ + + var M$ = navigator.appName.indexOf("Microsoft")!=-1 + if(this.getSwf('Sound').SetVariable == undefined && !M$) { + document.getElementById('Sound2').SetVariable("Volume",svolm); + document.getElementById('Sound2').SetVariable("Sndplay",s); + }else{ + window.document["Sound"].SetVariable("Volume", svolm); + window.document["Sound"].SetVariable("Sndplay", s); + } + }, + + clearChat:function() { + if( this.canal_open == 0 ) { + this.cid[this.canal_open] = 0; + $('#canal'+this.canal_open).html(' '); + } + return true; + }, + + clearInput:function() { + $('#msg_text').val(''); + }, + iKeys:{ + 'r':null, + 'u':null, + 'm':null, + 't':0 + }, + users_u_city:0, + readData:function(data) { + + //Чистим данные передачи + this.refleshData = {}; + + if( data.online_list != undefined && data.online_list != 0 ) { + //Выводим список онлайна + this.readDataOnlineList( data.online_list , data.ura ); + } + if( data.room_name != undefined && data.room_name != 0 ) { + //Обновляем название комнаты + if( $('#online_r2').attr('checked') == 'checked' ) { + $('#online_room').html( data.room_name + '
        Общий онлайн: ' + data.ura + '' ); + }else{ + $('#online_room').html( data.room_name + ' (' + data.ura + ')' ); + } + } + if( data.chat_list != undefined && data.chat_list != 0 ) { + //Выводим чат + this.readDataChatList( data.chat_list ); + this.testScrollMessages(); + } + }, + + testScrollMessages:function() { + if( $('#chat_list').get(0).scrollHeight > $('#chat_list').height() ) { + this.messageGenXdel++; + $('#msg' + this.messageGenXdel ).css('display','none'); + this.testScrollMessages(); + } + }, + + playSoundMsg:false, + readDataChatList:function( data ) { + var i = 0, html = "", j = 0; + while( i != -1 ) { + if( data[i] != undefined ) { + // + if( parseInt(data[i][0]) > this.lmid ) { + this.lmid = parseInt(data[i][0]); + html = html + "" + this.messageGen( data[i] ) + ""; + } + // + j++; + }else{ + if( this.playSoundMsg == true ) { + this.sendSound(1); + } + this.playSoundMsg = false; + i = -2; + } + i++; + } + $('#canal0').html( $('#canal0').html() + html ); + }, + + messageGenX:0, + messageGenXdel:0, + messageGen:function( msg ) { + var html = ''; + // + this.messageGenX++; + // + //html += "" + msg[2] + ": " + this.replaceText( this.testSmile( msg[3] ) ); + // + var foryou = 0; + if( this.msgForyou( msg ) == true ) { + foryou = 1; + this.playSoundMsg = true; + } + + html += this.msgTime( msg, foryou ); + html += this.msgFrom( msg ); + html += this.msgTo( msg ); + html += this.msgText( msg ); + // + html = '
        ' + html + '
        '; + return html; + }, + + onlinePageSelect:1, + + readDataOnlineList:function( data , ura ) { + var i = 0, html = '', j = 0; + while( i != -1 ) { + if( data[i] != undefined ) { + if( data[i][0] > 0 ) { + html = html + this.loginLine( data[i][0] , data[i][1] , data[i][2] , data[i][3] , data[i][4] , data[i][5] , data[i][6] ) + '
        '; + }else{ + html = html + this.loginLine( 0 , 'Невидимка' , '??' , 'capitalcity' , 0 , 0 , data[i][1] ) + '
        '; + } + j++; + }else{ + i = -2; + } + i++; + } + var pa = Math.ceil(ura/50) , i = 1 , pgh = ''; + + if( this.onlinePageSelect > pa ) { + this.onlinePageSelect = pa; + } + if( j < ura ) { + //Выводим страницы + while( i <= pa ) { + if( this.onlinePageSelect == i ) { + pgh += '[' + i + ']'; + }else{ + pgh += '[' + i + ']'; + } + i++; + } + pgh = '
        ' + pgh + '
        '; + html = pgh + '
        ' + html + '
        '; + + } + $('#online_users').html( html ); + }, + + selectOnlinePage:function( id ) { + this.onlinePageSelect = id; + this.refleshChat( false ); + }, + + loginLine:function( id , login , level , cityreg , align , clan , fight ) { + var r = ''; + + if( fight > 0 ) { + r += ''; + }else{ + r += ''; + } + r += ''; + if( clan > 0 ) { + r += ''; + } + if( id == 0 ) { + r += '' + login + '[' + level + ']'; + }else{ + r += '' + login + '[' + level + ']'; + } + r += ''; + + return r; + }, + + readMessagesSound:false, + readMessages:function(data) { + var i = 0; + this.readMessagesSound = false; + while( i != -1 ) { + if(data[i] != undefined) { + var ch = 0; //Канал чата + if( this.lmid < data[i][0] ) { + this.lmid = data[i][0]; + } + this.addMessage( '#canal' + ch , data[i] ); + i++; + }else{ + if( i > 0 ) { + this.scrollChatTo(0,0); + } + i = -1; + } + } + if( this.readMessagesSound == true ) { + this.sendSound(1); + this.readMessagesSound = false; + } + }, + + addMessage:function(ch, data) { + if($('#msg_' + data[0]).attr('id') == undefined) { + var msg = '', foryou = this.msgForyou( data ); + if( this.filter == false || this.msgTestyou(data) == true || foryou == true) { + if(foryou) { + this.readMessagesSound = true; + } + msg += this.msgTime( data, foryou ); + msg += this.msgFrom( data ); + msg += this.msgTo( data ); + msg += this.msgText( data ); + msg = '
        ' + msg + '
        '; + $(ch).html( $(ch).html() + msg ); + } + } + }, + msgTestyou:function(data) { + if( user.info['login'] == data[1] ) { + return true; + }else{ + return false; + } + }, + msgForyou:function(data) { + var r = false; + + if( user.info.login != data[2] ) { + var i = 0, ua = data[4].split( ',' ), to = ''; + while( i < ua.length ) { + if( ua[i] != undefined ) { + ua[i] = GameEngine.trim(ua[i]); + if(user.info.login == ua[i]) { + r = true; + } + } + i++; + } + } + + return r; + }, + msgTime:function(data, foryou) { + var r = ''; + if( data[7] == 1 ) { + r += GameEngine.data( 'd.m.Y H:i', data[1] ); + r = '  ' + r + ''; + }else if( data[7] == 2 ) { + r += GameEngine.data( 'H:i', data[1] ); + r = '  ' + r + ''; + }else if( data[7] == 3 ) { + r += GameEngine.data( 'd.m.Y H:i', data[1] ); + r = '  ' + r + ''; + }else{ + r += GameEngine.data( 'H:i', data[1] ); + if( foryou == true || data[5] == 4 ) { + r = '  ' + r + ''; + }else{ + r = '  ' + r + ''; + } + } + return r; + }, + msgFrom:function(data) { + var r = ''; + if(data[5] >= 1 && data[5] < 4) { + if( data[8] != 0 ) { + r += ' [' + data[2] + ']'; + }else{ + r += ' [' + this.loginChat(data[2],'to',null) + ']'; + } + } + return r; + }, + msgTo:function(data) { + var r = ''; + if( data[5] > 1 && data[5] < 4 ) { + if( data[5] == 2 ) { + r = ' to [' + data[4] + ']'; + }else if( data[5] == 3 ) { + + var i = 0, ua = data[4].split( ',' ), to = ''; + while( i < ua.length ) { + if( ua[i] != undefined ) { + ua[i] = GameEngine.trim(ua[i]); + /*if(user.info['login'] == ua[i]) { + to += this.loginChat( data[1], 3 ); + //foryou + }else{*/ + to += this.loginChat( ua[i], 3 ); + //} + if( i+1 < ua.length ) { + to += ', '; + } + } + i++; + } + + r = ' private [' + to + ']'; + } + if( data[5] == 2 ) { + r = ' ' + r + ''; + } + } + return r; + }, + replaceAll:function(t,v,s) + { + return t.split(v).join(s); + }, + msgText:function(data) { + var r = ''; + var text = data[3]; + + /* */ + var reg = text.match(/(.*?)<\/login>/g); + if( reg != null && reg[0] != undefined ) { + var i = 0; + while( i != -1 ) { + if( reg[i] != undefined ) { + text = this.replaceAll( text , reg[i] , this.loginChat(this.replaceAll( this.replaceAll( reg[i] , '' , '' ) , '' , '' ), 'to', null) ); + i++; + }else{ + i = -1; + } + } + } + + if( data[4] == 4 || data[4] == 5 ) { + text = this.replaceAll( text , '{w}' , 'Внимание!'); + } + + text = this.testSmile(text); + + r += ' ' + text + ''; + return r; + }, + + readOnlineList:function(data) { + var r = ''; + + var i = 0; + while( i != -1 ) { + if(data[i] != undefined) { + r += this.userInfo(data[i][0],data[i][1],data[i][2],data[i][3],data[i][4],data[i][5]) + '
        '; + i++; + }else{ + if( top.mob_version != undefined ) { + mob.chat.html_return['ou'] = i; + }else{ + $('#online_room_count').html( '(' + i + ')' ); + } + i = -1; + } + } + + return r; + }, + + align_name:{ + 0:'', + 1:'Светлый', + 2:'Хаосник', + 3:'Тёмный', + 7:'Нейтральный' + }, + + userInfo:function(id,login,level,align,clan,device) { + var r = ''; + + if( user.info.level > 0 ) { + r += ''; + } + + r += ''; + r += '' + login + ''; + r += '[' + level + ']'; + r += ''; + if( device != 0 ) { + var name_device = [ + 'Компьютер', + '', + 'Apple iPhone', + '', + '', + 'Android Phone' + ]; + r += ' '; + } + return r; + }, + + replaceText:function(txt) { + + txt = GameEngine.str_replace("[s2;]","'",txt); + txt = GameEngine.str_replace("[s1;]",""",txt); + txt = GameEngine.str_replace("[s3;]","<",txt); + txt = GameEngine.str_replace("[s4;]",">",txt); + txt = GameEngine.str_replace("[s6;]","⁄",txt); + txt = GameEngine.str_replace("[s5;]","\",txt); + + return txt; + }, + + loginChat:function(login,typeTo,login2) { + login = GameEngine.trim(login); + if(login2 == null) { + login2 = login; + } + if(typeTo == 3) { + typeTo = 'private' + }else if(typeTo == 2) { + typeTo = 'to'; + } + login = ''+login+''; + return login; + }, + + context_open:false, + context_global_open:false, + context_lock:[0,0], + contextMenuGlobal:function(fm,e) { + + if( this.context_lock[1] == 0 ) { + + this.contextmenu_close(); + + if (!e) e = window.event; + + fm = 0; + + var menu = null; + + if(fm == 'main') { + + }else if(fm == 'chat') { + + }else if(fm == 'online') { + + }else{ + menu = [ + [1,'Настройки меню',''], + [0], + [1,'Закрыть','chat.contextmenu_global_close();'] + ]; + } + + var i = 0, menu_html = ''; + while( i < menu.length ) { + + if( menu[i][0] == 0 ) { + + menu_html += '
        '; + + }else if( menu[i][0] == 1 ) { + + menu_html += '
        '+menu[i][1]+'
        '; + + } + + i++; + } + + if( menu_html != '' ) { + var x = e.clientX-1,y = e.clientY-1; + /* pageX , pageY */ + $('#context_menu_global').html( ''+menu_html+'' ); + $('#context_menu_global').css({'display':'block','top':y+'px','left':x+'px'}); + GameEngine.divxyBanned('#context_menu_global'); + clearTimeout( this.timers[3] ); + this.context_lock[0] = 1; + this.timers[3] = setTimeout( 'chat.context_global_open=true;chat.context_lock[0]=0;', 25 ); + }else{ + return false; + } + } + }, + + contextmenu_global_close:function() { + $('#context_menu_global').html(''); + $('#context_menu_global').css({'display':'none'}); + clearTimeout( this.timers[3] ); + this.timers[3] = setTimeout( 'chat.context_global_open=false;', 25 ); + }, + + contextMenu:function(login,e) { + + if( this.context_lock[0] == 0 ) { + + this.contextmenu_global_close(); + + if (!e) e = window.event; + + if (pluginlist.indexOf("Flash")!=-1) { + $('#context_menu').html( + ''+ + '
        TO
        ' + + '
        PRIVATE
        ' + + '
        INFO
        ' + + /*'
        TO FRIENDS
        ' +*/ + '
        COPY
        '+ + '
        ' + ); + $('#context_menu').css({'display':'block'}); + this.contextMenubegin(); + }else{ + $('#context_menu').html( + ''+ + '
        TO
        ' + + '
        PRIVATE
        ' + + '
        INFO
        ' + + /*'
        TO FRIENDS
        ' +*/ + '
        ' + ); + } + var x = e.clientX-1,y = e.clientY-1; + /* pageX , pageY */ + $('#context_menu').css({'display':'block','top':y+'px','left':x+'px'}); + GameEngine.divxyBanned('#context_menu'); + clearTimeout( this.timers[2] ); + this.context_lock[1] = 1; + this.timers[2] = setTimeout( 'chat.context_open=true;chat.context_lock[1]=0;', 25 ); + } + }, + + contextmenu_close:function() { + $('#context_menu').html(''); + $('#context_menu').css({'display':'none'}); + clearTimeout( this.timers[2] ); + this.timers[2] = setTimeout( 'chat.context_open=false;', 25 ); + }, + + clip:false, + contextMenubegin:function() { + this.clip = new ZeroClipboard( document.getElementById("copyline"), { + moviePath: "http://" + cfg.img + "flash/ZeroClipboard.swf" + } ); + + this.clip.on( 'load', function(client) { + // alert( "movie is loaded" ); + } ); + + this.clip.on( 'complete', function(client, args) { + chat.contextmenu_close(); + } ); + + this.clip.on( 'mouseover', function(client) { + $('#copyline').attr('class','context_menudivhover'); + } ); + + this.clip.on( 'mouseout', function(client) { + $('#copyline').attr('class',''); + } ); + + this.clip.on( 'mousedown', function(client) { + $('#copyline').attr('class','context_menudivhover'); + } ); + + this.clip.on( 'mouseup', function(client) { + $('#copyline').attr('class','context_menudivhover'); + } ); + }, + + scrlst:0, + scrollChatTo:function(val,par) { + $('#chat_list').stop(); + $('#chat_list').animate({ scrollTop: $('#chat_list')[0].scrollHeight }, par); + }, + + user:function(id,login,level,align,clan) { + var r = ''; + if(level < 1) { + level = 0; + } + r += '
        '+login+' ['+level+']
        '; + return r; + }, + + toUserAll:function(users,type) { + var i = 0, ua = users.split( ',' ); + while( i < ua.length ) { + if( ua[i] != undefined ) { + ua[i] = GameEngine.trim(ua[i]); + this.toUser(ua[i],type); + } + i++; + } + }, + + toUser:function(login,type2) { + var loginaddT = login; + var s = ''; + if( top.mob_version != undefined ) { + $('#chat_message').focus(); + s = $('#chat_message').val(); + }else{ + if($('#'+$(this.inObj).attr('id')).attr('id') == undefined) + { + $('#msg_text').focus(); + s = $('#msg_text').val(); + }else{ + $(this.inObj).focus(); + //s = $(inObj).val(); + } + } + + var reg555 = new RegExp("private\\s*\\[(.*?)\\]",""); + var reg551 = new RegExp("to\\s*\\[(.*?)\\]",""); + + var test1 = s.match(reg555); + if(s.match(reg555)==null) + { + type = "to"; + }else if(s.match(reg551)==null) + { + type = "private"; + } + + var type3 = 'to'; + + var reg2 = new RegExp(""+type+"(\\s*)\\[(.*?)\\]",""); + var cs = s.replace(reg2,""+type+"$1[,$2,]"); + var slogin = login.replace(/([\^.*{}$%?\[\]+|\/\(\)])/g,"\\$1"); + var reg = new RegExp(""+type+"\\s*\\[.*,\\s*"+slogin+"\\s*,.*\\]",""); + var result = ''; + var reg3 = new RegExp(""+type+"\\s*\\[(.*?)\\]",""); + while (res = s.match(reg3)) + { + result += res[1]+','; + s = s.replace(reg3,''); + } + result = result.replace(/,$/,''); + var prar = result.split(','); + for (i=0;i' + safe(nick) + ': ' + + safe(message) + + '
        '; + messages + .append(m) + .scrollTop(messages[0].scrollHeight); + } + + function msg_system(message) { + var m = '
        ' + safe(message) + '
        '; + messages + .append(m) + .scrollTop(messages[0].scrollHeight); + } + + Chat.socket.on('connecting', function () { + msg_system('Соединение...'); + }); + + Chat.socket.on('connect', function () { + msg_system('Соединение установлено!'); + }); + + Chat.socket.on('message', function (data) { + msg( data.name , data.message); + message_txt.focus(); + }); + + $("#btn1c").click(function () { + top.Chat.formSendMessage(); + }); + + function safe(str) { + return str.replace(/&/g, '&') + .replace(//g, '>'); + } + }, + testKeyPress:function(e) { + if(event.keyCode==10 || event.keyCode==13) { + this.formSendMessage(); + } + }, + formSendMessage:function() { + var text = $("#msg_text").val(); + var name = User.login; + if (text.length <= 0) + return; + $("#msg_text").val('') + this.socket.emit("message", { message: text, name: name }); + } +}; \ No newline at end of file diff --git a/static/scripts/core.js b/static/scripts/core.js new file mode 100644 index 0000000..85ee0b5 --- /dev/null +++ b/static/scripts/core.js @@ -0,0 +1,5 @@ +var core = { + begin:function() { + //$(document.body).html( '' ); + } +}; \ No newline at end of file diff --git a/static/scripts/jquery-ui.js b/static/scripts/jquery-ui.js new file mode 100644 index 0000000..82bbb67 --- /dev/null +++ b/static/scripts/jquery-ui.js @@ -0,0 +1,12 @@ +/*! jQuery UI - v1.10.3 - 2013-05-03 +* http://jqueryui.com +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js +* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ +(function(t,e){function i(e,i){var n,o,a,r=e.nodeName.toLowerCase();return"area"===r?(n=e.parentNode,o=n.name,e.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap=#"+o+"]")[0],!!a&&s(a)):!1):(/input|select|textarea|button|object/.test(r)?!e.disabled:"a"===r?e.href||i:i)&&s(e)}function s(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return"hidden"===t.css(this,"visibility")}).length}var n=0,o=/^ui-id-\d+$/;t.ui=t.ui||{},t.extend(t.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({focus:function(e){return function(i,s){return"number"==typeof i?this.each(function(){var e=this;setTimeout(function(){t(e).focus(),s&&s.call(e)},i)}):e.apply(this,arguments)}}(t.fn.focus),scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,"position"))&&/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(i){if(i!==e)return this.css("zIndex",i);if(this.length)for(var s,n,o=t(this[0]);o.length&&o[0]!==document;){if(s=o.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(n=parseInt(o.css("zIndex"),10),!isNaN(n)&&0!==n))return n;o=o.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){o.test(this.id)&&t(this).removeAttr("id")})}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])},focusable:function(e){return i(e,!isNaN(t.attr(e,"tabindex")))},tabbable:function(e){var s=t.attr(e,"tabindex"),n=isNaN(s);return(n||s>=0)&&i(e,!n)}}),t("").outerWidth(1).jquery||t.each(["Width","Height"],function(i,s){function n(e,i,s,n){return t.each(o,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),n&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var o="Width"===s?["Left","Right"]:["Top","Bottom"],a=s.toLowerCase(),r={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+s]=function(i){return i===e?r["inner"+s].call(this):this.each(function(){t(this).css(a,n(this,i)+"px")})},t.fn["outer"+s]=function(e,i){return"number"!=typeof e?r["outer"+s].call(this,e):this.each(function(){t(this).css(a,n(this,e,!0,i)+"px")})}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t("").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=function(e){return function(i){return arguments.length?e.call(this,t.camelCase(i)):e.call(this)}}(t.fn.removeData)),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),t.support.selectstart="onselectstart"in document.createElement("div"),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.extend(t.ui,{plugin:{add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i){var s,n=t.plugins[e];if(n&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;n.length>s;s++)t.options[n[s][0]]&&n[s][1].apply(t.element,i)}},hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)}})})(jQuery),function(t,e){var i=0,s=Array.prototype.slice,n=t.cleanData;t.cleanData=function(e){for(var i,s=0;null!=(i=e[s]);s++)try{t(i).triggerHandler("remove")}catch(o){}n(e)},t.widget=function(i,s,n){var o,a,r,h,l={},c=i.split(".")[0];i=i.split(".")[1],o=c+"-"+i,n||(n=s,s=t.Widget),t.expr[":"][o.toLowerCase()]=function(e){return!!t.data(e,o)},t[c]=t[c]||{},a=t[c][i],r=t[c][i]=function(t,i){return this._createWidget?(arguments.length&&this._createWidget(t,i),e):new r(t,i)},t.extend(r,a,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),h=new s,h.options=t.widget.extend({},h.options),t.each(n,function(i,n){return t.isFunction(n)?(l[i]=function(){var t=function(){return s.prototype[i].apply(this,arguments)},e=function(t){return s.prototype[i].apply(this,t)};return function(){var i,s=this._super,o=this._superApply;return this._super=t,this._superApply=e,i=n.apply(this,arguments),this._super=s,this._superApply=o,i}}(),e):(l[i]=n,e)}),r.prototype=t.widget.extend(h,{widgetEventPrefix:a?h.widgetEventPrefix:i},l,{constructor:r,namespace:c,widgetName:i,widgetFullName:o}),a?(t.each(a._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,r,i._proto)}),delete a._childConstructors):s._childConstructors.push(r),t.widget.bridge(i,r)},t.widget.extend=function(i){for(var n,o,a=s.call(arguments,1),r=0,h=a.length;h>r;r++)for(n in a[r])o=a[r][n],a[r].hasOwnProperty(n)&&o!==e&&(i[n]=t.isPlainObject(o)?t.isPlainObject(i[n])?t.widget.extend({},i[n],o):t.widget.extend({},o):o);return i},t.widget.bridge=function(i,n){var o=n.prototype.widgetFullName||i;t.fn[i]=function(a){var r="string"==typeof a,h=s.call(arguments,1),l=this;return a=!r&&h.length?t.widget.extend.apply(null,[a].concat(h)):a,r?this.each(function(){var s,n=t.data(this,o);return n?t.isFunction(n[a])&&"_"!==a.charAt(0)?(s=n[a].apply(n,h),s!==n&&s!==e?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):e):t.error("no such method '"+a+"' for "+i+" widget instance"):t.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+a+"'")}):this.each(function(){var e=t.data(this,o);e?e.option(a||{})._init():t.data(this,o,new n(a,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
        ",options:{disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(i,s){var n,o,a,r=i;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof i)if(r={},n=i.split("."),i=n.shift(),n.length){for(o=r[i]=t.widget.extend({},this.options[i]),a=0;n.length-1>a;a++)o[n[a]]=o[n[a]]||{},o=o[n[a]];if(i=n.pop(),s===e)return o[i]===e?null:o[i];o[i]=s}else{if(s===e)return this.options[i]===e?null:this.options[i];r[i]=s}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var o,a=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=o=t(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,o=this.widget()),t.each(n,function(n,r){function h(){return i||a.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?a[r]:r).apply(a,arguments):e}"string"!=typeof r&&(h.guid=r.guid=r.guid||h.guid||t.guid++);var l=n.match(/^(\w+)\s*(.*)$/),c=l[1]+a.eventNamespace,u=l[2];u?o.delegate(u,c,h):s.bind(c,h)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}})}(jQuery),function(t){var e=!1;t(document).mouseup(function(){e=!1}),t.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,o="string"==typeof this.options.cancel&&i.target.nodeName?t(i.target).closest(this.options.cancel).length:!1;return n&&!o&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return s._mouseMove(t)},this._mouseUpDelegate=function(t){return s._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(t){t.widget("ui.draggable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(t(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){t("
        ").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,i){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"original"!==this.options.helper||t.contains(this.element[0].ownerDocument,this.element[0])?("invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1):!1},_mouseUp:function(e){return t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;return n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):"document"===n.containment?(this.containment=[0,0,t(document).width()-this.helperProportions.width-this.margins.left,(t(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):n.containment.constructor===Array?(this.containment=n.containment,undefined):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e="hidden"!==i.css("overflow"),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i),undefined):(this.containment=null,undefined)},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:n.scrollTop(),left:n.scrollLeft()}),{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*s}},_generatePosition:function(e){var i,s,n,o,a=this.options,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=e.pageX,l=e.pageY;return this.offset.scroll||(this.offset.scroll={top:r.scrollTop(),left:r.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(s=this.relative_container.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,e.pageX-this.offset.click.lefti[2]&&(h=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(l=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,l=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,h=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s]),"drag"===e&&(this.positionAbs=this._convertPositionTo("absolute")),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i){var s=t(this).data("ui-draggable"),n=s.options,o=t.extend({},i,{item:s.element});s.sortables=[],t(n.connectToSortable).each(function(){var i=t.data(this,"ui-sortable");i&&!i.options.disabled&&(s.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",e,o))})},stop:function(e,i){var s=t(this).data("ui-draggable"),n=t.extend({},i,{item:s.element});t.each(s.sortables,function(){this.instance.isOver?(this.instance.isOver=0,s.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"===s.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,n))})},drag:function(e,i){var s=t(this).data("ui-draggable"),n=this;t.each(s.sortables,function(){var o=!1,a=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(o=!0,t.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==a&&this.instance._intersectsWith(this.instance.containerCache)&&t.contains(a.instance.element[0],this.instance.element[0])&&(o=!1),o})),o?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(n).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",e),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",e),s.dropped=!1)})}}),t.ui.plugin.add("draggable","cursor",{start:function(){var e=t("body"),i=t(this).data("ui-draggable").options;e.css("cursor")&&(i._cursor=e.css("cursor")),e.css("cursor",i.cursor)},stop:function(){var e=t(this).data("ui-draggable").options;e._cursor&&t("body").css("cursor",e._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(){var e=t(this).data("ui-draggable");e.scrollParent[0]!==document&&"HTML"!==e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var i=t(this).data("ui-draggable"),s=i.options,n=!1;i.scrollParent[0]!==document&&"HTML"!==i.scrollParent[0].tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY=0;u--)r=p.snapElements[u].left,h=r+p.snapElements[u].width,l=p.snapElements[u].top,c=l+p.snapElements[u].height,r-g>v||m>h+g||l-g>b||_>c+g||!t.contains(p.snapElements[u].item.ownerDocument,p.snapElements[u].item)?(p.snapElements[u].snapping&&p.options.snap.release&&p.options.snap.release.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=!1):("inner"!==f.snapMode&&(s=g>=Math.abs(l-b),n=g>=Math.abs(c-_),o=g>=Math.abs(r-v),a=g>=Math.abs(h-m),s&&(i.position.top=p._convertPositionTo("relative",{top:l-p.helperProportions.height,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r-p.helperProportions.width}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h}).left-p.margins.left)),d=s||n||o||a,"outer"!==f.snapMode&&(s=g>=Math.abs(l-_),n=g>=Math.abs(c-b),o=g>=Math.abs(r-m),a=g>=Math.abs(h-v),s&&(i.position.top=p._convertPositionTo("relative",{top:l,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c-p.helperProportions.height,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h-p.helperProportions.width}).left-p.margins.left)),!p.snapElements[u].snapping&&(s||n||o||a||d)&&p.options.snap.snap&&p.options.snap.snap.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=s||n||o||a||d)}}),t.ui.plugin.add("draggable","stack",{start:function(){var e,i=this.data("ui-draggable").options,s=t.makeArray(t(i.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});s.length&&(e=parseInt(t(s[0]).css("zIndex"),10)||0,t(s).each(function(i){t(this).css("zIndex",e+i)}),this.css("zIndex",e+s.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}t.widget("ui.droppable",{version:"1.10.3",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(i)?i:function(t){return t.is(i) +},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},t.ui.ddmanager.droppables[e.scope]=t.ui.ddmanager.droppables[e.scope]||[],t.ui.ddmanager.droppables[e.scope].push(this),e.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var e=0,i=t.ui.ddmanager.droppables[this.options.scope];i.length>e;e++)i[e]===this&&i.splice(e,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,i){"accept"===e&&(this.accept=t.isFunction(i)?i:function(t){return t.is(i)}),t.Widget.prototype._setOption.apply(this,arguments)},_activate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var s=i||t.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=t.data(this,"ui-droppable");return e.options.greedy&&!e.options.disabled&&e.options.scope===s.options.scope&&e.accept.call(e.element[0],s.currentItem||s.element)&&t.ui.intersect(s,t.extend(e,{offset:e.element.offset()}),e.options.tolerance)?(n=!0,!1):undefined}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",e,this.ui(s)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),t.ui.intersect=function(t,i,s){if(!i.offset)return!1;var n,o,a=(t.positionAbs||t.position.absolute).left,r=a+t.helperProportions.width,h=(t.positionAbs||t.position.absolute).top,l=h+t.helperProportions.height,c=i.offset.left,u=c+i.proportions.width,d=i.offset.top,p=d+i.proportions.height;switch(s){case"fit":return a>=c&&u>=r&&h>=d&&p>=l;case"intersect":return a+t.helperProportions.width/2>c&&u>r-t.helperProportions.width/2&&h+t.helperProportions.height/2>d&&p>l-t.helperProportions.height/2;case"pointer":return n=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,o=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,e(o,d,i.proportions.height)&&e(n,c,i.proportions.width);case"touch":return(h>=d&&p>=h||l>=d&&p>=l||d>h&&l>p)&&(a>=c&&u>=a||r>=c&&u>=r||c>a&&r>u);default:return!1}},t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,i){var s,n,o=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;o.length>s;s++)if(!(o[s].options.disabled||e&&!o[s].accept.call(o[s].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===o[s].element[0]){o[s].proportions.height=0;continue t}o[s].visible="none"!==o[s].element.css("display"),o[s].visible&&("mousedown"===a&&o[s]._activate.call(o[s],i),o[s].offset=o[s].element.offset(),o[s].proportions={width:o[s].element[0].offsetWidth,height:o[s].element[0].offsetHeight})}},drop:function(e,i){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(e,i){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,o,a=t.ui.intersect(e,this,this.options.tolerance),r=!a&&this.isover?"isout":a&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,o=this.element.parents(":data(ui-droppable)").filter(function(){return t.data(this,"ui-droppable").options.scope===n}),o.length&&(s=t.data(o[0],"ui-droppable"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}}}(jQuery),function(t){function e(t){return parseInt(t,10)||0}function i(t){return!isNaN(parseInt(t,10))}t.widget("ui.resizable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var e,i,s,n,o,a=this,r=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t("
        ").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=r.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},i=0;e.length>i;i++)s=t.trim(e[i]),o="ui-resizable-"+s,n=t("
        "),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(n);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=t(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),t(this.handles[i]).length},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){a.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(t(this).removeClass("ui-resizable-autohide"),a._handles.show())}).mouseleave(function(){r.disabled||a.resizing||(t(this).addClass("ui-resizable-autohide"),a._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(i){var s,n,o,a=this.options,r=this.element.position(),h=this.element;return this.resizing=!0,/absolute/.test(h.css("position"))?h.css({position:"absolute",top:h.css("top"),left:h.css("left")}):h.is(".ui-draggable")&&h.css({position:"absolute",top:r.top,left:r.left}),this._renderProxy(),s=e(this.helper.css("left")),n=e(this.helper.css("top")),a.containment&&(s+=t(a.containment).scrollLeft()||0,n+=t(a.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:s,top:n},this.size=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalSize=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalPosition={left:s,top:n},this.sizeDiff={width:h.outerWidth()-h.width(),height:h.outerHeight()-h.height()},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio="number"==typeof a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),h.addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(e){var i,s=this.helper,n={},o=this.originalMousePosition,a=this.axis,r=this.position.top,h=this.position.left,l=this.size.width,c=this.size.height,u=e.pageX-o.left||0,d=e.pageY-o.top||0,p=this._change[a];return p?(i=p.apply(this,[e,u,d]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),this.position.top!==r&&(n.top=this.position.top+"px"),this.position.left!==h&&(n.left=this.position.left+"px"),this.size.width!==l&&(n.width=this.size.width+"px"),this.size.height!==c&&(n.height=this.size.height+"px"),s.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||this._trigger("resize",e,this.ui()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&t.ui.hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null,h=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,s,n,o,a,r=this.options;a={minWidth:i(r.minWidth)?r.minWidth:0,maxWidth:i(r.maxWidth)?r.maxWidth:1/0,minHeight:i(r.minHeight)?r.minHeight:0,maxHeight:i(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||t)&&(e=a.minHeight*this.aspectRatio,n=a.minWidth/this.aspectRatio,s=a.maxHeight*this.aspectRatio,o=a.maxWidth/this.aspectRatio,e>a.minWidth&&(a.minWidth=e),n>a.minHeight&&(a.minHeight=n),a.maxWidth>s&&(a.maxWidth=s),a.maxHeight>o&&(a.maxHeight=o)),this._vBoundaries=a},_updateCache:function(t){this.offset=this.helper.offset(),i(t.left)&&(this.position.left=t.left),i(t.top)&&(this.position.top=t.top),i(t.height)&&(this.size.height=t.height),i(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,s=this.size,n=this.axis;return i(t.height)?t.width=t.height*this.aspectRatio:i(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(s.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(s.height-t.height),t.left=e.left+(s.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,s=this.axis,n=i(t.width)&&e.maxWidth&&e.maxWidtht.width,r=i(t.height)&&e.minHeight&&e.minHeight>t.height,h=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,c=/sw|nw|w/.test(s),u=/nw|ne|n/.test(s);return a&&(t.width=e.minWidth),r&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),a&&c&&(t.left=h-e.minWidth),n&&c&&(t.left=h-e.maxWidth),r&&u&&(t.top=l-e.minHeight),o&&u&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,s,n,o=this.helper||this.element;for(t=0;this._proportionallyResizeElements.length>t;t++){if(n=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],s=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],e=0;i.length>e;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(s[e],10)||0);n.css({height:o.height()-this.borderDif[0]-this.borderDif[2]||0,width:o.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
        "),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).data("ui-resizable"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&t.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,c=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var i,s,n,o,a,r,h,l=t(this).data("ui-resizable"),c=l.options,u=l.element,d=c.containment,p=d instanceof t?d.get(0):/parent/.test(d)?u.parent().get(0):d;p&&(l.containerElement=t(p),/document/.test(d)||d===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(i=t(p),s=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){s[t]=e(i.css("padding"+n))}),l.containerOffset=i.offset(),l.containerPosition=i.position(),l.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},n=l.containerOffset,o=l.containerSize.height,a=l.containerSize.width,r=t.ui.hasScroll(p,"left")?p.scrollWidth:a,h=t.ui.hasScroll(p)?p.scrollHeight:o,l.parentData={element:p,left:n.left,top:n.top,width:r,height:h}))},resize:function(e){var i,s,n,o,a=t(this).data("ui-resizable"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio),a.position.top=a._helper?h.top:0),a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top,i=Math.abs((a._helper?a.offset.left-u.left:a.offset.left-u.left)+a.sizeDiff.width),s=Math.abs((a._helper?a.offset.top-u.top:a.offset.top-h.top)+a.sizeDiff.height),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o&&(i-=a.parentData.left),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio))},stop:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=function(e){t(e).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})};"object"!=typeof i.alsoResize||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):t.each(i.alsoResize,function(t){s(t)})},resize:function(e,i){var s=t(this).data("ui-resizable"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0},h=function(e,s){t(e).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),o={},a=s&&s.length?s:e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(a,function(t,e){var i=(n[e]||0)+(r[e]||0);i&&i>=0&&(o[e]=i||null)}),e.css(o)})};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?h(n.alsoResize):t.each(n.alsoResize,function(t,e){h(t,e)})},stop:function(){t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data("ui-resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data("ui-resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,a=e.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,h=r[0]||1,l=r[1]||1,c=Math.round((s.width-n.width)/h)*h,u=Math.round((s.height-n.height)/l)*l,d=n.width+c,p=n.height+u,f=i.maxWidth&&d>i.maxWidth,g=i.maxHeight&&p>i.maxHeight,m=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=r,m&&(d+=h),v&&(p+=l),f&&(d-=h),g&&(p-=l),/^(se|s|e)$/.test(a)?(e.size.width=d,e.size.height=p):/^(ne)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.top=o.top-u):/^(sw)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.left=o.left-c):(e.size.width=d,e.size.height=p,e.position.top=o.top-u,e.position.left=o.left-c)}})}(jQuery),function(t){t.widget("ui.selectable",t.ui.mouse,{version:"1.10.3",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,i=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e=t(i.options.filter,i.element[0]),e.addClass("ui-selectee"),e.each(function(){var e=t(this),i=e.offset();t.data(this,"selectable-item",{element:this,$element:e,left:i.left,top:i.top,right:i.left+e.outerWidth(),bottom:i.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=t("
        ")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(e){var i=this,s=this.options;this.opos=[e.pageX,e.pageY],this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(s.$element.removeClass("ui-selected"),s.selected=!1,s.$element.addClass("ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,n=t.data(this,"selectable-item");return n?(s=!e.metaKey&&!e.ctrlKey||!n.$element.hasClass("ui-selected"),n.$element.removeClass(s?"ui-unselecting":"ui-selected").addClass(s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",e,{selecting:n.element}):i._trigger("unselecting",e,{unselecting:n.element}),!1):undefined}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,o=this.opos[0],a=this.opos[1],r=e.pageX,h=e.pageY;return o>r&&(i=r,r=o,o=i),a>h&&(i=h,h=a,a=i),this.helper.css({left:o,top:a,width:r-o,height:h-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),l=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?l=!(i.left>r||o>i.right||i.top>h||a>i.bottom):"fit"===n.tolerance&&(l=i.left>o&&r>i.right&&i.top>a&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,s._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-selecting").addClass("ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}function i(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}t.widget("ui.sortable",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===t.axis||i(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(e,i){"disabled"===e?(this.options[e]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var s=null,n=!1,o=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,o.widgetName+"-item")===o?(s=t(this),!1):undefined}),t.data(e.target,o.widgetName+"-item")===o&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=t("").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,o,a=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY=0;i--)if(s=this.items[i],n=s.item[0],o=this._intersectsWithPointer(s),o&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break; +this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||s+l>r&&h>s+l,d="y"===this.options.axis||e+c>o&&a>e+c,p=u&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:e+this.helperProportions.width/2>o&&a>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var i="x"===this.options.axis||e(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||e(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=i&&s,o=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return n?this.floating?a&&"right"===a||"down"===o?2:1:o&&("down"===o?2:1):!1},_intersectsWithSides:function(t){var i=e(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),s=e(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return this.floating&&o?"right"===o&&s||"left"===o&&!s:n&&("down"===n&&i||"up"===n&&!i)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,s,n,o,a=[],r=[],h=this._connectWith();if(h&&e)for(i=h.length-1;i>=0;i--)for(n=t(h[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&r.push([t.isFunction(o.options.items)?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(r.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=r.length-1;i>=0;i--)r[i][0].each(function(){a.push(this)});return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,o,a,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&(u.push([t.isFunction(o.options.items)?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(i=u.length-1;i>=0;i--)for(a=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",a),c.push({item:h,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,o;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),o=n.offset(),s.left=o.left,s.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)o=this.containers[i].element.offset(),this.containers[i].containerCache.left=o.left,this.containers[i].containerCache.top=o.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t("<"+s+">",e.document[0]).addClass(i||e.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===s?e.currentItem.children().each(function(){t(" ",e.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(n)}):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_contactContainers:function(s){var n,o,a,r,h,l,c,u,d,p,f=null,g=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&t.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],g=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",s,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[g].containerCache.over||(this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1);else{for(a=1e4,r=null,p=f.floating||i(this.currentItem),h=p?"left":"top",l=p?"width":"height",c=this.positionAbs[h]+this.offset.click[h],o=this.items.length-1;o>=0;o--)t.contains(this.containers[g].element[0],this.items[o].item[0])&&this.items[o].item[0]!==this.currentItem[0]&&(!p||e(this.positionAbs.top+this.offset.click.top,this.items[o].top,this.items[o].height))&&(u=this.items[o].item.offset()[h],d=!1,Math.abs(u-c)>Math.abs(u+this.items[o][l]-c)&&(d=!0,u+=this.items[o][l]),a>Math.abs(u-c)&&(a=Math.abs(u-c),r=this.items[o],this.direction=d?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[g])return;r?this._rearrange(s,r,null,!0):this._rearrange(s,null,this.containers[g].element,!0),this._trigger("change",s,this._uiHash()),this.containers[g]._trigger("change",s,this._uiHash(this)),this.currentContainer=this.containers[g],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,o=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.leftthis.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||s.push(function(t){return function(e){t._trigger("deactivate",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(function(t){return function(e){t._trigger("out",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})}(jQuery),function(t,e){var i="ui-effects-";t.effects={effect:{}},function(t,e){function i(t,e,i){var s=u[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(t,o){var a,r=o.re.exec(i),h=r&&o.parse(r),l=o.space||"rgba";return h?(a=s[l](h),s[c[l].cache]=a[c[l].cache],n=s._rgba=a._rgba,!1):e}),n.length?("0,0,0,0"===n.join()&&t.extend(n,o.transparent),s):o[i]}function n(t,e,i){return i=(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var o,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,i,s,n){return new t.Color.fn.parse(e,i,s,n)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("

        ")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,a,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=t(n).css(a),a=e);var u=this,d=t.type(n),p=this._rgba=[];return a!==e&&(n=[n,a,r,h],d="array"),"string"===d?this.parse(s(n)||o._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var o=s.cache;f(s.props,function(t,e){if(!u[o]&&s.to){if("alpha"===t||null==n[t])return;u[o]=s.to(u._rgba)}u[o][e.idx]=i(n[t],e,!0)}),u[o]&&0>t.inArray(null,u[o].slice(0,3))&&(u[o][3]=1,s.from&&(u._rgba=s.from(u[o])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,o){var a,r=i[o.cache];return r&&(a=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===a[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),o=c[n],a=0===this.alpha()?l("transparent"):this,r=a[o.cache]||o.to(a._rgba),h=r.slice();return s=s[o.cache],f(o.props,function(t,n){var o=n.idx,a=r[o],l=s[o],c=u[n.type]||{};null!==l&&(null===a?h[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),h[o]=i((l-a)*e+a,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,o=t[2]/255,a=t[3],r=Math.max(s,n,o),h=Math.min(s,n,o),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[Math.round(e)%360,i,u,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],o=t[3],a=.5>=s?s*(1+i):s+i-s*i,r=2*s-a;return[Math.round(255*n(r,a,e+1/3)),Math.round(255*n(r,a,e)),Math.round(255*n(r,a,e-1/3)),o]},f(c,function(s,n){var o=n.props,a=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[a]&&(this[a]=h(this._rgba)),s===e)return this[a].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[a].slice();return f(o,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[a]=d,n):l(d)},f(o,function(e,i){l.fn[e]||(l.fn[e]=function(n){var o,a=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===a?c:("function"===a&&(n=n.call(this,c),a=t.type(n)),null==n&&i.empty?this:("string"===a&&(o=r.exec(n),o&&(n=c+parseFloat(o[2])*("+"===o[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.cssHooks[i]={set:function(e,n){var o,a,r="";if("transparent"!==n&&("string"!==t.type(n)||(o=s(n)))){if(n=l(o||n),!d.rgba&&1!==n._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundColor"),a=a.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(a),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=t}),e}},o=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(e){var i,s,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,o={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(o[t.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(o[i]=n[i]);return o}function s(e,i){var s,n,a={};for(s in i)n=i[s],e[s]!==n&&(o[s]||(t.fx.step[s]||!isNaN(parseFloat(n)))&&(a[s]=n));return a}var n=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,o,a,r){var h=t.speed(o,a,r);return this.queue(function(){var o,a=t(this),r=a.attr("class")||"",l=h.children?a.find("*").addBack():a;l=l.map(function(){var e=t(this);return{el:e,start:i(this)}}),o=function(){t.each(n,function(t,i){e[i]&&a[i+"Class"](e[i])})},o(),l=l.map(function(){return this.end=i(this.el[0]),this.diff=s(this.start,this.end),this}),a.attr("class",r),l=l.map(function(){var e=this,i=t.Deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(a[0])})})},t.fn.extend({addClass:function(e){return function(i,s,n,o){return s?t.effects.animateClass.call(this,{add:i},s,n,o):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,s,n,o){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,o):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return function(s,n,o,a,r){return"boolean"==typeof n||n===e?o?t.effects.animateClass.call(this,n?{add:s}:{remove:s},o,a,r):i.apply(this,arguments):t.effects.animateClass.call(this,{toggle:s},n,o,a)}}(t.fn.toggleClass),switchClass:function(e,i,s,n,o){return t.effects.animateClass.call(this,{add:i,remove:e},s,n,o)}})}(),function(){function s(e,i,s,n){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isFunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function n(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.3",save:function(t,e){for(var s=0;e.length>s;s++)null!==e[s]&&t.data(i+e[s],t[0].style[e[s]])},restore:function(t,s){var n,o;for(o=0;s.length>o;o++)null!==s[o]&&(n=t.data(i+s[o]),n===e&&(n=""),t.css(s[o],n))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},s=t("

        ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},o=document.activeElement;try{o.id}catch(a){o=document.body}return e.wrap(s),(e[0]===o||t.contains(e[0],o))&&t(o).focus(),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var o=e.cssUnit(i);o[0]>0&&(n[i]=o[0]*s+o[1])}),n}}),t.fn.extend({effect:function(){function e(e){function s(){t.isFunction(o)&&o.call(n[0]),t.isFunction(e)&&e()}var n=t(this),o=i.complete,r=i.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),s()):a.call(n[0],i,s)}var i=s.apply(this,arguments),n=i.mode,o=i.queue,a=t.effects.effect[i.effect];return t.fx.off||!a?n?this[n](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):o===!1?this.each(e):this.queue(o||"fx",e)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(s=[parseFloat(i),e])}),s}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;((e=Math.pow(2,--i))-1)/11>t;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}()}(jQuery),function(t){var e=0,i={},s={};i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="hide",s.height=s.paddingTop=s.paddingBottom=s.borderTopWidth=s.borderBottomWidth="show",t.widget("ui.accordion",{version:"1.10.3",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t(),content:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons;e&&(t("").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons")) +},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?(this._activate(e),undefined):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e),undefined)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,s=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:o=this.headers[(n+1)%s];break;case i.LEFT:case i.UP:o=this.headers[(n-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:o=this.headers[0];break;case i.END:o=this.headers[s-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),o.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),e.active===!1&&e.collapsible===!0||!this.headers.length?(e.active=!1,this.active=t()):e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,s=this.options,n=s.heightStyle,o=this.element.parent(),a=this.accordionId="ui-accordion-"+(this.element.attr("id")||++e);this.active=this._findActive(s.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(e){var i=t(this),s=i.attr("id"),n=i.next(),o=n.attr("id");s||(s=a+"-header-"+e,i.attr("id",s)),o||(o=a+"-panel-"+e,n.attr("id",o)),i.attr("aria-controls",o),n.attr("aria-labelledby",s)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(s.event),"fill"===n?(i=o.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(i=0,this.headers.next().each(function(){i=Math.max(i,t(this).css("height","").height())}).height(i))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n[0]===s[0],a=o&&i.collapsible,r=a?t():n.next(),h=s.next(),l={oldHeader:s,oldPanel:h,newHeader:a?t():n,newPanel:r};e.preventDefault(),o&&!i.collapsible||this._trigger("beforeActivate",e,l)===!1||(i.active=a?!1:this.headers.index(n),this.active=o?t():n,this._toggle(l),s.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),o||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,s=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._toggleComplete(e)),s.attr({"aria-expanded":"false","aria-hidden":"true"}),s.prev().attr("aria-selected","false"),i.length&&s.length?s.prev().attr("tabIndex",-1):i.length&&this.headers.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,e,n){var o,a,r,h=this,l=0,c=t.length&&(!e.length||t.index()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,a="input"===n;this.isMultiLine=o?!0:a?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,undefined;e=!1,s=!1,i=!1;var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case o.UP:e=!0,this._keyEvent("previous",n);break;case o.DOWN:e=!0,this._keyEvent("next",n);break;case o.ENTER:case o.NUMPAD_ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),undefined;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),undefined):(this._searchTimeout(t),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(t),this._change(t),undefined)}}),this._initSource(),this.menu=t("
          ").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];t(e.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(s){s.target===e.element[0]||s.target===i||t.contains(i,s.target)||e.close()})})},menufocus:function(e,i){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),undefined;var s=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",e,{item:s})?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(s.value):this.liveRegion.text(s.value)},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=t("",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(t("").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[t](e),undefined):(this.search(null,e),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})}(jQuery),function(t){var e,i,s,n,o="ui-button ui-widget ui-state-default ui-corner-all",a="ui-state-hover ui-state-active ",r="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",h=function(){var e=t(this);setTimeout(function(){e.find(":ui-button").button("refresh")},1)},l=function(e){var i=e.name,s=e.form,n=t([]);return i&&(i=i.replace(/'/g,"\\'"),n=s?t(s).find("[name='"+i+"']"):t("[name='"+i+"']",e.ownerDocument).filter(function(){return!this.form})),n};t.widget("ui.button",{version:"1.10.3",defaultElement:"").addClass(this._triggerClass).html(o?t("").attr({src:o,alt:n,title:n}):n)),e[r?"before":"after"](i.trigger),i.trigger.click(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,s,n,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,s=0,n=0;t.length>n;n++)t[n].length>i&&(i=t[n].length,s=n);return s},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(e,i){var s=t(e);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),t.data(e,a,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,s,o,r){var h,l,c,u,d,p=this._dialogInst;return p||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=t(""),this._dialogInput.keydown(this._doKeyDown),t("body").append(this._dialogInput),p=this._dialogInst=this._newInst(this._dialogInput,!1),p.settings={},t.data(this._dialogInput[0],a,p)),n(p.settings,o||{}),i=i&&i.constructor===Date?this._formatDate(p,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(l=document.documentElement.clientWidth,c=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+u,c/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],a,p),this},_destroyDatepicker:function(e){var i,s=t(e),n=t.data(e,a);s.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,a),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,a);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!1,o.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,a);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!0,o.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,a)}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(i,s,o){var a,r,h,l,c=this._getInst(i);return 2===arguments.length&&"string"==typeof s?"defaults"===s?t.extend({},t.datepicker._defaults):c?"all"===s?t.extend({},c.settings):this._get(c,s):null:(a=s||{},"string"==typeof s&&(a={},a[s]=o),c&&(this._curInst===c&&this._hideDatepicker(),r=this._getDateDatepicker(i,!0),h=this._getMinMaxDate(c,"min"),l=this._getMinMaxDate(c,"max"),n(c.settings,a),null!==h&&a.dateFormat!==e&&a.minDate===e&&(c.settings.minDate=this._formatDate(c,h)),null!==l&&a.dateFormat!==e&&a.maxDate===e&&(c.settings.maxDate=this._formatDate(c,l)),"disabled"in a&&(a.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(t(i),c),this._autoSize(c),this._setDate(c,r),this._updateAlternate(c),this._updateDatepicker(c)),e)},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,s,n,o=t.datepicker._getInst(e.target),a=!0,r=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),a=!1;break;case 13:return n=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",o.dpDiv),n[0]&&t.datepicker._selectDay(e.target,o.selectedMonth,o.selectedYear,n[0]),i=t.datepicker._get(o,"onSelect"),i?(s=t.datepicker._formatDate(o),i.apply(o.input?o.input[0]:null,[s,o])):t.datepicker._hideDatepicker(),!1; +case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(i){var s,n,o=t.datepicker._getInst(i.target);return t.datepicker._get(o,"constrainInput")?(s=t.datepicker._possibleChars(t.datepicker._get(o,"dateFormat")),n=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">n||!s||s.indexOf(n)>-1):e},_doKeyUp:function(e){var i,s=t.datepicker._getInst(e.target);if(s.input.val()!==s.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,t.datepicker._getFormatConfig(s)),i&&(t.datepicker._setDateFromField(s),t.datepicker._updateAlternate(s),t.datepicker._updateDatepicker(s))}catch(n){}return!0},_showDatepicker:function(e){if(e=e.target||e,"input"!==e.nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var i,s,o,a,r,h,l;i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),s=t.datepicker._get(i,"beforeShow"),o=s?s.apply(e,[e,i]):{},o!==!1&&(n(i.settings,o),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),a=!1,t(e).parents().each(function(){return a|="fixed"===t(this).css("position"),!a}),r={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),r=t.datepicker._checkOffset(i,r,a),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":a?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),i.inline||(h=t.datepicker._get(i,"showAnim"),l=t.datepicker._get(i,"duration"),i.dpDiv.zIndex(t(e).zIndex()+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[h]?i.dpDiv.show(h,t.datepicker._get(i,"showOptions"),l):i.dpDiv[h||"show"](h?l:null),t.datepicker._shouldFocusInput(i)&&i.input.focus(),t.datepicker._curInst=i))}},_updateDatepicker:function(e){this.maxRows=4,o=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,s=this._getNumberOfMonths(e),n=s[1],a=17;e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",a*n+"em"),e.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,s){var n=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:t(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?n-a:0,i.left-=s&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=s&&i.top===e.input.offset().top+r?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+o>l&&l>o?Math.abs(o+r):0),i},_findPos:function(e){for(var i,s=this._getInst(e),n=this._get(s,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,s,n,o,r=this._curInst;!r||e&&r!==t.data(e,a)||this._datepickerShowing&&(i=this._get(r,"showAnim"),s=this._get(r,"duration"),n=function(){t.datepicker._tidyDialog(r)},t.effects&&(t.effects.effect[i]||t.effects[i])?r.dpDiv.hide(i,t.datepicker._get(r,"showOptions"),s,n):r.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,o=this._get(r,"onClose"),o&&o.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),s=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents("#"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==s)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,s){var n=t(e),o=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(o,i+("M"===s?this._get(o,"showCurrentAtPos"):0),s),this._updateDatepicker(o))},_gotoToday:function(e){var i,s=t(e),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(e,i,s){var n=t(e),o=this._getInst(n[0]);o["selected"+("M"===s?"Month":"Year")]=o["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(n)},_selectDay:function(e,i,s,n){var o,a=t(e);t(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||(o=this._getInst(a[0]),o.selectedDay=o.currentDay=t("a",n).html(),o.selectedMonth=o.currentMonth=i,o.selectedYear=o.currentYear=s,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var s,n=t(e),o=this._getInst(n[0]);i=null!=i?i:this._formatDate(o),o.input&&o.input.val(i),this._updateAlternate(o),s=this._get(o,"onSelect"),s?s.apply(o.input?o.input[0]:null,[i,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var i,s,n,o=this._get(e,"altField");o&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),s=this._getDate(e),n=this.formatDate(i,s,this._getFormatConfig(e)),t(o).each(function(){t(this).val(n)}))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(i,s,n){if(null==i||null==s)throw"Invalid arguments";if(s="object"==typeof s?""+s:s+"",""===s)return null;var o,a,r,h,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),d=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,p=(n?n.dayNames:null)||this._defaults.dayNames,f=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,g=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,v=-1,_=-1,b=-1,y=!1,w=function(t){var e=i.length>o+1&&i.charAt(o+1)===t;return e&&o++,e},k=function(t){var e=w(t),i="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,n=RegExp("^\\d{1,"+i+"}"),o=s.substring(l).match(n);if(!o)throw"Missing number at position "+l;return l+=o[0].length,parseInt(o[0],10)},x=function(i,n,o){var a=-1,r=t.map(w(i)?o:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(r,function(t,i){var n=i[1];return s.substr(l,n.length).toLowerCase()===n.toLowerCase()?(a=i[0],l+=n.length,!1):e}),-1!==a)return a+1;throw"Unknown name at position "+l},D=function(){if(s.charAt(l)!==i.charAt(o))throw"Unexpected literal at position "+l;l++};for(o=0;i.length>o;o++)if(y)"'"!==i.charAt(o)||w("'")?D():y=!1;else switch(i.charAt(o)){case"d":_=k("d");break;case"D":x("D",d,p);break;case"o":b=k("o");break;case"m":v=k("m");break;case"M":v=x("M",f,g);break;case"y":m=k("y");break;case"@":h=new Date(k("@")),m=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"!":h=new Date((k("!")-this._ticksTo1970)/1e4),m=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"'":w("'")?D():y=!0;break;default:D()}if(s.length>l&&(r=s.substr(l),!/^\s+/.test(r)))throw"Extra/unparsed characters found in date: "+r;if(-1===m?m=(new Date).getFullYear():100>m&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=m?0:-100)),b>-1)for(v=1,_=b;;){if(a=this._getDaysInMonth(m,v-1),a>=_)break;v++,_-=a}if(h=this._daylightSavingAdjust(new Date(m,v-1,_)),h.getFullYear()!==m||h.getMonth()+1!==v||h.getDate()!==_)throw"Invalid date";return h},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,i){if(!e)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,h=function(e){var i=t.length>s+1&&t.charAt(s+1)===e;return i&&s++,i},l=function(t,e,i){var s=""+e;if(h(t))for(;i>s.length;)s="0"+s;return s},c=function(t,e,i,s){return h(t)?s[e]:i[e]},u="",d=!1;if(e)for(s=0;t.length>s;s++)if(d)"'"!==t.charAt(s)||h("'")?u+=t.charAt(s):d=!1;else switch(t.charAt(s)){case"d":u+=l("d",e.getDate(),2);break;case"D":u+=c("D",e.getDay(),n,o);break;case"o":u+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=l("m",e.getMonth()+1,2);break;case"M":u+=c("M",e.getMonth(),a,r);break;case"y":u+=h("y")?e.getFullYear():(10>e.getYear()%100?"0":"")+e.getYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":h("'")?u+="'":d=!0;break;default:u+=t.charAt(s)}return u},_possibleChars:function(t){var e,i="",s=!1,n=function(i){var s=t.length>e+1&&t.charAt(e+1)===i;return s&&e++,s};for(e=0;t.length>e;e++)if(s)"'"!==t.charAt(e)||n("'")?i+=t.charAt(e):s=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,i){return t.settings[i]!==e?t.settings[i]:this._defaults[i]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),o=n,a=this._getFormatConfig(t);try{o=this.parseDate(i,s,a)||n}catch(r){s=e?"":s}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=s?o.getDate():0,t.currentMonth=s?o.getMonth():0,t.currentYear=s?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,s){var n=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},o=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=n.getFullYear(),a=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":a+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a));break;case"y":case"Y":o+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a))}l=h.exec(i)}return new Date(o,a,r)},a=null==i||""===i?s:"string"==typeof i?o(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return a=a&&"Invalid Date"==""+a?s:a,a&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),n===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),s="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(s,-i,"M")},next:function(){t.datepicker._adjustDate(s,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(s)},selectDay:function(){return t.datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(s,this,"Y"),!1}};t(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,s,n,o,a,r,h,l,c,u,d,p,f,g,m,v,_,b,y,w,k,x,D,C,I,P,T,M,S,z,A,H,E,N,W,O,F,R,L=new Date,j=this._daylightSavingAdjust(new Date(L.getFullYear(),L.getMonth(),L.getDate())),Y=this._get(t,"isRTL"),B=this._get(t,"showButtonPanel"),V=this._get(t,"hideIfNoPrevNext"),K=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),q=this._get(t,"showCurrentAtPos"),Q=this._get(t,"stepMonths"),X=1!==U[0]||1!==U[1],$=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),J=this._getMinMaxDate(t,"max"),Z=t.drawMonth-q,te=t.drawYear;if(0>Z&&(Z+=12,te--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),e=G&&G>e?G:e;this._daylightSavingAdjust(new Date(te,Z,1))>e;)Z--,0>Z&&(Z=11,te--);for(t.drawMonth=Z,t.drawYear=te,i=this._get(t,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(te,Z-Q,1)),this._getFormatConfig(t)):i,s=this._canAdjustMonth(t,-1,te,Z)?""+i+"":V?"":""+i+"",n=this._get(t,"nextText"),n=K?this.formatDate(n,this._daylightSavingAdjust(new Date(te,Z+Q,1)),this._getFormatConfig(t)):n,o=this._canAdjustMonth(t,1,te,Z)?""+n+"":V?"":""+n+"",a=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?$:j,a=K?this.formatDate(a,r,this._getFormatConfig(t)):a,h=t.inline?"":"",l=B?"
          "+(Y?h:"")+(this._isInRange(t,r)?"":"")+(Y?"":h)+"
          ":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),_=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),y="",k=0;U[0]>k;k++){for(x="",this.maxRows=4,D=0;U[1]>D;D++){if(C=this._daylightSavingAdjust(new Date(te,Z,t.selectedDay)),I=" ui-corner-all",P="",X){if(P+="
          "}for(P+="
          "+(/all|left/.test(I)&&0===k?Y?o:s:"")+(/all|right/.test(I)&&0===k?Y?s:o:"")+this._generateMonthYearHeader(t,Z,te,G,J,k>0||D>0,f,g)+"
          "+"",T=u?"":"",w=0;7>w;w++)M=(w+c)%7,T+="=5?" class='ui-datepicker-week-end'":"")+">"+""+p[M]+"";for(P+=T+"",S=this._getDaysInMonth(te,Z),te===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),z=(this._getFirstDayOfMonth(te,Z)-c+7)%7,A=Math.ceil((z+S)/7),H=X?this.maxRows>A?this.maxRows:A:A,this.maxRows=H,E=this._daylightSavingAdjust(new Date(te,Z,1-z)),N=0;H>N;N++){for(P+="",W=u?"":"",w=0;7>w;w++)O=m?m.apply(t.input?t.input[0]:null,[E]):[!0,""],F=E.getMonth()!==Z,R=F&&!_||!O[0]||G&&G>E||J&&E>J,W+="",E.setDate(E.getDate()+1),E=this._daylightSavingAdjust(E);P+=W+""}Z++,Z>11&&(Z=0,te++),P+="
          "+this._get(t,"weekHeader")+"
          "+this._get(t,"calculateWeek")(E)+""+(F&&!v?" ":R?""+E.getDate()+"":""+E.getDate()+"")+"
          "+(X?"
          "+(U[0]>0&&D===U[1]-1?"
          ":""):""),x+=P}y+=x}return y+=l,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var h,l,c,u,d,p,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),_=this._get(t,"showMonthAfterYear"),b="
          ",y="";if(o||!m)y+=""+a[e]+"";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,y+=""}if(_||(b+=y+(!o&&m&&v?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!v)b+=""+i+"";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(u[0]),g=Math.max(f,p(u[1]||"")),f=s?Math.max(f,s.getFullYear()):f,g=n?Math.min(g,n.getFullYear()):g,t.yearshtml+="",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),_&&(b+=(!o&&m&&v?"":" ")+y),b+="
          "},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"===i?e:0),n=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,s+(0>e?e:n[0]*n[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,s,n=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,h=this._get(t,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||e.getTime()>=n.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||r>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.10.3"}(jQuery),function(t){var e={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};t.widget("ui.dialog",{version:"1.10.3",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;0>i&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger("beforeClose",e)!==!1&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||t(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger("focus",t),i},open:function(){var e=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._trigger("open"),undefined)},_focusTabbable:function(){var t=this.element.find("[autofocus]");t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(e){function i(){var e=this.document[0].activeElement,i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);i||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t("
          ").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),this.close(e),undefined;if(e.keyCode===t.ui.keyCode.TAB){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==s[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(n.focus(1),e.preventDefault()):(s.focus(1),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("
          ").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=t("").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title||t.html(" "),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t("
          ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("
          ").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(t.each(i,function(i,s){var n,o;s=t.isFunction(s)?{click:s,text:i}:s,s=t.extend({type:"button"},s),n=s.click,s.click=function(){n.apply(e.element[0],arguments)},o={icons:s.icons,text:s.showText},delete s.icons,delete s.showText,t("",s).button(o).appendTo(e.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){t(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,e(n))},drag:function(t,s){i._trigger("drag",t,e(s))},stop:function(n,o){s.position=[o.position.left-i.document.scrollLeft(),o.position.top-i.document.scrollTop()],t(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,e(o))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size} +}var i=this,s=this.options,n=s.resizable,o=this.uiDialog.css("position"),a="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:a,start:function(s,n){t(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,e(n))},resize:function(t,s){i._trigger("resize",t,e(s))},stop:function(n,o){s.height=t(this).height(),s.width=t(this).width(),t(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,e(o))}}).css("position",o)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(s){var n=this,o=!1,a={};t.each(s,function(t,s){n._setOption(t,s),t in e&&(o=!0),t in i&&(a[t]=s)}),o&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",a)},_setOption:function(t,e){var i,s,n=this.uiDialog;"dialogClass"===t&&n.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&(i=n.is(":data(ui-draggable)"),i&&!e&&n.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&(s=n.is(":data(ui-resizable)"),s&&!e&&n.resizable("destroy"),s&&"string"==typeof e&&n.resizable("option","handles",e),s||e===!1||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("
          ").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;t.ui.dialog.overlayInstances||this._delay(function(){t.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(s){e._allowInteraction(s)||(s.preventDefault(),t(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=t("
          ").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),t.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(t.ui.dialog.overlayInstances--,t.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),t.ui.dialog.overlayInstances=0,t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{_position:function(){var e,i=this.options.position,s=[],n=[0,0];i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(s=i.split?i.split(" "):[i[0],i[1]],1===s.length&&(s[1]=s[0]),t.each(["left","top"],function(t,e){+s[t]===s[t]&&(n[t]=s[t],s[t]=e)}),i={my:s[0]+(0>n[0]?n[0]:"+"+n[0])+" "+s[1]+(0>n[1]?n[1]:"+"+n[1]),at:s.join(" ")}),i=t.extend({},t.ui.dialog.prototype.options.position,i)):i=t.ui.dialog.prototype.options.position,e=this.uiDialog.is(":visible"),e||this.uiDialog.show(),this.uiDialog.position(i),e||this.uiDialog.hide()}})}(jQuery),function(t){var e=/up|down|vertical/,i=/up|left|vertical|horizontal/;t.effects.effect.blind=function(s,n){var o,a,r,h=t(this),l=["position","top","bottom","left","right","height","width"],c=t.effects.setMode(h,s.mode||"hide"),u=s.direction||"up",d=e.test(u),p=d?"height":"width",f=d?"top":"left",g=i.test(u),m={},v="show"===c;h.parent().is(".ui-effects-wrapper")?t.effects.save(h.parent(),l):t.effects.save(h,l),h.show(),o=t.effects.createWrapper(h).css({overflow:"hidden"}),a=o[p](),r=parseFloat(o.css(f))||0,m[p]=v?a:0,g||(h.css(d?"bottom":"right",0).css(d?"top":"left","auto").css({position:"absolute"}),m[f]=v?r:a+r),v&&(o.css(p,0),g||o.css(f,r+a)),o.animate(m,{duration:s.duration,easing:s.easing,queue:!1,complete:function(){"hide"===c&&h.hide(),t.effects.restore(h,l),t.effects.removeWrapper(h),n()}})}}(jQuery),function(t){t.effects.effect.bounce=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"effect"),l="hide"===h,c="show"===h,u=e.direction||"up",d=e.distance,p=e.times||5,f=2*p+(c||l?1:0),g=e.duration/f,m=e.easing,v="up"===u||"down"===u?"top":"left",_="up"===u||"left"===u,b=a.queue(),y=b.length;for((c||l)&&r.push("opacity"),t.effects.save(a,r),a.show(),t.effects.createWrapper(a),d||(d=a["top"===v?"outerHeight":"outerWidth"]()/3),c&&(o={opacity:1},o[v]=0,a.css("opacity",0).css(v,_?2*-d:2*d).animate(o,g,m)),l&&(d/=Math.pow(2,p-1)),o={},o[v]=0,s=0;p>s;s++)n={},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m).animate(o,g,m),d=l?2*d:d/2;l&&(n={opacity:0},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m)),a.queue(function(){l&&a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}),y>1&&b.splice.apply(b,[1,0].concat(b.splice(y,f+1))),a.dequeue()}}(jQuery),function(t){t.effects.effect.clip=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"hide"),l="show"===h,c=e.direction||"vertical",u="vertical"===c,d=u?"height":"width",p=u?"top":"left",f={};t.effects.save(a,r),a.show(),s=t.effects.createWrapper(a).css({overflow:"hidden"}),n="IMG"===a[0].tagName?s:a,o=n[d](),l&&(n.css(d,0),n.css(p,o/2)),f[d]=l?o:0,f[p]=l?0:o/2,n.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.drop=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","opacity","height","width"],a=t.effects.setMode(n,e.mode||"hide"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h?"pos":"neg",u={opacity:r?1:0};t.effects.save(n,o),n.show(),t.effects.createWrapper(n),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===c?-s:s),u[l]=(r?"pos"===c?"+=":"-=":"pos"===c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),g||p.hide(),i()}var o,a,r,h,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f=t.effects.setMode(p,e.mode||"hide"),g="show"===f,m=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/d),_=Math.ceil(p.outerHeight()/u),b=[];for(o=0;u>o;o++)for(h=m.top+o*_,c=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*v,l=a-(d-1)/2,p.clone().appendTo("body").wrap("
          ").css({position:"absolute",visibility:"visible",left:-a*v,top:-o*_}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:_,left:r+(g?l*v:0),top:h+(g?c*_:0),opacity:g?0:1}).animate({left:r+(g?0:l*v),top:h+(g?0:c*_),opacity:g?1:0},e.duration||500,e.easing,s)}}(jQuery),function(t){t.effects.effect.fade=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}}(jQuery),function(t){t.effects.effect.fold=function(e,i){var s,n,o=t(this),a=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(o,e.mode||"hide"),h="show"===r,l="hide"===r,c=e.size||15,u=/([0-9]+)%/.exec(c),d=!!e.horizFirst,p=h!==d,f=p?["width","height"]:["height","width"],g=e.duration/2,m={},v={};t.effects.save(o,a),o.show(),s=t.effects.createWrapper(o).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],u&&(c=parseInt(u[1],10)/100*n[l?0:1]),h&&s.css(d?{height:0,width:c}:{height:c,width:0}),m[f[0]]=h?n[0]:c,v[f[1]]=h?n[1]:0,s.animate(m,g,e.easing).animate(v,g,e.easing,function(){l&&o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),i()})}}(jQuery),function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],o=t.effects.setMode(s,e.mode||"show"),a={backgroundColor:s.css("backgroundColor")};"hide"===o&&(a.opacity=0),t.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&s.hide(),t.effects.restore(s,n),i()}})}}(jQuery),function(t){t.effects.effect.pulsate=function(e,i){var s,n=t(this),o=t.effects.setMode(n,e.mode||"show"),a="show"===o,r="hide"===o,h=a||"hide"===o,l=2*(e.times||5)+(h?1:0),c=e.duration/l,u=0,d=n.queue(),p=d.length;for((a||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),s=1;l>s;s++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,l+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.puff=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"hide"),o="hide"===n,a=parseInt(e.percent,10)||150,r=a/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};t.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:o?a:100,from:o?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(e)},t.effects.effect.scale=function(e,i){var s=t(this),n=t.extend(!0,{},e),o=t.effects.setMode(s,e.mode||"effect"),a=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===o?0:100),r=e.direction||"both",h=e.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},c={y:"horizontal"!==r?a/100:1,x:"vertical"!==r?a/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==o&&(n.origin=h||["middle","center"],n.restore=!0),n.from=e.from||("show"===o?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*c.y,width:l.width*c.x,outerHeight:l.outerHeight*c.y,outerWidth:l.outerWidth*c.x},n.fade&&("show"===o&&(n.from.opacity=0,n.to.opacity=1),"hide"===o&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},t.effects.effect.size=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],c=["fontSize"],u=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],d=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=t.effects.setMode(a,e.mode||"effect"),f=e.restore||"effect"!==p,g=e.scale||"both",m=e.origin||["middle","center"],v=a.css("position"),_=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&a.show(),s={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},"toggle"===e.mode&&"show"===p?(a.from=e.to||b,a.to=e.from||s):(a.from=e.from||("show"===p?b:s),a.to=e.to||("hide"===p?b:s)),o={from:{y:a.from.height/s.height,x:a.from.width/s.width},to:{y:a.to.height/s.height,x:a.to.width/s.width}},("box"===g||"both"===g)&&(o.from.y!==o.to.y&&(_=_.concat(u),a.from=t.effects.setTransition(a,u,o.from.y,a.from),a.to=t.effects.setTransition(a,u,o.to.y,a.to)),o.from.x!==o.to.x&&(_=_.concat(d),a.from=t.effects.setTransition(a,d,o.from.x,a.from),a.to=t.effects.setTransition(a,d,o.to.x,a.to))),("content"===g||"both"===g)&&o.from.y!==o.to.y&&(_=_.concat(c).concat(l),a.from=t.effects.setTransition(a,c,o.from.y,a.from),a.to=t.effects.setTransition(a,c,o.to.y,a.to)),t.effects.save(a,_),a.show(),t.effects.createWrapper(a),a.css("overflow","hidden").css(a.from),m&&(n=t.effects.getBaseline(m,s),a.from.top=(s.outerHeight-a.outerHeight())*n.y,a.from.left=(s.outerWidth-a.outerWidth())*n.x,a.to.top=(s.outerHeight-a.to.outerHeight)*n.y,a.to.left=(s.outerWidth-a.to.outerWidth)*n.x),a.css(a.from),("content"===g||"both"===g)&&(u=u.concat(["marginTop","marginBottom"]).concat(c),d=d.concat(["marginLeft","marginRight"]),l=r.concat(u).concat(d),a.find("*[width]").each(function(){var i=t(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&t.effects.save(i,l),i.from={height:s.height*o.from.y,width:s.width*o.from.x,outerHeight:s.outerHeight*o.from.y,outerWidth:s.outerWidth*o.from.x},i.to={height:s.height*o.to.y,width:s.width*o.to.x,outerHeight:s.height*o.to.y,outerWidth:s.width*o.to.x},o.from.y!==o.to.y&&(i.from=t.effects.setTransition(i,u,o.from.y,i.from),i.to=t.effects.setTransition(i,u,o.to.y,i.to)),o.from.x!==o.to.x&&(i.from=t.effects.setTransition(i,d,o.from.x,i.from),i.to=t.effects.setTransition(i,d,o.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,e.easing,function(){f&&t.effects.restore(i,l)})})),a.animate(a.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===a.to.opacity&&a.css("opacity",a.from.opacity),"hide"===p&&a.hide(),t.effects.restore(a,_),f||("static"===v?a.css({position:"relative",top:a.to.top,left:a.to.left}):t.each(["top","left"],function(t,e){a.css(e,function(e,i){var s=parseInt(i,10),n=t?a.to.left:a.to.top;return"auto"===i?n+"px":s+n+"px"})})),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",h=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},g={},m={},v=n.queue(),_=v.length;for(t.effects.save(n,o),n.show(),t.effects.createWrapper(n),f[d]=(p?"-=":"+=")+h,g[d]=(p?"+=":"-=")+2*h,m[d]=(p?"-=":"+=")+2*h,n.animate(f,u,e.easing),s=1;l>s;s++)n.animate(g,u,e.easing).animate(m,u,e.easing);n.animate(g,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}),_>1&&v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.slide=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","width","height"],a=t.effects.setMode(n,e.mode||"show"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u={};t.effects.save(n,o),n.show(),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,c?isNaN(s)?"-"+s:-s:s),u[l]=(r?c?"+=":"-=":c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.transfer=function(e,i){var s=t(this),n=t(e.to),o="fixed"===n.css("position"),a=t("body"),r=o?a.scrollTop():0,h=o?a.scrollLeft():0,l=n.offset(),c={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},u=s.offset(),d=t("
          ").appendTo(document.body).addClass(e.className).css({top:u.top-r,left:u.left-h,height:s.innerHeight(),width:s.innerWidth(),position:o?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),i()})}}(jQuery),function(t){t.widget("ui.menu",{version:"1.10.3",defaultElement:"
            ",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(e),i.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,o,a,r,h=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:h=!1,n=this.previousFilter||"",o=String.fromCharCode(e.keyCode),a=!1,clearTimeout(this.filterTimer),o===n?a=!0:o=n+o,r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=a&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(o=String.fromCharCode(e.keyCode),r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}h&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()
          "),a=n.children()[0];return t("body").append(n),i=a.offsetWidth,n.css("overflow","scroll"),s=a.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),o=i-s},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),s=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widths?"left":i>0?"right":"center",vertical:0>o?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(h.horizontal="center"),d>g&&g>r(n+o)&&(h.vertical="middle"),h.important=a(r(i),r(s))>a(r(n),r(o))?"horizontal":"vertical",e.using.call(this,t,h)}),c.offset(t.extend(I,{using:l}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,o=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-o-n;e.collisionWidth>o?h>0&&0>=l?(i=t.left+h+e.collisionWidth-o-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+o-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=a(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,o=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-o-n;e.collisionHeight>o?h>0&&0>=l?(i=t.top+h+e.collisionHeight-o-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+o-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=a(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,a=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-a-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-a-o,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,a=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-a-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-a-o,t.top+p+f+g>c&&(0>s||r(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-h,t.top+p+f+g>u&&(i>0||u>r(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,o,a=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(a?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},a&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in s)e.style[o]=s[o];e.appendChild(r),i=a||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()}(jQuery),function(t,e){t.widget("ui.progressbar",{version:"1.10.3",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=t("
          ").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove() +},value:function(t){return t===e?this.options.value:(this.options.value=this._constrainedValue(t),this._refreshValue(),e)},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("
          ").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}})}(jQuery),function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),o="",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("
          ").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,o,a,r,h,l,c=this,u=this.options;return u.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-c.values(e));(n>i||n===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=a,o.addClass("ui-state-active").focus(),h=o.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-o.width()/2,top:e.pageY-h.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),o=this._valueMin()+s*n,this._trimAlignValue(o)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,o;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,o=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),o!==!1&&this.values(e,i,!0))):i!==this.value()&&(o=this._trigger("slide",t,{handle:this.handles[e],value:i}),o!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,o;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,o,a=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),c["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](c,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?100*((s-n)/(o-n)):0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,o,a,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(a=this.options.step,n=o=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:o=this._valueMin();break;case t.ui.keyCode.END:o=this._valueMax();break;case t.ui.keyCode.PAGE_UP:o=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;o=this._trimAlignValue(n+a);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;o=this._trimAlignValue(n-a)}this._slide(i,r,o)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})}(jQuery),function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.10.3",defaultElement:"",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);void 0!==n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return""},_buttonHtml:function(){return""+""+""+""+""},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,this.element.val(this._format(i)),void 0}("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(e(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})}(jQuery),function(t,e){function i(){return++n}function s(t){return t.hash.length>1&&decodeURIComponent(t.href.replace(o,""))===decodeURIComponent(location.href.replace(o,""))}var n=0,o=/#.*$/;t.widget("ui.tabs",{version:"1.10.3",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var i=this.options.active,s=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(s,o){return t(o).attr("aria-controls")===n?(i=s,!1):e}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=this.tabs.length?0:!1)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),-1===i&&(i=s?!1:0)),!s&&i===!1&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(i){var s=t(this.document[0].activeElement).closest("li"),n=this.tabs.index(s),o=!0;if(!this._handlePageNav(i)){switch(i.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return i.preventDefault(),clearTimeout(this.activating),this._activate(n),e;case t.ui.keyCode.ENTER:return i.preventDefault(),clearTimeout(this.activating),this._activate(n===this.options.active?!1:n),e;default:return}i.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,o),i.ctrlKey||(s.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(i){return i.altKey&&i.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):i.altKey&&i.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):e},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,i){return"active"===t?(this._activate(i),e):"disabled"===t?(this._setupDisabled(i),e):(this._super(t,i),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",i),i||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(i),"heightStyle"===t&&this._setupHeightStyle(i),e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,n){var o,a,r,h=t(n).uniqueId().attr("id"),l=t(n).closest("li"),c=l.attr("aria-controls");s(n)?(o=n.hash,a=e.element.find(e._sanitizeSelector(o))):(r=e._tabId(l),o="#"+r,a=e.element.find(o),a.length||(a=e._createPanel(r),a.insertAfter(e.panels[i-1]||e.tablist)),a.attr("aria-live","polite")),a.length&&(e.panels=e.panels.add(a)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":o.substring(1),"aria-labelledby":h}),a.attr("aria-labelledby",h)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(e){return t("
          ").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,s=0;i=this.tabs[s];s++)e===!0||-1!==t.inArray(s,e)?t(i).addClass("ui-state-disabled").attr("aria-disabled","true"):t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n.closest("li"),a=o[0]===s[0],r=a&&i.collapsible,h=r?t():this._getPanelForTab(o),l=s.length?this._getPanelForTab(s):t(),c={oldTab:s,oldPanel:l,newTab:r?t():o,newPanel:h};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||a&&!i.collapsible||this._trigger("beforeActivate",e,c)===!1||(i.active=r?!1:this.tabs.index(o),this.active=a?t():o,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){function s(){o.running=!1,o._trigger("activate",e,i)}function n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),a.length&&o.options.show?o._show(a,o.options.show,s):(a.show(),s())}var o=this,a=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr({"aria-expanded":"false","aria-hidden":"true"}),i.oldTab.attr("aria-selected","false"),a.length&&r.length?i.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr({"aria-expanded":"true","aria-hidden":"false"}),i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var s=this.options.disabled;s!==!1&&(i===e?s=!1:(i=this._getIndex(i),s=t.isArray(s)?t.map(s,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(s))},disable:function(i){var s=this.options.disabled;if(s!==!0){if(i===e)s=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,s))return;s=t.isArray(s)?t.merge([i],s).sort():[i]}this._setupDisabled(s)}},load:function(e,i){e=this._getIndex(e);var n=this,o=this.tabs.eq(e),a=o.find(".ui-tabs-anchor"),r=this._getPanelForTab(o),h={tab:o,panel:r};s(a[0])||(this.xhr=t.ajax(this._ajaxSettings(a,i,h)),this.xhr&&"canceled"!==this.xhr.statusText&&(o.addClass("ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){r.html(t),n._trigger("load",i,h)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&n.panels.stop(!1,!0),o.removeClass("ui-tabs-loading"),r.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href"),beforeSend:function(e,o){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}})}(jQuery),function(t){function e(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))}function i(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")}var s=0;t.widget("ui.tooltip",{version:"1.10.3",options:{content:function(){var e=t(this).attr("title")||"";return t("").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var s=this;return"disabled"===e?(this[i?"_disable":"_enable"](),this.options[e]=i,void 0):(this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e)}),void 0)},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof s?this._open(e,t,s):(i=s.call(t[0],function(i){t.data("ui-tooltip-open")&&n._delay(function(){e&&(e.type=o),this._open(e,t,i)})}),i&&this._open(e,t,i),void 0)},_open:function(i,s,n){function o(t){l.of=t,a.is(":hidden")||a.position(l)}var a,r,h,l=t.extend({},this.options.position); +if(n){if(a=this._find(s),a.length)return a.find(".ui-tooltip-content").html(n),void 0;s.is("[title]")&&(i&&"mouseover"===i.type?s.attr("title",""):s.removeAttr("title")),a=this._tooltip(s),e(s,a.attr("id")),a.find(".ui-tooltip-content").html(n),this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:o}),o(i)):a.position(t.extend({of:s},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){a.is(":visible")&&(o(l.of),clearInterval(h))},t.fx.interval)),this._trigger("open",i,{tooltip:a}),r={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=s[0],this.close(i,!0)}},remove:function(){this._removeTooltip(a)}},i&&"mouseover"!==i.type||(r.mouseleave="close"),i&&"focusin"!==i.type||(r.focusout="close"),this._on(!0,s,r)}},close:function(e){var s=this,n=t(e?e.currentTarget:this.element),o=this._find(n);this.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&n.attr("title",n.data("ui-tooltip-title")),i(n),o.stop(!0),this._hide(o,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:o}),this.closing=!1)},_tooltip:function(e){var i="ui-tooltip-"+s++,n=t("
          ").attr({id:i,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return t("
          ").addClass("ui-tooltip-content").appendTo(n),n.appendTo(this.document[0].body),this.tooltips[i]=e,n},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0),t("#"+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))})}})}(jQuery); \ No newline at end of file diff --git a/static/scripts/jquery.js b/static/scripts/jquery.js new file mode 100644 index 0000000..76d21a4 --- /dev/null +++ b/static/scripts/jquery.js @@ -0,0 +1,6 @@ +/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license +//@ sourceMappingURL=jquery-1.10.2.min.map +*/ +(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="
          ",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="
          ","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="
          a",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="
          t
          ",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
          ",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t +}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/\s*$/g,At={option:[1,""],legend:[1,"
          ","
          "],area:[1,"",""],param:[1,"",""],thead:[1,"","
          "],tr:[2,"","
          "],col:[2,"","
          "],td:[3,"","
          "],_default:x.support.htmlSerialize?[0,"",""]:[1,"X
          ","
          "]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?""!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); +u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("