<%@ Page Language="c#" Codebehind="CouponsList.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.CouponsList" %>
<!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>
		<!--#include file="../inc/head2.inc"-->
	    <title>优惠券管理</title>
		<script type="text/javascript" src="../inc/commond.js"></script>
		<script type="text/javascript" src='inc/CouponsList.js'></script>
		<script type="text/javascript" src="inc/PageBar.js"></script>
	    <script type="text/javascript" src="../inc/jquery.easydrag.handler.beta2.js"></script>
	    <script type="text/javascript" src="../inc/multi_popup.js"></script>
	    <link type="text/css" rel="stylesheet" href="../style/multi_popup.css" />
		<script type="text/javascript" src="../inc/ui.datepicker.cn.js"></script>
		<link type="text/css" rel="stylesheet" href="../inc/ui.datepicker.css" />
		
		<style type="text/css">
		    .c1{width:10%;}
            .c2{width:10%;}
            .c3{width:10%;}
            .c4{width:15%;}
            .c5{width:10%;}
            .c6{width:10%;}
            .c7{width:15%;}
            .c8{width:10%;}
            .c9{width:10%;}
		</style>
	</head>
	<body>
	    <div class="container">
		    <div class="sub_container">
		    <div class="sub_container_title"><a href="<%=AdminDefault%>" target="_top">桌面</a><img src="../images/admin_title.jpg" height=9px width=8px align="absmiddle" />优惠券使用记录<img src="../images/admin_title.jpg" height=9px width=8px align="absmiddle" /><span id="titleinfo"></span></div>
		    <div class="sub_container_operation" style="height:30px;">
		        <div id="searchcontent" style="position:absolute; width:450px; background:#dddddd; margin-left:300px; border:1px solid #999999; padding:0px 20px;">
		            搜索条件：&nbsp;&nbsp;
		            <select id="ddlSearchType">
		                <option value="1">优惠券号码</option>
		                <option value="2">优惠券名称</option>
		            </select>
		            <input type="text" id="txtKeywords" />
		            <div id="searchdetail" style="display:none;">
		                使用类型：&nbsp;&nbsp;
		                <select id="ddlType">
		                    <option value="-1">所有类型</option>
		                    <option value="1">只限使用一次型</option>
		                    <option value="0">不限使用次数型</option>
		                </select>
		                <br />
		                <span id="content_usetimes">已用次数：从<input type="text" id="minUseTimes" size="10" />到<input type="text" id="maxUseTimes" size="10" /><br /></span>
		                <span id="isUsed">
		                    使用情况：&nbsp;&nbsp;
		                    <select id="ddlIsUsed">
		                        <option value="-1">不限</option>
		                        <option value="1">已使用</option>
		                        <option value="0">未使用</option>
		                    </select>
		                    <br />
		                </span>
		                会员帐号：&nbsp;&nbsp;&nbsp;<input type="text" id="txtMemberName" />
		                <br />
		                有效时期：从<input type="text" id="txtStartTime" size="10" />到<input type="text" id="txtEndTime" size="10" />
		                <br />
		                使用时间：从<input type="text" id="sUseTime" size="10" />到<input type="text" id="eUseTime" size="10" />
		            </div>
		            <input type="button" id="btnSearch" value="搜索" class="inputbtn" /><input type="button" id="btnAdvSearch" value="详细搜索" class="inputbtn" />
		        </div>
		    </div>
		    <div class="sub_container_listhead" style="padding:0px;">
                <table cellSpacing="0" cellPadding="0" class="llist">
                    <tr id="listhead"><%--id="listhead不能少"--%>
	                    <th class="c1">优惠券名称</th>
	                    <th class="c2">号码</th>
	                    <th class="c3">类型</th>
	                    <th class="c4">生成时间</th>
	                    <th class="c5">所属会员</th>
	                    <th class="c6">获得方式</th>
	                    <th class="c7">使用时间</th>
	                    <th class="c8">使用次数</th>
	                    <th class="c9">使用状态</th>
	                </tr>
                </table>
            </div>
		    <div class="sub_container_content" style="padding:0px;">
			    <table id="datas" cellSpacing="0" cellPadding="0" class="llist">
				    <tr id="template" style="display:none;"><%--id="template"不能少--%>
					    <td class="c1" id="name"></td>
					    <td class="c2 ccenter" id="code"></td>
					    <td class="c3 ccenter" id="type"></td>
					    <td class="c4 ccenter" id="createtime"></td>
					    <td class="c5 ccenter" id="membername"></td>	
					    <td class="c6 ccenter" id="gettype"></td>
					    <td class="c7 ccenter" id="usedate"></td>
					    <td class="c8 ccenter" id="usedtimes"></td>
					    <td class="c8 ccenter" id="status"></td>
				    </tr>
			    </table>
		    </div>
		    <div class="sub_container_page" id="pageDataList1_Pager"><!-- 翻页--><!-- 翻页结束--></div>
		    </div>
		</div>
        <div id="backgroundPopup" class="backgroundPopup"></div>
	</body>
</html>
