<#-- 默认收红包列表 -->
<!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>
	<base href="${baseURL}">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>收红包 - ${title}</title>
	<meta name="keywords" content="${keywords}"/>
	<meta name="description" content="${description}"/>
	<link rel="shortcut icon" type="image/x-icon" href="${baseURL}${commonPath}images/favicon.ico" media="screen" />
	<link href="${commonPath}css/common.css" type="text/css" rel="stylesheet" >
	<link href="${commonPath}css/themify-icons/style.css" type="text/css" rel="stylesheet">
	<script language="javascript" src="${commonPath}js/tool.js" type="text/javascript"></script>
	<script language="javascript" src="${commonPath}js/ajax.js" type="text/javascript"></script>
	<script language="javascript" src="${commonPath}js/json2.js" type="text/javascript"></script>
	<script language="javascript" src="${commonPath}js/jquery/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="${commonPath}js/jquery/jquery.letterAvatar.js" language="javascript"></script>
</head>
<script type="text/javascript" language="javascript"> 
	
	
</script>
<body>
<#-- 引入页头 -->
<@include action="${newPublic_2}"/>
<div class="skeleton">
	<div class="main wrap backgroundModule" >

		<#-- 引入服务导航 -->
		<@include action="${newPublic_4}"/>
		<!-- 收红包 -->
		<div class="dataTable">
			<TABLE class="dataList" width="100%">
				<THEAD>
					<TR class="dataThead">
					    <TH width="50%">发红包用户</TH>
					    <TH width="20%">金额</TH>
					    <TH width="30%">收取时间</TH>
					</TR>
				</THEAD>
				<TBODY>
		    		<#if pageView.records?exists && pageView.records?size gt 0 >    
					<#list pageView.records as receiveRedEnvelope>
					<TR>
						<TD class="dataTD receiveRedEnvelopeModule" style="text-align: left! important;">
							<div class="avatarBox">
								<a href="user/control/home?userName=${receiveRedEnvelope.giveUserName}" target="_blank" class="link">
									<#if receiveRedEnvelope.giveAvatarName != null && receiveRedEnvelope.giveAvatarName != ''>    
										<img src="${receiveRedEnvelope.giveAvatarPath}100x100/${receiveRedEnvelope.giveAvatarName}" >
						            </#if> 
						            
						        	<#if receiveRedEnvelope.giveAvatarName == null || receiveRedEnvelope.giveAvatarName == ''>    
										<!-- 首字符头像-->
						         		<img avatar="${(receiveRedEnvelope.giveNickname != null && receiveRedEnvelope.giveNickname??) ?string(receiveRedEnvelope.giveNickname , receiveRedEnvelope.giveAccount)}" >
						            </#if> 
								</a>
							</div>
							<#if receiveRedEnvelope.giveAccount == null || receiveRedEnvelope.giveAccount == ''>
								<span class="cancelAccount cancel">此用户账号已注销</span>
							</#if> 
							<a href="user/control/home?userName=${receiveRedEnvelope.giveUserName}" target="_blank" class="link userName">
								${receiveRedEnvelope.giveAccount}
								<#if receiveRedEnvelope.giveNickname != null && receiveRedEnvelope.giveNickname??>    
									（呢称：${receiveRedEnvelope.giveNickname}）
								</#if> 
							</a>
						</TD>
						<TD class="dataTD">
							${receiveRedEnvelope.amount}
						</TD>
						<TD class="dataTD">${receiveRedEnvelope.receiveTime}</TD>
		    		</TR>
		    		</#list>
		    		</#if> 
		    		<#if !pageView.records?exists || pageView.totalrecord == 0 > 
		    			<TR>
							<TD colSpan="4"  class="empty">还没有发红包</TD>
		    			</TR>
		    		</#if> 
		    	</TBODY>
			</TABLE>
			<DIV class=pageList>
				<@include action="${newPublic_1}"/>
			</DIV>
		</div>
		</div>
	</div>
	<#--引入页脚-->
	<@include action="${newPublic_3}"/>
</body>

</html>
