<%@ page language="C#" masterpagefile="~/member/MemberMasterPage.master" autoeventwireup="true" inherits="V5Shop.NewMember.User_Address_Manage, V5Shop.Member" title="收货地址管理" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Src="UserControl/PageList.ascx" TagName="PageList" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div style="float:left; width:760px">
    <div><img src="images/list/top-1.gif" /></div>
	<div style="border-right:1px #C5DCE7 solid; width:739px; padding:10px">
	  <div style="background:url(images/list/tab-bg.gif) repeat-x bottom; height:27px; padding-left:20px">
	    <div style="float:left; background:url(images/list/tab-1.gif) no-repeat; margin-right:3px; width:76px; height:27px; line-height:27px; text-align:center; font-weight:bold; color:#111">收货地址</div>
	  </div>
	  <div style="background:url(images/list/bg_2.gif) repeat-x; height:30px; line-height:30px">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td align="center"> 收货人 </td>
	<td width="200" align="center"> 地址 </td>
    <td width="100" align="center"> 电话 </td>
    <td width="80" align="center"> 手机 </td>
    <td width="100" align="center"> 邮编 </td>
 <%--   <td width="60" align="center"> 是否默认 </td>--%>
    <td width="100" align="center"> 操作 </td>
  </tr>
  
</table>
      </div>
	    <div style="border-top: #dedee0 1px solid; margin-top: 2px; background: #f3f3f3;
                line-height: 28px; border-bottom: #dedee0 1px solid; height: 28px">
                <input name="checkbox" type="checkbox" class="checkbox" id="CheckAllBox" onclick="CheckAll()" /> 
                全选
                <asp:Button ID="BtnDelete2" runat="server" Text="删除" CssClass="input_bg" OnClick="BtnDelete_Click" />
                <input type="button" class="input_bg2" value="添加收货地址" onclick="window.location.href='User_Address_Operate.aspx'" />
            </div>
	  <div class="list2_div1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <asp:Repeater ID="rpAddressList" runat="server" >
		            <ItemTemplate>
			        <tr>
    <td width="20">
        
                                 <asp:CheckBox ID="chkChoose" runat="server" />
                          <asp:HiddenField ID="CheckBoxID"
						runat="server" Value='<%#Eval("Id") %>' />
                      
    </td>
    <td align="center"><%# Eval("Name")%></td>
    <td width="200" align="center"> &nbsp;<%# Eval("Address")%></td>
    <td width="100" align="center"> &nbsp;<%# Eval("Tel")%> </td>
    <td width="80" align="center">&nbsp;<span><%# Eval("Moblie")%> </span></td>
    <td width="100" align="center">&nbsp;<%# Eval("PostCode")%> </td>
   <%-- <td width="60" align="center"><span><%# Eval("Default")%>  </span></td>--%>
    <td width="100" align="center"><a href="User_Address_Operate.aspx?id=<%# Eval("Id") %>">编辑</a> 
    <a href='<%#Eval("DelLinkUrl")%>' onclick="return confirm('您确定要删除吗?')" >删除</a>  </td>
  </tr>
		            </ItemTemplate>
		            
	            </asp:Repeater>

  
</table>
	  </div>
	   <div style="border-top: #dedee0 1px solid; margin-top: 2px; background: #f3f3f3;
                line-height: 28px; border-bottom: #dedee0 1px solid; height: 28px;">
                <div style="float: left">
                    <input name="checkbox1" type="checkbox" class="checkbox" id="CheckAllBox2" onclick="CheckAll2()" /> 
                    全选
                   
                    <asp:Button ID="BtnDelete" runat="server" Text="删除" CssClass="input_bg" OnClick="BtnDelete_Click" />
                </div>
                <uc1:pagelist id="PageList1" runat="server" ></uc1:pagelist>
             
            </div>
	</div>
	<div><img src="images/list/bottom-1.gif" /></div>
  </div>
  
  <script language="javascript" type="text/javascript">ShowOrHidden(3);</script>
  
  <asp:Label ID="lblDelete" runat="server" Text="您确定要删除吗?" Visible="false" ></asp:Label>
  <asp:Label ID="lblParam" runat="server" Text="参数错误" Visible="false" ></asp:Label>
</asp:Content>

