добавим картинок…
This commit is contained in:
parent
04f5b056f3
commit
f1ca34d838
2
city.php
2
city.php
@ -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>'; /*Нулевой элемент от которого отталкиваются картинки*/
|
||||
/**
|
||||
* Исходные строки:
|
||||
|
Loading…
Reference in New Issue
Block a user