циклическая галерея на странице точки
This commit is contained in:
parent
341cacc844
commit
9d357f9ded
|
|
@ -53,7 +53,7 @@
|
|||
<tr>
|
||||
<td width="33%"></td>
|
||||
<td width="34%">
|
||||
<div class="fotorama" data-maxwidth="555">
|
||||
<div class="fotorama" data-maxwidth="555" data-loop="true">
|
||||
<?php if ($point->img): ?>
|
||||
<a href="<?= $point->img ?>">
|
||||
<img src="<?= $point->img ?>" />
|
||||
|
|
@ -99,7 +99,7 @@
|
|||
<div class="col-md-2" style="width: 250px!important;">
|
||||
<h2>Поблизости:</h2>
|
||||
<?php if(empty($closestPoints)):?>
|
||||
Известных нам точек поблизости нет.
|
||||
нет известных нам точек.
|
||||
<?php else: ?>
|
||||
<?php foreach ($closestPoints as $cPoint): ?>
|
||||
<a href="/page/point/id/<?= $cPoint->id ?>"><img src="<?= $cPoint->getImg()?>" title="<?= $cPoint->name ?>" style="width: 105px;"/></a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue