{include file="$root_path/zipmarket/apps/users/views/elite_profile.html"}
{$errorMessage}
{if $user.homeimage != ''} {$user.username} {else} {$user.username} {/if}
{if $user.profile_title != ''}

{$user.profile_title}

{/if} {if $user.profile_desc != ''}
{$user.profile_desc|nl2br}
{/if} {if $collections}

{$lang.public_collections}

{foreach from=$collections item=c}
{if $c.photo != ''} {$c.name|escape} {else} {$c.name|escape} {/if}

{$c.name}
{section name=foo start=1 loop=6 step=1}{if $c.rating >= $smarty.section.foo.index}{else}{/if}{/section}

{/foreach}
{else} {if check_login_bool() && $user.user_id == $smarty.session.user.user_id}
Would you like to display collections on your profile page? To get started, create a public bookmarks collection with a preview image. Your three most recent collections will appear here.
{/if} {/if}
{if $follow.to < 1 && $follow.from < 1}{else}

{if $follow.toto < '1'}0{else}{$follow.toto_count}{/if} {$lang.followers}

{if $follow.to} {foreach from=$follow.to item=f} {if $f.avatar != ''} {$f.username} {else} {$f.username} {/if} {/foreach} {/if} {if $follow.to_count > 8} . . . {/if}

{$lang.authors_i_follow}: {if $follow.fromfrom < '1'}0{else}{$follow.fromfrom_count}{/if}

{if $follow.from} {foreach from=$follow.from item=f} {if $f.avatar != ''} {$f.username} {else} {$f.username} {/if} {/foreach} {/if} {if $follow.from_count > 8} . . . {/if}
{/if}