<%@ Page language="c#" Codebehind="MyDrawing.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.MyDrawing" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Modules/Footer.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<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-w 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;<%=GetResourceString("MyOrders")%></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">
<%--                            <div class="page" style="margin-bottom:10px">
                            </div>--%>
                            <div><asp:Label id="lblInfo" runat="server" CssClass="tableHeaderText">提现信息</asp:Label></div>
                            <input type=hidden id=hiddenFrozen runat=server />
                            <input type=hidden id=hiddenCanDrawing runat=server />
					        <asp:datagrid id="dgAgentDrawingList" CssClass="dgborder" runat="server"
						    AutoGenerateColumns="False" DataKeyField="DrawingID" Width="100%" HorizontalAlign="Center" BorderWidth="1"
						    BorderColor="#d6d6d6">
			                <ItemStyle BackColor="White"></ItemStyle>
			                <HeaderStyle BackColor="#fff7d3" Height="20px"></HeaderStyle>
						    <Columns>
							    <asp:TemplateColumn HeaderText="申请提现金额">
								    <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
								    <ItemStyle HorizontalAlign="Center" Width="15%" Height="20px"></ItemStyle>
								    <ItemTemplate>
										    <%# DataBinder.Eval(Container.DataItem, "DrawFinance")%>
								    </ItemTemplate>
							    </asp:TemplateColumn>
							    <asp:BoundColumn DataField="AppTime" HeaderText="申请时间" DataFormatString="{0:yyyy-MM-dd}">
								    <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
								    <ItemStyle HorizontalAlign="Center" Width="15%"></ItemStyle>
							    </asp:BoundColumn>							    
							    <asp:BoundColumn DataField="DrawTime" HeaderText="处理时间" DataFormatString="{0:yyyy-MM-dd}">
								    <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
								    <ItemStyle HorizontalAlign="Center" Width="15%"></ItemStyle>
							    </asp:BoundColumn>
						        <asp:TemplateColumn HeaderText="处理状态">
								    <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
								    <ItemStyle HorizontalAlign="Center" Width="15%" Height="20px"></ItemStyle>
								    <ItemTemplate>
										    <%# DataBinder.Eval(Container.DataItem, "Status")%>
								    </ItemTemplate>
							    </asp:TemplateColumn>
							</Columns>
					    </asp:datagrid>
					    
				        <asp:panel id="plPage" visible="true" runat="server">
				        <!-- 翻页开始-->
				        <div class="page clear">
                            <div class="fpage">
                                <asp:Label ID="lbPage" class="lb-page" runat="server"></asp:Label>
                            </div>                                
				        </div>
				        <!-- 翻页结束-->
				        </asp:panel>
        				
				        <asp:panel id="plNoProduct" visible="false" runat="server">
					        <div style="margin:20px;">
						        <h3>暂无提现申请纪录</h3>
					        </div>
				        </asp:panel>
				        
                        <asp:panel id="plApply" visible="true" runat="server">
				        <!-- 提现申请开始-->
				        <div class="clear">
                            <div class="">
                                提现：<asp:TextBox ID="txtDrawing" runat="server"></asp:TextBox>元 <asp:Button  ID="btnSave" OnClick="btnSave_Click" runat="server" Text="提交"/>
                            </div>                                
				        </div>
				        <!-- 提现申请结束-->
				        </asp:panel>
				        
				        </form>
				        </div>
				        <div class="bl"></div>
				        <div class="br"></div>
				        <div class="bm"></div>
				    </div>
				<!--内容结束-->
			</div>
		</div>
		<uc1:Helper id="Helper1" runat="server"></uc1:Helper>
		<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
	</body>
</HTML>
