<{if $show_menu}>
<{foreach name=mainmenu key=key item=menu from=$mainmenu}>
<{if $use_accesskey}>
[<{$key}>]<{$menu.title}>
<{else}>
<{$menu.title}>
<{/if}>
<{if !$smarty.foreach.mainmenu.last}>
<{/if}>
<{/foreach}>
<{else}>
<{$message}>
<{/if}>
<{if $show_login || $show_search}>
<{if $show_login}>
<{if $is_user}>
<{$smarty.const._MD_XMOBILE_LOG_OUT}>
<{$smarty.const._MD_XMOBILE_ACCOUNT}>
<{$privmessage_state}>
<{$smarty.const._MD_XMOBILE_NOTIFICATION}>
<{else}>
<{if $use_easy_login && $carrier == 1}><{* docomo *}>
<{$smarty.const._MD_XMOBILE_LOG_IN}>
<{else}><{* other case *}>
<{$smarty.const._MD_XMOBILE_LOG_IN}>
<{/if}>
<{$smarty.const._MD_XMOBILE_LOST_PASS}>
<{if $show_register}>
<{$smarty.const._MD_XMOBILE_NEW_USER_ENTRY}>
<{/if}>
<{/if}>
<{/if}>
<{if $show_search}>
<{/if}>
<{/if}>