{if !isset($title)}
    {assign var='title' value=$login_data_fullname}
{/if}
{include file='r_basic/popup_header.tpl'}

{if isset($midblockcontent)}
    {$midblockcontent}
{else}
    {include file='r_basic/frontpage.tpl'}
{/if}

{include file='r_basic/popup_footer.tpl'}