{include file="header.html"}
{if count($languages) > 1}
{$smarty.const.chenge_lng|htmlentities:3:'UTF-8'}
{/if} {if $loggedin || $guestview} {/if}

{$smarty.const._TITLE|htmlentities:3:'UTF-8'}
{$smarty.const.MY_COLLECTION|htmlentities:3:'UTF-8'}

{if !$loggedin && !$guestview} {include file="users/login.html"} {/if} {if $loggedin || $guestview} {if isset($main)}{include file="$main"}{/if} {/if}
{if isset($message)}
{translate($message)|htmlentities:3:'UTF-8'}
{/if} {include file="footer.html"}