<%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="GJ_P1.msh, GJ_YM" title="Untitled Page" enableviewstatemac="false" enableEventValidation="false" %>
<%@ Register Src="~/control/dh.ascx" TagName="mydh" TagPrefix="dh" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script  language=javascript>
function jssc(cz,id)
{
document.getElementById("hid_cz").value=cz;
document.getElementById("hid_xz").value=id;
sendRequest('mshc.aspx');
}
</script>
<script language="javascript" src="js/db_m.js" ></script>
<style>
table {line-height:21px;}
table a:link {color:#000000;text-decoration:none;}
table a:visited {color:#000000;text-decoration:none;}
table a:hover{color:#FF3300;text-decoration:underline;background:#ffffff;}
table a:active {color:#FF3300;text-decoration:none;background:#ffffff;}
</style>
<input type="hidden" name="hid_xz" id="hid_xz" /><input type="hidden" name="hid_cz" id="hid_cz" />
<!--中间开始-->
<div class="gj_mid">
<div class="gj_mid_left">
<dh:mydh runat="server" id="Mydh1"/>
</div>

<div class="gj_mid_right">
<div class="gj_mid_right_dqwz"><li>您现在的位置：我的商城 > 帐户中心 > 我的收货地址</li></div>
<div class="gj_clr"></div>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">
<tr style="background-color:#ffffff;"><td >
<a href="msha.aspx" style="color:Blue;">添加收货地址</a>
<a href="msh.aspx">所有收货地址</a>
<asp:TextBox ID="TextBox1" runat="server" Width="228px"></asp:TextBox>
<asp:Button ID="Button1"  runat="server" Text="搜索收货地址" OnClick="Button1_Click" />
</td></tr></table>

<asp:Repeater ID="Repeater1" runat="server"><HeaderTemplate>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2" >
<tr style="background-color:#f2f2f2;">
<td >选择</td>
<td >收货人姓名</td>
<td >邮箱/电话</td>
<td>手机/邮编</td>
<td>地址</td>
<td>方便收货时间</td>
<td>操作</td>
</tr>
</HeaderTemplate><ItemTemplate>
<tr bgcolor="#FFFFFF" onMouseOver=sbyg('div<%#Eval("faid") %>') onMouseOut=sbyk('div<%#Eval("faid") %>') id="div<%#Eval("faid") %>" style="cursor:hand;" >
<td><%#xz(Eval("faid").ToString())%></td>
<td>
<%#wordd(rsd(Eval("famc").ToString()))%>
</td>

<td ><%#Eval("fayx")%><br /><%#Eval("fadh")%></td>
<td ><%#Eval("fasj")%><br /><%#Eval("fayb")%></td>
<td ><%#rsd(Eval("fasf").ToString())%><%#rsd(Eval("facs").ToString())%><br /><%#rsd(Eval("fadz").ToString())%></td>
<td ><%#x1(Eval("fafb").ToString())%><br /><%#x2(Eval("famr").ToString())%></td>
<td><%#ghxs(Eval("faid").ToString())%></td>
</tr>

  


</ItemTemplate><FooterTemplate></table></FooterTemplate></asp:Repeater>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#ffffff;"><td >
<asp:Label ID="nodate" runat="server" Text=""></asp:Label>
</td></tr></table>
<script>
function sjj(name) {
var checkboxs = document.getElementsByName(name);  
for (var i = 0; i < checkboxs.length; i++) {
var e = checkboxs[i];
e.checked = !e.checked;
}
}</script>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#f2f2f2;"><td >
<a href="javascript:;" onclick="sjj('sel');">全选反选</a> |
<a href="javascript:;" onclick="if(confirm('所选收货地址会一起删除，确定删除吗?')){xz('1');sendRequest('mshc.aspx');}">删除所选收货地址</a> |
<span id="PageInfo" runat="server"></span>

</td></tr></table>

</div>
</div>
</asp:Content>

