циклическая галерея на странице точки

This commit is contained in:
Krivchikov Dmitry 2014-10-11 20:10:15 +04:00
parent 341cacc844
commit 9d357f9ded
1 changed files with 2 additions and 2 deletions

View File

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