This commit is contained in:
Krivchikov Dmitry 2015-05-31 16:11:59 +03:00
parent 4eae03462f
commit 5a6408c059
2 changed files with 3 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class PageController extends Controller
$point->iLike = Like::model()->checkIsMy($pointId); $point->iLike = Like::model()->checkIsMy($pointId);
$photoLinks = PhotoLinks::model()->getAll(array('where'=>'`photo` LIKE "'.$pointId.'_%"')); $photoLinks = PhotoLinks::model()->getAll(array('where'=>'`pointId` = '.$pointId));
$photoLinksRes = array(); $photoLinksRes = array();
if ($photoLinks) { if ($photoLinks) {
foreach ($photoLinks as $photoLink) { foreach ($photoLinks as $photoLink) {

View File

@ -61,6 +61,8 @@
for ($index = $index; $index < count($text); $index++) { for ($index = $index; $index < count($text); $index++) {
print $text[$index] . ' '; print $text[$index] . ' ';
} }
print "<br/><br/>";
} }
?> ?>