Code
<?if($USER_LOGGED_IN$)?>
<table>
<tr>
<td style="padding:2px; text-align: left;">Привет, <a href="$PERSONAL_PAGE_LINK$"><strong>$USERNAME$</strong></a></td>
<tr>
<tr>
<td style="text-align:left; padding:2px;">
<?if($USER_AVATAR_URL$)?><img title="$USERNAME$" class="userAvatar" border="0" src="$USER_AVATAR_URL$" border="0"><?else?><img src="http://s003.radikal.ru/i204/1006/02/da9e7643d288.png" border="0"><?endif?>
</td>
</tr>
<td style="padding:2px; text-align: left;"><a href="$PERSONAL_PAGE_LINK$">Мой профиль</a></td>
</tr>
<tr>
<td style="padding:2px; text-align: left;"><a href="/index/14">Cообщения (New | $UNREAD_PM$)</a></td>
<tr>
<td style="padding:2px; text-align: left;"><a href="/load/0-0-0-0-1">Добавить новость</a></td>
<tr>
<td style="padding:2px; text-align: left;"><a href="$LOGOUT_LINK$"><b>Завершить сеанс!</b></a></td>
</tr>
</table>
<?endif?>
<?else?>
<?if($LOGIN_FORM$)?>$LOGIN_FORM$<?endif?>