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

This commit is contained in:
lopar 2018-03-09 17:51:02 +02:00
parent 20f1659984
commit 04f5b056f3

View File

@ -368,6 +368,7 @@ $online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time
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 '<div style="position:relative; top:0; left:0;"></div>'; /*Нулевой элемент от которого отталкиваются картинки*/
/**
* Исходные строки:
* echo "<table width=1><tr><td><div style=\"position:relative; cursor: pointer;\" id=\"ione\"><img src=\"i/city/", $fon, ".jpg\" alt=\"\" border=\"0\"/>";