<div class="top_bar">
	<div class="top">
		<span>亲，欢迎您来到<{$UQCMS.site_name}>商城！</span>
		<div class="login">
				<{if $smarty.session.user.nick !=''}>
					<a href="<{$__URL__}>member.php"><{$smarty.session.user.nick}></a><span>|</span>
					<a href="<{$__URL__}>member.php?a=logout">退出</a> 
				<{elseif $smarty.session.user.username != ''}>
					<a href="<{$__URL__}>member.php"><{$smarty.session.user.username}></a><span>|</span>
					<a href="<{$__URL__}>member.php?a=logout">退出</a> 
				<{elseif $smarty.session.user.mobile != ''}>
					<a href="<{$__URL__}>member.php"><{$smarty.session.user.mobile}></a><span>|</span>
					<a href="<{$__URL__}>member.php?a=logout">退出</a> 
				<{elseif $smarty.session.user.email != ''}>
					<a href="<{$__URL__}>member.php"><{$smarty.session.user.email}></a><span>|</span>
					<a href="<{$__URL__}>member.php?a=logout">退出</a> 
				<{else}>
					<a href="member.php?a=login&returnUrl=<{$UQCMS.request_url}>">登录</a><span>|</span><a href="member.php?a=register">免费注册</a> 
					      
				<{/if}>
		</div> 
		<div class="help">
			<a href="<{$UQCMS.site_url}>">首页</a> 
			<a href="member.php?m=buy">我的订单</a> 
			<a href="#">联系客服</a> 
			<{if $smarty.session.user.uid}>
				<a href="member.php?m=shop">商家登陆</a> 
			<{else}>
				<a href="member.php?a=login&returnUrl=<{$UQCMS.site_url|cat:'member.php?m=shop'|escape:'url'}>">商家登陆</a> 
			<{/if}>
		</div>
	</div> 
</div>