{extends "@layout.xml"} {block wrap}
{include tabs}
{var data = is_array($iterator) ? $iterator : iterator_to_array($iterator)} {if sizeof($data) > 0}
{include "components/paginator.xml", conf => (object) [ "page" => $page, "count" => $count, "amount" => sizeof($data), "perPage" => $perPage ?? OPENVK_DEFAULT_PER_PAGE, "atBottom" => true, ]}
{else} {ifset customErrorMessage} {include customErrorMessage} {else} {include "components/nothing.xml"} {/ifset} {/if}
{/block}