<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/user.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<%<Hi:HeadContainer ID="HeadContainer1" runat="server" />%>
<%<Hi:PageTitle runat="server" />%>
<%<Hi:MetaTags runat="server" />%>
<link href="/style/user.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/style/pagevalidator.css" type="text/css" media="screen" />
<script src="/utility/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/utility/validate/pagevalidator.js" type="text/javascript"></script>
<script src="/utility/Calendar/WdatePicker.js" type="text/javascript"></script>
<script src="/utility/globals.js" type="text/javascript"></script>
</head>
<body>
<form runat="server" id="form1">
<!--头部开始-->
<div class="member_top_info">
<div class="member_top_info_c">
<div class="member_top_info_c_l">		<%<Hi:Common_CurrentUser runat="server" ID="lblCurrentUser"/>%>
			[<%<Hi:Common_MyAccountLink ID="linkMyAccount" runat="server" />%>
			<%<Hi:Common_LoginLink ID="Common_Link_Login1" runat="server" />%>]</div>
<ul  class="member_top_info_c_r"><li><span><a href="url:shoppingCart">我的购物车</a></span> <span>|</span> <span><a href="url:LeaveComments">店铺交流区</a></span> <span>|</span> <span><a href="url:Promotes">促销活动</a></span> <span>|</span> <span><a href="url:Category">全部分类</a></span> <span>|</span> <span><a href="url:AllArticles">商城资讯</a></span></li></ul>
</div>
</div>

<div class="core_blank16"></div> 
	<div class="core_layout">
<%<Hi:Common_Logo runat="server" />%>	</div>
 
<div class="core_blank16"></div>

<div class="member_nav">
<ul class="member_nav_l">
<li><a href="url:user_MyAccountSummary">我的帐户</a></li>
<li><a href="url:home">商城首页</a></li>
<li><a href="url:user_UserOrders">订单查询</a></li>
<li><a href="url:AllHelps">帮助中心</a></li>
</ul>
<div class="member_nav_r"><div class="member_nav_rc"><%<Hi:Common_ShoppingCart_Info runat="server" />%></div>  </div>
</div>
<div class="core_blank8"></div>
<div class="member_guide"><!-- InstanceBeginEditable name="编辑区" -->
		<ul class="User_nav">
			<li class="User_navLeft"></li>
			<li class="User_navM">
				<div class="User_nav_icon">当前位置：<span><a href="url:home">首页</a></span>><span><a href="url:user_UserDefault">会员中心</a></span>><span><a href="#">我的收货地址</a></span></div>
			</li>
			<li class="User_navRight"></li>
		</ul>
	<!-- InstanceEndEditable --></div>
