 <!-- include 'admin/header' -->
 <script src="<?= WEB_SITE_GLOBAL ?>js/email.js"></script>
  <script src="<?= WEB_SITE_GLOBAL ?>js/receipt.js"></script>
<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="#" class="mLogo">CLD</a>
				<ul>
					<!-- include 'menu' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<ul>
						<li class="saeaTitle">邮件推广</li>
						<!-- include 'mailMenu' -->
					</ul>
				</div>
			</div>
			<div class="adminContent autoHeight">
				<legend>短信中心</legend>
				<div class="mailSpread">
					<div class="mailList mailAutoHeigh">
						<div class="clearfix">
						<form action="/smsCenter" id="up" method="post">
						<select name="year" id="Y" onchange="receiptYear();">
						{{dateHtml}}
						</select> 
						<select name='month' id="M" onchange="receiptMoth();">
						{{monthHtml}}
						</select>
						</form>
						</div>
						<div class="listItem">
							<ul>
								<!-- loop mailList -->
								<li>
								<a href="javascript:void(0)" onclick="email({{mailList' value.sid}})" class="title">{{mailList' value.title}}（{{mailList' value.kindName}}）</a>{{mailList' value.date}}
								<p>{{mailList' value.category}}{{mailList' value.staffName}}</p>
								<p id="send_{{mailList' value.sid}}" class="send  " style="text-align:right">
								<!-- if {{mailList' value.kind}}==1 -->
									<!-- if {{mailList' value.status}}==1 -->
									<a href="/authOrize/1/{{mailList' value.sid}}">同意发送</a>
									<!-- else -->
									<span class="colGreen">{{mailList' value.mark}}</span> | <b class="icon- colGreen" href="#">j</b>
									<!-- endif -->
								<!-- else -->
									<!-- if {{mailList' value.status}}==1 -->
									<a href="/authOrize/2/{{mailList' value.sid}}">同意发送</a>
									<!-- elseif {{mailList' value.status}}==2  -->
									<span class="colGreen">{{mailList' value.mark}}</span> | <span class="colOrange">待发送</span>
									<!-- else -->
									<span class="colGreen">{{mailList' value.mark}}</span> | <b class="icon- colGreen" href="#">j</b>
									<!-- endif -->
								<!-- endif -->
								</p>
								</li>
							<!-- endloop -->
								
							</ul>
						</div>
					</div>
					
					<!-- loop mailList -->
					<div id="html_{{mailList' value.sid}}" class="mailDetail mailAutoHeigh <!-- if {{mailList' key}}!=0 --> hide <!-- endif -->">
						<!--短信-->
						  <div class="smsBody" style="margin-left:15%">
								<div class="smsvcontent">
									<p class="colGreen">客户昵称，您好！</p>
									<p class="smstext">{{mailList' value.content}}</p>
									<p class="colGreen">【纵横造价】</p>
								</div>
							</div>
						<!--短信-->
					</div>
					<!-- endloop -->
					
					<!-- loop mailList -->
					<div id="client_{{mailList' value.sid}}" class="mailAddressee mailAutoHeigh <!-- if {{mailList' key}}!=0 --> hide <!-- endif -->">
						<div class="title">&nbsp;发送范围： 
						<!-- loop mailList' value.tag -->
						{{mailList' value' value.name}} 
						<!-- endloop -->
						({{mailList' value.clientCount}} )
						<!-- if {{mailList' value.kind}}==1 -->
						<a class="button fR" href="/downLoadSms/{{mailList' value.sid}}">下载号码</a>
						<!-- endif -->
						</div>
						<div class="listItem">
							
							<ul  >
								<!-- loop mailList' value.clientName -->
								<li>{{mailList' value' value.clientname}}（{{mailList' value' value.companyname}}）<p>{{mailList' value' value.telephone}}</p></li>
								<!-- endloop -->
								<!-- loop mailList' value.illegalEmail -->
								<li class="invalid" >{{mailList' value' value.clientname}}（{{mailList' value' value.companyname}}）<p>{{mailList' value' value.telephone}}</p></li>
								<!-- endloop -->
								
							</ul>
							
						</div>					
					</div>
					<!-- endloop -->
					
				</div>
			</div>
		</div>

<script type="text/javascript">autoFlashHeight();</script>	
</body>