<%@ Page language="c#" Codebehind="ScoreNo.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.ScoreNo" %>
<!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>
		<title>积分卡</title>
		<!--#include file="../inc/head2.inc"-->
		<script type="text/javascript" src='../inc/ScoreNo.js'></script>
		<script type="text/javascript" src="../inc/PageBar.js"></script>
		<script type="text/javascript" src="../inc/commond.js"></script>
		<style type="text/css">
		    .c1{width:5%;}
            .c2{width:10%;}
            .c3{width:10%;}
            .c4{width:10%;}
            .c5{width:10%;}
            .c6{width:15%;}
            .c7{width:15%;}
			.c8{width:15%;}
			.c9{width:10%;}
			th{word-break;berak-a;word-wrap:break-word;}
		    td{word-break: break-all; word-wrap:break-word;}
			table{table-layout: fixed;}
		</style>
		<script type="text/javascript">
		//传过去给js用的，用于判断管理员是否可以导出积分卡或删除积分卡
            var CanDeleteScoreCard="<%=CanDeleteScoreCard %>"
            var CanExportScoreCard="<%=CanExportScoreCard%>"
        </script>
	</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" alt="" />积分卡列表</div>
		    <div class="sub_container_operation">
		        <form id="Form1" method="post" runat="server">
		        <table width="100%">
		            <tr>
			            <td>
				            <input type="button" id="btnDelete" name="btnDelete" value="删除选中项" class="inputbtn" />
				            <select id="ddlActive" name="ddlActive"><option value='-1'>选择状态</option><option value='0'>未使用</option><option value='1'>已使用</option></select>
				            <input type="button" id="btnSearch" value="搜索" class="inputbtn"  />
			                <asp:Button id="btnExport" OnClick="btnExport_Click" runat="server" Text="导出" CssClass="inputbtn"></asp:Button><input type="hidden" id="ids" name="ids" />
			                <asp:Button id="btnExportAll" OnClick="btnExportAll_Click" runat="server" Text="导出所有" CssClass="inputbtn"></asp:Button>
			            </td>
		            </tr>
		        </table>
		        </form>
		    </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">名称</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 ccenter" id="checkbox"></td>
					    <td class="c2" id="ScoreName"></td>
					    <td class="c3" id="ScoreNo"></td>
					    <td class="c4 ccenter" id="ScorePass"></td>
					    <td class="c5 ccenter" id="ScoreNum"></td>
					    <td class="c6 ccenter" id="CreateDate"></td>
					    <td class="c7 ccenter" id="ExpireDate"></td>
						<td class="c8 ccenter" id="UsedTime"></td>
						<td class="c9 ccenter" id="MemberName"></td>
				    </tr>
			    </table>
		    </div>
		    <div class="sub_container_page" id="pageDataList1_Pager"><!-- 翻页--><!-- 翻页结束--></div>
		    </div>
		</div>
        
	</body>
</html>
