<%@ page language="C#" autoeventwireup="true" masterpagefile="~/MasterPage/MyspaceMasterPage.master" inherits="User_Default, DoodiiShop" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="huiyuan">
        <table class="huiyuanxinxi">
            <tr>
                <td rowspan="3" class="huiyuanyi">
                    <img src="" id="imgCurrentPhoto2" alt="" />
                </td>
                <td class="huiyuaner" style="vertical-align:middle;">
                    账号：<asp:Label ID="lblEmail" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    昵称：<asp:Label ID="lblName" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    性别：<asp:Label ID="tbSex" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="text-align: center;">
                    <a href="Member/ModifyBasicInfo.aspx">修改个人信息</a></td>
                    <td>&nbsp;</td>
            </tr>
        </table>
    </div>
    <div class="huiyuandingdan">
        <div class="dingdanxinxi">
            <div class="head">
                订单信息</div>
            <div class="centent">
                <div class="dingdanyi">共计订单：<span style="color:#ff0000;" id="lblGJ" runat="server"></span></div>
                <ul>
                    <li>待处理订单：<span style="color:#ff0000;" id="lblDCL" runat="server"></span></li>
                    <li>预定待处理订单：<span style="color:#ff0000;" id="lblYD" runat="server"></span></li>
                    <li>已完成订单那：<span style="color:#ff0000;" id="lblWC" runat="server"></span></li>
                    <li>已作废订单：<span style="color:#ff0000;" id="lblZF" runat="server"></span></li>
                    <li>虚假订单：<span style="color:#ff0000;" id="lblXJ" runat="server"></span></li>
                </ul>
            </div>
        </div>
        <div class="dingdanxinxi" style="float:right;">
            <div class="head">
                积分信息</div>
            <div class="centent">               
                <ul>
                    <li>累计积分：<span style="color:#ff0000;" id="lblTotalIntegral" runat="server"></span></li>
                    <li>使用积分：<span style="color:#ff0000;" id="lblUsedIntegral" runat="server"></span></li>
                    <li>剩余积分：<span style="color:#ff0000;" id="lblExpendIntegral" runat="server"></span></li>  
                </ul>
            </div>
        </div>
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>
    <div style="clear: both;">
    </div>

    <script type="text/javascript">
     var getCurrentPhoto = function(PhotoId) {
        if (PhotoId == undefined) 
        PhotoId = User_Default.GetCurrentHeadPhotoId().value;
        var arr=PhotoId.split(",");
        if ( PhotoId != null ) {
            document.getElementById("imgCurrentPhoto2").src = "/getImage_" + arr[0] + "_100_100_0_0_0_1.aspx";
        } else {
            alert("获取当前头像失败！");
        }
    }
    function init(){
        var PhotoId = User_Default.GetCurrentHeadPhotoId().value;
        getCurrentPhoto(PhotoId);
    }
    $(document).ready(function(){init();});
    </script>

</asp:Content>
