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

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../../UserCol/SimpleCode.ascx" TagName="SimpleCode" TagPrefix="uc1" %>
<%@ Register Src="../../UserCol/ExtraLessons.ascx" TagName="ExtraLessons" TagPrefix="uc2" %>
<%@ Register Src="../User_Col/col_Header.ascx" TagName="col_Header" TagPrefix="uc3" %>
<%@ Register Src="../User_Col/col_ClassControlPanel.ascx" TagName="col_ClassControlPanel" TagPrefix="uc4" %>
<!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="mobileCss" runat="server" href="../themes/mobile.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="Form1" method="post" runat="server">

        <uc3:col_Header ID="col_Header1" runat="server" />
        <div id="web_page_contents">

            <div class="biao_zhun_suo_jin">
                <uc4:col_ClassControlPanel ID="col_ClassControlPanel1" runat="server" />
                <div class="kuai_show">
                    <h1 style="text-align: center">增加上课记录</h1>
                    <table cellspacing="0" width="100%" border="0" class="table">

                        <tr>
                            <td>本课主题：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxSubject" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>上课日期：
                            </td>
                            <td><asp:TextBox ID="tbxStartDate" runat="server" Width="95px"></asp:TextBox></td>
                        </tr>
                        <tr class="required">
                            <td>上课时段：
                            </td>
                            <td>

                                <span style="display: inline-block">
                                    <asp:TextBox ID="tbxStartTime" runat="server" Width="48px"></asp:TextBox>
                                    -<asp:TextBox ID="tbxEndTime" runat="server" Width="48px"></asp:TextBox></span>
                                <span style="display: inline-block">
                                    <asp:DropDownList ID="ddlPeriodTime" runat="server" AutoPostBack="True" DataTextField="PeriodTimeName"
                                        DataValueField="PeriodTimeName" OnSelectedIndexChanged="ddlPeriodTime_SelectedIndexChanged" style="background-image:none">
                                    </asp:DropDownList></span>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>本次课时：
                            </td>
                            <td>
                                <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 class="required">
                            <td>讲师：
                            </td>
                            <td>
                                <span style="display: inline-block">
                                    <asp:DropDownList ID="ddlTeacher" runat="server" DataTextField="TrueName" DataValueField="UserID">
                                    </asp:DropDownList></span>
                                <span style="display: inline-block">
                                    <uc1:SimpleCode ID="SimpleCode1" runat="server" UsersControlID="ddlTeacher" />
                                </span>


                            </td>
                        </tr>
                        <tr>
                            <td>助教：</td>
                            <td>
                                <span style="display: inline-block">
                                    <asp:DropDownList ID="ddlAssistant" runat="server" DataTextField="TrueName"
                                        DataValueField="UserID">
                                    </asp:DropDownList>
                                </span>
                                <span style="display: inline-block">
                                    <uc1:SimpleCode ID="SimpleCode2" runat="server" UsersControlID="ddlAssistant" />
                                </span>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>上课教室：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlClassroom" DataTextField="ClassroomName" DataValueField="ClassroomID"
                                    runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>备注：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxRemark" runat="server" Height="44px" TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>录入员：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                                </asp:DropDownList>
                            </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 type="button" runat="server" onclick="back(this)" value="返回" />
                </label>
            </div>
        </div>

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