<div class="clear10"></div>
<div class="block mt">
	<div class="blocktitle">会员信息</div>
	<div class="blockcontent">
		<div class="c_row cf">
			<div class="row_cover">
				<a href="avatar.php?menuid=6"><img src="{?$user.avatar?}" class="avatar bdc" alt="头像"></a>
			</div>
			<div class="row_text">
				<a class="db" href="useredit.php?menuid=4">
					<h4><a href="/member/logout.php" class="logout red">退出登录</a>{?$user.uname?}</h4>
					<p class="gray">上次登录：{?$user.prelogintime|date:'Y-m-d H:i:s'?}</p>
					<p class="gray">上次 I P：{?$user.preloginip?}</p>
				</a>
			</div>
		</div>
		<ul class="ulrow mts">
			<li>资金余额：{?$user.money?} &nbsp; <a class="blue" href="money.php?menuid=10">资金流水</a> &nbsp; <a class="btn btn-yellow" href="cash.php?menuid=7">申请提现</a></li>
			<li class="mts">积分余额：{?$user.score?} &nbsp; <a class="blue" href="score.php?menuid=11">积分流水</a></li>
		</ul>
	</div>
</div>
{?section name=i loop=$menu?}{?if $menu[i].pid==0?}
<div class="block cf">
	<div class="blocktitle">{?$menu[i].title?}</div>
	<div class="blockcontent">
		<ul class="ulnav">
			{?section name=j loop=$menu[i]['submenu']?}<li><a href="{?$menu[j].url?}">{?$menu[j].title?}</a></li>{?/section?}
		</ul>
	</div>
</div>
{?/if?}{?/section?}