<%@ Control Language="c#" AutoEventWireup="true" Codebehind="MemberMenu.ascx.cs" Inherits="XpShop.WebUI.Modules.MemberMenu" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="xp-center-lframe clear">
	<div class="tm">会员中心</div>
	<div class="mm">
	    <div style=" margin:10px; text-align:center;">
	        <%--<img src="<%=webSite %>upload/users/<%=(user.Photo=="nophoto.gif" ? "nophoto.gif" : (user.MemberID.ToString()+"/"+user.Photo))%>" width="68" height="68" />--%>
	        <img src="<%=webSite %>upload/MemberGroupLogo/<%=(user.Logo != "" ? user.Logo : "nopic.gif")%>" width="68" height="68" alt="" />
	        <div style="font-weight:bold; text-align:center; color:#413f40;"><%=user.Name%></div>
	        <span style="color:#424041;"><%=GetResourceString("MemberLevel")%>：</span><span style="color:#ff6602;"><%=user.GroupName%></span>
	    </div>
		<ul class="menu">
			<li>
				<div class="topCat">
				    <div class="topCat_l"></div>
				    <div class="topCat_r"></div>
				    <div class="topCat_m">
				        交易管理
				    </div>
				</div>
				<ul>
					<li><a href="<%=webSite %>MyOrders.<%=config.html%>">订单中心</a></li>
					<!--
					<li>
						<a href="#">在线支付</a></li>
					<li><a href="#">交易记录</a></li>
					-->
					<%--<li><a href="<%=webSite %>MyBid.aspx">我的拍卖</a></li>
					<li><a href="<%=webSite %>MyBuy.aspx">我的团购</a></li>--%>
					<%--<li><a href="<%=webSite %>MySecKill.aspx">我的秒杀</a></li>--%>
					<li><a href="<%=webSite %>MyAdvancePayment.<%=config.html%>">预付款</a></li>
					<li><a href="<%=webSite %>MyReview.<%=config.html%>">商品评价</a></li>
					<%--<li><a href="<%=webSite %>MyGifts.aspx"">我的礼品</a></li>--%>
				</ul>   
				<div style="clear:both;"></div>
			</li>
			<li>
				<div class="topCat">
				    <div class="topCat_l"></div>
				    <div class="topCat_r"></div>
				    <div class="topCat_m">
				        服务中心
				    </div>
				</div>
				<ul>
					<li><a href="<%=webSite %>MyAsk.<%=config.html%>">购买咨询</a></li>
					<li><a href="<%=webSite %>MyComplaint-0.<%=config.html%>">我的投诉</a></li>
					<%--<li><a href="<%=webSite %>MyRefund.aspx">退款申请</a></li>
					<li><a href="<%=webSite %>MyRepaire.aspx">返修/退换货</a></li>--%>
				</ul>   
				<div style="clear:both;"></div>
			</li>
			<li>
				<div class="topCat">
				    <div class="topCat_l"></div>
				    <div class="topCat_r"></div>
				    <div class="topCat_m">
				        个人应用管理
				    </div>
				</div>
				<ul>
					<li><a href="<%=webSite %>MyMessage-1-3.<%=config.html%>">收件箱</a></li>
					<li><a href="<%=webSite %>MyMessage-2-1.<%=config.html%>">发件箱</a></li>
					<li><a href="<%=webSite %>MyFavorite.<%=config.html%>">收藏夹</a></li>
					<li><a href="<%=webSite %>MyAddresses.<%=config.html%>">地址管理</a></li>
                    <li><a href="<%=webSite %>MySubscriptions.<%=config.html%>">邮件订阅</a></li>
				</ul>   
				<div style="clear:both;"></div>
			</li>
			<li>
				<div class="topCat">
				    <div class="topCat_l"></div>
				    <div class="topCat_r"></div>
				    <div class="topCat_m">
				        个人信息管理
				    </div>
				</div>
				<ul>
					<li>
						<a href="<%=webSite %>MyInfo.<%=config.html%>">个人资料</a>
					</li>
					<li>
						<a href="<%=webSite %>ChangePW.<%=config.html%>">修改密码</a>
					</li>
					<!--
					<li>
						<a href="#">我的级别</a>
					</li>
					-->
					<li>
						<a href="<%=webSite %>MyScoreLog.<%=config.html%>">我的积分</a>
					</li>
                    <li>
						<a href="<%=webSite %>MyCoupons.<%=config.html%>">积分兑券</a>
					</li>
					<li>
						<a href="<%=webSite %>MyCouponsFavourites.<%=config.html%>">我的优惠券</a>
					</li>
				</ul>   
				<div style="clear:both;"></div>
			</li>
	        <%if (IsAgent())
           { %>
			<li>
				<div class="topCat">
				    <div class="topCat_l"></div>
				    <div class="topCat_r"></div>
				    <div class="topCat_m">
				        代销管理
				    </div>
				</div>
				<ul>
					<li>
						<a href="<%=webSite %>MyFinance.<%=config.html%>">财务记录</a>
					</li>
					<li>
						<a href="<%=webSite %>MyDrawing.<%=config.html%>">提现申请</a>
					</li>				
			        <li>
			        	<a href="<%=webSite %>MyAgent.<%=config.html%>"><%=GetResourceString("MyAgent")%></a>
			        </li>

					<li>
			        	<a href="<%=webSite %>MyMember.<%=config.html%>">发展的会员</a>
			        </li>
					<li>
			        	<a href="<%=webSite %>MyFinanceLog.<%=config.html%>">我的推广提成</a>
			        </li>
			        <%--<li>
			        	<a href="<%=webSite %>MyUnion.aspx">推广联盟</a>
			        </li>--%>
				</ul>   
				<div style="clear:both;"></div>
			</li>
			<%}%>
			<%else
                { %>
            <li>
				<div class="topCat">
				    <div class="topCat_l"></div>
				    <div class="topCat_r"></div>
				    <div class="topCat_m">
				        申请推广员
				    </div>
				</div>
				<ul>
					<li>
						<a href="<%=webSite %>AgentApp.<%=config.html%>">申请推广员</a>
					</li>
				</ul>   
				<div style="clear:both;"></div>
			</li>
			<%} %>
		</ul>			
	</div>
</div>