{$lang.weekly_top_sells}

{$lang.week_ending} {$endDate|date_format:"%d %b"}

{if $nextDate} {else} {/if}
{if $topSellItems} {foreach from=$topSellItems item=i name=foo}
{$smarty.foreach.foo.index+1} {$i.name|escape}
{$lang.in} {foreach from=$i.categories item=c name=foo1} {$categories[$c].name} {if !$smarty.foreach.foo1.last} \ {/if} {/foreach}

{$currency.symbol}{$i.price|string_format:"%.0f"}

{$i.sales} {$lang.sales}

{section name=foo1 start=1 loop=6 step=1} {if $i.rating >= $smarty.section.foo1.index} {else} {/if} {/section}
{/foreach} {else}
{$lang.no_items}
{/if}


{$lang.three_monthly} {$endMonthlyDate|date_format:"%d %b %Y"}

{if $topMonthlyItems} {foreach from=$topMonthlyItems item=i name=foo}
{$smarty.foreach.foo.index+1} {$i.name|escape}
{$lang.in} {foreach from=$i.categories item=c name=foo1} {$categories[$c].name} {if !$smarty.foreach.foo1.last} \ {/if} {/foreach}

{$currency.symbol}{$i.price|string_format:"%.0f"}

{$i.sales} {$lang.sales}

{section name=foo1 start=1 loop=6 step=1} {if $i.rating >= $smarty.section.foo1.index} {else} {/if} {/section}
{/foreach} {else}
{$lang.no_items}
{/if}


{$lang.grid_view} {$lang.list_view}
{$lang.top_authors_in} {$lang.monthArr[$month]}
{if $topAuthors} {foreach from=$topAuthors item=u name=foo}
{/foreach} {/if}