<!DOCTYPE html>
<html>
<head>{template head}
</head>
<body>
	{template header}
			<div class="index_here">{template here}</div>
			<div class="banner-text">
					<div class="title">
						{if empty($_userid)}
						<div class="title-right">
							<a href="member.php?act=login">
							<h2>登录 </h2>
							<h6 class="fff">登录管理你的优惠券吧！</h6>
							</a>
						</div>
						{else}
						<div class="title-face txt-center"><img src="{$_face}" /></div>
						<p class="txt-center f01 fff">欢迎您，{$_username}<span class="index_box">  <a href="member.php?act=user" class="layui-btn layui-btn-primary layui-btn-mini"><i class="layui-icon" style="font-size:1.5em;">&#xe620;</i> 设置</a></span></p>
						{/if}
						<div class="clear"> </div>
					</div>
					<div class="banner-bottom-right" style="width:100%;text-align:center;">
						<a href="post.php" class="layui-btn layui-btn-warm"><h3 style="font-size:1.3em;"><i class="layui-icon" style="font-size:1.6em;">&#xe61f;</i> 发布</h3></a>
					</div>
					<div class="clear"> </div>
			</div>
			<div class="banner-bottom">
				<div class="clear"> </div>
				<div class="banner-bottom-li-9">
					<a href="member.php?act=my_post"><i class="layui-icon">&#xe63c;</i><br/>优惠券</a>
					{if (empty($comuid))}
						<a href="postcom.php"><i class="layui-icon">&#xe60a;</i><br/>登记商家</a>
					{else}
						<a href="member.php?act=editcom"><i class="layui-icon">&#xe60a;</i><br/>商家设置</a>
					{/if}
					<a href="member.php?act=user&v=user" style="border-right:0;"><i class="layui-icon">&#xe620;</i><br/>个人设置</a>
					<div class="clear"></div>
				</div>
				
			</div>
	</div>
{template footer}
</body>
</html>