<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="../LanguagesManage.ascx" %>
<%@ Control Language="c#" AutoEventWireup="True" Codebehind="Balance.ascx.cs" Inherits="DreamerShop.UserControl.Balance" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<SCRIPT language="javascript" id="clientEventHandlersJS">
		<!--

		function SendModeCheck() {
			var a = document.getElementsByName("rbSendMode");
					
			for (var i=0; i<a.length; i++)
			{
				if(a[i].checked)
				{								
					state=a[i].checked;
					return true;
				}
						
			}
			return false;
		}
				
		
		//-->
</SCRIPT>
<uc1:languagesdeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:languagesdeal><asp:panel id="Pan1" runat="server"><BR>
	<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<TR>
			<TD align="center"  height="30"><B><%=myLanguagesDeal.GetMyString("ShoppingTitleReceiptInf")%><!--请正确填写以下收货信息--></B></TD>
		</TR>
		<TR>
			<TD align="center" height="8"></TD>
		</TR>
		<TR>
			<TD align="center">
				<TABLE cellSpacing="1" cellPadding="5" width="100%" align="center" bgColor="#cccccc" border="0">
					<TR style="DISPLAY: none" bgColor="#ffffff">
						<TD align="center" colSpan="2">
							<asp:checkbox id="ckbPeople" runat="server" Text="下订单与收货为同一人" Checked="True" AutoPostBack="True"></asp:checkbox></TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("InceptMsgSelectIncept")%><FONT face="宋体"></FONT><!--选择收货人--></TD>
						<TD class="pad">
							<asp:DropDownList id="drlSelInpectInf" runat="server" AutoPostBack="true" onselectedindexchanged="drlSelInpectInf_SelectedIndexChanged"></asp:DropDownList>
							<asp:CheckBox id="ckIsSaveIncept" runat="server"></asp:CheckBox></TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("OrderFormTextReceiptName")%><!--收货人姓名：--></TD>
						<TD class="pad"><FONT color="red">
								<asp:textbox id="txtTrueName" runat="server" MaxLength="25" CssClass="wenbenkuang" Width="100px"></asp:textbox>
								<asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" ErrorMessage="请输入真实姓名" Display="Dynamic"
									ControlToValidate="txtTrueName"></asp:requiredfieldvalidator>**</FONT>
						</TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("MemberSex")%><!--姓 别：--></TD>
						<TD class="pad">
							<asp:radiobuttonlist id="rblSex" runat="server" RepeatDirection="Horizontal" Height="8px">
								<asp:ListItem Value="0" Selected="True">男</asp:ListItem>
								<asp:ListItem Value="1">女</asp:ListItem>
							</asp:radiobuttonlist></TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("MemberTextAddress")%><!--收货(通讯)地址：--></TD>
						<TD class="pad"><FONT color="red">
								<asp:textbox id="txtAddress" runat="server" MaxLength="100" CssClass="wenbenkuang" Width="250px"></asp:textbox>
								<asp:requiredfieldvalidator id="RequiredFieldValidator5" runat="server" ErrorMessage="请输入收货地址" Display="Dynamic"
									ControlToValidate="txtAddress"></asp:requiredfieldvalidator>**</FONT>
						</TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("MemberEmail")%><!--电子邮箱：--></TD>
						<TD class="pad"><FONT color="red">
								<asp:textbox id="txtEmail" runat="server" MaxLength="40" CssClass="wenbenkuang" Width="200px"></asp:textbox>
								<asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ErrorMessage="请输入邮箱" Display="Dynamic"
									ControlToValidate="txtEmail"></asp:requiredfieldvalidator>
								<asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ErrorMessage="请输入正确邮箱" Display="Dynamic"
									ControlToValidate="txtEmail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator>**</FONT></TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("MemberPostCode")%><!--邮 编：--></TD>
						<TD class="pad"><FONT color="red">
								<asp:textbox id="txtPostCode" runat="server" MaxLength="15" CssClass="wenbenkuang" Width="100px"></asp:textbox>
								<asp:requiredfieldvalidator id="RequiredFieldValidator6" runat="server" ErrorMessage="请输入邮编" Display="Dynamic"
									ControlToValidate="txtPostCode"></asp:requiredfieldvalidator>**</FONT>
						</TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("MemberTel")%><!--联系电话：--></TD>
						<TD class="pad"><FONT color="red">
								<asp:textbox id="txtTEL" runat="server" MaxLength="40" CssClass="wenbenkuang" Width="100px"></asp:textbox>
								<asp:requiredfieldvalidator id="RequiredFieldValidator7" runat="server" ErrorMessage="请输入联系电话" Display="Dynamic"
									ControlToValidate="txtTEL"></asp:requiredfieldvalidator>**</FONT>
						</TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("MemberTextHandset")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--联系电话：--></TD>
						<TD class="pad">
							<asp:textbox id="txtHandset" runat="server" MaxLength="25" CssClass="wenbenkuang" Width="100px"></asp:textbox></TD>
					</TR>
				</TABLE>
				<asp:Panel id="PanSendArea" runat="server">
					<TABLE cellSpacing="1" cellPadding="5" width="100%" align="center" bgColor="#cccccc" border="0">
						<TR bgColor="#ffffff" >
							<TD align="right" width="25%" ><%=myLanguagesDeal.GetMyString("MemberTextSendArea")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!----></TD>
							<TD class="pad">
								<asp:DropDownList id="drlSendArea" runat="server" AutoPostBack="True" onselectedindexchanged="drlSendArea_SelectedIndexChanged"></asp:DropDownList></TD>
						</TR>
					</TABLE>
				</asp:Panel>
				<TABLE cellSpacing="1" cellPadding="5" width="100%" align="center" bgColor="#cccccc" border="0">
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("OrderFormlbOFSendMode")%><!--送货方式：--></TD>
						<TD class="pad">
							<asp:datagrid id="dgList" runat="server" Width="100%" BorderWidth="0" DataKeyField="SendID" AutoGenerateColumns="False"
								AllowPaging="false" PageSize="20" ShowHeader="False">
								<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
								<Columns>
									<asp:TemplateColumn HeaderText="操作">
										<ItemStyle HorizontalAlign="Center"></ItemStyle>
										<ItemTemplate>
											<table width="100%" border="0" Class="dotX">
												<tr>
													<td align="left">
														<asp:Label id="lbrbSendMode" runat="server"></asp:Label><%# DataBinder.Eval(Container.DataItem, "SendMode")%></td>
													<td align="right"><%# DataBinder.Eval(Container.DataItem, "SendMoney")%></td>
												</tr>
												<tr align="left">
													<td colspan="2"><%# DataBinder.Eval(Container.DataItem, "SendExplain")%></td>
												</tr>
											</table>
										</ItemTemplate>
									</asp:TemplateColumn>
								</Columns>
								<PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
							</asp:datagrid></TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"><%=myLanguagesDeal.GetMyString("OrderFormlbOFPayMode")%><!--支付方式：--></TD>
						<TD class="pad"><FONT color="red">
								<asp:dropdownlist id="drlPayMode" runat="server"></asp:dropdownlist>**</FONT></TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%">
							<asp:Label id="lbSelPackTitle" runat="server"></asp:Label><!--支付方式：--></TD>
						<TD class="pad">
							<asp:panel id="PanPack" runat="server">
								<FONT face="宋体"></FONT>
								<BR>
								<asp:DataList id="dlPackInf" runat="server" Width="100%" DataKeyField="PackID" HeaderStyle-HorizontalAlign="center">
									<itemtemplate>
										<table width="100%" border="0" Class="dotX">
											<tr>
												<td align="left">
													<%# DataBinder.Eval(Container.DataItem, "rbItemInf") %>
													<%# DataBinder.Eval(Container.DataItem, "PackTitle") %>
												</td>
												<td align="right"><%# DataBinder.Eval(Container.DataItem, "Price") %></td>
											</tr>
											<tr align="left">
												<td colspan="2"><a href='<%# DataBinder.Eval(Container.DataItem, "BigPicUrl") %>' target=_blank><%# DataBinder.Eval(Container.DataItem, "SmallPicInf") %></a><%# DataBinder.Eval(Container.DataItem, "Explain") %></td>
											</tr>
										</table>
									</itemtemplate>
								</asp:DataList>
							</asp:panel></TD>
					</TR>
					<TR bgColor="#ffffff">
						<TD align="right" width="25%"></TD>
						<TD class="pad">&nbsp;
							<asp:button id="btReturn" runat="server" Text="上一步，修改购物车" CssClass="go-wenbenkuang" CausesValidation="False" onclick="btReturn_Click"></asp:button>&nbsp;&nbsp;
							<asp:button id="btGo" runat="server" Text="完成，下一步" CssClass="go-wenbenkuang" onclick="btGo_Click"></asp:button></TD>
					</TR>
				</TABLE>
			</TD>
		</TR>
		<TR>
			<TD></TD>
		</TR>
	</TABLE>
