<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<title>{%$lngpack.sitename%}</title>
		<meta name="keywords" content="{%$lngpack.keyword%}" />
		<meta name="description" content="{%$lngpack.description%}" />
		<script type="text/javascript" src="{%$rootdir%}js/jquery.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/basicrun.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/jquery.Slide.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/citydb.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/cityselect.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_dialog.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_formvalidation.js"></script>
		<link href="{%$rootpath%}css/espcms_public.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_v5div.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_page.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
			$(window).load(function () {
				$("#clickmenubotton li span").hover(function () {
					$(this).addClass("menuhover");
					$(this).parent().find("ul.subnav").slideDown('fast').show();
					$(this).parent().hover(function () {
					}, function () {
						$(this).parent().find("ul.subnav").fadeOut('fast');
						$(this).parent().find("span").removeClass("menuhover");
					});
				});
			});
		</script>
	</head>

	<body>
		{%link file="public/head.html"%}
		<div class="espcms_page_bannpic"><img src="{%$rootpath%}images/bann/type_pic.jpg"/></div>

		<div class="espcms_page espcms_page_left_linkbg">
			<div class="espcms_page_left">
				{%list name=memmenu%}
			</div>
			<div class="espcms_page_right">
				<div class="espcms_page_typename">领取优惠卷</div>
				<div class="espcms_page_location">您现在的位置：<a href="{%$homelink%}">首页</a> » <b>会员中心</b></div>
				<div class="espcms_page_right_line"></div>
				{%if count($array) > 0%}
				<table style="width: 100%" class="tablelist mt10">
					<tr>
						<td class="td01">优惠活动名称</td>
						<td class="td01">类型</td>
						<td class="td01">领取状态</td>
						<td class="td01">时间</td>
						<td class="td01">操作</td>
					</tr>
					{%forlist from=$array key=i%}
					<tr>
						<td class="td02 tc">{%$array[i].coupontitle%}</td>
						<td class="td02 tc">{%if $array[i].istype==1%}<span class="colorthree">现金卷</span>{%else%}<span class="colorgblue">折扣卷</span>{%/if%}</td>
						<td class="td02 tc">{%if $array[i].pullnum>0%}<span class="colorthree">已领</span>{%else%}<span class="colorgreg">未领</span>{%/if%}</td>
						<td class="td02 tc">{%$array[i].addtime|espcms_timeformat(3)%}</td>
						<td class="td02 tc">
							{%if $array[i].ispull%}<a href="{%$array[i].link%}" class="button orange">领取</a>{%/if%}
							<a href="{%$array[i].read%}" class="button blue2">查看</a>
						</td>
					</tr>
					{%/forlist%}
				</table>
				<div class="espcms_page_botton">
					<div id="pagelist">{%$pagetext%}</div>
				</div>
				<div class="espcms_page_botton">
					<div id="pagination" class="pagination">
						{%$pagebotton%}
					</div>
				</div>
				{%else%}
				<div class="espcms_page_botton">
					<div id="pagination">暂无内容</div>
				</div>
				{%/if%}
			</div>
		</div>

		{%link file="public/footer.html"%}
	</body>
</html>
