{if $categories}

{$smarty.const.ADMIN_CATEGORY_TITLE} | {$smarty.const.ADMIN_VIEW_COUNT}
{assign var="admhl" value=0} {section name=i loop=$categories} {if $admhl eq 1}
{else}{assign var="admhl" value=1}{/if}
{$categories[i].name} | {$categories[i].viewed_times}
{/section}

{else}

{$smarty.const.STRING_EMPTY_LIST}

{/if}

{$smarty.const.ADMIN_CLEAR_CATVHISTORY}

{$smarty.const.USEFUL_FOR_YOU} {$smarty.const.ALERT_ADMIN3} {$smarty.const.ALERT_ADMIN2}