</asp:panel><asp:panel id="Pan2" runat="server" Visible="false">
	<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<TR>
			<TD align="center" height="30"><B><%=myLanguagesDeal.GetMyString("ShoppingTitleOrderFormInf1")%><!--您的订单信息如下，请确认--></B></TD>
		</TR>
		<TR>
			<TD align="center">
				<TABLE width="100%" border="0">
					<TR>
						<TD colSpan="2"><asp:datagrid id="dgShopping" runat="server" BackColor="#FFFFFF" BorderColor="#CCCCCC" Width="100%" DataKeyField="ProductKey"
								AutoGenerateColumns="False" CellPadding="3" ShowFooter="false" HorizontalAlign="Center">
								<ItemStyle HorizontalAlign="Center" Height="25"></ItemStyle>
								<HeaderStyle HorizontalAlign="Center" BackColor="#f1f1f1" Font-Bold="true" Height="30"></HeaderStyle>
								<FooterStyle HorizontalAlign="Center"></FooterStyle>
								<Columns>
									<asp:BoundColumn HeaderText="OrderFormProductNumber" DataField="ProductNumber"></asp:BoundColumn>
									<asp:BoundColumn HeaderText="OrderFormProductName" DataField="ProductName"></asp:BoundColumn>
									<asp:BoundColumn HeaderText="OrderFormPrice" DataField="strPrice"></asp:BoundColumn>
									<asp:BoundColumn HeaderText="OrderFormAmount" DataField="Amount"></asp:BoundColumn>
									<asp:BoundColumn HeaderText="OrderFormTotalPrices" DataField="strSum"></asp:BoundColumn>
								</Columns>
							</asp:datagrid>
							
							</TD>
					</TR>
					<TR>
						<TD align="center" colSpan="2"><BR>
							<asp:Label id="lbMessage2" runat="server"></asp:Label>
							<asp:Label id="lbSendModeHide" Visible="False" runat="server"></asp:Label>
							<asp:Label id="lbPackIDHide" Visible="False" runat="server"></asp:Label></TD>
					</TR>
					<TR>
						<TD vAlign="top" width="55%">
							<TABLE cellSpacing="1" cellPadding="2" width="100%" bgColor="#cccccc" border="0">
								<TR>
									<TD align="center" bgColor="#f1f1f1" colSpan="2" height="24"><strong><%=myLanguagesDeal.GetMyString("ShoppingTitleOrderFormInf2")%></strong><!--您的订单信息--></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD align="center" width="30%"><%=myLanguagesDeal.GetMyString("MemberTrueName")%><!--姓名：--></TD>
									<TD style="PADDING-LEFT: 20px" width="70%">
										<asp:label id="lbOFName" runat="server"></asp:label></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD align="center"><%=myLanguagesDeal.GetMyString("MemberPostCode")%><!--邮编：--></TD>
									<TD style="PADDING-LEFT: 20px">
										<asp:label id="lbOFPostCode" runat="server"></asp:label></TD>
								</TR>
								
								<TR bgColor="#ffffff">
									<TD style="HEIGHT: 21px" align="center"><%=myLanguagesDeal.GetMyString("MemberAddress")%><!--地址：--></TD>
									<TD style="PADDING-LEFT: 20px; HEIGHT: 21px">
										<asp:label id="lbOFAddress" runat="server"></asp:label></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD align="center"><%=myLanguagesDeal.GetMyString("MemberTel")%><!--电话：--></TD>
									<TD style="PADDING-LEFT: 20px">
										<asp:label id="lbOFTel" runat="server"></asp:label></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD align="center"><%=myLanguagesDeal.GetMyString("MemberTextHandset")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--移动电话：--></TD>
									<TD style="PADDING-LEFT: 20px">
										<asp:label id="lbOFHandset" runat="server"></asp:label></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD align="center"><%=myLanguagesDeal.GetMyString("MemberEmail")%><!--邮箱：--></TD>
									<TD style="PADDING-LEFT: 20px">
										<asp:label id="lbOFEmail" runat="server"></asp:label></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD align="center"><%=myLanguagesDeal.GetMyString("OrderFormlbOFSendMode")%><!--配送：--></TD>
									<TD style="PADDING-LEFT: 20px">
										<asp:label id="lbOFSend" runat="server"></asp:label></TD>
								</TR>
								<TR bgColor="#ffffff">
									<TD align="center"><%=myLanguagesDeal.GetMyString("OrderFormlbOFPayMode")%><!--支付：--></TD>
									<TD style="PADDING-LEFT: 20px">
										<asp:label id="lbOFPay" runat="server"></asp:label></TD>
								</TR>
							</TABLE>
						</TD>
						<TD vAlign="top">
							<TABLE width="100%" border="0">
								
							</TABLE>
							<TABLE cellSpacing="1" cellPadding="2" width="100%" bgColor="#cccccc" border="0">
								<TR>
									<TD align="center" bgColor="#f1f1f1" colSpan="2" height="24"><strong><%=myLanguagesDeal.GetMyString("BalanceTextOrderFormCharge")%></strong><!--送货费计算--></TD>
								</TR>
								<TR>
									<TD style="PADDING-RIGHT: 20px" align="right" bgColor="#ffffff">
									<asp:Panel id="Pan45" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0">
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300">
											<font color="red"><%=myLanguagesDeal.GetMyString("BalanceTextTotalMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label id="lbMoneySum" runat="server"></asp:Label></font></TD>
									</TR>
								</TABLE>
							</asp:Panel>
									<asp:Panel id="Pan41" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0">
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300"><%=myLanguagesDeal.GetMyString("BalanceTextSubTotal")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label id="lbSubTotal" runat="server"></asp:Label></TD>
									</TR>
								</TABLE>
							</asp:Panel>
							<asp:Panel id="Pan42" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0">
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300">
											<%=myLanguagesDeal.GetMyString("BalanceTextShopping")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label id="lbShopping" runat="server"></asp:Label></TD>
									</TR>
								</TABLE>
							</asp:Panel>
							<asp:Panel id="Pan43" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0">
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300">
											<%=myLanguagesDeal.GetMyString("BalanceTextTaxMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label id="lbTax" runat="server"></asp:Label></TD>
									</TR>
								</TABLE>
							</asp:Panel>
							<asp:Panel id="Pan44" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0">
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300"><%=myLanguagesDeal.GetMyString("BalanceTextVoucherMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label id="lbVoucherMoney" runat="server"></asp:Label></TD>
									</TR>
								</TABLE>
							</asp:Panel>
							<asp:Panel id="PanSendCharge2" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0">
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300">
											<%=myLanguagesDeal.GetMyString("BalanceTextOrderFormSendBase")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label id="lbSendBaseCharge" runat="server"></asp:Label></TD>
									</TR>
								</TABLE>
							</asp:Panel>
							<asp:Panel id="PanSendCharge3" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0">
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300">
											<%=myLanguagesDeal.GetMyString("ShoppingSendFloat")%><asp:Label id="lbSendFloatCharge" runat="server"></asp:Label></TD>
									</TR>
								</TABLE>
							</asp:Panel>
							<asp:Panel id="PanSendCharge4" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0" >
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300">
											<%=myLanguagesDeal.GetMyString("TextSelectPack")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label id="lbPackCharge" runat="server"></asp:Label></TD>
									</TR>
								</TABLE>
							</asp:Panel>
							<asp:Panel id="PanBalancePayCharge" runat="server">
								<TABLE width="95%" border="0" cellspacing="0"  cellpadding="0" >
									<TR>
										<TD align="right">&nbsp;</TD>
										<TD align="right" width="300">
											<%=myLanguagesDeal.GetMyString("BalanceTextPayCharge")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><asp:Label id="lbBalancePayCharge" runat="server"></asp:Label></TD>
									</TR>
								</TABLE>
							</asp:Panel>
										
									</TD>
								</TR>
								<TR>
									<TD style="PADDING-RIGHT: 20px" align="right" bgColor="#ffffff"><A href="HelpInf.aspx?InfID=0" target="_blank"><%=myLanguagesDeal.GetMyString("ShoppingTitleSendAndPay")%><!--查看支付及配送说明--></A></TD>
								</TR>
							</TABLE>
							<A href="http://www.chinabank.com.cn/rmb_card/index.shtml">
								<asp:image id="imgPay" runat="server" BorderWidth="0px" ImageUrl="../images/paymentsby.gif"></asp:image></A></TD>
					</TR>
					<TR>
						<TD colSpan="2">
							<asp:panel id="PanVoucher" Visible="false" runat="server">
								<%=myLanguagesDeal.GetMyString("VoucherNumber")%> <!--礼券编号 -->
								<asp:textbox id="txtVoucherNumber" runat="server" MaxLength="100" CssClass="wenbenkuang" Width="100px"></asp:textbox>
								<%=myLanguagesDeal.GetMyString("VoucherPass")%> <!--礼券密码-->
								<asp:textbox id="txtVoucherPass" runat="server" MaxLength="100" CssClass="wenbenkuang" Width="200px"></asp:textbox>
								<asp:button id="btUseVuocher" runat="server" Text="使用礼券" CssClass="go-wenbenkuang" onclick="btUseVuocher_Click"></asp:button>
								<asp:Label id="lbVoucherMsg" runat="server" ForeColor="Red"></asp:Label>
							</asp:panel></TD>
					</TR>
					<TR>
						<TD colSpan="2">
							<asp:checkbox id="chkInvoice" runat="server" AutoPostBack="True" Text="是否需要发票？" oncheckedchanged="chkInvoice_CheckedChanged" Visible="false"></asp:checkbox>&nbsp;&nbsp;&nbsp;&nbsp;
							<%=myLanguagesDeal.GetMyString("OrderFormlbOFRemark")%> <!--您的附言：-->
							<asp:textbox id="txtRemark" runat="server" MaxLength="100" CssClass="wenbenkuang" Width="200px"></asp:textbox><%=myLanguagesDeal.GetMyString("ShoppingMsgCharLimit")%><!--（100字以内）--> 
							&nbsp;&nbsp;
							<asp:button id="btPre" runat="server" Text="上一步" CssClass="go-wenbenkuang" onclick="btPre_Click"></asp:button>&nbsp;
							<asp:button id="btSure" runat="server" Text="完成，付款" CssClass="go-wenbenkuang" onclick="btSure_Click"></asp:button></TD>
					</TR>
				</TABLE>
			</TD>
		</TR>
	</TABLE>
</asp:panel><asp:panel id="Pan3" runat="server" Visible="false"><BR>
	<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<TR>
			<TD align="center" bgColor="#f1f1f1" height="30"><B><%=myLanguagesDeal.GetMyString("ShoppingTitleSaveResult")%><!--订单提交结果--></B></TD>
		</TR>
		<TR>
			<TD align="center">
				<asp:Label id="lbResult" runat="server"></asp:Label></TD>
		</TR>
	</TABLE>
</asp:panel>
