From dd8b9e847c0afe3abfdc7491cb2d8b55f5afd3c4 Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Wed, 30 Sep 2020 15:32:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=BA=D1=80=D1=83=D1=87?= =?UTF-8?q?=D0=B8=D0=B2=D0=B0=D0=B5=D0=BC=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE?= =?UTF-8?q?=D0=BD.=20=D0=A5=D0=BE=D1=80=D0=BE=D0=BD=D0=B8=D0=BC=20=D0=B8?= =?UTF-8?q?=D0=B4=D0=B8=D0=BE=D1=82=D1=81=D0=BA=D0=B8=D0=B5=20=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=B1=D0=BA=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aren_of_angels.php | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/aren_of_angels.php b/aren_of_angels.php index ec73987..d174cda 100644 --- a/aren_of_angels.php +++ b/aren_of_angels.php @@ -20,8 +20,8 @@ function join_arena($u, $btl, $team, $at) $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()); + $battle[$u][$k] = [0, 0, time()]; + $battle[$k][$u] = [0, 0, time()]; } if ($team == 1) { $adtxt = 'За сторону Тьмы.'; @@ -36,9 +36,9 @@ function join_arena($u, $btl, $team, $at) function aligntype($a) { - $lightaligns = array("1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9"); - $darkaligns = array("2.2", "3", "8.21"); - $neutralaligns = array("2", "8.31"); + $lightaligns = ["1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9"]; + $darkaligns = ["2.2", "3", "8.21"]; + $neutralaligns = ["2", "8.31"]; if (in_array($a, $lightaligns)) { return 1; } @@ -126,15 +126,9 @@ if (isset($_GET['append'])) { } } } - +Template::header('Арена Ангелов'); ?> - - - - - - - + -

Арена Ангелов

@@ -224,12 +217,14 @@ if (isset($_GET['append'])) {
- .
Следующая битва для 7-21 ур. состоится: + .
Следующая битва для 7-21 ур. + состоится:

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

-
ход боя »» +
ход + боя »»
@@ -252,6 +247,4 @@ if (isset($_GET['append'])) { - - - \ No newline at end of file + \ No newline at end of file