<ul class="top"><li><a class="ajax block" href="/animal/refresh/<?=$refresh?>">
<img alt="" class="icon" src="/design/icons/<?=$top['icon']?>.png"><?=$top['link']?></a></li></ul>
<ul><? foreach($animal as &$post) : ?><li><? if ($post['link']) : ?><a class="ajax list" href="/<?=$post['link']?>/token/<?=TOKEN?>">
<? endif; ?><article class="pet"><img alt="" class="pet" src="/design/animal/<?=$post['image']?>.png">
<h4><?=$post['name']?></h4><p><img alt="" class="icos" src="/design/icons/<?=$post['icon']?>.png">
<?=$post['text']?></p></article><? if ($post['link']) : ?></a></li><? endif; ?><? endforeach; ?></ul>
<? if ($bottom) : ?><ul class="bottom"><li><a class="ajax block bottom" href="/animal/deletion/token/<?=TOKEN?>">
<img alt="" class="icon" src="/design/icons/delete.png">Убрать животных</a></li></ul><? endif; ?>