<%@ master language="C#" autoeventwireup="true" inherits="V5Shop.NewMember.MemberMasterPage, V5Shop.Member" %>

<!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" >
<head runat="server">
    <link href="css.css" rel="stylesheet" type="text/css" />
    <link href="Js/calendar-system.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="Js/mootools.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Common.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>
</head>
<body>
    <form id="form1" runat="server">
  <div id="top">
  <div class="div1 top_1">
    <div class="left top_1"><%=LoginID%> 您好，欢迎光临！<a href="../logout.aspx" class="size">[退出]</a></div>
	<div class="right top_1"><img src="images/top/top-5.gif" align="absmiddle" /> <a href="../index.aspx" class="size">商城首页</a> │ <img src="images/top/top-6.gif" align="absmiddle" /> <a href="../cart.aspx" class="size">购物车</a> │ <a href="../content.aspx?wd=about" class="size">关于我们</a> │ <a href="../content.aspx?wd=contact" class="size">联系我们</a> </div>
  </div>
</div>
<div class="div1">
  <div class="left"><a href="../index.aspx"><img src="images/guangao/logo.gif" border="0" /></a></div>
  <div class="top_2">
    <div class="right"><img src="images/top/top-3.gif" /></div>
	<div class="top_3">
	 <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="images/top/top-4.gif"  CausesValidation="False" Width="0"  />
        <asp:DropDownList ID="ddlType" runat="server">
        <asp:ListItem Value="p">查询商品</asp:ListItem>
            <asp:ListItem Value="a">查询文章</asp:ListItem>
            <asp:ListItem Value="n">发货通知</asp:ListItem>
        </asp:DropDownList>&nbsp;
        <asp:TextBox ID="txtSearch" runat="server" Width="330px" ></asp:TextBox>
        
	  <asp:ImageButton ID="btnSearch" runat="server" ImageUrl="images/top/top-4.gif" OnClick="btnSearch_Click" CausesValidation="False"  />
        
          </div>
	<div class="right"><img src="images/top/top-1.gif" /></div>
  </div>
<div class="clear"></div></div>
<div class="div1 banner1"><img src="images/guangao/img-1.jpg" /></div>
<div class="div1 title">
  <div class="left"><img src="images/top/img-1.gif" /></div>
  <div class="title_left"><a href="index.aspx" style="color:White">我的会员中心</a> </div>
  <div class="right"><img src="images/top/img-4.gif" /></div>
  <div class="title_right">
    <div class="<%="0".Equals(InBox)?"title_right1":"title_right1b" %>"></div>
	<div class="<%="0".Equals(InBox)?"title_right2":"title_right2b" %>"><a href="User_Message_Manage.aspx?s=1" style="color:White">站内消息(<%=InBox%>)</a></div>
	<div class="<%="0".Equals(InBox)?"title_right3":"title_right3b" %>"></div>
	<div class="<%="0".Equals(SendCount)?"title_right1":"title_right1b" %>"></div>
	<div class="<%="0".Equals(SendCount)?"title_right2":"title_right2b" %>"><a href="User_UserOrder_Manage.aspx?OrderStatus=3" style="color:White">确认收货(<%=SendCount %>)</a></div>
	<div class="<%="0".Equals(SendCount)?"title_right3":"title_right3b" %>"></div>
	<div class="<%="0".Equals(NonPayCount)?"title_right1":"title_right1b" %>"></div>
	<div class="<%="0".Equals(NonPayCount)?"title_right2":"title_right2b" %>"><a href="User_UserOrder_Manage.aspx?OrderStatus=0" style="color:White" > 需要支付的订单(<%=NonPayCount%>)</a> </div>
	<div class="<%="0".Equals(NonPayCount)?"title_right3":"title_right3b" %>"></div>
  </div>
</div>
<div class="div1">
<div id="index_left">
    <div><img src="images/index/left-1.gif" /></div>
	<div class="left_list">
	  <script type="text/javascript">
    //控制导航块的鼠标效果
        window.addEvent('domready', function() {
            $("index_left").getElements('img').setProperty("cursor","pointer");
        });
	  function ShowOrHidden(val)
	  {
	     var selfHidden=document.getElementById("selfHidden");
	     var selfShow=document.getElementById("selfShow");
	     var myCartHidden=document.getElementById("myCartHidden");
	     var myCartShow=document.getElementById("myCartShow");
	     
	     var myCardHidden=document.getElementById("myCardHidden");
	     var myCardShow=document.getElementById("myCardShow");
	     
	     var myCommentHidden=document.getElementById("myCommentHidden");
	     var myCommentShow=document.getElementById("myCommentShow");
	     if(val=="0")
	     {
	            selfHidden.style.display="none";
	            selfShow.style.display="block";
	     }
         else if(val=="1")
         {
            selfHidden.style.display="block";
            selfShow.style.display="none";
         }
         
         if(val=="2")
	     {
	            myCartHidden.style.display="none";
	            myCartShow.style.display="block";
	     }
         else if(val=="3")
         {
            myCartHidden.style.display="block";
            myCartShow.style.display="none";
         }
         
         if(val=="4")
	     {
	            myCardHidden.style.display="none";
	            myCardShow.style.display="block";
	     }
         else if(val=="5")
         {
            myCardHidden.style.display="block";
            myCardShow.style.display="none";
         }
         
          if(val=="6")
	     {
	            myCommentHidden.style.display="none";
	            myCommentShow.style.display="block";
	     }
         else if(val=="7")
         {
            myCommentHidden.style.display="block";
            myCommentShow.style.display="none";
         }
	  }
