<h3>Last books</h3><div>
{get_last vector='00000101000635320068381700683643' listing_amount=$listing_amount offset=$offset}
<div>
  {foreach from=$get_last item=child name=kniha}
  {if $child.template_id eq 12}
    <div class="news {if $friends[$child.node_creator] eq true}friend{/if}">
      {if $child.node_created > $node.last_visit}<span class="most_important">NEW</span>{/if}
      <a href='/id/{$child.node_id}'>{$child.node_name}</a>
      in <a href='/id/{$child.node_parent}'>{$child.parent_name}</a><br>
      {$child.node_content|truncate:300|strip_tags}
    </div>
  {/if}
  {/foreach}
</div>
</div>
</div>