<!-- Vertical navbar -->
<div class="vertical-nav" id="sidebar">
	<div class="profile">
		<img src="<?=$base_url;?>assets/member/img/member/profile.png" alt="..." width="80" class="mx-auto d-block" />
		<h4 class="text-center"><?= $_SESSION["user_info"]['name'];?></h4>
	</div>
	<ul class="nav flex-column mb-0">
		<li class="nav-item <?=($class == 'history') ? ' active' : '';?> nav-history">
			<h5 class="text-center">购买记录</h5>
		</li>
		<li class="nav-item <?=($class == 'bookshell') ? ' active' : '';?> nav-bookshell">
			<h5 class="text-center">会员书柜</h5>
		</li>
		<li class="nav-item <?=($class == 'account') ? ' active' : '';?> nav-account">
			<h5 class="text-center">帐户资料</h5>
		</li>
		<li class="nav-item nav-logout">
			<h5 class="text-center">登出</h5>
		</li>
	</ul>
</div>
<!-- End vertical navbar -->
