{if $collection.photo != ''} {$c.name|escape} {else} {$c.name|escape} {/if}

{$collection.name}

{$lang.by}: {$collection.user.username}

{$collection.text|nl2br}

{$collection.items}

{$lang.items}


{$paging}
{if $items} {foreach from=$items item=i name=foo}
{$i.name|escape}
{$lang.in} {foreach from=$i.categories item=c name=foo} {$categories[$c].name} {if !$smarty.foreach.foo.last} \ {/if} {/foreach}

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

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

{section name=foo start=1 loop=6 step=1} {if $i.rating > $smarty.section.foo.index} {else} {/if} {/section} {if check_login_bool() && $collection.user_id == $smarty.session.user.user_id} Delete {/if}
{/foreach} {else}
{$lang.no_items}
{/if}
{$paging}
{if check_login_bool()}

{$lang.rate_this_collection}

                {if $collection.rate} {section name=foo start=1 loop=6 step=1} {if $collection.rate.rate >= $smarty.section.foo.index} {else} {/if} {/section}
{else}
{section name=foo start=1 loop=6 step=1} {/section}
{/if} ( {$collection.votes} {$lang.votes} ) {if $collection.rate}
{$lang.you_rate}: {$collection.rate.rate} {/if}

{/if} {literal} {/literal}
{$lang.grid_view} {$lang.list_view}

{$lang.collection_owner}
{if $user.avatar != ''} {$collection.user.username} {else} {$collection.user.username} {/if}
{$collection.user.username}
{if check_login_bool() && $collection.user_id == $smarty.session.user.user_id}
{$lang.edit_collection}
(260px x 140px) {$lang.public_visible}
{$lang.delete_collection}
{/if}