<%@ page language="C#" masterpagefile="~/member/MemberMasterPage.master" autoeventwireup="true" inherits="V5Shop.NewMember.index, V5Shop.Member" title="我的会员中心" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="center">
        <div>
            <img src="images/index/conter-1.gif" /></div>
        <div class="center_1">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td colspan="3">
                        <div class="center_1_div1">
                            您好，<%=base.LoginID %>。欢迎您回来！</div>
                        <div class="center_1_div2">
                            您上一次登录时间：<%=LastLogin %></div>
                    </td>
                </tr>
                <tr>
                    <td style="height: 28px">
                        您目前的级别：<span style="color: #0000ff"><%=GroupText%></span><% =GroupImg%></td>
                    <td colspan="2" style="height: 28px">
                    <div id="divzj0" runat="server" visible="false" style="background-image:url(../member/images/u34.jpg); width:270px; height:25px;">&nbsp;</div>
                        <%=userDescription %>
                        <b>
                            <%=userDisCount %>
                            <%= userYH %>
                        </b>
                        
                    </td>
                </tr>
                <tr>
                    <td style="height: 28px">
                        账户积分：<b><%=UserScore%></b></td>
                    <td colspan="2" style="height: 28px">
                        完成订单：<%=OrderCount%></td>
                </tr>
                <tr>
                    <td style="height: 28px">
                        账户余额：<b>￥<%=userCardPrise%></b>元</td>
                    <td style="height: 28px">
                        您的总消费额：￥<%=userConsume%>元</td>
                </tr>
            </table>
            <!---->
        </div>
        <div>
            <img src="images/index/conter-2.gif" /></div>
        <div class="center_2">
            <img src="images/index/conter-5.gif" /> 消息提醒： <a href="User_Message_Manage.aspx?s=1"><b><span>
            <%=NonReadMessagCount%>
            </span>
                条未读短消息</b></a> <a href="User_UserOrder_Manage.aspx?OrderStatus=0"><b><span>
                <%=NonPayCount %>
                </span>
                    个待处理订单</b></a></div>
        <div class="center_3_title">
            <span>订单列表</span>
        </div>
        <div class="center_3">
            <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#aaccee">
                <tr>
                    <th>
                        订单编号</th>
                    <th>
                        下单时间</th>
                    <th>
                        收货人</th>
                    <th>
                        支付方式</th>
                    <th>
                        订单状态</th>
                    <th>
                        操作</th>
                </tr>
                <asp:Repeater ID="rpOrder" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%#Eval("Number")%>
                            </td>
                            <td>
                                <%#Eval("Date")%>
                            </td>
                            <td>
                                <%#Eval("ReceiveName")%>
                            </td>
                            <td>
                                <%#Eval("PayName")%>
                            </td>
                            <td>
                                <%#Eval("StateName")%>
                            </td>
                            <td>
                                <a href="User_UserOrder_Operate.aspx?OrderNumber=<%# Eval("Number")%>" target="_blank">查看</a></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr>
                    <td colspan="6">
                        <div>
                            <a href="User_UserOrder_Manage.aspx">更多订单&gt;&gt;</a></div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="center_4_title">
            <span>也许您还会对下列商品感兴趣</span>
        </div>
        <div class="center_5">
            <ul>
                <asp:Repeater ID="RpLike" runat="server">
                    <ItemTemplate>
                        <li>
                            <a href="../product.aspx?id=<%#Eval("ID")%>" style="color: White; border-color: White" target="_blank"><img src="<%#V5Shop.Common.utils.gettmpimg(Eval("SrcDetail").ToString(), 115, 115) %>" alt="" border="0" style="width: 115px; height: 115px" /></a><br />
                            <a href="../product.aspx?id=<%#Eval("ID")%>" target="_blank"><span>
                            <%#V5Shop.Common.utils.left(Convert.ToString(Eval("Name")),9)%>
                            </span>
                            </a>
                            <br />
                            会员价：<b>￥<%#Eval("MemberPrice")%></b></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <div class="clear">
            </div>
        </div>
        <div class="center_2">
            推荐注册会员：<input name="Intpresen" id="Intpresen" runat="server" type="text" style="height: 14px; width: 340px; color: #6666FF" readonly="readonly" />
            <input type="button" name="Submit2" onclick="javascript:copyToClipBoard();" value="复制" style="height: 20px" />
        </div>
        <script type="text/javascript">
function copyToClipBoard()
{
	var clipBoardContent=document.getElementById("ctl00_ContentPlaceHolder1_Intpresen").value

	if(window.clipboardData){
		window.clipboardData.setData("Text",clipBoardContent);
		alert("复制注册地址成功");
	}else{
		alert("FireFox浏览器不支持此功能,请手动复制");
	}
}
        </script>
    </div>
    <div class="index_right">
        <div>
            <img src="images/index/right-1.gif" /></div>
        <div class="index_right_1">
            <dl>
                <dt>公告栏</dt><asp:Repeater ID="rpNotice" runat="server">
                    <ItemTemplate>
                        <dd>
                            <a href="../notice.aspx?id=<%#Eval("ID")%>" target="_blank">
                            <%#Eval("Title")%>
                            </a>
                        </dd>
                    </ItemTemplate>
                </asp:Repeater>
            </dl>
            <dl>
                <dt>促销活动</dt><asp:Repeater ID="rpActivity" runat="server">
                    <ItemTemplate>
                        <dd>
                            <a href="../act.aspx?id=<%#Eval("ID")%>" target="_blank">
                            <%#Eval("Name")%>
                            </a>
                        </dd>
                    </ItemTemplate>
                </asp:Repeater>
            </dl>
            <dl>
                <dt>交易安全及技巧</dt><asp:Repeater ID="rpHelp" runat="server">
                    <ItemTemplate>
                        <dd>
                            <a href="../help.aspx?id=<%#Eval("ID")%>" target="_blank">
                            <%#Eval("Title")%>
                            </a>
                        </dd>
                    </ItemTemplate>
                </asp:Repeater>
            </dl>
            <dl>
                <dt>我有话说</dt></dl>
            <div class="index_right_2">
                用的满意么？有话您直说！<br />
                <asp:TextBox ID="txtContent" runat="server" Height="137px" MaxLength="250" TextMode="MultiLine" Width="177px"></asp:TextBox>
		<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtContent" ErrorMessage="<br/>* 不能为空" SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            </div>
            <div class="index_right_3">
                <asp:Button ID="btnAddContent" runat="server" Text="提交" CssClass="input_bg" OnClick="btnAddContent_Click" /></div>
            <div class="clear">
            </div>
        </div>
        <div>
            <img src="images/index/right-4.gif" /></div>
    </div>
    <asp:Label ID="lblRgMember" runat="server" Text="注册会员" Visible="false"></asp:Label>
    <asp:Label ID="lblReCosume" runat="server" Text="再消费" Visible="false"></asp:Label>
    <asp:Label ID="lblYuan" runat="server" Text="元,自动升级为" Visible="false"></asp:Label>
    <asp:Label ID="lblYou" runat="server" Text="享" Visible="false"></asp:Label>
    <asp:Label ID="lblHui" runat="server" Text="折优惠" Visible="false"></asp:Label>
    <asp:Label ID="lblPay" runat="server" Text="支付宝" Visible="false"></asp:Label>
</asp:Content>
