<%@ Page language="c#" Codebehind="ModifyPay.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.ModifyPay" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="MemberHelper" Src="Modules/MemberHelper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="memberfooter" Src="Modules/memberfooter.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"-->
		<script src="<%=webSite %>Template/<%=config.TemplateFolder%>/inc/ModifyPay.js" type="text/javascript"></script>
		<link href="<%=webSite %>Template/<%=config.TemplateFolder%>/style/member.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript">
		    var ztdNo = '<%=order.ZtdNo %>';
		    var shippingID = <%=order.ShippingType %>;
		</script>
  </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;<a href='<%=webSite %>MyOrders.<%=config.html %>'><%=GetResourceString("MyOrders")%></a>&nbsp;&gt;&nbsp;修改支付方式</div>
		    <!--位置导航结束-->
			<div class="member_left">
				<!--会员中心导航开始-->
				<uc1:MemberMenu id="MemberMenu1" runat="server"></uc1:MemberMenu>
				<!--会员中心导航结束-->
			</div>
			<div class="member_middle_right">
			    <form id="Form1" method="post" runat="server">
				<!--内容开始-->
				<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">
					    <div style="display:none;"><%=GetAreaSelect()%><%--要隐藏的内容,不能去掉--%></div>
					    <!--支付方式开始-->
		                <div class="orderfrm">
		                    <div class="itemtitle"><%=GetResourceString("PaymentInfo")%></div>
		                    <div class="frmborder">
                                
                                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="liststyle data">
                                    <colgroup class="span-4 ColColorGray"></colgroup>
                                    <colgroup class="span-auto"></colgroup>
                                    <tbody>
                                        <asp:Repeater ID="rptpayment" runat="server">
                                            <ItemTemplate>
                                                <tr class='paytype_<%#DataBinder.Eval(Container.DataItem, "PayTypeID")%>' style='<%#((int)DataBinder.Eval(Container.DataItem, "PayTypeID") == 5 || (int)DataBinder.Eval(Container.DataItem, "PayTypeID")==6) ? "display:none" : ""%>'>
                                                    <th><input type="radio" id='rbPayType_<%# Container.ItemIndex %>' name="rbPayType" value='<%#DataBinder.Eval(Container.DataItem, "PayTypeID")%>' <%#(int)DataBinder.Eval(Container.DataItem, "PayTypeID") == order.PayType ? "checked='checked'" : ""%> /><label for="rbPayType_<%# Container.ItemIndex %>"><%#DataBinder.Eval(Container.DataItem, "PayTypeName")%></label></th>
                                                    <td><%#DataBinder.Eval(Container.DataItem, "Remark")%>&nbsp;</td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </tbody>
                                </table>

                                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="liststyle data" style="margin:5px 0px; display:none;" id="ztdContainer">
                                    <tbody>
                                        <tr>
                                            <td colspan="2">选择自提点</td>
                                        </tr>
                                        <tr id="tmp_ztd" style="display:none;">
                                            <th class="ztdname">自提点名称</th>
                                            <td class="ztddetail"><div class="ztdAddr">地址</div><div class="ztdRemark">描述</div></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
		                </div>
		                <!--支付方式结束-->


		                <!--配送方式开始-->
		                <div class="orderfrm shipContainer"><%--shipContainer不能少--%>
		                    <div class="itemtitle"><%=GetResourceString("ShippingWay")%></div>
		                    <div class="frmborder">
		                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="liststyle data" style="margin:5px 0px;" id="shipContainer">
                                    <colgroup class="span-4 ColColorGray"></colgroup>
                                    <colgroup class="span-auto"></colgroup>
                                    <tbody>
                                        <tr id="tmp_ship" style="display:none;">
                                            <th><span class="shipname">配送方式名称</span>(<%=GetCurrencySign()%><span class="shipprice"></span>)</th>
                                            <td><span class="shipdetail"></span></td>
                                        </tr>
                                    </tbody>
                                </table>
		                    </div>
		                </div>
		                <!--配送方式结束-->
		                <div style=" text-align:center;">
		                <asp:button id="btnSave" OnClick="btnSave_Click" Runat="server" Text="修改"></asp:button>
		                </div>
		            </div>
	                <div class="bl"></div>
	                <div class="br"></div>
	                <div class="bm"></div>
	            </div>
				<!--内容结束-->
                </form>
			</div>
		</div>
		<uc1:MemberHelper id="Helper1" runat="server"></uc1:MemberHelper>
		<uc1:memberfooter id="Footer1" runat="server"></uc1:memberfooter>	
  </body>
</html>
