From a1408072d63671c74a21884a3fa1918af6344afd Mon Sep 17 00:00:00 2001 From: Ivor Barhansky Date: Fri, 10 May 2024 16:54:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D0=B3=20=D1=8F=D0=B2=D0=B0=D1=81=D0=BA=D1=80?= =?UTF-8?q?=D0=B8=D0=BF=D1=82=D0=BE=D0=B2.=20=D0=A3=D0=B1=D0=BE=D1=80?= =?UTF-8?q?=D0=BA=D0=B0=20jQuery.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jx/battle/refresh.php | 21 +++++++++------------ modules_data/btl_.php | 8 ++++---- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/jx/battle/refresh.php b/jx/battle/refresh.php index 761006e6..5cccad2b 100644 --- a/jx/battle/refresh.php +++ b/jx/battle/refresh.php @@ -235,18 +235,18 @@ if (!$isBattle) { echo << eatk = $atk1; - $('#nabito').html('$nabito'); - $('#expmaybe').html('$expmaybe'); - $('#timer_out').html('$tmr'); - $('#pers_magic').html('$persMagic'); - $('#priems').html(`$mypriems`); + getElementByIdInMainFrame('nabito').innerHTML = `$nabito`; + getElementByIdInMainFrame('expmaybe').innerHTML = `$expmaybe`; + getElementByIdInMainFrame('timer_out').innerHTML = `$tmr`; + getElementByIdInMainFrame('pers_magic').innerHTML = `$persMagic`; + getElementByIdInMainFrame('priems').innerHTML = `$mypriems`; g_iCount = 30; noconnect = 15; connect = 1; - $('#go_btn').show(); - $('#reflesh_btn').show(); - za = '$za'; genZoneAtack(); - zb = '$zb'; genZoneBlock(); + getElementByIdInMainFrame('go_btn').style.display = ''; + getElementByIdInMainFrame('reflesh_btn').style.display = ''; + za = $za; genZoneAtack(); + zb = $zb; genZoneBlock(); refleshPoints(); tactic(1,'$tactic1'); tactic(2,'$tactic2'); @@ -260,9 +260,7 @@ if (!$isBattle) { smena_alls = '0'; ggcode='$ggcode'; - $js - HTML; @@ -273,5 +271,4 @@ HTML; unset($atk1); } echo ''; - } diff --git a/modules_data/btl_.php b/modules_data/btl_.php index b29bc3e9..f7d8680b 100644 --- a/modules_data/btl_.php +++ b/modules_data/btl_.php @@ -188,10 +188,10 @@ $allprice = Battle::getType($allprice, $thisBattle['smert'] == 1);