<div class="avatar">
  <div class="avatar-link"><img src="<?php echo $this->_var['user']['avatar']; ?>" alt="<?php echo htmlspecialchars($this->_var['user']['user_name']); ?>" /></div>
  <div class="avatar-menu">
    <ul>
      <li><img src="themes/store/skin/blueglass/images/avatar_ec.gif" /> <a href="./?app=store&amp;store_id=<?php echo $this->_var['user']['user_id']; ?>"><?php echo $this->_var['user']['user_name']; ?> 的店铺</a></li>
      <li><img src="themes/store/skin/blueglass/images/avatar_uchome.gif" /> <?php if ($this->_var['user']['uchome_url']): ?> <a href="<?php echo $this->_var['user']['uchome_url']; ?>"><?php echo $this->_var['user']['user_name']; ?> 的个人空间</a> <?php else: ?> <span style="color: #666;"><?php echo $this->_var['user']['user_name']; ?> 的个人空间</span> <?php endif; ?> </li>
    </ul>
  </div>
</div>