<%@ Import Namespace="SWTraining" %>

<%@ Page Language="c#" CodeBehind="Consult.aspx.cs" AutoEventWireup="True" Inherits="SWTraining.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="linkStyle" runat="server" href="Themes/Blue/css.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>
</head>
<body onload="OldStudent();" style="margin-top: 0px">
    <form id="Form1" method="post" runat="server">
    <div id="sw_content">
        <div class="divpanel" style="margin-bottom: 80px">
            <div class="bgc_title" style="width: 700px; margin-left: auto; margin-right: auto">
                <div class="png_bg" style="width: 420px; height: 60px; background-image: url('Images/LoginPic.png');
                    text-align: left; float: left">
                    <div class="png_bg" style="width: 60px; height: 60px; background-image: url('<%=swq.LoginLogo%>')">
                    </div>
                </div>
                <div style="float: left; color:White; padding-top:30px; padding-left:10px">
                    网上报名</div>
                <div style="clear: both; font-size: 0; line-height: 0">
                </div>
            </div>
            <table class="table" cellspacing="0" style="width: 700px; margin-left: auto; margin-right: auto">
                <tr>
                    <th colspan="2" height="25">
                        潜在学员网上报名
                    </th>
                </tr>
                <tr>
                    <td width="112">
                        姓名：
                    </td>
                    <td width="813">
                        <asp:TextBox ID="tbxPotentialName" runat="server" Width="149px"></asp:TextBox>
                        <span style="color: Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td width="112">
                        性别：
                    </td>
                    <td style="height: 11px" width="813">
                        <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>
                    <td width="112">
                        称呼：
                    </td>
                    <td>
                        <asp:TextBox ID="tbxAppellation" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="112">
                        老学员：
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOldStudent" runat="server">
                            <asp:ListItem Value="0">否</asp:ListItem>
                            <asp:ListItem Value="1">是</asp:ListItem>
                        </asp:DropDownList>
                        <span id="spanStudentID">学号：<asp:TextBox ID="tbxStudentID" runat="server" Width="95px"></asp:TextBox>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td width="112">
                        校区：
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlSchool" runat="server" DataTextField="SchoolName" DataValueField="SchoolID">
                        </asp:DropDownList>
                        <span style="color: Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td width="112">
                        咨询时间：
                    </td>
                    <td>
                        <asp:TextBox ID="tbxDateAndTime" runat="server" Width="144px"></asp:TextBox>
                        <span style="color: Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td width="125">
                        课程：
                    </td>
                    <td width="702">
                        <asp:DropDownList ID="ddlCourse" DataTextField="CourseName" DataValueField="CourseID"
                            runat="server">
                        </asp:DropDownList>
                        <span style="color: Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td width="125">
                        上课规律：
                    </td>
                    <td width="702">
                        <div style="float: left">
                        </div>
                        <div style="float: left">
                            <asp:TextBox ID="tbxTimeRule" runat="server" Width="274px"></asp:TextBox></div>
                    </td>
                </tr>
                <tr>
                    <td width="13%">
                        电话：
                    </td>
                    <td width="823">
                        <asp:TextBox ID="tbxTel" runat="server" Width="141px"></asp:TextBox>
                        <span style="color: Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td width="13%" style="height: 27px">
                        手机：
                    </td>
                    <td width="823" style="height: 27px">
                        <asp:TextBox ID="tbxMobileTel" runat="server" Width="141px"></asp:TextBox>
                        <span style="color: Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td width="13%" style="height: 26px">
                        其它电话1：
                    </td>
                    <td width="823" style="height: 26px">
                        <asp:TextBox ID="tbxTel1" runat="server" Width="141px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="13%" style="height: 26px">
                        其它电话2：
                    </td>
                    <td width="823" style="height: 26px">
                        <asp:TextBox ID="tbxTel2" runat="server" Width="141px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="13%" style="height: 26px">
                        其它电话3：
                    </td>
                    <td width="823" style="height: 26px">
                        <asp:TextBox ID="tbxTel3" runat="server" Width="141px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="13%" style="height: 26px">
                        QQ：
                    </td>
                    <td width="823" style="height: 26px">
                        <asp:TextBox ID="tbxQQ" runat="server" Width="141px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="13%" style="height: 26px">
                        电子邮箱：
                    </td>
                    <td width="823" style="height: 26px">
                        <asp:TextBox ID="tbxEmail" runat="server" Width="274px"></asp:TextBox>
                    </td>
                </tr>
                <tr runat="server" id="c1">
                    <td width="13%">
                        <asp:Label ID="labCustom1" runat="server"></asp:Label>
                    </td>
                    <td colspan="2" width="823">
                        <asp:TextBox ID="tbxCustom1" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr runat="server" id="c2">
                    <td width="13%">
                        <asp:Label ID="labCustom2" runat="server"></asp:Label>
                    </td>
                    <td colspan="2" width="823">
                        <asp:TextBox ID="tbxCustom2" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr runat="server" id="c3">
                    <td width="13%">
                        <asp:Label ID="labCustom3" runat="server"></asp:Label>
                    </td>
                    <td colspan="2" width="823">
                        <asp:TextBox ID="tbxCustom3" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr runat="server" id="c4">
                    <td width="13%">
                        <asp:Label ID="labCustom4" runat="server"></asp:Label>
                    </td>
                    <td colspan="2" width="823">
                        <asp:TextBox ID="tbxCustom4" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr runat="server" id="c5">
                    <td width="13%">
                        <asp:Label ID="labCustom5" runat="server"></asp:Label>
                    </td>
                    <td colspan="2" width="823">
                        <asp:TextBox ID="tbxCustom5" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="112">
                        获知广告方式：
                    </td>
                    <td width="813">
                        <asp:DropDownList ID="ddlMedia" runat="server" DataTextField="MediaName" DataValueField="MediaID">
                        </asp:DropDownList>
                        <span style="color: Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td style="height: 16px" width="112">
                        状态：
                    </td>
                    <td style="height: 16px" width="813">
                        <asp:DropDownList ID="ddlStatus" runat="server" DataTextField="StatusName" DataValueField="StatusID">
                        </asp:DropDownList>
                        <span style="color: Red">*</span>
                    </td>
                </tr>
                <tr>
                    <td width="112">
                        备注：
                    </td>
                    <td width="813">
                        <asp:TextBox ID="tbxRemark" runat="server" Width="321px" Height="72px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="112">验证码：
                    </td>
                    <td width="813">
                        <uc1:ValidateCode ID="ValidateCode1" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td width="112">
                    </td>
                    <td width="813">
                        <label class="lab_buttom">
<asp:Button ID="btnPost" runat="server" Text="提交" OnClick="btnPost_Click"></asp:Button>
</label>
                        &nbsp;</td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
