Thank you!
<?php
foreach($page->kat_page as $item) { //$item = kategoria
$rec = $pages->find("kat_page=$item, id!=$page");
foreach($rec as $key) {//kategoria->recept
echo "<div class='col-md-6 col-sm-6 col-lg-4'><div class='rec_item'>";
foreach($key->images as $image) {
echo "<div class='img'><img class='resize' src='{$image->url}' alt='{$key->title}'></div>";
}
echo "<div class='desc_area'>
<a class='title' href='{$key->url}'>{$key->title}</a>
<div class='desc dot is-truncated'>{$key->summary}</div>
</div>
</div>
</div>";
}
}?>
Are you okay? Not much for forearch, can it be better?