From 4def00efffac5936e35452ba65aefb62efb3e7eb Mon Sep 17 00:00:00 2001 From: lopar Date: Fri, 9 Mar 2018 18:03:58 +0200 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D1=80=D0=B0=D1=81?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BA?= =?UTF-8?q?=D0=B0=D1=80=D1=82=D0=B8=D0=BD=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- city.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/city.php b/city.php index 08fc93c..3d7c9e2 100644 --- a/city.php +++ b/city.php @@ -353,7 +353,7 @@ $online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time { if (!$noSeason) $img = getSeason() . $img; ?> -
+
<?= $des ?>query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time $daytime = date('H'); if ($daytime >= 6 && $daytime <= 21) $background = getSeason() . $img . '_day'; else $background = getSeason() . $img . '_night'; - echo sprintf('
', $background); - echo '
'; /*Нулевой элемент от которого отталкиваются картинки*/ + echo sprintf('
', $background); /** * Исходные строки: * echo "
\"\"";