<%@ Page Language="C#" AutoEventWireup="true" CodeFile="add.aspx.cs" Inherits="member_student_add" %>

<%@ Register TagPrefix="myCheckBoxList" Namespace="CheckBoxListValidator" Assembly="CheckBoxListValidator" %>
<%@ Register Src="../../include/head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="../../include/bottom.ascx" TagName="bottom" TagPrefix="uc2" %>
<%@ Register Src="../user/left.ascx" TagName="left" TagPrefix="uc3" %>
<!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 id="Head1" runat="server">
    <title></title>
    <link href="../../InClude/style.css" rel="stylesheet" type="text/css" />
    <link href="../user/member.css" rel="stylesheet" type="text/css" />
    <link rel="Shortcut Icon" href="/Images/favicon.ico" />
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    <script src="/js/all.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <uc1:head ID="head2" runat="server" />
        <div class="divWidth">
            <div class="divLeft" style="height: 36px; line-height: 36px;">
                <img src="../../images/home.gif" style="vertical-align: middle;" />&nbsp;<a href="/" target="_top">网站首页</a>&nbsp;-&nbsp;<a href="/member/" target="_top">会员中心</a>&nbsp;-&nbsp;请家教
            </div>
        </div>
        <div class="divWidth">
            <div class="divLeft" style="width: 170px; text-align: left;">
                <uc3:left ID="left1" runat="server" />
                <asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="3600"></asp:ScriptManager>
            </div>
            <div class="divRight">
                <div class="userNavTitle" style="width: 786px;">
                    &nbsp;&nbsp;&nbsp;发布家教信息
                </div>
                <div class="userNavLRB" style="width: 786px;">
                    <div style="padding: 15px 25px 15px 25px; text-align: left;">
                        <ul>
                            <li style="background: url('/member/images/title_tips_bg.gif'); background-repeat: no-repeat; height: 43px; line-height: 38px; text-align: center; background-position: center; color: #1d61b5;">学员基本情况</li>
                            <li style="height: 20px; font-size: 0px;"></li>
                            <li>
                                <table style="width: 100%;">
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;求教科目与目的：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server" ChildrenAsTriggers="True" RenderMode="Inline"
                                                UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <div style="padding: 5px 0px 5px 0px; margin: 5px 0px 5px 0px">
                                                        <asp:DropDownList ID="gradeList" runat="server" AutoPostBack="True"
                                                            CssClass="inputBlueTxt" OnSelectedIndexChanged="gradeList_SelectedIndexChanged">
                                                        </asp:DropDownList><asp:RequiredFieldValidator SetFocusOnError="True"
                                                            ID="RequiredFieldValidator22" runat="server"
                                                            ControlToValidate="gradeList" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                                    </div>
                                                    <div runat="server" id="gradeBox">
                                                        <asp:CheckBoxList ID="gradeCheck" runat="server" RepeatColumns="5" RepeatDirection="Horizontal"
                                                            class="inputBlueTxt" CellPadding="3" CellSpacing="3">
                                                        </asp:CheckBoxList>
                                                        <myCheckBoxList:CheckBoxListRequiredFieldValidator ID="CheckBoxListRequiredFieldValidator3"
                                                            ControlToValidate="gradeCheck" runat="server"
                                                            EnableClientScript="true" ErrorMessage="至少选择一项学科"
                                                            ForeColor="#ff3300" Display="Dynamic" SetFocusOnError="True"></myCheckBoxList:CheckBoxListRequiredFieldValidator>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;学员年级：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:DropDownList ID="studyGradeList" runat="server" CssClass="inputBlueTxt">
                                            </asp:DropDownList>
                                            <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator16"
                                                runat="server" ControlToValidate="studyGradeList" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;学员地区：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="True" RenderMode="Inline"
                                                UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:DropDownList ID="ProvinceList" runat="server" CssClass="inputBlueTxt"
                                                        OnSelectedIndexChanged="ProvinceList_SelectedIndexChanged" AutoPostBack="true">
                                                    </asp:DropDownList>
                                                    <asp:DropDownList ID="CityList"
                                                        runat="server" CssClass="inputBlueTxt" OnSelectedIndexChanged="cityList_SelectedIndexChanged" AutoPostBack="true">
                                                    </asp:DropDownList>
                                                    <asp:DropDownList ID="areaList"
                                                        runat="server" CssClass="inputBlueTxt">
                                                    </asp:DropDownList>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                            <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator7" runat="server"
                                                ControlToValidate="areaList" ErrorMessage="请选择区域" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">目前就读学校：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:TextBox ID="school" runat="server" CssClass="inputBlueTxt" Width="200px" MaxLength="30"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;学生性别：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:RadioButtonList ID="sexList" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                <asp:ListItem Value="男">男</asp:ListItem>
                                                <asp:ListItem Value="女">女</asp:ListItem>
                                            </asp:RadioButtonList>
                                            &nbsp;<asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator15"
                                                runat="server" ControlToValidate="sexList" ErrorMessage="请选择性别" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;求教性质：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:RadioButtonList ID="studyType" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                            </asp:RadioButtonList>
                                            <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator18"
                                                runat="server" ControlToValidate="studyType" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">学员情况描述：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:TextBox ID="myAbout" runat="server" CssClass="inputBlueTxt" Width="400px" MaxLength="20"
                                                Height="120px" TextMode="MultiLine"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </li>
                            <li style="background: url('/member/images/title_tips_bg.gif'); background-repeat: no-repeat; height: 43px; line-height: 38px; text-align: center; background-position: center; color: #1d61b5;">对教员的要求 </li>
                            <li>
                                <table style="width: 100%;">
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;教员性别要求：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:RadioButtonList ID="sexTeacher" runat="server" RepeatDirection="Horizontal"
                                                RepeatLayout="Flow">
                                                <asp:ListItem Value="男">男</asp:ListItem>
                                                <asp:ListItem Value="女">女</asp:ListItem>
                                                <asp:ListItem Value="不限">不限</asp:ListItem>
                                            </asp:RadioButtonList>
                                            <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator19"
                                                runat="server" ControlToValidate="sexTeacher" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;教员身份要求：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:CheckBoxList ID="teacherType" runat="server" RepeatColumns="5" RepeatDirection="Horizontal"
                                                class="inputBlueTxt" CellPadding="3" CellSpacing="3">
                                            </asp:CheckBoxList>
                                            <myCheckBoxList:CheckBoxListRequiredFieldValidator ID="CheckBoxListRequiredFieldValidator1"
                                                ControlToValidate="teacherType" runat="server" EnableClientScript="true" ErrorMessage="至少选择一项教员身份"
                                                ForeColor="#ff3300" Display="Dynamic" SetFocusOnError="True"></myCheckBoxList:CheckBoxListRequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;希望授课方式：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:CheckBoxList ID="teachStudy" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                            </asp:CheckBoxList>
                                            <myCheckBoxList:CheckBoxListRequiredFieldValidator ID="CheckBoxListRequiredFieldValidator2"
                                                ControlToValidate="teachStudy" runat="server" EnableClientScript="true" ErrorMessage="至少选择一项授课方式"
                                                ForeColor="#ff3300" Display="Dynamic" SetFocusOnError="True"></myCheckBoxList:CheckBoxListRequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;教员的个性化要求：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:TextBox ID="aboutTeacher" runat="server" CssClass="inputBlueTxt" Width="400px"
                                                MaxLength="20" Height="120px" TextMode="MultiLine"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator23"
                                                runat="server" ControlToValidate="aboutTeacher" ErrorMessage="请填写请老师个性化需求" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                </table>
                            </li>
                            <li style="background: url('/member/images/title_tips_bg.gif'); background-repeat: no-repeat; height: 43px; line-height: 38px; text-align: center; background-position: center; color: #1d61b5;">授课方式及频次 </li>
                            <li>
                                <table style="width: 100%;">
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;每周上课次课：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:RadioButtonList ID="teachWeek" runat="server" RepeatDirection="Horizontal" RepeatColumns="5"
                                                class="inputBlueTxt" CellPadding="3" CellSpacing="3">
                                            </asp:RadioButtonList>
                                            <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator20"
                                                runat="server" ControlToValidate="teachWeek" ErrorMessage="请选择每周上课次课" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;学习时间：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:CheckBoxList ID="studyTime" runat="server" class="inputBlueTxt" CellPadding="3"
                                                CellSpacing="3" RepeatColumns="7" RepeatDirection="Horizontal">
                                            </asp:CheckBoxList>
                                            <myCheckBoxList:CheckBoxListRequiredFieldValidator ID="CheckBoxListRequiredFieldValidator4"
                                                ControlToValidate="studyTime" runat="server" EnableClientScript="true" ErrorMessage="至少选择一项学习时间"
                                                ForeColor="#ff3300" Display="Dynamic" SetFocusOnError="True"></myCheckBoxList:CheckBoxListRequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">补充说明：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:TextBox ID="studyAbout" runat="server" CssClass="inputBlueTxt" Width="400px"
                                                Height="80px" TextMode="MultiLine"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </li>
                            <li style="background: url('/member/images/title_tips_bg.gif'); background-repeat: no-repeat; height: 43px; line-height: 38px; text-align: center; background-position: center; color: #1d61b5;">计划付给教员的报酬 </li>
                            <li>
                                <table style="width: 100%;">
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;报酬：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:TextBox ID="payMoney" runat="server" CssClass="inputText" Width="50px"
                                                MaxLength="20">0</asp:TextBox>
                                            &nbsp;元人民币<asp:DropDownList ID="payBit" runat="server" CssClass="inputBlueTxt">
                                            </asp:DropDownList>
                                            <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator21"
                                                runat="server" ControlToValidate="payMoney" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="payRegularExpressionValidator" runat="server"
                                                ControlToValidate="payMoney" ForeColor="#FF3300" SetFocusOnError="True"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;">
                                            <span class="red">*</span>&nbsp;有无车贴：
                                        </td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:RadioButtonList ID="carMoney" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                <asp:ListItem>有</asp:ListItem>
                                                <asp:ListItem Selected="True">无</asp:ListItem>
                                                <asp:ListItem>协商</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="padding: 2px; width: 23%; text-align: right;"></td>
                                        <td style="padding: 2px; width: 77%; text-align: left;">
                                            <asp:Button ID="Button1" runat="server" Text="确认提交" CssClass="bottonTxt" OnClick="postButton_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="height10px">
        </div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
