<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostLessonDegree.aspx.cs"
    Inherits="MTCUN.Class.PostLessonDegree" Title="编辑排课-教务" %>

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../UserCol/SimpleCode.ascx" TagName="SimpleCode" TagPrefix="uc1" %>
<%@ Register src="../UserCol/ExtraLessons.ascx" tagname="ExtraLessons" 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" />
</head>
<body>
    <form id="Form1" method="post" runat="server">
    <div class="divpanel">
        <table cellspacing="0" width="100%" border="0" class="table">
            <tr>
                <th colspan="2">
                    增加上课记录
                </th>
            </tr>
            <tr>
                <td>
                    本课主题：
                </td>
                <td>
                    <asp:TextBox ID="tbxSubject" runat="server" Width="235px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    日期时间：
                </td>
                <td class="required">
                    <asp:TextBox ID="tbxStartDate" runat="server" Width="95px"></asp:TextBox>
                    <asp:TextBox ID="tbxStartTime" runat="server" Width="48px"></asp:TextBox>
                    -<asp:TextBox ID="tbxEndTime" runat="server" Width="48px"></asp:TextBox>
                    <asp:DropDownList ID="ddlPeriodTime" runat="server" AutoPostBack="True" DataTextField="PeriodTimeName"
                        DataValueField="PeriodTimeName" OnSelectedIndexChanged="ddlPeriodTime_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    本次课时：
                </td>
                <td class="required">
                    <asp:DropDownList ID="ddlLessons" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlLessons_SelectedIndexChanged">
                        <asp:ListItem Value="0">0</asp:ListItem>
                        <asp:ListItem Value="1">1</asp:ListItem>
                        <asp:ListItem Value="2">2</asp:ListItem>
                        <asp:ListItem Value="3">3</asp:ListItem>
                        <asp:ListItem Value="4">4</asp:ListItem>
                        <asp:ListItem Value="5">5</asp:ListItem>
                        <asp:ListItem Value="6">6</asp:ListItem>
                        <asp:ListItem Value="7">7</asp:ListItem>
                        <asp:ListItem Value="8">8</asp:ListItem>
                        <asp:ListItem Value="9">9</asp:ListItem>
                        <asp:ListItem Value="10">10</asp:ListItem>
                        <asp:ListItem Value="11">11</asp:ListItem>
                        <asp:ListItem Value="12">12</asp:ListItem>
                        <asp:ListItem Value="13">13</asp:ListItem>
                        <asp:ListItem Value="14">14</asp:ListItem>
                        <asp:ListItem Value="15">15</asp:ListItem>
                        <asp:ListItem Value="16">16</asp:ListItem>
                        <asp:ListItem Value="17">17</asp:ListItem>
                        <asp:ListItem Value="18">18</asp:ListItem>
                        <asp:ListItem Value="19">19</asp:ListItem>
                        <asp:ListItem Value="20">20</asp:ListItem>
                        <asp:ListItem Value="21">21</asp:ListItem>
                        <asp:ListItem Value="22">22</asp:ListItem>
                        <asp:ListItem Value="23">23</asp:ListItem>
                        <asp:ListItem Value="24">24</asp:ListItem>
                        <asp:ListItem Value="25">25</asp:ListItem>
                        <asp:ListItem Value="26">26</asp:ListItem>
                        <asp:ListItem Value="27">27</asp:ListItem>
                        <asp:ListItem Value="28">28</asp:ListItem>
                        <asp:ListItem Value="29">29</asp:ListItem>
                        <asp:ListItem Value="30">30</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    上课类型：
                </td>
                <td>
                    <asp:RadioButtonList ID="rblLessonType" runat="server" Width="123px" 
                        RepeatDirection="Horizontal" AutoPostBack="True" 
                        onselectedindexchanged="rblLessonType_SelectedIndexChanged">
                        <asp:ListItem Value="1" Text="正常"></asp:ListItem>
                        <asp:ListItem Value="0" Text="补课"></asp:ListItem>
                    </asp:RadioButtonList>
                    <uc2:ExtraLessons ID="ExtraLessons1" runat="server" />

                </td>
            </tr>
            <tr>
                <td>
                    讲师：
                </td>
                <td class="required">
                    <asp:DropDownList ID="ddlTeacher" runat="server" DataTextField="TrueName" DataValueField="UserID">
                    </asp:DropDownList>
                    <uc1:SimpleCode ID="SimpleCode1" runat="server" UsersControlID="ddlTeacher" />
                </td>
            </tr>
            <tr>
                <td>
                    助教：</td>
                <td>
                    <asp:DropDownList ID="ddlAssistant" runat="server" DataTextField="TrueName" 
                        DataValueField="UserID">
                    </asp:DropDownList>
                    <uc1:SimpleCode ID="SimpleCode2" runat="server" UsersControlID="ddlAssistant" />
                </td>
            </tr>
            <tr>
                <td>
                    上课教室：
                </td>
                <td class="required">
                    <asp:DropDownList ID="ddlClassroom" DataTextField="ClassroomName" DataValueField="ClassroomID"
                        runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    备注：
                </td>
                <td>
                    <asp:TextBox ID="tbxRemark" runat="server" Width="316px" Height="44px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    录入员：
                </td>
                <td class="required">
                    <asp:DropDownList ID="ddlUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <label class="lab_button">
                        <asp:Button ID="btnPost" runat="server" Text="提交" OnClick="btnPost_Click"></asp:Button>
                    </label>
                    <label class="lab_button" id="__mt_labBack" runat="server">
                        <input type="button" runat="server" onclick="back(this)" value="返回" />
                    </label>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
