<%@ Page language="c#" Codebehind="MySubscriptions.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.MySubscriptions" %>
<%@ Register TagPrefix="uc1" TagName="MemberHelper" Src="Modules/MemberHelper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="memberfooter" Src="Modules/memberfooter.ascx" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<!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/encoding.inc"-->
		<title>邮件订阅</title>
		<!--#include file="../../inc/head.inc"-->
		<link href="<%=webSite %>Template/<%=config.TemplateFolder%>/style/member.css" type="text/css" rel="stylesheet" />
	</head>
	<body>
		<uc1:Header id="Header1" runat="server"></uc1:Header>
		<div class="xp-qgw clear">
		    <!--位置导航开始-->
            <div class="path"><a href="<%=webSite %><%if(config.html==""){%>default.aspx<%}else{%>Index.<%=config.html%><%}%>"><%=GetResourceString("Home")%></a>&nbsp;&gt;&nbsp;<a href="<%=webSite %>Center.<%=config.html %>"><%=GetResourceString("MemberCenter")%></a>&nbsp;&gt;&nbsp;我的邮件订阅</div>
            <!--位置导航结束-->
			<div class="member_left">
				<!--会员中心导航开始-->
				<uc1:MemberMenu id="MemberMenu1" runat="server"></uc1:MemberMenu>
				<!--会员中心导航结束-->
			</div>
			<div class="member_middle_right">
			    <div class="mframe">
		            <div class="tl"></div>
		            <div class="tr"></div>
		            <div class="tm">我的邮件订阅</div>
		            <div class="ml"></div>
		            <div class="mr"></div>
		            <div class="mm">
				        <form id="Form1" method="post" runat="server">
				            <asp:Repeater runat="server" ID="rptSubscriptions" >
				                <ItemTemplate>
				                    <div style="background-color:#fff7d3">
                                	    <table width="100%">
                                    	    <tr>
                                        	    <td width="10%" align="center"><%#DataBinder.Eval(Container.DataItem,"SubscriptionsName")%></td>
                                                <td width="10%"><asp:CheckBoxList ID="chkOptions" runat="server" RepeatLayout="Flow"></asp:CheckBoxList></td>
                                        	    <td><%#DataBinder.Eval(Container.DataItem,"Description")%></td>
                                            </tr>
                                        </table>
                                    </div>
				                </ItemTemplate>
                                <alternatingitemtemplate>
                            	    <div>
                                	    <table width="100%">
                                    	    <tr>
                                        	    <td width="10%" align="center"><%#DataBinder.Eval(Container.DataItem,"SubscriptionsName")%></td>
                                                <td width="10%"><asp:CheckBoxList ID="chkOptions" runat="server" RepeatLayout="Flow"></asp:CheckBoxList></td>
                                        	    <td><%#DataBinder.Eval(Container.DataItem,"Description")%></td>
                                            </tr>
                                        </table>
                                    </div>
                                </alternatingitemtemplate>
				            </asp:Repeater>
                            <div style="height:35px; line-height:35px;">如要修改/退订，请在相对应的复选框内勾选或取消勾选并点“确认”按钮即可。</div>
                            <div style=" text-align:center;">
                        	    <asp:Button ID="btnSure" OnClick="btnSure_Click" runat="server" style="background:url(Images/sure.gif); border:none; cursor:pointer; width:80px; height:23px;"></asp:Button>
                            </div>
				        </form>
				    </div>
		            <div class="bl"></div>
		            <div class="br"></div>
		            <div class="bm"></div>
		        </div>
			</div>
			<div style="clear:both;"></div>
		</div>
		<uc1:MemberHelper id="Helper1" runat="server"></uc1:MemberHelper>
		<uc1:memberfooter id="Footer1" runat="server"></uc1:memberfooter>		
	</body>
</html>
