<table width="100%"  border="0" cellspacing="0" cellpadding="4">
  <tr valign="top">
    <td><small>
      {if $login eq 1}
      <strong>
      {$lang.welcome}
      {$name}
      </strong>
      {/if}
      </small></td>
  </tr>
  <tr valign="top">
    <td nowrap="nowrap"><img src="templates/{$theme}/img/page/more.gif" alt="" hspace="2" border="0" class="absmiddle"  />&nbsp;&nbsp;<a onclick="return confirm('{$lang.confirm_logout}');" href="index.php?p=logout">
      <small>{$lang.logout}</small>
      </a><br />
      <img src="templates/{$theme}/img/page/more.gif" alt="" hspace="2" border="0" class="absmiddle" />&nbsp;&nbsp;<a href="index.php?area={$area}&amp;p=changedetails">
     <small>{$lang.profile}</small>
      </a><br />
      <img src="templates/{$theme}/img/page/more.gif" alt="" hspace="2" border="0" class="absmiddle" />&nbsp;&nbsp;<a href="index.php?area={$area}&amp;p=changepw">
      <small>{$lang.change_password}</small>
      </a><br>
      {if checkactive("ignorelist")}
      <img src="templates/{$theme}/img/page/more.gif" alt="" hspace="2" border="0" class="absmiddle" />&nbsp;&nbsp;<a href="index.php?area={$area}&amp;p=ignorelist">
      <small>{$lang.ignoretitle}</small>
      </a> <br />
      {/if}
      {if checkactive("pn")}
      {if $pn eq 1}
      <img src="templates/{$theme}/img/page/more.gif" alt="" hspace="2" border="0" class="absmiddle"  />&nbsp;&nbsp;<a href="index.php?area={$area}&amp;p=pn">
      <small>{$lang.inbox}{newpn}</small>
      </a>
      {/if}
      {/if}
      {if $adminlink}
      <br />
      <img src="templates/{$theme}/img/page/more.gif" alt="" hspace="2" border="0" class="absmiddle"/>&nbsp;&nbsp;<a href="admin/index.php" target="_blank">
      <small>{$lang.administration}</small>
      </a><br />
      {/if}</td>
  </tr>
</table>