<div class="core_blank8"></div>
<div class="core_userform">
	<div class="core_newform">
		<div class="core_formleft">
            <div id="leftbox">
                <ul class="NavClass">
                    <li>
                        <h2 id="MyRec">
                            我的交易记录</h2>
                        <ul>
  								<li> <a href="url:user_UserPoints">我的积分</a></li>
													<li>  <a href="url:user_MyCoupons">我的优惠券</a></li>
													<li> <a href="url:user_MyChangeCoupons">积分兑换优惠券</a></li>
													<li> <a href="url:user_UserOrders">订单管理</a></li>
                        </ul>
                    </li>
                    <li>
                        <h2 id="ProFavRev">
                            商品收藏与评论</h2>
                        <ul>
   									<li><a href="url:user_Favorites">收藏夹</a></li>
													<li><a href="url:user_UserConsultations">咨询/回复</a></li>
													<li> <a href="url:user_UserProductReviews">我参与的评论</a></li>
													<li><a href="url:user_UserBatchBuy">商品批量购买</a></li>
                        </ul>
                    </li>
                    <li>
                        <h2 id="Acu">
                            预付款账户</h2>
                        <ul>
													<li><a href="url:user_MyAccountSummary">预付款账户</a></li>
													<li><a href="url:user_RechargeRequest">预付款充值</a></li>
													<li><a href="url:user_ReferralMembers">我推荐的会员</a></li>
                        </ul>
                    </li>
                    <li>
                        <h2 id="Opt">
                            个人设置</h2>
                        <ul>
													<li> <a href="url:user_UserProfile">个人信息</a></li>
													<li>  <a href="url:user_UpdatePassword">修改密码</a></li>
													<li>  <a href="url:user_UserShippingAddresses">我的收货地址</a></li>
                        </ul>
                    </li>
                    <li>
                        <h2 id="ProFavRev">
                            站内消息</h2>
                        <ul>
 													<li><a href="url:user_UserReceivedMessages">收件箱</a></li>
													<li><a href="url:user_UserSendedMessages">发件箱</a></li>
													<li><a href="url:user_UserSendMessage">给管理员发消息</a></li>
                        </ul>
                    </li>
				</ul>
				
				            
                        <h2 id="Acu" class="login_out_member">
                            <a href="url:logout">安全退出</a></h2>

            </div>
		</div>
		<div class="core_formright">
   <!-- InstanceBeginEditable name="编辑2" -->
			  <div class="User_manage"><span class="User_manIcon"></span>我的收货地址</div>
			  <div style="margin-top:10px;"><%<Hi:SmallStatusMessage id="Status" runat="server" Visible="False"  />%></div>
			<div class="bTop_BomPadding10">
  <div class="contentarea">
  
   <script type="text/javascript">
       $(document).ready(function() {
           $("#userShippingAddresses_btn_Common_Consignee_SaveButton").click(function() {
               // 验证配送地区选择了没有
               var selectedRegionId = $("#regionSelectorValue").val();
               if (selectedRegionId == null || selectedRegionId.length == "" || selectedRegionId == "0") {
                   alert("请选择您的收货人地址");
                   return false;
               }
           })
       });
   </script>
   

	<table width="99%" border="0" cellspacing="0" cellpadding="0" class="AgentAddNews">
      <tr>
        <td valign="top" class="AgentAddNews_pad">
		<table width="95%" border="0" align="center" cellpadding="0" cellspacing="5"  style="font-size:14px;color:#212222;">
                    <tr>
                      <td width="100"  class="UserInfo_line UserInfo_text_right">收货人姓名： </td>
                      <td class="UserInfo_line">
                        <%<asp:TextBox ID="txtShipTo" runat="server" class="userInput"/>%>
                      </td>
                       <td class="UserInfo_line">
                            <span id="txtShipToTip" runat="server"></span>
                            
                      </td>
                    </tr>
                    <tr>
                      <td class="UserInfo_line UserInfo_text_right">所在地区：</td>
                      <td colspan="2" class="UserInfo_line">
                            <%<Hi:RegionSelector runat="server" id="dropRegions" />%>
                      </td>
                    </tr>
                    <tr>
                      <td class="UserInfo_line UserInfo_text_right">街道地址：</td>
                      <td class="UserInfo_line">
                          <%<asp:TextBox ID="txtAddress" runat="server" Width="250px" Height="50px" TextMode="MultiLine" />%>
                      </td>
                       <td class="UserInfo_line">
                           <span id="txtAddressTip" runat="server"></span>
                          
                      </td>
                    </tr>
                    <tr>
                      <td class="UserInfo_line UserInfo_text_right">邮政编码： </td>
                      <td class="UserInfo_line">
                          <%<asp:TextBox ID="txtZipcode" runat="server" class="userInput"/> %>
                      </td>
                       <td class="UserInfo_line">
                          
                           
                      </td>
                    </tr>
                    <tr>
                      <td class="UserInfo_line UserInfo_text_right"><span class="fontred"></span>电话号码： </td>
                      <td class="UserInfo_line">
                          <%<asp:TextBox ID="txtTelPhone"  runat="server" class="userInput" MaxLength="20"/>%>
                      </td>
                      <td class="UserInfo_line">
                            <span id="txtTelPhoneTip" runat="server"></span>
                                                     
                      </td>
                    </tr>
                    <tr>
                      <td class="UserInfo_line UserInfo_text_right">手机号码： </td>
                      <td class="UserInfo_line"><%<asp:TextBox ID="txtCellPhone" runat="server" class="userInput" MaxLength="20"/>%></td>
                      <td class="UserInfo_line">
                           <span id="txtCellPhoneTip" runat="server"></span>
                           
                      </td>
                    </tr>
                    <tr>
                      <td></td>
                      <td class="Shipping_frame">
                              <span>
							  <%<asp:Button ID="btnAddAddress" class="btn_style_bar"  runat="server" OnClientClick="return PageIsValid()" Text="添加" />%>
							  <%<asp:Button ID="btnEditAddress" class="btn_style_bar"  runat="server" OnClientClick="return PageIsValid()" Text="保存" Visible="false" />%>
							  <%<asp:Button ID="btnCancel" class="btn_style_bar"  runat="server" Text="清空" />%>
							  </span>
                      </td>
                    </tr>
                    <tr>
                      <td></td>
                      <td class="Shipping_frame">
							  *最多只能添加<% <asp:Literal runat="server" Id="lblAddressCount" /> %>个收货地址
                      </td>
                    </tr>
            </table>
		  </td>
      </tr>
    </table>
    
     <div style="padding:10px;clear:both;">
     
 <%<Hi:Common_Address_AddressList runat="server" />%>
     </div>
  </div>
  <script type="text/javascript" language="javascript">
  function InitValidators()
{
    initValid(new InputValidator('userShippingAddresses_txtShipTo', 2, 20, false, '[\u4e00-\u9fa5a-zA-Z]+[\u4e00-\u9fa5_a-zA-Z0-9]*', '收货人名字不能为空，只能是汉字或字母开头，长度在2-20个字符之间'))
initValid(new InputValidator('userShippingAddresses_txtAddress', 3, 60, false, null,  '详细地址不能为空,长度限制在3-60个字符之间'))
initValid(new InputValidator('userShippingAddresses_txtTelPhone', 3, 20, false, null, '收货人的电话号码(区号-电话号码-分机),长度限制在3-20个字符之间'))
initValid(new InputValidator('userShippingAddresses_txtCellPhone', 3, 20, false, null,  '收货人的手机号码,长度限制在3-20个字符之间'))
}
$(document).ready(function(){ InitValidators(); });
    </script>
  <!--<script src="/utility/region.helper.js" type="text/javascript"></script>-->
			</div>
			<!-- InstanceEndEditable -->
		</div>
	</div>
</div>




</form>
</body>
<!-- InstanceEnd --></html>
