<header class="bg-white header header-space navbar">
	<div class="container">
		{if check_login_bool() && $user.user_id == $smarty.session.user.user_id}
		<ul class="nav navbar-nav navbar-left pull-left-xs web-font">
			<li class="active"><a href="/{$languageURL}user/{$smarty.session.user.username}/">作品</a></li>
			<li><a href="/{$languageURL}download/">已购买</a></li>
			<li><a href="/{$languageURL}user/bookmarks/">书签</a></li>
			<li class="hidden-xs"><a href="/{$languageURL}deposit/">充值</a></li>
			<li class="hidden-xs"><a href="/{$languageURL}withdrawal/">提现</a></li>
			<li class="hidden-xs"><a href="/{$languageURL}statement/">统计</a></li>
			<li class="hidden-xs"><a href="/{$languageURL}author_dashboard/">控制台</a></li>
			<li><a href="/{$languageURL}edit/">设置</a></li>
		</ul>
		{else}
		<ul class="nav navbar-nav navbar-left pull-left-xs web-font">
			{if $user.items != '0'}
			<li><a href="/{$languageURL}">首页</a></li>
			<li class="active"><a href="/{$languageURL}user/{$user.username}/">他的作品</a></li>
			{else}
			<li><a href="/{$languageURL}">首页</a></li>
			<li class="active"><a href="/{$languageURL}user/{$user.username}/">他的作品</a></li>
			{/if}
		</ul>
		{/if}
		<ul class="nav navbar-nav navbar-right pull-right-xs m-n">
			<li>
				<a href="/{$languageURL}" target="_blank" data-toggle="tooltip" data-placement="bottom" data-original-title="首页">
					<i class="i i-home"></i>
				</a>
			</li>
			<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown">
					<i class="i i-grid"></i>
				</a>
				{if check_login_bool()}
				<section class="dropdown-menu aside-lg bg-white on animated fadeInLeft panel-shadow b-light">
					<div class="row m-l-none m-r-none text-center">
						<div class="col-xs-4 b-r b-b">
							<div class="padder-v">
								<a href="/{$languageURL}withdrawal/">
                    <span class="m-b-xs block">
                      <i class="fa fa-money i-2x text-primary-lt"></i>
                    </span>
									<small class="text-muted">
										提现
									</small>
								</a>
							</div>
						</div>
						<div class="col-xs-4 b-r b-b">
							<div class="padder-v">
								<a href="/{$languageURL}deposit/">
                    <span class="m-b-xs block">
                      <i class="i i-data i-2x text-danger"></i>
                    </span>
									<small class="text-muted">
										充值
									</small>
								</a>
							</div>
						</div>
						<div class="col-xs-4 b-b">
							<div class="padder-v">
								<a href="/{$languageURL}statement/">
                    <span class="m-b-xs block">
                      <i class="i i-chat3 i-2x text-success"></i>
                    </span>
									<small class="text-muted">
										统计
									</small>
								</a>
							</div>
						</div>
						<div class="col-xs-4 b-r">
							<div class="padder-v">
								<a href="/{$languageURL}author_dashboard/">
                    <span class="m-b-xs block">
                      <i class="i i-gauge i-2x text-info"></i>
                    </span>
									<small class="text-muted">
										控制台
									</small>
								</a>
							</div>
						</div>
						<div class="col-xs-4 b-r">
							<div class="padder-v">
								<a href="#">
                    <span class="m-b-xs block">
                      <i class="i i-popout i-2x text-muted"></i>
                    </span>
									<small class="text-muted">
										新手帮助
									</small>
								</a>
							</div>
						</div>
						<div class="col-xs-4">
							<div class="padder-v">
								<a href="#">
                    <span class="m-b-xs block">
						<i class="i i-share i-2x text-warning"></i>
                    </span>
									<small class="text-muted">
										推广赚钱
									</small>
								</a>
							</div>
						</div>
					</div>
				</section>

				{else}

				<section class="dropdown-menu aside-lg bg-white on animated fadeInLeft panel-shadow b-light">
					<div class="row m-l-none m-r-none text-center">
						<div class="col-xs-6 b-r">
							<div class="padder-v">
								<a href="/{$languageURL}sign_up/">
                    <span class="m-b-xs block">
                      <i class="i i-statistics i-2x text-primary-lt"></i>
                    </span>
									<small class="text-muted">
										注册
									</small>
								</a>
							</div>
						</div>
						<div class="col-xs-6">
							<div class="padder-v">
								<a href="/{$languageURL}sign_in/">
                    <span class="m-b-xs block">
                      <i class="i i-user2 i-2x text-danger"></i>
                    </span>
									<small class="text-muted">
										登录
									</small>
								</a>
							</div>
						</div>

					</div>
				</section>

				{/if}
			</li>
		</ul>

	</div>
</header>