<%@ Page Language="c#" Codebehind="Coupons.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.Coupons" %>
<!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>Coupons</title>
		<script type="text/javascript" src="../inc/commond.js"></script>
	    <script src="inc/Coupons.function.js" type="text/javascript"></script>
        <script src="inc/Coupons.ready.js" type="text/javascript"></script>
        <script src="inc/PageBar.js" type="text/javascript"></script>
        <script type="text/javascript" language="javascript">
            var CanDeleteCoupons="<%=CanDeleteCoupons%>";
            var CanAddCoupons="<%=CanAddCoupons%>";
            var CanModifyCoupons="<%=CanModifyCoupons%>";
		</script>
		<style type="text/css">
		    .c1{width:5%;}
            .c2{width:5%;}
            .c3{width:20%;}
            .c4{width:7%;}
            .c5{width:15%;}
            .c6{width:5%;}
            .c7{width:10%;}
            .c8{width:10%;}
            .c9{width:5%;}
            .c10{width:5%;}
            .c11{width:5%;}
            .c12{width:5%;}
            .cc1{width:5%}
		</style>
	</head>
	<body>
	    <div class="container">
		<div class="sub_container">
		<form id="Form1" method="post" runat="server">
	        <div class="sub_container_title"><a href="<%=AdminDefault%>" target="_top">桌面</a><img alt="" src="../images/admin_title.jpg" height="9px" width="8px" align="absmiddle" />优惠券管理</div>
	        <div id="rule" style="display:none;">
	            <div style="border:solid 2px #6b94ad;background-color:White;">
	                <table width="100%">
		                <tr style="background-color:White;">
		                    <td colspan="2"><input type="button" id="btnAddRule" class="inputbtn" value="添加优惠券发放途径"/>&nbsp;&nbsp;
		                        [您可以通过添加促销活动发放此优惠券]
		                    </td>
		                </tr>
		                <tr style="background-color:#E3EAEE;">
		                    <th class="cc1 ccenter">操作</th>
		                    <th class="cc2">优惠券发放途径</th>
		                </tr>
	                </table>
	                <table id="ruledatas" width="100%">
	                    <tr id="ruletemplate" style="display:none;background-color:White;">
		                    <td class="cc1 ccenter" id="control"></td>
		                    <td class="cc2" id="ruleOperate"></td>
		                </tr>
	                </table>
	            </div>
	        </div>
	        <div class="sub_container_operation">
	            <table width="100%">
	                <tr>
		                <td>
		                    <input type="button" id="btnAddCoupons" name="btnAddCoupons" value="添加优惠券" class="inputbtn" />
			                <input type="button" id="btnDelete" name="btnDelete" value="删除优惠券" class="inputbtn" />
		                </td>
		                <td align="center" style="visibility:hidden;">
			                
			            </td>
	                </tr>
	            </table>
	        </div>
	        <div class="sub_container_listhead" style="padding:0px;">
                <table cellspacing="0" cellpadding="0" class="llist">
                    <tr id="listhead"><%--id="listhead不能少"--%>
                        <th class="c1"><input type="checkbox" id="chkAll" name="chkAll" /></th>
                        <th class="c2 hide">下载</th>
                        <th class="c3">优惠券名称</th>
                        <th class="c4">优惠券面值</th>
                        <th class="c8">所需消费金额</th>
                        <th class="c5">已发数量/总数</th>
                        <th class="c6">状态</th>
                        <th class="c7">类型</th>                        
                        <th class="c9">开始时间</th>
                        <th class="c10">结束时间</th>
                        <th class="c11 Modify">修改</th>
                        <th class="c12">删除</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 ccenter" id="checkbox"></td>
				        <td class="c2 ccenter hide" id="DownLoad"></td>
				        <td class="c3" id="CouponName"></td>
				        <td class="c4 ccenter" id="CouponValue"></td>
				        <td class="c8 ccenter" id="MinMoney"></td>
				        <td class="c5 ccenter" id="CouponNum"></td>
				        <td class="c6 ccenter" id="Status"></td>
				        <td class="c7 ccenter" id="Type"></td>				        
				        <td class="c9 ccenter" id="TimeBegin"></td>
				        <td class="c10 ccenter" id="TimeEnd"></td>
				        <td class="c11 ccenter" id="Modify"></td>
				        <td class="c12 ccenter" id="Delete"></td>
			        </tr>
		        </table>
	        </div>
	        <div class="sub_container_page" id="pageDataList1_Pager">
                <!-- 翻页-->
                <!-- 翻页结束-->
	        </div>
		</form>
		</div>
		</div>
		<iframe id="downloadcoupons" style="height:0px;display:none" src="#"></iframe>
	</body>
</html>
