добавим картинок…

This commit is contained in:
lopar 2018-03-09 17:53:36 +02:00
parent 04f5b056f3
commit f1ca34d838

View File

@ -367,7 +367,7 @@ $online = db::c()->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('<div style="position:relative; cursor: pointer;" id="ione"><img src="i/city/%s.jpg">', $background);
echo sprintf('<div style="position:relative; cursor: pointer; top:0; left:0;" id="ione"><img src="i/city/%s.jpg">', $background);
echo '<div style="position:relative; top:0; left:0;"></div>'; /*Нулевой элемент от которого отталкиваются картинки*/
/**
* Исходные строки: