<div class="usermenu">
{$admincplink}
{$modcplink}
<a href="{$mybb->settings['bburl']}/usercp.php?action=avatar"><img class="panelavatar" style="vertical-align: top; margin-top: 5px;" src="{$mybb->user['avatar']}" height="40" width="40"></a>
{$lang->xstyled_welcomephrase} <span class="userunique"><a href="{$mybb->settings['bburl']}/member.php?action=profile">{$mybb->user['username']}</a></span>
</div>
<div id="dd" class="wrapper-dropdown-5" tabindex="1">
<i class="fa fa-angle-down fa-lg"></i>
<ul class="dropdown">
<table>
<tr>
<td class="tduser" style="width: 200px; text-align: left;">
<li><a href="{$mybb->settings['bburl']}/usercp.php"><i style="font-size: 14px;" class="fa fa-cog fa-fw"></i> {$lang->xstyled_usercp}</a></li>
<li><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', null, true); return false;"><i style="font-size: 14px;" class="fa fa-users fa-fw"></i> {$lang->xstyled_friendlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/usercp.php?action=avatar"><i class="fa fa-camera fa-fw"></i> {$lang->xstyled_changeavatar}</a></li>
<li><a href="{$mybb->settings['bburl']}/usercp.php?action=editsig"><i class="fa fa-picture-o fa-fw"></i> {$lang->xstyled_changesignature}</a></li>
<li><a href="{$mybb->settings['bburl']}/private.php"><i class="fa fa-envelope fa-fw"></i> {$lang->xstyled_pms}</a></li>
<li><a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}"><i class="fa fa-power-off fa-fw"></i> {$lang->xstyled_logout}</a></li>
</td>
</tr>
</table>
</ul>
</div>