{* main admin template*} {$smarty.const.ADMIN_TITLE} {if $current_dpt && $current_dpt ne "custord"} {/if}

{$smarty.const.ADMIN_TITLE|capitalize} ({$smarty.const.ADMIN_BACK_TO_SHOP|capitalize})

{if $totals ne ""} {$totals.products} продуктов в {$totals.categories} категориях
{$totals.orders} заказов
Продажи всего: {$totals.revenue}
{else}   {/if}
{section name=i loop=$admin_sub_departments}{if $current_sub eq $admin_sub_departments[i].id} {if $current_dpt ne "reports"}{* do not show icons for REPORTS section *}{/if}
{$admin_sub_departments[i].name|replace:'{$admin_sub_departments[i].name}
{/if}{/section} {include file="$admin_main_content_template"}