refactor
This commit is contained in:
parent
7986d33ab6
commit
7c15294688
169
.htaccess
169
.htaccess
@ -1,86 +1,89 @@
|
|||||||
DefaultLanguage ru
|
DefaultLanguage ru
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_headers.c>
|
||||||
|
Header always set X-Content-Type-Options nosniff
|
||||||
Options -Indexes
|
</IfModule>
|
||||||
Options -MultiViews
|
|
||||||
RewriteEngine On
|
<IfModule mod_rewrite.c>
|
||||||
|
Options -Indexes
|
||||||
RewriteCond %{HTTP:VIA} !^$ [OR]
|
Options -MultiViews
|
||||||
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
|
RewriteEngine On
|
||||||
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
|
|
||||||
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
|
RewriteCond %{HTTP:VIA} !^$ [OR]
|
||||||
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
|
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
|
||||||
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
|
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
|
||||||
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
|
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
|
||||||
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
|
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
|
||||||
RewriteRule (.+) https://new-combats.tech/proxy/
|
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
|
||||||
|
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
|
||||||
RewriteBase /
|
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
|
||||||
RewriteCond %{ENV:REDIRECT} !^yes$
|
RewriteRule (.+) https://new-combats.tech/proxy/
|
||||||
RewriteRule ruletka.pl ruletka.php [L]
|
|
||||||
RewriteRule bandit.pl bandit.php [L]
|
RewriteBase /
|
||||||
RewriteRule blackjack.pl blackjack.php [L]
|
RewriteCond %{ENV:REDIRECT} !^yes$
|
||||||
RewriteRule casino/SWFP.pl casino/SWFP.php [L]
|
RewriteRule ruletka.pl ruletka.php [L]
|
||||||
RewriteCond %{ENV:REDIRECT} !^yes$
|
RewriteRule bandit.pl bandit.php [L]
|
||||||
RewriteRule ^r([0-9]+)/?$ /register.php?ref=$1 [L]
|
RewriteRule blackjack.pl blackjack.php [L]
|
||||||
|
RewriteRule casino/SWFP.pl casino/SWFP.php [L]
|
||||||
RewriteRule ^settings/?$ /settings.php [L]
|
RewriteCond %{ENV:REDIRECT} !^yes$
|
||||||
|
RewriteRule ^r([0-9]+)/?$ /register.php?ref=$1 [L]
|
||||||
RewriteRule ^info/(.*)/?$ /inf.php?$1 [L]
|
|
||||||
|
RewriteRule ^settings/?$ /settings.php [L]
|
||||||
RewriteRule ^rating_pers/?$ /reting_pers.php [L]
|
|
||||||
RewriteRule ^rating_pers/(.*)/?$ /reting_pers.php?$1 [L]
|
RewriteRule ^info/(.*)/?$ /inf.php?$1 [L]
|
||||||
|
|
||||||
RewriteRule ^rating_clans/?$ /reting_clans.php [L]
|
RewriteRule ^rating_pers/?$ /reting_pers.php [L]
|
||||||
RewriteRule ^rating_clans/(.*)/?$ /reting_clans.php?$1 [L]
|
RewriteRule ^rating_pers/(.*)/?$ /reting_pers.php?$1 [L]
|
||||||
|
|
||||||
RewriteRule ^clan/(.*)/?$ /clans_inf.php?$1 [L]
|
RewriteRule ^rating_clans/?$ /reting_clans.php [L]
|
||||||
RewriteRule ^clan/?$ /clans_inf.php [L]
|
RewriteRule ^rating_clans/(.*)/?$ /reting_clans.php?$1 [L]
|
||||||
|
|
||||||
RewriteRule ^ruins/(.*)/?$ /ruins.php?$1 [L]
|
RewriteRule ^clan/(.*)/?$ /clans_inf.php?$1 [L]
|
||||||
RewriteRule ^ruins/?$ /ruins.php [L]
|
RewriteRule ^clan/?$ /clans_inf.php [L]
|
||||||
|
|
||||||
RewriteRule ^news/(.*)/?$ /n/$1 [R=301,L]
|
RewriteRule ^ruins/(.*)/?$ /ruins.php?$1 [L]
|
||||||
RewriteRule ^news/?$ /n [R=301,L]
|
RewriteRule ^ruins/?$ /ruins.php [L]
|
||||||
|
|
||||||
RewriteRule ^n/(.*)/?$ /news_script/index.php?$1 [L]
|
RewriteRule ^news/(.*)/?$ /n/$1 [R=301,L]
|
||||||
RewriteRule ^n/?$ /news_script/index.php [L]
|
RewriteRule ^news/?$ /n [R=301,L]
|
||||||
|
|
||||||
RewriteRule ^forum/(.*)/?$ /forum_script/index.php?$1 [L]
|
RewriteRule ^n/(.*)/?$ /news_script/index.php?$1 [L]
|
||||||
RewriteRule ^forum/?$ /forum_script/index.php [L]
|
RewriteRule ^n/?$ /news_script/index.php [L]
|
||||||
|
|
||||||
RewriteRule ^shadow/(.*)/?$ /obraz.php?$1 [L]
|
RewriteRule ^forum/(.*)/?$ /forum_script/index.php?$1 [L]
|
||||||
RewriteRule ^shadow/?$ /obraz.php [L]
|
RewriteRule ^forum/?$ /forum_script/index.php [L]
|
||||||
|
|
||||||
RewriteRule ^dress/(.*)/?$ /dress.php?$1 [L]
|
RewriteRule ^shadow/(.*)/?$ /obraz.php?$1 [L]
|
||||||
RewriteRule ^dress/?$ /dress.php [L]
|
RewriteRule ^shadow/?$ /obraz.php [L]
|
||||||
|
|
||||||
RewriteRule ^monitoring/(.*)/?$ /hmonitor.php?$1 [L]
|
RewriteRule ^dress/(.*)/?$ /dress.php?$1 [L]
|
||||||
RewriteRule ^monitoring/?$ /hmonitor.php [L]
|
RewriteRule ^dress/?$ /dress.php [L]
|
||||||
|
|
||||||
RewriteRule ^rating/(.*)/?$ /rating_script/index.php?$1 [L]
|
RewriteRule ^monitoring/(.*)/?$ /hmonitor.php?$1 [L]
|
||||||
RewriteRule ^rating/?$ /rating_script/index.php [L]
|
RewriteRule ^monitoring/?$ /hmonitor.php [L]
|
||||||
|
|
||||||
RewriteRule ^item/(.*)/?$ /items_info.php?$1 [L]
|
RewriteRule ^rating/(.*)/?$ /rating_script/index.php?$1 [L]
|
||||||
RewriteRule ^item/?$ /items_info.php [L]
|
RewriteRule ^rating/?$ /rating_script/index.php [L]
|
||||||
RewriteRule ^repass/?$ /repass.php [L]
|
|
||||||
|
RewriteRule ^item/(.*)/?$ /items_info.php?$1 [L]
|
||||||
RewriteRule ^mail/(.*)/?$ /mailconf.php?$1 [L]
|
RewriteRule ^item/?$ /items_info.php [L]
|
||||||
|
RewriteRule ^repass/?$ /repass.php [L]
|
||||||
RewriteRule ^register/?$ /register.php [L]
|
|
||||||
|
RewriteRule ^mail/(.*)/?$ /mailconf.php?$1 [L]
|
||||||
RewriteRule ^reg/?$ /register.php [L]
|
|
||||||
|
RewriteRule ^register/?$ /register.php [L]
|
||||||
RewriteRule ^enter/?$ /enter.php [L]
|
|
||||||
|
RewriteRule ^reg/?$ /register.php [L]
|
||||||
RewriteRule ^bk/?$ /buttons.php [L]
|
|
||||||
|
RewriteRule ^enter/?$ /enter.php [L]
|
||||||
RewriteRule ^mobile/?$ /main_mobile.php [L]
|
|
||||||
|
RewriteRule ^bk/?$ /buttons.php [L]
|
||||||
RewriteRule ^btl([0-9]+)/?$ /jx/battle/refresh$1.php [L]
|
|
||||||
RewriteRule ^/n/?$ /news_script/index.php [L]
|
RewriteRule ^mobile/?$ /main_mobile.php [L]
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteRule ^btl([0-9]+)/?$ /jx/battle/refresh$1.php [L]
|
||||||
RewriteRule . /index.php [L]
|
RewriteRule ^/n/?$ /news_script/index.php [L]
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule . /index.php [L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -462,6 +462,7 @@ class Battle
|
|||||||
$st = $this->stats[$this->uids[$id]];
|
$st = $this->stats[$this->uids[$id]];
|
||||||
$itm = $this->stats[$this->uids[$id]]['items'];
|
$itm = $this->stats[$this->uids[$id]]['items'];
|
||||||
$eff = $this->stats[$this->uids[$id]]['effects'];
|
$eff = $this->stats[$this->uids[$id]]['effects'];
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$img = Config::img();
|
$img = Config::img();
|
||||||
|
|
||||||
@ -470,171 +471,175 @@ class Battle
|
|||||||
$armor3 = '<br>Броня пояса: ';
|
$armor3 = '<br>Броня пояса: ';
|
||||||
$armor4 = '<br>Броня ног: ';
|
$armor4 = '<br>Броня ног: ';
|
||||||
|
|
||||||
if ($u->info['seff'] < 1) {
|
if (empty($eff)) {
|
||||||
# Передаётся в js, переносы строк всё ломают!
|
$ef = '';
|
||||||
$ef = <<<HTML
|
} else {
|
||||||
|
if ($u->info['seff'] < 1) {
|
||||||
|
# Передаётся в js, переносы строк всё ломают!
|
||||||
|
$ef = <<<HTML
|
||||||
<div class="pimg" pog="0" col="0" stl="0" stt="Свернуть"><img src="$img/i/eff/effs_hide.gif" alt="" onclick="top.useMagicBattle('Свернуть',7777,'effs_show.gif',1,2);" onmouseover="top.hi(this,'<strong>Свернуть</strong>',event,3,1,1,1);" onmouseout="top.hic();" onmousedown="top.hic();"></div>
|
<div class="pimg" pog="0" col="0" stl="0" stt="Свернуть"><img src="$img/i/eff/effs_hide.gif" alt="" onclick="top.useMagicBattle('Свернуть',7777,'effs_show.gif',1,2);" onmouseover="top.hi(this,'<strong>Свернуть</strong>',event,3,1,1,1);" onmouseout="top.hic();" onmousedown="top.hic();"></div>
|
||||||
HTML;
|
HTML;
|
||||||
|
|
||||||
while ($i != -1) {
|
while ($i != -1) {
|
||||||
$nseef = 0;
|
$nseef = 0;
|
||||||
if (
|
if (
|
||||||
$this->users[$this->uids[$ur['id']]]['id'] != $u->info['id'] &&
|
$this->users[$this->uids[$ur['id']]]['id'] != $u->info['id'] &&
|
||||||
$ur['id'] != 0 && $this->stats[$this->uids[$ur['id']]]['seeAllEff'] != 1
|
$ur['id'] != 0 && $this->stats[$this->uids[$ur['id']]]['seeAllEff'] != 1
|
||||||
) {
|
) {
|
||||||
$nseef = 1;
|
$nseef = 1;
|
||||||
if (isset($eff[$i]['v1']) && $eff[$i]['v1'] == 'priem') {
|
if (isset($eff[$i]['v1']) && $eff[$i]['v1'] == 'priem') {
|
||||||
$eff[$i]['priem'] = Db::getRow('select * from priems where id = ?', [$eff[$i]['v2']]);
|
$eff[$i]['priem'] = Db::getRow('select * from priems where id = ?', [$eff[$i]['v2']]);
|
||||||
|
|
||||||
|
}
|
||||||
|
if (isset($eff[$i]['priem']['id']) && $eff[$i]['priem']['neg'] == 1) {
|
||||||
|
$nseef = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (isset($eff[$i]['priem']['id']) && $eff[$i]['priem']['neg'] == 1) {
|
|
||||||
$nseef = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($eff[$i]) && $eff[$i] != 'delete') {
|
if (isset($eff[$i]) && $eff[$i] != 'delete') {
|
||||||
if ($nseef == 0) {
|
if ($nseef == 0) {
|
||||||
$ei = '<strong><u>' . $eff[$i]['name'] . '</u></strong>';
|
$ei = '<strong><u>' . $eff[$i]['name'] . '</u></strong>';
|
||||||
if ($eff[$i]['x'] > 1) {
|
if ($eff[$i]['x'] > 1) {
|
||||||
$ei .= ' x' . $eff[$i]['x'] . ' ';
|
$ei .= ' x' . $eff[$i]['x'] . ' ';
|
||||||
}
|
|
||||||
|
|
||||||
$ei .= match ($eff[$i]['type1']) {
|
|
||||||
1, 2, 3, 4, 5, 6 => ' (Эликсир)',
|
|
||||||
7, 8, 9, 10, 16 => ' (Заклятие)',
|
|
||||||
14 => ' (Прием)',
|
|
||||||
15 => ' (Изучение)',
|
|
||||||
17 => ' (Проклятие)',
|
|
||||||
18, 19 => ' (Травма)',
|
|
||||||
20 => ' (Пристрастие)',
|
|
||||||
22 => ' (Ожидание)',
|
|
||||||
default => ' (Эффект)'
|
|
||||||
};
|
|
||||||
|
|
||||||
$ei .= '<br>';
|
|
||||||
|
|
||||||
$time_still = ($eff[$i]['timeUse'] + ($eff[$i]['timeAce'] - $eff[$i]['timeUse']) + $eff[$i]['actionTime']);
|
|
||||||
if ($eff[$i]['timeAce'] == 0) {
|
|
||||||
$time_still += $eff[$i]['timeUse'];
|
|
||||||
}
|
|
||||||
$time_still -= time();
|
|
||||||
if ($eff[$i]['bp'] == 0 && $eff[$i]['timeUse'] != 77) {
|
|
||||||
if ($eff[$i]['type1'] != 13) {
|
|
||||||
$ei .= 'Осталось: ' . Conversion::secondsToTimeout($time_still);
|
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
if ($eff[$i]['timeUse'] != 77 && $eff[$i]['hod'] < 1) {
|
$ei .= match ($eff[$i]['type1']) {
|
||||||
$ei .= 'Осталось: ' . Conversion::secondsToTimeout($time_still);
|
1, 2, 3, 4, 5, 6 => ' (Эликсир)',
|
||||||
} elseif ($eff[$i]['hod'] >= 0) {
|
7, 8, 9, 10, 16 => ' (Заклятие)',
|
||||||
$ei .= 'Зарядов: ' . $eff[$i]['hod'];
|
14 => ' (Прием)',
|
||||||
|
15 => ' (Изучение)',
|
||||||
|
17 => ' (Проклятие)',
|
||||||
|
18, 19 => ' (Травма)',
|
||||||
|
20 => ' (Пристрастие)',
|
||||||
|
22 => ' (Ожидание)',
|
||||||
|
default => ' (Эффект)'
|
||||||
|
};
|
||||||
|
|
||||||
|
$ei .= '<br>';
|
||||||
|
|
||||||
|
$time_still = ($eff[$i]['timeUse'] + ($eff[$i]['timeAce'] - $eff[$i]['timeUse']) + $eff[$i]['actionTime']);
|
||||||
|
if ($eff[$i]['timeAce'] == 0) {
|
||||||
|
$time_still += $eff[$i]['timeUse'];
|
||||||
}
|
}
|
||||||
}
|
$time_still -= time();
|
||||||
|
if ($eff[$i]['bp'] == 0 && $eff[$i]['timeUse'] != 77) {
|
||||||
if ($eff[$i]['user_use'] != '') {
|
if ($eff[$i]['type1'] != 13) {
|
||||||
$str = '<br>Автор: <strong>%s</strong>';
|
$ei .= 'Осталось: ' . Conversion::secondsToTimeout($time_still);
|
||||||
if ($this->users[$this->uids[$eff[$i]['user_use']]]['login2'] != '') {
|
|
||||||
$ei .= sprintf($str, $this->users[$this->uids[$eff[$i]['user_use']]]['login2']);
|
|
||||||
} elseif ($this->users[$this->uids[$eff[$i]['user_use']]]['login'] != '') {
|
|
||||||
$ei .= sprintf($str, $this->users[$this->uids[$eff[$i]['user_use']]]['login']);
|
|
||||||
}
|
|
||||||
unset($str);
|
|
||||||
}
|
|
||||||
|
|
||||||
//Действие эффекта
|
|
||||||
$tr = '';
|
|
||||||
|
|
||||||
$x = 0;
|
|
||||||
$ed = Conversion::dataStringToArray($eff[$i]['data']);
|
|
||||||
while ($x < count($this->statnames->sysBonusNames)) {
|
|
||||||
$n = $this->statnames->sysBonusNames[$x];
|
|
||||||
if (isset($ed['add_' . $n]) && $n != 'pog') {
|
|
||||||
$z = '';
|
|
||||||
if ($ed['add_' . $n] > 0) {
|
|
||||||
$z = '+';
|
|
||||||
}
|
}
|
||||||
$tr .= '<br>' . $this->statnames->bonusNames[$n] . ': ' . $z . $ed['add_' . $n];
|
|
||||||
}
|
|
||||||
$x++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($ed['add_mib1']) && $ed['add_mib1'] != 0) {
|
|
||||||
if ($ed['add_mab1'] != 0) {
|
|
||||||
$tr .= $armor1 . $ed['add_mib1'] . '-' . $ed['add_mab1'];
|
|
||||||
} else {
|
} else {
|
||||||
$m1l = $ed['add_mib1'];
|
if ($eff[$i]['timeUse'] != 77 && $eff[$i]['hod'] < 1) {
|
||||||
if ($m1l > 0) {
|
$ei .= 'Осталось: ' . Conversion::secondsToTimeout($time_still);
|
||||||
$m1l = '+' . $m1l;
|
} elseif ($eff[$i]['hod'] >= 0) {
|
||||||
|
$ei .= 'Зарядов: ' . $eff[$i]['hod'];
|
||||||
}
|
}
|
||||||
$tr .= $armor1 . $m1l;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (isset($ed['add_mib2']) && $ed['add_mib2'] != 0) {
|
|
||||||
if ($ed['add_mab2'] != 0) {
|
|
||||||
$tr .= $armor2 . $ed['add_mib2'] . '-' . $ed['add_mab2'];
|
|
||||||
} else {
|
|
||||||
$m1l = $ed['add_mib2'];
|
|
||||||
if ($m1l > 0) {
|
|
||||||
$m1l = '+' . $m1l;
|
|
||||||
}
|
|
||||||
$tr .= $armor2 . $m1l;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (isset($ed['add_mib3']) && $ed['add_mib3'] != 0) {
|
|
||||||
if ($ed['add_mab3'] != 0) {
|
|
||||||
$tr .= $armor3 . $ed['add_mib3'] . '-' . $ed['add_mab3'];
|
|
||||||
} else {
|
|
||||||
$m1l = $ed['add_mib3'];
|
|
||||||
if ($m1l > 0) {
|
|
||||||
$m1l = '+' . $m1l;
|
|
||||||
}
|
|
||||||
$tr .= $armor3 . $m1l;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (isset($ed['add_mib4']) && $ed['add_mib4'] != 0) {
|
|
||||||
if ($ed['add_mab4'] != 0) {
|
|
||||||
$tr .= $armor4 . $ed['add_mib4'] . '-' . $ed['add_mab4'];
|
|
||||||
} else {
|
|
||||||
$m1l = $ed['add_mib4'];
|
|
||||||
if ($m1l > 0) {
|
|
||||||
$m1l = '+' . $m1l;
|
|
||||||
}
|
|
||||||
$tr .= $armor4 . $m1l;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$efix = 0;
|
if ($eff[$i]['user_use'] != '') {
|
||||||
if (isset($ed['add_pog2']) && $ed['add_pog2'] > 0) {
|
$str = '<br>Автор: <strong>%s</strong>';
|
||||||
$efix = $ed['add_pog2'];
|
if ($this->users[$this->uids[$eff[$i]['user_use']]]['login2'] != '') {
|
||||||
}
|
$ei .= sprintf($str, $this->users[$this->uids[$eff[$i]['user_use']]]['login2']);
|
||||||
if (isset($ed['add_pog'])) {
|
} elseif ($this->users[$this->uids[$eff[$i]['user_use']]]['login'] != '') {
|
||||||
$tr .= '<br>Магический барьер способен поглотить еще <strong>' . $ed['add_pog'] . '</strong> ед. урона';
|
$ei .= sprintf($str, $this->users[$this->uids[$eff[$i]['user_use']]]['login']);
|
||||||
}
|
}
|
||||||
if (isset($ed['add_pog2'])) {
|
unset($str);
|
||||||
$tr .= '<br>Магический барьер способен поглотить еще <strong>' . $ed['add_pog2'] . '</strong> ед. урона <small>(' . $ed['add_pog2p'] . '%)</small>';
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if ($tr != '') {
|
//Действие эффекта
|
||||||
$ei .= $tr;
|
$tr = '';
|
||||||
}
|
|
||||||
if ($eff[$i]['info'] != '') {
|
|
||||||
$ei .= '<br><i>Информация:</i><br>' . $eff[$i]['info'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$efcol = $eff[$i]['x'];
|
$x = 0;
|
||||||
$efimg = $eff[$i]['img'];
|
$ed = Conversion::dataStringToArray($eff[$i]['data']);
|
||||||
$ef .= <<<HTML
|
while ($x < count($this->statnames->sysBonusNames)) {
|
||||||
|
$n = $this->statnames->sysBonusNames[$x];
|
||||||
|
if (isset($ed['add_' . $n]) && $n != 'pog') {
|
||||||
|
$z = '';
|
||||||
|
if ($ed['add_' . $n] > 0) {
|
||||||
|
$z = '+';
|
||||||
|
}
|
||||||
|
$tr .= '<br>' . $this->statnames->bonusNames[$n] . ': ' . $z . $ed['add_' . $n];
|
||||||
|
}
|
||||||
|
$x++;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($ed['add_mib1']) && $ed['add_mib1'] != 0) {
|
||||||
|
if ($ed['add_mab1'] != 0) {
|
||||||
|
$tr .= $armor1 . $ed['add_mib1'] . '-' . $ed['add_mab1'];
|
||||||
|
} else {
|
||||||
|
$m1l = $ed['add_mib1'];
|
||||||
|
if ($m1l > 0) {
|
||||||
|
$m1l = '+' . $m1l;
|
||||||
|
}
|
||||||
|
$tr .= $armor1 . $m1l;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (isset($ed['add_mib2']) && $ed['add_mib2'] != 0) {
|
||||||
|
if ($ed['add_mab2'] != 0) {
|
||||||
|
$tr .= $armor2 . $ed['add_mib2'] . '-' . $ed['add_mab2'];
|
||||||
|
} else {
|
||||||
|
$m1l = $ed['add_mib2'];
|
||||||
|
if ($m1l > 0) {
|
||||||
|
$m1l = '+' . $m1l;
|
||||||
|
}
|
||||||
|
$tr .= $armor2 . $m1l;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (isset($ed['add_mib3']) && $ed['add_mib3'] != 0) {
|
||||||
|
if ($ed['add_mab3'] != 0) {
|
||||||
|
$tr .= $armor3 . $ed['add_mib3'] . '-' . $ed['add_mab3'];
|
||||||
|
} else {
|
||||||
|
$m1l = $ed['add_mib3'];
|
||||||
|
if ($m1l > 0) {
|
||||||
|
$m1l = '+' . $m1l;
|
||||||
|
}
|
||||||
|
$tr .= $armor3 . $m1l;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (isset($ed['add_mib4']) && $ed['add_mib4'] != 0) {
|
||||||
|
if ($ed['add_mab4'] != 0) {
|
||||||
|
$tr .= $armor4 . $ed['add_mib4'] . '-' . $ed['add_mab4'];
|
||||||
|
} else {
|
||||||
|
$m1l = $ed['add_mib4'];
|
||||||
|
if ($m1l > 0) {
|
||||||
|
$m1l = '+' . $m1l;
|
||||||
|
}
|
||||||
|
$tr .= $armor4 . $m1l;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$efix = 0;
|
||||||
|
if (isset($ed['add_pog2']) && $ed['add_pog2'] > 0) {
|
||||||
|
$efix = $ed['add_pog2'];
|
||||||
|
}
|
||||||
|
if (isset($ed['add_pog'])) {
|
||||||
|
$tr .= '<br>Магический барьер способен поглотить еще <strong>' . $ed['add_pog'] . '</strong> ед. урона';
|
||||||
|
}
|
||||||
|
if (isset($ed['add_pog2'])) {
|
||||||
|
$tr .= '<br>Магический барьер способен поглотить еще <strong>' . $ed['add_pog2'] . '</strong> ед. урона <small>(' . $ed['add_pog2p'] . '%)</small>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($tr != '') {
|
||||||
|
$ei .= $tr;
|
||||||
|
}
|
||||||
|
if ($eff[$i]['info'] != '') {
|
||||||
|
$ei .= '<br><i>Информация:</i><br>' . $eff[$i]['info'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$efcol = $eff[$i]['x'];
|
||||||
|
$efimg = $eff[$i]['img'];
|
||||||
|
$ef .= <<<HTML
|
||||||
<div class="pimg" pog="$efix" col="$efcol" stl="0" stt="$ei"><img src="$img/i/eff/$efimg" alt=""></div>
|
<div class="pimg" pog="$efix" col="$efcol" stl="0" stt="$ei"><img src="$img/i/eff/$efimg" alt=""></div>
|
||||||
HTML;
|
HTML;
|
||||||
|
|
||||||
unset($efix, $efcol, $efimg);
|
unset($efix, $efcol, $efimg);
|
||||||
|
}
|
||||||
|
} elseif ($eff[$i] != 'delete') {
|
||||||
|
$i = -2;
|
||||||
}
|
}
|
||||||
} elseif ($eff[$i] != 'delete') {
|
$i++;
|
||||||
$i = -2;
|
|
||||||
}
|
}
|
||||||
$i++;
|
|
||||||
}
|
} else {
|
||||||
} else {
|
$ef = <<<HTML
|
||||||
$ef = <<<HTML
|
|
||||||
<div class="pimg" pog="0" col="0" stl="0" stt="Развернуть">
|
<div class="pimg" pog="0" col="0" stl="0" stt="Развернуть">
|
||||||
<img src="$img/i/eff/effs_show.gif" alt=""
|
<img src="$img/i/eff/effs_show.gif" alt=""
|
||||||
onclick="top.useMagicBattle('Развернуть',5555,'effs_hide.gif',1,2)"
|
onclick="top.useMagicBattle('Развернуть',5555,'effs_hide.gif',1,2)"
|
||||||
@ -643,8 +648,8 @@ class Battle
|
|||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
HTML;
|
HTML;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$ca = '';
|
$ca = '';
|
||||||
|
|
||||||
if ($ur['clan'] > 0) {
|
if ($ur['clan'] > 0) {
|
||||||
@ -712,9 +717,9 @@ JS;
|
|||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
if (is_array($itm)) {
|
if (is_array($itm)) {
|
||||||
|
|
||||||
while ($i < count($itm)) {
|
while ($i < count($itm)) {
|
||||||
//
|
if (isset($tpImg[$itm[$i]['inOdet']], $st['items_img'][$tpImg[$itm[$i]['inOdet']]])) {
|
||||||
if (isset($st['items_img'][$tpImg[$itm[$i]['inOdet']]])) {
|
|
||||||
$itm[$i]['img'] = $st['items_img'][$tpImg[$itm[$i]['inOdet']]];
|
$itm[$i]['img'] = $st['items_img'][$tpImg[$itm[$i]['inOdet']]];
|
||||||
}
|
}
|
||||||
//генерируем предметы
|
//генерируем предметы
|
||||||
@ -782,7 +787,7 @@ JS;
|
|||||||
}
|
}
|
||||||
|
|
||||||
$var1 = (int)$t;
|
$var1 = (int)$t;
|
||||||
$var2 = (int)$itm[$i]['uid'];
|
$var2 = (int)$id;
|
||||||
$var3 = (int)$itm[$i]['id'];
|
$var3 = (int)$itm[$i]['id'];
|
||||||
$var4 = (int)$itm[$i]['inOdet'];
|
$var4 = (int)$itm[$i]['inOdet'];
|
||||||
$var5 = $itm[$i]['name'];
|
$var5 = $itm[$i]['name'];
|
||||||
@ -808,7 +813,6 @@ JS;
|
|||||||
public function testUsersLive(): bool
|
public function testUsersLive(): bool
|
||||||
{
|
{
|
||||||
$tl = 0;
|
$tl = 0;
|
||||||
|
|
||||||
for ($i = 0; $i < count($this->uids); $i++) {
|
for ($i = 0; $i < count($this->uids); $i++) {
|
||||||
if (empty($this->stats[$i]['id'])) {
|
if (empty($this->stats[$i]['id'])) {
|
||||||
continue;
|
continue;
|
||||||
@ -1455,7 +1459,7 @@ JS;
|
|||||||
*/
|
*/
|
||||||
private function testExp($y, $s2): int
|
private function testExp($y, $s2): int
|
||||||
{
|
{
|
||||||
if ($s2['levels'] == 'undefined' || $this->users[$this->uids[$s2['id']]]['pass'] == 'saintlucia') {
|
if ($s2['levels'] == 'undefined' || $this->users[$this->uids[$s2['id']]]['bot'] > 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1860,16 +1864,17 @@ JS;
|
|||||||
mysql_query('DELETE FROM `battle_act` WHERE `id` = "' . $pl['id'] . '"');
|
mysql_query('DELETE FROM `battle_act` WHERE `id` = "' . $pl['id'] . '"');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
//тест удара
|
//тест удара
|
||||||
if ($this->uAtc['id'] > 0) {
|
if ($this->uAtc['id'] > 0) {
|
||||||
if ($pl['out1'] == 0 && $pl['out2'] == 0) {
|
if ($pl['out1'] == 0 && $pl['out2'] == 0) {
|
||||||
//Может разменяться только тот кто бил
|
//Может разменяться только тот кто бил
|
||||||
if ($pl['uid1'] == $u->info['id'] || $pl['uid2'] == $u->info['id']) {
|
if ($pl['uid1'] == $u->info['id'] || $pl['uid2'] == $u->info['id']) {
|
||||||
|
$this->addNewAtack($u);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
$this->addNewAtack($u);
|
$this->addNewAtack($u);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
$this->addNewAtack($u);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1879,10 +1884,9 @@ JS;
|
|||||||
if (
|
if (
|
||||||
isset($bot) &&
|
isset($bot) &&
|
||||||
$this->stats[$this->uids[$bot]]['hpNow'] >= 1 &&
|
$this->stats[$this->uids[$bot]]['hpNow'] >= 1 &&
|
||||||
$this->stats[$this->uids[$bot]]['pass'] != 'saintlucia'
|
$this->users[$this->uids[$bot]]['bot'] != 1
|
||||||
) { //Тут проверка на бота saintlucia
|
) { //Тут проверка на бота saintlucia
|
||||||
$j = 0;
|
$j = 0;
|
||||||
|
|
||||||
while ($j < count($this->users)) {
|
while ($j < count($this->users)) {
|
||||||
if ($this->i->razdel == 0) {
|
if ($this->i->razdel == 0) {
|
||||||
$tnbot = time() + rand(1, 1);
|
$tnbot = time() + rand(1, 1);
|
||||||
@ -1955,25 +1959,28 @@ JS;
|
|||||||
$this->users[$j]['hpnow'] >= 1 &&
|
$this->users[$j]['hpnow'] >= 1 &&
|
||||||
$this->users[$this->uids[$bot]]['hpnow'] >= 1
|
$this->users[$this->uids[$bot]]['hpnow'] >= 1
|
||||||
) {
|
) {
|
||||||
$this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a1'] =
|
if (isset($this->ga[$bot][$this->users[$j]['id']])) {
|
||||||
rand(1, 5) . '' . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5);
|
$this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a1'] =
|
||||||
|
rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5);
|
||||||
|
|
||||||
$this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5);
|
$this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5);
|
||||||
|
|
||||||
$this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a2'] =
|
$this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['a2'] =
|
||||||
rand(1, 5) . '' . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5);
|
rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5);
|
||||||
|
|
||||||
$this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5);
|
$this->atacks[$this->ga[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5);
|
||||||
|
}
|
||||||
|
if (isset($this->ag[$bot][$this->users[$j]['id']])) {
|
||||||
|
$this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a1'] =
|
||||||
|
rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5);
|
||||||
|
|
||||||
$this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a1'] =
|
$this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5);
|
||||||
rand(1, 5) . '' . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5);
|
|
||||||
|
|
||||||
$this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b1'] = rand(1, 5);
|
$this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a2'] =
|
||||||
|
rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5);
|
||||||
|
|
||||||
$this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['a2'] =
|
$this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5);
|
||||||
rand(1, 5) . '' . rand(1, 5) . rand(1, 5) . rand(1, 5) . rand(1, 5);
|
}
|
||||||
|
|
||||||
$this->atacks[$this->ag[$bot][$this->users[$j]['id']]]['b2'] = rand(1, 5);
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
isset($this->ga[$bot][$this->users[$j]['id']]) &&
|
isset($this->ga[$bot][$this->users[$j]['id']]) &&
|
||||||
@ -2022,7 +2029,16 @@ JS;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Приемы которые используются моментально (в конце хода)
|
/**
|
||||||
|
* Массово встречается в подключаемых файлах приёмов.
|
||||||
|
* @param array $arr
|
||||||
|
* @return void
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
|
public function add_log(array $arr): void
|
||||||
|
{
|
||||||
|
Log::add($arr);
|
||||||
|
}
|
||||||
|
|
||||||
private function botAtack($uid, $pl, $tp): void
|
private function botAtack($uid, $pl, $tp): void
|
||||||
{
|
{
|
||||||
@ -2217,7 +2233,7 @@ JS;
|
|||||||
|
|
||||||
// Заносим в логи + записываем статистику боя
|
// Заносим в логи + записываем статистику боя
|
||||||
$this->addlogRazmen($id, $at);
|
$this->addlogRazmen($id, $at);
|
||||||
var_dump($at);
|
|
||||||
//Запускаем магию предметов
|
//Запускаем магию предметов
|
||||||
$this->magicItems($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], $id);
|
$this->magicItems($this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'], $id);
|
||||||
$this->magicItems($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], $id);
|
$this->magicItems($this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'], $id);
|
||||||
@ -3867,7 +3883,7 @@ JS;
|
|||||||
Log::add($mas);
|
Log::add($mas);
|
||||||
$j++;
|
$j++;
|
||||||
}
|
}
|
||||||
var_dump($at);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Добавляем статистику + записываем в баттл_юзерс НР игроков
|
//Добавляем статистику + записываем в баттл_юзерс НР игроков
|
||||||
@ -4414,6 +4430,8 @@ JS;
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var_dump($_POST);
|
||||||
|
|
||||||
//atack: '3_2_0_0_0' (length=9)
|
//atack: '3_2_0_0_0' (length=9)
|
||||||
//block: '5' (length=1)
|
//block: '5' (length=1)
|
||||||
|
|
||||||
@ -4441,6 +4459,7 @@ JS;
|
|||||||
}
|
}
|
||||||
$this->uAtc = $na;
|
$this->uAtc = $na;
|
||||||
$js .= 'testClearZone();';
|
$js .= 'testClearZone();';
|
||||||
|
var_dump($this->uAtc);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function teamsTake(User $u): void
|
public function teamsTake(User $u): void
|
||||||
@ -4769,6 +4788,7 @@ JS;
|
|||||||
while ($i < count($this->uids)) {
|
while ($i < count($this->uids)) {
|
||||||
if ($this->stats[$i]['hpNow'] > 0) {
|
if ($this->stats[$i]['hpNow'] > 0) {
|
||||||
if (!isset($teams[$this->users[$i]['team']])) {
|
if (!isset($teams[$this->users[$i]['team']])) {
|
||||||
|
$teams[$this->users[$i]['team']] = '';
|
||||||
$tms[$j] = $this->users[$i]['team'];
|
$tms[$j] = $this->users[$i]['team'];
|
||||||
$j++;
|
$j++;
|
||||||
}
|
}
|
||||||
@ -4821,6 +4841,7 @@ JS;
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//генерируем команды
|
//генерируем команды
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while ($i < count($tms)) {
|
while ($i < count($tms)) {
|
||||||
|
@ -2243,13 +2243,17 @@ class Priems
|
|||||||
return [0 => $lvar, 1 => $pz];
|
return [0 => $lvar, 1 => $pz];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Генерирует html строку для вставки в JS $("#priems").html(" сюда ");
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
public function seeMy(): string
|
public function seeMy(): string
|
||||||
{
|
{
|
||||||
global $btl;
|
global $btl;
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$p = explode('|', $this->u->info['priems']);
|
$p = explode('|', $this->u->info['priems']);
|
||||||
$pr = '';
|
$pr = '';
|
||||||
$all = (int)$_GET['all'];
|
$all = $_GET['all'] ??= '0';
|
||||||
while ($i < $this->u->info['priemslot']) {
|
while ($i < $this->u->info['priemslot']) {
|
||||||
if ($p[$i] > 0) {
|
if ($p[$i] > 0) {
|
||||||
$pl = Db::getRow('select * from priems where level <= ? and activ > 0 and id = ?', [$this->u->info['level'], $p[$i]]);
|
$pl = Db::getRow('select * from priems where level <= ? and activ > 0 and id = ?', [$this->u->info['level'], $p[$i]]);
|
||||||
@ -2289,14 +2293,20 @@ class Priems
|
|||||||
$notr = $this->testpriem($pl, 2);
|
$notr = $this->testpriem($pl, 2);
|
||||||
|
|
||||||
$cli2 = '';
|
$cli2 = '';
|
||||||
if (($pz[$i] > 0 || $notr > 0) || (isset($this->u->stats['nopriems']) && $pl['nosh'] == 0) || $this->u->stats['notuse_last_pr'] == $pl['id']) {
|
if (($pz[$i] > 0 || $notr > 0) || (isset($this->u->stats['nopriems']) && $pl['nosh'] == 0) || isset($this->u->stats['notuse_last_pr']) && $this->u->stats['notuse_last_pr'] == $pl['id']) {
|
||||||
$cli2 = ' class="nopriemuse" ';
|
$cli2 = ' class="nopriemuse" ';
|
||||||
}
|
}
|
||||||
/// ТУТ!
|
/// ТУТ!
|
||||||
$priemName = $pl['name'];
|
$priemName = $pl['name'];
|
||||||
$priemImg = $pl['img'];
|
$priemImg = $pl['img'];
|
||||||
|
|
||||||
|
// Слава StackOverflow! https://stackoverflow.com/a/43631576
|
||||||
|
$var = json_encode("<b>$priemName</b><br>$lvar");
|
||||||
|
$jsOnmouseover = "top.hi(this,$var,event,3,0,1,1,'width: 240px;')";
|
||||||
|
$htmlJs = htmlspecialchars($jsOnmouseover, ENT_QUOTES);
|
||||||
|
|
||||||
$pr .= <<<HTML
|
$pr .= <<<HTML
|
||||||
<a onmouseover="let a = `<b>$priemName</b><br>$lvar`; top.hi(this,a,event,3,0,1,1,'width: 240px;')" onmouseout="top.hic();" onmousedown="top.hic();" $cl>
|
<a onmouseover="$htmlJs" onmouseout="top.hic();" onmousedown="top.hic();" $cl>
|
||||||
<img $cli2 style="margin-top: 3px; margin-left: 4px;" src="//img.new-combats.tech/i/eff/$priemImg.gif" alt=""></a>
|
<img $cli2 style="margin-top: 3px; margin-left: 4px;" src="//img.new-combats.tech/i/eff/$priemImg.gif" alt=""></a>
|
||||||
</a>
|
</a>
|
||||||
HTML;
|
HTML;
|
||||||
|
@ -171,9 +171,9 @@ class Stats
|
|||||||
$st['items'] = [];
|
$st['items'] = [];
|
||||||
$st['effects'] = [];
|
$st['effects'] = [];
|
||||||
|
|
||||||
|
if (!empty($u['vip'])) {
|
||||||
|
$st['vip'] = $u['vip'];
|
||||||
$st['vip'] = $u['vip'];
|
}
|
||||||
|
|
||||||
foreach (Conversion::dataStringToArray($u['stats']) as $stat => $value) {
|
foreach (Conversion::dataStringToArray($u['stats']) as $stat => $value) {
|
||||||
//fixme несуществующие статы mg5 mg6 a6 s8-s15
|
//fixme несуществующие статы mg5 mg6 a6 s8-s15
|
||||||
@ -297,7 +297,7 @@ class Stats
|
|||||||
|
|
||||||
|
|
||||||
//Бонусы комплектов
|
//Бонусы комплектов
|
||||||
if (is_iterable($coms['new'])) {
|
if (isset($coms['new']) && is_iterable($coms['new'])) {
|
||||||
foreach ($coms['new'] as $complect) {
|
foreach ($coms['new'] as $complect) {
|
||||||
$com = Db::getValue(
|
$com = Db::getValue(
|
||||||
'select data from complects where com = ? and x <= ? order by x desc limit 1',
|
'select data from complects where com = ? and x <= ? order by x desc limit 1',
|
||||||
|
@ -15,7 +15,7 @@ class WearedScrolls
|
|||||||
public static function ScrollsChange(array &$u): void
|
public static function ScrollsChange(array &$u): void
|
||||||
{
|
{
|
||||||
//Замена свитков
|
//Замена свитков
|
||||||
if ($u['autospell'] == 0 || $u['battle'] != 0) {
|
if (empty($u['autospell']) || !empty($u['battle'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//проверяем свитки
|
//проверяем свитки
|
||||||
|
@ -76,7 +76,7 @@ if (!isset($_COOKIE['d1c'])) {
|
|||||||
<meta name="keywords" content="<?= Config::get('keys') ?>"/>
|
<meta name="keywords" content="<?= Config::get('keys') ?>"/>
|
||||||
<meta name="msapplication-config" content="browserconfig.xml"/>
|
<meta name="msapplication-config" content="browserconfig.xml"/>
|
||||||
<link rel="stylesheet" href="i/main.css">
|
<link rel="stylesheet" href="i/main.css">
|
||||||
<link rel="stylesheet" href="css/clu0b.css"/>
|
<link rel="stylesheet" href="css/club.css"/>
|
||||||
<link rel="stylesheet" href="css/windows.css"/>
|
<link rel="stylesheet" href="css/windows.css"/>
|
||||||
<link rel="stylesheet" href="css/hack.css"/>
|
<link rel="stylesheet" href="css/hack.css"/>
|
||||||
<script>
|
<script>
|
||||||
@ -642,7 +642,7 @@ if (!isset($_COOKIE['d1c'])) {
|
|||||||
<div id="wupbox" onmouseup="win.WstopDrag()" onmousemove="win.WmoveDrag(event)" onselectstart="return false"></div>
|
<div id="wupbox" onmouseup="win.WstopDrag()" onmousemove="win.WmoveDrag(event)" onselectstart="return false"></div>
|
||||||
<div id="chconfig">
|
<div id="chconfig">
|
||||||
<div style="font-weight: bold; text-align: center;">Настройки чата</div>
|
<div style="font-weight: bold; text-align: center;">Настройки чата</div>
|
||||||
<img title="Эпическая линия (o_O)" src="<?= Config::img() ?>/1x1.gif" class="eLine" alt="hr"><br>
|
<img title="Эпическая линия (o_O)" src="<?= Config::img() ?>/1x1.gif" alt="hr"><br>
|
||||||
Скорость обновления: <SELECT id="chcf0">
|
Скорость обновления: <SELECT id="chcf0">
|
||||||
<OPTION value='-1'>никогда</OPTION>
|
<OPTION value='-1'>никогда</OPTION>
|
||||||
<OPTION value='1'>15 сек.</OPTION>
|
<OPTION value='1'>15 сек.</OPTION>
|
||||||
@ -666,7 +666,7 @@ if (!isset($_COOKIE['d1c'])) {
|
|||||||
} ?>"><input name="chcf7" type="checkbox" id="chcf7" value="1"> <span
|
} ?>"><input name="chcf7" type="checkbox" id="chcf7" value="1"> <span
|
||||||
title="Получать сообщения от персонажей на которых наложено заклятие молчания">Сообщения с молчанкой</span>
|
title="Получать сообщения от персонажей на которых наложено заклятие молчания">Сообщения с молчанкой</span>
|
||||||
</div>
|
</div>
|
||||||
<img title="Эпическая линия (o_O)" src="<?= Config::img() ?>/1x1.gif" class="eLine" alt="hr">
|
<img title="Эпическая линия (o_O)" src="<?= Config::img() ?>/1x1.gif" alt="hr">
|
||||||
<div> <span><a href="javascript:void(0)" onclick="chat.ignorListOpen();chconf();">Список игнорируемых</a></span>
|
<div> <span><a href="javascript:void(0)" onclick="chat.ignorListOpen();chconf();">Список игнорируемых</a></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
/* Главный css */
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -10,7 +12,7 @@ html, body {
|
|||||||
|
|
||||||
.m0c1 {
|
.m0c1 {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 0px;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.m0c2 {
|
.m0c2 {
|
||||||
@ -25,20 +27,15 @@ html, body {
|
|||||||
FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;
|
FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prmimgyn {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.prmimgyn:hover {
|
.prmimgyn:hover {
|
||||||
filter: alpha(opacity=50);
|
filter: alpha(opacity=50);
|
||||||
opacity: 0.5;
|
|
||||||
-moz-opacity: 0.5;
|
-moz-opacity: 0.5;
|
||||||
-khtml-opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h4 {
|
.h4 {
|
||||||
COLOR: #8f0000;
|
COLOR: #8f0000;
|
||||||
FONT-FAMILY: Arial;
|
FONT-FAMILY: Arial, sans-serif;
|
||||||
FONT-SIZE: 11pt;
|
FONT-SIZE: 11pt;
|
||||||
FONT-WEIGHT: bold;
|
FONT-WEIGHT: bold;
|
||||||
MARGIN-BOTTOM: 5px;
|
MARGIN-BOTTOM: 5px;
|
||||||
@ -46,7 +43,7 @@ html, body {
|
|||||||
|
|
||||||
H3 {
|
H3 {
|
||||||
COLOR: #8f0000;
|
COLOR: #8f0000;
|
||||||
FONT-FAMILY: Arial;
|
FONT-FAMILY: Arial, sans-serif;
|
||||||
FONT-SIZE: 12pt;
|
FONT-SIZE: 12pt;
|
||||||
FONT-WEIGHT: bold;
|
FONT-WEIGHT: bold;
|
||||||
TEXT-ALIGN: center
|
TEXT-ALIGN: center
|
||||||
@ -54,7 +51,7 @@ H3 {
|
|||||||
|
|
||||||
H4 {
|
H4 {
|
||||||
COLOR: #8f0000;
|
COLOR: #8f0000;
|
||||||
FONT-FAMILY: Arial;
|
FONT-FAMILY: Arial, sans-serif;
|
||||||
FONT-SIZE: 11pt;
|
FONT-SIZE: 11pt;
|
||||||
FONT-WEIGHT: bold;
|
FONT-WEIGHT: bold;
|
||||||
MARGIN-BOTTOM: 5px;
|
MARGIN-BOTTOM: 5px;
|
||||||
@ -62,11 +59,11 @@ H4 {
|
|||||||
|
|
||||||
H5 {
|
H5 {
|
||||||
COLOR: #4f0000;
|
COLOR: #4f0000;
|
||||||
FONT-FAMILY: Arial;
|
FONT-FAMILY: Arial, sans-serif;
|
||||||
FONT-SIZE: 11pt;
|
FONT-SIZE: 11pt;
|
||||||
FONT-WEIGHT: bold;
|
FONT-WEIGHT: bold;
|
||||||
MARGIN-BOTTOM: 0px;
|
MARGIN-BOTTOM: 0;
|
||||||
MARGIN-TOP: 0px;
|
MARGIN-TOP: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a, a:visited {
|
a, a:visited {
|
||||||
@ -84,7 +81,7 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.date {
|
.date {
|
||||||
font-family: Courier;
|
font-family: Courier, monospace;
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -92,7 +89,7 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.date2 {
|
.date2 {
|
||||||
font-family: Courier;
|
font-family: Courier, monospace;
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -101,7 +98,7 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sysdate {
|
.sysdate {
|
||||||
font-family: Courier;
|
font-family: Courier, monospace;
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -127,7 +124,7 @@ a:hover {
|
|||||||
|
|
||||||
select, textarea, input {
|
select, textarea, input {
|
||||||
border: solid 1pt #B0B0B0;
|
border: solid 1pt #B0B0B0;
|
||||||
font-family: MS Sans Serif;
|
font-family: MS Sans Serif, sans-serif;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
color: #191970;
|
color: #191970;
|
||||||
MARGIN-BOTTOM: 2px;
|
MARGIN-BOTTOM: 2px;
|
||||||
@ -135,7 +132,7 @@ select, textarea, input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ahint {
|
.ahint {
|
||||||
font-family: MS Sans Serif;
|
font-family: MS Sans Serif, sans-serif;
|
||||||
font-size: 8px;
|
font-size: 8px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #000080;
|
color: #000080;
|
||||||
@ -144,23 +141,21 @@ select, textarea, input {
|
|||||||
|
|
||||||
#hint2 {
|
#hint2 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 140;
|
width: 140px;
|
||||||
background-color: #FFF6DD;
|
background-color: #FFF6DD;
|
||||||
layer-background-color: #FFF6DD;
|
|
||||||
visibility: hidden
|
visibility: hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
#hint3 {
|
#hint3 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 240;
|
width: 240px;
|
||||||
background-color: #FFF6DD;
|
background-color: #FFF6DD;
|
||||||
layer-background-color: #FFF6DD;
|
|
||||||
visibility: hidden
|
visibility: hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
#hint4 {
|
#hint4 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 240;
|
width: 240px;
|
||||||
visibility: hidden
|
visibility: hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -170,17 +165,16 @@ select, textarea, input {
|
|||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||||
background-color: #cfcfcf;
|
background-color: #cfcfcf;
|
||||||
border-radius: 3px;
|
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
box-shadow: 0 0 3px #000000;
|
border-radius: 3px;
|
||||||
-webkit-box-shadow: 0 0 3px #000000;
|
-webkit-box-shadow: 0 0 3px #000000;
|
||||||
-moz-box-shadow: 0 0 3px #000000;
|
-moz-box-shadow: 0 0 3px #000000;
|
||||||
|
box-shadow: 0 0 3px #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foryou1 .date {
|
.foryou1 .date {
|
||||||
font-family: Courier;
|
font-family: Courier, monospace;
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -189,7 +183,7 @@ select, textarea, input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.foryou2 .date {
|
.foryou2 .date {
|
||||||
font-family: Courier;
|
font-family: Courier, monospace;
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -259,8 +253,6 @@ img, table {
|
|||||||
|
|
||||||
*[onselectstart="return false"] {
|
*[onselectstart="return false"] {
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-o-user-select: none;
|
|
||||||
-khtml-user-select: none;
|
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
@ -270,7 +262,7 @@ img, table {
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 5px 0px 0px 0px;
|
padding: 5px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#chat_list {
|
#chat_list {
|
||||||
@ -295,17 +287,15 @@ img, table {
|
|||||||
height: 235px;
|
height: 235px;
|
||||||
border: 2px solid #000;
|
border: 2px solid #000;
|
||||||
filter: alpha(opacity=57);
|
filter: alpha(opacity=57);
|
||||||
opacity: 0.57;
|
|
||||||
-moz-opacity: 0.57;
|
-moz-opacity: 0.57;
|
||||||
-khtml-opacity: 0.57;
|
opacity: 0.57;
|
||||||
background-color: #dedede;
|
background-color: #dedede;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ttSmiles:hover {
|
#ttSmiles:hover {
|
||||||
filter: alpha(opacity=90);
|
filter: alpha(opacity=90);
|
||||||
opacity: 0.90;
|
|
||||||
-moz-opacity: 0.90;
|
-moz-opacity: 0.90;
|
||||||
-khtml-opacity: 0.90;
|
opacity: 0.90;
|
||||||
}
|
}
|
||||||
|
|
||||||
#smilesDiv {
|
#smilesDiv {
|
||||||
@ -321,7 +311,6 @@ img, table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#reline1 {
|
#reline1 {
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
@ -330,7 +319,6 @@ img, table {
|
|||||||
cursor: n-resize;
|
cursor: n-resize;
|
||||||
top: 60%;
|
top: 60%;
|
||||||
z-index: 1001;
|
z-index: 1001;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#reline1:hover {
|
#reline1:hover {
|
||||||
@ -348,10 +336,6 @@ img, table {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background-color: #758999;
|
background-color: #758999;
|
||||||
/*
|
|
||||||
background-color:#CCCCCC;
|
|
||||||
border-bottom:1px solid #797779;
|
|
||||||
*/
|
|
||||||
border-top: 1px solid #aaaaaa;
|
border-top: 1px solid #aaaaaa;
|
||||||
border-bottom: 1px solid #010101;
|
border-bottom: 1px solid #010101;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
@ -386,8 +370,8 @@ img, table {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: none;
|
display: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
top: 0px;
|
top: 0;
|
||||||
left: 0px;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wupbox {
|
#wupbox {
|
||||||
@ -397,8 +381,8 @@ img, table {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: none;
|
display: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
top: 0px;
|
top: 0;
|
||||||
left: 0px;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#chconfig {
|
#chconfig {
|
||||||
@ -418,13 +402,6 @@ img, table {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eLine {
|
|
||||||
background-image: url(../expicLine.gif);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
height: 7px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#counters {
|
#counters {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 52px;
|
bottom: 52px;
|
||||||
@ -432,9 +409,8 @@ img, table {
|
|||||||
width: 88px;
|
width: 88px;
|
||||||
height: 31px;
|
height: 31px;
|
||||||
filter: alpha(opacity=35);
|
filter: alpha(opacity=35);
|
||||||
opacity: 0.35;
|
|
||||||
-moz-opacity: 0.35;
|
-moz-opacity: 0.35;
|
||||||
-khtml-opacity: 0.35;
|
opacity: 0.35;
|
||||||
z-index: 1006;
|
z-index: 1006;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -443,11 +419,9 @@ img, table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#counters:hover {
|
#counters:hover {
|
||||||
filter: Glow(strength=2, color=#DDDDDD);
|
|
||||||
filter: alpha(opacity=100);
|
filter: alpha(opacity=100);
|
||||||
opacity: 1.0;
|
-moz-opacity: 1;
|
||||||
-moz-opacity: 1.0;
|
opacity: 1;
|
||||||
-khtml-opacity: 1.0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.cp {
|
.cp {
|
||||||
@ -466,7 +440,6 @@ img, table {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* часы */
|
/* часы */
|
||||||
#tdDate {
|
#tdDate {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -501,7 +474,7 @@ img, table {
|
|||||||
|
|
||||||
/* ссылки чата */
|
/* ссылки чата */
|
||||||
.URL-a:hover {
|
.URL-a:hover {
|
||||||
text-decoration: underline
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -531,169 +504,155 @@ a.menutop:hover {
|
|||||||
.chatBtn1_1 {
|
.chatBtn1_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn1.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn1.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn1_2 {
|
.chatBtn1_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn1.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn1.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn18_1 {
|
.chatBtn18_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn18.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn18.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn18_2 {
|
.chatBtn18_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn18.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn18.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn2_1 {
|
.chatBtn2_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn2.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn2.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn2_2 {
|
.chatBtn2_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn2.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn2.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn4_1 {
|
.chatBtn4_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn4.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn4.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn4_2 {
|
.chatBtn4_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn4.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn4.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn5_1 {
|
.chatBtn5_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn5.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn5.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn5_2 {
|
.chatBtn5_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn5.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn5.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn5_3 {
|
.chatBtn5_3 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn5.gif') 0px -59px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn5.gif') 0 -59px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn6_1 {
|
.chatBtn6_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn6.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn6.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn6_2 {
|
.chatBtn6_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn6.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn6.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn7_1 {
|
.chatBtn7_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn7.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn7.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn7_2 {
|
.chatBtn7_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn7.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn7.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn7_3 {
|
.chatBtn7_3 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn7.gif') 0px -60px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn7.gif') 0 -60px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn8_1 {
|
.chatBtn8_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn8.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn8.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn8_2 {
|
.chatBtn8_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn8.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn8.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn21_1 {
|
.chatBtn21_1 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn21.gif') 0px 0px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn21.gif') 0 0 repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chatBtn21_2 {
|
.chatBtn21_2 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: url('//img.new-combats.tech/i/buttons/chatBtn21.gif') 0px -30px repeat-x;
|
background: url('//img.new-combats.tech/i/buttons/chatBtn21.gif') 0 -30px repeat-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.topusermenu {
|
.topusermenu {
|
||||||
font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif;
|
font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: #d2d0d0;
|
background-color: #d2d0d0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
border-top-width: 1px;
|
border: 1px solid #929090;
|
||||||
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-right-color: #626060;
|
||||||
border-bottom-color: #626060;
|
border-bottom-color: #626060;
|
||||||
border-left-color: #929090;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.inviseMen1 {
|
.inviseMen1 {
|
||||||
filter: alpha(opacity=90);
|
filter: alpha(opacity=90);
|
||||||
-moz-opacity: 0.90;
|
-moz-opacity: 0.90;
|
||||||
-khtml-opacity: 0.90;
|
|
||||||
opacity: 0.90;
|
opacity: 0.90;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inviseMen2 {
|
.inviseMen2 {
|
||||||
filter: alpha(opacity=60);
|
filter: alpha(opacity=60);
|
||||||
-moz-opacity: 0.60;
|
-moz-opacity: 0.60;
|
||||||
-khtml-opacity: 0.60;
|
|
||||||
opacity: 0.60;
|
opacity: 0.60;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inviseMen3 {
|
.inviseMen3 {
|
||||||
filter: alpha(opacity=30);
|
filter: alpha(opacity=30);
|
||||||
-moz-opacity: 0.30;
|
-moz-opacity: 0.30;
|
||||||
-khtml-opacity: 0.30;
|
|
||||||
opacity: 0.30;
|
opacity: 0.30;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inviseMen4 {
|
.inviseMen4 {
|
||||||
filter: alpha(opacity=10);
|
filter: alpha(opacity=10);
|
||||||
-moz-opacity: 0.10;
|
-moz-opacity: 0.10;
|
||||||
-khtml-opacity: 0.10;
|
|
||||||
opacity: 0.10;
|
opacity: 0.10;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -740,7 +699,7 @@ a.menutop:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.check_gloff {
|
.check_gloff {
|
||||||
margin-left: 0px;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.check_glon {
|
.check_glon {
|
||||||
@ -748,7 +707,7 @@ a.menutop:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.radio_gloff {
|
.radio_gloff {
|
||||||
margin-left: 0px;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio_glon {
|
.radio_glon {
|
@ -35,7 +35,7 @@ function testClearZone() {
|
|||||||
async function usepriem(id, t, img) {
|
async function usepriem(id, t, img) {
|
||||||
if (t == 1) {
|
if (t == 1) {
|
||||||
irn++;
|
irn++;
|
||||||
await $.post(`jx/battle/refresh${server_fight}.php?rnd=${ggcode}&irn=${irn}`, {
|
await $.post(`jx/battle/refresh.php?rnd=${ggcode}&irn=${irn}`, {
|
||||||
idlog: top.id_log,
|
idlog: top.id_log,
|
||||||
usepriem: id,
|
usepriem: id,
|
||||||
useon: use_on_pers
|
useon: use_on_pers
|
||||||
@ -56,7 +56,7 @@ async function useitem(id, t, use_item_on) {
|
|||||||
top.c.noEr = 1;
|
top.c.noEr = 1;
|
||||||
clearTimeout(top.c.noErTmr);
|
clearTimeout(top.c.noErTmr);
|
||||||
top.c.noErTmr = setTimeout('top.c.noEr = 0;', 1000);
|
top.c.noErTmr = setTimeout('top.c.noEr = 0;', 1000);
|
||||||
await $.post(`jx/battle/refresh${server_fight}.php?rnd=${ggcode}&irn=${irn}`, {
|
await $.post(`jx/battle/refresh.php?rnd=${ggcode}&irn=${irn}`, {
|
||||||
idlog: top.id_log,
|
idlog: top.id_log,
|
||||||
useitem: id,
|
useitem: id,
|
||||||
useitemon: use_item_on
|
useitemon: use_item_on
|
||||||
@ -276,7 +276,7 @@ async function reflesh(bl) {
|
|||||||
top.c.noEr = 1;
|
top.c.noEr = 1;
|
||||||
clearTimeout(top.c.noErTmr);
|
clearTimeout(top.c.noErTmr);
|
||||||
top.c.noErTmr = setTimeout('top.c.noEr = 0;', 1000);
|
top.c.noErTmr = setTimeout('top.c.noEr = 0;', 1000);
|
||||||
await $.post(`jx/battle/refresh${server_fight}.php?irn=${irn}&rnd=${ggcode}`, {
|
await $.post(`jx/battle/refresh.php?irn=${irn}&rnd=${ggcode}`, {
|
||||||
id: 'reflesh',
|
id: 'reflesh',
|
||||||
idlog: top.id_log,
|
idlog: top.id_log,
|
||||||
idpr: priem_use,
|
idpr: priem_use,
|
||||||
@ -296,13 +296,13 @@ async function reflesh(bl) {
|
|||||||
function autobattle() {
|
function autobattle() {
|
||||||
var i = 1;
|
var i = 1;
|
||||||
while (i <= za) {
|
while (i <= za) {
|
||||||
if (zas[i] == 0 || top.slcbrc[4] == 1) {
|
if (zas[i] == 0 || top.slcbrc[4] === 1) {
|
||||||
zas[i] = Math.floor(Math.random(5) * 5 + 1);
|
zas[i] = Math.floor(Math.random(5) * 5 + 1);
|
||||||
change_radio(i, zas[i], 'atack', 1);
|
change_radio(i, zas[i], 'atack', 1);
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if (zbs[1] == 0 || top.slcbrc[4] == 1) {
|
if (zbs[1] == 0 || top.slcbrc[4] === 1) {
|
||||||
zbs[1] = Math.floor(Math.random(5) * 5 + 1);
|
zbs[1] = Math.floor(Math.random(5) * 5 + 1);
|
||||||
change_radio(1, zbs[1], 'block', 1);
|
change_radio(1, zbs[1], 'block', 1);
|
||||||
}
|
}
|
||||||
@ -316,17 +316,17 @@ function sleep(time) {
|
|||||||
|
|
||||||
// Действите при выставлении хода и нажатии на Вперёд!
|
// Действите при выставлении хода и нажатии на Вперёд!
|
||||||
async function atack() {
|
async function atack() {
|
||||||
if (top.slcbrc[3] == 1) autobattle();
|
if (top.slcbrc[3] === 1) autobattle();
|
||||||
|
|
||||||
var ago = `${zas[1]}_${zas[2]}_${zas[3]}_${zas[4]}_${zas[5]}`;
|
const ago = `${zas[1]}_${zas[2]}_${zas[3]}_${zas[4]}_${zas[5]}`;
|
||||||
var bgo = zbs[1];
|
const bgo = zbs[1];
|
||||||
|
|
||||||
irn++;
|
irn++;
|
||||||
if (top.c.noEr == 0) {
|
if (top.c.noEr === 0) {
|
||||||
top.c.noEr = 1;
|
top.c.noEr = 1;
|
||||||
clearTimeout(top.c.noErTmr);
|
clearTimeout(top.c.noErTmr);
|
||||||
top.c.noErTmr = setTimeout('top.c.noEr = 0;', 1000);
|
top.c.noErTmr = setTimeout('top.c.noEr = 0;', 1000);
|
||||||
await $.post(`jx/battle/refresh${server_fight}.php?irn=${irn}&rnd=${ggcode}`, {
|
await $.post(`jx/battle/refresh.php?irn=${irn}&rnd=${ggcode}`, {
|
||||||
atack: ago,
|
atack: ago,
|
||||||
block: bgo,
|
block: bgo,
|
||||||
idlog: top.id_log,
|
idlog: top.id_log,
|
||||||
|
@ -87,7 +87,6 @@ const chat = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (frc.name) {
|
if (frc.name) {
|
||||||
this.sendSound(frc.sound);
|
|
||||||
const obj = top.frames.main.document.getElementById('frvrks');
|
const obj = top.frames.main.document.getElementById('frvrks');
|
||||||
if (obj !== undefined) {
|
if (obj !== undefined) {
|
||||||
let newhtml = '';
|
let newhtml = '';
|
||||||
@ -276,14 +275,13 @@ const chat = {
|
|||||||
clearTimeout(this.t);
|
clearTimeout(this.t);
|
||||||
if ($.cookie('btl') !== this.btl) {
|
if ($.cookie('btl') !== this.btl) {
|
||||||
if ($.cookie('btl') > 0) {
|
if ($.cookie('btl') > 0) {
|
||||||
this.sendSound(2);
|
if (!top.frames['main'].smnpty) {
|
||||||
if (top.frames['main'].smnpty === undefined) {
|
|
||||||
top.frames['main'].location.href = "main.php";
|
top.frames['main'].location.href = "main.php";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.btl = $.cookie('btl');
|
this.btl = $.cookie('btl');
|
||||||
}
|
}
|
||||||
if (this.rtime !== this.ct[$.cookie('chatCfg0')] && this.ct[$.cookie('chatCfg0')] !== undefined) {
|
if (this.rtime !== this.ct[$.cookie('chatCfg0')] && this.ct[$.cookie('chatCfg0')]) {
|
||||||
this.rtime = this.ct[$.cookie('chatCfg0')];
|
this.rtime = this.ct[$.cookie('chatCfg0')];
|
||||||
if (this.time > this.rtime) this.time = this.rtime;
|
if (this.time > this.rtime) this.time = this.rtime;
|
||||||
}
|
}
|
||||||
@ -720,7 +718,6 @@ const chat = {
|
|||||||
|
|
||||||
if (msg_see === 1) {
|
if (msg_see === 1) {
|
||||||
if (this.trim(data[3].toLowerCase()) === c.login.toLowerCase() || forYou === 1) {
|
if (this.trim(data[3].toLowerCase()) === c.login.toLowerCase() || forYou === 1) {
|
||||||
if (data[9] > 0) this.sendSound(data[9]);
|
|
||||||
if (data[15]) {
|
if (data[15]) {
|
||||||
this.feerverk(data[15]);
|
this.feerverk(data[15]);
|
||||||
this.feerverk(data[15]);
|
this.feerverk(data[15]);
|
||||||
|
@ -207,8 +207,6 @@ if (!$isBattle) {
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$js .= '$("#priems").html("' . $priem->seeMy() . '");';
|
|
||||||
$jslog = $btl->lookmLog() . $btl->lookLog();
|
$jslog = $btl->lookmLog() . $btl->lookLog();
|
||||||
if ($jslog != '') {
|
if ($jslog != '') {
|
||||||
$js = $jslog . $js;
|
$js = $jslog . $js;
|
||||||
@ -232,6 +230,7 @@ if (!$isBattle) {
|
|||||||
$smnpty = (int)$u->info['smena'];
|
$smnpty = (int)$u->info['smena'];
|
||||||
$mainstatus = $btl->mainStatus;
|
$mainstatus = $btl->mainStatus;
|
||||||
$ggcode = PassGen::new();
|
$ggcode = PassGen::new();
|
||||||
|
$mypriems = $priem->seeMy();
|
||||||
|
|
||||||
echo <<<HTML
|
echo <<<HTML
|
||||||
<script>
|
<script>
|
||||||
@ -240,6 +239,7 @@ if (!$isBattle) {
|
|||||||
$('#expmaybe').html('$expmaybe');
|
$('#expmaybe').html('$expmaybe');
|
||||||
$('#timer_out').html('$tmr');
|
$('#timer_out').html('$tmr');
|
||||||
$('#pers_magic').html('$persMagic');
|
$('#pers_magic').html('$persMagic');
|
||||||
|
$('#priems').html(`$mypriems`);
|
||||||
g_iCount = 30;
|
g_iCount = 30;
|
||||||
noconnect = 15;
|
noconnect = 15;
|
||||||
connect = 1;
|
connect = 1;
|
||||||
@ -259,7 +259,10 @@ if (!$isBattle) {
|
|||||||
tactic(7,'$tactic7');
|
tactic(7,'$tactic7');
|
||||||
smena_alls = '0';
|
smena_alls = '0';
|
||||||
ggcode='$ggcode';
|
ggcode='$ggcode';
|
||||||
|
|
||||||
|
|
||||||
$js
|
$js
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
HTML;
|
HTML;
|
||||||
|
|
||||||
|
15
main.php
15
main.php
@ -271,6 +271,8 @@ if (in_array(
|
|||||||
$q->testquest();
|
$q->testquest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "<!DOCTYPE html>";
|
||||||
|
|
||||||
$iloc = '';
|
$iloc = '';
|
||||||
$iloce = '';
|
$iloce = '';
|
||||||
$img = Config::img();
|
$img = Config::img();
|
||||||
@ -403,8 +405,7 @@ $spl = Db::getValue('select exp from levels where nextlevel = ? order by exp lim
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!isset($_GET['mAjax']) && !isset($_GET['ajaxHostel'])) {
|
if (!isset($_GET['mAjax']) && !isset($_GET['ajaxHostel'])) {
|
||||||
echo '<!DOCTYPE html>
|
echo '<div style="padding-top:0; margin-top:17px; background-color:#e2e0e1;">';
|
||||||
<div style="padding-top:0; margin-top:17px; /*height:100%;*/ background-color:#e2e0e1;">';
|
|
||||||
}
|
}
|
||||||
if (isset($btl_last['id']) && $u->info['battle'] == 0) {
|
if (isset($btl_last['id']) && $u->info['battle'] == 0) {
|
||||||
require_once('modules_data/btl_.php');
|
require_once('modules_data/btl_.php');
|
||||||
@ -449,9 +450,7 @@ if (isset($btl_last['id']) && $u->info['battle'] == 0) {
|
|||||||
if ($u->info['allLock'] < time()) {
|
if ($u->info['allLock'] < time()) {
|
||||||
$u->deleteItem(intval($_GET['delete']), $u->info['id']);
|
$u->deleteItem(intval($_GET['delete']), $u->info['id']);
|
||||||
} else {
|
} else {
|
||||||
echo '<script>setTimeout(function(){alert("Вам запрещено удалять предметы до ' . date(
|
echo '<script>setTimeout(function(){alert("Вам запрещено удалять предметы до ' . date('d.m.y H:i', $u->info['allLock']) . '")},250);</script>';
|
||||||
'd.m.y H:i', $u->info['allLock']
|
|
||||||
) . '")},250);</script>';
|
|
||||||
}
|
}
|
||||||
} elseif (isset($_GET['unstack']) && isset($_GET['inv']) && $u->newAct($_GET['sd4'])) {
|
} elseif (isset($_GET['unstack']) && isset($_GET['inv']) && $u->newAct($_GET['sd4'])) {
|
||||||
$u->unstack(intval($_GET['unstack']), intval($_GET['unstackCount']));
|
$u->unstack(intval($_GET['unstack']), intval($_GET['unstackCount']));
|
||||||
@ -508,7 +507,7 @@ if (isset($_GET['security']) && !isset($u->tfer['id']) && $trololo == 1) {
|
|||||||
//поединок
|
//поединок
|
||||||
if ((!isset($btl_last['id']) || $u->info['battle'] > 0) && !isset($u->info['battle_lsto'])) {
|
if ((!isset($btl_last['id']) || $u->info['battle'] > 0) && !isset($u->info['battle_lsto'])) {
|
||||||
require_once('modules_data/btl_.php');
|
require_once('modules_data/btl_.php');
|
||||||
echo '<script type="text/javascript" src="js/onlineList.js"></script>';
|
echo '<script src="js/onlineList.js"></script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -533,9 +532,7 @@ if (isset($_GET['security']) && !isset($u->tfer['id']) && $trololo == 1) {
|
|||||||
) && $trololo == 1 && $u->info['inTurnir'] == 0 && $u->info['inTurnirnew'] == 0) {
|
) && $trololo == 1 && $u->info['inTurnir'] == 0 && $u->info['inTurnirnew'] == 0) {
|
||||||
if ($u->info['allLock'] > time()) {
|
if ($u->info['allLock'] > time()) {
|
||||||
require_once('modules_data/_locations.php');
|
require_once('modules_data/_locations.php');
|
||||||
echo '<script>setTimeout(function(){alert("Вам запрещены передачи до ' . date(
|
echo '<script>setTimeout(function(){alert("Вам запрещены передачи до ' . date('d.m.y H:i', $u->info['allLock']) . '")},250);</script>';
|
||||||
'd.m.y H:i', $u->info['allLock']
|
|
||||||
) . '")},250);</script>';
|
|
||||||
} else {
|
} else {
|
||||||
require_once('modules_data/_transfers.php');
|
require_once('modules_data/_transfers.php');
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ foreach ($bonus[(int)$u->info['align']]['items'] as $bonusItem) {
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<link href="<?= Config::img() ?>/css/main.css" rel="stylesheet" type="text/css">
|
<link href="<?= Config::img() ?>/css/main.css" rel="stylesheet" type="text/css">
|
||||||
<link rel="stylesheet" type="text/css" href="/css/clu0b.css"/>
|
<link rel="stylesheet" type="text/css" href="../css/club.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="/css/windows.css"/>
|
<link rel="stylesheet" type="text/css" href="/css/windows.css"/>
|
||||||
<script>
|
<script>
|
||||||
let elem = document.getElementById('se-pre-con');
|
let elem = document.getElementById('se-pre-con');
|
||||||
|
@ -61,15 +61,11 @@ function normJsonStr($str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$allprice = Battle::getType($allprice, $thisBattle['smert'] == 1);
|
$allprice = Battle::getType($allprice, $thisBattle['smert'] == 1);
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script src="/js/jquery.js"></script>
|
<script src="/js/jquery.js"></script>
|
||||||
<link href="/btl_1.css" rel="stylesheet">
|
<link href="/btl_1.css" rel="stylesheet">
|
||||||
<script>
|
<script>
|
||||||
var server_fight = "";
|
|
||||||
|
|
||||||
function maginfo(z, p, m, obj) {
|
function maginfo(z, p, m, obj) {
|
||||||
let r = '';
|
let r = '';
|
||||||
r += '<b>' + $(obj).attr('magelogin') + '</b><br><br>';
|
r += '<b>' + $(obj).attr('magelogin') + '</b><br><br>';
|
||||||
@ -91,11 +87,11 @@ $allprice = Battle::getType($allprice, $thisBattle['smert'] == 1);
|
|||||||
setInterval('top.c.noEr = 0;', 1000);
|
setInterval('top.c.noEr = 0;', 1000);
|
||||||
|
|
||||||
function mbsum(event) {
|
function mbsum(event) {
|
||||||
if (document.getElementById('back_menu_down').style.display != 'none') {
|
if (document.getElementById('back_menu_down').style.display !== 'none') {
|
||||||
setTimeout("document.getElementById('back_menu_down').click()", 1000);
|
setTimeout("document.getElementById('back_menu_down').click()", 1000);
|
||||||
}
|
}
|
||||||
if ((event.keyCode == 13 || event.keyCode == 70) && top.c.noEr == 0) {
|
if ((event.code === 'Enter' || event.code === 'KeyF') && top.c.noEr === 0) {
|
||||||
if (document.getElementById('mainpanel').style.display == 'none') {
|
if (document.getElementById('mainpanel').style.display === 'none') {
|
||||||
reflesht();
|
reflesht();
|
||||||
} else {
|
} else {
|
||||||
if (document.getElementById('go_btn').disabled) {
|
if (document.getElementById('go_btn').disabled) {
|
||||||
@ -109,7 +105,7 @@ $allprice = Battle::getType($allprice, $thisBattle['smert'] == 1);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//space
|
//space
|
||||||
if (event.keyCode == 32 && top.c.noEr == 0) {
|
if (event.code === 'Enter' && top.c.noEr === 0) {
|
||||||
document.getElementById('reflesh_btn').setAttribute("class", "buttons btnnew btnnew2");
|
document.getElementById('reflesh_btn').setAttribute("class", "buttons btnnew btnnew2");
|
||||||
document.getElementById('reflesh_btn').setAttribute("onclick", "");
|
document.getElementById('reflesh_btn').setAttribute("onclick", "");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user