{if check_login_bool()}


{if $smarty.session.user.items != '0'}
<li{if $smarty.get.controller == 'portfolio'} class="active"{/if}>
  <a href="/{$languageURL}user/{$smarty.session.user.username}/" class="hover">
    <i class="icon-list hover-rotate360"></i>
    作品
    <span class="clear inline badge bg-danger m-l-xs">
      <small>
        {$allRows}
      </small>
    </span>
  </a>
</li>
{/if}
<li{if $smarty.get.controller == 'downloads'} class="active"{/if}>
  <a href="/{$languageURL}download/" class="hover">
    <i class="bigi icon-inbox hover-rotate360"></i>
    已下载
  </a>
</li>
<li{if $smarty.get.controller == 'bookmarks'} class="active"{/if}>
  <a class="hover" href="/{$languageURL}user/bookmarks/">
    <i class="bigi icon-heart hover-rotate360"></i>
    书签
  </a>
</li>

<li{if $smarty.get.controller == 'deposit' || $smarty.get.controller == 'payment'} class="active"{/if}>
  <a class="hover" href="/{$languageURL}deposit/">
  <i class="bigi icon-server hover-rotate360"></i>
  充值
  </a>
</li>

<li{if $smarty.get.controller == 'withdrawal'} class="active"{/if}>
  <a class="hover" href="/{$languageURL}withdrawal/">
  <i class="bigi icon-credit-card hover-rotate360"></i>
  提现
  </a>
</li>

<li{if $smarty.get.controller == 'statement'} class="active"{/if}>
  <a class="hover" href="/{$languageURL}statement/">
  <i class="bigi icon-graph hover-rotate360"></i>
  统计
  </a>
</li>

<li{if $smarty.get.controller == 'dashboard'} class="active"{/if}>
  <a class="hover" href="/{$languageURL}author_dashboard/">
  <i class="bigi icon-speedometer hover-rotate360"></i>
  控制台
  </a>
</li>

<li{if $smarty.get.controller == 'edit'} class="active"{/if}>
  <a class="hover" href="/{$languageURL}edit/">
  <i class="bigi icon-wrench hover-rotate360"></i>
  设置
  </a>
</li>


{/if}