{extends "../@layout.xml"} {block title} {_gift_select} {/block} {block header} {$user->getCanonicalName()} » {_gift_select} » {_collections} » {$cat->getName(tr("__lang"))} {/block} {block content}
{_gift} {if $gift->isFree()} {_free_gift} {else} {tr('coins', $gift->getPrice())} {/if} {if $gift->getUsagesLeft($thisUser) !== INF} {tr("gifts_left", $gift->getUsagesLeft($thisUser))} {/if} 
{include "../components/paginator.xml", conf => (object) [ "page" => $page, "count" => $count, "amount" => sizeof($gifts), "perPage" => OPENVK_DEFAULT_PER_PAGE, ]}
{/block}