-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Загрузка смайликов
-
- Новые смайлики возможно купить в
Коммерческом Отделе Обновите страницу, если купленный смайлик не отобразился
';
- //
- if (empty($u->info['add_smiles'])) { ?>
-
У вас нет личных смайликов
- info['add_smiles']);
- $i = 0;
- while ($i < count($ex)) {
- echo '
';
- $i++;
- }
- } ?>
-
-
-
-
- Купить
-
- Личные смайлики
-
- Закрыть
-
-
-
-
-
-
-
-
-
Обновить
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- info['active'] != '' && $u->info['mail'] != 'No E-mail') {
- $yes = $u->testAction('`uid` = "' . $u->info['id'] . '" AND `vars` = "user_active_good" LIMIT 1', 1);
- $yes2 = $u->testAction('`uid` = "' . $u->info['id'] . '" AND `vars` = "user_active_send" LIMIT 1', 1);
- Db::sql('update stats set active = default where id = ?', [$u->info['id']]);
}
- ?>
+
+ // Старый код отработки отправки текста в чат по ентеру.
+ function testKey(event) {
+ if (event.keyCode == 10 || event.keyCode == 13) {
+ if (top.enterUse == 0) {
+ chat.subSend();
+ top.enterUse = 1;
+ setTimeout('top.enterUse = 0', 1000);
+ }
+ }
+ }
+
+ window.onLoad()
+ {
+ bodyLoaded();
+ chat.sendMsg(["new", "=time(
+ )?>", "1", "", "=$u->info['login']?>", "global: Приветствуем в игре, не забываем поздороваться и прочесть новости проекта! читать новости ", "red", "1", "1", "0"]);
+ }
+ if (window.top != window.self) {
+ document.write = "";
+ window.top.location = window.self.location;
+ setTimeout(function () {
+ document.body.innerHTML = 'Ошибка доступа.';
+ }, 500);
+ window.self.onload = function (evt) {
+ document.body.innerHTML = 'Ошибка доступа.';
+ };
+ }
+
+ function cc(el) {
+ $(window).resize(function () {
+ $(el).css({
+ position: 'absolute',
+ left: ($(document).width() - $(el).outerWidth()) / 2,
+ top: ($(document).height() - $(el).outerHeight()) / 2
+ });
+ });
+ $(window).resize();
+ }
+
+ var lasts = [-1, -1];
+
+ function myexpLineTop27(e1, e2) {
+ $('#exp23mkrtkm').attr('title', "Опыт персонажа" + "\n" + e1 + " / " + e2);
+ $('#exp23mkrtkm').html(Math.ceil(e1 / e2 * 100) + '%!');
+ if (Math.ceil(e1 / e2 * 100) < 1) {
+ $('#myexplin233').attr('width', '1%');
+ } else {
+ if (lasts[1] < e2) {
+ $('#myexplin233').css('width', '1%');
+ }
+ if (lasts[0] != e1 || lasts[1] != e2) {
+ $('#myexplin233').animate({'width': Math.ceil(e1 / e2 * 100) + '%'}, 3000);
+ }
+ }
+ lasts[0] = e1;
+ lasts[1] = e2;
+ }
+
+ let smlk1 = 0;
+
+ function smiles1load() {
+ if (smlk1 == 0) {
+ $('#btnsmlrz').html(' Общие смайлики ');
+ smlk1 = 1;
+ $('#smilesDiv').hide();
+ $('#smilesDiv2').show();
+ $('#smilesDiv3').hide();
+ } else {
+ $('#btnsmlrz').html(' Личные смайлики ');
+ smlk1 = 0;
+ $('#smilesDiv').show();
+ $('#smilesDiv2').hide();
+ $('#smilesDiv3').hide();
+ }
+ }
+
+ setInterval('c.time++', 1000);
+
+ $.ajaxSetup({cache: false});
+ $(window).error(function () {
+ return true;
+ });
+ let iusrno = {};
+
+ function ignoreUser(u) {
+ if (iusrno[u] === undefined || iusrno[u] === 0) {
+ $('#main').attr({'src': 'main.php?friends=1&ignore=' + u + ''});
+ } else {
+ $('#main').attr({'src': 'main.php?friends=1&ignore=' + u + ''});
+ }
+ }
+
+ // Часы
+ let intervalClear;
+ let timeoutClear;
+ let $button = document.getElementById("contentDate");
+ let $div = document.createElement("div");
+ $div.id = "divFullDate"
+ document.body.append($div)
+ $div.hidden = true
+
+ let date = new Date();
+ let currentSec = (60 - date.getUTCSeconds()) * 1000;
+
+ asyncInterval()
+
+ async function asyncInterval() {
+
+ timeMSK()
+
+ let promise = await new Promise((resolve, reject) => {
+ setTimeout(() => {
+ timeMSK()
+ resolve("идём дальше")
+ }, currentSec)
+ });
+
+ setInterval(() => timeMSK(), 60000)
+ }
+
+ function timeMSK(hover = false) {
+ let mskTime = (new Date).toLocaleTimeString('ru-RU', {timeZone: 'Europe/Moscow'});
+ $button.textContent = mskTime.match(/\d{2}:\d{2}/i)[0]
+
+ if (hover) {
+ let fullDate = (new Date).toLocaleDateString('ru-RU', {timeZone: 'Europe/Moscow'});
+ let [day, month, year] = fullDate.match(/\b\d{2,4}\b/gi);
+ let objDate = {year: +year, month: +month - 1, day: +day};
+ let todayDay = new Date(objDate.year, objDate.month, objDate.day).getUTCDay();
+ // In objDate.day make ++
+ return {
+ date: divFullDateTime(objDate),
+ time: mskTime,
+ redDay: todayDay === 5 || todayDay === 6 || todayDay === 0
+ }
+ }
+ }
+
+ function divFullDateTime({year, month, day}) {
+ let strMonth = "";
+
+ switch (month) {
+ case 0:
+ strMonth = "Января";
+ break
+ case 1:
+ strMonth = "Февраля";
+ break
+ case 2:
+ strMonth = "Марта";
+ break
+ case 3:
+ strMonth = "Апреля";
+ break
+ case 4:
+ strMonth = "Мая";
+ break
+ case 5:
+ strMonth = "Июня";
+ break
+ case 6:
+ strMonth = "Июля";
+ break
+ case 7:
+ strMonth = "Августа";
+ break
+ case 8:
+ strMonth = "Сентября";
+ break
+ case 9:
+ strMonth = "Октября";
+ break
+ case 10:
+ strMonth = "Ноября";
+ break
+ case 11:
+ strMonth = "Декабря";
+ break
+ default:
+ break
+ }
+ return `${day} ${strMonth} ${year}`
+ }
+
+ function everySecondsUpdate() {
+ let {date, time, redDay} = timeMSK(true);
+
+ $div.innerHTML = `${time}
${date}
`
+
+ document.getElementById("dateRed").style.color = redDay ? "red" : ""
+ }
+
+ $button.addEventListener("mouseover", function (event) {
+
+ timeoutClear = setTimeout(() => {
+
+ $div.hidden = false
+ let $trTop = $button.parentElement.getBoundingClientRect().top;
+ let $tdLeft = document.getElementById("tdDate").offsetLeft;
+
+ $div.style.top = `${$trTop - ($button.offsetHeight * 2.1)}px`
+ $div.style.left = `${($tdLeft - ($div.offsetWidth - $button.offsetWidth)) + 10}px`
+
+ everySecondsUpdate()
+
+ intervalClear = setInterval(() => everySecondsUpdate(), 1000)
+ }, 550)
+ })
+
+ $button.addEventListener("mouseout", function (event) {
+ $div.hidden = true
+ clearInterval(intervalClear)
+ clearTimeout(timeoutClear)
+ })
+
+ startEngine();
+ chat.testTimer(false);
+ setTimeout('chat.nozpros=0;', 20);
+
+ // Вроде как отправка сообщения по энтеру.
+ document.getElementById('textmsg').addEventListener('keyup', function (event) {
+ if (event.key === 'Enter') {
+ if (top.enterUse === 0) {
+ chat.subSend();
+ top.enterUse = 1;
+ setTimeout('top.enterUse = 0', 1000);
+ }
+ }
+ });
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
diff --git a/css/buttons.php.css b/css/buttons.php.css
new file mode 100644
index 00000000..44e7c5d4
--- /dev/null
+++ b/css/buttons.php.css
@@ -0,0 +1,377 @@
+/* Main buttons.php stylesheet */
+.woman a {
+ color: #C33;
+}
+
+.woman a:hover {
+ color: #ff0000;
+}
+
+img {
+ vertical-align: bottom;
+}
+
+#tgf_loadingLine {
+ height: 18px;
+ width: 100%;
+ color: #776b4a;
+ background-color: #ddd5bf;
+ position: relative;
+}
+
+.tfpgs {
+ padding: 5px;
+ background-color: #d4cbb4;
+ border-bottom: 1px solid #988e73;
+ border-top: 1px solid #eae3d0;
+ cursor: default;
+ text-align: center;
+}
+
+.tgf_msg0 {
+ padding: 5px;
+ background-color: #c6b893;
+ border-bottom: 1px solid #988e73;
+ border-top: 1px solid #eae3d0;
+ cursor: default;
+}
+
+.tgf_msg1 {
+ padding: 5px;
+ background-color: #d4cbb4;
+ border-bottom: 1px solid #988e73;
+ border-top: 1px solid #eae3d0;
+ cursor: default;
+}
+
+.tgf_msgt {
+ color: #988e73;
+ padding-left: 2px;
+ padding-right: 2px;
+ border-right: 1px solid #b1a993;
+}
+
+.tf_btn1 {
+ background-color: #ddd5bf;
+ padding: 3px 10px;
+ margin: 1px;
+ color: #988e73;
+ cursor: pointer;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+}
+
+.tf_btn1:hover {
+ background-color: #b7ae96;
+ color: #ddd5bf;
+ cursor: pointer;
+}
+
+.tf_btn11 {
+ background-color: #988e73;
+ padding: 3px 10px;
+ margin: 1px;
+ color: #ddd5bf;
+ cursor: pointer;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+}
+
+.qel0 {
+ display: none;
+ position: absolute;
+ z-index: 100000;
+ border: 4px solid #f5cc50;
+ border-radius: 4px;
+}
+
+/* */
+.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;
+}
+
+.buttons:hover {
+ background-color: #EFEFEF;
+}
+
+.buttons:active {
+ color: #777777;
+}
+
+.buttons {
+ background-color: #E9E9E9;
+}
+
+.menutop2 {
+ color: #003366;
+}
+
+.menutop2:hover {
+ color: #446B93;
+}
+
+.klan {
+ font-weight: bold;
+ color: green;
+ background-color: #99FFCC;
+}
+
+.redColor {
+ color: #FF0000;
+ font-weight: bold;
+}
+
+.borderWhite {
+ border: 1px solid #f2f0f0;
+}
+
+.date21 {
+ font-family: Courier, serif;
+ font-size: 8pt;
+ text-decoration: underline;
+ font-weight: normal;
+ color: #007000;
+ background-color: #00FFAA
+}
+
+
+.zoneCh_no {
+ float: left;
+ overflow: hidden;
+ height: 18px;
+ width: 18px;
+}
+
+.inpBtl {
+ color: #000000;
+ text-decoration: none;
+ background-color: #ECE9D8;
+ border: 1px solid #000000;
+}
+
+.zoneCh_yes {
+ float: left;
+ overflow: hidden;
+ height: 18px;
+ width: 18px;
+ background-color: #A9AFB1;
+}
+
+body {
+ background-color: #e8e8e8;
+}
+
+.st1222 {
+ font-size: 18px;
+ color: #990000;
+ font-weight: bold;
+}
+
+.crop {
+ float: left;
+ overflow: hidden;
+ height: 18px;
+ width: 18px;
+}
+
+.radio_off {
+ margin-left: 0;
+}
+
+.radio_on {
+ margin-left: -18px;
+}
+
+.battle_hod_style {
+ border-bottom-width: 1px;
+ border-bottom-style: solid;
+ border-bottom-color: #AEAEAE;
+}
+
+.zbtn1l, .zbtn1r, .zbtn1r2, .zbtn2l, .zbtn2r, .zbtn2r2, .zbtn2r3 {
+ width: 9px;
+ height: 18px;
+ background-image: url(https://new-combats.com/tab.png);
+ background-repeat: repeat-x;
+}
+
+.zbtn1l {
+ background-position: 0 0;
+}
+
+.zbtn1r {
+ background-position: -18px 0;
+}
+
+.zbtn1r2 {
+ background-position: 18px 0;
+}
+
+.zbtn2l {
+ background-position: -36px 0;
+}
+
+.zbtn2r {
+ background-position: -54px 0;
+}
+
+.zbtn2r2 {
+ background-position: -90px 0;
+}
+
+.zbtn2r3 {
+ background-position: 54px 0;
+}
+
+.zbtn1c, .zbtn2c {
+ border-bottom-width: 1px;
+ border-bottom-style: solid;
+ border-bottom-color: #000000;
+ cursor: default;
+ padding-left: 5px;
+ padding-right: 5px;
+ FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;
+}
+
+.zbtn1c {
+ background-color: #808080;
+ border-top-width: 1px;
+ border-top-style: solid;
+ border-top-color: #000000;
+ color: #FFFFFF;
+}
+
+.zbtn2c {
+ background-color: #D5D2C9;
+ color: #000000;
+ font-weight: bold;
+}
+
+.proza {
+ filter: progid:DXImageTransform.Microsoft.Alpha(opacity=87); /* IE 5.5+*/
+ -moz-opacity: 0.87; /* Mozilla 1.6 */
+ opacity: 0.87; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9+ */
+}
+
+.nobtn12 {
+ border: 0;
+ bottom: 80px;
+ left: 225px;
+ position: absolute;
+}
+
+.nobtn12:active {
+ bottom: 79px;
+}
+
+.inpreg1 {
+ padding: 2px;
+ font-size: 14px;
+ color: #003144;
+ background-color: #f6f4ec;
+ border: 1px solid #d1cdb8;
+ width: 178px;
+}
+
+.inpreg2 {
+ font-size: 12px;
+ color: #003144;
+ background-color: #f6f4ec;
+ border: 1px solid #d1cdb8;
+}
+
+#errorreg {
+ position: absolute;
+ width: 680px;
+ top: 0;
+ left: 0;
+ text-align: center;
+ color: red;
+ font-weight: bold;
+}
+
+#qsst {
+ position: absolute;
+ z-index: 10000000;
+ cursor: default;
+ display: none;
+}
+
+#onbon {
+ position: absolute;
+ z-index: 100;
+ cursor: default;
+ display: none;
+ bottom: 30px;
+ left: 18px;
+}
+
+#mini_qsst {
+ position: absolute;
+ z-index: 100;
+ cursor: default;
+ display: none;
+ bottom: 10px;
+ right: 18px;
+}
diff --git a/map.php b/map.php
deleted file mode 100644
index b139fdf0..00000000
--- a/map.php
+++ /dev/null
@@ -1,63 +0,0 @@
-info['banned'] || !isset($u->info['id'])) {
- header('location: /index.php');
- die();
-}
-?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Тестовая локация
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Для содержимого этой страницы требуется более новая версия Adobe Flash Player.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/map/main.as b/map/main.as
deleted file mode 100644
index 1b2c4d6a..00000000
--- a/map/main.as
+++ /dev/null
@@ -1,14 +0,0 @@
-package {
-
- import flash.display.MovieClip;
-
-
- public class main extends MovieClip {
-
-
- public function main() {
- // constructor code
- }
- }
-
-}
diff --git a/map/main.fla b/map/main.fla
deleted file mode 100644
index ca021aa4..00000000
Binary files a/map/main.fla and /dev/null differ
diff --git a/map/main.swf b/map/main.swf
deleted file mode 100644
index 41188e4f..00000000
Binary files a/map/main.swf and /dev/null differ