<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StudentShow.aspx.cs" Inherits="MTCUN.Register.StudentShow"
    Title="学员基本信息-客服" %>

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../UserCol/ReportControl.ascx" TagName="ReportControl" TagPrefix="uc1" %>
<%@ Register Src="../UserCol/ReportServer.ascx" TagName="ReportServer" TagPrefix="uc2" %>
<!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 id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />

    <script type="text/javascript">
        function CreateSubMenu(index, rowspan_num) {
            var _divImage = divImage;
            if (_divImage != null) {
                cell = document.createElement("td");
                text = CreateHtmlNode("div", _divImage.innerHTML);
                cell.appendChild(text);
                cell.setAttribute("rowspan", rowspan_num);
                tb_show.rows[index].appendChild(cell);

                for (i = index; i < (rowspan_num + index) ; i++) {
                    tb_show.rows[i].cells[1].attributes["colspan"].value = 1;
                }
            }
        }

        function CreateHtmlNode(tag, text) {

            var n = document.createElement(tag);
            if (text) n.innerHTML = text;
            return n;
        }
    </script>
</head>
<body onload="CreateSubMenu(1,7);">
    <form id="form1" runat="server">
        <div class="divpanel">
            <asp:FormView ID="fvStudent" runat="server" Width="100%">
                <ItemTemplate>

                    <table id="tb_show" class="table" cellspacing="0">
                        <tr>
                            <th style="text-align: center" colspan="3">学员基本信息</th>
                        </tr>
                        <tr runat="server" id="tr_0">
                            <td width="100px"></td>
                            <td colspan="2">
                                <div id="divImage" style="display: none">
                                    <asp:Image ID="Image1" ImageUrl='<%# "../GetStudentPhoto.aspx?StudentID="+Eval("StudentID")%>'
                                        runat="server" Width="120px" />
                                </div>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_1">
                            <td width="100px">学号：
                            </td>
                            <td colspan="2">
                                <%#Eval("StudentID")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_2">
                            <td>姓名：
                            </td>
                            <td colspan="2">
                                <%#Eval("StudentName")%>
                                <label class="lab_button" id="labEdit" runat="server">
                                    <asp:Button ID="btnEdit" runat="server" OnClick="btnEdit_Click" Text="编辑" />
                                </label>

                            </td>
                        </tr>
                        <tr runat="server" id="tr_3">
                            <td>拼音缩写：
                            </td>
                            <td colspan="2">
                                <%#Eval("PYSimple")%>
                            </td>
                        </tr>
                        <!--报名模板：4-->
                        <tr runat="server" id="tr_5">
                            <td>别名：
                            </td>
                            <td colspan="2">
                                <%#Eval("Byname")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_6">
                            <td>称呼：
                            </td>
                            <td colspan="2">
                                <%#Eval("Appellation")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_7">
                            <td>性别：
                            </td>
                            <td colspan="2">
                                <%#Rs.Items.GetSex(Eval("Sex"))%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_8">
                            <td>生日：
                            </td>
                            <td colspan="2">
                                <%#swq.BirthdayPrivacy ? Eval("Birthday","{0:d}") : swq.Tools.PrivacyBirthday(Eval("Birthday"))%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_9">
                            <td>校区：
                            </td>
                            <td colspan="2">
                                <%#Eval("SchoolName")%>
                            </td>
                        </tr>
                        <!--密码：10-->
                        <!--拥有积分：11-->
                        <tr runat="server" id="tr_12">
                            <td>登记时间：
                            </td>
                            <td colspan="2">
                                <%#Eval("DateAndTime")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_13">
                            <td>电话：
                            </td>
                            <td colspan="2">
                                <%#swq.TelPrivacy ? Eval("Tel") : swq.Tools.PrivacyNumber(Eval("Tel"), 2)%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_14">
                            <td>手机：
                            </td>
                            <td colspan="2">
                                <%# swq.TelPrivacy ? Eval("MobileTel") : swq.Tools.PrivacyNumber(Eval("MobileTel"), 3)%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_15">
                            <td>其它电话1：
                            </td>
                            <td colspan="2">
                                <%#swq.TelPrivacy ? Eval("Tel1") : swq.Tools.PrivacyNumber(Eval("Tel1"), 2)%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_16">
                            <td>其它电话2：
                            </td>
                            <td colspan="2">
                                <%#swq.TelPrivacy ? Eval("Tel2") : swq.Tools.PrivacyNumber(Eval("Tel2"), 2)%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_17">
                            <td>其它电话3：
                            </td>
                            <td colspan="2">
                                <%#swq.TelPrivacy ? Eval("Tel3") : swq.Tools.PrivacyNumber(Eval("Tel3"), 2)%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_18">
                            <td>QQ：
                            </td>
                            <td colspan="2">
                                <%# Eval("QQ")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_19">
                            <td>微信号：</td>
                            <td colspan="2">
                                <%# Eval("WeiXin")%></td>
                        </tr>
                        <tr runat="server" id="tr_20">
                            <td>电子邮箱：
                            </td>
                            <td colspan="2">
                                <%#Eval("Email")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_21">
                            <td>身高：</td>
                            <td colspan="2">
                                <%#Eval("Height")%>CM
                            </td>
                        </tr>
                        <tr runat="server" id="tr_22">
                            <td>体重：</td>
                            <td colspan="2">
                                <%#Eval("Weight")%>Kg
                            </td>
                        </tr>
                        <tr runat="server" id="tr_23">
                            <td>家庭地址：
                            </td>
                            <td colspan="2">
                                <%#Eval("HomeAddress")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_24">
                            <td>国家：</td>
                            <td colspan="2">
                                <%#Eval("Country")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_25">
                            <td>民族：</td>
                            <td colspan="2">
                                <%#Eval("Nation")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_26">
                            <td>省份：</td>
                            <td colspan="2">
                                <%#Eval("Province")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_27">
                            <td>城市：</td>
                            <td colspan="2">
                                <%#Eval("City")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_28">
                            <td>区县：</td>
                            <td colspan="2">
                                <%#Eval("Area")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_29">
                            <td>街道：</td>
                            <td colspan="2">
                                <%#Eval("Street")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_30">
                            <td>收件人：</td>
                            <td colspan="2">
                                <%#Eval("Consignee")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_31">
                            <td>收件人电话：</td>
                            <td colspan="2">
                                <%#Eval("ConsigneePhone")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_32">
                            <td>邮编：
                            </td>
                            <td colspan="2">
                                <%#Eval("PostCode")%>
                            </td>
                        </tr>

                        <tr runat="server" id="tr_33">
                            <td>原学校：
                            </td>
                            <td colspan="2">
                                <%#Eval("School")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_34">
                            <td>年级：
                            </td>
                            <td colspan="2">
                                <%#Eval("Grade")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_35">
                            <td>班级：
                            </td>
                            <td colspan="2">
                                <%#Eval("Class")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_36">
                            <td>公司：
                            </td>
                            <td colspan="2">
                                <%#Eval("Company")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_37">
                            <td>职务：
                            </td>
                            <td colspan="2">
                                <%#Eval("Headship")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_38">
                            <td>学历：
                            </td>
                            <td colspan="2">
                                <%#Eval("Diploma")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_39">
                            <td>VIP到期时间：
                            </td>
                            <td colspan="2">
                                <%#Eval("VIPLastDate","{0:d}")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_40">
                            <td>父亲姓名：
                            </td>
                            <td colspan="2">
                                <%#Eval("FatherName")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_41">
                            <td>父亲手机：</td>
                            <td colspan="2">
                                <%#swq.TelPrivacy ? Eval("FatherMobileTel") : swq.Tools.PrivacyNumber(Eval("FatherMobileTel"), 2)%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_42">
                            <td>父亲单位：</td>
                            <td colspan="2">
                                <%#Eval("FatherUnit")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_43">
                            <td>父亲职务：</td>
                            <td colspan="2">
                                <%#Eval("FatherHeadship")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_44">
                            <td>母亲姓名：</td>
                            <td colspan="2">
                                <%#Eval("MotherName")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_45">
                            <td>母亲手机：</td>
                            <td colspan="2">
                                <%#swq.TelPrivacy ? Eval("MotherMobileTel") : swq.Tools.PrivacyNumber(Eval("MotherMobileTel"), 2)%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_46">
                            <td>母亲单位：</td>
                            <td colspan="2">
                                <%#Eval("MotherUnit")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_47">
                            <td>母亲职务：
                            </td>
                            <td colspan="2">
                                <%#Eval("MotherHeadship")%>
                            </td>
                        </tr>

                        <tr runat="server" id="c1">
                            <td>
                                <asp:Label ID="labCustom1" runat="server"></asp:Label>
                            </td>
                            <td colspan="2">
                                <%#Eval("Custom1")%>
                            </td>
                        </tr>
                        <tr runat="server" id="c2">
                            <td>
                                <asp:Label ID="labCustom2" runat="server"></asp:Label>
                            </td>
                            <td colspan="2">
                                <%#Eval("Custom2")%>
                            </td>
                        </tr>
                        <tr runat="server" id="c3">
                            <td>
                                <asp:Label ID="labCustom3" runat="server"></asp:Label>
                            </td>
                            <td colspan="2">
                                <%#Eval("Custom3")%>
                            </td>
                        </tr>
                        <tr runat="server" id="c4">
                            <td>
                                <asp:Label ID="labCustom4" runat="server"></asp:Label>
                            </td>
                            <td colspan="2">
                                <%#Eval("Custom4")%>
                            </td>
                        </tr>
                        <tr runat="server" id="c5">
                            <td>
                                <asp:Label ID="labCustom5" runat="server"></asp:Label>
                            </td>
                            <td colspan="2">
                                <%#Eval("Custom5")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_48">
                            <td>身份证：
                            </td>
                            <td colspan="2">
                                <%#swq.IDcardPrivacy ? Eval("IDcard") : swq.Tools.PrivacyNumber(Eval("IDcard"), 3)%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_49">
                            <td>ID卡号：
                            </td>
                            <td colspan="2">
                                <%#Eval("SignInID")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_50">
                            <td>接收考勤短信：
                            </td>
                            <td colspan="2">
                                <%#(int)Eval("SignInSMS") == 0 ? "否":"是"%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_51">
                            <td>咨询顾问：
                            </td>
                            <td colspan="2">
                                <%#Eval("ConsultantName")%>
                            </td>
                        </tr>

                        <tr runat="server" id="tr_52">
                            <td>获知广告方式：
                            </td>
                            <td colspan="2">
                                <%#Eval("MediaName")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_53">
                            <td>备注：
                            </td>
                            <td colspan="2">
                                <asp:Literal ID="litRemark" runat="server" Mode="Encode" Text='<%#Eval("Remark")%>'></asp:Literal>
                            </td>
                        </tr>
                        <!--下次回访：54-->
                        <tr runat="server" id="tr_55">
                            <td>指纹状态：
                            </td>
                            <td colspan="2">
                                <%# (int)Eval("FingerState") == 0 ? "禁用" : "可用"%>
                            </td>
                        </tr>
                        <!--指纹模板：56-->
                        <tr runat="server" id="tr_57">
                            <td>录入员：
                            </td>
                            <td colspan="2">
                                <%#Eval("TrueName")%>
                            </td>
                        </tr>
                        <tr runat="server" id="tr_58">
                            <td>状态：
                            </td>
                            <td colspan="2">
                                <%#Eval("LockState")%>
                            </td>
                        </tr>
                        <tr>
                            <td>最新加入班级：
                            </td>
                            <td colspan="2">
                                <%#Eval("LastClassName")%>
                            </td>
                        </tr>
                        <tr>
                            <td>已选班级数：
                            </td>
                            <td colspan="2">
                                <%#Eval("StuClassCount")%>
                            </td>
                        </tr>
                        <tr>
                            <td>App最后访问：
                            </td>
                            <td colspan="2">
                                <%#Eval("LastAppLoginTime")%>
                            </td>
                        </tr>
                        <tr>
                            <td>打印：
                            </td>
                            <td colspan="2">
                                <uc1:ReportControl ID="ReportControl1" runat="server" />
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:FormView>
        </div>
        <div class="backpanel" id="divBack">

            <label class="lab_button" id="__mt_labBack" runat="server">
                <input id="Button1" causesvalidation="false" type="button" runat="server" onclick="back(this)"
                    value="返回" />
            </label>
        </div>
        <script type="text/javascript">
            if (window.name == "ifWin") {
                var the = document.getElementById("divBack");
                if (the != null)
                    the.style.display = "none";
            }
        </script>
        <uc2:ReportServer ID="ReportServer1" runat="server" />
    </form>
</body>
</html>
