<%@ Import Namespace="MTCUN" %>

<%@ Page Language="c#" CodeBehind="Consult.aspx.cs" AutoEventWireup="True" Inherits="MTCUN.Mobile.Consult" %>

<%@ Register Src="../UserCol/ValidateCode.ascx" TagName="ValidateCode" TagPrefix="uc1" %>
<!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">
    <title>潜在学员意向登记-<%=swq.SystemName%></title>
    <link id="mobileCss" runat="server" href="themes/mobile.css" rel="stylesheet"
        type="text/css" />
    <script type="text/javascript">
        function OldStudent() {
            var value = document.getElementById("ddlOldStudent").value;
            if (value == 0) {
                document.getElementById("spanStudentID").style.visibility = "hidden";
                document.getElementById("tbxStudentID").value = "";
            }
            else { document.getElementById("spanStudentID").style.visibility = "visible"; }
        }
    </script>
    <style type="text/css">
        .NavStyle {
            width: 100%;
            text-align: left;
            border-width: 0px;
            line-height: 24px;
            height: 85%;
        }
    </style>
</head>
<body onload="OldStudent();" style="margin: 0px; padding: 0px">
    <form id="Form1" method="post" runat="server">
        <div style="position: fixed">
            <div id="header">
                <div id="header_menu">
                    <table cellspacing="0" class="table_simple_kuan">
                        <tr>
                            <td>
                                <div style="width: 38px; height: 38px; background-image: url('../<%=swq.LoginLogo%>'); background-size: auto 38px;" class="inline_block">
                                </div>
                                <div class="inline_block" style="color: gray"><%=swq.SystemName%></div>

                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>

        <div id="web_page_contents">
            <div class="search biao_zhun_suo_jin">



                <div class="kuai_show">
                    <h1 style="text-align: center">潜在学员意向登记
                    </h1>
                    <table class="table_simple_kuan">
                        <tr class="required">
                            <td style="width: 80px">姓名：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxPotentialName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>性别：
                            </td>
                            <td>
                                <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="0" Text="女"></asp:ListItem>
                                    <asp:ListItem Value="1" Text="男"></asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr style="display: none">
                            <td>称呼：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxAppellation" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>老学员：
                            </td>
                            <td>
                                <span class="inline_block">
                                    <asp:DropDownList ID="ddlOldStudent" runat="server">
                                        <asp:ListItem Value="0">否</asp:ListItem>
                                        <asp:ListItem Value="1">是</asp:ListItem>
                                    </asp:DropDownList></span>

                                <span id="spanStudentID" class="inline_block"><span class="inline_block">学号：</span><span class="inline_block"><asp:TextBox ID="tbxStudentID" runat="server"></asp:TextBox></span>
                                </span>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>校区：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlSchool" runat="server" DataTextField="SchoolName" DataValueField="SchoolID">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>课程：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlCourse" DataTextField="CourseName" DataValueField="CourseID"
                                    runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>上课时间：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxTimeRule" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>电话：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxTel" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>手机：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxMobileTel" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>QQ：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxQQ" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>电子邮箱：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxEmail" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr runat="server" id="c1">
                            <td>
                                <asp:Label ID="labCustom1" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="tbxCustom1" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr runat="server" id="c2">
                            <td>
                                <asp:Label ID="labCustom2" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="tbxCustom2" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr runat="server" id="c3">
                            <td>
                                <asp:Label ID="labCustom3" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="tbxCustom3" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr runat="server" id="c4">
                            <td>
                                <asp:Label ID="labCustom4" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="tbxCustom4" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr runat="server" id="c5">
                            <td>
                                <asp:Label ID="labCustom5" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="tbxCustom5" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>广告媒体：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlMedia" runat="server" DataTextField="MediaName" DataValueField="MediaID">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr style="display: none" class="required">
                            <td>状态：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlStatus" runat="server" DataTextField="StatusName" DataValueField="StatusID">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>备注：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxRemark" runat="server" TextMode="MultiLine" Height="61px"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </div>

                <label class="lab_button_kuan">
                    <asp:Button ID="btnPost" runat="server" Text="提交" OnClick="btnPost_Click"></asp:Button>
                </label>

                <label class="lab_button_kuan" id="__mt_labBack" runat="server">
                    <input causesvalidation="false" type="button" runat="server" onclick="back(this)" value="返回" />
                </label>

            </div>
        </div>
    </form>
</body>
</html>
