<div class="clearfix pos-rlt box-canvas" style="z-index: 99;background-image: url({if $user.homeimage != ''}{$data_server}uploads/users/{$user.user_id}/A_{$user.homeimage}{else}/mbthemes/assets/images/bg/3.jpg{/if})">
  {include file="$template_path/html/pagenav-user.html"}
  <div class="box p-b-lg m-b-0 no-shadow dark dk no-bg">
    <div class="clearfix pos-rlt p-t-lg b-t" style="z-index: 3">
      <div class="p-x-md text-center">
        <p>
          <a href="/{$languageURL}user/{$user.username}/" class="hover">
            {if $user.avatar != ''}
            <img alt="{$user.username}" src="{$data_server}uploads/users/{$user.user_id}/A_{$user.avatar}" class="img-circle w-128 b-4x b-rgba-white b-a hover-rotate360" />
            {else}
                  <span class="w-128 circle skin text-lg b-4x b-rgba-white b-a">
                    <span class="price opacity" style="vertical-align: 2%;">NOPIC</span>
                  </span>
            {/if}
          </a>
        </p>
        <a class="text-2x m-b-xs block">{$user.nickname}</a>
        <p class="block m-t-sm">
          {foreach from=$user_badges item=b name=foo}
          <img src="{$data_server}{$b.photo}" class="bphoto m-l-xs m-r-xs" width="24" height="24" alt="{$b.name|escape}" title="" data-toggle="tooltip" data-placement="bottom" data-original-title="{$b.name|escape}" />
          {if $smarty.foreach.foo.last}{/if}
          {/foreach}
        </p>
        <p><small class="h-1x text-grey">{if $user.profile_title != ''}{$user.profile_title}{else}作者太懒了，没填签名呢{/if}</small></p>
        <div class="m-b">
          {if $user.behance != '' || $user.deviantart!= '' || $user.digg != '' || $user.dribbble != '' || $user.weibo != '' || $user.tencent != '' || $user.forrst != '' || $user.github != '' || $user.baidu != '' || $user.lastfm != '' || $user.netease != '' || $user.sohu != '' || $user.reddit != '' || $user.tumblr != '' || $user.renren != '' || $user.vimeo != '' || $user.youtube != ''}


          {if $user.weibo != ''}
          <a href="http://weibo.com/{$user.weibo}" title="新浪微博" target="_blank" class="btn btn-icon btn-social rounded white m-r-sm">
            <i class="icon-weibo text-grey"></i>
            <i class="icon-weibo orange-700"></i>
          </a>
          {/if}
          {if $user.qq != ''}
          <a target="_blank" href="{$user.qq}" title="联系QQ" class="btn btn-icon btn-social rounded white m-r-sm">
            <i class="icon-qq text-grey"></i>
            <i class="icon-qq blue"></i>
          </a>
          {/if}

          {if $user.weixin != ''}
          <a href="http://open.weixin.qq.com/qr/code/?username={$user.weixin}" title="微信号：{$user.weixin}" target="_blank" class="btn btn-icon btn-social rounded white m-r-xs">
            <i class="icon-weixin text-grey"></i>
            <i class="icon-weixin green"></i>
          </a>
          {/if}

          {/if}
        </div>
      </div>

    </div>
  </div>
  <div class="covers grey dk block"></div>
  <canvas class="cover block"></canvas>
</div>