//	   function KeyCodeValide()
//	   {
//	   alert(event.keyCode);
////	     if(event.keyCode==13)
////	     {
////	      
////	       return false;
////	     }
////	     else
////	     {
////	       return true;
////	     }

      
	      document.getElementById('<%=btnSearch.ClientID %>').blur();
	   //}
	  
	  </script>
	  
	  <div id="myCartHidden" style="display:none">
	    <dl>
	    <dt ><font>我的购物车</font><span><img src="images/index/left-6.gif"  onclick="ShowOrHidden(2)"/></span></dt>
	    </dl>
	  </div>
	  <div id="myCartShow">
	  <dl>
	    <dt><font>我的购物车</font><span><img src="images/index/left-5.gif" onclick="ShowOrHidden(3)" /></span></dt>
		<dd><a href="../cart.aspx">我的购物车</a></dd>
		<dd class="left_bg left_bg2">
        	<%--<span class='<%=OrderStatus.Equals("ALL") ? "list_leftbg2" : "" %>'></span>--%><a  href="User_UserOrder_Manage.aspx" >订单管理</a>
            <span class='<%=OrderStatus.Equals("0") ? "list_leftbg" : "" %>'><a href="User_UserOrder_Manage.aspx?OrderStatus=0">待付款订单</a></span>
            <span class='<%=OrderStatus.Equals("3") ? "list_leftbg" : "" %>'><a href="User_UserOrder_Manage.aspx?OrderStatus=3">已发货订单</a></span>
            <span class='<%=OrderStatus.Equals("5") ? "list_leftbg" : "" %>'><a href="User_UserOrder_Manage.aspx?OrderStatus=5">完成订单</a></span>
            <span class=''><a href="User_UserOrder_Merge.aspx">合并订单</a></span>
        </dd>
		<dd class='<%=strPage.Contains("User_UserScore") ? "list_leftbg2" : "" %>' ><a href="User_UserScore_Manage.aspx">我的积分</a></dd>
		<dd class='<%=strPage.Equals("User_Collect_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_Collect_Manage.aspx">我的收藏</a></dd>
		<dd class='<%=strPage.Equals("User_Message_Manage.aspx") ? "list_leftbg2" : "" %>'> <a href="User_Message_Manage.aspx">站内短信</a></dd>
	  </dl>
	  </div>
	  
	  <div id="selfHidden" style="display:none">
	    <dl>
	    <dt ><font>个人资料</font><span><img src="images/index/left-6.gif"  onclick="ShowOrHidden(0)"/></span></dt>
	    </dl>
	  </div>
	  <div id="selfShow">
	  <dl>
	    <dt><font>个人资料</font><span><img src="images/index/left-5.gif"  onclick="ShowOrHidden(1)" /></span></dt>
		<dd class='<%=strPage.Equals("User_Informaion_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_Informaion_Manage.aspx">编辑个人资料</a></dd>
		<dd class='<%=strPage.Equals("User_Address_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_Address_Manage.aspx">收货地址管理</a></dd>
		<dd class='<%=strPage.Equals("User_Password_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_Password_Manage.aspx">修改密码</a></dd>
		<dd class='<%=strPage.Equals("User_Email_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_Email_Manage.aspx">密码保护问题</a></dd>
	  </dl>
	  </div>
	  
	  <div id="myCardHidden" style="display:none">
	    <dl>
	    <dt ><font>我的会员卡</font><span><img src="images/index/left-6.gif"  onclick="ShowOrHidden(4)"/></span></dt>
	    </dl>
	  </div>
	  <div id="myCardShow">
	  <dl>
	    <dt ><font>我的卡包</font><span><img src="images/index/left-5.gif"  onclick="ShowOrHidden(5)"/></span></dt>
		<dd class='<%=(strPage.Equals("User_UserCard_Manage.aspx") || strPage.Equals("User_ChangeUserCard_Mange.aspx")) ? "list_leftbg2" : "" %>'><a href="User_UserCard_Manage.aspx">我的会员卡</a></dd>
		<dd class='<%=strPage.Equals("User_ShopCard_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_ShopCard_Manage.aspx">我的购物卡</a></dd>
		<dd class='<%=strPage.Equals("User_PriceCard_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_PriceCard_Manage.aspx">我的充值卡</a></dd>
		<dd class='<%=strPage.Equals("User_Coupon_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_Coupon_Manage.aspx">我的优惠卡</a></dd>
	  </dl>
	  </div>
	  <div id="myCommentHidden" style="display:none">
	    <dl>
	    <dt ><font>我的评价</font><span><img src="images/index/left-6.gif"  onclick="ShowOrHidden(6)"/></span></dt>
	    </dl>
	  </div>
	  <div id="myCommentShow">
	  <dl>
	    <dt><font>我的评价</font><span><img src="images/index/left-5.gif" onclick="ShowOrHidden(7)" /></span></dt>
		<dd class='<%=strPage.Equals("User_ProductReview_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_ProductReview_Manage.aspx">商品评价</a></dd>
		<dd class='<%=strPage.Equals("User_ArticleReview_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_ArticleReview_Manage.aspx">文章评价</a></dd>
		<dd class='<%=strPage.Equals("User_Gbook_Manage.aspx") ? "list_leftbg2" : "" %>'><a href="User_Gbook_Manage.aspx">我的留言</a></dd>
		<dd class='<%=strPage.Equals("Product_OutStock_List.aspx") ? "list_leftbg2" : "" %>'><a href="Product_OutStock_List.aspx">缺货登记</a></dd>
	  </dl>
	  </div>
	<div class="clear">
	</div>
	</div>
	<div><img src="images/index/left-3.gif" /></div>
  </div>
        <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
        </asp:contentplaceholder>
        <div class="clear"></div>
   </div>
<div class="copy"><%=copyright %></div>
    </form>
</body>
</html>
