{extends "../@layout.xml"} {block title}{$correspondent->getCanonicalName()}{/block} {block header} {_my_messages} » {$correspondent->getCanonicalName()}
{var $diff = date_diff(date_create(), date_create('@' . $online))} {if 5 >= $diff->i} {_online} {else} {$correspondent->isFemale() ? "заходила" : "заходил"} {$correspondent->getOnline()} {/if}
{/block} {block wrap}
{if $correspondent->getId() === $thisUser->getId() || $correspondent->getPrivacyPermission('messages.write', $thisUser)} {$thisUser->getCanonicalName()}
{$correspondent->getCanonicalName()} {else}
{/if}
{/block}