<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_UserDetail, WebApp_deploy" title="会员信息" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script src="Js/tabpane.js" type="text/javascript"></script>
    <script type="text/javascript" src="Js/getdate.js"></script>
    <script type="text/javascript">
        function ChangeNumToText(Num) {
            switch (Num) {
                case 0:
                    document.write("未验证会员");
                    break;
                case 1:
                    document.write("注册会员");
                    break;
            }
        }
        function openpassport(UserID) {
            //recdata=showModalDialog('Admin_AddPassport.aspx?Action=Show&UserID='+UserID,'passport','dialogWidth:500px; dialogHeight:500px; help: yes; scroll: yes; status: no');
            location.href = 'Admin_AddPassport.aspx?Action=Show&MenuName=会员&FileName=查看通行证&UserID=' + UserID;
        }
    </script>
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <table class="adminheading">
        <tr>
            <th class="user" nowrap="nowrap">
                <a href="Admin_Passport.aspx" target="_self">用户资料管理</a>
            </th>
            <td align="right">
                <div style="width: 50px">
                    <a href="javascript:{history.back()}">返回</a></div>
            </td>
        </tr>
    </table>
    <table class="nick" cellpadding="1" cellspacing="1">
        <tr>
            <td class="tit" colspan="2">
                个人信息
            </td>
        </tr>
        <tr>
            <td class="ltd" style="text-align: center">
                定位导航
            </td>
            <td class="rtd">
                <a href="#m0">基本信息</a> | <a href="#m1">联系信息</a> | <a href="#m2">商城信息</a>
            </td>
        </tr>
    </table>
    <table class="nick" id="m0">
        <tr>
            <td class="tit" colspan="4">
                基本信息
            </td>
        </tr>
        <tr>
            <td class="ltd">
                编号
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="UserIDBox" ReadOnly="true" runat="server" />
            </td>
            <td class="ltd">
                用户名称
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="UserNameBox" ReadOnly="true" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                真实姓名
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="TrueName" runat="server" />
            </td>
            <td class="ltd">
                籍贯
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="ComeFrom" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                生日
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="Birthday" runat="server" />
            </td>
            <td class="ltd">
                民族
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="Nation" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                身份证号
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="IDCard" runat="server" />
            </td>
            <td class="ltd">
                婚姻情况
            </td>
            <td class="rtd" style="width: 35%">
                <asp:RadioButtonList ID="rblMarriage" runat="server" RepeatDirection="Horizontal">
                </asp:RadioButtonList>
                <%--<asp:DropDownList ID="Marriage" runat="server" >
			<asp:ListItem Text="未婚" Value="0" />
			<asp:ListItem Text="已婚" Value="1" />
			<asp:ListItem Text="离异" Value="2" />
		 </asp:DropDownList>--%>
            </td>
        </tr>
        <tr>
            <td class="ltd">
                学历
            </td>
            <td class="rtd" style="width: 35%">
                <asp:DropDownList ID="Eductation" runat="server">
                    <asp:ListItem Text="未知" Value="" />
                    <asp:ListItem Text="小学" Value="小学" />
                    <asp:ListItem Text="初中" Value="初中" />
                    <asp:ListItem Text="高中" Value="高中" />
                    <asp:ListItem Text="中专" Value="中专" />
                    <asp:ListItem Text="大专" Value="大专" />
                    <asp:ListItem Text="本科" Value="本科" />
                    <asp:ListItem Text="硕士" Value="硕士" />
                    <asp:ListItem Text="博士" Value="博士" />
                </asp:DropDownList>
            </td>
            <td class="ltd">
                毕业学校
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="GraduteSchool" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                家庭情况
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="Family" runat="server" />
            </td>
            <td class="ltd">
                兴趣
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="Interests" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                创建日期
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="CreateTime" runat="server" />
            </td>
            <td class="ltd">
                更新日期
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="UpdateTime" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                个人介绍
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="intro" runat="server" />
            </td>
            <td class="ltd">
                收入
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="InCome" runat="server" />
            </td>
        </tr>
    </table>
    <table class="nick" id="m1">
        <tr>
            <td class="tit" colspan="4">
                联系信息
            </td>
        </tr>
        
        <tr>
            <td class="ltd">
                邮编
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="ZipCode" runat="server" />
            </td>
            <td class="ltd">
                家庭电话
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="HomePhone" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                移动电话
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="Mobile" runat="server" />
            </td>
            <td class="ltd">
                传真
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="Fax" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                OICQ
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="OICQ" runat="server" />
            </td>
            <td class="ltd">
                ICQ
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="ICQ" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                MSN
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="MSN" runat="server" />
            </td>
            <td class="ltd">
                个人主页
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="HomePage" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                淘宝旺旺
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="Taobaowangwang" runat="server" />
            </td>
            <td class="ltd">
                公司名称
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="CompanyName" runat="server" />
            </td>
        </tr>
    </table>
    <table class="nick" id="m2">
        <tr>
            <td class="tit" colspan="4">
                商城信息
            </td>
        </tr>
        <tr>
            <td class="ltd">
                买家信用
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="BuyCrediet" runat="server" />
            </td>
            <td class="ltd">
                卖家信用
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="SaleCrediet" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                认证类型
            </td>
            <td class="rtd" style="width: 35%">
                <asp:Label ID="renzheng" runat="server"></asp:Label>
                <asp:Label ID="renzheng1" runat="server"></asp:Label>
                <asp:Label ID="renzheng2" runat="server"></asp:Label>
                <asp:Label ID="renzheng3" runat="server"></asp:Label>
                <asp:Label ID="renzheng4" runat="server"></asp:Label>
                <asp:Label ID="renzheng5" runat="server"></asp:Label>
            </td>
            <td class="ltd">
                店铺编号
            </td>
            <td class="rtd" style="width: 35%">
                <asp:TextBox ID="ShopID" runat="server" />
            </td>
        </tr>
    </table>
    <div class="div_btm">
        <asp:Button ID="UserDetailButton" Text="更新个人信息" CommandName="edit" OnCommand="UpDate_OnClick"
            CausesValidation="true" runat="server" />
        <input type="button" onclick="return openpassport(<%=UserID %>)" name="op" value="查看通行证" />
        <input type="button" name="button" value="取消返回" onclick="history.back();" />
    </div>
</asp:Content>
