<!DOCTYPE html>
<html>
<head>
{template head}
</head>
<body>
	{template header}
			{template here}
			<div class="work-text">	
				<section class="ac-container">
					<div>
						<div class="art" style="margin-bottom:0;">
							<div class="view_tips"><span class="float-lt"><a href="javascript:void(0);" class="f_99"><i class="layui-icon" style="font-size:.8em">&#xe609;</i> {$comname} 发布 <i class="layui-icon" style="font-size:.6em">&#xe602;</i></a></span><span class="float-rt">{$click} 浏览</span><div class="clear"> </div></div>			
							<div class="ll" style="background:url({IMG_PATH}llbg.png) no-repeat 101% center;">
									<h1>{$title}</h1>
							</div>
							<div class="clear"> </div>
								<div class="lt50">{$enddates} 前可领</div>
								<div class="lt50">
								{if (get_stat($ujid,$nums)>=100)}
								已抢光了
								{else}
								已领 {$ujid} / 未领 {$yunum}
								{/if}
								</div>
						</div>
					</div>
					<div class="clear"> </div>
					<div class="msg">
						{if ($dx>0)}<li><h3>使用限制</h3>消费满 ￥{$dx} 可用</li>{/if}
						<li><h3>可{if ($money>0)}购买{else}领取{/if}</h3>{$usernum} 次</li>
						{if $forusers}<li class="f_red"><h3>领取限制</h3>{$forusers}</li>{/if}
						{if (!empty($recredits))}
						<li><h3>领券扣积分</h3>{$recredits} 积分</span></li>
						{/if}
						<li><h3>用券有效期</h3>领取后 {$userdate}天内 使用</span></li>
						{if $jianglist}
						<li><h3>奖品列表</h3><div class="txt">
						 {loop $jianglist $val}
						 <i class="layui-icon">&#xe60c;</i> {$val[1]}<br/>
						 {/loop}
						</div>
						</li>
						{/if}
						{if (!empty($jinfo) || !empty($tips))}
						<li><div class="pad_l_1">
						<? foreach (explode("|", $tips) as $f) { ?>
							<p>{$tips_note[$f]}</p>
						<? } ?>
						{$jinfo}
						</div></li>{/if}
						<div class="clear"> </div>
					</div>
				</section>
				<div class="clear h_1"> </div>
				<div class="footer-bottom-box"></div>
				{if ($nums>$ujid)}
				<div id="bottom_btn" class="txt-center">
				{if ($money>0)}
				<a href="member.php?act=act_my_pay&id={$id}" class="layui-btn layui-btn-big layui-btn-danger">￥{$money} 购买本券</a>
				{else}
				<a href="member.php?act=act_my_juan&id={$id}" class="layui-btn layui-btn-big layui-btn-normal">立即抢券</a>
				{/if}<div class="clear h_1"> </div>
				</div>
				{/if}
		</div>
	</div>
{template footer}
{template share}
</body>
</html>