<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="">
    
    <title>出票监控</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="/WebTpt/tpt/js/jqy.js"></script>

	<script type="text/javascript" src="<%=request.getContextPath()%>/LetouBack/js/jquery-1.4.2.min.js"></script>

	<script type="text/javascript" src="<%=request.getContextPath()%>/LetouBack/js/jqy.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/LetouBack/js/jquery.datepick.js"></script>
	<link href="<%=request.getContextPath()%>/LetouBack/css/jquery.datepick.css" rel="stylesheet" type="text/css">
	<link href="<%=request.getContextPath()%>/LetouBack/css/fzczManage.css" rel="stylesheet" type="text/css">
	<link href="/WebTpt/tpt/css/jquery.datepick.css" rel="stylesheet" type="text/css">
	<link href="/WebTpt/tpt/css/index.css" rel="stylesheet" type="text/css">
	

	
 	<style type='text/css'>
 		td{
 			border:1px #333 solid;
 			border-left:0px;
 			border-bottom:0px;
 			text-align:center;
 		}
 	</style>
 		<script type="text/javascript">
 		$(function(){
 			$('#startDate,#endDate').datepick();
 			});

	
 		var userName="<%=session.getAttribute("uName")%>";
 		if(userName=="null"){
 			window.location.href="<%=request.getContextPath()%>/LetouBack/login.jsp";
 		}
		var rootUrl = "<%=basePath%>";
 		function cancel(_this){
 			$(_this).hide(400);
 		}

 		var userName="<%=session.getAttribute("uName")%>";
 		if(userName=="null"){
 			window.location.href="<%=request.getContextPath()%>/LetouBack/login.jsp";
 		}
		var rootUrl = "<%=basePath%>";
 		function cancel(_this){
 			$(_this).hide(400);
 		}

 	    var url="<%=request.getContextPath()%>";
 		var pwd="<%=session.getAttribute("pwd")%>";
 		
 	</script>
  </head>

  <body>

	<div>
		<div class='header'>
				<b>业务统计--注册时间查询</b>
		</div>
		
	<div>
	<form action="<%=request.getContextPath()%>/sellAction.do?action=sell" method="post">
		<table>
		   	<tr>
				<td style="text-align:left; border:none;padding:10px 0">按结算状态:
					<select id="status" name="status">
						<option value="0" <c:if test="${resultMap.status=='0' || resultMap.status==null}">selected="selected" </c:if> >全部</option>
						<option value="1" <c:if test="${resultMap.status=='1'}">selected="selected" </c:if> >未结算</option>
						<option value="2" <c:if test="${resultMap.status=='2'}">selected="selected" </c:if> >已结算</option>
					</select>
				</td>
			</tr>
			<tr>
				<td style="padding:10px 0; border:none;">
					开始时间：<input type="text" readonly="readonly" size='8' name="startDate" id="startDate" class="date_input" style="width: 120px" value="${resultMap.startDate}"/>
					截止时间：<input type="text" readonly="readonly" size='8' name="endDate" id="endDate" class="date_input" style="width: 120px" value="${resultMap.endDate}"/>
					<input type="submit"  value="查询" style="padding-top:2px;"/>
				</td>
				
			</tr>
			
		</table>
		</form>
	</div>
	
	  	<div style="margin-top:3px;">
	  		<table   id='_tab' width="100%" style="border:1px #906E14 solid;border:0px;border-left:1px #333 solid;border-bottom:1px #333 solid;" cellspacing="0" cellpadding="0">
	  			<thead>
			  		<tr height="25" style="background:#d3ebef;font:12px Arial;">
			  			<td width="15%" >销售编号</td>
			  			<td width="20%">推广员</td>
			  			<td width="40%">推广链接</td>
			  			<td width="10%">有效人数</td>
			  			<td width="10%">销售金额</td>
			  			<td width="15%">链接参数</td>
			  		</tr>
		  		</thead>
		  		<tbody id='ct_content'>
		  			<c:forEach items="${list}" var="item2">
		  					<tr>
		  					<td>${item2.map.SELLUSERID}</td>
		  					<td>${item2.map.SELLUSERNAME}</td>
		  					<td>${item2.map.POSTURL}</td>
		  					<td>${item2.map.CANYUNUM}</td>
		  					<td>${item2.money}</td>
		  					<td>${item2.map.ARGUMENT}</td>
		  					</tr>
		  			</c:forEach>
		  		</tbody>
		  		
				
		  	</table>
 		<div>
	</div>
  </body>
</html>

